Skip to content

Instantly share code, notes, and snippets.

@Tophness
Created June 20, 2023 04:19
Show Gist options
  • Save Tophness/664cc88f3c9f40ebd1578896ea9f4131 to your computer and use it in GitHub Desktop.
Save Tophness/664cc88f3c9f40ebd1578896ea9f4131 to your computer and use it in GitHub Desktop.
Unpacked ChatGPT
This file has been truncated, but you can view the full file.
function(e,n,t){var r=t(99581);n.createRoot=r.createRoot,n.hydrateRoot=r.hydrateRoot}
function(e,n,t){/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r,l,a,u,o,i,s=t(70079),c=t(43707);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d=new Set,p={};function m(e,n){h(e,n),h(e+"Capture",n)}function h(e,n){for(p[e]=n,e=0;e<n.length;e++)d.add(n[e])}var g=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),v=Object.prototype.hasOwnProperty,y=/^[: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]*$/,b={},k={};function w(e,n,t,r,l,a,u){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a,this.removeEmptyString=u}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new w(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];S[n]=new w(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new w(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new w(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new w(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new w(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new w(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new w(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new w(e,5,!1,e.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}function _(e,n,t,r){var l,a=S.hasOwnProperty(n)?S[n]:null;(null!==a?0!==a.type:r||!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&(function(e,n,t,r){if(null==n||function(e,n,t,r){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==t)return!t.acceptsBooleans;return"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e;default:return!1}}(e,n,t,r))return!0;if(r)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,a,r)&&(t=null),r||null===a?(l=n,(!!v.call(k,l)||!v.call(b,l)&&(y.test(l)?k[l]=!0:(b[l]=!0,!1)))&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t))):a.mustUseProperty?e[a.propertyName]=null===t?3!==a.type&&"":t:(n=a.attributeName,r=a.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(a=a.type)||4===a&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),N=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),M=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),U=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var V=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var $=Symbol.iterator;function A(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}var j,B=Object.assign;function H(e){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var W=!1;function Q(e,n){if(!e||W)return"";W=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n){if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(n){if(n&&r&&"string"==typeof n.stack){for(var l=n.stack.split("\n"),a=r.stack.split("\n"),u=l.length-1,o=a.length-1;1<=u&&0<=o&&l[u]!==a[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==a[o]){if(1!==u||1!==o)do if(u--,0>--o||l[u]!==a[o]){var i="\n"+l[u].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}while(1<=u&&0<=o);break}}}finally{W=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var n=K(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function X(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Z(e,n){var t=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function J(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=q(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ee(e,n){null!=(n=n.checked)&&_(e,"checked",n,!1)}function en(e,n){ee(e,n);var t=q(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}n.hasOwnProperty("value")?er(e,n.type,t):n.hasOwnProperty("defaultValue")&&er(e,n.type,q(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function et(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function er(e,n,t){("number"!==n||G(e.ownerDocument)!==e)&&(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var el=Array.isArray;function ea(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(l=0,t=""+q(t),n=null;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}null!==n||e[l].disabled||(n=e[l])}null!==n&&(n.selected=!0)}}function eu(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(f(91));return B({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function eo(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(f(92));if(el(t)){if(1<t.length)throw Error(f(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:q(t)}}function ei(e,n){var t=q(n.value),r=q(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=r&&(e.defaultValue=""+r)}function es(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}function ec(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ef(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?ec(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var ed,ep,em=(ed=function(e,n){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=n;else{for((ep=ep||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction(function(){return ed(e,n,t,r)})}:ed);function eh(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType){t.nodeValue=n;return}}e.textContent=n}var eg={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ev=["Webkit","ms","Moz","O"];function ey(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||eg.hasOwnProperty(e)&&eg[e]?(""+n).trim():n+"px"}function eb(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=ey(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(eg).forEach(function(e){ev.forEach(function(n){eg[n=n+e.charAt(0).toUpperCase()+e.substring(1)]=eg[e]})});var ek=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ew(e,n){if(n){if(ek[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(f(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(f(62))}}function eS(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;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 ex=null;function eE(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var e_=null,eC=null,eP=null;function eN(e){if(e=rD(e)){if("function"!=typeof e_)throw Error(f(280));var n=e.stateNode;n&&(n=rU(n),e_(e.stateNode,e.type,n))}}function ez(e){eC?eP?eP.push(e):eP=[e]:eC=e}function eT(){if(eC){var e=eC,n=eP;if(eP=eC=null,eN(e),n)for(e=0;e<n.length;e++)eN(n[e])}}function eL(e,n){return e(n)}function eR(){}var eM=!1;function eF(e,n,t){if(eM)return e(n,t);eM=!0;try{return eL(e,n,t)}finally{eM=!1,(null!==eC||null!==eP)&&(eR(),eT())}}function eO(e,n){var t=e.stateNode;if(null===t)return null;var r=rU(t);if(null===r)return null;t=r[n];e:switch(n){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(t&&"function"!=typeof t)throw Error(f(231,n,typeof t));return t}var eD=!1;if(g)try{var eI={};Object.defineProperty(eI,"passive",{get:function(){eD=!0}}),window.addEventListener("test",eI,eI),window.removeEventListener("test",eI,eI)}catch(e){eD=!1}function eU(e,n,t,r,l,a,u,o,i){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(e){this.onError(e)}}var eV=!1,e$=null,eA=!1,ej=null,eB={onError:function(e){eV=!0,e$=e}};function eH(e,n,t,r,l,a,u,o,i){eV=!1,e$=null,eU.apply(eB,arguments)}function eW(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do 0!=(4098&(n=e).flags)&&(t=n.return),e=n.return;while(e)}return 3===n.tag?t:null}function eQ(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&null!==(e=e.alternate)&&(n=e.memoizedState),null!==n)return n.dehydrated}return null}function eq(e){if(eW(e)!==e)throw Error(f(188))}function eK(e){return null!==(e=function(e){var n=e.alternate;if(!n){if(null===(n=eW(e)))throw Error(f(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(null===l)break;var a=l.alternate;if(null===a){if(null!==(r=l.return)){t=r;continue}break}if(l.child===a.child){for(a=l.child;a;){if(a===t)return eq(l),e;if(a===r)return eq(l),n;a=a.sibling}throw Error(f(188))}if(t.return!==r.return)t=l,r=a;else{for(var u=!1,o=l.child;o;){if(o===t){u=!0,t=l,r=a;break}if(o===r){u=!0,r=l,t=a;break}o=o.sibling}if(!u){for(o=a.child;o;){if(o===t){u=!0,t=a,r=l;break}if(o===r){u=!0,r=a,t=l;break}o=o.sibling}if(!u)throw Error(f(189))}}if(t.alternate!==r)throw Error(f(190))}if(3!==t.tag)throw Error(f(188));return t.stateNode.current===t?e:n}(e))?function e(n){if(5===n.tag||6===n.tag)return n;for(n=n.child;null!==n;){var t=e(n);if(null!==t)return t;n=n.sibling}return null}(e):null}var eY=c.unstable_scheduleCallback,eX=c.unstable_cancelCallback,eG=c.unstable_shouldYield,eZ=c.unstable_requestPaint,eJ=c.unstable_now,e0=c.unstable_getCurrentPriorityLevel,e1=c.unstable_ImmediatePriority,e2=c.unstable_UserBlockingPriority,e3=c.unstable_NormalPriority,e4=c.unstable_LowPriority,e8=c.unstable_IdlePriority,e5=null,e6=null,e9=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(e7(e)/ne|0)|0},e7=Math.log,ne=Math.LN2,nn=64,nt=4194304;function nr(e){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: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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=268435455&t;if(0!==u){var o=u&~l;0!==o?r=nr(o):0!=(a&=u)&&(r=nr(a))}else 0!=(u=t&~l)?r=nr(u):0!==a&&(r=nr(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0<n;)l=1<<(t=31-e9(n)),r|=e[t],n&=~l;return r}function na(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function nu(){var e=nn;return 0==(4194240&(nn<<=1))&&(nn=64),e}function no(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function ni(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-e9(n)]=t}function ns(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-e9(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var nc=0;function nf(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var nd,np,nm,nh,ng,nv=!1,ny=[],nb=null,nk=null,nw=null,nS=new Map,nx=new Map,nE=[],n_="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 submit".split(" ");function nC(e,n){switch(e){case"focusin":case"focusout":nb=null;break;case"dragenter":case"dragleave":nk=null;break;case"mouseover":case"mouseout":nw=null;break;case"pointerover":case"pointerout":nS.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":nx.delete(n.pointerId)}}function nP(e,n,t,r,l,a){return null===e||e.nativeEvent!==a?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:a,targetContainers:[l]},null!==n&&null!==(n=rD(n))&&np(n),e):(e.eventSystemFlags|=r,n=e.targetContainers,null!==l&&-1===n.indexOf(l)&&n.push(l),e)}function nN(e){var n=rO(e.target);if(null!==n){var t=eW(n);if(null!==t){if(13===(n=t.tag)){if(null!==(n=eQ(t))){e.blockedOn=n,ng(e.priority,function(){nm(t)});return}}else if(3===n&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===t.tag?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function nz(e){if(null!==e.blockedOn)return!1;for(var n=e.targetContainers;0<n.length;){var t=n$(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(null!==t)return null!==(n=rD(t))&&np(n),e.blockedOn=t,!1;var r=new(t=e.nativeEvent).constructor(t.type,t);ex=r,t.target.dispatchEvent(r),ex=null,n.shift()}return!0}function nT(e,n,t){nz(e)&&t.delete(n)}function nL(){nv=!1,null!==nb&&nz(nb)&&(nb=null),null!==nk&&nz(nk)&&(nk=null),null!==nw&&nz(nw)&&(nw=null),nS.forEach(nT),nx.forEach(nT)}function nR(e,n){e.blockedOn===n&&(e.blockedOn=null,nv||(nv=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,nL)))}function nM(e){function n(n){return nR(n,e)}if(0<ny.length){nR(ny[0],e);for(var t=1;t<ny.length;t++){var r=ny[t];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==nb&&nR(nb,e),null!==nk&&nR(nk,e),null!==nw&&nR(nw,e),nS.forEach(n),nx.forEach(n),t=0;t<nE.length;t++)(r=nE[t]).blockedOn===e&&(r.blockedOn=null);for(;0<nE.length&&null===(t=nE[0]).blockedOn;)nN(t),null===t.blockedOn&&nE.shift()}var nF=C.ReactCurrentBatchConfig,nO=!0;function nD(e,n,t,r){var l=nc,a=nF.transition;nF.transition=null;try{nc=1,nU(e,n,t,r)}finally{nc=l,nF.transition=a}}function nI(e,n,t,r){var l=nc,a=nF.transition;nF.transition=null;try{nc=4,nU(e,n,t,r)}finally{nc=l,nF.transition=a}}function nU(e,n,t,r){if(nO){var l=n$(e,n,t,r);if(null===l)ro(e,n,r,nV,t),nC(e,r);else if(function(e,n,t,r,l){switch(n){case"focusin":return nb=nP(nb,e,n,t,r,l),!0;case"dragenter":return nk=nP(nk,e,n,t,r,l),!0;case"mouseover":return nw=nP(nw,e,n,t,r,l),!0;case"pointerover":var a=l.pointerId;return nS.set(a,nP(nS.get(a)||null,e,n,t,r,l)),!0;case"gotpointercapture":return a=l.pointerId,nx.set(a,nP(nx.get(a)||null,e,n,t,r,l)),!0}return!1}(l,e,n,t,r))r.stopPropagation();else if(nC(e,r),4&n&&-1<n_.indexOf(e)){for(;null!==l;){var a=rD(l);if(null!==a&&nd(a),null===(a=n$(e,n,t,r))&&ro(e,n,r,nV,t),a===l)break;l=a}null!==l&&r.stopPropagation()}else ro(e,n,r,null,t)}}var nV=null;function n$(e,n,t,r){if(nV=null,null!==(e=rO(e=eE(r)))){if(null===(n=eW(e)))e=null;else if(13===(t=n.tag)){if(null!==(e=eQ(n)))return e;e=null}else if(3===t){if(n.stateNode.current.memoizedState.isDehydrated)return 3===n.tag?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}return nV=e,null}function nA(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(e0()){case e1:return 1;case e2:return 4;case e3:case e4:return 16;case e8:return 536870912;default:return 16}default:return 16}}var nj=null,nB=null,nH=null;function nW(){if(nH)return nH;var e,n,t=nB,r=t.length,l="value"in nj?nj.value:nj.textContent,a=l.length;for(e=0;e<r&&t[e]===l[e];e++);var u=r-e;for(n=1;n<=u&&t[r-n]===l[a-n];n++);return nH=l.slice(e,1<n?1-n:void 0)}function nQ(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}function nq(){return!0}function nK(){return!1}function nY(e){function n(n,t,r,l,a){for(var u in this._reactName=n,this._targetInst=r,this.type=t,this.nativeEvent=l,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(l):l[u]);return this.isDefaultPrevented=(null!=l.defaultPrevented?l.defaultPrevented:!1===l.returnValue)?nq:nK,this.isPropagationStopped=nK,this}return B(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nq)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nq)},persist:function(){},isPersistent:nq}),n}var nX,nG,nZ,nJ={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},n0=nY(nJ),n1=B({},nJ,{view:0,detail:0}),n2=nY(n1),n3=B({},n1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tl,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!==nZ&&(nZ&&"mousemove"===e.type?(nX=e.screenX-nZ.screenX,nG=e.screenY-nZ.screenY):nG=nX=0,nZ=e),nX)},movementY:function(e){return"movementY"in e?e.movementY:nG}}),n4=nY(n3),n8=nY(B({},n3,{dataTransfer:0})),n5=nY(B({},n1,{relatedTarget:0})),n6=nY(B({},nJ,{animationName:0,elapsedTime:0,pseudoElement:0})),n9=nY(B({},nJ,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),n7=nY(B({},nJ,{data:0})),te={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tn={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"},tt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tr(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=tt[e])&&!!n[e]}function tl(){return tr}var ta=nY(B({},n1,{key:function(e){if(e.key){var n=te[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=nQ(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tl,charCode:function(e){return"keypress"===e.type?nQ(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nQ(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),tu=nY(B({},n3,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),to=nY(B({},n1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tl})),ti=nY(B({},nJ,{propertyName:0,elapsedTime:0,pseudoElement:0})),ts=nY(B({},n3,{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})),tc=[9,13,27,32],tf=g&&"CompositionEvent"in window,td=null;g&&"documentMode"in document&&(td=document.documentMode);var tp=g&&"TextEvent"in window&&!td,tm=g&&(!tf||td&&8<td&&11>=td),th=!1;function tg(e,n){switch(e){case"keyup":return -1!==tc.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tv(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ty=!1,tb={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 tk(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tb[e.type]:"textarea"===n}function tw(e,n,t,r){ez(r),0<(n=rs(n,"onChange")).length&&(t=new n0("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tS=null,tx=null;function tE(e){rn(e,0)}function t_(e){if(X(rI(e)))return e}function tC(e,n){if("change"===e)return n}var tP=!1;if(g){if(g){var tN="oninput"in document;if(!tN){var tz=document.createElement("div");tz.setAttribute("oninput","return;"),tN="function"==typeof tz.oninput}r=tN}else r=!1;tP=r&&(!document.documentMode||9<document.documentMode)}function tT(){tS&&(tS.detachEvent("onpropertychange",tL),tx=tS=null)}function tL(e){if("value"===e.propertyName&&t_(tx)){var n=[];tw(n,tx,e,eE(e)),eF(tE,n)}}function tR(e,n,t){"focusin"===e?(tT(),tS=n,tx=t,tS.attachEvent("onpropertychange",tL)):"focusout"===e&&tT()}function tM(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return t_(tx)}function tF(e,n){if("click"===e)return t_(n)}function tO(e,n){if("input"===e||"change"===e)return t_(n)}var tD="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n};function tI(e,n){if(tD(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!v.call(n,l)||!tD(e[l],n[l]))return!1}return!0}function tU(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tV(e,n){var t,r=tU(e);for(e=0;r;){if(3===r.nodeType){if(t=e+r.textContent.length,e<=n&&t>=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tU(r)}}function t$(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=G(e.document)}return n}function tA(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tj=g&&"documentMode"in document&&11>=document.documentMode,tB=null,tH=null,tW=null,tQ=!1;function tq(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tQ||null==tB||tB!==G(r)||(r="selectionStart"in(r=tB)&&tA(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tW&&tI(tW,r)||(tW=r,0<(r=rs(tH,"onSelect")).length&&(n=new n0("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tB)))}function tK(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tY={animationend:tK("Animation","AnimationEnd"),animationiteration:tK("Animation","AnimationIteration"),animationstart:tK("Animation","AnimationStart"),transitionend:tK("Transition","TransitionEnd")},tX={},tG={};function tZ(e){if(tX[e])return tX[e];if(!tY[e])return e;var n,t=tY[e];for(n in t)if(t.hasOwnProperty(n)&&n in tG)return tX[e]=t[n];return e}g&&(tG=document.createElement("div").style,"AnimationEvent"in window||(delete tY.animationend.animation,delete tY.animationiteration.animation,delete tY.animationstart.animation),"TransitionEvent"in window||delete tY.transitionend.transition);var tJ=tZ("animationend"),t0=tZ("animationiteration"),t1=tZ("animationstart"),t2=tZ("transitionend"),t3=new Map,t4="abort auxClick 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 toggle touchMove waiting wheel".split(" ");function t8(e,n){t3.set(e,n),m(n,[e])}for(var t5=0;t5<t4.length;t5++){var t6=t4[t5];t8(t6.toLowerCase(),"on"+(t6[0].toUpperCase()+t6.slice(1)))}t8(tJ,"onAnimationEnd"),t8(t0,"onAnimationIteration"),t8(t1,"onAnimationStart"),t8("dblclick","onDoubleClick"),t8("focusin","onFocus"),t8("focusout","onBlur"),t8(t2,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var t9="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(" "),t7=new Set("cancel close invalid load scroll toggle".split(" ").concat(t9));function re(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,function(e,n,t,r,l,a,u,o,i){if(eH.apply(this,arguments),eV){if(eV){var s=e$;eV=!1,e$=null}else throw Error(f(198));eA||(eA=!0,ej=s)}}(r,n,void 0,e),e.currentTarget=null}function rn(e,n){n=0!=(4&n);for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var a=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],i=o.instance,s=o.currentTarget;if(o=o.listener,i!==a&&l.isPropagationStopped())break e;re(l,o,s),a=i}else for(u=0;u<r.length;u++){if(i=(o=r[u]).instance,s=o.currentTarget,o=o.listener,i!==a&&l.isPropagationStopped())break e;re(l,o,s),a=i}}}if(eA)throw e=ej,eA=!1,ej=null,e}function rt(e,n){var t=n[rR];void 0===t&&(t=n[rR]=new Set);var r=e+"__bubble";t.has(r)||(ru(n,e,2,!1),t.add(r))}function rr(e,n,t){var r=0;n&&(r|=4),ru(t,e,r,n)}var rl="_reactListening"+Math.random().toString(36).slice(2);function ra(e){if(!e[rl]){e[rl]=!0,d.forEach(function(n){"selectionchange"!==n&&(t7.has(n)||rr(n,!1,e),rr(n,!0,e))});var n=9===e.nodeType?e:e.ownerDocument;null===n||n[rl]||(n[rl]=!0,rr("selectionchange",!1,n))}}function ru(e,n,t,r){switch(nA(n)){case 1:var l=nD;break;case 4:l=nI;break;default:l=nU}t=l.bind(null,n,t,e),l=void 0,eD&&("touchstart"===n||"touchmove"===n||"wheel"===n)&&(l=!0),r?void 0!==l?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):void 0!==l?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function ro(e,n,t,r,l){var a=r;if(0==(1&n)&&0==(2&n)&&null!==r)e:for(;;){if(null===r)return;var u=r.tag;if(3===u||4===u){var o=r.stateNode.containerInfo;if(o===l||8===o.nodeType&&o.parentNode===l)break;if(4===u)for(u=r.return;null!==u;){var i=u.tag;if((3===i||4===i)&&((i=u.stateNode.containerInfo)===l||8===i.nodeType&&i.parentNode===l))return;u=u.return}for(;null!==o;){if(null===(u=rO(o)))return;if(5===(i=u.tag)||6===i){r=a=u;continue e}o=o.parentNode}}r=r.return}eF(function(){var r=a,l=eE(t),u=[];e:{var o=t3.get(e);if(void 0!==o){var i=n0,s=e;switch(e){case"keypress":if(0===nQ(t))break e;case"keydown":case"keyup":i=ta;break;case"focusin":s="focus",i=n5;break;case"focusout":s="blur",i=n5;break;case"beforeblur":case"afterblur":i=n5;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":i=n4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":i=n8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":i=to;break;case tJ:case t0:case t1:i=n6;break;case t2:i=ti;break;case"scroll":i=n2;break;case"wheel":i=ts;break;case"copy":case"cut":case"paste":i=n9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":i=tu}var c=0!=(4&n),f=!c&&"scroll"===e,d=c?null!==o?o+"Capture":null:o;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=eO(m,d))&&c.push(ri(m,h,p))),f)break;m=m.return}0<c.length&&(o=new i(o,s,null,t,l),u.push({event:o,listeners:c}))}}if(0==(7&n)){e:if(o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e,!(o&&t!==ex&&(s=t.relatedTarget||t.fromElement)&&(rO(s)||s[rL]))&&(i||o)&&(o=l.window===l?l:(o=l.ownerDocument)?o.defaultView||o.parentWindow:window,i?(s=t.relatedTarget||t.toElement,i=r,null!==(s=s?rO(s):null)&&(f=eW(s),s!==f||5!==s.tag&&6!==s.tag)&&(s=null)):(i=null,s=r),i!==s)){if(c=n4,h="onMouseLeave",d="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(c=tu,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==i?o:rI(i),p=null==s?o:rI(s),(o=new c(h,m+"leave",i,t,l)).target=f,o.relatedTarget=p,h=null,rO(l)===r&&((c=new c(d,m+"enter",s,t,l)).target=p,c.relatedTarget=f,h=c),f=h,i&&s)n:{for(c=i,d=s,m=0,p=c;p;p=rc(p))m++;for(p=0,h=d;h;h=rc(h))p++;for(;0<m-p;)c=rc(c),m--;for(;0<p-m;)d=rc(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break n;c=rc(c),d=rc(d)}c=null}else c=null;null!==i&&rf(u,o,i,c,!1),null!==s&&null!==f&&rf(u,f,s,c,!0)}e:{if("select"===(i=(o=r?rI(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===i&&"file"===o.type)var g,v=tC;else if(tk(o)){if(tP)v=tO;else{v=tM;var y=tR}}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(v=tF);if(v&&(v=v(e,r))){tw(u,v,t,l);break e}y&&y(e,o,r),"focusout"===e&&(y=o._wrapperState)&&y.controlled&&"number"===o.type&&er(o,"number",o.value)}switch(y=r?rI(r):window,e){case"focusin":(tk(y)||"true"===y.contentEditable)&&(tB=y,tH=r,tW=null);break;case"focusout":tW=tH=tB=null;break;case"mousedown":tQ=!0;break;case"contextmenu":case"mouseup":case"dragend":tQ=!1,tq(u,t,l);break;case"selectionchange":if(tj)break;case"keydown":case"keyup":tq(u,t,l)}if(tf)n:{switch(e){case"compositionstart":var b="onCompositionStart";break n;case"compositionend":b="onCompositionEnd";break n;case"compositionupdate":b="onCompositionUpdate";break n}b=void 0}else ty?tg(e,t)&&(b="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(b="onCompositionStart");b&&(tm&&"ko"!==t.locale&&(ty||"onCompositionStart"!==b?"onCompositionEnd"===b&&ty&&(g=nW()):(nB="value"in(nj=l)?nj.value:nj.textContent,ty=!0)),0<(y=rs(r,b)).length&&(b=new n7(b,e,null,t,l),u.push({event:b,listeners:y}),g?b.data=g:null!==(g=tv(t))&&(b.data=g))),(g=tp?function(e,n){switch(e){case"compositionend":return tv(n);case"keypress":if(32!==n.which)return null;return th=!0," ";case"textInput":return" "===(e=n.data)&&th?null:e;default:return null}}(e,t):function(e,n){if(ty)return"compositionend"===e||!tf&&tg(e,n)?(e=nW(),nH=nB=nj=null,ty=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return tm&&"ko"!==n.locale?null:n.data}}(e,t))&&0<(r=rs(r,"onBeforeInput")).length&&(l=new n7("onBeforeInput","beforeinput",null,t,l),u.push({event:l,listeners:r}),l.data=g)}rn(u,n)})}function ri(e,n,t){return{instance:e,listener:n,currentTarget:t}}function rs(e,n){for(var t=n+"Capture",r=[];null!==e;){var l=e,a=l.stateNode;5===l.tag&&null!==a&&(l=a,null!=(a=eO(e,t))&&r.unshift(ri(e,a,l)),null!=(a=eO(e,n))&&r.push(ri(e,a,l))),e=e.return}return r}function rc(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag);return e||null}function rf(e,n,t,r,l){for(var a=n._reactName,u=[];null!==t&&t!==r;){var o=t,i=o.alternate,s=o.stateNode;if(null!==i&&i===r)break;5===o.tag&&null!==s&&(o=s,l?null!=(i=eO(t,a))&&u.unshift(ri(t,i,o)):l||null!=(i=eO(t,a))&&u.push(ri(t,i,o))),t=t.return}0!==u.length&&e.push({event:n,listeners:u})}var rd=/\r\n?/g,rp=/\u0000|\uFFFD/g;function rm(e){return("string"==typeof e?e:""+e).replace(rd,"\n").replace(rp,"")}function rh(e,n,t){if(n=rm(n),rm(e)!==n&&t)throw Error(f(425))}function rg(){}var rv=null,ry=null;function rb(e,n){return"textarea"===e||"noscript"===e||"string"==typeof n.children||"number"==typeof n.children||"object"==typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var rk="function"==typeof setTimeout?setTimeout:void 0,rw="function"==typeof clearTimeout?clearTimeout:void 0,rS="function"==typeof Promise?Promise:void 0,rx="function"==typeof queueMicrotask?queueMicrotask:void 0!==rS?function(e){return rS.resolve(null).then(e).catch(rE)}:rk;function rE(e){setTimeout(function(){throw e})}function r_(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&8===l.nodeType){if("/$"===(t=l.data)){if(0===r){e.removeChild(l),nM(n);return}r--}else"$"!==t&&"$?"!==t&&"$!"!==t||r++}t=l}while(t);nM(n)}function rC(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n)break;if("/$"===n)return null}}return e}function rP(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var rN=Math.random().toString(36).slice(2),rz="__reactFiber$"+rN,rT="__reactProps$"+rN,rL="__reactContainer$"+rN,rR="__reactEvents$"+rN,rM="__reactListeners$"+rN,rF="__reactHandles$"+rN;function rO(e){var n=e[rz];if(n)return n;for(var t=e.parentNode;t;){if(n=t[rL]||t[rz]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=rP(e);null!==e;){if(t=e[rz])return t;e=rP(e)}return n}t=(e=t).parentNode}return null}function rD(e){return(e=e[rz]||e[rL])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rI(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(f(33))}function rU(e){return e[rT]||null}var rV=[],r$=-1;function rA(e){return{current:e}}function rj(e){0>r$||(e.current=rV[r$],rV[r$]=null,r$--)}function rB(e,n){rV[++r$]=e.current,e.current=n}var rH={},rW=rA(rH),rQ=rA(!1),rq=rH;function rK(e,n){var t=e.type.contextTypes;if(!t)return rH;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function rY(e){return null!=(e=e.childContextTypes)}function rX(){rj(rQ),rj(rW)}function rG(e,n,t){if(rW.current!==rH)throw Error(f(168));rB(rW,n),rB(rQ,t)}function rZ(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(f(108,function(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(n){if(null==n)return null;if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case z:return"Fragment";case N:return"Portal";case L:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case D:return"SuspenseList"}if("object"==typeof n)switch(n.$$typeof){case M:return(n.displayName||"Context")+".Consumer";case R:return(n._context.displayName||"Context")+".Provider";case F:var t=n.render;return(n=n.displayName)||(n=""!==(n=t.displayName||t.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case I:return null!==(t=n.displayName||null)?t:e(n.type)||"Memo";case U:t=n._payload,n=n._init;try{return e(n(t))}catch(e){}}return null}(n);case 8:return n===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}(e)||"Unknown",l));return B({},t,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rB(rW,e),rB(rQ,rQ.current),!0}function r0(e,n,t){var r=e.stateNode;if(!r)throw Error(f(169));t?(e=rZ(e,n,rq),r.__reactInternalMemoizedMergedChildContext=e,rj(rQ),rj(rW),rB(rW,e)):rj(rQ),rB(rQ,t)}var r1=null,r2=!1,r3=!1;function r4(){if(!r3&&null!==r1){r3=!0;var e=0,n=nc;try{var t=r1;for(nc=1;e<t.length;e++){var r=t[e];do r=r(!0);while(null!==r)}r1=null,r2=!1}catch(n){throw null!==r1&&(r1=r1.slice(e+1)),eY(e1,r4),n}finally{nc=n,r3=!1}}return null}var r8=[],r5=0,r6=null,r9=0,r7=[],le=0,ln=null,lt=1,lr="";function ll(e,n){r8[r5++]=r9,r8[r5++]=r6,r6=e,r9=n}function la(e,n,t){r7[le++]=lt,r7[le++]=lr,r7[le++]=ln,ln=e;var r=lt;e=lr;var l=32-e9(r)-1;r&=~(1<<l),t+=1;var a=32-e9(n)+l;if(30<a){var u=l-l%5;a=(r&(1<<u)-1).toString(32),r>>=u,l-=u,lt=1<<32-e9(n)+l|t<<l|r,lr=a+e}else lt=1<<a|t<<l|r,lr=e}function lu(e){null!==e.return&&(ll(e,1),la(e,1,0))}function lo(e){for(;e===r6;)r6=r8[--r5],r8[r5]=null,r9=r8[--r5],r8[r5]=null;for(;e===ln;)ln=r7[--le],r7[le]=null,lr=r7[--le],r7[le]=null,lt=r7[--le],r7[le]=null}var li=null,ls=null,lc=!1,lf=null;function ld(e,n){var t=oQ(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)}function lp(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,li=e,ls=rC(n.firstChild),!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,li=e,ls=null,!0);case 13:return null!==(n=8!==n.nodeType?null:n)&&(t=null!==ln?{id:lt,overflow:lr}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},(t=oQ(18,null,null,0)).stateNode=n,t.return=e,e.child=t,li=e,ls=null,!0);default:return!1}}function lm(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function lh(e){if(lc){var n=ls;if(n){var t=n;if(!lp(e,n)){if(lm(e))throw Error(f(418));n=rC(t.nextSibling);var r=li;n&&lp(e,n)?ld(r,t):(e.flags=-4097&e.flags|2,lc=!1,li=e)}}else{if(lm(e))throw Error(f(418));e.flags=-4097&e.flags|2,lc=!1,li=e}}}function lg(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;li=e}function lv(e){if(e!==li)return!1;if(!lc)return lg(e),lc=!0,!1;if((n=3!==e.tag)&&!(n=5!==e.tag)&&(n="head"!==(n=e.type)&&"body"!==n&&!rb(e.type,e.memoizedProps)),n&&(n=ls)){if(lm(e))throw ly(),Error(f(418));for(;n;)ld(e,n),n=rC(n.nextSibling)}if(lg(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(f(317));e:{for(n=0,e=e.nextSibling;e;){if(8===e.nodeType){var n,t=e.data;if("/$"===t){if(0===n){ls=rC(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++}e=e.nextSibling}ls=null}}else ls=li?rC(e.stateNode.nextSibling):null;return!0}function ly(){for(var e=ls;e;)e=rC(e.nextSibling)}function lb(){ls=li=null,lc=!1}function lk(e){null===lf?lf=[e]:lf.push(e)}var lw=C.ReactCurrentBatchConfig;function lS(e,n){if(e&&e.defaultProps)for(var t in n=B({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}var lx=rA(null),lE=null,l_=null,lC=null;function lP(){lC=l_=lE=null}function lN(e){var n=lx.current;rj(lx),e._currentValue=n}function lz(e,n,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,null!==r&&(r.childLanes|=n)):null!==r&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function lT(e,n){lE=e,lC=l_=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&n)&&(ua=!0),e.firstContext=null)}function lL(e){var n=e._currentValue;if(lC!==e){if(e={context:e,memoizedValue:n,next:null},null===l_){if(null===lE)throw Error(f(308));l_=e,lE.dependencies={lanes:0,firstContext:e}}else l_=l_.next=e}return n}var lR=null;function lM(e){null===lR?lR=[e]:lR.push(e)}function lF(e,n,t,r){var l=n.interleaved;return null===l?(t.next=t,lM(n)):(t.next=l.next,l.next=t),n.interleaved=t,lO(e,r)}function lO(e,n){e.lanes|=n;var t=e.alternate;for(null!==t&&(t.lanes|=n),t=e,e=e.return;null!==e;)e.childLanes|=n,null!==(t=e.alternate)&&(t.childLanes|=n),t=e,e=e.return;return 3===t.tag?t.stateNode:null}var lD=!1;function lI(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lU(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function lV(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function l$(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&u2)){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,lO(e,t)}return null===(l=r.interleaved)?(n.next=n,lM(r)):(n.next=l.next,l.next=n),r.interleaved=n,lO(e,t)}function lA(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194240&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ns(e,t)}}function lj(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===a?l=a=u:a=a.next=u,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function lB(e,n,t,r){var l=e.updateQueue;lD=!1;var a=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(null!==o){l.shared.pending=null;var i=o,s=i.next;i.next=null,null===u?a=s:u.next=s,u=i;var c=e.alternate;null!==c&&(o=(c=c.updateQueue).lastBaseUpdate)!==u&&(null===o?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=i)}if(null!==a){var f=l.baseState;for(u=0,c=s=i=null,o=a;;){var d=o.lane,p=o.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,h=o;switch(d=n,p=t,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=B({},f,d);break e;case 2:lD=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=l.effects)?l.effects=[o]:d.push(o))}else p={eventTime:p,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===c?(s=c=p,i=f):c=c.next=p,u|=d;if(null===(o=o.next)){if(null===(o=l.shared.pending))break;o=(d=o).next,d.next=null,l.lastBaseUpdate=d,l.shared.pending=null}}if(null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null!==(n=l.shared.interleaved)){l=n;do u|=l.lane,l=l.next;while(l!==n)}else null===a&&(l.shared.lanes=0);oe|=u,e.lanes=u,e.memoizedState=f}}function lH(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(null!==l){if(r.callback=null,r=t,"function"!=typeof l)throw Error(f(191,l));l.call(r)}}}var lW=(new s.Component).refs;function lQ(e,n,t,r){n=e.memoizedState,t=null==(t=t(r,n))?n:B({},n,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}var lq={isMounted:function(e){return!!(e=e._reactInternals)&&eW(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=oy(),l=ob(e),a=lV(r,l);a.payload=n,null!=t&&(a.callback=t),null!==(n=l$(e,a,l))&&(ok(n,e,l,r),lA(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=oy(),l=ob(e),a=lV(r,l);a.tag=1,a.payload=n,null!=t&&(a.callback=t),null!==(n=l$(e,a,l))&&(ok(n,e,l,r),lA(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=oy(),r=ob(e),l=lV(t,r);l.tag=2,null!=n&&(l.callback=n),null!==(n=l$(e,l,r))&&(ok(n,e,r,t),lA(n,e,r))}};function lK(e,n,t,r,l,a,u){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,u):!n.prototype||!n.prototype.isPureReactComponent||!tI(t,r)||!tI(l,a)}function lY(e,n,t){var r=!1,l=rH,a=n.contextType;return"object"==typeof a&&null!==a?a=lL(a):(l=rY(n)?rq:rW.current,a=(r=null!=(r=n.contextTypes))?rK(e,l):rH),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=lq,e.stateNode=n,n._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=a),n}function lX(e,n,t,r){e=n.state,"function"==typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,r),"function"==typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&lq.enqueueReplaceState(n,n.state,null)}function lG(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=lW,lI(e);var a=n.contextType;"object"==typeof a&&null!==a?l.context=lL(a):(a=rY(n)?rq:rW.current,l.context=rK(e,a)),l.state=e.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(lQ(e,n,a,t),l.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(n=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),n!==l.state&&lq.enqueueReplaceState(l,l.state,null),lB(e,t,l,r),l.state=e.memoizedState),"function"==typeof l.componentDidMount&&(e.flags|=4194308)}function lZ(e,n,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(f(309));var r=t.stateNode}if(!r)throw Error(f(147,e));var l=r,a=""+e;return null!==n&&null!==n.ref&&"function"==typeof n.ref&&n.ref._stringRef===a?n.ref:((n=function(e){var n=l.refs;n===lW&&(n=l.refs={}),null===e?delete n[a]:n[a]=e})._stringRef=a,n)}if("string"!=typeof e)throw Error(f(284));if(!t._owner)throw Error(f(290,e))}return e}function lJ(e,n){throw Error(f(31,"[object Object]"===(e=Object.prototype.toString.call(n))?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function l0(e){return(0,e._init)(e._payload)}function l1(e){function n(n,t){if(e){var r=n.deletions;null===r?(n.deletions=[t],n.flags|=16):r.push(t)}}function t(t,r){if(!e)return null;for(;null!==r;)n(t,r),r=r.sibling;return null}function r(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function l(e,n){return(e=oK(e,n)).index=0,e.sibling=null,e}function a(n,t,r){return(n.index=r,e)?null!==(r=n.alternate)?(r=r.index)<t?(n.flags|=2,t):r:(n.flags|=2,t):(n.flags|=1048576,t)}function u(n){return e&&null===n.alternate&&(n.flags|=2),n}function o(e,n,t,r){return null===n||6!==n.tag?((n=oZ(t,e.mode,r)).return=e,n):((n=l(n,t)).return=e,n)}function i(e,n,t,r){var a=t.type;return a===z?c(e,n,t.props.children,r,t.key):null!==n&&(n.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===U&&l0(a)===n.type)?((r=l(n,t.props)).ref=lZ(e,n,t),r.return=e,r):((r=oY(t.type,t.key,t.props,null,e.mode,r)).ref=lZ(e,n,t),r.return=e,r)}function s(e,n,t,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=oJ(t,e.mode,r)).return=e,n):((n=l(n,t.children||[])).return=e,n)}function c(e,n,t,r,a){return null===n||7!==n.tag?((n=oX(t,e.mode,r,a)).return=e,n):((n=l(n,t)).return=e,n)}function d(e,n,t){if("string"==typeof n&&""!==n||"number"==typeof n)return(n=oZ(""+n,e.mode,t)).return=e,n;if("object"==typeof n&&null!==n){switch(n.$$typeof){case P:return(t=oY(n.type,n.key,n.props,null,e.mode,t)).ref=lZ(e,null,n),t.return=e,t;case N:return(n=oJ(n,e.mode,t)).return=e,n;case U:var r=n._init;return d(e,r(n._payload),t)}if(el(n)||A(n))return(n=oX(n,e.mode,t,null)).return=e,n;lJ(e,n)}return null}function p(e,n,t,r){var l=null!==n?n.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==l?null:o(e,n,""+t,r);if("object"==typeof t&&null!==t){switch(t.$$typeof){case P:return t.key===l?i(e,n,t,r):null;case N:return t.key===l?s(e,n,t,r):null;case U:return p(e,n,(l=t._init)(t._payload),r)}if(el(t)||A(t))return null!==l?null:c(e,n,t,r,null);lJ(e,t)}return null}function m(e,n,t,r,l){if("string"==typeof r&&""!==r||"number"==typeof r)return o(n,e=e.get(t)||null,""+r,l);if("object"==typeof r&&null!==r){switch(r.$$typeof){case P:return i(n,e=e.get(null===r.key?t:r.key)||null,r,l);case N:return s(n,e=e.get(null===r.key?t:r.key)||null,r,l);case U:return m(e,n,t,(0,r._init)(r._payload),l)}if(el(r)||A(r))return c(n,e=e.get(t)||null,r,l,null);lJ(n,r)}return null}return function o(i,s,c,h){if("object"==typeof c&&null!==c&&c.type===z&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case P:e:{for(var g=c.key,v=s;null!==v;){if(v.key===g){if((g=c.type)===z){if(7===v.tag){t(i,v.sibling),(s=l(v,c.props.children)).return=i,i=s;break e}}else if(v.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===U&&l0(g)===v.type){t(i,v.sibling),(s=l(v,c.props)).ref=lZ(i,v,c),s.return=i,i=s;break e}t(i,v);break}n(i,v),v=v.sibling}c.type===z?((s=oX(c.props.children,i.mode,h,c.key)).return=i,i=s):((h=oY(c.type,c.key,c.props,null,i.mode,h)).ref=lZ(i,s,c),h.return=i,i=h)}return u(i);case N:e:{for(v=c.key;null!==s;){if(s.key===v){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){t(i,s.sibling),(s=l(s,c.children||[])).return=i,i=s;break e}t(i,s);break}n(i,s),s=s.sibling}(s=oJ(c,i.mode,h)).return=i,i=s}return u(i);case U:return o(i,s,(v=c._init)(c._payload),h)}if(el(c))return function(l,u,o,i){for(var s=null,c=null,f=u,h=u=0,g=null;null!==f&&h<o.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=p(l,f,o[h],i);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&n(l,f),u=a(v,u,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===o.length)return t(l,f),lc&&ll(l,h),s;if(null===f){for(;h<o.length;h++)null!==(f=d(l,o[h],i))&&(u=a(f,u,h),null===c?s=f:c.sibling=f,c=f);return lc&&ll(l,h),s}for(f=r(l,f);h<o.length;h++)null!==(g=m(f,l,h,o[h],i))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),u=a(g,u,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return n(l,e)}),lc&&ll(l,h),s}(i,s,c,h);if(A(c))return function(l,u,o,i){var s=A(o);if("function"!=typeof s)throw Error(f(150));if(null==(o=s.call(o)))throw Error(f(151));for(var c=s=null,h=u,g=u=0,v=null,y=o.next();null!==h&&!y.done;g++,y=o.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=p(l,h,y.value,i);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&n(l,h),u=a(b,u,g),null===c?s=b:c.sibling=b,c=b,h=v}if(y.done)return t(l,h),lc&&ll(l,g),s;if(null===h){for(;!y.done;g++,y=o.next())null!==(y=d(l,y.value,i))&&(u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return lc&&ll(l,g),s}for(h=r(l,h);!y.done;g++,y=o.next())null!==(y=m(h,l,g,y.value,i))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return e&&h.forEach(function(e){return n(l,e)}),lc&&ll(l,g),s}(i,s,c,h);lJ(i,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(t(i,s.sibling),(s=l(s,c)).return=i,i=s):(t(i,s),(s=oZ(c,i.mode,h)).return=i,i=s),u(i)):t(i,s)}}var l2=l1(!0),l3=l1(!1),l4={},l8=rA(l4),l5=rA(l4),l6=rA(l4);function l9(e){if(e===l4)throw Error(f(174));return e}function l7(e,n){switch(rB(l6,n),rB(l5,e),rB(l8,l4),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ef(null,"");break;default:n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName,n=ef(n,e)}rj(l8),rB(l8,n)}function ae(){rj(l8),rj(l5),rj(l6)}function an(e){l9(l6.current);var n=l9(l8.current),t=ef(n,e.type);n!==t&&(rB(l5,e),rB(l8,t))}function at(e){l5.current===e&&(rj(l8),rj(l5))}var ar=rA(0);function al(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var aa=[];function au(){for(var e=0;e<aa.length;e++)aa[e]._workInProgressVersionPrimary=null;aa.length=0}var ao=C.ReactCurrentDispatcher,ai=C.ReactCurrentBatchConfig,as=0,ac=null,af=null,ad=null,ap=!1,am=!1,ah=0,ag=0;function av(){throw Error(f(321))}function ay(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!tD(e[t],n[t]))return!1;return!0}function ab(e,n,t,r,l,a){if(as=a,ac=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,ao.current=null===e||null===e.memoizedState?a2:a3,e=t(r,l),am){a=0;do{if(am=!1,ah=0,25<=a)throw Error(f(301));a+=1,ad=af=null,n.updateQueue=null,ao.current=a4,e=t(r,l)}while(am)}if(ao.current=a1,n=null!==af&&null!==af.next,as=0,ad=af=ac=null,ap=!1,n)throw Error(f(300));return e}function ak(){var e=0!==ah;return ah=0,e}function aw(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ad?ac.memoizedState=ad=e:ad=ad.next=e,ad}function aS(){if(null===af){var e=ac.alternate;e=null!==e?e.memoizedState:null}else e=af.next;var n=null===ad?ac.memoizedState:ad.next;if(null!==n)ad=n,af=e;else{if(null===e)throw Error(f(310));e={memoizedState:(af=e).memoizedState,baseState:af.baseState,baseQueue:af.baseQueue,queue:af.queue,next:null},null===ad?ac.memoizedState=ad=e:ad=ad.next=e}return ad}function ax(e,n){return"function"==typeof n?n(e):n}function aE(e){var n=aS(),t=n.queue;if(null===t)throw Error(f(311));t.lastRenderedReducer=e;var r=af,l=r.baseQueue,a=t.pending;if(null!==a){if(null!==l){var u=l.next;l.next=a.next,a.next=u}r.baseQueue=l=a,t.pending=null}if(null!==l){a=l.next,r=r.baseState;var o=u=null,i=null,s=a;do{var c=s.lane;if((as&c)===c)null!==i&&(i=i.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===i?(o=i=d,u=r):i=i.next=d,ac.lanes|=c,oe|=c}s=s.next}while(null!==s&&s!==a);null===i?u=r:i.next=o,tD(r,n.memoizedState)||(ua=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=i,t.lastRenderedState=r}if(null!==(e=t.interleaved)){l=e;do a=l.lane,ac.lanes|=a,oe|=a,l=l.next;while(l!==e)}else null===l&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function a_(e){var n=aS(),t=n.queue;if(null===t)throw Error(f(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,a=n.memoizedState;if(null!==l){t.pending=null;var u=l=l.next;do a=e(a,u.action),u=u.next;while(u!==l);tD(a,n.memoizedState)||(ua=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,r]}function aC(){}function aP(e,n){var t=ac,r=aS(),l=n(),a=!tD(r.memoizedState,l);if(a&&(r.memoizedState=l,ua=!0),r=r.queue,aV(aT.bind(null,t,r,e),[e]),r.getSnapshot!==n||a||null!==ad&&1&ad.memoizedState.tag){if(t.flags|=2048,aF(9,az.bind(null,t,r,l,n),void 0,null),null===u3)throw Error(f(349));0!=(30&as)||aN(t,n,l)}return l}function aN(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},null===(n=ac.updateQueue)?(n={lastEffect:null,stores:null},ac.updateQueue=n,n.stores=[e]):null===(t=n.stores)?n.stores=[e]:t.push(e)}function az(e,n,t,r){n.value=t,n.getSnapshot=r,aL(n)&&aR(e)}function aT(e,n,t){return t(function(){aL(n)&&aR(e)})}function aL(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!tD(e,t)}catch(e){return!0}}function aR(e){var n=lO(e,1);null!==n&&ok(n,e,1,-1)}function aM(e){var n=aw();return"function"==typeof e&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ax,lastRenderedState:e},n.queue=e,e=e.dispatch=aG.bind(null,ac,e),[n.memoizedState,e]}function aF(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},null===(n=ac.updateQueue)?(n={lastEffect:null,stores:null},ac.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e),e}function aO(){return aS().memoizedState}function aD(e,n,t,r){var l=aw();ac.flags|=e,l.memoizedState=aF(1|n,t,void 0,void 0===r?null:r)}function aI(e,n,t,r){var l=aS();r=void 0===r?null:r;var a=void 0;if(null!==af){var u=af.memoizedState;if(a=u.destroy,null!==r&&ay(r,u.deps)){l.memoizedState=aF(n,t,a,r);return}}ac.flags|=e,l.memoizedState=aF(1|n,t,a,r)}function aU(e,n){return aD(8390656,8,e,n)}function aV(e,n){return aI(2048,8,e,n)}function a$(e,n){return aI(4,2,e,n)}function aA(e,n){return aI(4,4,e,n)}function aj(e,n){return"function"==typeof n?(n(e=e()),function(){n(null)}):null!=n?(e=e(),n.current=e,function(){n.current=null}):void 0}function aB(e,n,t){return t=null!=t?t.concat([e]):null,aI(4,4,aj.bind(null,n,e),t)}function aH(){}function aW(e,n){var t=aS();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ay(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function aQ(e,n){var t=aS();n=void 0===n?null:n;var r=t.memoizedState;return null!==r&&null!==n&&ay(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function aq(e,n,t){return 0==(21&as)?(e.baseState&&(e.baseState=!1,ua=!0),e.memoizedState=t):(tD(t,n)||(t=nu(),ac.lanes|=t,oe|=t,e.baseState=!0),n)}function aK(e,n){var t=nc;nc=0!==t&&4>t?t:4,e(!0);var r=ai.transition;ai.transition={};try{e(!1),n()}finally{nc=t,ai.transition=r}}function aY(){return aS().memoizedState}function aX(e,n,t){var r=ob(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},aZ(e)?aJ(n,t):null!==(t=lF(e,n,t,r))&&(ok(t,e,r,oy()),a0(t,n,r))}function aG(e,n,t){var r=ob(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(aZ(e))aJ(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var u=n.lastRenderedState,o=a(u,t);if(l.hasEagerState=!0,l.eagerState=o,tD(o,u)){var i=n.interleaved;null===i?(l.next=l,lM(n)):(l.next=i.next,i.next=l),n.interleaved=l;return}}catch(e){}finally{}null!==(t=lF(e,n,l,r))&&(ok(t,e,r,l=oy()),a0(t,n,r))}}function aZ(e){var n=e.alternate;return e===ac||null!==n&&n===ac}function aJ(e,n){am=ap=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function a0(e,n,t){if(0!=(4194240&t)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ns(e,t)}}var a1={readContext:lL,useCallback:av,useContext:av,useEffect:av,useImperativeHandle:av,useInsertionEffect:av,useLayoutEffect:av,useMemo:av,useReducer:av,useRef:av,useState:av,useDebugValue:av,useDeferredValue:av,useTransition:av,useMutableSource:av,useSyncExternalStore:av,useId:av,unstable_isNewReconciler:!1},a2={readContext:lL,useCallback:function(e,n){return aw().memoizedState=[e,void 0===n?null:n],e},useContext:lL,useEffect:aU,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,aD(4194308,4,aj.bind(null,n,e),t)},useLayoutEffect:function(e,n){return aD(4194308,4,e,n)},useInsertionEffect:function(e,n){return aD(4,2,e,n)},useMemo:function(e,n){var t=aw();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=aw();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=aX.bind(null,ac,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},aw().memoizedState=e},useState:aM,useDebugValue:aH,useDeferredValue:function(e){return aw().memoizedState=e},useTransition:function(){var e=aM(!1),n=e[0];return e=aK.bind(null,e[1]),aw().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=ac,l=aw();if(lc){if(void 0===t)throw Error(f(407));t=t()}else{if(t=n(),null===u3)throw Error(f(349));0!=(30&as)||aN(r,n,t)}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,aU(aT.bind(null,r,a,e),[e]),r.flags|=2048,aF(9,az.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=aw(),n=u3.identifierPrefix;if(lc){var t=lr,r=lt;n=":"+n+"R"+(t=(r&~(1<<32-e9(r)-1)).toString(32)+t),0<(t=ah++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=ag++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},a3={readContext:lL,useCallback:aW,useContext:lL,useEffect:aV,useImperativeHandle:aB,useInsertionEffect:a$,useLayoutEffect:aA,useMemo:aQ,useReducer:aE,useRef:aO,useState:function(){return aE(ax)},useDebugValue:aH,useDeferredValue:function(e){return aq(aS(),af.memoizedState,e)},useTransition:function(){return[aE(ax)[0],aS().memoizedState]},useMutableSource:aC,useSyncExternalStore:aP,useId:aY,unstable_isNewReconciler:!1},a4={readContext:lL,useCallback:aW,useContext:lL,useEffect:aV,useImperativeHandle:aB,useInsertionEffect:a$,useLayoutEffect:aA,useMemo:aQ,useReducer:a_,useRef:aO,useState:function(){return a_(ax)},useDebugValue:aH,useDeferredValue:function(e){var n=aS();return null===af?n.memoizedState=e:aq(n,af.memoizedState,e)},useTransition:function(){return[a_(ax)[0],aS().memoizedState]},useMutableSource:aC,useSyncExternalStore:aP,useId:aY,unstable_isNewReconciler:!1};function a8(e,n){try{var t="",r=n;do t+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=Q(e.type,!1);case 11:return e=Q(e.type.render,!1);case 1:return e=Q(e.type,!0);default:return""}}(r),r=r.return;while(r);var l=t}catch(e){l="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:l,digest:null}}function a5(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function a6(e,n){try{console.error(n.value)}catch(e){setTimeout(function(){throw e})}}var a9="function"==typeof WeakMap?WeakMap:Map;function a7(e,n,t){(t=lV(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){oi||(oi=!0,os=r),a6(e,n)},t}function ue(e,n,t){(t=lV(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){a6(e,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){a6(e,n),"function"!=typeof r&&(null===oc?oc=new Set([this]):oc.add(this));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}function un(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new a9;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=oA.bind(null,e,n,t),n.then(e,e))}function ut(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function ur(e,n,t,r,l){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=lV(-1,1)).tag=2,l$(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var ul=C.ReactCurrentOwner,ua=!1;function uu(e,n,t,r){n.child=null===e?l3(n,null,t,r):l2(n,e.child,t,r)}function uo(e,n,t,r,l){t=t.render;var a=n.ref;return(lT(n,l),r=ab(e,n,t,r,a,l),t=ak(),null===e||ua)?(lc&&t&&lu(n),n.flags|=1,uu(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,uC(e,n,l))}function ui(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||oq(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=oY(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,us(e,n,a,r,l))}if(a=e.child,0==(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:tI)(u,r)&&e.ref===n.ref)return uC(e,n,l)}return n.flags|=1,(e=oK(a,r)).ref=n.ref,e.return=n,n.child=e}function us(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(tI(a,r)&&e.ref===n.ref){if(ua=!1,n.pendingProps=r=a,0==(e.lanes&l))return n.lanes=e.lanes,uC(e,n,l);0!=(131072&e.flags)&&(ua=!0)}}return ud(e,n,t,r,l)}function uc(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},rB(u6,u5),u5|=t;else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,rB(u6,u5),u5|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,rB(u6,u5),u5|=r}}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,rB(u6,u5),u5|=r;return uu(e,n,l,t),n.child}function uf(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function ud(e,n,t,r,l){var a=rY(t)?rq:rW.current;return(a=rK(n,a),lT(n,l),t=ab(e,n,t,r,a,l),r=ak(),null===e||ua)?(lc&&r&&lu(n),n.flags|=1,uu(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,uC(e,n,l))}function up(e,n,t,r,l){if(rY(t)){var a=!0;rJ(n)}else a=!1;if(lT(n,l),null===n.stateNode)u_(e,n),lY(n,t,r),lG(n,t,r,l),r=!0;else if(null===e){var u=n.stateNode,o=n.memoizedProps;u.props=o;var i=u.context,s=t.contextType;s="object"==typeof s&&null!==s?lL(s):rK(n,s=rY(t)?rq:rW.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==r||i!==s)&&lX(n,u,r,s),lD=!1;var d=n.memoizedState;u.state=d,lB(n,r,u,l),i=n.memoizedState,o!==r||d!==i||rQ.current||lD?("function"==typeof c&&(lQ(n,t,c,r),i=n.memoizedState),(o=lD||lK(n,t,o,r,d,i,s))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(n.flags|=4194308)):("function"==typeof u.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),u.props=r,u.state=i,u.context=s,r=o):("function"==typeof u.componentDidMount&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,lU(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:lS(n.type,o),u.props=s,f=n.pendingProps,d=u.context,i="object"==typeof(i=t.contextType)&&null!==i?lL(i):rK(n,i=rY(t)?rq:rW.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==f||d!==i)&&lX(n,u,r,i),lD=!1,d=n.memoizedState,u.state=d,lB(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||rQ.current||lD?("function"==typeof p&&(lQ(n,t,p,r),m=n.memoizedState),(s=lD||lK(n,t,s,r,d,m,i)||!1)?(c||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,m,i),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof u.componentDidUpdate&&(n.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),u.props=r,u.state=m,u.context=i,r=s):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return um(e,n,t,r,a,l)}function um(e,n,t,r,l,a){uf(e,n);var u=0!=(128&n.flags);if(!r&&!u)return l&&r0(n,t,!1),uC(e,n,a);r=n.stateNode,ul.current=n;var o=u&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=l2(n,e.child,null,a),n.child=l2(n,null,o,a)):uu(e,n,o,a),n.memoizedState=r.state,l&&r0(n,t,!0),n.child}function uh(e){var n=e.stateNode;n.pendingContext?rG(e,n.pendingContext,n.pendingContext!==n.context):n.context&&rG(e,n.context,!1),l7(e,n.containerInfo)}function ug(e,n,t,r,l){return lb(),lk(l),n.flags|=256,uu(e,n,t,r),n.child}var uv={dehydrated:null,treeContext:null,retryLane:0};function uy(e){return{baseLanes:e,cachePool:null,transitions:null}}function ub(e,n,t){var r,l=n.pendingProps,a=ar.current,u=!1,o=0!=(128&n.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(u=!0,n.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),rB(ar,1&a),null===e)return(lh(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(o=l.children,e=l.fallback,u?(l=n.mode,u=n.child,o={mode:"hidden",children:o},0==(1&l)&&null!==u?(u.childLanes=0,u.pendingProps=o):u=oG(o,l,0,null),e=oX(e,l,t,null),u.return=n,e.return=n,u.sibling=e,n.child=u,n.child.memoizedState=uy(t),n.memoizedState=uv,e):uk(n,o));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,n,t,r,l,a,u){if(t)return 256&n.flags?(n.flags&=-257,uw(e,n,u,r=a5(Error(f(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(a=r.fallback,l=n.mode,r=oG({mode:"visible",children:r.children},l,0,null),a=oX(a,l,u,null),a.flags|=2,r.return=n,a.return=n,r.sibling=a,n.child=r,0!=(1&n.mode)&&l2(n,e.child,null,u),n.child.memoizedState=uy(u),n.memoizedState=uv,a);if(0==(1&n.mode))return uw(e,n,u,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var o=r.dgst;return r=o,r=a5(a=Error(f(419)),r,void 0),uw(e,n,u,r)}if(o=0!=(u&e.childLanes),ua||o){if(null!==(r=u3)){switch(u&-u){case 4:l=2;break;case 16:l=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!=(l&(r.suspendedLanes|u))?0:l)&&l!==a.retryLane&&(a.retryLane=l,lO(e,l),ok(r,e,l,-1))}return oM(),uw(e,n,u,r=a5(Error(f(421))))}return"$?"===l.data?(n.flags|=128,n.child=e.child,n=oB.bind(null,e),l._reactRetry=n,null):(e=a.treeContext,ls=rC(l.nextSibling),li=n,lc=!0,lf=null,null!==e&&(r7[le++]=lt,r7[le++]=lr,r7[le++]=ln,lt=e.id,lr=e.overflow,ln=n),n=uk(n,r.children),n.flags|=4096,n)}(e,n,o,l,r,a,t);if(u){u=l.fallback,o=n.mode,r=(a=e.child).sibling;var i={mode:"hidden",children:l.children};return 0==(1&o)&&n.child!==a?((l=n.child).childLanes=0,l.pendingProps=i,n.deletions=null):(l=oK(a,i)).subtreeFlags=14680064&a.subtreeFlags,null!==r?u=oK(r,u):(u=oX(u,o,t,null),u.flags|=2),u.return=n,l.return=n,l.sibling=u,n.child=l,l=u,u=n.child,o=null===(o=e.child.memoizedState)?uy(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},u.memoizedState=o,u.childLanes=e.childLanes&~t,n.memoizedState=uv,l}return e=(u=e.child).sibling,l=oK(u,{mode:"visible",children:l.children}),0==(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function uk(e,n){return(n=oG({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function uw(e,n,t,r){return null!==r&&lk(r),l2(n,e.child,null,t),e=uk(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function uS(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),lz(e.return,n,t)}function ux(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function uE(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(uu(e,n,r.children,t),0!=(2&(r=ar.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&uS(e,t,n);else if(19===e.tag)uS(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rB(ar,r),0==(1&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(l=null,t=n.child;null!==t;)null!==(e=t.alternate)&&null===al(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),ux(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===al(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}ux(n,!0,t,null,a);break;case"together":ux(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function u_(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function uC(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),oe|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(f(153));if(null!==n.child){for(t=oK(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=oK(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function uP(e,n){if(!lc)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uN(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}l=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},a=function(){},u=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,l9(l8.current);var a,u=null;switch(t){case"input":l=Z(e,l),r=Z(e,r),u=[];break;case"select":l=B({},l,{value:void 0}),r=B({},r,{value:void 0}),u=[];break;case"textarea":l=eu(e,l),r=eu(e,r),u=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=rg)}for(s in ew(t,r),t=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s]){if("style"===s){var o=l[s];for(a in o)o.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null))}for(s in r){var i=r[s];if(o=null!=l?l[s]:void 0,r.hasOwnProperty(s)&&i!==o&&(null!=i||null!=o)){if("style"===s){if(o){for(a in o)!o.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in i)i.hasOwnProperty(a)&&o[a]!==i[a]&&(t||(t={}),t[a]=i[a])}else t||(u||(u=[]),u.push(s,t)),t=i}else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,o=o?o.__html:void 0,null!=i&&o!==i&&(u=u||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(u=u||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&rt("scroll",e),u||o===i||(u=[])):(u=u||[]).push(s,i))}}t&&(u=u||[]).push("style",t);var s=u;(n.updateQueue=s)&&(n.flags|=4)}},o=function(e,n,t,r){t!==r&&(n.flags|=4)};var uz=!1,uT=!1,uL="function"==typeof WeakSet?WeakSet:Set,uR=null;function uM(e,n){var t=e.ref;if(null!==t){if("function"==typeof t)try{t(null)}catch(t){o$(e,n,t)}else t.current=null}}function uF(e,n,t){try{t()}catch(t){o$(e,n,t)}}var uO=!1;function uD(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&uF(n,t,a)}l=l.next}while(l!==r)}}function uI(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function uU(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function uV(e){return 5===e.tag||3===e.tag||4===e.tag}function u$(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uV(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var uA=null,uj=!1;function uB(e,n,t){for(t=t.child;null!==t;)uH(e,n,t),t=t.sibling}function uH(e,n,t){if(e6&&"function"==typeof e6.onCommitFiberUnmount)try{e6.onCommitFiberUnmount(e5,t)}catch(e){}switch(t.tag){case 5:uT||uM(t,n);case 6:var r=uA,l=uj;uA=null,uB(e,n,t),uA=r,uj=l,null!==uA&&(uj?(e=uA,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):uA.removeChild(t.stateNode));break;case 18:null!==uA&&(uj?(e=uA,t=t.stateNode,8===e.nodeType?r_(e.parentNode,t):1===e.nodeType&&r_(e,t),nM(e)):r_(uA,t.stateNode));break;case 4:r=uA,l=uj,uA=t.stateNode.containerInfo,uj=!0,uB(e,n,t),uA=r,uj=l;break;case 0:case 11:case 14:case 15:if(!uT&&null!==(r=t.updateQueue)&&null!==(r=r.lastEffect)){l=r=r.next;do{var a=l,u=a.destroy;a=a.tag,void 0!==u&&(0!=(2&a)?uF(t,n,u):0!=(4&a)&&uF(t,n,u)),l=l.next}while(l!==r)}uB(e,n,t);break;case 1:if(!uT&&(uM(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(e){o$(t,n,e)}uB(e,n,t);break;case 21:default:uB(e,n,t);break;case 22:1&t.mode?(uT=(r=uT)||null!==t.memoizedState,uB(e,n,t),uT=r):uB(e,n,t)}}function uW(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new uL),n.forEach(function(n){var r=oH.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function uQ(e,n){var t=n.deletions;if(null!==t)for(var r=0;r<t.length;r++){var l=t[r];try{var a=n,u=a;e:for(;null!==u;){switch(u.tag){case 5:uA=u.stateNode,uj=!1;break e;case 3:case 4:uA=u.stateNode.containerInfo,uj=!0;break e}u=u.return}if(null===uA)throw Error(f(160));uH(e,a,l),uA=null,uj=!1;var o=l.alternate;null!==o&&(o.return=null),l.return=null}catch(e){o$(l,n,e)}}if(12854&n.subtreeFlags)for(n=n.child;null!==n;)uq(n,e),n=n.sibling}function uq(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(uQ(n,e),uK(e),4&r){try{uD(3,e,e.return),uI(3,e)}catch(n){o$(e,e.return,n)}try{uD(5,e,e.return)}catch(n){o$(e,e.return,n)}}break;case 1:uQ(n,e),uK(e),512&r&&null!==t&&uM(t,t.return);break;case 5:if(uQ(n,e),uK(e),512&r&&null!==t&&uM(t,t.return),32&e.flags){var l=e.stateNode;try{eh(l,"")}catch(n){o$(e,e.return,n)}}if(4&r&&null!=(l=e.stateNode)){var a=e.memoizedProps,u=null!==t?t.memoizedProps:a,o=e.type,i=e.updateQueue;if(e.updateQueue=null,null!==i)try{"input"===o&&"radio"===a.type&&null!=a.name&&ee(l,a),eS(o,u);var s=eS(o,a);for(u=0;u<i.length;u+=2){var c=i[u],d=i[u+1];"style"===c?eb(l,d):"dangerouslySetInnerHTML"===c?em(l,d):"children"===c?eh(l,d):_(l,c,d,s)}switch(o){case"input":en(l,a);break;case"textarea":ei(l,a);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var m=a.value;null!=m?ea(l,!!a.multiple,m,!1):!!a.multiple!==p&&(null!=a.defaultValue?ea(l,!!a.multiple,a.defaultValue,!0):ea(l,!!a.multiple,a.multiple?[]:"",!1))}l[rT]=a}catch(n){o$(e,e.return,n)}}break;case 6:if(uQ(n,e),uK(e),4&r){if(null===e.stateNode)throw Error(f(162));l=e.stateNode,a=e.memoizedProps;try{l.nodeValue=a}catch(n){o$(e,e.return,n)}}break;case 3:if(uQ(n,e),uK(e),4&r&&null!==t&&t.memoizedState.isDehydrated)try{nM(n.containerInfo)}catch(n){o$(e,e.return,n)}break;case 4:default:uQ(n,e),uK(e);break;case 13:uQ(n,e),uK(e),8192&(l=e.child).flags&&(a=null!==l.memoizedState,l.stateNode.isHidden=a,a&&(null===l.alternate||null===l.alternate.memoizedState)&&(oa=eJ())),4&r&&uW(e);break;case 22:if(c=null!==t&&null!==t.memoizedState,1&e.mode?(uT=(s=uT)||c,uQ(n,e),uT=s):uQ(n,e),uK(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&0!=(1&e.mode))for(uR=e,c=e.child;null!==c;){for(d=uR=c;null!==uR;){switch(m=(p=uR).child,p.tag){case 0:case 11:case 14:case 15:uD(4,p,p.return);break;case 1:uM(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,t=p.return;try{n=r,h.props=n.memoizedProps,h.state=n.memoizedState,h.componentWillUnmount()}catch(e){o$(r,t,e)}}break;case 5:uM(p,p.return);break;case 22:if(null!==p.memoizedState){uX(d);continue}}null!==m?(m.return=p,uR=m):uX(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{l=d.stateNode,s?(a=l.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(o=d.stateNode,u=null!=(i=d.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=ey("display",u))}catch(n){o$(e,e.return,n)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(n){o$(e,e.return,n)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:uQ(n,e),uK(e),4&r&&uW(e);case 21:}}function uK(e){var n=e.flags;if(2&n){try{e:{for(var t=e.return;null!==t;){if(uV(t)){var r=t;break e}t=t.return}throw Error(f(160))}switch(r.tag){case 5:var l=r.stateNode;32&r.flags&&(eh(l,""),r.flags&=-33);var a=u$(e);!function e(n,t,r){var l=n.tag;if(5===l||6===l)n=n.stateNode,t?r.insertBefore(n,t):r.appendChild(n);else if(4!==l&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,a,l);break;case 3:case 4:var u=r.stateNode.containerInfo,o=u$(e);!function e(n,t,r){var l=n.tag;if(5===l||6===l)n=n.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(n,t):r.insertBefore(n,t):(8===r.nodeType?(t=r.parentNode).insertBefore(n,r):(t=r).appendChild(n),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=rg));else if(4!==l&&null!==(n=n.child))for(e(n,t,r),n=n.sibling;null!==n;)e(n,t,r),n=n.sibling}(e,o,u);break;default:throw Error(f(161))}}catch(n){o$(e,e.return,n)}e.flags&=-3}4096&n&&(e.flags&=-4097)}function uY(e){for(;null!==uR;){var n=uR;if(0!=(8772&n.flags)){var t=n.alternate;try{if(0!=(8772&n.flags))switch(n.tag){case 0:case 11:case 15:uT||uI(5,n);break;case 1:var r=n.stateNode;if(4&n.flags&&!uT){if(null===t)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:lS(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var a=n.updateQueue;null!==a&&lH(n,a,r);break;case 3:var u=n.updateQueue;if(null!==u){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}lH(n,u,t)}break;case 5:var o=n.stateNode;if(null===t&&4&n.flags){t=o;var i=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":i.autoFocus&&t.focus();break;case"img":i.src&&(t.src=i.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===n.memoizedState){var s=n.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&nM(d)}}}break;default:throw Error(f(163))}uT||512&n.flags&&uU(n)}catch(e){o$(n,n.return,e)}}if(n===e){uR=null;break}if(null!==(t=n.sibling)){t.return=n.return,uR=t;break}uR=n.return}}function uX(e){for(;null!==uR;){var n=uR;if(n===e){uR=null;break}var t=n.sibling;if(null!==t){t.return=n.return,uR=t;break}uR=n.return}}function uG(e){for(;null!==uR;){var n=uR;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{uI(4,n)}catch(e){o$(n,t,e)}break;case 1:var r=n.stateNode;if("function"==typeof r.componentDidMount){var l=n.return;try{r.componentDidMount()}catch(e){o$(n,l,e)}}var a=n.return;try{uU(n)}catch(e){o$(n,a,e)}break;case 5:var u=n.return;try{uU(n)}catch(e){o$(n,u,e)}}}catch(e){o$(n,n.return,e)}if(n===e){uR=null;break}var o=n.sibling;if(null!==o){o.return=n.return,uR=o;break}uR=n.return}}var uZ=Math.ceil,uJ=C.ReactCurrentDispatcher,u0=C.ReactCurrentOwner,u1=C.ReactCurrentBatchConfig,u2=0,u3=null,u4=null,u8=0,u5=0,u6=rA(0),u9=0,u7=null,oe=0,on=0,ot=0,or=null,ol=null,oa=0,ou=1/0,oo=null,oi=!1,os=null,oc=null,of=!1,od=null,op=0,om=0,oh=null,og=-1,ov=0;function oy(){return 0!=(6&u2)?eJ():-1!==og?og:og=eJ()}function ob(e){return 0==(1&e.mode)?1:0!=(2&u2)&&0!==u8?u8&-u8:null!==lw.transition?(0===ov&&(ov=nu()),ov):0!==(e=nc)?e:e=void 0===(e=window.event)?16:nA(e.type)}function ok(e,n,t,r){if(50<om)throw om=0,oh=null,Error(f(185));ni(e,t,r),(0==(2&u2)||e!==u3)&&(e===u3&&(0==(2&u2)&&(on|=t),4===u9&&o_(e,u8)),ow(e,r),1===t&&0===u2&&0==(1&n.mode)&&(ou=eJ()+500,r2&&r4()))}function ow(e,n){var t,r,l,a=e.callbackNode;!function(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=e.pendingLanes;0<a;){var u=31-e9(a),o=1<<u,i=l[u];-1===i?(0==(o&t)||0!=(o&r))&&(l[u]=function(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8: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 n+5e3;default:return -1}}(o,n)):i<=n&&(e.expiredLanes|=o),a&=~o}}(e,n);var u=nl(e,e===u3?u8:0);if(0===u)null!==a&&eX(a),e.callbackNode=null,e.callbackPriority=0;else if(n=u&-u,e.callbackPriority!==n){if(null!=a&&eX(a),1===n){;0===e.tag&&(r2=!0),t=oC.bind(null,e),null===r1?r1=[t]:r1.push(t),rx(function(){0==(6&u2)&&r4()}),a=null}else{switch(nf(u)){case 1:a=e1;break;case 4:a=e2;break;case 16:default:a=e3;break;case 536870912:a=e8}r=a,l=oS.bind(null,e),a=eY(r,l)}e.callbackPriority=n,e.callbackNode=a}}function oS(e,n){if(og=-1,ov=0,0!=(6&u2))throw Error(f(327));var t=e.callbackNode;if(oU()&&e.callbackNode!==t)return null;var r=nl(e,e===u3?u8:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||n)n=oF(e,r);else{n=r;var l=u2;u2|=2;var a=oR();for((u3!==e||u8!==n)&&(oo=null,ou=eJ()+500,oT(e,n));;)try{!function(){for(;null!==u4&&!eG();)oO(u4)}();break}catch(n){oL(e,n)}lP(),uJ.current=a,u2=l,null!==u4?n=0:(u3=null,u8=0,n=u9)}if(0!==n){if(2===n&&0!==(l=na(e))&&(r=l,n=ox(e,l)),1===n)throw t=u7,oT(e,0),o_(e,r),ow(e,eJ()),t;if(6===n)o_(e,r);else{if(l=e.current.alternate,0==(30&r)&&!function(e){for(var n=e;;){if(16384&n.flags){var t=n.updateQueue;if(null!==t&&null!==(t=t.stores))for(var r=0;r<t.length;r++){var l=t[r],a=l.getSnapshot;l=l.value;try{if(!tD(a(),l))return!1}catch(e){return!1}}}if(t=n.child,16384&n.subtreeFlags&&null!==t)t.return=n,n=t;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}(l)&&(2===(n=oF(e,r))&&0!==(a=na(e))&&(r=a,n=ox(e,a)),1===n))throw t=u7,oT(e,0),o_(e,r),ow(e,eJ()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(f(345));case 2:case 5:oI(e,ol,oo);break;case 3:if(o_(e,r),(130023424&r)===r&&10<(n=oa+500-eJ())){if(0!==nl(e,0))break;if(((l=e.suspendedLanes)&r)!==r){oy(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=rk(oI.bind(null,e,ol,oo),n);break}oI(e,ol,oo);break;case 4:if(o_(e,r),(4194240&r)===r)break;for(l=-1,n=e.eventTimes;0<r;){var u=31-e9(r);a=1<<u,(u=n[u])>l&&(l=u),r&=~a}if(r=l,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*uZ(r/1960))-r)){e.timeoutHandle=rk(oI.bind(null,e,ol,oo),r);break}oI(e,ol,oo);break;default:throw Error(f(329))}}}return ow(e,eJ()),e.callbackNode===t?oS.bind(null,e):null}function ox(e,n){var t=or;return e.current.memoizedState.isDehydrated&&(oT(e,n).flags|=256),2!==(e=oF(e,n))&&(n=ol,ol=t,null!==n&&oE(n)),e}function oE(e){null===ol?ol=e:ol.push.apply(ol,e)}function o_(e,n){for(n&=~ot,n&=~on,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-e9(n),r=1<<t;e[t]=-1,n&=~r}}function oC(e){if(0!=(6&u2))throw Error(f(327));oU();var n=nl(e,0);if(0==(1&n))return ow(e,eJ()),null;var t=oF(e,n);if(0!==e.tag&&2===t){var r=na(e);0!==r&&(n=r,t=ox(e,r))}if(1===t)throw t=u7,oT(e,0),o_(e,n),ow(e,eJ()),t;if(6===t)throw Error(f(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,oI(e,ol,oo),ow(e,eJ()),null}function oP(e,n){var t=u2;u2|=1;try{return e(n)}finally{0===(u2=t)&&(ou=eJ()+500,r2&&r4())}}function oN(e){null!==od&&0===od.tag&&0==(6&u2)&&oU();var n=u2;u2|=1;var t=u1.transition,r=nc;try{if(u1.transition=null,nc=1,e)return e()}finally{nc=r,u1.transition=t,0==(6&(u2=n))&&r4()}}function oz(){u5=u6.current,rj(u6)}function oT(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,rw(t)),null!==u4)for(t=u4.return;null!==t;){var r=t;switch(lo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&rX();break;case 3:ae(),rj(rQ),rj(rW),au();break;case 5:at(r);break;case 4:ae();break;case 13:case 19:rj(ar);break;case 10:lN(r.type._context);break;case 22:case 23:oz()}t=t.return}if(u3=e,u4=e=oK(e.current,null),u8=u5=n,u9=0,u7=null,ot=on=oe=0,ol=or=null,null!==lR){for(n=0;n<lR.length;n++)if(null!==(r=(t=lR[n]).interleaved)){t.interleaved=null;var l=r.next,a=t.pending;if(null!==a){var u=a.next;a.next=l,r.next=u}t.pending=r}lR=null}return e}function oL(e,n){for(;;){var t=u4;try{if(lP(),ao.current=a1,ap){for(var r=ac.memoizedState;null!==r;){var l=r.queue;null!==l&&(l.pending=null),r=r.next}ap=!1}if(as=0,ad=af=ac=null,am=!1,ah=0,u0.current=null,null===t||null===t.return){u9=1,u7=n,u4=null;break}e:{var a=e,u=t.return,o=t,i=n;if(n=u8,o.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){var s=i,c=o,d=c.tag;if(0==(1&c.mode)&&(0===d||11===d||15===d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=ut(u);if(null!==m){m.flags&=-257,ur(m,u,o,a,n),1&m.mode&&un(a,s,n),n=m,i=s;var h=n.updateQueue;if(null===h){var g=new Set;g.add(i),n.updateQueue=g}else h.add(i);break e}if(0==(1&n)){un(a,s,n),oM();break e}i=Error(f(426))}else if(lc&&1&o.mode){var v=ut(u);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),ur(v,u,o,a,n),lk(a8(i,o));break e}}a=i=a8(i,o),4!==u9&&(u9=2),null===or?or=[a]:or.push(a),a=u;do{switch(a.tag){case 3:a.flags|=65536,n&=-n,a.lanes|=n;var y=a7(a,i,n);lj(a,y);break e;case 1:o=i;var b=a.type,k=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===oc||!oc.has(k)))){a.flags|=65536,n&=-n,a.lanes|=n;var w=ue(a,o,n);lj(a,w);break e}}a=a.return}while(null!==a)}oD(t)}catch(e){n=e,u4===t&&null!==t&&(u4=t=t.return);continue}break}}function oR(){var e=uJ.current;return uJ.current=a1,null===e?a1:e}function oM(){(0===u9||3===u9||2===u9)&&(u9=4),null===u3||0==(268435455&oe)&&0==(268435455&on)||o_(u3,u8)}function oF(e,n){var t=u2;u2|=2;var r=oR();for((u3!==e||u8!==n)&&(oo=null,oT(e,n));;)try{!function(){for(;null!==u4;)oO(u4)}();break}catch(n){oL(e,n)}if(lP(),u2=t,uJ.current=r,null!==u4)throw Error(f(261));return u3=null,u8=0,u9}function oO(e){var n=i(e.alternate,e,u5);e.memoizedProps=e.pendingProps,null===n?oD(e):u4=n,u0.current=null}function oD(e){var n=e;do{var t=n.alternate;if(e=n.return,0==(32768&n.flags)){if(null!==(t=function(e,n,t){var r=n.pendingProps;switch(lo(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return uN(n),null;case 1:case 17:return rY(n.type)&&rX(),uN(n),null;case 3:return r=n.stateNode,ae(),rj(rQ),rj(rW),au(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(lv(n)?n.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&n.flags)||(n.flags|=1024,null!==lf&&(oE(lf),lf=null))),a(e,n),uN(n),null;case 5:at(n);var i=l9(l6.current);if(t=n.type,null!==e&&null!=n.stateNode)u(e,n,t,r,i),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(null===n.stateNode)throw Error(f(166));return uN(n),null}if(e=l9(l8.current),lv(n)){r=n.stateNode,t=n.type;var s=n.memoizedProps;switch(r[rz]=n,r[rT]=s,e=0!=(1&n.mode),t){case"dialog":rt("cancel",r),rt("close",r);break;case"iframe":case"object":case"embed":rt("load",r);break;case"video":case"audio":for(i=0;i<t9.length;i++)rt(t9[i],r);break;case"source":rt("error",r);break;case"img":case"image":case"link":rt("error",r),rt("load",r);break;case"details":rt("toggle",r);break;case"input":J(r,s),rt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},rt("invalid",r);break;case"textarea":eo(r,s),rt("invalid",r)}for(var c in ew(t,s),i=null,s)if(s.hasOwnProperty(c)){var d=s[c];"children"===c?"string"==typeof d?r.textContent!==d&&(!0!==s.suppressHydrationWarning&&rh(r.textContent,d,e),i=["children",d]):"number"==typeof d&&r.textContent!==""+d&&(!0!==s.suppressHydrationWarning&&rh(r.textContent,d,e),i=["children",""+d]):p.hasOwnProperty(c)&&null!=d&&"onScroll"===c&&rt("scroll",r)}switch(t){case"input":Y(r),et(r,s,!0);break;case"textarea":Y(r),es(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=rg)}r=i,n.updateQueue=r,null!==r&&(n.flags|=4)}else{c=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ec(t)),"http://www.w3.org/1999/xhtml"===e?"script"===t?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(t,{is:r.is}):(e=c.createElement(t),"select"===t&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,t),e[rz]=n,e[rT]=r,l(e,n,!1,!1),n.stateNode=e;e:{switch(c=eS(t,r),t){case"dialog":rt("cancel",e),rt("close",e),i=r;break;case"iframe":case"object":case"embed":rt("load",e),i=r;break;case"video":case"audio":for(i=0;i<t9.length;i++)rt(t9[i],e);i=r;break;case"source":rt("error",e),i=r;break;case"img":case"image":case"link":rt("error",e),rt("load",e),i=r;break;case"details":rt("toggle",e),i=r;break;case"input":J(e,r),i=Z(e,r),rt("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=B({},r,{value:void 0}),rt("invalid",e);break;case"textarea":eo(e,r),i=eu(e,r),rt("invalid",e)}for(s in ew(t,i),d=i)if(d.hasOwnProperty(s)){var m=d[s];"style"===s?eb(e,m):"dangerouslySetInnerHTML"===s?null!=(m=m?m.__html:void 0)&&em(e,m):"children"===s?"string"==typeof m?("textarea"!==t||""!==m)&&eh(e,m):"number"==typeof m&&eh(e,""+m):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?null!=m&&"onScroll"===s&&rt("scroll",e):null!=m&&_(e,s,m,c))}switch(t){case"input":Y(e),et(e,r,!1);break;case"textarea":Y(e),es(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ea(e,!!r.multiple,s,!1):null!=r.defaultValue&&ea(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=rg)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}null!==n.ref&&(n.flags|=512,n.flags|=2097152)}return uN(n),null;case 6:if(e&&null!=n.stateNode)o(e,n,e.memoizedProps,r);else{if("string"!=typeof r&&null===n.stateNode)throw Error(f(166));if(t=l9(l6.current),l9(l8.current),lv(n)){if(r=n.stateNode,t=n.memoizedProps,r[rz]=n,(s=r.nodeValue!==t)&&null!==(e=li))switch(e.tag){case 3:rh(r.nodeValue,t,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rh(r.nodeValue,t,0!=(1&e.mode))}s&&(n.flags|=4)}else(r=(9===t.nodeType?t:t.ownerDocument).createTextNode(r))[rz]=n,n.stateNode=r}return uN(n),null;case 13:if(rj(ar),r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(lc&&null!==ls&&0!=(1&n.mode)&&0==(128&n.flags))ly(),lb(),n.flags|=98560,s=!1;else if(s=lv(n),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(f(318));if(!(s=null!==(s=n.memoizedState)?s.dehydrated:null))throw Error(f(317));s[rz]=n}else lb(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;uN(n),s=!1}else null!==lf&&(oE(lf),lf=null),s=!0;if(!s)return 65536&n.flags?n:null}if(0!=(128&n.flags))return n.lanes=t,n;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(n.child.flags|=8192,0!=(1&n.mode)&&(null===e||0!=(1&ar.current)?0===u9&&(u9=3):oM())),null!==n.updateQueue&&(n.flags|=4),uN(n),null;case 4:return ae(),a(e,n),null===e&&ra(n.stateNode.containerInfo),uN(n),null;case 10:return lN(n.type._context),uN(n),null;case 19:if(rj(ar),null===(s=n.memoizedState))return uN(n),null;if(r=0!=(128&n.flags),null===(c=s.rendering)){if(r)uP(s,!1);else{if(0!==u9||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(c=al(e))){for(n.flags|=128,uP(s,!1),null!==(r=c.updateQueue)&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;null!==t;)s=t,e=r,s.flags&=14680066,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return rB(ar,1&ar.current|2),n.child}e=e.sibling}null!==s.tail&&eJ()>ou&&(n.flags|=128,r=!0,uP(s,!1),n.lanes=4194304)}}else{if(!r){if(null!==(e=al(c))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),uP(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!lc)return uN(n),null}else 2*eJ()-s.renderingStartTime>ou&&1073741824!==t&&(n.flags|=128,r=!0,uP(s,!1),n.lanes=4194304)}s.isBackwards?(c.sibling=n.child,n.child=c):(null!==(t=s.last)?t.sibling=c:n.child=c,s.last=c)}if(null!==s.tail)return n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=eJ(),n.sibling=null,t=ar.current,rB(ar,r?1&t|2:1&t),n;return uN(n),null;case 22:case 23:return oz(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(1073741824&u5)&&(uN(n),6&n.subtreeFlags&&(n.flags|=8192)):uN(n),null;case 24:case 25:return null}throw Error(f(156,n.tag))}(t,n,u5))){u4=t;return}}else{if(null!==(t=function(e,n){switch(lo(n),n.tag){case 1:return rY(n.type)&&rX(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return ae(),rj(rQ),rj(rW),au(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return at(n),null;case 13:if(rj(ar),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(f(340));lb()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return rj(ar),null;case 4:return ae(),null;case 10:return lN(n.type._context),null;case 22:case 23:return oz(),null;default:return null}}(t,n))){t.flags&=32767,u4=t;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{u9=6,u4=null;return}}if(null!==(n=n.sibling)){u4=n;return}u4=n=e}while(null!==n);0===u9&&(u9=5)}function oI(e,n,t){var r=nc,l=u1.transition;try{u1.transition=null,nc=1,function(e,n,t,r){do oU();while(null!==od);if(0!=(6&u2))throw Error(f(327));t=e.finishedWork;var l=e.finishedLanes;if(null!==t){if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-e9(t),a=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~a}}(e,a),e===u3&&(u4=u3=null,u8=0),0==(2064&t.subtreeFlags)&&0==(2064&t.flags)||of||(of=!0,u=e3,o=function(){return oU(),null},eY(u,o)),a=0!=(15990&t.flags),0!=(15990&t.subtreeFlags)||a){a=u1.transition,u1.transition=null;var u,o,i,s,c,d=nc;nc=1;var p=u2;u2|=4,u0.current=null,function(e,n){if(rv=nO,tA(e=t$())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(r&&0!==r.rangeCount){t=r.anchorNode;var l,a=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch(e){t=null;break e}var o=0,i=-1,s=-1,c=0,d=0,p=e,m=null;n:for(;;){for(;p!==t||0!==a&&3!==p.nodeType||(i=o+a),p!==u||0!==r&&3!==p.nodeType||(s=o+r),3===p.nodeType&&(o+=p.nodeValue.length),null!==(l=p.firstChild);)m=p,p=l;for(;;){if(p===e)break n;if(m===t&&++c===a&&(i=o),m===u&&++d===r&&(s=o),null!==(l=p.nextSibling))break;m=(p=m).parentNode}p=l}t=-1===i||-1===s?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ry={focusedElem:e,selectionRange:t},nO=!1,uR=n;null!==uR;)if(e=(n=uR).child,0!=(1028&n.subtreeFlags)&&null!==e)e.return=n,uR=e;else for(;null!==uR;){n=uR;try{var h=n.alternate;if(0!=(1024&n.flags))switch(n.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,v=h.memoizedState,y=n.stateNode,b=y.getSnapshotBeforeUpdate(n.elementType===n.type?g:lS(n.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var k=n.stateNode.containerInfo;1===k.nodeType?k.textContent="":9===k.nodeType&&k.documentElement&&k.removeChild(k.documentElement);break;default:throw Error(f(163))}}catch(e){o$(n,n.return,e)}if(null!==(e=n.sibling)){e.return=n.return,uR=e;break}uR=n.return}h=uO,uO=!1}(e,t),uq(t,e),function(e){var n=t$(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&function e(n,t){return!!n&&!!t&&(n===t||(!n||3!==n.nodeType)&&(t&&3===t.nodeType?e(n,t.parentNode):"contains"in n?n.contains(t):!!n.compareDocumentPosition&&!!(16&n.compareDocumentPosition(t))))}(t.ownerDocument.documentElement,t)){if(null!==r&&tA(t)){if(n=r.start,void 0===(e=r.end)&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if((e=(n=t.ownerDocument||document)&&n.defaultView||window).getSelection){e=e.getSelection();var l=t.textContent.length,a=Math.min(r.start,l);r=void 0===r.end?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=tV(t,a);var u=tV(t,r);l&&u&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<n.length;t++)(e=n[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(ry),nO=!!rv,ry=rv=null,e.current=t,i=t,s=e,c=l,uR=i,function e(n,t,r){for(var l=0!=(1&n.mode);null!==uR;){var a=uR,u=a.child;if(22===a.tag&&l){var o=null!==a.memoizedState||uz;if(!o){var i=a.alternate,s=null!==i&&null!==i.memoizedState||uT;i=uz;var c=uT;if(uz=o,(uT=s)&&!c)for(uR=a;null!==uR;)s=(o=uR).child,22===o.tag&&null!==o.memoizedState?uG(a):null!==s?(s.return=o,uR=s):uG(a);for(;null!==u;)uR=u,e(u,t,r),u=u.sibling;uR=a,uz=i,uT=c}uY(n,t,r)}else 0!=(8772&a.subtreeFlags)&&null!==u?(u.return=a,uR=u):uY(n,t,r)}}(i,s,c),eZ(),u2=p,nc=d,u1.transition=a}else e.current=t;if(of&&(of=!1,od=e,op=l),0===(a=e.pendingLanes)&&(oc=null),function(e){if(e6&&"function"==typeof e6.onCommitFiberRoot)try{e6.onCommitFiberRoot(e5,e,void 0,128==(128&e.current.flags))}catch(e){}}(t.stateNode,r),ow(e,eJ()),null!==n)for(r=e.onRecoverableError,t=0;t<n.length;t++)r((l=n[t]).value,{componentStack:l.stack,digest:l.digest});if(oi)throw oi=!1,e=os,os=null,e;0!=(1&op)&&0!==e.tag&&oU(),0!=(1&(a=e.pendingLanes))?e===oh?om++:(om=0,oh=e):om=0,r4()}}(e,n,t,r)}finally{u1.transition=l,nc=r}return null}function oU(){if(null!==od){var e=nf(op),n=u1.transition,t=nc;try{if(u1.transition=null,nc=16>e?16:e,null===od)var r=!1;else{if(e=od,od=null,op=0,0!=(6&u2))throw Error(f(331));var l=u2;for(u2|=4,uR=e.current;null!==uR;){var a=uR,u=a.child;if(0!=(16&uR.flags)){var o=a.deletions;if(null!==o){for(var i=0;i<o.length;i++){var s=o[i];for(uR=s;null!==uR;){var c=uR;switch(c.tag){case 0:case 11:case 15:uD(8,c,a)}var d=c.child;if(null!==d)d.return=c,uR=d;else for(;null!==uR;){var p=(c=uR).sibling,m=c.return;if(!function e(n){var t=n.alternate;null!==t&&(n.alternate=null,e(t)),n.child=null,n.deletions=null,n.sibling=null,5===n.tag&&null!==(t=n.stateNode)&&(delete t[rz],delete t[rT],delete t[rR],delete t[rM],delete t[rF]),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}(c),c===s){uR=null;break}if(null!==p){p.return=m,uR=p;break}uR=m}}}var h=a.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}uR=a}}if(0!=(2064&a.subtreeFlags)&&null!==u)u.return=a,uR=u;else n:for(;null!==uR;){if(a=uR,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:uD(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,uR=y;break n}uR=a.return}}var b=e.current;for(uR=b;null!==uR;){var k=(u=uR).child;if(0!=(2064&u.subtreeFlags)&&null!==k)k.return=u,uR=k;else n:for(u=b;null!==uR;){if(o=uR,0!=(2048&o.flags))try{switch(o.tag){case 0:case 11:case 15:uI(9,o)}}catch(e){o$(o,o.return,e)}if(o===u){uR=null;break n}var w=o.sibling;if(null!==w){w.return=o.return,uR=w;break n}uR=o.return}}if(u2=l,r4(),e6&&"function"==typeof e6.onPostCommitFiberRoot)try{e6.onPostCommitFiberRoot(e5,e)}catch(e){}r=!0}return r}finally{nc=t,u1.transition=n}}return!1}function oV(e,n,t){n=a8(t,n),n=a7(e,n,1),e=l$(e,n,1),n=oy(),null!==e&&(ni(e,1,n),ow(e,n))}function o$(e,n,t){if(3===e.tag)oV(e,e,t);else for(;null!==n;){if(3===n.tag){oV(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===oc||!oc.has(r))){e=a8(t,e),e=ue(n,e,1),n=l$(n,e,1),e=oy(),null!==n&&(ni(n,1,e),ow(n,e));break}}n=n.return}}function oA(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),n=oy(),e.pingedLanes|=e.suspendedLanes&t,u3===e&&(u8&t)===t&&(4===u9||3===u9&&(130023424&u8)===u8&&500>eJ()-oa?oT(e,0):ot|=t),ow(e,n)}function oj(e,n){0===n&&(0==(1&e.mode)?n=1:(n=nt,0==(130023424&(nt<<=1))&&(nt=4194304)));var t=oy();null!==(e=lO(e,n))&&(ni(e,n,t),ow(e,t))}function oB(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),oj(e,t)}function oH(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(n),oj(e,t)}function oW(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 oQ(e,n,t,r){return new oW(e,n,t,r)}function oq(e){return!(!(e=e.prototype)||!e.isReactComponent)}function oK(e,n){var t=e.alternate;return null===t?((t=oQ(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function oY(e,n,t,r,l,a){var u=2;if(r=e,"function"==typeof e)oq(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case z:return oX(t.children,l,a,n);case T:u=8,l|=8;break;case L:return(e=oQ(12,t,n,2|l)).elementType=L,e.lanes=a,e;case O:return(e=oQ(13,t,n,l)).elementType=O,e.lanes=a,e;case D:return(e=oQ(19,t,n,l)).elementType=D,e.lanes=a,e;case V:return oG(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case R:u=10;break e;case M:u=9;break e;case F:u=11;break e;case I:u=14;break e;case U:u=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(n=oQ(u,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function oX(e,n,t,r){return(e=oQ(7,e,r,n)).lanes=t,e}function oG(e,n,t,r){return(e=oQ(22,e,r,n)).elementType=V,e.lanes=t,e.stateNode={isHidden:!1},e}function oZ(e,n,t){return(e=oQ(6,e,null,n)).lanes=t,e}function oJ(e,n,t){return(n=oQ(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function o0(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=no(0),this.expirationTimes=no(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=no(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function o1(e,n,t,r,l,a,u,o,i){return e=new o0(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=oQ(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},lI(a),e}function o2(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(f(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(rY(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(f(171))}if(1===e.tag){var t=e.type;if(rY(t))return rZ(e,t,n)}return n}function o3(e,n,t,r,l,a,u,o,i){return(e=o1(t,r,!0,e,l,a,u,o,i)).context=o2(null),t=e.current,(a=lV(r=oy(),l=ob(t))).callback=null!=n?n:null,l$(t,a,l),e.current.lanes=l,ni(e,l,r),ow(e,r),e}function o4(e,n,t,r){var l=n.current,a=oy(),u=ob(l);return t=o2(t),null===n.context?n.context=t:n.pendingContext=t,(n=lV(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=l$(l,n,u))&&(ok(e,l,u,a),lA(e,l,u)),u}function o8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function o5(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<n?t:n}}function o6(e,n){o5(e,n),(e=e.alternate)&&o5(e,n)}i=function(e,n,t){if(null!==e){if(e.memoizedProps!==n.pendingProps||rQ.current)ua=!0;else{if(0==(e.lanes&t)&&0==(128&n.flags))return ua=!1,function(e,n,t){switch(n.tag){case 3:uh(n),lb();break;case 5:an(n);break;case 1:rY(n.type)&&rJ(n);break;case 4:l7(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;rB(lx,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=n.memoizedState)){if(null!==r.dehydrated)return rB(ar,1&ar.current),n.flags|=128,null;if(0!=(t&n.child.childLanes))return ub(e,n,t);return rB(ar,1&ar.current),null!==(e=uC(e,n,t))?e.sibling:null}rB(ar,1&ar.current);break;case 19:if(r=0!=(t&n.childLanes),0!=(128&e.flags)){if(r)return uE(e,n,t);n.flags|=128}if(null!==(l=n.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),rB(ar,ar.current),!r)return null;break;case 22:case 23:return n.lanes=0,uc(e,n,t)}return uC(e,n,t)}(e,n,t);ua=0!=(131072&e.flags)}}else ua=!1,lc&&0!=(1048576&n.flags)&&la(n,r9,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;u_(e,n),e=n.pendingProps;var l=rK(n,rW.current);lT(n,t),l=ab(null,n,r,e,l,t);var a=ak();return n.flags|=1,"object"==typeof l&&null!==l&&"function"==typeof l.render&&void 0===l.$$typeof?(n.tag=1,n.memoizedState=null,n.updateQueue=null,rY(r)?(a=!0,rJ(n)):a=!1,n.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,lI(n),l.updater=lq,n.stateNode=l,l._reactInternals=n,lG(n,r,e,t),n=um(null,n,r,!0,a,t)):(n.tag=0,lc&&a&&lu(n),uu(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(u_(e,n),e=n.pendingProps,r=(l=r._init)(r._payload),n.type=r,l=n.tag=function(e){if("function"==typeof e)return oq(e)?1:0;if(null!=e){if((e=e.$$typeof)===F)return 11;if(e===I)return 14}return 2}(r),e=lS(r,e),l){case 0:n=ud(null,n,r,e,t);break e;case 1:n=up(null,n,r,e,t);break e;case 11:n=uo(null,n,r,e,t);break e;case 14:n=ui(null,n,r,lS(r.type,e),t);break e}throw Error(f(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:lS(r,l),ud(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:lS(r,l),up(e,n,r,l,t);case 3:e:{if(uh(n),null===e)throw Error(f(387));r=n.pendingProps,l=(a=n.memoizedState).element,lU(e,n),lB(n,r,null,t);var u=n.memoizedState;if(r=u.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=a,n.memoizedState=a,256&n.flags){l=a8(Error(f(423)),n),n=ug(e,n,r,t,l);break e}if(r!==l){l=a8(Error(f(424)),n),n=ug(e,n,r,t,l);break e}for(ls=rC(n.stateNode.containerInfo.firstChild),li=n,lc=!0,lf=null,t=l3(n,null,r,t),n.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(lb(),r===l){n=uC(e,n,t);break e}uu(e,n,r,t)}n=n.child}return n;case 5:return an(n),null===e&&lh(n),r=n.type,l=n.pendingProps,a=null!==e?e.memoizedProps:null,u=l.children,rb(r,l)?u=null:null!==a&&rb(r,a)&&(n.flags|=32),uf(e,n),uu(e,n,u,t),n.child;case 6:return null===e&&lh(n),null;case 13:return ub(e,n,t);case 4:return l7(n,n.stateNode.containerInfo),r=n.pendingProps,null===e?n.child=l2(n,null,r,t):uu(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:lS(r,l),uo(e,n,r,l,t);case 7:return uu(e,n,n.pendingProps,t),n.child;case 8:case 12:return uu(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,a=n.memoizedProps,u=l.value,rB(lx,r._currentValue),r._currentValue=u,null!==a){if(tD(a.value,u)){if(a.children===l.children&&!rQ.current){n=uC(e,n,t);break e}}else for(null!==(a=n.child)&&(a.return=n);null!==a;){var o=a.dependencies;if(null!==o){u=a.child;for(var i=o.firstContext;null!==i;){if(i.context===r){if(1===a.tag){(i=lV(-1,t&-t)).tag=2;var s=a.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?i.next=i:(i.next=c.next,c.next=i),s.pending=i}}a.lanes|=t,null!==(i=a.alternate)&&(i.lanes|=t),lz(a.return,t,n),o.lanes|=t;break}i=i.next}}else if(10===a.tag)u=a.type===n.type?null:a.child;else if(18===a.tag){if(null===(u=a.return))throw Error(f(341));u.lanes|=t,null!==(o=u.alternate)&&(o.lanes|=t),lz(u,t,n),u=a.sibling}else u=a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===n){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}}uu(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,lT(n,t),l=lL(l),r=r(l),n.flags|=1,uu(e,n,r,t),n.child;case 14:return l=lS(r=n.type,n.pendingProps),l=lS(r.type,l),ui(e,n,r,l,t);case 15:return us(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:lS(r,l),u_(e,n),n.tag=1,rY(r)?(e=!0,rJ(n)):e=!1,lT(n,t),lY(n,r,l),lG(n,r,l,t),um(null,n,r,!0,e,t);case 19:return uE(e,n,t);case 22:return uc(e,n,t)}throw Error(f(156,n.tag))};var o9="function"==typeof reportError?reportError:function(e){console.error(e)};function o7(e){this._internalRoot=e}function ie(e){this._internalRoot=e}function it(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function ir(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function il(){}function ia(e,n,t,r,l){var a=t._reactRootContainer;if(a){var u=a;if("function"==typeof l){var o=l;l=function(){var e=o8(u);o.call(e)}}o4(n,u,e,l)}else u=function(e,n,t,r,l){if(l){if("function"==typeof r){var a=r;r=function(){var e=o8(u);a.call(e)}}var u=o3(n,r,e,0,null,!1,!1,"",il);return e._reactRootContainer=u,e[rL]=u.current,ra(8===e.nodeType?e.parentNode:e),oN(),u}for(;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var o=r;r=function(){var e=o8(i);o.call(e)}}var i=o1(e,0,!1,null,null,!1,!1,"",il);return e._reactRootContainer=i,e[rL]=i.current,ra(8===e.nodeType?e.parentNode:e),oN(function(){o4(n,i,t,r)}),i}(t,n,e,l,r);return o8(u)}ie.prototype.render=o7.prototype.render=function(e){var n=this._internalRoot;if(null===n)throw Error(f(409));o4(e,n,null,null)},ie.prototype.unmount=o7.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var n=e.containerInfo;oN(function(){o4(null,e,null,null)}),n[rL]=null}},ie.prototype.unstable_scheduleHydration=function(e){if(e){var n=nh();e={blockedOn:null,target:e,priority:n};for(var t=0;t<nE.length&&0!==n&&n<nE[t].priority;t++);nE.splice(t,0,e),0===t&&nN(e)}},nd=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=nr(n.pendingLanes);0!==t&&(ns(n,1|t),ow(n,eJ()),0==(6&u2)&&(ou=eJ()+500,r4()))}break;case 13:oN(function(){var n=lO(e,1);null!==n&&ok(n,e,1,oy())}),o6(e,1)}},np=function(e){if(13===e.tag){var n=lO(e,134217728);null!==n&&ok(n,e,134217728,oy()),o6(e,134217728)}},nm=function(e){if(13===e.tag){var n=ob(e),t=lO(e,n);null!==t&&ok(t,e,n,oy()),o6(e,n)}},nh=function(){return nc},ng=function(e,n){var t=nc;try{return nc=e,n()}finally{nc=t}},e_=function(e,n,t){switch(n){case"input":if(en(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=rU(r);if(!l)throw Error(f(90));X(r),en(r,l)}}}break;case"textarea":ei(e,t);break;case"select":null!=(n=t.value)&&ea(e,!!t.multiple,n,!1)}},eL=oP,eR=oN;var iu={findFiberByHostInstance:rO,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},io={bundleType:iu.bundleType,version:iu.version,rendererPackageName:iu.rendererPackageName,rendererConfig:iu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=eK(e))?null:e.stateNode},findFiberByHostInstance:iu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ii.isDisabled&&ii.supportsFiber)try{e5=ii.inject(io),e6=ii}catch(e){}}n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={usingClientEntryPoint:!1,Events:[rD,rI,rU,ez,eT,oP]},n.createPortal=function(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!it(n))throw Error(f(200));return function(e,n,t){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:N,key:null==r?null:""+r,children:e,containerInfo:n,implementation:null}}(e,n,null,t)},n.createRoot=function(e,n){if(!it(e))throw Error(f(299));var t=!1,r="",l=o9;return null!=n&&(!0===n.unstable_strictMode&&(t=!0),void 0!==n.identifierPrefix&&(r=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),n=o1(e,1,!1,null,null,t,!1,r,l),e[rL]=n.current,ra(8===e.nodeType?e.parentNode:e),new o7(n)},n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternals;if(void 0===n){if("function"==typeof e.render)throw Error(f(188));throw Error(f(268,e=Object.keys(e).join(",")))}return e=null===(e=eK(n))?null:e.stateNode},n.flushSync=function(e){return oN(e)},n.hydrate=function(e,n,t){if(!ir(n))throw Error(f(200));return ia(null,e,n,!0,t)},n.hydrateRoot=function(e,n,t){if(!it(e))throw Error(f(405));var r=null!=t&&t.hydratedSources||null,l=!1,a="",u=o9;if(null!=t&&(!0===t.unstable_strictMode&&(l=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(u=t.onRecoverableError)),n=o3(n,null,e,1,null!=t?t:null,l,!1,a,u),e[rL]=n.current,ra(e),r)for(e=0;e<r.length;e++)l=(l=(t=r[e])._getVersion)(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new ie(n)},n.render=function(e,n,t){if(!ir(n))throw Error(f(200));return ia(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!ir(e))throw Error(f(40));return!!e._reactRootContainer&&(oN(function(){ia(null,null,e,!1,function(){e._reactRootContainer=null,e[rL]=null})}),!0)},n.unstable_batchedUpdates=oP,n.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ir(t))throw Error(f(200));if(null==e||void 0===e._reactInternals)throw Error(f(38));return ia(e,n,t,!1,r)},n.version="18.2.0-next-9e3b772b8-20220608"}
function(e,n,t){e.exports=t(82875)}
function(e,n,t){e.exports=t(95507)}
function(e,n,t){e.exports=t(99504)}
function(e,n,t){/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=t(70079),l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,t){var r,a={},s=null,c=null;for(r in void 0!==t&&(s=""+t),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(c=n.ref),n)u.call(n,r)&&!i.hasOwnProperty(r)&&(a[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===a[r]&&(a[r]=n[r]);return{$$typeof:l,type:e,key:s,ref:c,props:a,_owner:o.current}}n.Fragment=a,n.jsx=s,n.jsxs=s}
function(e,n){/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function t(e,n){var t=e.length;e.push(n);e:for(;0<t;){var r=t-1>>>1,l=e[r];if(0<a(l,n))e[r]=n,e[t]=l,t=r;else break e}}function r(e){return 0===e.length?null:e[0]}function l(e){if(0===e.length)return null;var n=e[0],t=e.pop();if(t!==n){e[0]=t;e:for(var r=0,l=e.length,u=l>>>1;r<u;){var o=2*(r+1)-1,i=e[o],s=o+1,c=e[s];if(0>a(i,t))s<l&&0>a(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else if(s<l&&0>a(c,t))e[r]=c,e[s]=t,r=s;else break e}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(C),C=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,C=-1,P=5,N=-1;function z(){return!(n.unstable_now()-N<P)}function T(){if(null!==_){var e=n.unstable_now();N=e;var t=!0;try{t=_(!0,e)}finally{t?u():(E=!1,_=null)}}else E=!1}if("function"==typeof k)u=function(){k(T)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,R=L.port2;L.port1.onmessage=T,u=function(){R.postMessage(null)}}else u=function(){y(T,0)};function M(e){_=e,E||(E=!0,u())}function F(e,t){C=y(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){g||h||(g=!0,M(x))},n.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"):P=0<e?Math.floor(1e3/e):5},n.unstable_getCurrentPriorityLevel=function(){return m},n.unstable_getFirstCallbackNode=function(){return r(c)},n.unstable_next=function(e){switch(m){case 1:case 2:case 3:var n=3;break;default:n=m}var t=m;m=n;try{return e()}finally{m=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=m;m=e;try{return n()}finally{m=t}},n.unstable_scheduleCallback=function(e,l,a){var u=n.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?u+a:u,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:d++,callback:l,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(C),C=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}}
function(e,n){/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function v(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||m}function y(){}function b(e,n,t){this.props=e,this.context=n,this.refs=g,this.updater=t||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,n){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var k=b.prototype=new y;k.constructor=b,h(k,v.prototype),k.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,n,r){var l,a={},u=null,o=null;if(null!=n)for(l in void 0!==n.ref&&(o=n.ref),void 0!==n.key&&(u=""+n.key),n)S.call(n,l)&&!E.hasOwnProperty(l)&&(a[l]=n[l]);var i=arguments.length-2;if(1===i)a.children=r;else if(1<i){for(var s=Array(i),c=0;c<i;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(l in i=e.defaultProps)void 0===a[l]&&(a[l]=i[l]);return{$$typeof:t,type:e,key:u,ref:o,props:a,_owner:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var P=/\/+/g;function N(e,n){var t,r;return"object"==typeof e&&null!==e&&null!=e.key?(t=""+e.key,r={"=":"=0",":":"=2"},"$"+t.replace(/[=:]/g,function(e){return r[e]})):n.toString(36)}function z(e,n,l){if(null==e)return e;var a=[],u=0;return!function e(n,l,a,u,o){var i,s,c,f=typeof n;("undefined"===f||"boolean"===f)&&(n=null);var d=!1;if(null===n)d=!0;else switch(f){case"string":case"number":d=!0;break;case"object":switch(n.$$typeof){case t:case r:d=!0}}if(d)return o=o(d=n),n=""===u?"."+N(d,0):u,w(o)?(a="",null!=n&&(a=n.replace(P,"$&/")+"/"),e(o,l,a,"",function(e){return e})):null!=o&&(C(o)&&(i=o,s=a+(!o.key||d&&d.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+n,o={$$typeof:t,type:i.type,key:s,ref:i.ref,props:i.props,_owner:i._owner}),l.push(o)),1;if(d=0,u=""===u?".":u+":",w(n))for(var m=0;m<n.length;m++){f=n[m];var h=u+N(f,m);d+=e(f,l,a,h,o)}else if("function"==typeof(h=null===(c=n)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(n=h.call(n),m=0;!(f=n.next()).done;)h=u+N(f=f.value,m++),d+=e(f,l,a,h,o);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(l=String(n))?"object with keys {"+Object.keys(n).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.");return d}(e,a,"","",function(e){return n.call(l,e,u++)}),a}function T(e){if(-1===e._status){var n=e._result;(n=n()).then(function(n){(0===e._status||-1===e._status)&&(e._status=1,e._result=n)},function(n){(0===e._status||-1===e._status)&&(e._status=2,e._result=n)}),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},R={transition:null};n.Children={map:z,forEach:function(e,n,t){z(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return z(e,function(){n++}),n},toArray:function(e){return z(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}},n.Component=v,n.Fragment=l,n.Profiler=u,n.PureComponent=b,n.StrictMode=a,n.Suspense=c,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:R,ReactCurrentOwner:x},n.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var l=h({},e.props),a=e.key,u=e.ref,o=e._owner;if(null!=n){if(void 0!==n.ref&&(u=n.ref,o=x.current),void 0!==n.key&&(a=""+n.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(s in n)S.call(n,s)&&!E.hasOwnProperty(s)&&(l[s]=void 0===n[s]&&void 0!==i?i[s]:n[s])}var s=arguments.length-2;if(1===s)l.children=r;else if(1<s){i=Array(s);for(var c=0;c<s;c++)i[c]=arguments[c+2];l.children=i}return{$$typeof:t,type:e.type,key:a,ref:u,props:l,_owner:o}},n.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},n.createElement=_,n.createFactory=function(e){var n=_.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:s,render:e}},n.isValidElement=C,n.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},n.memo=function(e,n){return{$$typeof:f,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=R.transition;R.transition={};try{e()}finally{R.transition=n}},n.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},n.useCallback=function(e,n){return L.current.useCallback(e,n)},n.useContext=function(e){return L.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return L.current.useDeferredValue(e)},n.useEffect=function(e,n){return L.current.useEffect(e,n)},n.useId=function(){return L.current.useId()},n.useImperativeHandle=function(e,n,t){return L.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return L.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return L.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return L.current.useMemo(e,n)},n.useReducer=function(e,n,t){return L.current.useReducer(e,n,t)},n.useRef=function(e){return L.current.useRef(e)},n.useState=function(e){return L.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return L.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return L.current.useTransition()},n.version="18.2.0"}
function(e,n,t){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(2920)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return a}});var n=r(70081),o=r(59820),a=function(e){if(!e.startsWith("/"))return e;var t=(0,o.parsePath)(e),r=t.pathname,a=t.query,i=t.hash;return""+(0,n.removeTrailingSlash)(r)+a+i};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});var n=r(70461);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(19649);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(function(){return(0,n.hydrate)()}).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return o}});var n=r(70461);function o(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;var r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}}
function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return a}});let n=r(31471);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function a(e){return o(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});var n=r(70081),o=r(73003),a=r(20366),i=r(77898);function u(e){var t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,a.addPathSuffix)((0,o.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,o.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,a.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return i},_create_super:function(){return i}});var n=r(39153),o=r(15781),a=r(20485);function i(e){var t=(0,o.R)();return function(){var r,o,i=(0,n.X)(e);if(t){var u=(0,n.X)(this).constructor;o=Reflect.construct(i,arguments,u)}else o=i.apply(this,arguments);return(r=o)&&("object"===(0,a._type_of)(r)||"function"==typeof r)?r:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)}}}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return a},default:function(){return i}});var r,n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){var t=e.type,r=e.props,o=document.createElement(t);for(var a in r)if(r.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a&&void 0!==r[a]){var i=n[a]||a.toLowerCase();"script"===t&&("async"===i||"defer"===i||"noModule"===i)?o[i]=!!r[a]:o.setAttribute(i,r[a])}var u=r.children,c=r.dangerouslySetInnerHTML;return c?o.innerHTML=c.__html||"":u&&(o.textContent="string"==typeof u?u:Array.isArray(u)?u.join(""):""),o}function a(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){var r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){var n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function i(){return{mountedInstances:new Set,updateHead:function(e){var t={};e.forEach(function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var r=t[e.type]||[];r.push(e),t[e.type]=r});var n=t.title?t.title[0]:null,o="";if(n){var a=n.props.children;o="string"==typeof a?a:Array.isArray(a)?a.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(function(e){r(e,t[e]||[])})}}}r=function(e,t){for(var r,n=document.getElementsByTagName("head")[0],i=n.querySelector("meta[name=next-head-count]"),u=Number(i.content),c=[],l=0,s=i.previousElementSibling;l<u;l++,s=(null==s?void 0:s.previousElementSibling)||null)(null==s?void 0:null==(r=s.tagName)?void 0:r.toLowerCase())===e&&c.push(s);var f=t.map(o).filter(function(e){for(var t=0,r=c.length;t<r;t++)if(a(c[t],e))return c.splice(t,1),!1;return!0});c.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),f.forEach(function(e){return n.insertBefore(e,i)}),i.content=(u-c.length+f.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39324),o=r(70216),a=r(22830),i=r(81949);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientScriptLoad:function(){return _},initScriptLoader:function(){return g},default:function(){return P}});var u=r(64838),c=r(15542),l=u._(r(99581)),s=c._(r(70079)),f=r(96819),d=r(12077),p=r(25216),h=new Map,v=new Set,m=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy"],y=function(e){var t=e.src,r=e.id,n=e.onLoad,o=void 0===n?function(){}:n,i=e.onReady,u=void 0===i?null:i,c=e.dangerouslySetInnerHTML,l=e.children,s=void 0===l?"":l,f=e.strategy,p=void 0===f?"afterInteractive":f,y=e.onError,_=r||t;if(!(_&&v.has(_))){if(h.has(t)){v.add(_),h.get(t).then(o,y);return}var g=function(){u&&u(),v.add(_)},b=document.createElement("script"),P=new Promise(function(e,t){b.addEventListener("load",function(t){e(),o&&o.call(this,t),g()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){y&&y(e)});c?(b.innerHTML=c.__html||"",g()):s?(b.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",g()):t&&(b.src=t,h.set(t,P));var w=!0,O=!1,j=void 0;try{for(var S,E=Object.entries(e)[Symbol.iterator]();!(w=(S=E.next()).done);w=!0){var x=a._(S.value,2),C=x[0],R=x[1];if(!(void 0===R||m.includes(C))){var M=d.DOMAttributeNames[C]||C.toLowerCase();b.setAttribute(M,R)}}}catch(e){O=!0,j=e}finally{try{w||null==E.return||E.return()}finally{if(O)throw j}}"worker"===p&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",p),document.body.appendChild(b)}};function _(e){var t=e.strategy;"lazyOnload"===(void 0===t?"afterInteractive":t)?window.addEventListener("load",function(){(0,p.requestIdleCallback)(function(){return y(e)})}):y(e)}function g(e){e.forEach(_),i._(document.querySelectorAll('[data-nscript="beforeInteractive"]')).concat(i._(document.querySelectorAll('[data-nscript="beforePageRender"]'))).forEach(function(e){var t=e.id||e.getAttribute("src");v.add(t)})}function b(e){var t=e.id,r=e.src,a=void 0===r?"":r,i=e.onLoad,u=e.onReady,c=void 0===u?null:u,d=e.strategy,h=void 0===d?"afterInteractive":d,m=e.onError,_=o._(e,["id","src","onLoad","onReady","strategy","onError"]),g=(0,s.useContext)(f.HeadManagerContext),b=g.updateScripts,P=g.scripts,w=g.getIsSsr,O=g.appDir,j=g.nonce,S=(0,s.useRef)(!1);(0,s.useEffect)(function(){var e=t||a;S.current||(c&&e&&v.has(e)&&c(),S.current=!0)},[c,t,a]);var E=(0,s.useRef)(!1);if((0,s.useEffect)(function(){!E.current&&("afterInteractive"===h?y(e):"lazyOnload"===h&&("complete"===document.readyState?(0,p.requestIdleCallback)(function(){return y(e)}):window.addEventListener("load",function(){(0,p.requestIdleCallback)(function(){return y(e)})})),E.current=!0)},[e,h]),("beforeInteractive"===h||"worker"===h)&&(b?(P[h]=(P[h]||[]).concat([n._({id:t,src:a,onLoad:void 0===i?function(){}:i,onReady:c,onError:m},_)]),b(P)):w&&w()?v.add(t||a):w&&!w()&&y(e)),O){if("beforeInteractive"===h)return a?(l.default.preload(a,_.integrity?{as:"script",integrity:_.integrity}:{as:"script"}),s.default.createElement("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([a])+")"}})):(_.dangerouslySetInnerHTML&&(_.children=_.dangerouslySetInnerHTML.__html,delete _.dangerouslySetInnerHTML),s.default.createElement("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,n._({},_)])+")"}}));"afterInteractive"===h&&a&&l.default.preload(a,_.integrity?{as:"script",integrity:_.integrity}:{as:"script"})}return null}Object.defineProperty(b,"__nextScript",{value:!0});var P=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return a},urlObjectKeys:function(){return i},formatWithValidation:function(){return u}});var n=r(15542)._(r(55636)),o=/https?|ftp|gopher|file/;function a(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(l+=":"+e.port)),c&&"object"==typeof c&&(c=String(n.urlQueryToSearchParams(c)));var s=e.search||c&&"?"+c||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==l?(l="//"+(l||""),i&&"/"!==i[0]&&(i="/"+i)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),s&&"?"!==s[0]&&(s="?"+s),""+a+l+(i=i.replace(/[?#]/g,encodeURIComponent))+(s=s.replace("#","%23"))+u}var i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}}
function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{F:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(15542)._(r(70079)),o=n.useLayoutEffect,a=n.useEffect;function i(e){var t=function(){if(r&&r.mountedInstances){var t=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(i(t,e))}},r=e.headManager,i=e.reduceComponentsToState;return o(function(){var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),function(){var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),o(function(){return r&&(r._pendingUpdate=t),function(){r&&(r._pendingUpdate=t)}}),a(function(){return r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),function(){r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)}}),null}}
function(e,t){"use strict";function r(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var u=a?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(o,i,u):o[i]=e[i]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:function(){return o},_interop_require_wildcard:function(){return o}})}
function(e,t,r){"use strict";function n(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}r.d(t,{R:function(){return n}})}
function(e,t){"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(22830);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return i}});var o=r(70079),a=r(99581),i=function(e){var t=e.children,r=e.type,i=n._((0,o.useState)(null),2),u=i[0],c=i[1];return(0,o.useEffect)(function(){var e=document.createElement(r);return document.body.appendChild(e),c(e),function(){document.body.removeChild(e)}},[r]),u?(0,a.createPortal)(t,u):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o,a,i,u,c,l,s,f,d,p,h=r(21722),v=r(51217),m=r(31819),y=r(69072),_=r(15542),g=r(39324),b=r(71209),P=r(22830),w=r(12051),O=r(48362);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return Y},router:function(){return n},emitter:function(){return $},initialize:function(){return et},hydrate:function(){return ey}});var j=r(64838);r(6212);var S=j._(r(70079)),E=j._(r(2226)),x=r(96819),C=j._(r(34685)),R=r(75739),M=r(64582),A=r(99633),L=r(55636),k=r(95203),T=r(70763),I=r(18143),N=j._(r(12077)),D=j._(r(25956)),B=j._(r(77093)),H=r(89903),q=r(76281),F=r(9263),U=r(96882),W=r(33666),z=r(1127),G=r(48269),V=r(88821),X=r(19839),K=j._(r(94315)),Y="13.3.4",$=(0,C.default)(),J=function(e){return[].slice.call(e)},Q=void 0,Z=!1;self.__next_require__=r;var ee=function(e){y._(r,e);var t=w._(r);function r(){return v._(this,r),t.apply(this,arguments)}return m._(r,[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),n.isSsr&&(o.isFallback||o.nextExport&&((0,A.isDynamicRoute)(n.pathname)||location.search||Z)||o.props&&o.props.__N_SSG&&(location.search||Z))&&n.replace(n.pathname+"?"+String((0,L.assign)((0,L.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),a,{_h:1,shallow:!o.isFallback&&!Z}).catch(function(e){if(!e.cancelled)throw e})}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=location.hash;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout(function(){return t.scrollIntoView()},0)}}},{key:"render",value:function(){return this.props.children}}]),r}(S.default.Component);function et(e){return er.apply(this,arguments)}function er(){return(er=h._(function(e){var t,l;return O._(this,function(s){return void 0===e&&(e={}),o=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=o,Q=o.defaultLocale,t=o.assetPrefix||"",r.p=""+t+"/_next/",(0,k.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:o.runtimeConfig||{}}),a=(0,T.getURL)(),(0,z.hasBasePath)(a)&&(a=(0,W.removeBasePath)(a)),o.scriptLoader&&(0,r(12325).initScriptLoader)(o.scriptLoader),i=new D.default(o.buildId,t),l=function(e){var t=P._(e,2),r=t[0],n=t[1];return i.routeLoader.onEntrypoint(r,n)},window.__NEXT_P&&window.__NEXT_P.map(function(e){return setTimeout(function(){return l(e)},0)}),window.__NEXT_P=[],window.__NEXT_P.push=l,(c=(0,N.default)()).getIsSsr=function(){return n.isSsr},u=document.getElementById("__next"),[2,{assetPrefix:t}]})})).apply(this,arguments)}function en(e,t){return S.default.createElement(e,t)}function eo(e){var t,r=e.children;return S.default.createElement(ee,{fn:function(e){return ei({App:f,err:e}).catch(function(e){return console.error("Error rendering page: ",e)})}},S.default.createElement(G.AppRouterContext.Provider,{value:(0,V.adaptForAppRouterInstance)(n)},S.default.createElement(X.SearchParamsContext.Provider,{value:(0,V.adaptForSearchParams)(n)},S.default.createElement(V.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},S.default.createElement(R.RouterContext.Provider,{value:(0,q.makePublicRouterInstance)(n)},S.default.createElement(x.HeadManagerContext.Provider,{value:c},S.default.createElement(U.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},r)))))))}var ea=function(e){return function(t){var r=b._(g._({},t),{Component:p,err:o.err,router:n});return S.default.createElement(eo,null,en(e,r))}};function ei(e){var t=e.App,u=e.err;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(function(n){var o=n.page,a=n.styleSheets;return(null==l?void 0:l.Component)===o?Promise.resolve().then(function(){return _._(r(38356))}).then(function(n){return Promise.resolve().then(function(){return _._(r(64714))}).then(function(r){return t=r.default,e.App=t,n})}).then(function(e){return{ErrorComponent:e.default,styleSheets:[]}}):{ErrorComponent:o,styleSheets:a}}).then(function(r){var i,c=r.ErrorComponent,l=r.styleSheets,s=ea(t),f={Component:c,AppTree:s,router:n,ctx:{err:u,pathname:o.page,query:o.query,asPath:a,AppTree:s}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,T.loadGetInitialProps)(t,f)).then(function(t){return eh(b._(g._({},e),{err:u,Component:c,styleSheets:l,props:t}))})})}function eu(e){var t=e.callback;return S.default.useLayoutEffect(function(){return t()},[t]),null}var ec=null,el=!0;function es(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(function(e){return performance.clearMarks(e)})}function ef(){T.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),d&&performance.getEntriesByName("Next.js-hydration").forEach(d),es())}function ed(){if(T.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),d&&(performance.getEntriesByName("Next.js-render").forEach(d),performance.getEntriesByName("Next.js-route-change-to-render").forEach(d)),es(),["Next.js-route-change-to-render","Next.js-render"].forEach(function(e){return performance.clearMeasures(e)}))}}function ep(e){var t=e.callbacks,r=e.children;return S.default.useLayoutEffect(function(){return t.forEach(function(e){return e()})},[t]),S.default.useEffect(function(){(0,B.default)(d)},[]),r}function eh(e){var t,r,o,a,i=e.App,c=e.Component,f=e.props,d=e.err,p="initial"in e?void 0:e.styleSheets;c=c||l.Component,f=f||l.props;var h=b._(g._({},f),{Component:c,err:d,router:n});l=h;var v=!1,m=new Promise(function(e,t){s&&s(),r=function(){s=null,e()},s=function(){v=!0,s=null;var e=Error("Cancel rendering route");e.cancelled=!0,t(e)}});!function(){if(p){var e=J(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(function(e){return e.getAttribute("data-n-href")})),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");p.forEach(function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}})}}();var y=S.default.createElement(S.default.Fragment,null,S.default.createElement(eu,{callback:function(){if(p&&!v){for(var t=new Set(p.map(function(e){return e.href})),r=J(document.querySelectorAll("style[data-n-href]")),n=r.map(function(e){return e.getAttribute("data-n-href")}),o=0;o<n.length;++o)t.has(n[o])?r[o].removeAttribute("media"):r[o].setAttribute("media","x");var a=document.querySelector("noscript[data-n-css]");a&&p.forEach(function(e){var t=e.href,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(a.parentNode.insertBefore(r,a.nextSibling),a=r)}),J(document.querySelectorAll("link[data-n-p]")).forEach(function(e){e.parentNode.removeChild(e)})}if(e.scroll){var i=e.scroll,u=i.x,c=i.y;(0,M.handleSmoothScroll)(function(){window.scrollTo(u,c)})}}}),S.default.createElement(eo,null,en(i,h),S.default.createElement(I.Portal,{type:"next-route-announcer"},S.default.createElement(H.RouteAnnouncer,null))));return o=u,T.ST&&performance.mark("beforeRender"),t=el?ef:ed,a=S.default.createElement(ep,{callbacks:[t,function(){r()}]},S.default.createElement(S.default.StrictMode,null,y)),ec?(0,S.default.startTransition)(function(){ec.render(a)}):(ec=E.default.hydrateRoot(o,a,{onRecoverableError:K.default}),el=!1),m}function ev(e){return em.apply(this,arguments)}function em(){return(em=h._(function(e){var t,r;return O._(this,function(n){switch(n.label){case 0:if(!e.err)return[3,2];return[4,ei(e)];case 1:return n.sent(),[2];case 2:return n.trys.push([2,4,,6]),[4,eh(e)];case 3:case 5:return n.sent(),[3,6];case 4:if(t=n.sent(),(r=(0,F.getProperError)(t)).cancelled)throw r;return[4,ei(b._(g._({},e),{err:r}))];case 6:return[2]}})})).apply(this,arguments)}function ey(e){return e_.apply(this,arguments)}function e_(){return(e_=h._(function(e){var t,r,u,c,l,s,h,v;return O._(this,function(m){switch(m.label){case 0:t=o.err,m.label=1;case 1:return m.trys.push([1,6,,7]),[4,i.routeLoader.whenEntrypoint("/_app")];case 2:if("error"in(r=m.sent()))throw r.error;return u=r.component,c=r.exports,f=u,c&&c.reportWebVitals&&(d=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,l=e.entries,s=e.attribution,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);l&&l.length&&(t=l[0].startTime);var d={id:r||f,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};s&&(d.attribution=s),c.reportWebVitals(d)}),[3,3];case 3:return[4,i.routeLoader.whenEntrypoint(o.page)];case 4:s=m.sent(),m.label=5;case 5:if("error"in(l=s))throw l.error;return p=l.component,[3,7];case 6:return h=m.sent(),t=(0,F.getProperError)(h),[3,7];case 7:if(!window.__NEXT_PRELOADREADY)return[3,9];return[4,window.__NEXT_PRELOADREADY(o.dynamicIds)];case 8:m.sent(),m.label=9;case 9:return[4,(n=(0,q.createRouter)(o.page,o.query,a,{initialProps:o.props,pageLoader:i,App:f,Component:p,wrapApp:ea,err:t,isFallback:!!o.isFallback,subscription:function(e,t,r){return ev(Object.assign({},e,{App:t,scroll:r}))},locale:o.locale,locales:o.locales,defaultLocale:Q,domainLocales:o.domainLocales,isPreview:o.isPreview}))._initialMatchesMiddlewarePromise];case 10:if(Z=m.sent(),v={App:f,initial:!0,Component:p,props:o.props,err:t},!(null==e?void 0:e.beforeRender))return[3,12];return[4,e.beforeRender()];case 11:m.sent(),m.label=12;case 12:return ev(v),[2]}})})).apply(this,arguments)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return o},PathnameContext:function(){return a}});var n=r(70079),o=(0,n.createContext)(null),a=(0,n.createContext)(null)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return o}});var n=r(59820);function o(e,t){if(!e.startsWith("/")||!t)return e;var r=(0,n.parsePath)(e);return""+r.pathname+t+r.query+r.hash}}
function(e,t,r){"use strict";function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}r.r(t),r.d(t,{_:function(){return n},_type_of:function(){return n}})}
function(e,t,r){"use strict";function n(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(e){r(e);return}u.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(o,a){var i=e.apply(t,r);function u(e){n(i,o,a,u,c,"next",e)}function c(e){n(i,o,a,u,c,"throw",e)}u(void 0)})}}r.r(t),r.d(t,{_:function(){return o},_async_to_generator:function(){return o}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return a}});var n=r(70763),o=r(55636);function a(e,t){var r=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,l=i.search,s=i.hash,f=i.href;if(i.origin!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:u,query:(0,o.searchParamsToUrlQuery)(c),search:l,hash:s,href:f.slice(r.origin.length)}}}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_sliced_to_array:function(){return o}});var n=r(59378);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,u=!1;try{for(o=o.call(e);!(i=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){u=!0,n=e}finally{try{i||null==o.return||o.return()}finally{if(u)throw n}}return a}}(e,t)||(0,n.N)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(21722),o=r(51217),a=r(31819),i=r(39324),u=r(71209),c=r(22830),l=r(48362);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return er},matchesMiddleware:function(){return W},createKey:function(){return Z}});var s=r(64838),f=r(15542),d=r(70081),p=r(81496),h=r(12325),v=f._(r(9263)),m=r(74134),y=r(90881),_=s._(r(34685)),g=r(70763),b=r(99633),P=r(21905),w=s._(r(72796)),O=r(33215),j=r(48632),S=r(12605);r(51770);var E=r(59820),x=r(87061),C=r(49842),R=r(33666),M=r(50664),A=r(1127),L=r(33952),k=r(29472),T=r(10350),I=r(35100),N=r(52262),D=r(1633),B=r(15392),H=r(91773),q=r(81331),F=r(64582);function U(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}function W(e){return z.apply(this,arguments)}function z(){return(z=n._(function(e){var t,r,n,o;return l._(this,function(a){switch(a.label){case 0:return[4,Promise.resolve(e.router.pageLoader.getMiddleware())];case 1:if(!(t=a.sent()))return[2,!1];return r=(0,E.parsePath)(e.asPath).pathname,n=(0,A.hasBasePath)(r)?(0,R.removeBasePath)(r):r,o=(0,M.addBasePath)((0,x.addLocale)(n,e.locale)),[2,t.some(function(e){return new RegExp(e.regexp).test(o)})]}})})).apply(this,arguments)}function G(e){var t=(0,g.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function V(e,t,r){var n=c._((0,H.resolveHref)(e,t,!0),2),o=n[0],a=n[1],i=(0,g.getLocationOrigin)(),u=o.startsWith(i),l=a&&a.startsWith(i);o=G(o),a=a?G(a):a;var s=u?o:(0,M.addBasePath)(o),f=r?G((0,H.resolveHref)(e,r)):a||o;return{url:s,as:l?f:(0,M.addBasePath)(f)}}function X(e,t){var r=(0,d.removeTrailingSlash)((0,m.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(function(t){if((0,b.isDynamicRoute)(t)&&(0,j.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,d.removeTrailingSlash)(e))}function K(e){return Y.apply(this,arguments)}function Y(){return(Y=n._(function(e){var t,r;return l._(this,function(n){switch(n.label){case 0:return[4,W(e)];case 1:if(!n.sent()||!e.fetchData)return[2,null];n.label=2;case 2:return n.trys.push([2,5,,6]),[4,e.fetchData()];case 3:return[4,function(e,t,r){var n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},o=t.headers.get("x-nextjs-rewrite"),a=o||t.headers.get("x-nextjs-matched-path"),l=t.headers.get("x-matched-path");if(!l||a||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(a=l),a){if(a.startsWith("/")){var s=(0,P.parseRelativeUrl)(a),f=(0,k.getNextPathnameInfo)(s.pathname,{nextConfig:n,parseData:!0}),h=(0,d.removeTrailingSlash)(f.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,p.getClientBuildManifest)()]).then(function(t){var n=c._(t,2),a=n[0];n[1].__rewrites;var i=(0,x.addLocale)(f.pathname,f.locale);if((0,b.isDynamicRoute)(i)||!o&&a.includes((0,y.normalizeLocalePath)((0,R.removeBasePath)(i),r.router.locales).pathname)){var u=(0,k.getNextPathnameInfo)((0,P.parseRelativeUrl)(e).pathname,{parseData:!0});i=(0,M.addBasePath)(u.pathname),s.pathname=i}if(!a.includes(h)){var l=X(h,a);l!==h&&(h=l)}var d=a.includes(h)?h:X((0,y.normalizeLocalePath)((0,R.removeBasePath)(s.pathname),r.router.locales).pathname,a);if((0,b.isDynamicRoute)(d)){var p=(0,O.getRouteMatcher)((0,j.getRouteRegex)(d))(i);Object.assign(s.query,p||{})}return{type:"rewrite",parsedAs:s,resolvedHref:d}})}var v=(0,E.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,T.formatNextPathnameInfo)(u._(i._({},(0,k.getNextPathnameInfo)(v.pathname,{nextConfig:n,parseData:!0})),{defaultLocale:r.router.defaultLocale,buildId:""}))+v.query+v.hash})}var m=t.headers.get("x-nextjs-redirect");if(m){if(m.startsWith("/")){var _=(0,E.parsePath)(m),g=(0,T.formatNextPathnameInfo)(u._(i._({},(0,k.getNextPathnameInfo)(_.pathname,{nextConfig:n,parseData:!0})),{defaultLocale:r.router.defaultLocale,buildId:""}));return Promise.resolve({type:"redirect-internal",newAs:""+g+_.query+_.hash,newUrl:""+g+_.query+_.hash})}return Promise.resolve({type:"redirect-external",destination:m})}return Promise.resolve({type:"next"})}((t=n.sent()).dataHref,t.response,e)];case 4:return r=n.sent(),[2,{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}];case 5:return n.sent(),[2,null];case 6:return[2]}})})).apply(this,arguments)}var $=Symbol("SSG_DATA_NOT_FOUND");function J(e){try{return JSON.parse(e)}catch(e){return null}}function Q(e){var t,r=e.dataHref,n=e.inflightCache,o=e.isPrefetch,a=e.hasMiddleware,i=e.isServerRender,u=e.parseJSON,c=e.persistCache,l=e.isBackground,s=e.unstable_skipClientCache,f=new URL(r,window.location.href).href,d=function(e){return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(function(o){return!o.ok&&r>1&&o.status>=500?e(t,r-1,n):o})})(r,i?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&a?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(function(t){return t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:f}:t.text().then(function(e){if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:f};if(404===t.status){var n;if(null==(n=J(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:$},response:t,text:e,cacheKey:f}}var o=Error("Failed to load static props");throw i||(0,p.markAssetError)(o),o}return{dataHref:r,json:u?J(e):null,response:t,text:e,cacheKey:f}})}).then(function(e){return c&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[f],e}).catch(function(e){throw s||delete n[f],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,p.markAssetError)(e),e})};return s&&c?d({}).then(function(e){return n[f]=Promise.resolve(e),e}):void 0!==n[f]?n[f]:n[f]=d(l?{method:"HEAD"}:{})}function Z(){return Math.random().toString(36).slice(2,10)}function ee(e){var t=e.url,r=e.router;if(t===(0,M.addBasePath)((0,x.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}var et=function(e){var t=e.route,r=e.router,n=!1,o=r.clc=function(){n=!0};return function(){if(n){var e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}o===r.clc&&(r.clc=null)}},er=function(){function e(t,r,n,a){var i=a.initialProps,u=a.pageLoader,c=a.App,l=a.wrapApp,s=a.Component,f=a.err,p=a.subscription,h=a.isFallback,v=a.locale,m=(a.locales,a.defaultLocale,a.domainLocales,a.isPreview),y=this;o._(this,e),this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Z(),this.onPopState=function(e){var t,r=y.isFirstPopStateEvent;y.isFirstPopStateEvent=!1;var n=e.state;if(!n){var o=y.pathname,a=y.query;y.changeState("replaceState",(0,S.formatWithValidation)({pathname:(0,M.addBasePath)(o),query:a}),(0,g.getURL)());return}if(n.__NA){window.location.reload();return}if(n.__N&&(!r||y.locale!==n.options.locale||n.as!==y.asPath)){var i=n.url,u=n.as,c=n.options,l=n.key;y._key=l;var s=(0,P.parseRelativeUrl)(i).pathname;(!y.isSsr||u!==(0,M.addBasePath)(y.asPath)||s!==(0,M.addBasePath)(y.pathname))&&(!y._bps||y._bps(n))&&y.change("replaceState",i,u,Object.assign({},c,{shallow:c.shallow&&y._shallow,locale:c.locale||y.defaultLocale,_h:0}),t)}};var _=(0,d.removeTrailingSlash)(t);this.components={},"/_error"!==t&&(this.components[_]={Component:s,initial:!0,props:i,err:f,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP}),this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u;var w=(0,b.isDynamicRoute)(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=p,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.state={route:_,pathname:t,query:r,asPath:w?t:n,isPreview:!!m,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){var O={locale:v},j=(0,g.getURL)();this._initialMatchesMiddlewarePromise=W({router:this,locale:v,asPath:j}).then(function(e){return O._shouldResolveHref=n!==t,y.changeState("replaceState",e?j:(0,S.formatWithValidation)({pathname:(0,M.addBasePath)(t),query:r}),j,O),e})}window.addEventListener("popstate",this.onPopState)}return a._(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"forward",value:function(){window.history.forward()}},{key:"push",value:function(e,t,r){var n;return void 0===r&&(r={}),e=(n=V(this,e,t)).url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t,r){var n;return void 0===r&&(r={}),e=(n=V(this,e,t)).url,t=n.as,this.change("replaceState",e,t,r)}},{key:"_bfl",value:function(e,t,r,o){return n._(function(){return l._(this,function(e){return[2,!1]})})()}},{key:"change",value:function(t,r,o,a,s){var f=this;return n._(function(){var n,m,y,_,w,L,k,T,D,H,F,z,G,K,Y,J,Q,Z,et,er,en,eo,ea,ei,eu,ec,el,es,ef,ed,ep,eh,ev,em,ey,e_,eg,eb,eP,ew,eO,ej,eS,eE,ex,eC,eR,eM,eA,eL,ek,eT,eI,eN,eD,eB,eH,eq,eF,eU,eW,ez,eG;return l._(this,function(l){switch(l.label){case 0:if(!(0,N.isLocalURL)(r))return ee({url:r,router:f}),[2,!1];if(!(!(m=1===a._h)&&!a.shallow))return[3,2];return[4,f._bfl(o,void 0,a.locale)];case 1:l.sent(),l.label=2;case 2:if(y=m||a._shouldResolveHref||(0,E.parsePath)(r).pathname===(0,E.parsePath)(o).pathname,_=i._({},f.state),w=!0!==f.isReady,f.isReady=!0,L=f.isSsr,m||(f.isSsr=!1),m&&f.clc)return[2,!1];if(k=_.locale,g.ST&&performance.mark("routeChange"),D=void 0!==(T=a.shallow)&&T,F=void 0===(H=a.scroll)||H,z={shallow:D},f._inFlightRoute&&f.clc&&(L||e.events.emit("routeChangeError",U(),f._inFlightRoute,z),f.clc(),f.clc=null),o=(0,M.addBasePath)((0,x.addLocale)((0,A.hasBasePath)(o)?(0,R.removeBasePath)(o):o,a.locale,f.defaultLocale)),G=(0,C.removeLocale)((0,A.hasBasePath)(o)?(0,R.removeBasePath)(o):o,_.locale),f._inFlightRoute=o,K=k!==_.locale,!(!m&&f.onlyAHashChange(G)&&!K))return[3,7];_.asPath=G,e.events.emit("hashChangeStart",o,z),f.changeState(t,r,o,u._(i._({},a),{scroll:!1})),F&&f.scrollToHash(G),l.label=3;case 3:return l.trys.push([3,5,,6]),[4,f.set(_,f.components[_.route],null)];case 4:return l.sent(),[3,6];case 5:throw Y=l.sent(),(0,v.default)(Y)&&Y.cancelled&&e.events.emit("routeChangeError",Y,G,z),Y;case 6:return e.events.emit("hashChangeComplete",o,z),[2,!0];case 7:if(Q=(J=(0,P.parseRelativeUrl)(r)).pathname,Z=J.query,null==(n=f.components[Q])?void 0:n.__appRouter)return ee({url:o,router:f}),[2,new Promise(function(){})];l.label=8;case 8:return l.trys.push([8,10,,11]),[4,Promise.all([f.pageLoader.getPageList(),(0,p.getClientBuildManifest)(),f.pageLoader.getMiddleware()])];case 9:return et=(er=c._.apply(void 0,[l.sent(),2]))[0],er[1].__rewrites,[3,11];case 10:return l.sent(),ee({url:o,router:f}),[2,!1];case 11:if(f.urlIsNew(G)||K||(t="replaceState"),en=o,Q=Q?(0,d.removeTrailingSlash)((0,R.removeBasePath)(Q)):Q,eo=(0,d.removeTrailingSlash)(Q),ei=!!((ea=o.startsWith("/")&&(0,P.parseRelativeUrl)(o).pathname)&&eo!==ea&&(!(0,b.isDynamicRoute)(eo)||!(0,O.getRouteMatcher)((0,j.getRouteRegex)(eo))(ea))),!(ec=!a.shallow))return[3,13];return[4,W({asPath:o,locale:_.locale,router:f})];case 12:ec=l.sent(),l.label=13;case 13:if(eu=ec,m&&eu&&(y=!1),y&&"/_error"!==Q&&(a._shouldResolveHref=!0,J.pathname=X(Q,et),J.pathname===Q||(Q=J.pathname,J.pathname=(0,M.addBasePath)(Q),eu||(r=(0,S.formatWithValidation)(J)))),!(0,N.isLocalURL)(o))return ee({url:o,router:f}),[2,!1];if(en=(0,C.removeLocale)((0,R.removeBasePath)(en),_.locale),eo=(0,d.removeTrailingSlash)(Q),el=!1,(0,b.isDynamicRoute)(eo)){if(ef=(es=(0,P.parseRelativeUrl)(en)).pathname,ed=(0,j.getRouteRegex)(eo),el=(0,O.getRouteMatcher)(ed)(ef),eh=(ep=eo===ef)?(0,q.interpolateAs)(eo,ef,Z):{},el&&(!ep||eh.result))ep?o=(0,S.formatWithValidation)(Object.assign({},es,{pathname:eh.result,query:(0,B.omit)(Z,eh.params)})):Object.assign(Z,el);else if((ev=Object.keys(ed.groups).filter(function(e){return!Z[e]&&!ed.groups[e].optional})).length>0&&!eu)throw Error((ep?"The provided `href` ("+r+") value is missing query values ("+ev.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+ef+") is incompatible with the `href` value ("+eo+"). ")+"Read more: https://nextjs.org/docs/messages/"+(ep?"href-interpolation-failed":"incompatible-href-as"))}m||e.events.emit("routeChangeStart",o,z),em="/404"===f.pathname||"/_error"===f.pathname,l.label=14;case 14:return l.trys.push([14,35,,36]),[4,f.getRouteInfo({route:eo,pathname:Q,query:Z,as:o,resolvedAs:en,routeProps:z,locale:_.locale,isPreview:_.isPreview,hasMiddleware:eu,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:m&&!f.isFallback,isMiddlewareRewrite:ei})];case 15:if(eb=l.sent(),!(!m&&!a.shallow))return[3,17];return[4,f._bfl(o,"resolvedAs"in eb?eb.resolvedAs:void 0,_.locale)];case 16:l.sent(),l.label=17;case 17:if("route"in eb&&eu&&(eo=Q=eb.route||eo,z.shallow||(Z=Object.assign({},eb.query||{},Z)),eP=(0,A.hasBasePath)(J.pathname)?(0,R.removeBasePath)(J.pathname):J.pathname,el&&Q!==eP&&Object.keys(el).forEach(function(e){el&&Z[e]===el[e]&&delete Z[e]}),(0,b.isDynamicRoute)(Q))&&(ew=!z.shallow&&eb.resolvedAs?eb.resolvedAs:(0,M.addBasePath)((0,x.addLocale)(new URL(o,location.href).pathname,_.locale),!0),(0,A.hasBasePath)(ew)&&(ew=(0,R.removeBasePath)(ew)),eO=(0,j.getRouteRegex)(Q),(ej=(0,O.getRouteMatcher)(eO)(new URL(ew,location.href).pathname))&&Object.assign(Z,ej)),"type"in eb){if("redirect-internal"===eb.type)return[2,f.change(t,eb.newUrl,eb.newAs,a)];return ee({url:eb.destination,router:f}),[2,new Promise(function(){})]}if((eS=eb.Component)&&eS.unstable_scriptLoader&&[].concat(eS.unstable_scriptLoader()).forEach(function(e){(0,h.handleClientScriptLoad)(e.props)}),!((eb.__N_SSG||eb.__N_SSP)&&eb.props))return[3,23];if(eb.props.pageProps&&eb.props.pageProps.__N_REDIRECT){if(a.locale=!1,(eE=eb.props.pageProps.__N_REDIRECT).startsWith("/")&&!1!==eb.props.pageProps.__N_REDIRECT_BASE_PATH)return(ex=(0,P.parseRelativeUrl)(eE)).pathname=X(ex.pathname,et),eR=(eC=V(f,eE,eE)).url,eM=eC.as,[2,f.change(t,eR,eM,a)];return ee({url:eE,router:f}),[2,new Promise(function(){})]}if(_.isPreview=!!eb.props.__N_PREVIEW,eb.props.notFound!==$)return[3,23];l.label=18;case 18:return l.trys.push([18,20,,21]),[4,f.fetchComponent("/404")];case 19:return l.sent(),eA="/404",[3,21];case 20:return l.sent(),eA="/_error",[3,21];case 21:return[4,f.getRouteInfo({route:eA,pathname:eA,query:Z,as:o,resolvedAs:en,routeProps:{shallow:!1},locale:_.locale,isPreview:_.isPreview,isNotFound:!0})];case 22:if("type"in(eb=l.sent()))throw Error("Unexpected middleware effect on /404");l.label=23;case 23:if(m&&"/_error"===f.pathname&&(null==(ey=self.__NEXT_DATA__.props)?void 0:null==(e_=ey.pageProps)?void 0:e_.statusCode)===500&&(null==(eg=eb.props)?void 0:eg.pageProps)&&(eb.props.pageProps.statusCode=500),ek=a.shallow&&_.route===(null!=(eL=eb.route)?eL:eo),eN=(eI=null!=(eT=a.scroll)?eT:!m&&!ek)?{x:0,y:0}:null,eD=null!=s?s:eN,eB=u._(i._({},_),{route:eo,pathname:Q,query:Z,asPath:G,isFallback:!1}),!(m&&em))return[3,29];return[4,f.getRouteInfo({route:f.pathname,pathname:f.pathname,query:Z,as:o,resolvedAs:en,routeProps:{shallow:!1},locale:_.locale,isPreview:_.isPreview,isQueryUpdating:m&&!f.isFallback})];case 24:if("type"in(eb=l.sent()))throw Error("Unexpected middleware effect on "+f.pathname);"/_error"===f.pathname&&(null==(eH=self.__NEXT_DATA__.props)?void 0:null==(eq=eH.pageProps)?void 0:eq.statusCode)===500&&(null==(eF=eb.props)?void 0:eF.pageProps)&&(eb.props.pageProps.statusCode=500),l.label=25;case 25:return l.trys.push([25,27,,28]),[4,f.set(eB,eb,eD)];case 26:return l.sent(),[3,28];case 27:throw eU=l.sent(),(0,v.default)(eU)&&eU.cancelled&&e.events.emit("routeChangeError",eU,G,z),eU;case 28:return[2,!0];case 29:if(e.events.emit("beforeHistoryChange",o,z),f.changeState(t,r,o,a),m&&!eD&&!w&&!K&&(0,I.compareRouterStates)(eB,f.state))return[3,34];l.label=30;case 30:return l.trys.push([30,32,,33]),[4,f.set(eB,eb,eD)];case 31:return l.sent(),[3,33];case 32:if((eW=l.sent()).cancelled)eb.error=eb.error||eW;else throw eW;return[3,33];case 33:if(eb.error)throw m||e.events.emit("routeChangeError",eb.error,G,z),eb.error;m||e.events.emit("routeChangeComplete",o,z),ez=/#.+$/,eI&&ez.test(o)&&f.scrollToHash(o),l.label=34;case 34:return[2,!0];case 35:if(eG=l.sent(),(0,v.default)(eG)&&eG.cancelled)return[2,!1];throw eG;case 36:return[2]}})})()}},{key:"changeState",value:function(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,g.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Z()},"",r))}},{key:"handleRouteInfoError",value:function(t,r,o,a,i,u){var c=this;return n._(function(){var n,s,f,d,h;return l._(this,function(l){switch(l.label){case 0:if(console.error(t),t.cancelled)throw t;if((0,p.isAssetError)(t)||u)throw e.events.emit("routeChangeError",t,a,i),ee({url:a,router:c}),U();l.label=1;case 1:return l.trys.push([1,7,,8]),[4,c.fetchComponent("/_error")];case 2:if((d={props:n,Component:f=(s=l.sent()).page,styleSheets:s.styleSheets,err:t,error:t}).props)return[3,6];l.label=3;case 3:return l.trys.push([3,5,,6]),[4,c.getInitialProps(f,{err:t,pathname:r,query:o})];case 4:return d.props=l.sent(),[3,6];case 5:return console.error("Error in error page `getInitialProps`: ",l.sent()),d.props={},[3,6];case 6:return[2,d];case 7:return h=l.sent(),[2,c.handleRouteInfoError((0,v.default)(h)?h:Error(h+""),r,o,a,i,!0)];case 8:return[2]}})})()}},{key:"getRouteInfo",value:function(e){var t=this;return n._(function(){var r,o,a,c,s,f,p,h,m,_,g,b,P,w,O,j,E,x,C,M,A,k,T,I,N,D,B,H,q,F,U,W,z,G,V;return l._(this,function(X){switch(X.label){case 0:r=e.route,o=e.pathname,a=e.query,c=e.as,s=e.resolvedAs,f=e.routeProps,p=e.locale,h=e.hasMiddleware,m=e.isPreview,_=e.unstable_skipClientCache,g=e.isQueryUpdating,b=e.isMiddlewareRewrite,P=e.isNotFound,w=r,X.label=1;case 1:if(X.trys.push([1,10,,11]),C=et({route:w,router:t}),M=t.components[w],f.shallow&&M&&t.route===w)return[2,M];if(h&&(M=void 0),A=!M||"initial"in M?void 0:M,k=g,T={dataHref:t.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:o,query:a}),skipInterpolation:!0,asPath:P?"/404":s,locale:p}),hasMiddleware:!0,isServerRender:t.isSsr,parseJSON:!0,inflightCache:k?t.sbc:t.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:_,isBackground:k},!(g&&!b))return[3,2];return N=null,[3,4];case 2:return[4,K({fetchData:function(){return Q(T)},asPath:P?"/404":s,locale:p,router:t}).catch(function(e){if(g)return null;throw e})];case 3:N=X.sent(),X.label=4;case 4:if((I=N)&&("/_error"===o||"/404"===o)&&(I.effect=void 0),g&&(I?I.json=self.__NEXT_DATA__.props:I={json:self.__NEXT_DATA__.props}),C(),(null==I?void 0:null==(O=I.effect)?void 0:O.type)==="redirect-internal"||(null==I?void 0:null==(j=I.effect)?void 0:j.type)==="redirect-external")return[2,I.effect];if((null==I?void 0:null==(E=I.effect)?void 0:E.type)!=="rewrite")return[3,6];return D=(0,d.removeTrailingSlash)(I.effect.resolvedHref),[4,t.pageLoader.getPageList()];case 5:if(B=X.sent(),(!g||B.includes(D))&&(w=D,o=I.effect.resolvedHref,a=i._({},a,I.effect.parsedAs.query),s=(0,R.removeBasePath)((0,y.normalizeLocalePath)(I.effect.parsedAs.pathname,t.locales).pathname),M=t.components[w],f.shallow&&M&&t.route===w&&!h))return[2,u._(i._({},M),{route:w})];X.label=6;case 6:if((0,L.isAPIRoute)(w))return ee({url:c,router:t}),[2,new Promise(function(){})];if(q=A)return[3,8];return[4,t.fetchComponent(w).then(function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP}})];case 7:q=X.sent(),X.label=8;case 8:return H=q,F=null==I?void 0:null==(x=I.response)?void 0:x.headers.get("x-middleware-skip"),U=H.__N_SSG||H.__N_SSP,F&&(null==I?void 0:I.dataHref)&&delete t.sdc[I.dataHref],[4,t._getData(n._(function(){var e,r;return l._(this,function(n){switch(n.label){case 0:if(!U)return[3,2];if((null==I?void 0:I.json)&&!F)return[2,{cacheKey:I.cacheKey,props:I.json}];return[4,Q({dataHref:(null==I?void 0:I.dataHref)?I.dataHref:t.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:o,query:a}),asPath:s,locale:p}),isServerRender:t.isSsr,parseJSON:!0,inflightCache:F?{}:t.sdc,persistCache:!m,isPrefetch:!1,unstable_skipClientCache:_})];case 1:return[2,{cacheKey:(e=n.sent()).cacheKey,props:e.json||{}}];case 2:return r={headers:{}},[4,t.getInitialProps(H.Component,{pathname:o,query:a,asPath:c,locale:p,locales:t.locales,defaultLocale:t.defaultLocale})];case 3:return[2,(r.props=n.sent(),r)]}})}))];case 9:return z=(W=X.sent()).props,G=W.cacheKey,H.__N_SSP&&T.dataHref&&G&&delete t.sdc[G],t.isPreview||!H.__N_SSG||g||Q(Object.assign({},T,{isBackground:!0,persistCache:!1,inflightCache:t.sbc})).catch(function(){}),z.pageProps=Object.assign({},z.pageProps),H.props=z,H.route=w,H.query=a,H.resolvedAs=s,t.components[w]=H,[2,H];case 10:return V=X.sent(),[2,t.handleRouteInfoError((0,v.getProperError)(V),o,a,c,f)];case 11:return[2]}})})()}},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=c._(this.asPath.split("#"),2),r=t[0],n=t[1],o=c._(e.split("#"),2),a=o[0],i=o[1];return!!i&&r===a&&n===i||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=c._(e.split("#"),2)[1],r=void 0===t?"":t;if(""===r||"top"===r){(0,F.handleSmoothScroll)(function(){return window.scrollTo(0,0)});return}var n=decodeURIComponent(r),o=document.getElementById(n);if(o){(0,F.handleSmoothScroll)(function(){return o.scrollIntoView()});return}var a=document.getElementsByName(n)[0];a&&(0,F.handleSmoothScroll)(function(){return a.scrollIntoView()})}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var o=this;return n._(function(){var n,a,u,c,s,f,p,h,v,m,y,_,g,A;return l._(this,function(l){switch(l.label){case 0:if(void 0===t&&(t=e),void 0===r&&(r={}),(0,D.isBot)(window.navigator.userAgent))return[2];return a=(n=(0,P.parseRelativeUrl)(e)).pathname,u=n.pathname,c=n.query,s=u,[4,o.pageLoader.getPageList()];case 1:return f=l.sent(),p=t,[4,W({asPath:t,locale:h=void 0!==r.locale?r.locale||void 0:o.locale,router:o})];case 2:return v=l.sent(),[3,4];case 3:if(m=l.sent().__rewrites,(y=(0,w.default)((0,M.addBasePath)((0,x.addLocale)(t,o.locale),!0),f,m,n.query,function(e){return X(e,f)},o.locales)).externalDest)return[2];v||(p=(0,C.removeLocale)((0,R.removeBasePath)(y.asPath),o.locale)),y.matchedPage&&y.resolvedHref&&(u=y.resolvedHref,n.pathname=u,v||(e=(0,S.formatWithValidation)(n))),l.label=4;case 4:return n.pathname=X(n.pathname,f),(0,b.isDynamicRoute)(n.pathname)&&(u=n.pathname,n.pathname=u,Object.assign(c,(0,O.getRouteMatcher)((0,j.getRouteRegex)(n.pathname))((0,E.parsePath)(t).pathname)||{}),v||(e=(0,S.formatWithValidation)(n))),[3,5];case 5:return[4,K({fetchData:function(){return Q({dataHref:o.pageLoader.getDataHref({href:(0,S.formatWithValidation)({pathname:s,query:c}),skipInterpolation:!0,asPath:p,locale:h}),hasMiddleware:!0,isServerRender:o.isSsr,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0})},asPath:t,locale:h,router:o})];case 6:g=l.sent(),l.label=7;case 7:if((null==(_=g)?void 0:_.effect.type)==="rewrite"&&(n.pathname=_.effect.resolvedHref,u=_.effect.resolvedHref,c=i._({},c,_.effect.parsedAs.query),p=_.effect.parsedAs.pathname,e=(0,S.formatWithValidation)(n)),(null==_?void 0:_.effect.type)==="redirect-external")return[2];return A=(0,d.removeTrailingSlash)(u),[4,o._bfl(t,p,r.locale,!0)];case 8:return l.sent()&&(o.components[a]={__appRouter:!0}),[4,Promise.all([o.pageLoader._isSsg(A).then(function(t){return!!t&&Q({dataHref:(null==_?void 0:_.json)?null==_?void 0:_.dataHref:o.pageLoader.getDataHref({href:e,asPath:p,locale:h}),isServerRender:!1,parseJSON:!0,inflightCache:o.sdc,persistCache:!o.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(function(){return!1}).catch(function(){return!1})}),o.pageLoader[r.priority?"loadPage":"prefetch"](A)])];case 9:return l.sent(),[2]}})})()}},{key:"fetchComponent",value:function(e){var t=this;return n._(function(){var r,n,o;return l._(this,function(a){switch(a.label){case 0:r=et({route:e,router:t}),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,t.pageLoader.loadPage(e)];case 2:return n=a.sent(),r(),[2,n];case 3:throw o=a.sent(),r(),o;case 4:return[2]}})})()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then(function(e){if(n===t.clc&&(t.clc=null),r){var o=Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e})}},{key:"_getFlightData",value:function(e){return Q({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(function(e){return{data:e.text}})}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,(0,g.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();er.events=(0,_.default)()}
function(e){var t,r,n,o,a,i,u,c,l,s,f,d,p,h,v,m,y,_,g,b,P,w,O,j,S,E,x,C,R,M,A,L,k,T,I,N,D,B,H,q,F,U,W,z,G,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return O},getFCP:function(){return b},getFID:function(){return M},getINP:function(){return U},getLCP:function(){return z},getTTFB:function(){return V},onCLS:function(){return O},onFCP:function(){return b},onFID:function(){return M},onINP:function(){return U},onLCP:function(){return z},onTTFB:function(){return V}}),c=-1,l=function(e){addEventListener("pageshow",function(t){t.persisted&&(c=t.timeStamp,e(t))},!0)},s=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=s();return e&&e.activationStart||0},d=function(e,t){var r=s(),n="navigate";return c>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},p=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},h=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},v=function(e,t,r,n){var o,a;return function(i){var u;t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=(u=t.value)>r[1]?"poor":u>r[0]?"needs-improvement":"good",e(t))}},m=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_=function(){h(function(e){m=e.timeStamp},!0)},g=function(){return m<0&&(m=y(),_(),l(function(){setTimeout(function(){m=y(),_()},0)})),{get firstHiddenTime(){return m}}},b=function(e,t){t=t||{};var r,n=[1800,3e3],o=g(),a=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime<o.firstHiddenTime&&(a.value=e.startTime-f(),a.entries.push(e),r(!0)))})},u=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],c=u?null:p("paint",i);(u||c)&&(r=v(e,a,n,t.reportAllChanges),u&&i([u]),l(function(o){r=v(e,a=d("FCP"),n,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-o.timeStamp,r(!0)})})}))},P=!1,w=-1,O=function(e,t){t=t||{};var r=[.1,.25];P||(b(function(e){w=e.value}),P=!0);var n,o=function(t){w>-1&&e(t)},a=d("CLS",0),i=0,u=[],c=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],r=u[u.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,u.push(e)):(i=e.value,u=[e]),i>a.value&&(a.value=i,a.entries=u,n())}})},s=p("layout-shift",c);s&&(n=v(o,a,r,t.reportAllChanges),h(function(){c(s.takeRecords()),n(!0)}),l(function(){i=0,w=-1,n=v(o,a=d("CLS",0),r,t.reportAllChanges)}))},j={passive:!0,capture:!0},S=new Date,E=function(e,t){n||(n=t,o=e,a=new Date,R(removeEventListener),x())},x=function(){if(o>=0&&o<a-S){var e={entryType:"first-input",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+o};i.forEach(function(t){t(e)}),i=[]}},C=function(e){if(e.cancelable){var t,r,n,o=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){E(o,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,j),removeEventListener("pointercancel",r,j)},addEventListener("pointerup",t,j),addEventListener("pointercancel",r,j)):E(o,e)}},R=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,C,j)})},M=function(e,t){t=t||{};var r,a=[100,300],u=g(),c=d("FID"),s=function(e){e.startTime<u.firstHiddenTime&&(c.value=e.processingStart-e.startTime,c.entries.push(e),r(!0))},f=function(e){e.forEach(s)},m=p("first-input",f);r=v(e,c,a,t.reportAllChanges),m&&h(function(){f(m.takeRecords()),m.disconnect()},!0),m&&l(function(){r=v(e,c=d("FID"),a,t.reportAllChanges),i=[],o=-1,n=null,R(addEventListener),i.push(s),x()})},A=0,L=1/0,k=0,T=function(e){e.forEach(function(e){e.interactionId&&(L=Math.min(L,e.interactionId),A=(k=Math.max(k,e.interactionId))?(k-L)/7+1:0)})},I=function(){return u?A:performance.interactionCount||0},N=function(){"interactionCount"in performance||u||(u=p("event",T,{type:"event",buffered:!0,durationThreshold:0}))},D=0,B=function(){return I()-D},H=[],q={},F=function(e){var t=H[H.length-1],r=q[e.interactionId];if(r||H.length<10||e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};q[n.id]=n,H.push(n)}H.sort(function(e,t){return t.latency-e.latency}),H.splice(10).forEach(function(e){delete q[e.id]})}},U=function(e,t){t=t||{};var r=[200,500];N();var n,o=d("INP"),a=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||H.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||F(e)});var t,r=(t=Math.min(H.length-1,Math.floor(B()/50)),H[t]);r&&r.latency!==o.value&&(o.value=r.latency,o.entries=r.entries,n())},i=p("event",a,{durationThreshold:t.durationThreshold||40});n=v(e,o,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),h(function(){a(i.takeRecords()),o.value<0&&B()>0&&(o.value=0,o.entries=[]),n(!0)}),l(function(){H=[],D=I(),n=v(e,o=d("INP"),r,t.reportAllChanges)}))},W={},z=function(e,t){t=t||{};var r,n=[2500,4e3],o=g(),a=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();n<o.firstHiddenTime&&(a.value=n,a.entries=[t],r())}},u=p("largest-contentful-paint",i);if(u){r=v(e,a,n,t.reportAllChanges);var c=function(){W[a.id]||(i(u.takeRecords()),u.disconnect(),W[a.id]=!0,r(!0))};["keydown","click"].forEach(function(e){addEventListener(e,c,{once:!0,capture:!0})}),h(c,!0),l(function(o){r=v(e,a=d("LCP"),n,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){a.value=performance.now()-o.timeStamp,W[a.id]=!0,r(!0)})})})}},G=function e(t){document.prerendering?addEventListener("prerenderingchange",function(){return e(t)},!0):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},V=function(e,t){t=t||{};var r=[800,1800],n=d("TTFB"),o=v(e,n,r,t.reportAllChanges);G(function(){var a=s();if(a){if(n.value=Math.max(a.responseStart-f(),0),n.value<0||n.value>performance.now())return;n.entries=[a],o(!0),l(function(){(o=v(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});var r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(51217),o=r(31819);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});var a=r(64838),i=r(50664),u=r(81331),c=a._(r(17421)),l=r(87061),s=r(99633),f=r(21905),d=r(70081),p=r(81496),h=function(){function e(t,r){n._(this,e),this.routeLoader=(0,p.createRouteLoader)(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise(function(e){window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=function(){e(window.__SSG_MANIFEST)}})}return o._(e,[{key:"getPageList",value:function(){return(0,p.getClientBuildManifest)().then(function(e){return e.sortedPages})}},{key:"getMiddleware",value:function(){return window.__MIDDLEWARE_MATCHERS=[{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!_next\\/static|_next\\/image|favicon|api\\/healthcheck).*))(.json)?[\\/#\\?]?$",originalSource:"/((?!_next/static|_next/image|favicon|api/healthcheck).*)"}],window.__MIDDLEWARE_MATCHERS}},{key:"getDataHref",value:function(e){var t,r,n=e.asPath,o=e.href,a=e.locale,p=(0,f.parseRelativeUrl)(o),h=p.pathname,v=p.query,m=p.search,y=(0,f.parseRelativeUrl)(n).pathname,_=(0,d.removeTrailingSlash)(h);if("/"!==_[0])throw Error('Route name should start with a "/", got "'+_+'"');return t=e.skipInterpolation?y:(0,s.isDynamicRoute)(_)?(0,u.interpolateAs)(h,y,v).result:_,r=(0,c.default)((0,d.removeTrailingSlash)((0,l.addLocale)(t,a)),".json"),(0,i.addBasePath)("/_next/data/"+this.buildId+r+m,!0)}},{key:"_isSsg",value:function(e){return this.promisedSsgManifest.then(function(t){return t.has(e)})}},{key:"loadPage",value:function(e){return this.routeLoader.loadRoute(e).then(function(e){if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(function(e){return{href:e.href,text:e.content}})};throw e.error})}},{key:"prefetch",value:function(e){return this.routeLoader.prefetch(e)}}]),e}();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}r.d(t,{b:function(){return n}})}
function(e,t){"use strict";function r(e){var t=void 0===e?{}:e,r=t.ampFirst,n=t.hybrid,o=t.hasQuery;return void 0!==r&&r||void 0!==n&&n&&void 0!==o&&o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});var n=r(90881),o=r(2161),a=r(70461);function i(e,t){var r=null!=(d=t.nextConfig)?d:{},i=r.basePath,u=r.i18n,c=r.trailingSlash,l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):c};if(i&&(0,a.pathHasPrefix)(l.pathname,i)&&(l.pathname=(0,o.removePathPrefix)(l.pathname,i),l.basePath=i),!0===t.parseData&&l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){var s=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),f=s[0];l.pathname="index"!==s[1]?"/"+s.slice(1).join("/"):"/",l.buildId=f}if(t.i18nProvider){var d,p,h=t.i18nProvider.analyze(l.pathname);l.locale=h.detectedLocale,l.pathname=null!=(p=h.pathname)?p:l.pathname}else if(u){var v,m=(0,n.normalizeLocalePath)(l.pathname,u.locales);l.locale=m.detectedLocale,l.pathname=null!=(v=m.pathname)?v:l.pathname}return l}}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});var r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}}
function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})}
function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.r(t),r.d(t,{_:function(){return o},_create_class:function(){return o}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});var n=r(70763);function o(e){var t=e.re,r=e.groups;return function(e){var o=t.exec(e);if(!o)return!1;var a=function(e){try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(function(e){var t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(function(e){return a(e)}):t.repeat?[a(n)]:a(n))}),i}}}
function(e,t,r){"use strict";function n(e){return(e=e.slice(0)).startsWith("/")||(e="/"+e),e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(1127),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(81949);function o(){var e=Object.create(null);return{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];(e[t]||[]).slice().map(function(e){e.apply(void 0,n._(o))})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}})}
function(e,t){"use strict";function r(e,t){var r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(var n=r.length;n--;){var o=r[n];if("query"===o){var a=Object.keys(e.query);if(a.length!==Object.keys(t.query).length)return!1;for(var i=a.length;i--;){var u=a[i];if(!t.query.hasOwnProperty(u)||e.query[u]!==t.query[u])return!1}}else if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(51217),o=r(31819),a=r(69072),i=r(12051);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});var u=r(64838),c=u._(r(70079)),l=u._(r(39198)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function f(e){var t=e.res,r=e.err;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}var d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}},p=function(e){a._(r,e);var t=i._(r);function r(){return n._(this,r),t.apply(this,arguments)}return o._(r,[{key:"render",value:function(){var e=this.props,t=e.statusCode,r=e.withDarkMode,n=this.props.title||s[t]||"An unexpected error has occurred";return c.default.createElement("div",{style:d.error},c.default.createElement(l.default,null,c.default.createElement("title",null,t?t+": "+n:"Application error: a client-side exception has occurred")),c.default.createElement("div",null,c.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(void 0===r||r?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),t?c.default.createElement("h1",{className:"next-error-h1",style:d.h1},t):null,c.default.createElement("div",{style:d.desc},c.default.createElement("h2",{style:d.h2},this.props.title||t?n:c.default.createElement(c.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}]),r}(c.default.Component);p.displayName="ErrorPage",p.getInitialProps=f,p.origGetInitialProps=f,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,{X:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39324);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return s},default:function(){return h}});var o=r(64838),a=r(15542)._(r(70079)),i=o._(r(15299)),u=r(40880),c=r(96819),l=r(28834);function s(e){void 0===e&&(e=!1);var t=[a.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}r(86463);var d=["name","httpEquiv","charSet","itemProp"];function p(e,t){var r,o,i,u,c=t.inAmpMode;return e.reduce(f,[]).reverse().concat(s(c).reverse()).filter((r=new Set,o=new Set,i=new Set,u={},function(e){var t=!0,n=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){n=!0;var a=e.key.slice(e.key.indexOf("$")+1);r.has(a)?t=!1:r.add(a)}switch(e.type){case"title":case"base":o.has(e.type)?t=!1:o.add(e.type);break;case"meta":for(var c=0,l=d.length;c<l;c++){var s=d[c];if(e.props.hasOwnProperty(s)){if("charSet"===s)i.has(s)?t=!1:i.add(s);else{var f=e.props[s],p=u[s]||new Set;("name"!==s||!n)&&p.has(f)?t=!1:(p.add(f),u[s]=p)}}}}return t})).reverse().map(function(e,t){var r=e.key||t;if(!c&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(function(t){return e.props.href.startsWith(t)})){var o=n._({},e.props||{});return o["data-href"]=o.href,o.href=void 0,o["data-optimized-fonts"]=!0,a.default.cloneElement(e,o)}return a.default.cloneElement(e,{key:r})})}var h=function(e){var t=e.children,r=(0,a.useContext)(u.AmpStateContext),n=(0,a.useContext)(c.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,l.isInAmpMode)(r)},t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_object_spread:function(){return o}});var n=r(96237);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){(0,n.j)(e,t,r[t])})}return e}}
function(e,t,r){"use strict";r.d(t,{CR:function(){return l},Jh:function(){return c},ZT:function(){return o},_T:function(){return i},ev:function(){return s},mG:function(){return u},pi:function(){return a}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function u(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{c(n.next(e))}catch(e){a(e)}}function u(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,u)}c((n=n.apply(e,t||[])).next())})}function c(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(c){return function(u){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}}function l(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function s(e,t,r){if(r||2==arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});var n=r(64838)._(r(70079)).default.createContext({})}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return i},_wrap_native_super:function(){return i}});var n=r(99707),o=r(39153),a=r(28351);function i(e){var t="function"==typeof Map?new Map:void 0;return(i=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return(0,n._construct)(e,arguments,(0,o.X)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,a.b)(r,e)})(e)}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return i},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return c},TemplateContext:function(){return l}});var n,o,a=r(64838)._(r(70079));(o=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",o.DATA_FETCH="DATAFETCH",o.READY="READY";var i=a.default.createContext(null),u=a.default.createContext(null),c=a.default.createContext(null),l=a.default.createContext(null)}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return n.Jh},_ts_generator:function(){return n.Jh}});var n=r(39889)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39324),o=r(71209);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return s},getNamedRouteRegex:function(){return d},getNamedMiddlewareRegex:function(){return p}});var a=r(88896),i=r(70081),u="nxtP";function c(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){var t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map(function(e){if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,a.escapeStringRegexp)(e);var t=c(e.slice(1,-1)),o=t.key,i=t.optional,u=t.repeat;return r[o]={pos:n++,repeat:u,optional:i},u?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}).join(""),groups:r}}function s(e){var t=l(e),r=t.parameterizedRoute,n=t.groups;return{re:RegExp("^"+r+"(?:/)?$"),groups:n}}function f(e,t){var r,n,o=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(r=97,n=1,function(){for(var e="",t=0;t<n;t++)e+=String.fromCharCode(r),++r>122&&(n++,r=97);return e}),s={};return{namedParameterizedRoute:o.map(function(e){if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,a.escapeStringRegexp)(e);var r=c(e.slice(1,-1)),n=r.key,o=r.optional,i=r.repeat,f=n.replace(/\W/g,"");t&&(f=""+u+f);var d=!1;return(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=l()),t?s[f]=""+u+n:s[f]=""+n,i?o?"(?:/(?<"+f+">.+?))?":"/(?<"+f+">.+?)":"/(?<"+f+">[^/]+?)"}).join(""),routeKeys:s}}function d(e,t){var r=f(e,t);return o._(n._({},s(e)),{namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys})}function p(e,t){var r=l(e).parameterizedRoute,n=t.catchAll,o=void 0===n||n;return"/"===r?{namedRegex:"^/"+(o?".*":"")+"$"}:{namedRegex:"^"+f(e,!1).namedParameterizedRoute+(o?"(?:(/.*)?)":"")+"$"}}}
function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(59820),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});var n=r(73003),o=r(412);function a(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}r.r(t),r.d(t,{_:function(){return n},_class_call_check:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(81949),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});var n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return a}});var n=r(70763),o=r(1127);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{var t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(22830);function o(e){var t={};return e.forEach(function(e,r){void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function a(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){var t=new URLSearchParams;return Object.entries(e).forEach(function(e){var r=n._(e,2),o=r[0],i=r[1];Array.isArray(i)?i.forEach(function(e){return t.append(o,a(e))}):t.set(o,a(i))}),t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach(function(t){Array.from(t.keys()).forEach(function(t){return e.delete(t)}),t.forEach(function(t,r){return e.append(r,t)})}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return i},assign:function(){return u}})}
function(e,t,r){"use strict";r.d(t,{N:function(){return o}});var n=r(14770);function o(e,t){if(e){if("string"==typeof e)return(0,n.F)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.F)(e,t)}}}
function(e,t){"use strict";function r(e){var t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})}
function(e,t){"use strict";function r(e,t){void 0===t&&(t={});var r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(21722),o=r(51217),a=r(31819),i=r(69072),u=r(12051),c=r(48362);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});var l=r(64838)._(r(70079)),s=r(70763);function f(e){return d.apply(this,arguments)}function d(){return(d=n._(function(e){var t,r;return c._(this,function(n){switch(n.label){case 0:return t=e.Component,r=e.ctx,[4,(0,s.loadGetInitialProps)(t,r)];case 1:return[2,{pageProps:n.sent()}]}})})).apply(this,arguments)}var p=function(e){i._(r,e);var t=u._(r);function r(){return o._(this,r),t.apply(this,arguments)}return a._(r,[{key:"render",value:function(){var e=this.props,t=e.Component,r=e.pageProps;return l.default.createElement(t,r)}}]),r}(l.default.Component);p.origGetInitialProps=f,p.getInitialProps=f,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});var n=r(96031),o=r(99633)}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return o},_inherits:function(){return o}});var n=r(28351);function o(e,t){if("function"!=typeof t&&null!==t)throw 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&&(0,n.b)(e,t)}}
function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.r(t),r.d(t,{_:function(){return n},_object_without_properties:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});var n=r(59820);function o(e,t){if("string"!=typeof e)return!1;var r=(0,n.parsePath)(e).pathname;return r===t||r.startsWith(t+"/")}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(21722),o=r(51217),a=r(69072),i=r(81949),u=r(43512),c=r(12051),l=r(48362);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return s},execOnce:function(){return f},isAbsoluteUrl:function(){return p},getLocationOrigin:function(){return h},getURL:function(){return v},getDisplayName:function(){return m},isResSent:function(){return y},normalizeRepeatedSlashes:function(){return _},loadGetInitialProps:function(){return g},SP:function(){return P},ST:function(){return w},DecodeError:function(){return O},NormalizeError:function(){return j},PageNotFoundError:function(){return S},MissingStaticPage:function(){return E},MiddlewareNotFoundError:function(){return x}});var s=["CLS","FCP","FID","INP","LCP","TTFB"];function f(e){var t,r=!1;return function(){for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return r||(r=!0,t=e.apply(void 0,i._(o))),t}}var d=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,p=function(e){return d.test(e)};function h(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return t+"//"+r+(n?":"+n:"")}function v(){var e=window.location.href,t=h();return e.substring(t.length)}function m(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function y(e){return e.finished||e.headersSent}function _(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}function g(e,t){return b.apply(this,arguments)}function b(){return(b=n._(function(e,t){var r,n,o;return l._(this,function(a){switch(a.label){case 0:if(r=t.res||t.ctx&&t.ctx.res,e.getInitialProps)return[3,3];if(!(t.ctx&&t.Component))return[3,2];return n={},[4,g(t.Component,t.ctx)];case 1:return[2,(n.pageProps=a.sent(),n)];case 2:return[2,{}];case 3:return[4,e.getInitialProps(t)];case 4:if(o=a.sent(),r&&y(r))return[2,o];if(!o)throw Error('"'+m(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.');return[2,o]}})})).apply(this,arguments)}var P="undefined"!=typeof performance,w=P&&["mark","measure","getEntriesByName"].every(function(e){return"function"==typeof performance[e]}),O=function(e){a._(r,e);var t=c._(r);function r(){return o._(this,r),t.apply(this,arguments)}return r}(u._(Error)),j=function(e){a._(r,e);var t=c._(r);function r(){return o._(this,r),t.apply(this,arguments)}return r}(u._(Error)),S=function(e){a._(r,e);var t=c._(r);function r(e){var n;return o._(this,r),(n=t.call(this)).code="ENOENT",n.name="PageNotFoundError",n.message="Cannot find module for page: "+e,n}return r}(u._(Error)),E=function(e){a._(r,e);var t=c._(r);function r(e,n){var a;return o._(this,r),(a=t.call(this)).message="Failed to load static file for page: "+e+" "+n,a}return r}(u._(Error)),x=function(e){a._(r,e);var t=c._(r);function r(){var e;return o._(this,r),(e=t.call(this)).code="ENOENT",e.message="Cannot find the middleware module",e}return r}(u._(Error))}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(39324);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var o=r(64838)._(r(70079)),a=r(76281);function i(e){var t=function(t){return o.default.createElement(e,n._({router:(0,a.useRouter)()},t))};return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";function n(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r.r(t),r.d(t,{_:function(){return n},_object_spread_props:function(){return n}})}
function(){}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});var n=r(59820);function o(e,t){if(!e.startsWith("/")||!t)return e;var r=(0,n.parsePath)(e);return""+t+r.pathname+r.query+r.hash}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return a}});var n=r(68309),o=r(76612);function a(e){var t=(0,o.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});var n=r(64838)._(r(70079)).default.createContext(null)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(99707),o=r(81949);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return u.default},default:function(){return v},withRouter:function(){return s.default},useRouter:function(){return m},createRouter:function(){return y},makePublicRouterInstance:function(){return _}});var a=r(64838),i=a._(r(70079)),u=a._(r(22996)),c=r(75739),l=a._(r(9263)),s=a._(r(71141)),f={router:null,readyCallbacks:[],ready:function(e){if(this.router)return e();this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],p=["push","replace","reload","back","prefetch","beforePopState"];function h(){if(!f.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return f.router}Object.defineProperty(f,"events",{get:function(){return u.default.events}}),d.forEach(function(e){Object.defineProperty(f,e,{get:function(){return h()[e]}})}),p.forEach(function(e){f[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=h();return a[e].apply(a,o._(r))}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(function(e){f.ready(function(){u.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var a="on"+e.charAt(0).toUpperCase()+e.substring(1);if(f[a])try{f[a].apply(f,o._(r))}catch(e){console.error("Error when running the Router event: "+a),console.error((0,l.default)(e)?e.message+"\n"+e.stack:e+"")}})})});var v=f;function m(){var e=i.default.useContext(c.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function y(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return f.router=n._(u.default,o._(t)),f.readyCallbacks.forEach(function(e){return e()}),f.readyCallbacks=[],f.router}function _(e){var t={},r=!0,n=!1,a=void 0;try{for(var i,c=d[Symbol.iterator]();!(r=(i=c.next()).done);r=!0){var l=i.value;if("object"==typeof e[l]){t[l]=Object.assign(Array.isArray(e[l])?[]:{},e[l]);continue}t[l]=e[l]}}catch(e){n=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(n)throw a}}return t.events=u.default.events,p.forEach(function(r){t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return e[r].apply(e,o._(n))}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});var n,o=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;var a=!1;function i(e){n&&n(e)}var u=function(e){if(n=e,!a){a=!0;var t=!0,u=!1,c=void 0;try{for(var l,s=o[Symbol.iterator]();!(t=(l=s.next()).done);t=!0){var f=l.value;try{var d=void 0;d||(d=r(24361)),d["on"+f](i)}catch(e){console.warn("Failed to track "+f+" web-vital",e)}}}catch(e){u=!0,c=e}finally{try{t||null==s.return||s.return()}finally{if(u)throw c}}}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return a}});var n=r(73003),o=r(70461);function a(e,t,r,a){if(!t||t===r)return e;var i=e.toLowerCase();return!a&&((0,o.pathHasPrefix)(i,"/api")||(0,o.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}}
function(e,t){"use strict";var r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return a}});var n=r(33215),o=r(48632);function a(e,t,r){var a="",i=(0,o.getRouteRegex)(e),u=i.groups,c=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;a=e;var l=Object.keys(u);return l.every(function(e){var t=c[e]||"",r=u[e],n=r.repeat,o=r.optional,i="["+(n?"...":"")+e+"]";return o&&(i=(t?"":"/")+"["+i+"]"),n&&!Array.isArray(t)&&(t=[t]),(o||e in c)&&(a=a.replace(i,n?t.map(function(e){return encodeURIComponent(e)}).join("/"):encodeURIComponent(t))||"/")})||(a=""),{params:l,result:a}}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return u},isAssetError:function(){return c},getClientBuildManifest:function(){return f},createRouteLoader:function(){return p}}),r(64838),r(17421);var n=r(80067),o=r(25216);function a(e,t,r){var n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);var a=new Promise(function(e){n=e});return t.set(e,o={resolve:n,future:a}),r?r().then(function(e){return n(e),e}).catch(function(r){throw t.delete(e),r}):a}var i=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,i,{})}function c(e){return e&&i in e}var l=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}();function s(e,t,r){return new Promise(function(n,a){var i=!1;e.then(function(e){i=!0,n(e)}).catch(a),(0,o.requestIdleCallback)(function(){return setTimeout(function(){i||a(r)},t)})})}function f(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):s(new Promise(function(e){var t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=function(){e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Error("Failed to load client build manifest")))}function d(e,t){return f().then(function(r){if(!(t in r))throw u(Error("Failed to lookup route: "+t));var o=r[t].map(function(t){return e+"/_next/"+encodeURI(t)});return{scripts:o.filter(function(e){return e.endsWith(".js")}).map(function(e){return(0,n.__unsafeCreateTrustedScriptURL)(e)}),css:o.filter(function(e){return e.endsWith(".css")})}})}function p(e){var t=function(e){var t,r=i.get(e.toString());return r||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(i.set(e.toString(),r=new Promise(function(r,n){(t=document.createElement("script")).onload=r,t.onerror=function(){return n(u(Error("Failed to load script: "+e)))},t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),r))},r=function(e){var t=c.get(e);return t||c.set(e,t=fetch(e).then(function(t){if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(function(t){return{href:e,content:t}})}).catch(function(e){throw u(e)})),t},n=new Map,i=new Map,c=new Map,f=new Map;return{whenEntrypoint:function(e){return a(e,n)},onEntrypoint:function(e,t){(t?Promise.resolve().then(function(){return t()}).then(function(e){return{component:e&&e.default||e,exports:e}},function(e){return{error:e}}):Promise.resolve(void 0)).then(function(t){var r=n.get(e);r&&"resolve"in r?t&&(n.set(e,t),r.resolve(t)):(t?n.set(e,t):n.delete(e),f.delete(e))})},loadRoute:function(o,i){var c=this;return a(o,f,function(){var a;return s(d(e,o).then(function(e){var a=e.scripts,i=e.css;return Promise.all([n.has(o)?[]:Promise.all(a.map(t)),Promise.all(i.map(r))])}).then(function(e){return c.whenEntrypoint(o).then(function(t){return{entrypoint:t,styles:e[1]}})}),3800,u(Error("Route did not complete loading: "+o))).then(function(e){var t=e.entrypoint,r=Object.assign({styles:e.styles},t);return"error"in t?t:r}).catch(function(e){if(i)throw e;return{error:e}}).finally(function(){return null==a?void 0:a()})})},prefetch:function(t){var r,n=this;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():d(e,t).then(function(e){return Promise.all(l?e.scripts.map(function(e){var t,r,n;return t=e.toString(),r="script",new Promise(function(e,o){if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=function(){return o(u(Error("Failed to prefetch: "+t)))},n.href=t,document.head.appendChild(n)})}):[])}).then(function(){(0,o.requestIdleCallback)(function(){return n.loadRoute(t,!0).catch(function(){})})}).catch(function(){})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return a},_to_consumable_array:function(){return a}});var n=r(14770),o=r(59378);function a(e){return function(e){if(Array.isArray(e))return(0,n.F)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.N)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return r}});var r="DYNAMIC_SERVER_USAGE"}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});var r=function(e){}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(81949),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(412);var n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(70216),o=r(22830);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return c},adaptForSearchParams:function(){return l},PathnameContextProviderAdapter:function(){return s}});var a=r(15542)._(r(70079)),i=r(19839),u=r(68309);function c(e){return{back:function(){e.back()},forward:function(){e.forward()},refresh:function(){e.reload()},push:function(t){e.push(t)},replace:function(t){e.replace(t)},prefetch:function(t){e.prefetch(t)}}}function l(e){return e.isReady&&e.query?function(e){var t=new URLSearchParams,r=!0,n=!1,a=void 0;try{for(var i,u=Object.entries(e)[Symbol.iterator]();!(r=(i=u.next()).done);r=!0){var c=o._(i.value,2),l=c[0],s=c[1];if(Array.isArray(s)){var f=!0,d=!1,p=void 0;try{for(var h,v=s[Symbol.iterator]();!(f=(h=v.next()).done);f=!0){var m=h.value;t.append(l,m)}}catch(e){d=!0,p=e}finally{try{f||null==v.return||v.return()}finally{if(d)throw p}}}else void 0!==s&&t.append(l,s)}}catch(e){n=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(n)throw a}}return t}(e.query):new URLSearchParams}function s(e){var t=e.children,r=e.router,o=n._(e,["children","router"]),c=(0,a.useRef)(o.isAutoExport),l=(0,a.useMemo)(function(){var e,t=c.current;if(t&&(c.current=!1),(0,u.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return a.default.createElement(i.PathnameContext.Provider,{value:l},t)}}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});var r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return r.test(e)?e.replace(n,"\\$&"):e}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(22830);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return u},default:function(){return c}});var o=r(64838)._(r(70079)),a=r(76281),i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},u=function(){var e=(0,a.useRouter)().asPath,t=n._(o.default.useState(""),2),r=t[0],u=t[1],c=o.default.useRef(e);return o.default.useEffect(function(){if(c.current!==e){if(c.current=e,document.title)u(document.title);else{var t,r=document.querySelector("h1");u((null!=(t=null==r?void 0:r.innerText)?t:null==r?void 0:r.textContent)||e)}}},[e]),o.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:i},r)},c=u;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t){"use strict";function r(e,t){var r,n=e.split("/");return(t||[]).some(function(t){return!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)}),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});var n=r(55636),o=r(12605),a=r(15392),i=r(70763),u=r(412),c=r(52262),l=r(99633),s=r(81331);function f(e,t,r){var f,d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");var v=(0,i.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+v}if(!(0,c.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{var m=new URL(d,f);m.pathname=(0,u.normalizePathTrailingSlash)(m.pathname);var y="";if((0,l.isDynamicRoute)(m.pathname)&&m.searchParams&&r){var _=(0,n.searchParamsToUrlQuery)(m.searchParams),g=(0,s.interpolateAs)(m.pathname,m.pathname,_),b=g.result,P=g.params;b&&(y=(0,o.formatWithValidation)({pathname:b,hash:m.hash,query:(0,a.omit)(_,P)}))}var w=m.origin===f.origin?m.href.slice(m.origin.length):m.href;return r?[w,y||w]:w}catch(e){return r?[d]:d}}}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});var n=r(83084);function o(e,t){var r=e.digest||t.digest,o="function"==typeof reportError?reportError:function(e){window.console.error(e)};r!==n.NEXT_DYNAMIC_NO_SSR_CODE&&o(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return o}});var r,n=function(){return r};function o(e){r=e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(51217),o=r(31819),a=r(81949);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return u}});var i=function(){function e(){n._(this,e),this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}return o._(e,[{key:"insert",value:function(e){this._insert(e.split("/").filter(Boolean),[],!1)}},{key:"smoosh",value:function(){return this._smoosh()}},{key:"_smoosh",value:function(e){var t=this;void 0===e&&(e="/");var r=a._(this.children.keys()).sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);var n=r.map(function(r){return t.children.get(r)._smoosh(""+e+r+"/")}).reduce(function(e,t){return a._(e).concat(a._(t))},[]);if(null!==this.slugName&&n.push.apply(n,a._(this.children.get("[]")._smoosh(e+"["+this.slugName+"]/"))),!this.placeholder){var o="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+o+'" and "'+o+"[[..."+this.optionalRestSlugName+']]").');n.unshift(o)}return null!==this.restSlugName&&n.push.apply(n,a._(this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/"))),null!==this.optionalRestSlugName&&n.push.apply(n,a._(this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/"))),n}},{key:"_insert",value:function(t,r,n){if(0===t.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");var o=t[0];if(o.startsWith("[")&&o.endsWith("]")){var a=function(e,t){if(null!==e&&e!==t)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"').");r.forEach(function(e){if(e===t)throw Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path')}),r.push(t)},i=o.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+i+"').");if(i.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+i+"').");if(n){if(u){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+t[0]+'" ).');a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+t[0]+'").');a(this.restSlugName,i),this.restSlugName=i,o="[...]"}}else{if(u)throw Error('Optional route parameters are not yet supported ("'+t[0]+'").');a(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new e),this.children.get(o)._insert(t.slice(1),r,n)}}]),e}();function u(e){var t=new i;return e.forEach(function(e){return t.insert(e)}),t.smoosh()}}
function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:function(){return n},j:function(){return n}})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});var n=r(64838)._(r(70079)).default.createContext({})}
function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});var n=r(64838)._(r(70079)),o=r(31259),a=n.default.createContext(o.imageConfigDefault)}
function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});var r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}}
function(e,t,r){"use strict";r.r(t),r.d(t,{_:function(){return a},_construct:function(){return a}});var n=r(15781),o=r(28351);function a(e,t,r){return(a=(0,n.R)()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&(0,o.b)(a,r.prototype),a}).apply(null,arguments)}}
function(U,B,G){var Y=G(56855),V=G(43310),Z=G(91611);function J(U,B){return new Z(B).process(U)}(B=U.exports=J).filterXSS=J,B.FilterXSS=Z,function(){for(var U in Y)B[U]=Y[U];for(var G in V)B[G]=V[G]}(),"undefined"!=typeof window&&(window.filterXSS=U.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=U.exports)}
function(U,B,G){"use strict";G.d(B,{_y:function(){return J},zt:function(){return Z}});var Y=G(70079);G(26095);var V="undefined"!=typeof window?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=Y.createContext(null)):Y.createContext(null);V.Consumer;var Z=V.Provider,J=V}
function(U,B,G){"use strict";G.d(B,{s:function(){return tr},c:function(){return ta}});var Y,V=G(66464),Z=G(14156);!function(U){let B=0;U[U.PENDING=B]="PENDING";let G=1;U[U.RESOLVED=G]="RESOLVED";let Y=2;U[U.REJECTED=Y]="REJECTED"}(Y||(Y={}));class J{__init(){this._state=Y.PENDING}__init2(){this._handlers=[]}constructor(U){J.prototype.__init.call(this),J.prototype.__init2.call(this),J.prototype.__init3.call(this),J.prototype.__init4.call(this),J.prototype.__init5.call(this),J.prototype.__init6.call(this);try{U(this._resolve,this._reject)}catch(U){this._reject(U)}}then(U,B){return new J((G,Y)=>{this._handlers.push([!1,B=>{if(U)try{G(U(B))}catch(U){Y(U)}else G(B)},U=>{if(B)try{G(B(U))}catch(U){Y(U)}else Y(U)}]),this._executeHandlers()})}catch(U){return this.then(U=>U,U)}finally(U){return new J((B,G)=>{let Y,V;return this.then(B=>{V=!1,Y=B,U&&U()},B=>{V=!0,Y=B,U&&U()}).then(()=>{if(V){G(Y);return}B(Y)})})}__init3(){this._resolve=U=>{this._setResult(Y.RESOLVED,U)}}__init4(){this._reject=U=>{this._setResult(Y.REJECTED,U)}}__init5(){this._setResult=(U,B)=>{if(this._state===Y.PENDING){if((0,V.J8)(B)){B.then(this._resolve,this._reject);return}this._state=U,this._value=B,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Y.PENDING)return;let U=this._handlers.slice();this._handlers=[],U.forEach(U=>{U[0]||(this._state===Y.RESOLVED&&U[1](this._value),this._state===Y.REJECTED&&U[2](this._value),U[0]=!0)})}}}var X=G(5672),Q=G(20943),tt=G(96652),te=G(57919);let tn=100;class tr{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(U){let B=new tr;return U&&(B._breadcrumbs=[...U._breadcrumbs],B._tags={...U._tags},B._extra={...U._extra},B._contexts={...U._contexts},B._user=U._user,B._level=U._level,B._span=U._span,B._session=U._session,B._transactionName=U._transactionName,B._fingerprint=U._fingerprint,B._eventProcessors=[...U._eventProcessors],B._requestSession=U._requestSession,B._attachments=[...U._attachments],B._sdkProcessingMetadata={...U._sdkProcessingMetadata}),B}addScopeListener(U){this._scopeListeners.push(U)}addEventProcessor(U){return this._eventProcessors.push(U),this}setUser(U){return this._user=U||{},this._session&&(0,te.CT)(this._session,{user:U}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(U){return this._requestSession=U,this}setTags(U){return this._tags={...this._tags,...U},this._notifyScopeListeners(),this}setTag(U,B){return this._tags={...this._tags,[U]:B},this._notifyScopeListeners(),this}setExtras(U){return this._extra={...this._extra,...U},this._notifyScopeListeners(),this}setExtra(U,B){return this._extra={...this._extra,[U]:B},this._notifyScopeListeners(),this}setFingerprint(U){return this._fingerprint=U,this._notifyScopeListeners(),this}setLevel(U){return this._level=U,this._notifyScopeListeners(),this}setTransactionName(U){return this._transactionName=U,this._notifyScopeListeners(),this}setContext(U,B){return null===B?delete this._contexts[U]:this._contexts[U]=B,this._notifyScopeListeners(),this}setSpan(U){return this._span=U,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let U=this.getSpan();return U&&U.transaction}setSession(U){return U?this._session=U:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(U){if(!U)return this;if("function"==typeof U){let B=U(this);return B instanceof tr?B:this}return U instanceof tr?(this._tags={...this._tags,...U._tags},this._extra={...this._extra,...U._extra},this._contexts={...this._contexts,...U._contexts},U._user&&Object.keys(U._user).length&&(this._user=U._user),U._level&&(this._level=U._level),U._fingerprint&&(this._fingerprint=U._fingerprint),U._requestSession&&(this._requestSession=U._requestSession)):(0,V.PO)(U)&&(this._tags={...this._tags,...U.tags},this._extra={...this._extra,...U.extra},this._contexts={...this._contexts,...U.contexts},U.user&&(this._user=U.user),U.level&&(this._level=U.level),U.fingerprint&&(this._fingerprint=U.fingerprint),U.requestSession&&(this._requestSession=U.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(U,B){let G="number"==typeof B?B:tn;if(G<=0)return this;let Y={timestamp:(0,Z.yW)(),...U};return this._breadcrumbs=[...this._breadcrumbs,Y].slice(-G),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(U){return this._attachments.push(U),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(U,B={}){if(this._extra&&Object.keys(this._extra).length&&(U.extra={...this._extra,...U.extra}),this._tags&&Object.keys(this._tags).length&&(U.tags={...this._tags,...U.tags}),this._user&&Object.keys(this._user).length&&(U.user={...this._user,...U.user}),this._contexts&&Object.keys(this._contexts).length&&(U.contexts={...this._contexts,...U.contexts}),this._level&&(U.level=this._level),this._transactionName&&(U.transaction=this._transactionName),this._span){U.contexts={trace:this._span.getTraceContext(),...U.contexts};let B=this._span.transaction&&this._span.transaction.name;B&&(U.tags={transaction:B,...U.tags})}return this._applyFingerprint(U),U.breadcrumbs=[...U.breadcrumbs||[],...this._breadcrumbs],U.breadcrumbs=U.breadcrumbs.length>0?U.breadcrumbs:void 0,U.sdkProcessingMetadata={...U.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...ti(),...this._eventProcessors],U,B)}setSDKProcessingMetadata(U){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...U},this}_notifyEventProcessors(U,B,G,Y=0){return new J((Z,J)=>{let Q=U[Y];if(null===B||"function"!=typeof Q)Z(B);else{let tt=Q({...B},G);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.id&&null===tt&&X.kg.log(`Event processor "${Q.id}" dropped event`),(0,V.J8)(tt)?tt.then(B=>this._notifyEventProcessors(U,B,G,Y+1).then(Z)).then(null,J):this._notifyEventProcessors(U,tt,G,Y+1).then(Z).then(null,J)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(U=>{U(this)}),this._notifyingListeners=!1)}_applyFingerprint(U){U.fingerprint=U.fingerprint?(0,Q.lE)(U.fingerprint):[],this._fingerprint&&(U.fingerprint=U.fingerprint.concat(this._fingerprint)),U.fingerprint&&!U.fingerprint.length&&delete U.fingerprint}}function ti(){return(0,tt.YO)("globalEventProcessors",()=>[])}function ta(U){ti().push(U)}}
function(U,B,G){"use strict";G.d(B,{$Q:function(){return Q},HK:function(){return tt},Jr:function(){return ta},Sh:function(){return te},hl:function(){return J},xp:function(){return X},zf:function(){return ti}});var Y=G(33154),V=G(66464),Z=G(10185);function J(U,B,G){if(!(B in U))return;let Y=U[B],V=G(Y);if("function"==typeof V)try{Q(V,Y)}catch(U){}U[B]=V}function X(U,B,G){Object.defineProperty(U,B,{value:G,writable:!0,configurable:!0})}function Q(U,B){let G=B.prototype||{};U.prototype=B.prototype=G,X(U,"__sentry_original__",B)}function tt(U){return U.__sentry_original__}function te(U){if((0,V.VZ)(U))return{message:U.message,name:U.name,stack:U.stack,...tr(U)};if(!(0,V.cO)(U))return U;{let B={type:U.type,target:tn(U.target),currentTarget:tn(U.currentTarget),...tr(U)};return"undefined"!=typeof CustomEvent&&(0,V.V9)(U,CustomEvent)&&(B.detail=U.detail),B}}function tn(U){try{return(0,V.kK)(U)?(0,Y.Rt)(U):Object.prototype.toString.call(U)}catch(U){return"<unknown>"}}function tr(U){if("object"!=typeof U||null===U)return{};{let B={};for(let G in U)Object.prototype.hasOwnProperty.call(U,G)&&(B[G]=U[G]);return B}}function ti(U,B=40){let G=Object.keys(te(U));if(G.sort(),!G.length)return"[object has no keys]";if(G[0].length>=B)return(0,Z.$G)(G[0],B);for(let U=G.length;U>0;U--){let Y=G.slice(0,U).join(", ");if(!(Y.length>B)){if(U===G.length)return Y;return(0,Z.$G)(Y,B)}}return""}function ta(U){let B=new Map;return ts(U,B)}function ts(U,B){if((0,V.PO)(U)){let G=B.get(U);if(void 0!==G)return G;let Y={};for(let G of(B.set(U,Y),Object.keys(U)))void 0!==U[G]&&(Y[G]=ts(U[G],B));return Y}if(Array.isArray(U)){let G=B.get(U);if(void 0!==G)return G;let Y=[];return B.set(U,Y),U.forEach(U=>{Y.push(ts(U,B))}),Y}return U}}
function(){}
function(U,B,G){"use strict";G.d(B,{JN:function(){return J},KJ:function(){return X},pf:function(){return Z}});var Y=G(70079),V=G(53729);let Z=(U,B)=>{(U.suspense||U.useErrorBoundary)&&!B.isReset()&&(U.retryOnMount=!1)},J=U=>{Y.useEffect(()=>{U.clearReset()},[U])},X=({result:U,errorResetBoundary:B,useErrorBoundary:G,query:Y})=>U.isError&&!B.isReset()&&!U.isFetching&&(0,V.L)(G,[U.error,Y])}
function(U,B,G){"use strict";G.d(B,{$IY:function(){return tU},$Rx:function(){return t5},A8q:function(){return tz},AlO:function(){return tv},Ao2:function(){return Q},BJv:function(){return J},Bw1:function(){return tj},H33:function(){return tk},IC0:function(){return tD},K9M:function(){return tL},LSm:function(){return tr},NOg:function(){return tE},Nte:function(){return t_},OH:function(){return t$},OvN:function(){return tM},PS6:function(){return tP},Qxo:function(){return tB},RUS:function(){return tQ},Rgz:function(){return tt},RsK:function(){return tS},SnF:function(){return tR},Tfp:function(){return tu},U0j:function(){return Z},UIZ:function(){return tO},UgA:function(){return ti},V7f:function(){return tJ},Wqx:function(){return t6},XKb:function(){return tC},YFh:function(){return ts},Ybf:function(){return tX},_hL:function(){return tg},_rq:function(){return tn},bTu:function(){return ta},bcx:function(){return V},cDN:function(){return tW},cur:function(){return tN},cww:function(){return th},dAq:function(){return tA},fmn:function(){return tK},fzv:function(){return t0},iYc:function(){return tq},j4u:function(){return tf},jRj:function(){return tF},jxP:function(){return tY},kXG:function(){return tV},lV_:function(){return tG},m6D:function(){return tx},nbt:function(){return tH},nlg:function(){return td},oLd:function(){return tZ},q5L:function(){return t3},rDJ:function(){return tb},rH8:function(){return tc},rzC:function(){return ty},tHe:function(){return tw},tv1:function(){return X},vPQ:function(){return tm},wzc:function(){return tp},xqh:function(){return tI},yG:function(){return tT},yK7:function(){return te}});var Y=G(50913);function V(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(U)}function Z(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(U)}function J(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"}}]})(U)}function X(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"polyline",attr:{points:"19 12 12 19 5 12"}}]})(U)}function Q(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"}},{tag:"polyline",attr:{points:"12 19 5 12 12 5"}}]})(U)}function tt(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}},{tag:"polyline",attr:{points:"12 5 19 12 12 19"}}]})(U)}function te(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}},{tag:"path",attr:{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"}}]})(U)}function tn(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"}}]})(U)}function tr(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"}},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"}}]})(U)}function ti(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(U)}function ta(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(U)}function ts(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(U)}function tu(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(U)}function tc(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(U)}function td(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"7 13 12 18 17 13"}},{tag:"polyline",attr:{points:"7 6 12 11 17 6"}}]})(U)}function tf(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}}]})(U)}function th(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 14 4 9 9 4"}},{tag:"path",attr:{d:"M20 20v-7a4 4 0 0 0-4-4H4"}}]})(U)}function tp(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"8 17 12 21 16 17"}},{tag:"line",attr:{x1:"12",y1:"12",x2:"12",y2:"21"}},{tag:"path",attr:{d:"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"}}]})(U)}function tg(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"7 10 12 15 17 10"}},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"}}]})(U)}function t_(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 20h9"}},{tag:"path",attr:{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"}}]})(U)}function tm(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}}]})(U)}function tv(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}},{tag:"polyline",attr:{points:"15 3 21 3 21 9"}},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"}}]})(U)}function ty(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"}}]})(U)}function tb(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}}]})(U)}function tE(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}},{tag:"polyline",attr:{points:"14 2 14 8 20 8"}},{tag:"line",attr:{x1:"16",y1:"13",x2:"8",y2:"13"}},{tag:"line",attr:{x1:"16",y1:"17",x2:"8",y2:"17"}},{tag:"polyline",attr:{points:"10 9 9 9 8 9"}}]})(U)}function tw(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}},{tag:"polyline",attr:{points:"13 2 13 9 20 9"}}]})(U)}function tS(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"}},{tag:"path",attr:{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}}]})(U)}function tx(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}},{tag:"polyline",attr:{points:"9 22 9 12 15 12 15 22"}}]})(U)}function tk(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"}}]})(U)}function tT(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 2 7 12 12 22 7 12 2"}},{tag:"polyline",attr:{points:"2 17 12 22 22 17"}},{tag:"polyline",attr:{points:"2 12 12 17 22 12"}}]})(U)}function tC(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}}]})(U)}function tR(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"8",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"8",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"8",y1:"18",x2:"21",y2:"18"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"3.01",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"12",x2:"3.01",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"3.01",y2:"18"}}]})(U)}function tA(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"6"}},{tag:"line",attr:{x1:"12",y1:"18",x2:"12",y2:"22"}},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"}},{tag:"line",attr:{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"6",y2:"12"}},{tag:"line",attr:{x1:"18",y1:"12",x2:"22",y2:"12"}},{tag:"line",attr:{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"}},{tag:"line",attr:{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"}}]})(U)}function tO(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}]})(U)}function tI(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}},{tag:"polyline",attr:{points:"16 17 21 12 16 7"}},{tag:"line",attr:{x1:"21",y1:"12",x2:"9",y2:"12"}}]})(U)}function tN(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"3",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"21",y2:"18"}}]})(U)}function tD(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"}}]})(U)}function tL(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"19",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"5",cy:"12",r:"1"}}]})(U)}function tP(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"}},{tag:"path",attr:{d:"M13 13l6 6"}}]})(U)}function tM(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(U)}function tU(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"12"}}]})(U)}function tB(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"1 4 1 10 7 10"}},{tag:"polyline",attr:{points:"23 20 23 14 17 14"}},{tag:"path",attr:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}}]})(U)}function tj(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 4 23 10 17 10"}},{tag:"polyline",attr:{points:"1 20 1 14 7 14"}},{tag:"path",attr:{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"}}]})(U)}function tG(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 19 2 12 11 5 11 19"}},{tag:"polygon",attr:{points:"22 19 13 12 22 5 22 19"}}]})(U)}function tF(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(U)}function tH(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}}]})(U)}function tz(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}},{tag:"polyline",attr:{points:"16 6 12 2 8 6"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"15"}}]})(U)}function t$(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"}},{tag:"path",attr:{d:"M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"}},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"}}]})(U)}function tq(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"9",y1:"3",x2:"9",y2:"21"}}]})(U)}function tY(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}}]})(U)}function tV(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"5"}},{tag:"line",attr:{x1:"12",y1:"1",x2:"12",y2:"3"}},{tag:"line",attr:{x1:"12",y1:"21",x2:"12",y2:"23"}},{tag:"line",attr:{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}},{tag:"line",attr:{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}},{tag:"line",attr:{x1:"1",y1:"12",x2:"3",y2:"12"}},{tag:"line",attr:{x1:"21",y1:"12",x2:"23",y2:"12"}},{tag:"line",attr:{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}},{tag:"line",attr:{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"}}]})(U)}function tW(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 17 10 11 4 5"}},{tag:"line",attr:{x1:"12",y1:"19",x2:"20",y2:"19"}}]})(U)}function tZ(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"}}]})(U)}function tK(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"}}]})(U)}function tJ(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"}}]})(U)}function tX(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"}},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"}}]})(U)}function tQ(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 7 4 4 20 4 20 7"}},{tag:"line",attr:{x1:"9",y1:"20",x2:"15",y2:"20"}},{tag:"line",attr:{x1:"12",y1:"4",x2:"12",y2:"20"}}]})(U)}function t0(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"}}]})(U)}function t5(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"15",y1:"9",x2:"9",y2:"15"}},{tag:"line",attr:{x1:"9",y1:"9",x2:"15",y2:"15"}}]})(U)}function t3(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"}},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"}}]})(U)}function t6(U){return(0,Y.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}}]})(U)}}
function(U,B,G){"use strict";function Y(){return{onFetch:U=>{U.fetchFn=()=>{var B,G,Y,J,X,Q;let tt;let te=null==(B=U.fetchOptions)?void 0:null==(G=B.meta)?void 0:G.refetchPage,tn=null==(Y=U.fetchOptions)?void 0:null==(J=Y.meta)?void 0:J.fetchMore,tr=null==tn?void 0:tn.pageParam,ti=(null==tn?void 0:tn.direction)==="forward",ta=(null==tn?void 0:tn.direction)==="backward",ts=(null==(X=U.state.data)?void 0:X.pages)||[],tu=(null==(Q=U.state.data)?void 0:Q.pageParams)||[],tc=tu,td=!1,tf=B=>{Object.defineProperty(B,"signal",{enumerable:!0,get:()=>{var B,G;return null!=(B=U.signal)&&B.aborted?td=!0:null==(G=U.signal)||G.addEventListener("abort",()=>{td=!0}),U.signal}})},th=U.options.queryFn||(()=>Promise.reject("Missing queryFn")),tp=(U,B,G,Y)=>(tc=Y?[B,...tc]:[...tc,B],Y?[G,...U]:[...U,G]),tg=(B,G,Y,V)=>{if(td)return Promise.reject("Cancelled");if(void 0===Y&&!G&&B.length)return Promise.resolve(B);let Z={queryKey:U.queryKey,pageParam:Y,meta:U.options.meta};tf(Z);let J=th(Z),X=Promise.resolve(J).then(U=>tp(B,Y,U,V));return X};if(ts.length){if(ti){let B=void 0!==tr,G=B?tr:V(U.options,ts);tt=tg(ts,B,G)}else if(ta){let B=void 0!==tr,G=B?tr:Z(U.options,ts);tt=tg(ts,B,G,!0)}else{tc=[];let B=void 0===U.options.getNextPageParam,G=!te||!ts[0]||te(ts[0],0,ts);tt=G?tg([],B,tu[0]):Promise.resolve(tp([],tu[0],ts[0]));for(let G=1;G<ts.length;G++)tt=tt.then(Y=>{let Z=!te||!ts[G]||te(ts[G],G,ts);if(Z){let Z=B?tu[G]:V(U.options,Y);return tg(Y,B,Z)}return Promise.resolve(tp(Y,tu[G],ts[G]))})}}else tt=tg([]);let t_=tt.then(U=>({pages:U,pageParams:tc}));return t_}}}}function V(U,B){return null==U.getNextPageParam?void 0:U.getNextPageParam(B[B.length-1],B)}function Z(U,B){return null==U.getPreviousPageParam?void 0:U.getPreviousPageParam(B[0],B)}function J(U,B){if(U.getNextPageParam&&Array.isArray(B)){let G=V(U,B);return null!=G&&!1!==G}}function X(U,B){if(U.getPreviousPageParam&&Array.isArray(B)){let G=Z(U,B);return null!=G&&!1!==G}}G.d(B,{Gm:function(){return Y},Qy:function(){return J},ZF:function(){return X}})}
function(U,B,G){"use strict";var Y,V=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},Z=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},J=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0}),B.EvaluationReason=void 0;var X=J(G(12229)),Q=J(G(51475)),tt=J(G(7511)),te=G(49787),tn=G(13957),tr=J(G(25609)),ti=J(G(12559));!function(U){U.Network="Network",U.Bootstrap="Bootstrap",U.InvalidBootstrap="InvalidBootstrap",U.Cache="Cache",U.Prefetch="Prefetch",U.Sticky="Sticky",U.LocalOverride="LocalOverride",U.Unrecognized="Unrecognized",U.Uninitialized="Uninitialized",U.Error="Error",U.NetworkNotModified="NetworkNotModified"}(Y=B.EvaluationReason||(B.EvaluationReason={}));var ta=10,ts=function(){function U(U,B){this.overrides={gates:{},configs:{},layers:{}},this.sdkInternal=U,this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.values={},this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},has_updates:!1,time:0,evaluation_time:0},this.stickyDeviceExperiments={},this.loaded=!1,this.reason=Y.Uninitialized,B?this.bootstrap(B):this.loadFromLocalStorage()}return U.prototype.updateUser=function(U){return this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.setUserValueFromCache(U)},U.prototype.loadFromAsyncStorage=function(){return V(this,void 0,void 0,function(){var U,B;return Z(this,function(G){switch(G.label){case 0:return U=this.parseCachedValues,[4,tr.default.getItemAsync(te.INTERNAL_STORE_KEY)];case 1:return B=[G.sent()],[4,tr.default.getItemAsync(te.STICKY_DEVICE_EXPERIMENTS_KEY)];case 2:return U.apply(this,B.concat([G.sent()])),this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.loaded=!0,[2]}})})},U.prototype.bootstrap=function(U){var B,G,V,Z=this.sdkInternal.getCurrentUserCacheKey(),J=this.sdkInternal.getCurrentUser(),X=tt.default.isValid(J,U)?Y.Bootstrap:Y.InvalidBootstrap;this.loaded=!0;try{this.userValues.feature_gates=null!==(B=U.feature_gates)&&void 0!==B?B:{},this.userValues.dynamic_configs=null!==(G=U.dynamic_configs)&&void 0!==G?G:{},this.userValues.layer_configs=null!==(V=U.layer_configs)&&void 0!==V?V:{},this.userValues.evaluation_time=Date.now(),this.userValues.time=Date.now(),this.values[Z]=this.userValues,this.reason=X,this.loadOverrides()}catch(U){return}},U.prototype.loadFromLocalStorage=function(){tr.default.asyncStorage||(this.parseCachedValues(ti.default.getItem(te.INTERNAL_STORE_KEY),ti.default.getItem(te.STICKY_DEVICE_EXPERIMENTS_KEY)),this.loaded=!0)},U.prototype.isLoaded=function(){return this.loaded},U.prototype.getLastUpdateTime=function(U){var B=(0,tn.getHashValue)(JSON.stringify(U));return this.userValues.user_hash==B?this.userValues.time:null},U.prototype.parseCachedValues=function(U,B){try{this.values=U?JSON.parse(U):this.values,this.setUserValueFromCache()}catch(U){this.removeFromStorage(te.INTERNAL_STORE_KEY)}try{var G=B?JSON.parse(B):null;G&&(this.stickyDeviceExperiments=G)}catch(U){this.removeFromStorage(te.STICKY_DEVICE_EXPERIMENTS_KEY)}this.loadOverrides()},U.prototype.setUserValueFromCache=function(U){void 0===U&&(U=!1);var B,G=this.values[this.userCacheKey];return null==G?(this.resetUserValues(),this.reason=Y.Uninitialized,null):(this.userValues=G,this.reason=U?Y.Prefetch:Y.Cache,null!==(B=G.evaluation_time)&&void 0!==B?B:0)},U.prototype.removeFromStorage=function(U){tr.default.removeItemAsync(U),ti.default.removeItem(U)},U.prototype.loadOverrides=function(){if(!this.sdkInternal.getOptions().getDisableLocalOverrides()){var U=ti.default.getItem(te.OVERRIDES_STORE_KEY);if(null!=U)try{this.overrides=JSON.parse(U)}catch(U){ti.default.removeItem(te.OVERRIDES_STORE_KEY)}}},U.prototype.setEvaluationReason=function(U){this.reason=U},U.prototype.save=function(U,B){return V(this,void 0,void 0,function(){var G,V,J,X,Q,tt,ts,tu,tc;return Z(this,function(Z){switch(Z.label){case 0:if(G=(0,tn.getUserCacheKey)(U),(V=B).prefetched_user_values)for(J=0,X=Object.keys(V.prefetched_user_values);J<X.length;J++)Q=X[J],tt=V.prefetched_user_values[Q],this.values[Q]=this.convertAPIDataToCacheValues(tt,Q);if(G&&(ts=this.convertAPIDataToCacheValues(V,G),V.has_updates&&V.time&&(tu=(0,tn.getHashValue)(JSON.stringify(U)),ts.user_hash=tu),this.values[G]=ts,G==this.userCacheKey&&(this.userValues=ts,this.reason=Y.Network)),tc=Object.entries(this.values).sort(function(U,B){var G=U[1],Y=B[1];return null==G?1:null==Y?-1:(null==Y?void 0:Y.time)-(null==G?void 0:G.time)}).slice(0,ta),this.values=Object.fromEntries(tc),!tr.default.asyncStorage)return[3,2];return[4,tr.default.setItemAsync(te.INTERNAL_STORE_KEY,JSON.stringify(this.values))];case 1:return Z.sent(),[3,3];case 2:ti.default.setItem(te.INTERNAL_STORE_KEY,JSON.stringify(this.values)),Z.label=3;case 3:return[2]}})})},U.prototype.checkGate=function(U,B){void 0===B&&(B=!1);var G,V,Z=(0,tn.getHashValue)(U),J={name:U,value:!1,rule_id:"",secondary_exposures:[]};if(B||null==this.overrides.gates[U]){var X=null===(G=this.userValues)||void 0===G?void 0:G.feature_gates[Z];X&&(J=X),V=this.getEvaluationDetails(null!=X)}else J={name:U,value:this.overrides.gates[U],rule_id:"override",secondary_exposures:[]},V=this.getEvaluationDetails(!1,Y.LocalOverride);return{evaluationDetails:V,gate:J}},U.prototype.getConfig=function(U,B){void 0===B&&(B=!1);var G,V,Z,J,Q=(0,tn.getHashValue)(U);if(B||null==this.overrides.configs[U]){if((null===(G=this.userValues)||void 0===G?void 0:G.dynamic_configs[Q])!=null){var tt=null===(V=this.userValues)||void 0===V?void 0:V.dynamic_configs[Q];J=this.getEvaluationDetails(!0),Z=this.createDynamicConfig(U,tt,J)}else J=this.getEvaluationDetails(!1),Z=new X.default(U,{},"",J)}else J=this.getEvaluationDetails(!1,Y.LocalOverride),Z=new X.default(U,this.overrides.configs[U],"override",J,[],"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()));return Z},U.prototype.getExperiment=function(U,B,G){if(void 0===B&&(B=!1),void 0===G&&(G=!1),G||null==this.overrides.configs[U]){var V,Z,J=this.getLatestValue(U,"dynamic_configs");Z=this.getEvaluationDetails(null!=J);var Q=this.getPossiblyStickyValue(U,J,B,!1,Z);V=this.createDynamicConfig(U,Q,Z)}else Z=this.getEvaluationDetails(!1,Y.LocalOverride),V=new X.default(U,this.overrides.configs[U],"override",Z);return V},U.prototype.getLayer=function(U,B,G){if(null!=this.overrides.layers[B]){var V,Z,J,X,tt=this.getEvaluationDetails(!1,Y.LocalOverride);return Q.default._create(B,null!==(V=this.overrides.layers[B])&&void 0!==V?V:{},"override",tt,U)}var te=this.getLatestValue(B,"layer_configs"),tn=this.getEvaluationDetails(null!=te),tr=this.getPossiblyStickyValue(B,te,G,!0,tn);return Q.default._create(B,null!==(Z=null==tr?void 0:tr.value)&&void 0!==Z?Z:{},null!==(J=null==tr?void 0:tr.rule_id)&&void 0!==J?J:"",tn,U,null==tr?void 0:tr.secondary_exposures,null==tr?void 0:tr.undelegated_secondary_exposures,null!==(X=null==tr?void 0:tr.allocated_experiment_name)&&void 0!==X?X:"",null==tr?void 0:tr.explicit_parameters)},U.prototype.overrideConfig=function(U,B){try{JSON.stringify(B)}catch(U){console.warn("Failed to stringify given config override. Dropping",U);return}this.overrides.configs[U]=B,this.saveOverrides()},U.prototype.overrideLayer=function(U,B){try{JSON.stringify(B)}catch(U){console.warn("Failed to stringify given layer override. Dropping",U);return}this.overrides.layers[U]=B,this.saveOverrides()},U.prototype.overrideGate=function(U,B){this.overrides.gates[U]=B,this.saveOverrides()},U.prototype.removeGateOverride=function(U){null==U?this.overrides.gates={}:delete this.overrides.gates[U],this.saveOverrides()},U.prototype.removeConfigOverride=function(U){null==U?this.overrides.configs={}:delete this.overrides.configs[U],this.saveOverrides()},U.prototype.removeLayerOverride=function(U){null==U?this.overrides.layers={}:delete this.overrides.layers[U],this.saveOverrides()},U.prototype.getAllOverrides=function(){return this.overrides},U.prototype.saveOverrides=function(){try{ti.default.setItem(te.OVERRIDES_STORE_KEY,JSON.stringify(this.overrides))}catch(U){console.warn("Failed to persist gate/config overrides")}},U.prototype.getLatestValue=function(U,B){var G,Y,V,Z,J,X=(0,tn.getHashValue)(U);return null!==(V=null===(Y=null===(G=this.userValues)||void 0===G?void 0:G[B])||void 0===Y?void 0:Y[X])&&void 0!==V?V:null===(J=null===(Z=this.userValues)||void 0===Z?void 0:Z[B])||void 0===J?void 0:J[U]},U.prototype.getPossiblyStickyValue=function(U,B,G,V,Z){if(!G)return this.removeStickyValue(U),B;var J,X=this.getStickyValue(U);if(!X)return this.attemptToSaveStickyValue(U,B),B;var Q=null;return(null==(Q=V?this.getLatestValue(null!==(J=null==X?void 0:X.allocated_experiment_name)&&void 0!==J?J:"","dynamic_configs"):B)?void 0:Q.is_experiment_active)==!0?(Z.reason=Y.Sticky,X):((null==B?void 0:B.is_experiment_active)==!0?this.attemptToSaveStickyValue(U,B):this.removeStickyValue(U),B)},U.prototype.createDynamicConfig=function(U,B,G){var Y,V,Z;return new X.default(U,null!==(Y=null==B?void 0:B.value)&&void 0!==Y?Y:{},null!==(V=null==B?void 0:B.rule_id)&&void 0!==V?V:"",G,null==B?void 0:B.secondary_exposures,null!==(Z=null==B?void 0:B.allocated_experiment_name)&&void 0!==Z?Z:"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()))},U.prototype.getStickyValue=function(U){var B,G,Y=(0,tn.getHashValue)(U);return null!==(G=null===(B=this.userValues)||void 0===B?void 0:B.sticky_experiments[Y])&&void 0!==G?G:this.stickyDeviceExperiments[Y]},U.prototype.attemptToSaveStickyValue=function(U,B){if(B&&B.is_user_in_experiment&&B.is_experiment_active){var G,Y=(0,tn.getHashValue)(U);!0===B.is_device_based?this.stickyDeviceExperiments[Y]=B:(null===(G=this.userValues)||void 0===G?void 0:G.sticky_experiments)&&(this.userValues.sticky_experiments[Y]=B),this.saveStickyValuesToStorage()}},U.prototype.removeStickyValue=function(U){if(0!==Object.keys(null!==(G=null===(B=this.userValues)||void 0===B?void 0:B.sticky_experiments)&&void 0!==G?G:{}).length||0!==Object.keys(null!==(Y=this.stickyDeviceExperiments)&&void 0!==Y?Y:{}).length){var B,G,Y,V,Z=(0,tn.getHashValue)(U);null===(V=this.userValues)||void 0===V||delete V.sticky_experiments[Z],delete this.stickyDeviceExperiments[Z],this.saveStickyValuesToStorage()}},U.prototype.saveStickyValuesToStorage=function(){this.values[this.userCacheKey]=this.userValues,this.setItemToStorage(te.INTERNAL_STORE_KEY,JSON.stringify(this.values)),this.setItemToStorage(te.STICKY_DEVICE_EXPERIMENTS_KEY,JSON.stringify(this.stickyDeviceExperiments))},U.prototype.getGlobalEvaluationDetails=function(){var U,B;return{reason:null!==(U=this.reason)&&void 0!==U?U:Y.Uninitialized,time:null!==(B=this.userValues.evaluation_time)&&void 0!==B?B:0}},U.prototype.getEvaluationDetails=function(U,B){var G;return U?{reason:this.reason,time:null!==(G=this.userValues.evaluation_time)&&void 0!==G?G:Date.now()}:{reason:null!=B?B:this.reason==Y.Uninitialized?Y.Uninitialized:Y.Unrecognized,time:Date.now()}},U.prototype.resetUserValues=function(){this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},time:0,evaluation_time:0}},U.prototype.convertAPIDataToCacheValues=function(U,B){var G,Y;return{feature_gates:U.feature_gates,layer_configs:U.layer_configs,dynamic_configs:U.dynamic_configs,sticky_experiments:null!==(Y=null===(G=this.values[B])||void 0===G?void 0:G.sticky_experiments)&&void 0!==Y?Y:{},time:null==U.time||isNaN(U.time)?0:U.time,evaluation_time:Date.now()}},U.prototype.setItemToStorage=function(U,B){tr.default.asyncStorage?tr.default.setItemAsync(U,B):ti.default.setItem(U,B)},U.prototype.makeOnConfigDefaultValueFallback=function(U){var B=this;return function(G,Y,V,Z){B.isLoaded()&&B.sdkInternal.getLogger().logConfigDefaultValueFallback(U,"Parameter "+Y+" is a value of type "+Z+".\n Returning requested defaultValue type "+V,{name:G.getName(),ruleID:G.getRuleID(),parameter:Y,defaultValueType:V,valueType:Z})}},U}();B.default=ts}
function(U,B,G){"use strict";G.d(B,{CT:function(){return X},Hv:function(){return J},RJ:function(){return Q}});var Y=G(36883),V=G(44096),Z=G(25020);function J(U){let B=(0,Y.ph)(),G={sid:(0,V.DM)(),init:!0,timestamp:B,started:B,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>tt(G)};return U&&X(G,U),G}function X(U,B={}){if(!B.user||(!U.ipAddress&&B.user.ip_address&&(U.ipAddress=B.user.ip_address),U.did||B.did||(U.did=B.user.id||B.user.email||B.user.username)),U.timestamp=B.timestamp||(0,Y.ph)(),B.ignoreDuration&&(U.ignoreDuration=B.ignoreDuration),B.sid&&(U.sid=32===B.sid.length?B.sid:(0,V.DM)()),void 0!==B.init&&(U.init=B.init),!U.did&&B.did&&(U.did=`${B.did}`),"number"==typeof B.started&&(U.started=B.started),U.ignoreDuration)U.duration=void 0;else if("number"==typeof B.duration)U.duration=B.duration;else{let B=U.timestamp-U.started;U.duration=B>=0?B:0}B.release&&(U.release=B.release),B.environment&&(U.environment=B.environment),!U.ipAddress&&B.ipAddress&&(U.ipAddress=B.ipAddress),!U.userAgent&&B.userAgent&&(U.userAgent=B.userAgent),"number"==typeof B.errors&&(U.errors=B.errors),B.status&&(U.status=B.status)}function Q(U,B){let G={};B?G={status:B}:"ok"===U.status&&(G={status:"exited"}),X(U,G)}function tt(U){return(0,Z.Jr)({sid:`${U.sid}`,init:U.init,started:new Date(1e3*U.started).toISOString(),timestamp:new Date(1e3*U.timestamp).toISOString(),status:U.status,errors:U.errors,did:"number"==typeof U.did||"string"==typeof U.did?`${U.did}`:void 0,duration:U.duration,attrs:{release:U.release,environment:U.environment,ip_address:U.ipAddress,user_agent:U.userAgent}})}}
function(U,B,G){"use strict";function Y(U,B){return B||(B=U.slice(0)),Object.freeze(Object.defineProperties(U,{raw:{value:Object.freeze(B)}}))}G.d(B,{_:function(){return Y}})}
function(U,B,G){"use strict";var Y=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},V=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}};Object.defineProperty(B,"__esModule",{value:!0}),B.ExceptionEndpoint=void 0;var Z=G(5502);B.ExceptionEndpoint="https://statsigapi.net/v1/sdk_exception";var J=function(){function U(U){this.seen=new Set,this.sdkKey=U}return U.prototype.setStatsigMetadata=function(U){this.statsigMetadata=U},U.prototype.swallow=function(U,B){this.capture(U,B,function(){})},U.prototype.capture=function(U,B,G,Y){var V=this;try{var Z=B();if(Z instanceof Promise)return Z.catch(function(B){return V.onCaught(U,B,G,Y)});return Z}catch(B){return this.onCaught(U,B,G,Y)}},U.prototype.logError=function(U,G,Z){var J;return Y(this,void 0,void 0,function(){var Y,X,Q,tt,te,tn,tr,ti;return V(this,function(V){switch(V.label){case 0:if(V.trys.push([0,4,,5]),"function"!=typeof Z)return[3,2];return[4,Z()];case 1:return X=V.sent(),[3,3];case 2:X=null,V.label=3;case 3:if(Y=X,te=(tt=(Q=null!=G?G:Error("[Statsig] Error was empty"))instanceof Error)?Q.name:"No Name",this.seen.has(te))return[2];return this.seen.add(te),tr=JSON.stringify({tag:U,exception:te,info:tt?Q.stack:this.getDescription(Q),statsigMetadata:tn=null!==(J=this.statsigMetadata)&&void 0!==J?J:{},extra:null!=Y?Y:{}}),fetch(B.ExceptionEndpoint,{method:"POST",headers:{"STATSIG-API-KEY":this.sdkKey,"STATSIG-SDK-TYPE":String(tn.sdkType),"STATSIG-SDK-VERSION":String(tn.sdkVersion),"Content-Type":"application/json","Content-Length":""+tr.length},body:tr}).catch(function(){}),[3,5];case 4:return ti=V.sent(),[3,5];case 5:return[2]}})})},U.prototype.onCaught=function(U,B,G,Y){if(B instanceof Z.StatsigUninitializedError||B instanceof Z.StatsigInvalidArgumentError)throw B;return console.error("[Statsig] An unexpected exception occurred.",B),this.logError(U,B,Y),G()},U.prototype.getDescription=function(U){try{return JSON.stringify(U)}catch(U){return"[Statsig] Failed to get string for error."}},U}();B.default=J}
function(U,B,G){U.exports=G(39198)}
function(U,B){"use strict";var G=this&&this.__extends||function(){var U=function(B,G){return(U=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(U,B){U.__proto__=B}||function(U,B){for(var G in B)Object.prototype.hasOwnProperty.call(B,G)&&(U[G]=B[G])})(B,G)};return function(B,G){if("function"!=typeof G&&null!==G)throw TypeError("Class extends value "+String(G)+" is not a constructor or null");function Y(){this.constructor=B}U(B,G),B.prototype=null===G?Object.create(G):(Y.prototype=G.prototype,new Y)}}();Object.defineProperty(B,"__esModule",{value:!0}),B.StatsigInvalidArgumentError=B.StatsigUninitializedError=void 0;var Y=function(U){function B(G){var Y=U.call(this,null!=G?G:"Call and wait for initialize() to finish first.")||this;return Object.setPrototypeOf(Y,B.prototype),Y}return G(B,U),B}(Error);B.StatsigUninitializedError=Y;var V=function(U){function B(G){var Y=U.call(this,G)||this;return Object.setPrototypeOf(Y,B.prototype),Y}return G(B,U),B}(Error);B.StatsigInvalidArgumentError=V}
function(U,B){"use strict";var G=this&&this.__assign||function(){return(G=Object.assign||function(U){for(var B,G=1,Y=arguments.length;G<Y;G++)for(var V in B=arguments[G])Object.prototype.hasOwnProperty.call(B,V)&&(U[V]=B[V]);return U}).apply(this,arguments)};Object.defineProperty(B,"__esModule",{value:!0});var Y=function(){function U(U){this.user=null,this.value=null,this.metadata=null,this.eventName=U,this.statsigMetadata={},this.time=Date.now()}return U.prototype.getName=function(){return this.eventName},U.prototype.setValue=function(U){this.value=U},U.prototype.setMetadata=function(U){this.metadata=U},U.prototype.addStatsigMetadata=function(U,B){this.statsigMetadata[U]=B},U.prototype.setUser=function(U){this.user=G({},U),delete this.user.privateAttributes},U.prototype.setSecondaryExposures=function(U){void 0===U&&(U=[]),this.secondaryExposures=U},U.prototype.toJsonObject=function(){var U;return{eventName:this.eventName,user:this.user,value:this.value,metadata:this.metadata,time:this.time,statsigMetadata:this.statsigMetadata,secondaryExposures:null!==(U=this.secondaryExposures)&&void 0!==U?U:void 0}},U}();B.default=Y}
function(U,B,G){"use strict";let Y;G.d(B,{Cf:function(){return X},RU:function(){return J},kg:function(){return Y}});var V=G(96652);let Z="Sentry Logger ",J=["debug","info","warn","error","log","assert","trace"];function X(U){if(!("console"in V.n2))return U();let B=V.n2.console,G={};J.forEach(U=>{let Y=B[U]&&B[U].__sentry_original__;U in B&&Y&&(G[U]=B[U],B[U]=Y)});try{return U()}finally{Object.keys(G).forEach(U=>{B[U]=G[U]})}}function Q(){let U=!1,B={enable:()=>{U=!0},disable:()=>{U=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?J.forEach(G=>{B[G]=(...B)=>{U&&X(()=>{V.n2.console[G](`${Z}[${G}]:`,...B)})}}):J.forEach(U=>{B[U]=()=>void 0}),B}Y="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,V.YO)("logger",Q):Q()}
function(U,B,G){var Y=G(69270),V=G(84019);function Z(B,G,J){return V()?(U.exports=Z=Reflect.construct.bind(),U.exports.__esModule=!0,U.exports.default=U.exports):(U.exports=Z=function(U,B,G){var V=[null];V.push.apply(V,B);var Z=new(Function.bind.apply(U,V));return G&&Y(Z,G.prototype),Z},U.exports.__esModule=!0,U.exports.default=U.exports),Z.apply(null,arguments)}U.exports=Z,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B){"use strict";var G=this&&this.__assign||function(){return(G=Object.assign||function(U){for(var B,G=1,Y=arguments.length;G<Y;G++)for(var V in B=arguments[G])Object.prototype.hasOwnProperty.call(B,V)&&(U[V]=B[V]);return U}).apply(this,arguments)};Object.defineProperty(B,"__esModule",{value:!0});var Y=function(){function U(){}return U.isValid=function(B,G){try{var Y=G.evaluated_keys;if(!Y||"object"!=typeof Y)return!0;var V=this.copyObject(Y),Z=null==B?null:this.copyObject(B);return U.validate(V,Z)&&U.validate(Z,V)}catch(U){}return!0},U.validate=function(U,B){if(null==U)return null==B;if(null==B)return!1;for(var G=0,Y=Object.entries(U);G<Y.length;G++){var V=Y[G],Z=V[0],J=V[1];if("stableID"!==Z){if(typeof J!=typeof B[Z])return!1;if("string"==typeof J){if(J!==B[Z])return!1}else if("object"==typeof J)return this.validate(J,B[Z]);else return!1}}return!0},U.copyObject=function(U){if(null==U)return null;var B={};if((null==U?void 0:U.userID)&&(B.userID=null==U?void 0:U.userID),null==U?void 0:U.customIDs){var Y=G({},U.customIDs);delete Y.stableID,0!==Object.keys(Y).length&&(B.customIDs=Y)}return B},U}();B.default=Y}
function(U,B,G){"use strict";let Y,V,Z,J;G.d(B,{SV:function(){return nr}});var X=G(30331),Q=G(5672),tt=G(20943),te=G(10185);let tn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class tr{static __initStatic(){this.id="InboundFilters"}__init(){this.name=tr.id}constructor(U={}){this._options=U,tr.prototype.__init.call(this)}setupOnce(U,B){let G=U=>{let G=B();if(G){let B=G.getIntegration(tr);if(B){let Y=G.getClient(),V=Y?Y.getOptions():{},Z=ti(B._options,V);return ta(U,Z)?null:U}}return U};G.id=this.name,U(G)}}function ti(U={},B={}){return{allowUrls:[...U.allowUrls||[],...B.allowUrls||[]],denyUrls:[...U.denyUrls||[],...B.denyUrls||[]],ignoreErrors:[...U.ignoreErrors||[],...B.ignoreErrors||[],...tn],ignoreInternal:void 0===U.ignoreInternal||U.ignoreInternal}}function ta(U,B){return B.ignoreInternal&&tf(U)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn(`Event dropped due to being internal Sentry Error.
Event: ${(0,tt.jH)(U)}`),!0):ts(U,B.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${(0,tt.jH)(U)}`),!0):tu(U,B.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${(0,tt.jH)(U)}.
Url: ${tp(U)}`),!0):!tc(U,B.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${(0,tt.jH)(U)}.
Url: ${tp(U)}`),!0)}function ts(U,B){return!!B&&!!B.length&&td(U).some(U=>(0,te.U0)(U,B))}function tu(U,B){if(!B||!B.length)return!1;let G=tp(U);return!!G&&(0,te.U0)(G,B)}function tc(U,B){if(!B||!B.length)return!0;let G=tp(U);return!G||(0,te.U0)(G,B)}function td(U){if(U.message)return[U.message];if(U.exception)try{let{type:B="",value:G=""}=U.exception.values&&U.exception.values[0]||{};return[`${G}`,`${B}: ${G}`]}catch(B){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error(`Cannot extract message for event ${(0,tt.jH)(U)}`)}return[]}function tf(U){try{return"SentryError"===U.exception.values[0].type}catch(U){}return!1}function th(U=[]){for(let B=U.length-1;B>=0;B--){let G=U[B];if(G&&"<anonymous>"!==G.filename&&"[native code]"!==G.filename)return G.filename||null}return null}function tp(U){try{let B;try{B=U.exception.values[0].stacktrace.frames}catch(U){}return B?th(B):null}catch(B){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error(`Cannot extract url for event ${(0,tt.jH)(U)}`),null}}tr.__initStatic();var tg=G(1234);class t_{constructor(){t_.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=t_.id}setupOnce(){Y=Function.prototype.toString,Function.prototype.toString=function(...U){let B=(0,tg.HK)(this)||this;return Y.apply(B,U)}}}t_.__initStatic();var tm=G(77553);class tv extends Error{constructor(U,B="warn"){super(U),this.message=U,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=B}}let ty=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function tb(U){return"http"===U||"https"===U}function tE(U,B=!1){let{host:G,path:Y,pass:V,port:Z,projectId:J,protocol:X,publicKey:Q}=U;return`${X}://${Q}${B&&V?`:${V}`:""}@${G}${Z?`:${Z}`:""}/${Y?`${Y}/`:Y}${J}`}function tw(U){let B=ty.exec(U);if(!B)throw new tv(`Invalid Sentry Dsn: ${U}`);let[G,Y,V="",Z,J="",X]=B.slice(1),Q="",tt=X,te=tt.split("/");if(te.length>1&&(Q=te.slice(0,-1).join("/"),tt=te.pop()),tt){let U=tt.match(/^\d+/);U&&(tt=U[0])}return tS({host:Z,pass:V,path:Q,projectId:tt,port:J,protocol:G,publicKey:Y})}function tS(U){return{protocol:U.protocol,publicKey:U.publicKey||"",pass:U.pass||"",host:U.host,port:U.port||"",path:U.path||"",projectId:U.projectId}}function tx(U){if(!("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__))return;let{port:B,projectId:G,protocol:Y}=U,V=["protocol","publicKey","host","projectId"];if(V.forEach(B=>{if(!U[B])throw new tv(`Invalid Sentry Dsn: ${B} missing`)}),!G.match(/^\d+$/))throw new tv(`Invalid Sentry Dsn: Invalid projectId ${G}`);if(!tb(Y))throw new tv(`Invalid Sentry Dsn: Invalid protocol ${Y}`);if(B&&isNaN(parseInt(B,10)))throw new tv(`Invalid Sentry Dsn: Invalid port ${B}`);return!0}function tk(U){let B="string"==typeof U?tw(U):tS(U);return tx(B),B}function tT(U){let B=U.protocol?`${U.protocol}:`:"",G=U.port?`:${U.port}`:"";return`${B}//${U.host}${G}${U.path?`/${U.path}`:""}/api/`}function tC(U,B){let G=tk(U),Y=`${tT(G)}embed/error-page/`,V=`dsn=${tE(G)}`;for(let U in B)if("dsn"!==U){if("user"===U){let U=B.user;if(!U)continue;U.name&&(V+=`&name=${encodeURIComponent(U.name)}`),U.email&&(V+=`&email=${encodeURIComponent(U.email)}`)}else V+=`&${encodeURIComponent(U)}=${encodeURIComponent(B[U])}`}return`${Y}?${V}`}var tR=G(96652);let tA=tR.n2,tO=0;function tI(){return tO>0}function tN(){tO+=1,setTimeout(()=>{tO-=1})}function tD(U,B={},G){if("function"!=typeof U)return U;try{let B=U.__sentry_wrapped__;if(B)return B;if((0,tg.HK)(U))return U}catch(B){return U}let Y=function(){let Y=Array.prototype.slice.call(arguments);try{G&&"function"==typeof G&&G.apply(this,arguments);let V=Y.map(U=>tD(U,B));return U.apply(this,V)}catch(U){throw tN(),(0,X.$e)(G=>{G.addEventProcessor(U=>(B.mechanism&&((0,tt.Db)(U,void 0,void 0),(0,tt.EG)(U,B.mechanism)),U.extra={...U.extra,arguments:Y},U)),(0,X.Tb)(U)}),U}};try{for(let B in U)Object.prototype.hasOwnProperty.call(U,B)&&(Y[B]=U[B])}catch(U){}(0,tg.$Q)(Y,U),(0,tg.xp)(U,"__sentry_wrapped__",Y);try{let B=Object.getOwnPropertyDescriptor(Y,"name");B.configurable&&Object.defineProperty(Y,"name",{get:()=>U.name})}catch(U){}return Y}let tL="<anonymous>";function tP(U){try{if(!U||"function"!=typeof U)return tL;return U.name||tL}catch(U){return tL}}let tM=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class tU{static __initStatic(){this.id="TryCatch"}__init(){this.name=tU.id}constructor(U){tU.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...U}}setupOnce(){this._options.setTimeout&&(0,tg.hl)(tA,"setTimeout",tB),this._options.setInterval&&(0,tg.hl)(tA,"setInterval",tB),this._options.requestAnimationFrame&&(0,tg.hl)(tA,"requestAnimationFrame",tj),this._options.XMLHttpRequest&&"XMLHttpRequest"in tA&&(0,tg.hl)(XMLHttpRequest.prototype,"send",tG);let U=this._options.eventTarget;if(U){let B=Array.isArray(U)?U:tM;B.forEach(tF)}}}function tB(U){return function(...B){let G=B[0];return B[0]=tD(G,{mechanism:{data:{function:tP(U)},handled:!0,type:"instrument"}}),U.apply(this,B)}}function tj(U){return function(B){return U.apply(this,[tD(B,{mechanism:{data:{function:"requestAnimationFrame",handler:tP(U)},handled:!0,type:"instrument"}})])}}function tG(U){return function(...B){let G=this,Y=["onload","onerror","onprogress","onreadystatechange"];return Y.forEach(U=>{U in G&&"function"==typeof G[U]&&(0,tg.hl)(G,U,function(B){let G={mechanism:{data:{function:U,handler:tP(B)},handled:!0,type:"instrument"}},Y=(0,tg.HK)(B);return Y&&(G.mechanism.data.handler=tP(Y)),tD(B,G)})}),U.apply(this,B)}}function tF(U){let B=tA,G=B[U]&&B[U].prototype;G&&G.hasOwnProperty&&G.hasOwnProperty("addEventListener")&&((0,tg.hl)(G,"addEventListener",function(B){return function(G,Y,V){try{"function"==typeof Y.handleEvent&&(Y.handleEvent=tD(Y.handleEvent,{mechanism:{data:{function:"handleEvent",handler:tP(Y),target:U},handled:!0,type:"instrument"}}))}catch(U){}return B.apply(this,[G,tD(Y,{mechanism:{data:{function:"addEventListener",handler:tP(Y),target:U},handled:!0,type:"instrument"}}),V])}}),(0,tg.hl)(G,"removeEventListener",function(U){return function(B,G,Y){let V=G;try{let G=V&&V.__sentry_wrapped__;G&&U.call(this,B,G,Y)}catch(U){}return U.call(this,B,V,Y)}}))}tU.__initStatic();var tH=G(66464);let tz=(0,tR.Rf)();function t$(){if(!("fetch"in tz))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(U){return!1}}function tq(U){return U&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(U.toString())}function tY(){if(!t$())return!1;if(tq(tz.fetch))return!0;let U=!1,B=tz.document;if(B&&"function"==typeof B.createElement)try{let G=B.createElement("iframe");G.hidden=!0,B.head.appendChild(G),G.contentWindow&&G.contentWindow.fetch&&(U=tq(G.contentWindow.fetch)),B.head.removeChild(G)}catch(U){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",U)}return U}function tV(){let U=tz.chrome,B=U&&U.app&&U.app.runtime,G="history"in tz&&!!tz.history.pushState&&!!tz.history.replaceState;return!B&&G}let tW=(0,tR.Rf)(),tZ={},tK={};function tJ(U){if(!tK[U])switch(tK[U]=!0,U){case"console":t0();break;case"dom":en();break;case"xhr":t4();break;case"fetch":t5();break;case"history":t8();break;case"error":ei();break;case"unhandledrejection":ea();break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn("unknown instrumentation type:",U);return}}function tX(U,B){tZ[U]=tZ[U]||[],tZ[U].push(B),tJ(U)}function tQ(U,B){if(U&&tZ[U])for(let G of tZ[U]||[])try{G(B)}catch(B){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error(`Error while triggering instrumentation handler.
Type: ${U}
Name: ${tP(G)}
Error:`,B)}}function t0(){"console"in tW&&Q.RU.forEach(function(U){U in tW.console&&(0,tg.hl)(tW.console,U,function(B){return function(...G){tQ("console",{args:G,level:U}),B&&B.apply(tW.console,G)}})})}function t5(){tY()&&(0,tg.hl)(tW,"fetch",function(U){return function(...B){let G={args:B,fetchData:{method:t3(B),url:t6(B)},startTimestamp:Date.now()};return tQ("fetch",{...G}),U.apply(tW,B).then(U=>(tQ("fetch",{...G,endTimestamp:Date.now(),response:U}),U),U=>{throw tQ("fetch",{...G,endTimestamp:Date.now(),error:U}),U})}})}function t3(U=[]){return"Request"in tW&&(0,tH.V9)(U[0],Request)&&U[0].method?String(U[0].method).toUpperCase():U[1]&&U[1].method?String(U[1].method).toUpperCase():"GET"}function t6(U=[]){return"string"==typeof U[0]?U[0]:"Request"in tW&&(0,tH.V9)(U[0],Request)?U[0].url:String(U[0])}function t4(){if(!("XMLHttpRequest"in tW))return;let U=XMLHttpRequest.prototype;(0,tg.hl)(U,"open",function(U){return function(...B){let G=this,Y=B[1],V=G.__sentry_xhr__={method:(0,tH.HD)(B[0])?B[0].toUpperCase():B[0],url:B[1]};(0,tH.HD)(Y)&&"POST"===V.method&&Y.match(/sentry_key/)&&(G.__sentry_own_request__=!0);let Z=function(){if(4===G.readyState){try{V.status_code=G.status}catch(U){}tQ("xhr",{args:B,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:G})}};return"onreadystatechange"in G&&"function"==typeof G.onreadystatechange?(0,tg.hl)(G,"onreadystatechange",function(U){return function(...B){return Z(),U.apply(G,B)}}):G.addEventListener("readystatechange",Z),U.apply(G,B)}}),(0,tg.hl)(U,"send",function(U){return function(...B){return this.__sentry_xhr__&&void 0!==B[0]&&(this.__sentry_xhr__.body=B[0]),tQ("xhr",{args:B,startTimestamp:Date.now(),xhr:this}),U.apply(this,B)}})}function t8(){if(!tV())return;let U=tW.onpopstate;function B(U){return function(...B){let G=B.length>2?B[2]:void 0;if(G){let U=V,B=String(G);V=B,tQ("history",{from:U,to:B})}return U.apply(this,B)}}tW.onpopstate=function(...B){let G=tW.location.href,Y=V;if(V=G,tQ("history",{from:Y,to:G}),U)try{return U.apply(this,B)}catch(U){}},(0,tg.hl)(tW.history,"pushState",B),(0,tg.hl)(tW.history,"replaceState",B)}let t7=1e3;function t9(U,B){if(!U||U.type!==B.type)return!0;try{if(U.target!==B.target)return!0}catch(U){}return!1}function et(U){if("keypress"!==U.type)return!1;try{let B=U.target;if(!B||!B.tagName)return!0;if("INPUT"===B.tagName||"TEXTAREA"===B.tagName||B.isContentEditable)return!1}catch(U){}return!0}function ee(U,B=!1){return G=>{if(!G||J===G||et(G))return;let Y="keypress"===G.type?"input":G.type;void 0===Z?(U({event:G,name:Y,global:B}),J=G):t9(J,G)&&(U({event:G,name:Y,global:B}),J=G),clearTimeout(Z),Z=tW.setTimeout(()=>{Z=void 0},t7)}}function en(){if(!("document"in tW))return;let U=tQ.bind(null,"dom"),B=ee(U,!0);tW.document.addEventListener("click",B,!1),tW.document.addEventListener("keypress",B,!1),["EventTarget","Node"].forEach(B=>{let G=tW[B]&&tW[B].prototype;G&&G.hasOwnProperty&&G.hasOwnProperty("addEventListener")&&((0,tg.hl)(G,"addEventListener",function(B){return function(G,Y,V){if("click"===G||"keypress"==G)try{let Y=this,Z=Y.__sentry_instrumentation_handlers__=Y.__sentry_instrumentation_handlers__||{},J=Z[G]=Z[G]||{refCount:0};if(!J.handler){let Y=ee(U);J.handler=Y,B.call(this,G,Y,V)}J.refCount+=1}catch(U){}return B.call(this,G,Y,V)}}),(0,tg.hl)(G,"removeEventListener",function(U){return function(B,G,Y){if("click"===B||"keypress"==B)try{let G=this,V=G.__sentry_instrumentation_handlers__||{},Z=V[B];Z&&(Z.refCount-=1,Z.refCount<=0&&(U.call(this,B,Z.handler,Y),Z.handler=void 0,delete V[B]),0===Object.keys(V).length&&delete G.__sentry_instrumentation_handlers__)}catch(U){}return U.call(this,B,G,Y)}}))})}let er=null;function ei(){er=tW.onerror,tW.onerror=function(U,B,G,Y,V){return tQ("error",{column:Y,error:V,line:G,msg:U,url:B}),!!er&&er.apply(this,arguments)}}let eo=null;function ea(){eo=tW.onunhandledrejection,tW.onunhandledrejection=function(U){return tQ("unhandledrejection",U),!eo||eo.apply(this,arguments)}}var es=G(33154);let eu=["fatal","error","warning","log","info","debug"];function ec(U){return"warn"===U?"warning":eu.includes(U)?U:"log"}function ed(U){if(!U)return{};let B=U.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!B)return{};let G=B[6]||"",Y=B[8]||"";return{host:B[4],path:B[5],protocol:B[2],relative:B[5]+G+Y}}let ef="Breadcrumbs";class eh{static __initStatic(){this.id=ef}__init(){this.name=eh.id}constructor(U){eh.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...U}}setupOnce(){this.options.console&&tX("console",eg),this.options.dom&&tX("dom",ep(this.options.dom)),this.options.xhr&&tX("xhr",e_),this.options.fetch&&tX("fetch",em),this.options.history&&tX("history",ey)}}function ep(U){return function(B){let G;let Y="object"==typeof U?U.serializeAttribute:void 0;"string"==typeof Y&&(Y=[Y]);try{G=B.event.target?(0,es.Rt)(B.event.target,Y):(0,es.Rt)(B.event,Y)}catch(U){G="<unknown>"}0!==G.length&&(0,tm.Gd)().addBreadcrumb({category:`ui.${B.name}`,message:G},{event:B.event,name:B.name,global:B.global})}}function eg(U){for(let B=0;B<U.args.length;B++)if("ref=Ref<"===U.args[B]){U.args[B+1]="viewRef";break}let B={category:"console",data:{arguments:U.args,logger:"console"},level:ec(U.level),message:(0,te.nK)(U.args," ")};if("assert"===U.level){if(!1!==U.args[0])return;B.message=`Assertion failed: ${(0,te.nK)(U.args.slice(1)," ")||"console.assert"}`,B.data.arguments=U.args.slice(1)}(0,tm.Gd)().addBreadcrumb(B,{input:U.args,level:U.level})}function e_(U){if(U.endTimestamp){if(U.xhr.__sentry_own_request__)return;let{method:B,url:G,status_code:Y,body:V}=U.xhr.__sentry_xhr__||{};(0,tm.Gd)().addBreadcrumb({category:"xhr",data:{method:B,url:G,status_code:Y},type:"http"},{xhr:U.xhr,input:V});return}}function em(U){!U.endTimestamp||U.fetchData.url.match(/sentry_key/)&&"POST"===U.fetchData.method||(U.error?(0,tm.Gd)().addBreadcrumb({category:"fetch",data:U.fetchData,level:"error",type:"http"},{data:U.error,input:U.args}):(0,tm.Gd)().addBreadcrumb({category:"fetch",data:{...U.fetchData,status_code:U.response.status},type:"http"},{input:U.args,response:U.response}))}function ey(U){let B=U.from,G=U.to,Y=ed(tA.location.href),V=ed(B),Z=ed(G);V.path||(V=Y),Y.protocol===Z.protocol&&Y.host===Z.host&&(G=Z.relative),Y.protocol===V.protocol&&Y.host===V.host&&(B=V.relative),(0,tm.Gd)().addBreadcrumb({category:"navigation",data:{from:B,to:G}})}function eb(){let U="function"==typeof WeakSet,B=U?new WeakSet:[];return[function(G){if(U)return!!B.has(G)||(B.add(G),!1);for(let U=0;U<B.length;U++){let Y=B[U];if(Y===G)return!0}return B.push(G),!1},function(G){if(U)B.delete(G);else for(let U=0;U<B.length;U++)if(B[U]===G){B.splice(U,1);break}}]}function eE(U,B=Infinity,G=Infinity){try{return eS("",U,B,G)}catch(U){return{ERROR:`**non-serializable** (${U})`}}}function ew(U,B=3,G=102400){let Y=eE(U,B);return eC(Y)>G?ew(U,B-1,G):Y}function eS(U,B,G=Infinity,Y=Infinity,V=eb()){let[Z,J]=V;if(null===B||["number","boolean","string"].includes(typeof B)&&!(0,tH.i2)(B))return B;let X=ek(U,B);if(!X.startsWith("[object "))return X;if(B.__sentry_skip_normalization__)return B;if(0===G)return X.replace("object ","");if(Z(B))return"[Circular ~]";let Q=B;if(Q&&"function"==typeof Q.toJSON)try{let U=Q.toJSON();return eS("",U,G-1,Y,V)}catch(U){}let tt=Array.isArray(B)?[]:{},te=0,tn=(0,tg.Sh)(B);for(let U in tn){if(!Object.prototype.hasOwnProperty.call(tn,U))continue;if(te>=Y){tt[U]="[MaxProperties ~]";break}let B=tn[U];tt[U]=eS(U,B,G-1,Y,V),te+=1}return J(B),tt}function ek(U,B){try{if("domain"===U&&B&&"object"==typeof B&&B._events)return"[Domain]";if("domainEmitter"===U)return"[DomainEmitter]";if(void 0!==G.g&&B===G.g)return"[Global]";if("undefined"!=typeof window&&B===window)return"[Window]";if("undefined"!=typeof document&&B===document)return"[Document]";if((0,tH.Cy)(B))return"[SyntheticEvent]";if("number"==typeof B&&B!=B)return"[NaN]";if(void 0===B)return"[undefined]";if("function"==typeof B)return`[Function: ${tP(B)}]`;if("symbol"==typeof B)return`[${String(B)}]`;if("bigint"==typeof B)return`[BigInt: ${String(B)}]`;return`[object ${Object.getPrototypeOf(B).constructor.name}]`}catch(U){return`**non-serializable** (${U})`}}function eT(U){return~-encodeURI(U).split(/%..|./).length}function eC(U){return eT(JSON.stringify(U))}function eR(U,B){let G=eI(U,B),Y={type:B&&B.name,value:eL(B)};return G.length&&(Y.stacktrace={frames:G}),void 0===Y.type&&""===Y.value&&(Y.value="Unrecoverable error caught"),Y}function eA(U,B,G,Y){let V=(0,tm.Gd)(),Z=V.getClient(),J=Z&&Z.getOptions().normalizeDepth,X={exception:{values:[{type:(0,tH.cO)(B)?B.constructor.name:Y?"UnhandledRejection":"Error",value:`Non-Error ${Y?"promise rejection":"exception"} captured with keys: ${(0,tg.zf)(B)}`}]},extra:{__serialized__:ew(B,J)}};if(G){let B=eI(U,G);B.length&&(X.exception.values[0].stacktrace={frames:B})}return X}function eO(U,B){return{exception:{values:[eR(U,B)]}}}function eI(U,B){let G=B.stacktrace||B.stack||"",Y=eD(B);try{return U(G,Y)}catch(U){}return[]}eh.__initStatic();let eN=/Minified React error #\d+;/i;function eD(U){if(U){if("number"==typeof U.framesToPop)return U.framesToPop;if(eN.test(U.message))return 1}return 0}function eL(U){let B=U&&U.message;return B?B.error&&"string"==typeof B.error.message?B.error.message:B:"No error message"}function eP(U,B,G,Y,V){let Z;if((0,tH.VW)(B)&&B.error){let G=B;return eO(U,G.error)}if((0,tH.TX)(B)||(0,tH.fm)(B)){let V=B;if("stack"in B)Z=eO(U,B);else{let B=V.name||((0,tH.TX)(V)?"DOMError":"DOMException"),J=V.message?`${B}: ${V.message}`:B;Z=eM(U,J,G,Y),(0,tt.Db)(Z,J)}return"code"in V&&(Z.tags={...Z.tags,"DOMException.code":`${V.code}`}),Z}if((0,tH.VZ)(B))return eO(U,B);if((0,tH.PO)(B)||(0,tH.cO)(B)){let Y=B;return Z=eA(U,Y,G,V),(0,tt.EG)(Z,{synthetic:!0}),Z}return Z=eM(U,B,G,Y),(0,tt.Db)(Z,`${B}`,void 0),(0,tt.EG)(Z,{synthetic:!0}),Z}function eM(U,B,G,Y){let V={message:B};if(Y&&G){let Y=eI(U,G);Y.length&&(V.exception={values:[{value:B,stacktrace:{frames:Y}}]})}return V}class eU{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=eU.id}__init2(){this._installFunc={onerror:eB,onunhandledrejection:ej}}constructor(U){eU.prototype.__init.call(this),eU.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...U}}setupOnce(){Error.stackTraceLimit=50;let U=this._options;for(let B in U){let G=this._installFunc[B];G&&U[B]&&(ez(B),G(),this._installFunc[B]=void 0)}}}function eB(){tX("error",U=>{let[B,G,Y]=eq();if(!B.getIntegration(eU))return;let{msg:V,url:Z,line:J,column:X,error:Q}=U;if(tI()||Q&&Q.__sentry_own_request__)return;let tt=void 0===Q&&(0,tH.HD)(V)?eF(V,Z,J,X):eH(eP(G,Q||V,void 0,Y,!1),Z,J,X);tt.level="error",e$(B,Q,tt,"onerror")})}function ej(){tX("unhandledrejection",U=>{let[B,G,Y]=eq();if(!B.getIntegration(eU))return;let V=U;try{"reason"in U?V=U.reason:"detail"in U&&"reason"in U.detail&&(V=U.detail.reason)}catch(U){}if(tI()||V&&V.__sentry_own_request__)return!0;let Z=(0,tH.pt)(V)?eG(V):eP(G,V,void 0,Y,!0);Z.level="error",e$(B,V,Z,"onunhandledrejection")})}function eG(U){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(U)}`}]}}}function eF(U,B,G,Y){let V=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,Z=(0,tH.VW)(U)?U.message:U,J="Error",X=Z.match(V);X&&(J=X[1],Z=X[2]);let Q={exception:{values:[{type:J,value:Z}]}};return eH(Q,B,G,Y)}function eH(U,B,G,Y){let V=U.exception=U.exception||{},Z=V.values=V.values||[],J=Z[0]=Z[0]||{},X=J.stacktrace=J.stacktrace||{},Q=X.frames=X.frames||[],tt=isNaN(parseInt(Y,10))?void 0:Y,te=isNaN(parseInt(G,10))?void 0:G,tn=(0,tH.HD)(B)&&B.length>0?B:(0,es.l4)();return 0===Q.length&&Q.push({colno:tt,filename:tn,function:"?",in_app:!0,lineno:te}),U}function ez(U){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.log(`Global Handler attached: ${U}`)}function e$(U,B,G,Y){(0,tt.EG)(G,{handled:!1,type:Y}),U.captureEvent(G,{originalException:B})}function eq(){let U=(0,tm.Gd)(),B=U.getClient(),G=B&&B.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[U,G.stackParser,G.attachStacktrace]}eU.__initStatic();var eY=G(753);let eV="cause",eW=5;class eZ{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=eZ.id}constructor(U={}){eZ.prototype.__init.call(this),this._key=U.key||eV,this._limit=U.limit||eW}setupOnce(){let U=(0,tm.Gd)().getClient();U&&(0,eY.c)((B,G)=>{let Y=(0,tm.Gd)().getIntegration(eZ);return Y?eK(U.getOptions().stackParser,Y._key,Y._limit,B,G):B})}}function eK(U,B,G,Y,V){if(!Y.exception||!Y.exception.values||!V||!(0,tH.V9)(V.originalException,Error))return Y;let Z=eJ(U,G,V.originalException,B);return Y.exception.values=[...Z,...Y.exception.values],Y}function eJ(U,B,G,Y,V=[]){if(!(0,tH.V9)(G[Y],Error)||V.length+1>=B)return V;let Z=eR(U,G[Y]);return eJ(U,B,G[Y],Y,[Z,...V])}eZ.__initStatic();class eX{constructor(){eX.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=eX.id}setupOnce(U,B){let G=U=>{let G=B().getIntegration(eX);if(G){try{if(eQ(U,G._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(U){}return G._previousEvent=U}return U};G.id=this.name,U(G)}}function eQ(U,B){return!!B&&!!(e0(U,B)||e1(U,B))}function e0(U,B){let G=U.message,Y=B.message;return!!((G||Y)&&(!G||Y)&&(G||!Y)&&G===Y&&e6(U,B)&&e5(U,B))}function e1(U,B){let G=e4(B),Y=e4(U);return!!(G&&Y&&G.type===Y.type&&G.value===Y.value&&e6(U,B)&&e5(U,B))}function e5(U,B){let G=e8(U),Y=e8(B);if(!G&&!Y)return!0;if(G&&!Y||!G&&Y||Y.length!==G.length)return!1;for(let U=0;U<Y.length;U++){let B=Y[U],V=G[U];if(B.filename!==V.filename||B.lineno!==V.lineno||B.colno!==V.colno||B.function!==V.function)return!1}return!0}function e6(U,B){let G=U.fingerprint,Y=B.fingerprint;if(!G&&!Y)return!0;if(G&&!Y||!G&&Y)return!1;try{return!(G.join("")!==Y.join(""))}catch(U){return!1}}function e4(U){return U.exception&&U.exception.values&&U.exception.values[0]}function e8(U){let B=U.exception;if(B)try{return B.values[0].stacktrace.frames}catch(U){}}eX.__initStatic();class e7{constructor(){e7.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=e7.id}setupOnce(){(0,eY.c)(U=>{if((0,tm.Gd)().getIntegration(e7)){if(!tA.navigator&&!tA.location&&!tA.document)return U;let B=U.request&&U.request.url||tA.location&&tA.location.href,{referrer:G}=tA.document||{},{userAgent:Y}=tA.navigator||{},V={...U.request&&U.request.headers,...G&&{Referer:G},...Y&&{"User-Agent":Y}},Z={...B&&{url:B},headers:V};return{...U,request:Z}}return U})}}function e9(U={},B=(0,tm.Gd)()){if(!tA.document){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error("Global document not defined in showReportDialog call");return}let{client:G,scope:Y}=B.getStackTop(),V=U.dsn||G&&G.getDsn();if(!V){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error("DSN not configured for showReportDialog call");return}Y&&(U.user={...Y.getUser(),...U.user}),U.eventId||(U.eventId=B.lastEventId());let Z=tA.document.createElement("script");Z.async=!0,Z.src=tC(V,U),U.onLoad&&(Z.onload=U.onLoad);let J=tA.document.head||tA.document.body;J?J.appendChild(Z):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.error("Not injecting report dialog. No injection point found in HTML")}e7.__initStatic(),new tr,new t_,new tU,new eh,new eU,new eZ,new eX,new e7,G(26095);var nt=G(70079);function ne(U){let B=U.match(/^([^.]+)/);return null!==B&&parseInt(B[0])>=17}let nn={componentStack:null,error:null,eventId:null};class nr extends nt.Component{constructor(...U){super(...U),nr.prototype.__init.call(this),nr.prototype.__init2.call(this)}__init(){this.state=nn}componentDidCatch(U,{componentStack:B}){let{beforeCapture:G,onError:Y,showDialog:V,dialogOptions:Z}=this.props;(0,X.$e)(J=>{if(ne(nt.version)&&(0,tH.VZ)(U)){let G=Error(U.message);G.name=`React ErrorBoundary ${G.name}`,G.stack=B,U.cause=G}G&&G(J,U,B);let Q=(0,X.Tb)(U,{contexts:{react:{componentStack:B}}});Y&&Y(U,B,Q),V&&e9({...Z,eventId:Q}),this.setState({error:U,componentStack:B,eventId:Q})})}componentDidMount(){let{onMount:U}=this.props;U&&U()}componentWillUnmount(){let{error:U,componentStack:B,eventId:G}=this.state,{onUnmount:Y}=this.props;Y&&Y(U,B,G)}__init2(){this.resetErrorBoundary=()=>{let{onReset:U}=this.props,{error:B,componentStack:G,eventId:Y}=this.state;U&&U(B,G,Y),this.setState(nn)}}render(){let{fallback:U,children:B}=this.props,{error:G,componentStack:Y,eventId:V}=this.state;if(G){let B;return(B="function"==typeof U?U({error:G,componentStack:Y,resetError:this.resetErrorBoundary,eventId:V}):U,nt.isValidElement(B))?B:(U&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Q.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof B?B():B}}}
function(U,B,G){"use strict";G.d(B,{WV:function(){return Q},jH:function(){return tt}});var Y=G(45675),V=G(70079),Z=G(99581),J=G(94251);let X=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Q=X.reduce((U,B)=>{let G=(0,V.forwardRef)((U,G)=>{let{asChild:Z,...X}=U,Q=Z?J.g7:B;return(0,V.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,V.createElement)(Q,(0,Y.Z)({},X,{ref:G}))});return G.displayName=`Primitive.${B}`,{...U,[B]:G}},{});function tt(U,B){U&&(0,Z.flushSync)(()=>U.dispatchEvent(B))}}
function(U,B,G){"use strict";function Y(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}G.d(B,{l$:function(){return J},KV:function(){return Z}}),U=G.hmd(U);var V=G(44675);function Z(){return!Y()&&"[object process]"===Object.prototype.toString.call(void 0!==V?V:0)}function J(U,B){return U.require(B)}}
function(U,B,G){var Y=G(91921),V=G(16861),Z=G(60925),J=G(10608);function X(U,B){return Y(U)||V(U,B)||Z(U,B)||J()}U.exports=X,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{W:function(){return V}});var Y=G(70079);function V(U){let B=(0,Y.useRef)(U);return(0,Y.useEffect)(()=>{B.current=U}),(0,Y.useMemo)(()=>(...U)=>{var G;return null===(G=B.current)||void 0===G?void 0:G.call(B,...U)},[])}}
function(U,B,G){"use strict";G.d(B,{z:function(){return Q}});var Y=G(70079),V=G(99581),Z=G(49270),J=G(79388);function X(U,B){return(0,Y.useReducer)((U,G)=>{let Y=B[U][G];return null!=Y?Y:U},U)}let Q=U=>{let{present:B,children:G}=U,V=tt(B),J="function"==typeof G?G({present:V.isPresent}):Y.Children.only(G),X=(0,Z.e)(V.ref,J.ref),Q="function"==typeof G;return Q||V.isPresent?(0,Y.cloneElement)(J,{ref:X}):null};function tt(U){let[B,G]=(0,Y.useState)(),Z=(0,Y.useRef)({}),Q=(0,Y.useRef)(U),tt=(0,Y.useRef)("none"),tn=U?"mounted":"unmounted",[tr,ti]=X(tn,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,Y.useEffect)(()=>{let U=te(Z.current);tt.current="mounted"===tr?U:"none"},[tr]),(0,J.b)(()=>{let B=Z.current,G=Q.current,Y=G!==U;if(Y){let Y=tt.current,V=te(B);if(U)ti("MOUNT");else if("none"===V||(null==B?void 0:B.display)==="none")ti("UNMOUNT");else{let U=Y!==V;G&&U?ti("ANIMATION_OUT"):ti("UNMOUNT")}Q.current=U}},[U,ti]),(0,J.b)(()=>{if(B){let U=U=>{let G=te(Z.current),Y=G.includes(U.animationName);U.target===B&&Y&&(0,V.flushSync)(()=>ti("ANIMATION_END"))},G=U=>{U.target===B&&(tt.current=te(Z.current))};return B.addEventListener("animationstart",G),B.addEventListener("animationcancel",U),B.addEventListener("animationend",U),()=>{B.removeEventListener("animationstart",G),B.removeEventListener("animationcancel",U),B.removeEventListener("animationend",U)}}ti("ANIMATION_END")},[B,ti]),{isPresent:["mounted","unmountSuspended"].includes(tr),ref:(0,Y.useCallback)(U=>{U&&(Z.current=getComputedStyle(U)),G(U)},[])}}function te(U){return(null==U?void 0:U.animationName)||"none"}Q.displayName="Presence"}
function(U,B,G){"use strict";var Y=G(98421);Object.defineProperty(B,"__esModule",{value:!0}),B.BroadcastChannel=ti,B.apiBaseUrl=tn,B.fetchData=tt,B.now=tr;var V=Y(G(23809)),Z=Y(G(67860)),J=Y(G(21121));function X(U,B){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(U);B&&(Y=Y.filter(function(B){return Object.getOwnPropertyDescriptor(U,B).enumerable})),G.push.apply(G,Y)}return G}function Q(U){for(var B=1;B<arguments.length;B++){var G=null!=arguments[B]?arguments[B]:{};B%2?X(Object(G),!0).forEach(function(B){(0,Z.default)(U,B,G[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):X(Object(G)).forEach(function(B){Object.defineProperty(U,B,Object.getOwnPropertyDescriptor(G,B))})}return U}function tt(U,B,G){return te.apply(this,arguments)}function te(){return(te=(0,J.default)(V.default.mark(function U(B,G,Y){var Z,J,X,Q,tt,te,tr,ti,ta=arguments;return V.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return J=(Z=ta.length>3&&void 0!==ta[3]?ta[3]:{}).ctx,Q=void 0===(X=Z.req)?null==J?void 0:J.req:X,tt="".concat(tn(G),"/").concat(B),U.prev=2,te=null!=Q&&Q.headers.cookie?{headers:{cookie:Q.headers.cookie}}:{},U.next=6,fetch(tt,te);case 6:return tr=U.sent,U.next=9,tr.json();case 9:if(ti=U.sent,tr.ok){U.next=12;break}throw ti;case 12:return U.abrupt("return",Object.keys(ti).length>0?ti:null);case 15:return U.prev=15,U.t0=U.catch(2),Y.error("CLIENT_FETCH_ERROR",{error:U.t0,url:tt}),U.abrupt("return",null);case 19:case"end":return U.stop()}},U,null,[[2,15]])}))).apply(this,arguments)}function tn(U){return"undefined"==typeof window?"".concat(U.baseUrlServer).concat(U.basePathServer):U.basePath}function tr(){return Math.floor(Date.now()/1e3)}function ti(){var U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"nextauth.message";return{receive:function(B){var G=function(G){if(G.key===U){var Y,V=JSON.parse(null!==(Y=G.newValue)&&void 0!==Y?Y:"{}");(null==V?void 0:V.event)==="session"&&null!=V&&V.data&&B(V)}};return window.addEventListener("storage",G),function(){return window.removeEventListener("storage",G)}},post:function(B){if("undefined"!=typeof window)try{localStorage.setItem(U,JSON.stringify(Q(Q({},B),{},{timestamp:tr()})))}catch(U){}}}}}
function(U,B,G){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return G(68502)}])}
function(U,B,G){"use strict";G.d(B,{$G:function(){return V},U0:function(){return X},nK:function(){return Z}});var Y=G(66464);function V(U,B=0){return"string"!=typeof U||0===B?U:U.length<=B?U:`${U.substr(0,B)}...`}function Z(U,B){if(!Array.isArray(U))return"";let G=[];for(let B=0;B<U.length;B++){let Y=U[B];try{G.push(String(Y))}catch(U){G.push("[value cannot be serialized]")}}return G.join(B)}function J(U,B,G=!1){return!!(0,Y.HD)(U)&&((0,Y.Kj)(B)?B.test(U):!!(0,Y.HD)(B)&&(G?U===B:U.includes(B)))}function X(U,B=[],G=!1){return B.some(B=>J(U,B,G))}}
function(U,B,G){"use strict";G.d(B,{C:function(){return tn}});var Y=G(39889),V=G(83608),Z=G(34239),J=G(33614);function X(U,B){return B?(0,Y.pi)((0,Y.pi)((0,Y.pi)({},U||{}),B||{}),Object.keys(U).reduce(function(G,V){return G[V]=(0,Y.pi)((0,Y.pi)({},U[V]),B[V]||{}),G},{})):U}function Q(U,B){return B?Object.keys(U).reduce(function(G,Y){return G[Y]=X(U[Y],B[Y]),G},(0,Y.pi)({},U)):U}function tt(U){return{create:function(){return{get:function(B){return U[B]},set:function(B,G){U[B]=G}}}}}function te(U){return void 0===U&&(U={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,Z.H)(function(){for(var U,B=[],G=0;G<arguments.length;G++)B[G]=arguments[G];return new((U=Intl.NumberFormat).bind.apply(U,(0,Y.ev)([void 0],B,!1)))},{cache:tt(U.number),strategy:Z.A.variadic}),getDateTimeFormat:(0,Z.H)(function(){for(var U,B=[],G=0;G<arguments.length;G++)B[G]=arguments[G];return new((U=Intl.DateTimeFormat).bind.apply(U,(0,Y.ev)([void 0],B,!1)))},{cache:tt(U.dateTime),strategy:Z.A.variadic}),getPluralRules:(0,Z.H)(function(){for(var U,B=[],G=0;G<arguments.length;G++)B[G]=arguments[G];return new((U=Intl.PluralRules).bind.apply(U,(0,Y.ev)([void 0],B,!1)))},{cache:tt(U.pluralRules),strategy:Z.A.variadic})}}var tn=function(){function U(B,G,V,Z){void 0===G&&(G=U.defaultLocale);var X=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(U){var B=X.formatToParts(U);if(1===B.length)return B[0].value;var G=B.reduce(function(U,B){return U.length&&B.type===J.du.literal&&"string"==typeof U[U.length-1]?U[U.length-1]+=B.value:U.push(B.value),U},[]);return G.length<=1?G[0]||"":G},this.formatToParts=function(U){return(0,J.FK)(X.ast,X.locales,X.formatters,X.formats,U,void 0,X.message)},this.resolvedOptions=function(){var U;return{locale:(null===(U=X.resolvedLocale)||void 0===U?void 0:U.toString())||Intl.NumberFormat.supportedLocalesOf(X.locales)[0]}},this.getAst=function(){return X.ast},this.locales=G,this.resolvedLocale=U.resolveLocale(G),"string"==typeof B){if(this.message=B,!U.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var tt=Z||{},tn=(tt.formatters,(0,Y._T)(tt,["formatters"]));this.ast=U.__parse(B,(0,Y.pi)((0,Y.pi)({},tn),{locale:this.resolvedLocale}))}else this.ast=B;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=Q(U.formats,V),this.formatters=Z&&Z.formatters||te(this.formatterCache)}return Object.defineProperty(U,"defaultLocale",{get:function(){return U.memoizedDefaultLocale||(U.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),U.memoizedDefaultLocale},enumerable:!1,configurable:!0}),U.memoizedDefaultLocale=null,U.resolveLocale=function(U){if(void 0!==Intl.Locale){var B=Intl.NumberFormat.supportedLocalesOf(U);return new Intl.Locale(B.length>0?B[0]:"string"==typeof U?U:U[0])}},U.__parse=V.Qc,U.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},U}()}
function(U,B,G){"use strict";/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Y=G(70079);function V(U,B){return U===B&&(0!==U||1/U==1/B)||U!=U&&B!=B}var Z="function"==typeof Object.is?Object.is:V,J=Y.useState,X=Y.useEffect,Q=Y.useLayoutEffect,tt=Y.useDebugValue;function te(U,B){var G=B(),Y=J({inst:{value:G,getSnapshot:B}}),V=Y[0].inst,Z=Y[1];return Q(function(){V.value=G,V.getSnapshot=B,tn(V)&&Z({inst:V})},[U,G,B]),X(function(){return tn(V)&&Z({inst:V}),U(function(){tn(V)&&Z({inst:V})})},[U]),tt(G),G}function tn(U){var B=U.getSnapshot;U=U.value;try{var G=B();return!Z(U,G)}catch(U){return!0}}function tr(U,B){return B()}var ti="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?tr:te;B.useSyncExternalStore=void 0!==Y.useSyncExternalStore?Y.useSyncExternalStore:ti}
function(U){function B(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(){}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var G=function(){function U(U,B,G,Y,V,Z,J){void 0===V&&(V=[]),void 0===Z&&(Z=""),void 0===J&&(J=null),this.onDefaultValueFallback=null,this.name=U,this.value=JSON.parse(JSON.stringify(null!=B?B:{})),this.ruleID=null!=G?G:"",this.secondaryExposures=V,this.allocatedExperimentName=Z,this.evaluationDetails=Y,this.onDefaultValueFallback=J}return U.prototype.get=function(U,B,G){var Y,V,Z=this.getValue(U,B);if(null==Z)return B;var J=Array.isArray(B)?"array":typeof B,X=Array.isArray(Z)?"array":typeof Z;return G?G(Z)?Z:(null===(Y=this.onDefaultValueFallback)||void 0===Y||Y.call(this,this,U,J,X),B):null==B||J===X?Z:(null===(V=this.onDefaultValueFallback)||void 0===V||V.call(this,this,U,J,X),B)},U.prototype.getValue=function(U,B){return null==U?this.value:(null==B&&(B=null),null==this.value[U])?B:this.value[U]},U.prototype.getRuleID=function(){return this.ruleID},U.prototype.getName=function(){return this.name},U.prototype.getEvaluationDetails=function(){return this.evaluationDetails},U.prototype._getSecondaryExposures=function(){return this.secondaryExposures},U.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},U}();B.default=G}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var Y=G(49787),V=function(){function U(){}return U.getItem=function(U){var B;try{if(this.isStorageAccessible())return window.localStorage.getItem(U)}catch(U){}return null!==(B=this.fallbackSessionCache[U])&&void 0!==B?B:null},U.setItem=function(U,B){try{if(this.isStorageAccessible()){window.localStorage.setItem(U,B);return}}catch(U){}this.fallbackSessionCache[U]=B},U.removeItem=function(U){try{if(this.isStorageAccessible()){window.localStorage.removeItem(U);return}}catch(U){}delete this.fallbackSessionCache[U]},U.cleanup=function(){try{if(this.isStorageAccessible(!0))for(var U in window.localStorage)"string"!=typeof window.localStorage[U]||null==U||!this.disabled&&U in Y.LOCAL_STORAGE_KEYS||!this.disabled&&U.substring(0,Y.STORAGE_PREFIX.length)!==Y.STORAGE_PREFIX||window.localStorage.removeItem(U)}catch(U){}},U.isStorageAccessible=function(U){void 0===U&&(U=!1),null==this.canAccessStorageAccessible&&(this.canAccessStorageAccessible="undefined"!=typeof Storage&&"undefined"!=typeof window&&null!=window&&null!=window.localStorage);var B=this.canAccessStorageAccessible;return U?B:!this.disabled&&B},U.disabled=!1,U.fallbackSessionCache={},U.canAccessStorageAccessible=null,U}();B.default=V}
function(U){U.exports={indexOf:function(U,B){var G,Y;if(Array.prototype.indexOf)return U.indexOf(B);for(G=0,Y=U.length;G<Y;G++)if(U[G]===B)return G;return -1},forEach:function(U,B,G){var Y,V;if(Array.prototype.forEach)return U.forEach(B,G);for(Y=0,V=U.length;Y<V;Y++)B.call(G,U[Y],Y,U)},trim:function(U){return String.prototype.trim?U.trim():U.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(U){var B=/\s|\n|\t/.exec(U);return B?B.index:-1}}}
function(U,B,G){"use strict";G.d(B,{C8:function(){return J},HR:function(){return Q},YR:function(){return X},jK:function(){return Y},u_:function(){return Z}});var Y,V=G(39889);!function(U){U.MISSING_VALUE="MISSING_VALUE",U.INVALID_VALUE="INVALID_VALUE",U.MISSING_INTL_API="MISSING_INTL_API"}(Y||(Y={}));var Z=function(U){function B(B,G,Y){var V=U.call(this,B)||this;return V.code=G,V.originalMessage=Y,V}return(0,V.ZT)(B,U),B.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},B}(Error),J=function(U){function B(B,G,V,Z){return U.call(this,'Invalid values for "'.concat(B,'": "').concat(G,'". Options are "').concat(Object.keys(V).join('", "'),'"'),Y.INVALID_VALUE,Z)||this}return(0,V.ZT)(B,U),B}(Z),X=function(U){function B(B,G,V){return U.call(this,'Value for "'.concat(B,'" must be of type ').concat(G),Y.INVALID_VALUE,V)||this}return(0,V.ZT)(B,U),B}(Z),Q=function(U){function B(B,G){return U.call(this,'The intl string context variable "'.concat(B,'" was not provided to the string "').concat(G,'"'),Y.MISSING_VALUE,G)||this}return(0,V.ZT)(B,U),B}(Z)}
function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__(44675);!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(U){return"[object Array]"===Object.prototype.toString.call(U)}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(U){return"object"==typeof U&&U.buffer&&U.buffer.constructor===ArrayBuffer});var createOutputMethod=function(U,B){return function(G){return new Sha256(B,!0).update(G)[U]()}},createMethod=function(U){var B=createOutputMethod("hex",U);NODE_JS&&(B=nodeWrap(B,U)),B.create=function(){return new Sha256(U)},B.update=function(U){return B.create().update(U)};for(var G=0;G<OUTPUT_TYPES.length;++G){var Y=OUTPUT_TYPES[G];B[Y]=createOutputMethod(Y,U)}return B},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(U){if("string"==typeof U)return crypto.createHash(algorithm).update(U,"utf8").digest("hex");if(null==U)throw Error(ERROR);return U.constructor===ArrayBuffer&&(U=new Uint8Array(U)),Array.isArray(U)||ArrayBuffer.isView(U)||U.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(U)).digest("hex"):method(U)};return nodeMethod},createHmacOutputMethod=function(U,B){return function(G,Y){return new HmacSha256(G,B,!0).update(Y)[U]()}},createHmacMethod=function(U){var B=createHmacOutputMethod("hex",U);B.create=function(B){return new HmacSha256(B,U)},B.update=function(U,G){return B.create(U).update(G)};for(var G=0;G<OUTPUT_TYPES.length;++G){var Y=OUTPUT_TYPES[G];B[Y]=createHmacOutputMethod(Y,U)}return B};function Sha256(U,B){B?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],U?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=U}function HmacSha256(U,B,G){var Y,V=typeof U;if("string"===V){var Z,J=[],X=U.length,Q=0;for(Y=0;Y<X;++Y)(Z=U.charCodeAt(Y))<128?J[Q++]=Z:Z<2048?(J[Q++]=192|Z>>6,J[Q++]=128|63&Z):Z<55296||Z>=57344?(J[Q++]=224|Z>>12,J[Q++]=128|Z>>6&63,J[Q++]=128|63&Z):(Z=65536+((1023&Z)<<10|1023&U.charCodeAt(++Y)),J[Q++]=240|Z>>18,J[Q++]=128|Z>>12&63,J[Q++]=128|Z>>6&63,J[Q++]=128|63&Z);U=J}else if("object"===V){if(null===U)throw Error(ERROR);if(ARRAY_BUFFER&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(U)))throw Error(ERROR)}else throw Error(ERROR);U.length>64&&(U=new Sha256(B,!0).update(U).array());var tt=[],te=[];for(Y=0;Y<64;++Y){var tn=U[Y]||0;tt[Y]=92^tn,te[Y]=54^tn}Sha256.call(this,B,G),this.update(te),this.oKeyPad=tt,this.inner=!0,this.sharedMemory=G}Sha256.prototype.update=function(U){if(!this.finalized){var B,G=typeof U;if("string"!==G){if("object"===G){if(null===U)throw Error(ERROR);if(ARRAY_BUFFER&&U.constructor===ArrayBuffer)U=new Uint8Array(U);else if(!Array.isArray(U)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(U)))throw Error(ERROR)}else throw Error(ERROR);B=!0}for(var Y,V,Z=0,J=U.length,X=this.blocks;Z<J;){if(this.hashed&&(this.hashed=!1,X[0]=this.block,X[16]=X[1]=X[2]=X[3]=X[4]=X[5]=X[6]=X[7]=X[8]=X[9]=X[10]=X[11]=X[12]=X[13]=X[14]=X[15]=0),B)for(V=this.start;Z<J&&V<64;++Z)X[V>>2]|=U[Z]<<SHIFT[3&V++];else for(V=this.start;Z<J&&V<64;++Z)(Y=U.charCodeAt(Z))<128?X[V>>2]|=Y<<SHIFT[3&V++]:Y<2048?(X[V>>2]|=(192|Y>>6)<<SHIFT[3&V++],X[V>>2]|=(128|63&Y)<<SHIFT[3&V++]):Y<55296||Y>=57344?(X[V>>2]|=(224|Y>>12)<<SHIFT[3&V++],X[V>>2]|=(128|Y>>6&63)<<SHIFT[3&V++],X[V>>2]|=(128|63&Y)<<SHIFT[3&V++]):(Y=65536+((1023&Y)<<10|1023&U.charCodeAt(++Z)),X[V>>2]|=(240|Y>>18)<<SHIFT[3&V++],X[V>>2]|=(128|Y>>12&63)<<SHIFT[3&V++],X[V>>2]|=(128|Y>>6&63)<<SHIFT[3&V++],X[V>>2]|=(128|63&Y)<<SHIFT[3&V++]);this.lastByteIndex=V,this.bytes+=V-this.start,V>=64?(this.block=X[16],this.start=V-64,this.hash(),this.hashed=!0):this.start=V}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var U=this.blocks,B=this.lastByteIndex;U[16]=this.block,U[B>>2]|=EXTRA[3&B],this.block=U[16],B>=56&&(this.hashed||this.hash(),U[0]=this.block,U[16]=U[1]=U[2]=U[3]=U[4]=U[5]=U[6]=U[7]=U[8]=U[9]=U[10]=U[11]=U[12]=U[13]=U[14]=U[15]=0),U[14]=this.hBytes<<3|this.bytes>>>29,U[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var U,B,G,Y,V,Z,J,X,Q,tt,te,tn=this.h0,tr=this.h1,ti=this.h2,ta=this.h3,ts=this.h4,tu=this.h5,tc=this.h6,td=this.h7,tf=this.blocks;for(U=16;U<64;++U)B=((V=tf[U-15])>>>7|V<<25)^(V>>>18|V<<14)^V>>>3,G=((V=tf[U-2])>>>17|V<<15)^(V>>>19|V<<13)^V>>>10,tf[U]=tf[U-16]+B+tf[U-7]+G<<0;for(U=0,te=tr&ti;U<64;U+=4)this.first?(this.is224?(X=300032,td=(V=tf[0]-1413257819)-150054599<<0,ta=V+24177077<<0):(X=704751109,td=(V=tf[0]-210244248)-1521486534<<0,ta=V+143694565<<0),this.first=!1):(B=(tn>>>2|tn<<30)^(tn>>>13|tn<<19)^(tn>>>22|tn<<10),G=(ts>>>6|ts<<26)^(ts>>>11|ts<<21)^(ts>>>25|ts<<7),Y=(X=tn&tr)^tn&ti^te,V=td+G+(J=ts&tu^~ts&tc)+K[U]+tf[U],Z=B+Y,td=ta+V<<0,ta=V+Z<<0),B=(ta>>>2|ta<<30)^(ta>>>13|ta<<19)^(ta>>>22|ta<<10),G=(td>>>6|td<<26)^(td>>>11|td<<21)^(td>>>25|td<<7),Y=(Q=ta&tn)^ta&tr^X,V=tc+G+(J=td&ts^~td&tu)+K[U+1]+tf[U+1],Z=B+Y,tc=ti+V<<0,B=((ti=V+Z<<0)>>>2|ti<<30)^(ti>>>13|ti<<19)^(ti>>>22|ti<<10),G=(tc>>>6|tc<<26)^(tc>>>11|tc<<21)^(tc>>>25|tc<<7),Y=(tt=ti&ta)^ti&tn^Q,V=tu+G+(J=tc&td^~tc&ts)+K[U+2]+tf[U+2],Z=B+Y,tu=tr+V<<0,B=((tr=V+Z<<0)>>>2|tr<<30)^(tr>>>13|tr<<19)^(tr>>>22|tr<<10),G=(tu>>>6|tu<<26)^(tu>>>11|tu<<21)^(tu>>>25|tu<<7),Y=(te=tr&ti)^tr&ta^tt,V=ts+G+(J=tu&tc^~tu&td)+K[U+3]+tf[U+3],Z=B+Y,ts=tn+V<<0,tn=V+Z<<0;this.h0=this.h0+tn<<0,this.h1=this.h1+tr<<0,this.h2=this.h2+ti<<0,this.h3=this.h3+ta<<0,this.h4=this.h4+ts<<0,this.h5=this.h5+tu<<0,this.h6=this.h6+tc<<0,this.h7=this.h7+td<<0},Sha256.prototype.hex=function(){this.finalize();var U=this.h0,B=this.h1,G=this.h2,Y=this.h3,V=this.h4,Z=this.h5,J=this.h6,X=this.h7,Q=HEX_CHARS[U>>28&15]+HEX_CHARS[U>>24&15]+HEX_CHARS[U>>20&15]+HEX_CHARS[U>>16&15]+HEX_CHARS[U>>12&15]+HEX_CHARS[U>>8&15]+HEX_CHARS[U>>4&15]+HEX_CHARS[15&U]+HEX_CHARS[B>>28&15]+HEX_CHARS[B>>24&15]+HEX_CHARS[B>>20&15]+HEX_CHARS[B>>16&15]+HEX_CHARS[B>>12&15]+HEX_CHARS[B>>8&15]+HEX_CHARS[B>>4&15]+HEX_CHARS[15&B]+HEX_CHARS[G>>28&15]+HEX_CHARS[G>>24&15]+HEX_CHARS[G>>20&15]+HEX_CHARS[G>>16&15]+HEX_CHARS[G>>12&15]+HEX_CHARS[G>>8&15]+HEX_CHARS[G>>4&15]+HEX_CHARS[15&G]+HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[V>>28&15]+HEX_CHARS[V>>24&15]+HEX_CHARS[V>>20&15]+HEX_CHARS[V>>16&15]+HEX_CHARS[V>>12&15]+HEX_CHARS[V>>8&15]+HEX_CHARS[V>>4&15]+HEX_CHARS[15&V]+HEX_CHARS[Z>>28&15]+HEX_CHARS[Z>>24&15]+HEX_CHARS[Z>>20&15]+HEX_CHARS[Z>>16&15]+HEX_CHARS[Z>>12&15]+HEX_CHARS[Z>>8&15]+HEX_CHARS[Z>>4&15]+HEX_CHARS[15&Z]+HEX_CHARS[J>>28&15]+HEX_CHARS[J>>24&15]+HEX_CHARS[J>>20&15]+HEX_CHARS[J>>16&15]+HEX_CHARS[J>>12&15]+HEX_CHARS[J>>8&15]+HEX_CHARS[J>>4&15]+HEX_CHARS[15&J];return this.is224||(Q+=HEX_CHARS[X>>28&15]+HEX_CHARS[X>>24&15]+HEX_CHARS[X>>20&15]+HEX_CHARS[X>>16&15]+HEX_CHARS[X>>12&15]+HEX_CHARS[X>>8&15]+HEX_CHARS[X>>4&15]+HEX_CHARS[15&X]),Q},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var U=this.h0,B=this.h1,G=this.h2,Y=this.h3,V=this.h4,Z=this.h5,J=this.h6,X=this.h7,Q=[U>>24&255,U>>16&255,U>>8&255,255&U,B>>24&255,B>>16&255,B>>8&255,255&B,G>>24&255,G>>16&255,G>>8&255,255&G,Y>>24&255,Y>>16&255,Y>>8&255,255&Y,V>>24&255,V>>16&255,V>>8&255,255&V,Z>>24&255,Z>>16&255,Z>>8&255,255&Z,J>>24&255,J>>16&255,J>>8&255,255&J];return this.is224||Q.push(X>>24&255,X>>16&255,X>>8&255,255&X),Q},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var U=new ArrayBuffer(this.is224?28:32),B=new DataView(U);return B.setUint32(0,this.h0),B.setUint32(4,this.h1),B.setUint32(8,this.h2),B.setUint32(12,this.h3),B.setUint32(16,this.h4),B.setUint32(20,this.h5),B.setUint32(24,this.h6),this.is224||B.setUint32(28,this.h7),U},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var U=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(U),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}()}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.getUserCacheKey=B.getHashValue=B.SimpleHash=void 0;var Y=G(13290),V=G(27046),Z={};function J(U){for(var B=0,G=0;G<U.length;G++)B=(B<<5)-B+U.charCodeAt(G),B&=B;return String(B)}function X(U){var B=Z[U];if(B)return B;var G=Y.sha256.create().update(U).arrayBuffer(),J=V.Base64.encodeArrayBuffer(G);return Z[U]=J,J}function Q(U){var B,G="userID:"+String(null!==(B=null==U?void 0:U.userID)&&void 0!==B?B:""),Y=null==U?void 0:U.customIDs;if(null!=Y)for(var V=0,X=Object.entries(Y);V<X.length;V++){var Q=X[V];G+=";"+Q[0]+":"+Q[1]}var tt=Z[G];if(tt)return tt;var te=J(G);return Z[G]=te,te}B.SimpleHash=J,B.getHashValue=X,B.getUserCacheKey=Q}
function(U,B,G){"use strict";let Y;G.d(B,{ph:function(){return ti},yW:function(){return tr}});var V=G(8297),Z=G(96652);U=G.hmd(U);let J=(0,Z.Rf)(),X={nowSeconds:()=>Date.now()/1e3};function Q(){let{performance:U}=J;if(!U||!U.now)return;let B=Date.now()-U.now();return{now:()=>U.now(),timeOrigin:B}}function tt(){try{let B=(0,V.l$)(U,"perf_hooks");return B.performance}catch(U){return}}let te=(0,V.KV)()?tt():Q(),tn=void 0===te?X:{nowSeconds:()=>(te.timeOrigin+te.now())/1e3},tr=X.nowSeconds.bind(X),ti=tn.nowSeconds.bind(tn);(()=>{let{performance:U}=J;if(!U||!U.now){Y="none";return}let B=36e5,G=U.now(),V=Date.now(),Z=U.timeOrigin?Math.abs(U.timeOrigin+G-V):B,X=Z<B,Q=U.timing&&U.timing.navigationStart,tt="number"==typeof Q,te=tt?Math.abs(Q+G-V):B,tn=te<B;if(X||tn)return Z<=te?(Y="timeOrigin",U.timeOrigin):void(Y="navigationStart");Y="dateNow"})()}
function(U,B,G){"use strict";var Y,V,Z,J,X=G(44675),Q=G(98421),tt=G(76226);Object.defineProperty(B,"__esModule",{value:!0});var te={useSession:!0,getSession:!0,getCsrfToken:!0,getProviders:!0,signIn:!0,signOut:!0,SessionProvider:!0};B.SessionProvider=tD,B.getCsrfToken=tk,B.getProviders=tC,B.getSession=tS,B.signIn=tA,B.signOut=tI,B.useSession=tw;var tn=Q(G(23809)),tr=Q(G(67860)),ti=Q(G(8629)),ta=Q(G(21121)),ts=tg(G(70079)),tu=tg(G(71083)),tc=Q(G(21576)),td=G(9364),tf=G(35250),th=G(14549);function tp(U){if("function"!=typeof WeakMap)return null;var B=new WeakMap,G=new WeakMap;return(tp=function(U){return U?G:B})(U)}function tg(U,B){if(!B&&U&&U.__esModule)return U;if(null===U||"object"!==tt(U)&&"function"!=typeof U)return{default:U};var G=tp(B);if(G&&G.has(U))return G.get(U);var Y={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Z in U)if("default"!==Z&&Object.prototype.hasOwnProperty.call(U,Z)){var J=V?Object.getOwnPropertyDescriptor(U,Z):null;J&&(J.get||J.set)?Object.defineProperty(Y,Z,J):Y[Z]=U[Z]}return Y.default=U,G&&G.set(U,Y),Y}function t_(U,B){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(U);B&&(Y=Y.filter(function(B){return Object.getOwnPropertyDescriptor(U,B).enumerable})),G.push.apply(G,Y)}return G}function tm(U){for(var B=1;B<arguments.length;B++){var G=null!=arguments[B]?arguments[B]:{};B%2?t_(Object(G),!0).forEach(function(B){(0,tr.default)(U,B,G[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):t_(Object(G)).forEach(function(B){Object.defineProperty(U,B,Object.getOwnPropertyDescriptor(G,B))})}return U}Object.keys(th).forEach(function(U){!("default"===U||"__esModule"===U||Object.prototype.hasOwnProperty.call(te,U))&&(U in B&&B[U]===th[U]||Object.defineProperty(B,U,{enumerable:!0,get:function(){return th[U]}}))});var tv={baseUrl:(0,tc.default)(null!==(Y=X.env.NEXTAUTH_URL)&&void 0!==Y?Y:X.env.VERCEL_URL).origin,basePath:(0,tc.default)(X.env.NEXTAUTH_URL).path,baseUrlServer:(0,tc.default)(null!==(V=null!==(Z=X.env.NEXTAUTH_URL_INTERNAL)&&void 0!==Z?Z:X.env.NEXTAUTH_URL)&&void 0!==V?V:X.env.VERCEL_URL).origin,basePathServer:(0,tc.default)(null!==(J=X.env.NEXTAUTH_URL_INTERNAL)&&void 0!==J?J:X.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:function(){}},ty=(0,td.BroadcastChannel)(),tb=(0,tu.proxyLogger)(tu.default,tv.basePath),tE=ts.createContext(void 0);function tw(U){var B=ts.useContext(tE),G=null!=U?U:{},Y=G.required,V=G.onUnauthenticated,Z=Y&&"unauthenticated"===B.status;return(ts.useEffect(function(){if(Z){var U="/api/auth/signin?".concat(new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href}));V?V():window.location.href=U}},[Z,V]),Z)?{data:B.data,status:"loading"}:B}function tS(U){return tx.apply(this,arguments)}function tx(){return(tx=(0,ta.default)(tn.default.mark(function U(B){var G,Y;return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,(0,td.fetchData)("session",tv,tb,B);case 2:return Y=U.sent,(null===(G=null==B?void 0:B.broadcast)||void 0===G||G)&&ty.post({event:"session",data:{trigger:"getSession"}}),U.abrupt("return",Y);case 5:case"end":return U.stop()}},U)}))).apply(this,arguments)}function tk(U){return tT.apply(this,arguments)}function tT(){return(tT=(0,ta.default)(tn.default.mark(function U(B){var G;return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,(0,td.fetchData)("csrf",tv,tb,B);case 2:return G=U.sent,U.abrupt("return",null==G?void 0:G.csrfToken);case 4:case"end":return U.stop()}},U)}))).apply(this,arguments)}function tC(){return tR.apply(this,arguments)}function tR(){return(tR=(0,ta.default)(tn.default.mark(function U(){return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,(0,td.fetchData)("providers",tv,tb);case 2:return U.abrupt("return",U.sent);case 3:case"end":return U.stop()}},U)}))).apply(this,arguments)}function tA(U,B,G){return tO.apply(this,arguments)}function tO(){return(tO=(0,ta.default)(tn.default.mark(function U(B,G,Y){var V,Z,J,X,Q,tt,te,tr,ti,ta,ts,tu,tc,tf,th,tp,tg;return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return J=void 0===(Z=(V=null!=G?G:{}).callbackUrl)?window.location.href:Z,Q=void 0===(X=V.redirect)||X,tt=(0,td.apiBaseUrl)(tv),U.next=4,tC();case 4:if(te=U.sent){U.next=8;break}return window.location.href="".concat(tt,"/error"),U.abrupt("return");case 8:if(!(!B||!(B in te))){U.next=11;break}return window.location.href="".concat(tt,"/signin?").concat(new URLSearchParams({callbackUrl:J})),U.abrupt("return");case 11:return tr="credentials"===te[B].type,ti="email"===te[B].type,ta=tr||ti,ts="".concat(tt,"/").concat(tr?"callback":"signin","/").concat(B),tu="".concat(ts,"?").concat(new URLSearchParams(Y)),U.t0=fetch,U.t1=tu,U.t2={"Content-Type":"application/x-www-form-urlencoded"},U.t3=URLSearchParams,U.t4=tm,U.t5=tm({},G),U.t6={},U.next=25,tk();case 25:return U.t7=U.sent,U.t8=J,U.t9={csrfToken:U.t7,callbackUrl:U.t8,json:!0},U.t10=(0,U.t4)(U.t5,U.t6,U.t9),U.t11=new U.t3(U.t10),U.t12={method:"post",headers:U.t2,body:U.t11},U.next=33,(0,U.t0)(U.t1,U.t12);case 33:return tc=U.sent,U.next=36,tc.json();case 36:if(tf=U.sent,!(Q||!ta)){U.next=42;break}return tp=null!==(th=tf.url)&&void 0!==th?th:J,window.location.href=tp,tp.includes("#")&&window.location.reload(),U.abrupt("return");case 42:if(tg=new URL(tf.url).searchParams.get("error"),!tc.ok){U.next=46;break}return U.next=46,tv._getSession({event:"storage"});case 46:return U.abrupt("return",{error:tg,status:tc.status,ok:tc.ok,url:tg?null:tf.url});case 47:case"end":return U.stop()}},U)}))).apply(this,arguments)}function tI(U){return tN.apply(this,arguments)}function tN(){return(tN=(0,ta.default)(tn.default.mark(function U(B){var G,Y,V,Z,J,X,Q,tt,te;return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return V=void 0===(Y=(null!=B?B:{}).callbackUrl)?window.location.href:Y,Z=(0,td.apiBaseUrl)(tv),U.t0={"Content-Type":"application/x-www-form-urlencoded"},U.t1=URLSearchParams,U.next=6,tk();case 6:return U.t2=U.sent,U.t3=V,U.t4={csrfToken:U.t2,callbackUrl:U.t3,json:!0},U.t5=new U.t1(U.t4),J={method:"post",headers:U.t0,body:U.t5},U.next=13,fetch("".concat(Z,"/signout"),J);case 13:return X=U.sent,U.next=16,X.json();case 16:if(Q=U.sent,ty.post({event:"session",data:{trigger:"signout"}}),!(null===(G=null==B?void 0:B.redirect)||void 0===G||G)){U.next=23;break}return te=null!==(tt=Q.url)&&void 0!==tt?tt:V,window.location.href=te,te.includes("#")&&window.location.reload(),U.abrupt("return");case 23:return U.next=25,tv._getSession({event:"storage"});case 25:return U.abrupt("return",Q);case 26:case"end":return U.stop()}},U)}))).apply(this,arguments)}function tD(U){var B=U.children,G=U.basePath;G&&(tv.basePath=G);var Y=void 0!==U.session;tv._lastSync=Y?(0,td.now)():0;var V=ts.useState(function(){return Y&&(tv._session=U.session),U.session}),Z=(0,ti.default)(V,2),J=Z[0],X=Z[1],Q=ts.useState(!Y),tt=(0,ti.default)(Q,2),te=tt[0],tr=tt[1];ts.useEffect(function(){return tv._getSession=(0,ta.default)(tn.default.mark(function U(){var B,G,Y=arguments;return tn.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(B=(Y.length>0&&void 0!==Y[0]?Y[0]:{}).event,U.prev=1,!((G="storage"===B)||void 0===tv._session)){U.next=10;break}return tv._lastSync=(0,td.now)(),U.next=7,tS({broadcast:!G});case 7:return tv._session=U.sent,X(tv._session),U.abrupt("return");case 10:if(!(!B||null===tv._session||(0,td.now)()<tv._lastSync)){U.next=12;break}return U.abrupt("return");case 12:return tv._lastSync=(0,td.now)(),U.next=15,tS();case 15:tv._session=U.sent,X(tv._session),U.next=22;break;case 19:U.prev=19,U.t0=U.catch(1),tb.error("CLIENT_SESSION_ERROR",U.t0);case 22:return U.prev=22,tr(!1),U.finish(22);case 25:case"end":return U.stop()}},U,null,[[1,19,22,25]])})),tv._getSession(),function(){tv._lastSync=0,tv._session=void 0,tv._getSession=function(){}}},[]),ts.useEffect(function(){var U=ty.receive(function(){return tv._getSession({event:"storage"})});return function(){return U()}},[]),ts.useEffect(function(){var B=U.refetchOnWindowFocus,G=void 0===B||B,Y=function(){G&&"visible"===document.visibilityState&&tv._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",Y,!1),function(){return document.removeEventListener("visibilitychange",Y,!1)}},[U.refetchOnWindowFocus]),ts.useEffect(function(){var B=U.refetchInterval;if(B){var G=setInterval(function(){tv._session&&tv._getSession({event:"poll"})},1e3*B);return function(){return clearInterval(G)}}},[U.refetchInterval]);var tu=ts.useMemo(function(){return{data:J,status:te?"loading":J?"authenticated":"unauthenticated"}},[J,te]);return(0,tf.jsx)(tE.Provider,{value:tu,children:B})}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0})}
function(U,B,G){"use strict";G.d(B,{U:function(){return dd}});var Y,V,Z,J,X,Q,tt,te,tn,tr,ti,ta,ts,tu,tc,td,tf,th,tp,tg,t_,tm,tv,ty,tb,tE=G(51217),tw=G(53596),tS=G(66816),tx=G(49406),tk=G(39324),tT=G(22830),tC={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},tR=function(U){for(var B=[],G=1;G<arguments.length;G++)B[G-1]=arguments[G];Object.prototype.hasOwnProperty.call(tC,U)||(U=tC.log),tR[U].apply(tR,B)},tA=console;function tO(U,B){return function(){for(var G=[],Y=0;Y<arguments.length;Y++)G[Y]=arguments[Y];try{return U.apply(void 0,G)}catch(U){tR.error(B,U)}}}tR.debug=tA.debug.bind(tA),tR.log=tA.log.bind(tA),tR.info=tA.info.bind(tA),tR.warn=tA.warn.bind(tA),tR.error=tA.error.bind(tA);var tI=function(U,B,G){if(G||2==arguments.length)for(var Y,V=0,Z=B.length;V<Z;V++)!Y&&V in B||(Y||(Y=Array.prototype.slice.call(B,0,V)),Y[V]=B[V]);return U.concat(Y||Array.prototype.slice.call(B))},tN=!1;function tD(U){Y=U}function tL(U){tN=U}function tP(U){return function(){return tM(U,this,arguments)}}function tM(U,B,G){try{return U.apply(B,G)}catch(U){if(tU(tC.error,U),Y)try{Y(U)}catch(U){tU(tC.error,U)}}}function tU(U){for(var B=[],G=1;G<arguments.length;G++)B[G-1]=arguments[G];tN&&tR.apply(void 0,tI([U,"[MONITOR]"],B,!1))}function tB(U,B){return -1!==U.indexOf(B)}function tj(U){if(Array.from)return Array.from(U);var B=[];if(U instanceof Set)U.forEach(function(U){return B.push(U)});else for(var G=0;G<U.length;G++)B.push(U[G]);return B}function tG(U,B){for(var G=0;G<U.length;G+=1){var Y=U[G];if(B(Y,G))return Y}}function tF(U,B){for(var G=U.length-1;G>=0;G-=1){var Y=U[G];if(B(Y,G,U))return Y}}function tH(U,B){Array.prototype.forEach.call(U,B)}function tz(U){return Object.keys(U).map(function(B){return U[B]})}function t$(U){return Object.keys(U).map(function(B){return[B,U[B]]})}function tq(U,B){return U.slice(0,B.length)===B}function tY(U,B){return U.slice(-B.length)===B}function tV(U,B){return U.matches?U.matches(B):!!U.msMatchesSelector&&U.msMatchesSelector(B)}function tW(U){return window.CSS&&window.CSS.escape?window.CSS.escape(U):U.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(U,B){return B?"\x00"===U?" ":"".concat(U.slice(0,-1),"\\").concat(U.charCodeAt(U.length-1).toString(16)," "):"\\".concat(U)})}function tZ(U){for(var B=[],G=1;G<arguments.length;G++)B[G-1]=arguments[G];return B.forEach(function(B){for(var G in B)Object.prototype.hasOwnProperty.call(B,G)&&(U[G]=B[G])}),U}function tK(U){var B=tZ({version:"4.42.2",onReady:function(U){U()}},U);return Object.defineProperty(B,"_setDebug",{get:function(){return tL},enumerable:!1}),B}function tJ(U,B,G){var Y=U[B];U[B]=G,Y&&Y.q&&Y.q.forEach(function(U){return tO(U,"onReady callback threw an error:")()})}function tX(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var U=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof U&&(U="object"==typeof self?self:"object"==typeof window?window:{}),U}var tQ=1024,t0=1048576,t5=/[^\u0000-\u007F]/;function t3(U){return t5.test(U)?void 0!==window.TextEncoder?new TextEncoder().encode(U).length:new Blob([U]).size:U.length}function t6(U,B){var G,Y=tX();return Y.Zone&&"function"==typeof Y.Zone.__symbol__&&(G=U[Y.Zone.__symbol__(B)]),G||(G=U[B]),G}function t4(U,B){return t6(tX(),"setTimeout")(tP(U),B)}function t8(U){t6(tX(),"clearTimeout")(U)}function t7(U,B){return t6(window,"setInterval")(tP(U),B)}function t9(U){t6(window,"clearInterval")(U)}function et(U,B,G){var Y,V,Z=!G||void 0===G.leading||G.leading,J=!G||void 0===G.trailing||G.trailing,X=!1;return{throttled:function(){for(var G=[],Q=0;Q<arguments.length;Q++)G[Q]=arguments[Q];if(X){Y=G;return}Z?U.apply(void 0,G):Y=G,X=!0,V=t4(function(){J&&Y&&U.apply(void 0,Y),X=!1,Y=void 0},B)},cancel:function(){t8(V),X=!1,Y=void 0}}}function ee(){}function en(U){return null===U?"null":Array.isArray(U)?"array":typeof U}function er(U,B,G){if(void 0===G&&(G=ea()),void 0===B)return U;if("object"!=typeof B||null===B)return B;if(B instanceof Date)return new Date(B.getTime());if(B instanceof RegExp){var Y=B.flags||[B.global?"g":"",B.ignoreCase?"i":"",B.multiline?"m":"",B.sticky?"y":"",B.unicode?"u":""].join("");return new RegExp(B.source,Y)}if(!G.hasAlreadyBeenSeen(B)){if(Array.isArray(B)){for(var V=Array.isArray(U)?U:[],Z=0;Z<B.length;++Z)V[Z]=er(V[Z],B[Z],G);return V}var J="object"===en(U)?U:{};for(var X in B)Object.prototype.hasOwnProperty.call(B,X)&&(J[X]=er(J[X],B[X],G));return J}}function ei(U){return er(void 0,U)}function eo(){for(var U,B=[],G=0;G<arguments.length;G++)B[G]=arguments[G];for(var Y=0,V=B;Y<V.length;Y++){var Z=V[Y];null!=Z&&(U=er(U,Z))}return U}function ea(){if("undefined"!=typeof WeakSet){var U=new WeakSet;return{hasAlreadyBeenSeen:function(B){var G=U.has(B);return G||U.add(B),G}}}var B=[];return{hasAlreadyBeenSeen:function(U){var G=B.indexOf(U)>=0;return G||B.push(U),G}}}function es(U,B,G){if("object"!=typeof U||null===U)return JSON.stringify(U);var Y=eu(Object.prototype),V=eu(Array.prototype),Z=eu(Object.getPrototypeOf(U)),J=eu(U);try{return JSON.stringify(U,B,G)}catch(U){return"<error: unable to serialize object>"}finally{Y(),V(),Z(),J()}}function eu(U){var B=U,G=B.toJSON;return G?(delete B.toJSON,function(){B.toJSON=G}):ee}var ec=225280,ed="$",ef=3;function eh(U,B){void 0===B&&(B=ec);var G,Y=eu(Object.prototype),V=eu(Array.prototype),Z=[],J=new WeakMap,X=ep(U,ed,void 0,Z,J),Q=(null===(G=JSON.stringify(X))||void 0===G?void 0:G.length)||0;if(Q>B){ey(B,"discarded",U);return}for(;Z.length>0&&Q<B;){var tt=Z.shift(),te=0;if(Array.isArray(tt.source))for(var tn=0;tn<tt.source.length;tn++){var tr=ep(tt.source[tn],tt.path,tn,Z,J);if(void 0!==tr?Q+=JSON.stringify(tr).length:Q+=4,Q+=te,te=1,Q>B){ey(B,"truncated",U);break}tt.target[tn]=tr}else for(var tn in tt.source)if(Object.prototype.hasOwnProperty.call(tt.source,tn)){var tr=ep(tt.source[tn],tt.path,tn,Z,J);if(void 0!==tr&&(Q+=JSON.stringify(tr).length+te+tn.length+ef,te=1),Q>B){ey(B,"truncated",U);break}tt.target[tn]=tr}}return Y(),V(),X}function ep(U,B,G,Y,V){var Z=em(U);if(!Z||"object"!=typeof Z)return eg(Z);var J=e_(Z);if("[Object]"!==J&&"[Array]"!==J&&"[Error]"!==J)return J;var X=U;if(V.has(X))return"[Reference seen at ".concat(V.get(X),"]");var Q=void 0!==G?"".concat(B,".").concat(G):B,tt=Array.isArray(Z)?[]:{};return V.set(X,Q),Y.push({source:Z,target:tt,path:Q}),tt}function eg(U){return"bigint"==typeof U?"[BigInt] ".concat(U.toString()):"function"==typeof U?"[Function] ".concat(U.name||"unknown"):"symbol"==typeof U?"[Symbol] ".concat(U.description||U.toString()):U}function e_(U){try{if(U instanceof Event)return{isTrusted:U.isTrusted};var B=Object.prototype.toString.call(U).match(/\[object (.*)\]/);if(B&&B[1])return"[".concat(B[1],"]")}catch(U){}return"[Unserializable]"}function em(U){var B=U;if(B&&"function"==typeof B.toJSON)try{return B.toJSON()}catch(U){}return U}function ey(U,B,G){tR.warn("The data provided has been ".concat(B," as it is over the limit of ").concat(U," characters:"),G)}var eb=3072;function eE(U,B){return U>eb&&(tR.warn("The ".concat(B," data is over ").concat(eb/tQ,"KiB. On low connectivity, the SDK has the potential to exhaust the user's upload bandwidth.")),!0)}var ew=200;function eS(U,B){void 0===B&&(B=t3);var G,Y={},V=!1,Z=et(function(Y){G=B(es(Y)),V||(V=eE(G,U))},ew).throttled;return{getBytesCount:function(){return G},get:function(){return Y},add:function(U,B){Y[U]=B,Z(Y)},remove:function(U){delete Y[U],Z(Y)},set:function(U){Z(Y=U)},getContext:function(){return ei(Y)},setContext:function(U){Z(Y=eh(U))},setContextProperty:function(U,B){Y[U]=eh(B),Z(Y)},removeContextProperty:function(U){delete Y[U],Z(Y)},clearContext:function(){Y={},G=0}}}var ek=500,eT=function(){function U(){this.buffer=[]}return U.prototype.add=function(U){this.buffer.push(U)>ek&&this.buffer.splice(0,1)},U.prototype.drain=function(){this.buffer.forEach(function(U){return U()}),this.buffer.length=0},U}();function eC(U){return 0!==U&&100*Math.random()<=U}function eR(U,B){return+U.toFixed(B)}function eA(U){return eO(U)&&U>=0&&U<=100}function eO(U){return"number"==typeof U}var eI=1e3,eN=6e4,eD=36e5,eL=31536e6;function eP(U){return{relative:U,timeStamp:eM(U)}}function eM(U){var B=ej()-performance.now();return B>eZ()?Math.round(eq(B,U)):eV(U)}function eU(){return Math.round(ej()-eq(eZ(),performance.now()))}function eB(U){return eO(U)?eR(1e6*U,0):U}function ej(){return new Date().getTime()}function eG(){return ej()}function eF(){return performance.now()}function eH(){return{relative:eF(),timeStamp:eG()}}function ez(){return{relative:0,timeStamp:eZ()}}function e$(U,B){return B-U}function eq(U,B){return U+B}function eY(U){return U-eZ()}function eV(U){return Math.round(eq(eZ(),U))}function eW(U){return U<eL}function eZ(){return void 0===V&&(V=performance.timing.navigationStart),V}function eK(U){return U?(parseInt(U,10)^16*Math.random()>>parseInt(U,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,eK)}function eJ(U,B){var G=new RegExp("(?:^|;)\\s*".concat(B,"\\s*=\\s*([^;]+)")).exec(U);return G?G[1]:void 0}function eX(U,B,G){void 0===G&&(G="");var Y=U.charCodeAt(B-1),V=Y>=55296&&Y<=56319?B+1:B;return U.length<=V?U:"".concat(U.slice(0,V)).concat(G)}var eQ=1e3;function e0(U,B,G,Y){var V=new Date;V.setTime(V.getTime()+G);var Z="expires=".concat(V.toUTCString()),J=Y&&Y.crossSite?"none":"strict",X=Y&&Y.domain?";domain=".concat(Y.domain):"",Q=Y&&Y.secure?";secure":"";document.cookie="".concat(U,"=").concat(B,";").concat(Z,";path=/;samesite=").concat(J).concat(X).concat(Q)}function e1(U){return eJ(document.cookie,U)}function e5(U,B){e0(U,"",0,B)}function e6(U){if(void 0===document.cookie||null===document.cookie)return!1;try{var B="dd_cookie_test_".concat(eK()),G="test";e0(B,G,eN,U);var Y=e1(B)===G;return e5(B,U),Y}catch(U){return tR.error(U),!1}}function e4(){if(void 0===Z){for(var U="dd_site_test_".concat(eK()),B="test",G=window.location.hostname.split("."),Y=G.pop();G.length&&!e1(U);)e0(U,B,eI,{domain:Y="".concat(G.pop(),".").concat(Y)});e5(U,{domain:Y}),Z=Y}return Z}var e8="datadog-synthetics-public-id",e7="datadog-synthetics-result-id",e9="datadog-synthetics-injects-rum";function nt(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||e1(e9))}function ne(){var U=window._DATADOG_SYNTHETICS_PUBLIC_ID||e1(e8);return"string"==typeof U?U:void 0}function nn(){var U=window._DATADOG_SYNTHETICS_RESULT_ID||e1(e7);return"string"==typeof U?U:void 0}function nr(){var U=no();if(U)return{getAllowedWebViewHosts:function(){return JSON.parse(U.getAllowedWebViewHosts())},send:function(B,G){U.send(JSON.stringify({eventType:B,event:G}))}}}function ni(U){void 0===U&&(U=null===(B=tX().location)||void 0===B?void 0:B.hostname);var B,G=nr();return!!G&&G.getAllowedWebViewHosts().some(function(B){return U===B||tY(U,".".concat(B))})}function no(){return tX().DatadogEventBridge}var na="?";function nu(U){var B=[],G=nE(U,"stack"),Y=String(U);return G&&tq(G,Y)&&(G=G.slice(Y.length)),G&&G.split("\n").forEach(function(U){var G=nh(U)||ng(U)||nm(U)||nb(U);G&&(!G.func&&G.line&&(G.func=na),B.push(G))}),{message:nE(U,"message"),name:nE(U,"name"),stack:B}}var nc="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",nl="(?::(\\d+))",nd=RegExp("^\\s*at (.*?) ?\\(".concat(nc).concat(nl,"?").concat(nl,"?\\)?\\s*$"),"i"),nf=new RegExp("\\((\\S*)".concat(nl).concat(nl,"\\)"));function nh(U){var B=nd.exec(U);if(B){var G=B[2]&&0===B[2].indexOf("native"),Y=B[2]&&0===B[2].indexOf("eval"),V=nf.exec(B[2]);return Y&&V&&(B[2]=V[1],B[3]=V[2],B[4]=V[3]),{args:G?[B[2]]:[],column:B[4]?+B[4]:void 0,func:B[1]||na,line:B[3]?+B[3]:void 0,url:G?void 0:B[2]}}}var np=RegExp("^\\s*at ?".concat(nc).concat(nl,"?").concat(nl,"??\\s*$"),"i");function ng(U){var B=np.exec(U);if(B)return{args:[],column:B[3]?+B[3]:void 0,func:na,line:B[2]?+B[2]:void 0,url:B[1]}}var n_=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function nm(U){var B=n_.exec(U);if(B)return{args:[],column:B[4]?+B[4]:void 0,func:B[1]||na,line:+B[3],url:B[2]}}var nv=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,ny=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function nb(U){var B=nv.exec(U);if(B){var G=B[3]&&B[3].indexOf(" > eval")>-1,Y=ny.exec(B[3]);return G&&Y&&(B[3]=Y[1],B[4]=Y[2],B[5]=void 0),{args:B[2]?B[2].split(","):[],column:B[5]?+B[5]:void 0,func:B[1]||na,line:B[4]?+B[4]:void 0,url:B[3]}}}function nE(U,B){if("object"==typeof U&&U&&B in U){var G=U[B];return"string"==typeof G?G:void 0}}var nw="No stack, consider using an instance of Error";function nS(U){var B=U.stackTrace,G=U.originalError,Y=U.handlingStack,V=U.startClocks,Z=U.nonErrorPrefix,J=U.source,X=U.handling,Q=G instanceof Error,tt=nx(B,Q,Z,G),te=nk(Q,B)?nC(B):nw,tn=Q?nO(G,J):void 0,tr=null==B?void 0:B.name,ti=nT(G);return{startClocks:V,source:J,handling:X,handlingStack:Y,originalError:G,type:tr,message:tt,stack:te,causes:tn,fingerprint:ti}}function nx(U,B,G,Y){return(null==U?void 0:U.message)&&(null==U?void 0:U.name)?U.message:B?"Empty message":"".concat(G," ").concat(es(eh(Y)))}function nk(U,B){return void 0!==B&&(!!U||B.stack.length>0&&(B.stack.length>1||void 0!==B.stack[0].url))}function nT(U){return U instanceof Error&&"dd_fingerprint"in U?String(U.dd_fingerprint):void 0}function nC(U){var B=nR(U);return U.stack.forEach(function(U){var G="?"===U.func?"<anonymous>":U.func,Y=U.args&&U.args.length>0?"(".concat(U.args.join(", "),")"):"",V=U.line?":".concat(U.line):"",Z=U.line&&U.column?":".concat(U.column):"";B+="\n at ".concat(G).concat(Y," @ ").concat(U.url).concat(V).concat(Z)}),B}function nR(U){return"".concat(U.name||"Error",": ").concat(U.message)}function nA(){var U,B=2,G=Error();if(!G.stack)try{throw G}catch(U){}return tM(function(){var Y=nu(G);Y.stack=Y.stack.slice(B),U=nC(Y)}),U}function nO(U,B){for(var G=U,Y=[];(null==G?void 0:G.cause)instanceof Error&&Y.length<10;){var V=nu(G.cause);Y.push({message:G.cause.message,source:B,type:null==V?void 0:V.name,stack:V&&nC(V)}),G=G.cause}return Y.length?Y:void 0}function nI(U){var B=tZ({},U);return["id","name","email"].forEach(function(U){U in B&&(B[U]=String(B[U]))}),B}function nN(U){var B="object"===en(U);return B||tR.error("Unsupported user:",U),B}!function(U){U.PAGEHIDE="pagehide",U.FEATURE_FLAGS="feature_flags",U.RESOURCE_PAGE_STATES="resource_page_states",U.COLLECT_FLUSH_REASON="collect_flush_reason"}(J||(J={}));var nD=new Set;function nL(U){U.forEach(function(U){nD.add(U)})}function nP(U){return nD.has(U)}function nM(){return nD}function nU(U){return tZ({},U)}function nB(U,B){return Object.keys(U).some(function(G){return U[G]===B})}function nj(U){return 0===Object.keys(U).length}function nG(U,B){for(var G={},Y=0,V=Object.keys(U);Y<V.length;Y++){var Z=V[Y];G[Z]=B(U[Z])}return G}function nF(U){return nq(U,nW()).href}function nH(U){try{return!!nq(U)}catch(U){return!1}}function nz(U){return nZ(nq(U))}function n$(U){var B=nq(U).pathname;return"/"===B[0]?B:"/".concat(B)}function nq(U,B){var G=nV();if(G)try{return void 0!==B?new G(U,B):new G(U)}catch(G){throw Error("Failed to construct URL: ".concat(String(G)," ").concat(es({url:U,base:B})))}if(void 0===B&&!/:/.test(U))throw Error("Invalid URL: '".concat(U,"'"));var Y=document,V=Y.createElement("a");if(void 0!==B){var Z=(Y=document.implementation.createHTMLDocument("")).createElement("base");Z.href=B,Y.head.appendChild(Z),Y.body.appendChild(V)}return V.href=U,V}var nY=URL;function nV(){if(void 0===X)try{var U=new nY("http://test/path");X="http://test/path"===U.href}catch(U){X=!1}return X?nY:void 0}function nW(){return nZ(window.location)}function nZ(U){if(U.origin)return U.origin;var B=U.host.replace(/(:80|:443)$/,"");return"".concat(U.protocol,"//").concat(B)}var nK="datad0g.com",nJ="datadoghq.com",nX="datadoghq.eu",nQ="ap1.datadoghq.com",n0="ddog-gov.com",n1={logs:"logs",rum:"rum",sessionReplay:"session-replay"},n2={logs:"logs",rum:"rum",sessionReplay:"replay"};function n5(U,B,G){var Y=n3(U,B);return{build:function(V,Z,J){return Y(n4(U,B,G,V,Z,J))},urlPrefix:Y(""),endpointType:B}}function n3(U,B){var G="/api/v2/".concat(n2[B]),Y=U.proxy,V=U.proxyUrl;if(Y){var Z=nF(Y);return function(U){return"".concat(Z,"?ddforward=").concat(encodeURIComponent("".concat(G,"?").concat(U)))}}var J=n6(U,B);if(void 0===Y&&V){var X=nF(V);return function(U){return"".concat(X,"?ddforward=").concat(encodeURIComponent("https://".concat(J).concat(G,"?").concat(U)))}}return function(U){return"https://".concat(J).concat(G,"?").concat(U)}}function n6(U,B){var G=U.site,Y=void 0===G?nJ:G,V=U.internalAnalyticsSubdomain;if(V&&Y===nJ)return"".concat(V,".").concat(nJ);var Z=Y.split("."),J=Z.pop(),X=Y!==nQ?"".concat(n1[B],"."):"";return"".concat(X,"browser-intake-").concat(Z.join("-"),".").concat(J)}function n4(U,B,G,Y,V,Z){var X=U.clientToken,Q=U.internalAnalyticsSubdomain,tt=["sdk_version:".concat("4.42.2"),"api:".concat(Y)].concat(G);V&&nP(J.COLLECT_FLUSH_REASON)&&tt.push("flush_reason:".concat(V)),Z&&tt.push("retry_count:".concat(Z.count),"retry_after:".concat(Z.lastFailureStatus));var te=["ddsource=browser","ddtags=".concat(encodeURIComponent(tt.join(","))),"dd-api-key=".concat(X),"dd-evp-origin-version=".concat(encodeURIComponent("4.42.2")),"dd-evp-origin=browser","dd-request-id=".concat(eK())];return"rum"===B&&te.push("batch_time=".concat(eG())),Q&&te.reverse(),te.join("&")}var n8=200;function n7(U){var B=U.env,G=U.service,Y=U.version,V=U.datacenter,Z=[];return B&&Z.push(rt("env",B)),G&&Z.push(rt("service",G)),Y&&Z.push(rt("version",Y)),V&&Z.push(rt("datacenter",V)),Z}var n9=/[^a-z0-9_:./-]/;function rt(U,B){var G=n8-U.length-1;(B.length>G||n9.test(B))&&tR.warn("".concat(U," value doesn't meet tag requirements and will be sanitized"));var Y=B.replace(/,/g,"_");return"".concat(U,":").concat(Y)}function rn(U){var B=n7(U),G=rr(U,B),Y=tz(G).map(function(U){return U.urlPrefix});return tZ({isIntakeUrl:function(U){return Y.some(function(B){return 0===U.indexOf(B)})},replica:ri(U,Y,B),site:U.site||nJ},G)}function rr(U,B){return{logsEndpointBuilder:n5(U,"logs",B),rumEndpointBuilder:n5(U,"rum",B),sessionReplayEndpointBuilder:n5(U,"sessionReplay",B)}}function ri(U,B,G){if(U.replica){var Y=tZ({},U,{site:nJ,clientToken:U.replica.clientToken}),V={logsEndpointBuilder:n5(Y,"logs",G),rumEndpointBuilder:n5(Y,"rum",G)};return B.push.apply(B,tz(V).map(function(U){return U.urlPrefix})),tZ({applicationId:U.replica.applicationId},V)}}var ro={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function ra(U){if(!U||!U.clientToken){tR.error("Client Token is not configured, we will not send any data.");return}var B,G,Y,V=null!==(B=U.sessionSampleRate)&&void 0!==B?B:U.sampleRate;if(void 0!==V&&!eA(V)){tR.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==U.telemetrySampleRate&&!eA(U.telemetrySampleRate)){tR.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==U.telemetryConfigurationSampleRate&&!eA(U.telemetryConfigurationSampleRate)){tR.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(U.enableExperimentalFeatures)&&nL(U.enableExperimentalFeatures.filter(function(U){return nB(J,U)})),tZ({beforeSend:U.beforeSend&&tO(U.beforeSend,"beforeSend threw an error:"),cookieOptions:rs(U),sessionSampleRate:null!=V?V:100,telemetrySampleRate:null!==(G=U.telemetrySampleRate)&&void 0!==G?G:20,telemetryConfigurationSampleRate:null!==(Y=U.telemetryConfigurationSampleRate)&&void 0!==Y?Y:5,service:U.service,silentMultipleInit:!!U.silentMultipleInit,batchBytesLimit:16*tQ,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*eI,batchMessagesLimit:50,messageBytesLimit:256*tQ},rn(U))}function rs(U){var B={};return B.secure=ru(U),B.crossSite=!!U.useCrossSiteSessionCookie,U.trackSessionAcrossSubdomains&&(B.domain=e4()),B}function ru(U){return!!U.useSecureSessionCookie||!!U.useCrossSiteSessionCookie}function rc(U){var B,G,Y=null!==(B=U.proxy)&&void 0!==B?B:U.proxyUrl;return{session_sample_rate:null!==(G=U.sessionSampleRate)&&void 0!==G?G:U.sampleRate,telemetry_sample_rate:U.telemetrySampleRate,telemetry_configuration_sample_rate:U.telemetryConfigurationSampleRate,use_before_send:!!U.beforeSend,use_cross_site_session_cookie:U.useCrossSiteSessionCookie,use_secure_session_cookie:U.useSecureSessionCookie,use_proxy:void 0!==Y?!!Y:void 0,silent_multiple_init:U.silentMultipleInit,track_session_across_subdomains:U.trackSessionAcrossSubdomains,track_resources:U.trackResources,track_long_task:U.trackLongTasks}}function rl(U){var B=en(U);return"string"===B||"function"===B||U instanceof RegExp}function rd(U,B,G){return void 0===G&&(G=!1),U.some(function(U){try{if("function"==typeof U)return U(B);if(U instanceof RegExp)return U.test(B);if("string"==typeof U)return G?tq(B,U):U===B}catch(U){tR.error(U)}return!1})}function rf(U){var B=U;return"object"===en(B)&&rl(B.match)&&Array.isArray(B.propagatorTypes)}function rh(U){0!==U.status||U.isAborted||(U.traceId=void 0,U.spanId=void 0,U.traceSampled=void 0)}function rp(U,B){return{clearTracingIfNeeded:rh,traceFetch:function(G){return rg(U,G,B,function(U){var B;if(G.input instanceof Request&&!(null===(B=G.init)||void 0===B?void 0:B.headers))G.input=new Request(G.input),Object.keys(U).forEach(function(B){G.input.headers.append(B,U[B])});else{G.init=nU(G.init);var Y=[];G.init.headers instanceof Headers?G.init.headers.forEach(function(U,B){Y.push([B,U])}):Array.isArray(G.init.headers)?G.init.headers.forEach(function(U){Y.push(U)}):G.init.headers&&Object.keys(G.init.headers).forEach(function(U){Y.push([U,G.init.headers[U]])}),G.init.headers=Y.concat(t$(U))}})},traceXhr:function(G,Y){return rg(U,G,B,function(U){Object.keys(U).forEach(function(B){Y.setRequestHeader(B,U[B])})})}}}function rg(U,B,G,Y){if(r_()&&G.findTrackedSession()){var V=tG(U.allowedTracingUrls,function(U){return rd([U.match],B.url,!0)});V&&(B.traceId=new ry,B.spanId=new ry,B.traceSampled=!eO(U.traceSampleRate)||eC(U.traceSampleRate),Y(rv(B.traceId,B.spanId,B.traceSampled,V.propagatorTypes)))}}function r_(){return void 0!==rm()}function rm(){return window.crypto||window.msCrypto}function rv(U,B,G,Y){var V={};return Y.forEach(function(Y){switch(Y){case"datadog":tZ(V,{"x-datadog-origin":"rum","x-datadog-parent-id":B.toDecimalString(),"x-datadog-sampling-priority":G?"1":"0","x-datadog-trace-id":U.toDecimalString()});break;case"tracecontext":tZ(V,{traceparent:"00-0000000000000000".concat(U.toPaddedHexadecimalString(),"-").concat(B.toPaddedHexadecimalString(),"-0").concat(G?"1":"0")});break;case"b3":tZ(V,{b3:"".concat(U.toPaddedHexadecimalString(),"-").concat(B.toPaddedHexadecimalString(),"-").concat(G?"1":"0")});break;case"b3multi":tZ(V,{"X-B3-TraceId":U.toPaddedHexadecimalString(),"X-B3-SpanId":B.toPaddedHexadecimalString(),"X-B3-Sampled":G?"1":"0"})}}),V}var ry=function(){function U(){this.buffer=new Uint8Array(8),rm().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return U.prototype.toString=function(U){var B=this.readInt32(0),G=this.readInt32(4),Y="";do{var V=B%U*4294967296+G;B=Math.floor(B/U),G=Math.floor(V/U),Y=(V%U).toString(U)+Y}while(B||G);return Y},U.prototype.toDecimalString=function(){return this.toString(10)},U.prototype.toPaddedHexadecimalString=function(){var U=this.toString(16);return Array(17-U.length).join("0")+U},U.prototype.readInt32=function(U){return 16777216*this.buffer[U]+(this.buffer[U+1]<<16)+(this.buffer[U+2]<<8)+this.buffer[U+3]},U}();function rb(U){if(!U.applicationId){tR.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==U.sessionReplaySampleRate&&!eA(U.sessionReplaySampleRate)){tR.error("Session Replay Sample Rate should be a number between 0 and 100");return}var B,G,Y,V,Z,J,X=null!==(B=U.premiumSampleRate)&&void 0!==B?B:U.replaySampleRate;if(void 0!==X&&void 0!==U.sessionReplaySampleRate&&(tR.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),X=void 0),void 0!==X&&!eA(X)){tR.error("Premium Sample Rate should be a number between 0 and 100");return}var Q=null!==(G=U.traceSampleRate)&&void 0!==G?G:U.tracingSampleRate;if(void 0!==Q&&!eA(Q)){tR.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==U.excludedActivityUrls&&!Array.isArray(U.excludedActivityUrls)){tR.error("Excluded Activity Urls should be an array");return}var tt=rE(U);if(tt){var te=ra(U);if(te){var tn=!!(null!==(Y=U.trackUserInteractions)&&void 0!==Y?Y:U.trackInteractions),tr=!!U.trackFrustrations;return tZ({applicationId:U.applicationId,version:U.version,actionNameAttribute:U.actionNameAttribute,sessionReplaySampleRate:null!==(Z=null!==(V=U.sessionReplaySampleRate)&&void 0!==V?V:X)&&void 0!==Z?Z:100,oldPlansBehavior:void 0===U.sessionReplaySampleRate,traceSampleRate:Q,allowedTracingUrls:tt,excludedActivityUrls:null!==(J=U.excludedActivityUrls)&&void 0!==J?J:[],trackUserInteractions:tn||tr,trackFrustrations:tr,trackViewsManually:!!U.trackViewsManually,trackResources:U.trackResources,trackLongTasks:U.trackLongTasks,subdomain:U.subdomain,defaultPrivacyLevel:nB(ro,U.defaultPrivacyLevel)?U.defaultPrivacyLevel:ro.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},te)}}}function rE(U){if(void 0!==U.allowedTracingUrls&&void 0!==U.allowedTracingOrigins&&tR.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==U.allowedTracingUrls){if(!Array.isArray(U.allowedTracingUrls)){tR.error("Allowed Tracing URLs should be an array");return}if(0!==U.allowedTracingUrls.length&&void 0===U.service){tR.error("Service needs to be configured when tracing is enabled");return}var B=[];return U.allowedTracingUrls.forEach(function(U){rl(U)?B.push({match:U,propagatorTypes:["datadog"]}):rf(U)?B.push(U):tR.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",U)}),B}if(void 0!==U.allowedTracingOrigins){if(!Array.isArray(U.allowedTracingOrigins)){tR.error("Allowed Tracing Origins should be an array");return}if(0!==U.allowedTracingOrigins.length&&void 0===U.service){tR.error("Service needs to be configured when tracing is enabled");return}var G=[];return U.allowedTracingOrigins.forEach(function(U){var B=rw(U);B&&G.push(B)}),G}return[]}function rw(U){var B;if("string"==typeof U?B=U:U instanceof RegExp?B=function(B){return U.test(nz(B))}:"function"==typeof U&&(B=function(B){return U(nz(B))}),void 0===B){tR.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",U);return}return{match:B,propagatorTypes:["datadog"]}}function rS(U){var B=new Set;return Array.isArray(U.allowedTracingUrls)&&U.allowedTracingUrls.length>0&&U.allowedTracingUrls.forEach(function(U){rl(U)?B.add("datadog"):"object"===en(U)&&Array.isArray(U.propagatorTypes)&&U.propagatorTypes.forEach(function(U){return B.add(U)})}),Array.isArray(U.allowedTracingOrigins)&&U.allowedTracingOrigins.length>0&&B.add("datadog"),tj(B)}function rx(U){var B,G,Y=rc(U);return tZ({premium_sample_rate:U.premiumSampleRate,replay_sample_rate:U.replaySampleRate,session_replay_sample_rate:U.sessionReplaySampleRate,trace_sample_rate:null!==(B=U.traceSampleRate)&&void 0!==B?B:U.tracingSampleRate,action_name_attribute:U.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(U.allowedTracingOrigins)&&U.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(U.allowedTracingUrls)&&U.allowedTracingUrls.length>0,selected_tracing_propagators:rS(U),default_privacy_level:U.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(U.excludedActivityUrls)&&U.excludedActivityUrls.length>0,track_frustrations:U.trackFrustrations,track_views_manually:U.trackViewsManually,track_user_interactions:null!==(G=U.trackUserInteractions)&&void 0!==G?G:U.trackInteractions},Y)}function rk(U,B,G){return{context:U.getContext(),user:B.getContext(),hasReplay:!!G.isRecording()||void 0}}function rT(U,B,G){var Y=(void 0===G?{}:G).ignoreInitIfSyntheticsWillInjectRum,V=void 0===Y||Y,Z=!1,J=eS("global context"),X=eS("user"),Q=function(){},tt=function(){},te=ee,tn=function(){},tr=new eT,ti=function(U,B){void 0===B&&(B=eG()),tr.add(function(){return ti(U,B)})},ta=function(U,B){void 0===B&&(B=eH()),tr.add(function(){return ta(U,B)})},ts=function(U,G){void 0===G&&(G=rk(J,X,B)),tr.add(function(){return ts(U,G)})},tu=function(U,G){void 0===G&&(G=rk(J,X,B)),tr.add(function(){return tu(U,G)})},tc=function(U,B){tr.add(function(){return tc(U,B)})};function td(U){if(tt=function(){return ei(U)},!(V&&nt())){if(ni())U=t_(U);else if(!tp(U))return;if(tg(U)){var B=rb(U);if(B){if(B.trackViewsManually){var G=tr;tr=new eT,ta=function(G){tf(U,B,G)},G.drain()}else tf(U,B);Z=!0}}}}function tf(G,Y,V){var Z=U(G,Y,B,J,X,V);tn=function(){return B.getSessionReplayLink(Y,Z.session,Z.viewContexts)},ta=Z.startView,ts=Z.addAction,tu=Z.addError,ti=Z.addTiming,tc=Z.addFeatureFlagEvaluation,Q=Z.getInternalContext,te=Z.stopSession,tr.drain(),B.onRumStart(Z.lifeCycle,Y,Z.session,Z.viewContexts)}var th=tP(function(U){ta("object"==typeof U?U:{name:U})});return tK({init:tP(td),addRumGlobalContext:tP(J.add),setGlobalContextProperty:tP(J.setContextProperty),removeRumGlobalContext:tP(J.remove),removeGlobalContextProperty:tP(J.removeContextProperty),getRumGlobalContext:tP(J.get),getGlobalContext:tP(J.getContext),setRumGlobalContext:tP(J.set),setGlobalContext:tP(J.setContext),clearGlobalContext:tP(J.clearContext),getInternalContext:tP(function(U){return Q(U)}),getInitConfiguration:tP(function(){return tt()}),addAction:tP(function(U,B){ts({name:eh(U),context:eh(B),startClocks:eH(),type:"custom"})}),addError:function(U,B){var G=nA();tM(function(){tu({error:U,handlingStack:G,context:eh(B),startClocks:eH()})})},addTiming:tP(function(U,B){ti(eh(U),B)}),setUser:tP(function(U){nN(U)&&X.setContext(nI(U))}),getUser:tP(X.getContext),setUserProperty:tP(function(U,B){var G,Y=nI(((G={})[U]=B,G))[U];X.setContextProperty(U,Y)}),removeUserProperty:tP(X.removeContextProperty),removeUser:tP(X.clearContext),clearUser:tP(X.clearContext),startView:th,stopSession:tP(function(){te()}),startSessionReplayRecording:tP(B.start),stopSessionReplayRecording:tP(B.stop),addFeatureFlagEvaluation:tP(function(U,B){tc(eh(U),eh(B))}),getSessionReplayLink:tP(function(){return tn()})});function tp(U){return e6(rs(U))?!tm()||(tR.error("Execution is not allowed in the current context."),!1):(tR.warn("Cookies are not authorized, we will not send any data."),!1)}function tg(U){return!Z||(U.silentMultipleInit||tR.error("DD_RUM is already initialized."),!1)}function t_(U){return tZ({},U,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}function tm(){return"file:"===window.location.protocol}}function rC(U,B){var G=window.__ddBrowserSdkExtensionCallback;G&&G({type:U,payload:B})}var rR=function(){function U(U){this.onFirstSubscribe=U,this.observers=[]}return U.prototype.subscribe=function(U){var B=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(U),{unsubscribe:function(){B.observers=B.observers.filter(function(B){return U!==B}),!B.observers.length&&B.onLastUnsubscribe&&B.onLastUnsubscribe()}}},U.prototype.notify=function(U){this.observers.forEach(function(B){return B(U)})},U}();function rA(){for(var U=[],B=0;B<arguments.length;B++)U[B]=arguments[B];var G=new rR(function(){var B=U.map(function(U){return U.subscribe(function(U){return G.notify(U)})});return function(){return B.forEach(function(U){return U.unsubscribe()})}});return G}function rO(U,B,G,Y){return rI(U,[B],G,Y)}function rI(U,B,G,Y){var V=void 0===Y?{}:Y,Z=V.once,J=V.capture,X=V.passive,Q=tP(Z?function(U){tn(),G(U)}:G),tt=X?{capture:J,passive:X}:J,te=t6(U,"addEventListener");function tn(){var G=t6(U,"removeEventListener");B.forEach(function(B){return G.call(U,B,Q,tt)})}return B.forEach(function(B){return te.call(U,B,Q,tt)}),{stop:tn}}var rN={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function rD(){var U=new rR(function(){var B=nP(J.PAGEHIDE),G=rI(window,["visibilitychange","freeze","pagehide"],function(G){"pagehide"===G.type&&B?U.notify({reason:rN.PAGEHIDE}):"visibilitychange"===G.type&&"hidden"===document.visibilityState?U.notify({reason:rN.HIDDEN}):"freeze"===G.type&&U.notify({reason:rN.FROZEN})},{capture:!0}).stop,Y=ee;return B||(Y=rO(window,"beforeunload",function(){U.notify({reason:rN.UNLOADING})}).stop),function(){G(),Y()}});return U}function rL(U){return tB(tz(rN),U)}var rP={log:"log",configuration:"configuration"},rM=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],rU=[n0],rB={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function rj(U,B){var G,Y=new rR;function V(U,B){return eo({type:"telemetry",date:eG(),service:U,version:"4.42.2",source:"browser",_dd:{format_version:2},telemetry:B,experimental_features:tj(nM())},void 0!==G?G():{})}return rB.telemetryEnabled=!tB(rU,B.site)&&eC(B.telemetrySampleRate),rB.telemetryConfigurationEnabled=rB.telemetryEnabled&&eC(B.telemetryConfigurationSampleRate),Q=function(B){if(rB.telemetryEnabled){var G=V(U,B);Y.notify(G),rC("telemetry",G)}},tD(rH),tZ(rB,{maxEventsPerPage:B.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(U){G=U},observable:Y,enabled:rB.telemetryEnabled}}function rG(U){return U.site===nK}function rF(U,B){tU(tC.debug,U,B),r$(tZ({type:rP.log,message:U,status:"debug"},B))}function rH(U){r$(tZ({type:rP.log,status:"error"},rq(U)))}function rz(U){rB.telemetryConfigurationEnabled&&r$({type:rP.configuration,configuration:U})}function r$(U){Q&&rB.sentEventCount<rB.maxEventsPerPage&&(rB.sentEventCount+=1,Q(U))}function rq(U){if(U instanceof Error){var B=nu(U);return{error:{kind:B.name,stack:nC(rY(B))},message:B.message}}return{error:{stack:nw},message:"".concat("Uncaught"," ").concat(es(U))}}function rY(U){return U.stack=U.stack.filter(function(U){return!U.url||rM.some(function(B){return tq(U.url,B)})}),U}function rV(){var U=rW(),B=new rR(function(){if(U){var G=new U(tP(function(){return B.notify()}));return G.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return G.disconnect()}}});return B}function rW(){var U,B=window;if(B.Zone&&(U=t6(B,"MutationObserver"),B.MutationObserver&&U===B.MutationObserver)){var G=t6(new B.MutationObserver(ee),"originalInstance");U=G&&G.constructor}return U||(U=B.MutationObserver),U}function rZ(U,B){if(document.readyState===U||"complete"===document.readyState)B();else{var G="complete"===U?"load":"DOMContentLoaded";rO(window,G,B,{once:!0})}}var rK="initial_document",rJ=[["document",function(U){return rK===U}],["xhr",function(U){return"xmlhttprequest"===U}],["fetch",function(U){return"fetch"===U}],["beacon",function(U){return"beacon"===U}],["css",function(U,B){return/\.css$/i.test(B)}],["js",function(U,B){return/\.js$/i.test(B)}],["image",function(U,B){return tB(["image","img","icon"],U)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(B)}],["font",function(U,B){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(B)}],["media",function(U,B){return tB(["audio","video"],U)||null!==/\.(mp3|mp4)$/i.exec(B)}]];function rX(U){var B=U.name;if(!nH(B))return rF('Failed to construct URL for "'.concat(U.name,'"')),"other";for(var G=n$(B),Y=0,V=rJ;Y<V.length;Y++){var Z=V[Y],J=Z[0];if((0,Z[1])(U.initiatorType,G))return J}return"other"}function rQ(){for(var U=[],B=0;B<arguments.length;B++)U[B]=arguments[B];for(var G=1;G<U.length;G+=1)if(U[G-1]>U[G])return!1;return!0}function r0(U){return"xmlhttprequest"===U.initiatorType||"fetch"===U.initiatorType}function r1(U){var B=U.duration,G=U.startTime,Y=U.responseEnd;return 0===B&&G<Y?eB(e$(G,Y)):eB(B)}function r2(U){var B=r5(U);if(B){var G=B.startTime,Y=B.fetchStart,V=B.redirectStart,Z=B.redirectEnd,J=B.domainLookupStart,X=B.domainLookupEnd,Q=B.connectStart,tt=B.secureConnectionStart,te=B.connectEnd,tn=B.requestStart,tr=B.responseStart,ti={download:r6(G,tr,B.responseEnd),first_byte:r6(G,tn,tr)};return te!==Y&&(ti.connect=r6(G,Q,te),rQ(Q,tt,te)&&(ti.ssl=r6(G,tt,te))),X!==Y&&(ti.dns=r6(G,J,X)),r3(U)&&(ti.redirect=r6(G,V,Z)),ti}}function r5(U){if(rQ(U.startTime,U.fetchStart,U.domainLookupStart,U.domainLookupEnd,U.connectStart,U.connectEnd,U.requestStart,U.responseStart,U.responseEnd)){if(!r3(U))return U;var B=U.redirectStart,G=U.redirectEnd;if(B<U.startTime&&(B=U.startTime),G<U.startTime&&(G=U.fetchStart),rQ(U.startTime,B,G,U.fetchStart))return tZ({},U,{redirectEnd:G,redirectStart:B})}}function r3(U){return U.fetchStart!==U.startTime}function r6(U,B,G){return{duration:eB(e$(B,G)),start:eB(e$(U,B))}}function r4(U){if(U.startTime<U.responseStart)return U.decodedBodySize}function r8(U,B){return B&&!U.isIntakeUrl(B)}function r7(U){return U.nodeType===Node.TEXT_NODE}function r9(U){return U.nodeType===Node.COMMENT_NODE}function it(U){return U.nodeType===Node.ELEMENT_NODE}function ie(U){return it(U)&&!!U.shadowRoot}function ir(U){var B=U;return!!B.host&&B.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&it(B.host)}function ii(U){return ie(U)?U.shadowRoot.childNodes:U.childNodes}function io(U){return ir(U)?U.host:U.parentNode}var ia=2*eN;function iu(U){var B=il(U)||ih(U);if(!(!B||B.traceTime<=ej()-ia))return B.traceId}function il(U){var B=U.querySelector("meta[name=dd-trace-id]"),G=U.querySelector("meta[name=dd-trace-time]");return ip(B&&B.content,G&&G.content)}function ih(U){var B=ig(U);if(B)return ip(eJ(B,"trace-id"),eJ(B,"trace-time"))}function ip(U,B){var G=B&&Number(B);if(U&&G)return{traceId:U,traceTime:G}}function ig(U){for(var B=0;B<U.childNodes.length;B+=1){var G=i_(U.childNodes[B]);if(G)return G}if(U.body)for(var B=U.body.childNodes.length-1;B>=0;B-=1){var Y=U.body.childNodes[B],G=i_(Y);if(G)return G;if(!r7(Y))break}}function i_(U){if(U&&r9(U)){var B=/^\s*DATADOG;(.*?)\s*$/.exec(U.data);if(B)return B[1]}}function im(){return void 0!==window.performance&&"getEntries"in performance}function iv(U){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(U)}function iy(U,B){if(ib(function(G){ix(U,B,[G])}),im()){var G=performance.getEntries();t4(function(){return ix(U,B,G)})}if(window.PerformanceObserver){var Y=tP(function(G){return ix(U,B,G.getEntries())}),V=["resource","navigation","longtask","paint"],Z=["largest-contentful-paint","first-input","layout-shift"];try{Z.forEach(function(U){new PerformanceObserver(Y).observe({type:U,buffered:!0})})}catch(U){V.push.apply(V,Z)}new PerformanceObserver(Y).observe({entryTypes:V}),im()&&"addEventListener"in performance&&rO(performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}iv("navigation")||iE(function(G){ix(U,B,[G])}),iv("first-input")||iw(function(G){ix(U,B,[G])})}function ib(U){rZ("interactive",function(){var B,G={entryType:"resource",initiatorType:rK,traceId:iu(document)};if(iv("navigation")&&performance.getEntriesByType("navigation").length>0)B=tZ(performance.getEntriesByType("navigation")[0].toJSON(),G);else{var Y=iS();B=tZ(Y,{decodedBodySize:0,duration:Y.responseEnd,name:window.location.href,startTime:0},G)}U(B)})}function iE(U){function B(){U(tZ(iS(),{entryType:"navigation"}))}rZ("complete",function(){t4(B)})}function iw(U){var B=ej(),G=!1,Y=rI(window,["click","mousedown","keydown","touchstart","pointerdown"],function(U){if(U.cancelable){var B={entryType:"first-input",processingStart:eF(),startTime:U.timeStamp};"pointerdown"===U.type?V(B):Z(B)}},{passive:!0,capture:!0}).stop;function V(U){rI(window,["pointerup","pointercancel"],function(B){"pointerup"===B.type&&Z(U)},{once:!0})}function Z(V){if(!G){G=!0,Y();var Z=V.processingStart-V.startTime;Z>=0&&Z<ej()-B&&U(V)}}}function iS(){var U={},B=performance.timing;for(var G in B)if(eO(B[G])){var Y=G,V=B[Y];U[Y]=0===V?0:eY(V)}return U}function ix(U,B,G){var Y=G.filter(function(U){return"resource"===U.entryType||"navigation"===U.entryType||"paint"===U.entryType||"longtask"===U.entryType||"largest-contentful-paint"===U.entryType||"first-input"===U.entryType||"layout-shift"===U.entryType}).filter(function(U){return!ik(U)&&!iT(B,U)});Y.length&&U.notify(0,Y)}function ik(U){return"navigation"===U.entryType&&U.loadEventEnd<=0}function iT(U,B){return"resource"===B.entryType&&!r8(U,B.name)}var iC={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function iR(U,B,G){var Y=0,V=!1;return{isLimitReached:function(){if(0===Y&&t4(function(){Y=0},eN),(Y+=1)<=B||V)return V=!1,!1;if(Y===B+1){V=!0;try{G({message:"Reached max number of ".concat(U,"s by minute: ").concat(B),source:iC.AGENT,startClocks:eH()})}finally{V=!1}}return!0}}}function iA(){var U=ne(),B=nn();if(U&&B)return{test_id:U,result_id:B,injected:nt()}}function iO(){var U,B=null===(U=window.Cypress)||void 0===U?void 0:U.env("traceId");if("string"==typeof B)return{test_execution_id:B}}function iI(){return tt||(tt=iN()),tt}function iN(){var U=new rR(function(){var B=et(function(){U.notify(iD())},200).throttled;return rO(window,"resize",B,{capture:!0,passive:!0}).stop});return U}function iD(){var U=window.visualViewport;return U?{width:Number(U.width*U.scale),height:Number(U.height*U.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}function iL(){return te||(te=iD(),tn=iI().subscribe(function(U){te=U}).unsubscribe),{viewport:te}}function iP(U,B,G){var Y=ei(U),V=G(Y);return t$(B).forEach(function(B){var G=B[0],V=B[1],Z=iM(Y,G),J=en(Z);J===V?iU(U,G,eh(Z)):"object"===V&&("undefined"===J||"null"===J)&&iU(U,G,{})}),V}function iM(U,B){for(var G=U,Y=0,V=B.split(".");Y<V.length;Y++){var Z=V[Y];if(!ij(G,Z))return;G=G[Z]}return G}function iU(U,B,G){for(var Y=U,V=B.split("."),Z=0;Z<V.length;Z+=1){var J=V[Z];if(!iB(Y))return;Z!==V.length-1?Y=Y[J]:Y[J]=G}}function iB(U){return"object"===en(U)}function ij(U,B){return iB(U)&&Object.prototype.hasOwnProperty.call(U,B)}var iG={"view.url":"string","view.referrer":"string"},iF={context:"object"};function iH(U,B,G,Y,V,Z,J,X){(Q={}).view=iG,Q.error=tZ({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},iF,iG),Q.resource=tZ({"resource.url":"string"},iF,iG),Q.action=tZ({"action.target.name":"string"},iF,iG),Q.long_task=tZ({},iF,iG),tr=Q;var Q,tt,te=((tt={}).error=iR("error",U.eventRateLimiterThreshold,X),tt.action=iR("action",U.eventRateLimiterThreshold,X),tt),tn=iA(),ti=iO();B.subscribe(10,function(X){var Q=X.startTime,tt=X.rawRumEvent,tr=X.domainContext,ta=X.savedCommonContext,ts=X.customerContext,tu=Y.findView(Q),tc=V.findUrl(Q),td=G.findTrackedSession(Q);if(td&&tu&&tc){var tf=ta||J(),th=Z.findActionId(Q),tp=eo({_dd:{format_version:2,drift:eU(),session:{plan:td.plan},browser_sdk_version:ni()?"4.42.2":void 0},application:{id:U.applicationId},date:eG(),service:tu.service||U.service,version:tu.version||U.version,source:"browser",session:{id:td.id,type:tn?"synthetics":ti?"ci_test":"user"},view:{id:tu.id,name:tu.name,url:tc.url,referrer:tc.referrer},action:i$(tt)&&th?{id:th}:void 0,synthetics:tn,ci_test:ti,display:iL()},tt);tp.context=eo(tf.context,ts),"has_replay"in tp.session||(tp.session.has_replay=tf.hasReplay),nj(tf.user)||(tp.usr=tf.user),iz(tp,U.beforeSend,tr,te)&&(nj(tp.context)&&delete tp.context,B.notify(11,tp))}})}function iz(U,B,G,Y){if(B){var V,Z=iP(U,tr[U.type],function(U){return B(U,G)});if(!1===Z&&"view"!==U.type)return!1;!1===Z&&tR.warn("Can't dismiss view events using beforeSend!")}return!(null===(V=Y[U.type])||void 0===V?void 0:V.isLimitReached())}function i$(U){return -1!==["error","resource","long_task"].indexOf(U.type)}var iq=500,iY=2500,iV=[];function iW(){document.hasFocus()&&iZ();var U=iJ(iZ).stop,B=iX(iK).stop;return{isInForegroundAt:iQ,selectInForegroundPeriodsFor:i0,stop:function(){iV=[],U(),B()}}}function iZ(){if(!(iV.length>iY)){var U=iV[iV.length-1],B=eF();(void 0===U||void 0!==U.end)&&iV.push({start:B})}}function iK(){if(0!==iV.length){var U=iV[iV.length-1],B=eF();void 0===U.end&&(U.end=B)}}function iJ(U){return rO(window,"focus",function(B){B.isTrusted&&U()})}function iX(U){return rO(window,"blur",function(B){B.isTrusted&&U()})}function iQ(U){for(var B=iV.length-1;B>=0;B--){var G=iV[B];if(void 0!==G.end&&U>G.end)break;if(U>G.start&&(void 0===G.end||U<G.end))return!0}return!1}function i0(U,B){for(var G=eq(U,B),Y=[],V=Math.max(0,iV.length-iq),Z=iV.length-1;Z>=V;Z--){var J=iV[Z];if(void 0!==J.end&&U>J.end)break;if(!(G<J.start)){var X=U>J.start?U:J.start,Q=e$(U,X),tt=e$(X,void 0===J.end||G<J.end?G:J.end);Y.unshift({start:eB(Q),duration:eB(tt)})}}return Y}function i2(U,B,G,Y,V){return{get:function(Z){var J=G.findView(Z),X=V.findUrl(Z),Q=B.findTrackedSession(Z);if(Q&&J&&X){var tt=Y.findActionId(Z);return{application_id:U,session_id:Q.id,user_action:tt?{id:tt}:void 0,view:{id:J.id,name:J.name,referrer:X.referrer,url:X.url}}}}}}var i5=function(){function U(){this.callbacks={}}return U.prototype.notify=function(U,B){var G=this.callbacks[U];G&&G.forEach(function(U){return U(B)})},U.prototype.subscribe=function(U,B){var G=this;return this.callbacks[U]||(this.callbacks[U]=[]),this.callbacks[U].push(B),{unsubscribe:function(){G.callbacks[U]=G.callbacks[U].filter(function(U){return B!==U})}}},U}(),i3=4*eD,i6=15*eN,i4=1/0,i8=eN,i7=function(){function U(U){var B=this;this.expireDelay=U,this.entries=[],this.clearOldValuesInterval=t7(function(){return B.clearOldValues()},i8)}return U.prototype.add=function(U,B){var G=this,Y={value:U,startTime:B,endTime:i4,remove:function(){var U=G.entries.indexOf(Y);U>=0&&G.entries.splice(U,1)},close:function(U){Y.endTime=U}};return this.entries.unshift(Y),Y},U.prototype.find=function(U){void 0===U&&(U=i4);for(var B=0,G=this.entries;B<G.length;B++){var Y=G[B];if(Y.startTime<=U){if(U<=Y.endTime)return Y.value;break}}},U.prototype.closeActive=function(U){var B=this.entries[0];B&&B.endTime===i4&&B.close(U)},U.prototype.findAll=function(U){return void 0===U&&(U=i4),this.entries.filter(function(B){return B.startTime<=U&&U<=B.endTime}).map(function(U){return U.value})},U.prototype.reset=function(){this.entries=[]},U.prototype.stop=function(){t9(this.clearOldValuesInterval)},U.prototype.clearOldValues=function(){for(var U=eF()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<U;)this.entries.pop()},U}(),i9=i3;function ot(U){var B=new i7(i9);function G(U){return{service:U.service,version:U.version,id:U.id,name:U.name,startClocks:U.startClocks}}return U.subscribe(2,function(U){B.add(G(U),U.startClocks.relative)}),U.subscribe(4,function(U){var G=U.endClocks;B.closeActive(G.relative)}),U.subscribe(8,function(){B.reset()}),{findView:function(U){return B.find(U)},stop:function(){B.stop()}}}function oe(U,B,G){var Y=U[B],V=G(Y),Z=function(){if("function"==typeof V)return V.apply(this,arguments)};return U[B]=Z,{stop:function(){U[B]===Z?U[B]=Y:V=Y}}}function or(U,B,G){var Y=G.before,V=G.after;return oe(U,B,function(U){return function(){var B,G=arguments;return Y&&tM(Y,this,G),"function"==typeof U&&(B=U.apply(this,G)),V&&tM(V,this,G),B}})}function oi(U,B,G){var Y=Object.getOwnPropertyDescriptor(U,B);if(!Y||!Y.set||!Y.configurable)return{stop:ee};var V=function(U,B){t4(function(){G(U,B)},0)},Z=function(U){Y.set.call(this,U),V(this,U)};return Object.defineProperty(U,B,{set:Z}),{stop:function(){var G;(null===(G=Object.getOwnPropertyDescriptor(U,B))||void 0===G?void 0:G.set)===Z?Object.defineProperty(U,B,Y):V=ee}}}var oo=new WeakMap;function oa(){return ti||(ti=os()),ti}function os(){var U=new rR(function(){var B=or(XMLHttpRequest.prototype,"open",{before:ou}).stop,G=or(XMLHttpRequest.prototype,"send",{before:function(){oc.call(this,U)}}).stop,Y=or(XMLHttpRequest.prototype,"abort",{before:ol}).stop;return function(){B(),G(),Y()}});return U}function ou(U,B){oo.set(this,{state:"open",method:U,url:nF(String(B))})}function oc(U){var B=this,G=oo.get(this);if(G){var Y=G;Y.state="start",Y.startTime=eF(),Y.startClocks=eH(),Y.isAborted=!1,Y.xhr=this;var V=!1,Z=or(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&J()}}).stop,J=function(){if(X(),Z(),!V){V=!0;var J=G;J.state="complete",J.duration=e$(Y.startClocks.timeStamp,eG()),J.status=B.status,U.notify(nU(J))}},X=rO(this,"loadend",J).stop;U.notify(Y)}}function ol(){var U=oo.get(this);U&&(U.isAborted=!0)}function od(){return ta||(ta=of()),ta}function of(){var U=new rR(function(){if(window.fetch)return oe(window,"fetch",function(B){return function(G,Y){var V,Z=tM(oh,null,[U,G,Y]);return Z?(V=B.call(this,Z.input,Z.init),tM(og,null,[U,V,Z])):V=B.call(this,G,Y),V}}).stop});return U}function oh(U,B,G){var Y=G&&G.method||B instanceof Request&&B.method||"GET",V=B instanceof Request?B.url:nF(String(B)),Z={state:"start",init:G,input:B,method:Y,startClocks:eH(),url:V};return U.notify(Z),Z}function og(U,B,G){var Y=function(B){var Y=G;Y.state="resolve","stack"in B||B instanceof Error?(Y.status=0,Y.isAborted=B instanceof DOMException&&B.code===DOMException.ABORT_ERR,Y.error=B):"status"in B&&(Y.response=B,Y.responseType=B.type,Y.status=B.status,Y.isAborted=!1),U.notify(Y)};B.then(tP(Y),tP(Y))}function o_(U){return U>=500}function om(U){try{return U.clone()}catch(U){return}}function ov(U,B,G){var Y=U.getReader(),V=[],Z=0;function J(){Y.read().then(tP(function(U){if(U.done){X();return}G.collectStreamBody&&V.push(U.value),(Z+=U.value.length)>G.bytesLimit?X():J()}),tP(function(U){return B(U)}))}function X(){if(Y.cancel().catch(ee),G.collectStreamBody){if(1===V.length)X=V[0];else{X=new Uint8Array(Z);var U,J,X,Q=0;V.forEach(function(U){X.set(U,Q),Q+=U.length})}U=X.slice(0,G.bytesLimit),J=X.length>G.bytesLimit}B(void 0,U,J)}J()}var oy=1;function ob(U,B,G){var Y=rp(B,G);oE(U,B,Y),ow(U,B,Y)}function oE(U,B,G){var Y=oa().subscribe(function(Y){var V=Y;if(r8(B,V.url))switch(V.state){case"start":G.traceXhr(V,V.xhr),V.requestIndex=oS(),U.notify(5,{requestIndex:V.requestIndex,url:V.url});break;case"complete":G.clearTracingIfNeeded(V),U.notify(6,{duration:V.duration,method:V.method,requestIndex:V.requestIndex,spanId:V.spanId,startClocks:V.startClocks,status:V.status,traceId:V.traceId,traceSampled:V.traceSampled,type:"xhr",url:V.url,xhr:V.xhr})}});return{stop:function(){return Y.unsubscribe()}}}function ow(U,B,G){var Y=od().subscribe(function(Y){var V=Y;if(r8(B,V.url))switch(V.state){case"start":G.traceFetch(V),V.requestIndex=oS(),U.notify(5,{requestIndex:V.requestIndex,url:V.url});break;case"resolve":ox(V,function(B){G.clearTracingIfNeeded(V),U.notify(6,{duration:B,method:V.method,requestIndex:V.requestIndex,responseType:V.responseType,spanId:V.spanId,startClocks:V.startClocks,status:V.status,traceId:V.traceId,traceSampled:V.traceSampled,type:"fetch",url:V.url,response:V.response,init:V.init,input:V.input})})}});return{stop:function(){return Y.unsubscribe()}}}function oS(){var U=oy;return oy+=1,U}function ox(U,B){var G=U.response&&om(U.response);G&&G.body?ov(G.body,function(){B(e$(U.startClocks.timeStamp,eG()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):B(e$(U.startClocks.timeStamp,eG()))}function ok(U){var B=U.lifeCycle,G=U.isChildEvent,Y=U.onChange,V=void 0===Y?ee:Y,Z={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},J=B.subscribe(11,function(U){if("view"!==U.type&&G(U))switch(U.type){case"error":Z.errorCount+=1,V();break;case"action":Z.actionCount+=1,U.action.frustration&&(Z.frustrationCount+=U.action.frustration.type.length),V();break;case"long_task":Z.longTaskCount+=1,V();break;case"resource":Z.resourceCount+=1,V()}});return{stop:function(){J.unsubscribe()},eventCounts:Z}}var oT=100,oC=100;function oR(U,B,G,Y,V){return oA(oI(U,B,G),Y,V)}function oA(U,B,G){var Y,V=!1,Z=t4(tP(function(){return tt({hadActivity:!1})}),oT),J=void 0!==G?t4(tP(function(){return tt({hadActivity:!0,end:eG()})}),G):void 0,X=U.subscribe(function(U){var B=U.isBusy;t8(Z),t8(Y);var G=eG();B||(Y=t4(tP(function(){return tt({hadActivity:!0,end:G})}),oC))}),Q=function(){V=!0,t8(Z),t8(Y),t8(J),X.unsubscribe()};function tt(U){V||(Q(),B(U))}return{stop:Q}}function oI(U,B,G){var Y=new rR(function(){var V,Z=[],J=0;Z.push(B.subscribe(Q),U.subscribe(0,function(U){U.some(function(U){return"resource"===U.entryType&&!oN(G,U.name)})&&Q()}),U.subscribe(5,function(U){oN(G,U.url)||(void 0===V&&(V=U.requestIndex),J+=1,Q())}),U.subscribe(6,function(U){oN(G,U.url)||void 0===V||U.requestIndex<V||(J-=1,Q())}));var X=oD(Q).stop;return function(){X(),Z.forEach(function(U){return U.unsubscribe()})};function Q(){Y.notify({isBusy:J>0})}});return Y}function oN(U,B){return rd(U.excludedActivityUrls,B)}function oD(U){return or(window,"open",{before:U})}var oL=eI,oP=100;function oM(U,B){var G,Y=[],V=0;function Z(U){U.stopObservable.subscribe(J),Y.push(U),t8(G),G=t4(X,oL)}function J(){1===V&&Y.every(function(U){return U.isStopped()})&&(V=2,B(Y))}function X(){t8(G),0===V&&(V=1,J())}return Z(U),{tryAppend:function(U){return 0===V&&(Y.length>0&&!oU(Y[Y.length-1].event,U.event)?(X(),!1):(Z(U),!0))},stop:function(){X()}}}function oU(U,B){return U.target===B.target&&oB(U,B)<=oP&&U.timeStamp-B.timeStamp<=oL}function oB(U,B){return Math.sqrt(Math.pow(U.clientX-B.clientX,2)+Math.pow(U.clientY-B.clientY,2))}function oj(){return!!document.documentMode}function oG(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}var oF="data-dd-action-name";function oH(U,B){return oz(U,oF)||B&&oz(U,B)||oV(U,B,o$)||oV(U,B,oq)||""}function oz(U,B){if(o0())G=U.closest("[".concat(B,"]"));else for(var G,Y=U;Y;){if(Y.hasAttribute(B)){G=Y;break}Y=Y.parentElement}if(G)return oZ(oW(G.getAttribute(B).trim()))}var o$=[function(U,B){if(oQ()){if("labels"in U&&U.labels&&U.labels.length>0)return oJ(U.labels[0],B)}else if(U.id){var G=U.ownerDocument&&tG(U.ownerDocument.querySelectorAll("label"),function(B){return B.htmlFor===U.id});return G&&oJ(G,B)}},function(U){if("INPUT"===U.nodeName){var B=U,G=B.getAttribute("type");if("button"===G||"submit"===G||"reset"===G)return B.value}},function(U,B){if("BUTTON"===U.nodeName||"LABEL"===U.nodeName||"button"===U.getAttribute("role"))return oJ(U,B)},function(U){return U.getAttribute("aria-label")},function(U,B){var G=U.getAttribute("aria-labelledby");if(G)return G.split(/\s+/).map(function(B){return oK(U,B)}).filter(function(U){return!!U}).map(function(U){return oJ(U,B)}).join(" ")},function(U){return U.getAttribute("alt")},function(U){return U.getAttribute("name")},function(U){return U.getAttribute("title")},function(U){return U.getAttribute("placeholder")},function(U,B){if("options"in U&&U.options.length>0)return oJ(U.options[0],B)}],oq=[function(U,B){return oJ(U,B)}],oY=10;function oV(U,B,G){for(var Y=U,V=0;V<=oY&&Y&&"BODY"!==Y.nodeName&&"HTML"!==Y.nodeName&&"HEAD"!==Y.nodeName;){for(var Z=0,J=G;Z<J.length;Z++){var X=(0,J[Z])(Y,B);if("string"==typeof X){var Q=X.trim();if(Q)return oZ(oW(Q))}}if("FORM"===Y.nodeName)break;Y=Y.parentElement,V+=1}}function oW(U){return U.replace(/\s+/g," ")}function oZ(U){return U.length>100?"".concat(eX(U,100)," [...]"):U}function oK(U,B){return U.ownerDocument?U.ownerDocument.getElementById(B):null}function oJ(U,B){if(!U.isContentEditable){if("innerText"in U){var G=U.innerText,Y=function(B){for(var Y=U.querySelectorAll(B),V=0;V<Y.length;V+=1){var Z=Y[V];if("innerText"in Z){var J=Z.innerText;J&&J.trim().length>0&&(G=G.replace(J,""))}}};return oX()||Y("script, style"),Y("[".concat(oF,"]")),B&&Y("[".concat(B,"]")),G}return U.textContent}}function oX(){return!oj()}function oQ(){return void 0===ts&&(ts="labels"in HTMLInputElement.prototype),ts}function o0(){return void 0===tu&&(tu="closest"in HTMLElement.prototype),tu}var o1=[oF,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],o2=[o9,o4],o5=[o9,o8,o7];function o3(U,B){for(var G="",Y=U;Y&&"HTML"!==Y.nodeName;){var V=an(Y,o2,ai,B,G);if(V)return V;G=an(Y,o5,ao,B,G)||aa(ae(Y),G),Y=Y.parentElement}return G}function o6(U){return/[0-9]/.test(U)}function o4(U){if(U.id&&!o6(U.id))return"#".concat(tW(U.id))}function o8(U){if("BODY"!==U.tagName&&U.classList.length>0)for(var B=0;B<U.classList.length;B+=1){var G=U.classList[B];if(!o6(G))return"".concat(U.tagName,".").concat(tW(G))}}function o7(U){return U.tagName}function o9(U,B){if(B){var G=Z(B);if(G)return G}for(var Y=0,V=o1;Y<V.length;Y++){var G=Z(V[Y]);if(G)return G}function Z(B){if(U.hasAttribute(B))return"".concat(U.tagName,"[").concat(B,'="').concat(tW(U.getAttribute(B)),'"]')}}function ae(U){for(var B=U.parentElement.firstElementChild,G=1;B&&B!==U;)B.tagName===U.tagName&&(G+=1),B=B.nextElementSibling;return"".concat(U.tagName,":nth-of-type(").concat(G,")")}function an(U,B,G,Y,V){for(var Z=0,J=B;Z<J.length;Z++){var X=(0,J[Z])(U,Y);if(X){var Q=aa(X,V);if(G(U,Q))return Q}}}function ai(U,B){return 1===U.ownerDocument.querySelectorAll(B).length}function ao(U,B){return 1===U.parentElement.querySelectorAll(au()?aa(":scope",B):B).length}function aa(U,B){return B?"".concat(U,">").concat(B):U}function au(){if(void 0===tc)try{document.querySelector(":scope"),tc=!0}catch(U){tc=!1}return tc}function al(U){var B,G,Y=U.onPointerDown,V=U.onPointerUp,Z={selection:!1,input:!1},J=[rO(window,"pointerdown",function(U){af(U)&&(B=ad(),Z={selection:!1,input:!1},G=Y(U))},{capture:!0}),rO(window,"selectionchange",function(){B&&ad()||(Z.selection=!0)},{capture:!0}),rO(window,"pointerup",function(U){if(af(U)&&G){var B=Z;V(G,U,function(){return B}),G=void 0}},{capture:!0}),rO(window,"input",function(){Z.input=!0},{capture:!0})];return{stop:function(){J.forEach(function(U){return U.stop()})}}}function ad(){var U=window.getSelection();return!U||U.isCollapsed}function af(U){return U.target instanceof Element&&!1!==U.isPrimary}var ah=3;function ap(U,B){if(ag(U))return B.addFrustration("rage_click"),U.some(am)&&B.addFrustration("dead_click"),B.hasError&&B.addFrustration("error_click"),{isRage:!0};var G=U.some(function(U){return U.getUserActivity().selection});return U.forEach(function(U){U.hasError&&U.addFrustration("error_click"),am(U)&&!G&&U.addFrustration("dead_click")}),{isRage:!1}}function ag(U){if(U.some(function(U){return U.getUserActivity().selection}))return!1;for(var B=0;B<U.length-(ah-1);B+=1)if(U[B+ah-1].event.timeStamp-U[B].event.timeStamp<=eI)return!0;return!1}var a_='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function am(U){return!U.hasPageActivity&&!U.getUserActivity().input&&!tV(U.event.target,a_)}var av=10*eI,ay=5*eN;function aE(U,B,G){var Y,V=new i7(ay),Z=new rR;U.subscribe(8,function(){V.reset()}),U.subscribe(4,Q);var J=al({onPointerDown:function(Y){return aw(G,U,B,V,Y)},onPointerUp:function(Y,J,Q){return aS(G,U,B,V,Z,X,Y.clickActionBase,J,Q,Y.hadActivityOnPointerDown)}}).stop;return{stop:function(){Q(),Z.notify(),J()},actionContexts:{findActionId:function(U){return G.trackFrustrations?V.findAll(U):V.find(U)}}};function X(U){if(!Y||!Y.tryAppend(U)){var B=U.clone();Y=oM(U,function(U){aT(U,B)})}}function Q(){Y&&Y.stop()}}function aw(U,B,G,Y,V){if(!(!U.trackFrustrations&&Y.find())){var Z=ax(V,U.actionNameAttribute);if(U.trackFrustrations||Z.name){var J=!1;return oR(B,G,U,function(U){J=U.hadActivity},oT),{clickActionBase:Z,hadActivityOnPointerDown:function(){return J}}}}}function aS(U,B,G,Y,V,Z,J,X,Q,tt){var te=ak(B,Y,Q,J,X);U.trackFrustrations&&Z(te);var tn=oR(B,G,U,function(B){B.hadActivity&&B.end<te.startClocks.timeStamp?te.discard():(B.hadActivity?te.stop(B.end):tt()?te.stop(te.startClocks.timeStamp):te.stop(),U.trackFrustrations||(B.hadActivity?te.validate():te.discard()))},av).stop,tr=B.subscribe(4,function(U){var B=U.endClocks;te.stop(B.timeStamp)}),ti=V.subscribe(function(){te.stop()});te.stopObservable.subscribe(function(){tr.unsubscribe(),tn(),ti.unsubscribe()})}function ax(U,B){var G=U.target.getBoundingClientRect();return{type:"click",target:{width:Math.round(G.width),height:Math.round(G.height),selector:o3(U.target,B)},position:{x:Math.round(U.clientX-G.left),y:Math.round(U.clientY-G.top)},name:oH(U.target,B)}}function ak(U,B,G,Y,V){var Z,J=eK(),X=eH(),Q=B.add(J,X.relative),tt=ok({lifeCycle:U,isChildEvent:function(U){return void 0!==U.action&&(Array.isArray(U.action.id)?tB(U.action.id,J):U.action.id===J)}}),te=0,tn=[],tr=new rR;function ti(U){0===te&&(te=1,(Z=U)?Q.close(eY(Z)):Q.remove(),tt.stop(),tr.notify())}return{event:V,stop:ti,stopObservable:tr,get hasError(){return tt.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==Z},getUserActivity:G,addFrustration:function(U){tn.push(U)},startClocks:X,isStopped:function(){return 1===te||2===te},clone:function(){return ak(U,B,G,Y,V)},validate:function(B){if(ti(),1===te){var G=tt.eventCounts,Q=G.resourceCount,tr=G.errorCount,ta=G.longTaskCount,ts=tZ({type:"click",duration:Z&&e$(X.timeStamp,Z),startClocks:X,id:J,frustrationTypes:tn,counts:{resourceCount:Q,errorCount:tr,longTaskCount:ta},events:null!=B?B:[V],event:V},Y);U.notify(1,ts),te=2}},discard:function(){ti(),te=2}}}function aT(U,B){ap(U,B).isRage?(U.forEach(function(U){return U.discard()}),B.stop(eG()),B.validate(U.map(function(U){return U.event}))):(B.discard(),U.forEach(function(U){return U.validate()}))}function aC(U,B,G,Y){U.subscribe(1,function(B){return U.notify(10,aR(B,Y))});var V={findActionId:ee};return G.trackUserInteractions&&(V=aE(U,B,G).actionContexts),{addAction:function(B,G){U.notify(10,tZ({savedCommonContext:G},aR(B,Y)))},actionContexts:V}}function aR(U,B){var G=aA(U)?{action:{id:U.id,loading_time:eB(U.duration),frustration:{type:U.frustrationTypes},error:{count:U.counts.errorCount},long_task:{count:U.counts.longTaskCount},resource:{count:U.counts.resourceCount}},_dd:{action:{target:U.target,position:U.position}}}:void 0,Y=aA(U)?void 0:U.context,V=eo({action:{id:eK(),target:{name:U.name},type:U.type},date:U.startClocks.timeStamp,type:"action"},G),Z=B.isInForegroundAt(U.startClocks.relative);return void 0!==Z&&(V.view={in_foreground:Z}),{customerContext:Y,rawRumEvent:V,startTime:U.startClocks.relative,domainContext:aA(U)?{event:U.event,events:U.events}:{}}}function aA(U){return"custom"!==U.type}var aO=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function aI(U){var B=aN(U).stop,G=aL(U).stop;return{stop:function(){B(),G()}}}function aN(U){return or(window,"onerror",{before:function(B,G,Y,V,Z){var J;if(Z instanceof Error)J=nu(Z);else{var X=[{url:G,column:V,line:Y}],Q=aD(B);J={name:Q.name,message:Q.message,stack:X}}U(J,null!=Z?Z:B)}})}function aD(U){var B,G,Y;return"[object String]"===({}).toString.call(U)&&(G=(B=aO.exec(U))[1],Y=B[2]),{name:G,message:Y}}function aL(U){return or(window,"onunhandledrejection",{before:function(B){var G=B.reason||"Empty reason";U(nu(G),G)}})}function aP(U){return aI(function(B,G){U.notify(nS({stackTrace:B,originalError:G,startClocks:eH(),nonErrorPrefix:"Uncaught",source:iC.SOURCE,handling:"unhandled"}))})}var aM={};function aU(U){var B=U.map(function(U){return aM[U]||(aM[U]=aB(U)),aM[U]});return rA.apply(void 0,B)}function aB(U){var B=new rR(function(){var G=tA[U];return tA[U]=function(){for(var Y=[],V=0;V<arguments.length;V++)Y[V]=arguments[V];G.apply(console,Y);var Z=nA();tM(function(){B.notify(aj(Y,U,Z))})},function(){tA[U]=G}});return B}function aj(U,B,G){var Y,V,Z=U.map(function(U){return aG(U)}).join(" ");if(B===tC.error){var J=tG(U,function(U){return U instanceof Error});Y=J?nC(nu(J)):void 0,V=nT(J),Z="console error: ".concat(Z)}return{api:B,message:Z,stack:Y,handlingStack:G,fingerprint:V}}function aG(U){return"string"==typeof U?eh(U):U instanceof Error?nR(nu(U)):es(eh(U),void 0,2)}function aF(U){var B=aU([tC.error]).subscribe(function(B){return U.notify({startClocks:eH(),message:B.message,stack:B.stack,fingerprint:B.fingerprint,source:iC.CONSOLE,handling:"handled",handlingStack:B.handlingStack})});return{stop:function(){B.unsubscribe()}}}var aH={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function az(U){var B=[];tB(U,aH.cspViolation)&&B.push(aq());var G=U.filter(function(U){return U!==aH.cspViolation});return G.length&&B.push(a$(G)),rA.apply(void 0,B)}function a$(U){var B=new rR(function(){if(window.ReportingObserver){var G=tP(function(U){return U.forEach(function(U){B.notify(aY(U))})}),Y=new window.ReportingObserver(G,{types:U,buffered:!0});return Y.observe(),function(){Y.disconnect()}}});return B}function aq(){var U=new rR(function(){return rO(document,"securitypolicyviolation",function(B){U.notify(aV(B))}).stop});return U}function aY(U){var B=U.type,G=U.body;return{type:B,subtype:G.id,message:"".concat(B,": ").concat(G.message),stack:aW(G.id,G.message,G.sourceFile,G.lineNumber,G.columnNumber)}}function aV(U){var B=aH.cspViolation,G="'".concat(U.blockedURI,"' blocked by '").concat(U.effectiveDirective,"' directive");return{type:aH.cspViolation,subtype:U.effectiveDirective,message:"".concat(B,": ").concat(G),stack:aW(U.effectiveDirective,U.originalPolicy?"".concat(G,' of the policy "').concat(eX(U.originalPolicy,100,"..."),'"'):"no policy",U.sourceFile,U.lineNumber,U.columnNumber)}}function aW(U,B,G,Y,V){return G&&nC({name:U,message:B,stack:[{func:"?",url:G,line:Y,column:V}]})}function aZ(U){var B=az([aH.cspViolation,aH.intervention]).subscribe(function(B){return U.notify({startClocks:eH(),message:B.message,stack:B.stack,type:B.subtype,source:iC.REPORT,handling:"unhandled"})});return{stop:function(){B.unsubscribe()}}}function aK(U,B,G){var Y=new rR;return aF(Y),aP(Y),aZ(Y),Y.subscribe(function(B){return U.notify(12,{error:B})}),aJ(U,B,G)}function aJ(U,B,G){return U.subscribe(12,function(Y){var V=Y.error,Z=Y.customerContext,J=Y.savedCommonContext;U.notify(10,tZ({customerContext:Z,savedCommonContext:J},aX(V,B,G)))}),{addError:function(B,G){var Y=B.error,V=B.handlingStack,Z=B.startClocks,J=B.context,X=nS({stackTrace:Y instanceof Error?nu(Y):void 0,originalError:Y,handlingStack:V,startClocks:Z,nonErrorPrefix:"Provided",source:iC.CUSTOM,handling:"handled"});U.notify(12,{customerContext:J,savedCommonContext:G,error:X})}}}function aX(U,B,G){var Y={date:U.startClocks.timeStamp,error:{id:eK(),message:U.message,source:U.source,stack:U.stack,handling_stack:U.handlingStack,type:U.type,handling:U.handling,causes:U.causes,source_type:"browser",fingerprint:U.fingerprint},type:"error"},V=B.isInForegroundAt(U.startClocks.relative);V&&(Y.view={in_foreground:V});var Z=G.findFeatureFlagEvaluations(U.startClocks.relative);return Z&&!nj(Z)&&(Y.feature_flags=Z),{rawRumEvent:Y,startTime:U.startClocks.relative,domainContext:{error:U.originalError}}}function aQ(U,B){U.subscribe(0,function(G){for(var Y=0,V=G;Y<V.length;Y++){var Z=V[Y];if("longtask"!==Z.entryType)break;var J=B.findTrackedSession(Z.startTime);if(!J||!J.longTaskAllowed)break;var X=eP(Z.startTime),Q={date:X.timeStamp,long_task:{id:eK(),duration:eB(Z.duration)},type:"long_task",_dd:{discarded:!1}};U.notify(10,{rawRumEvent:Q,startTime:X.relative,domainContext:{performanceEntry:Z.toJSON()}})}})}function a0(U){if(performance&&"getEntriesByName"in performance){var B=performance.getEntriesByName(U.url,"resource");if(B.length&&"toJSON"in B[0]){var G=B.map(function(U){return U.toJSON()}).filter(r5).filter(function(B){return a2(B,U.startClocks.relative,a1({startTime:U.startClocks.relative,duration:U.duration}))});if(1===G.length)return G[0]}}}function a1(U){return eq(U.startTime,U.duration)}function a2(U,B,G){var Y=1;return U.startTime>=B-Y&&a1(U)<=eq(G,Y)}function a5(U,B,G,Y){U.subscribe(6,function(V){U.notify(10,a3(V,B,G,Y))}),U.subscribe(0,function(V){for(var Z=0,J=V;Z<J.length;Z++){var X=J[Z];"resource"!==X.entryType||r0(X)||U.notify(10,a6(X,B,G,Y))}})}function a3(U,B,G,Y){var V,Z="xhr"===U.type?"xhr":"fetch",J=a0(U),X=J?eP(J.startTime):U.startClocks,Q=J?a4(J):void 0,tt=a8(U,B),te=sr(G,X),tn=eB(U.duration),tr=si(Y,X,null!==(V=null==J?void 0:J.duration)&&void 0!==V?V:U.duration),ti=eo({date:X.timeStamp,resource:{id:eK(),type:Z,duration:tn,method:U.method,status_code:U.status,url:U.url},type:"resource"},tt,Q,te,tr);return{startTime:X.relative,rawRumEvent:ti,domainContext:{performanceEntry:J&&a9(J),xhr:U.xhr,response:U.response,requestInput:U.input,requestInit:U.init,error:U.error}}}function a6(U,B,G,Y){var V=rX(U),Z=a4(U),J=eP(U.startTime),X=a7(U,B),Q=sr(G,J),tt=si(Y,J,U.duration),te=eo({date:J.timeStamp,resource:{id:eK(),type:V,url:U.name},type:"resource"},X,Z,Q,tt);return{startTime:J.relative,rawRumEvent:te,domainContext:{performanceEntry:a9(U)}}}function a4(U){return{resource:tZ({duration:r1(U),size:r4(U)},r2(U))}}function a8(U,B){if(U.traceSampled&&U.traceId&&U.spanId)return{_dd:{span_id:U.spanId.toDecimalString(),trace_id:U.traceId.toDecimalString(),rule_psr:st(B)}}}function a7(U,B){if(U.traceId)return{_dd:{trace_id:U.traceId,rule_psr:st(B)}}}function a9(U){return U}function st(U){return eO(U.traceSampleRate)?U.traceSampleRate/100:void 0}function sr(U,B){var G=U.findTrackedSession(B.relative);return{_dd:{discarded:!G||!G.resourceAllowed}}}function si(U,B,G){if(nP(J.RESOURCE_PAGE_STATES))return{_dd:{page_states:U.findAll(B.relative,G),page_was_discarded:String(document.wasDiscarded)}}}function so(U){return void 0===U&&(U=window),td||("hidden"===document.visibilityState?td={timeStamp:0}:(td={timeStamp:1/0},tf=rI(U,["pagehide","visibilitychange"],function(U){("pagehide"===U.type||"hidden"===document.visibilityState)&&(td.timeStamp=U.timeStamp,tf())},{capture:!0}).stop)),td}var sa=10*eN,ss=5*eN;function su(U,B,G){var Y={};function V(U){tZ(Y,U),G()}var Z=sc(U,function(U){B(U.loadEvent),V(U)}).stop,J=sl(U,function(U){return V({firstContentfulPaint:U})}).stop,X=sd(U,window,function(U){V({largestContentfulPaint:U})}).stop,Q=sf(U,function(U){V({firstInputDelay:U.firstInputDelay,firstInputTime:U.firstInputTime})}).stop;function tt(){Z(),J(),X(),Q()}return{stop:tt,timings:Y,scheduleStop:function(){t4(tt,ss)}}}function sc(U,B){return{stop:U.subscribe(0,function(U){for(var G=0,Y=U;G<Y.length;G++){var V=Y[G];"navigation"===V.entryType&&B({domComplete:V.domComplete,domContentLoaded:V.domContentLoadedEventEnd,domInteractive:V.domInteractive,loadEvent:V.loadEventEnd,firstByte:V.responseStart>=0&&V.responseStart<=eF()?V.responseStart:void 0})}}).unsubscribe}}function sl(U,B){var G=so();return{stop:U.subscribe(0,function(U){var Y=tG(U,function(U){return"paint"===U.entryType&&"first-contentful-paint"===U.name&&U.startTime<G.timeStamp&&U.startTime<sa});Y&&B(Y.startTime)}).unsubscribe}}function sd(U,B,G){var Y=so(),V=1/0,Z=rI(B,["pointerdown","keydown"],function(U){V=U.timeStamp},{capture:!0,once:!0}).stop,J=U.subscribe(0,function(U){var B=tF(U,function(U){return"largest-contentful-paint"===U.entryType&&U.startTime<V&&U.startTime<Y.timeStamp&&U.startTime<sa});B&&G(B.startTime)}).unsubscribe;return{stop:function(){Z(),J()}}}function sf(U,B){var G=so();return{stop:U.subscribe(0,function(U){var Y=tG(U,function(U){return"first-input"===U.entryType&&U.startTime<G.timeStamp});if(Y){var V=e$(Y.startTime,Y.processingStart);B({firstInputDelay:V>=0?V:0,firstInputTime:Y.startTime})}}).unsubscribe}}function sh(U,B,G,Y,V,Z){var J,X={},Q=sp(U,B,G,V,Z,function(U){X.loadingTime=U,Y()}),tt=Q.stop,te=Q.setLoadEvent;return sm()?(X.cumulativeLayoutShift=0,J=sg(U,function(U){X.cumulativeLayoutShift=U,Y()}).stop):J=ee,{stop:function(){tt(),J()},setLoadEvent:te,viewMetrics:X}}function sp(U,B,G,Y,V,Z){var J="initial_load"===Y,X=!0,Q=[];function tt(){X||J||!(Q.length>0)||Z(Math.max.apply(Math,Q))}return{stop:oR(U,B,G,function(U){X&&(X=!1,U.hadActivity&&Q.push(e$(V.timeStamp,U.end)),tt())}).stop,setLoadEvent:function(U){J&&(J=!1,Q.push(U),tt())}}}function sg(U,B){var G=0,Y=s_();return{stop:U.subscribe(0,function(U){for(var V=0,Z=U;V<Z.length;V++){var J=Z[V];"layout-shift"===J.entryType&&!J.hadRecentInput&&(Y.update(J),Y.value()>G&&B(eR(G=Y.value(),4)))}}).unsubscribe}}function s_(){var U,B,G=0;return{update:function(Y){void 0===U||Y.startTime-B>=eI||Y.startTime-U>=5*eI?(U=B=Y.startTime,G=Y.value):(G+=Y.value,B=Y.startTime)},value:function(){return G}}}function sm(){return iv("layout-shift")}var sv=5*eN;function sy(U,B,G){var Y=ok({lifeCycle:U,isChildEvent:function(U){return U.view.id===B},onChange:G}),V=Y.stop;return{scheduleStop:function(){t4(V,sv)},eventCounts:Y.eventCounts}}var sb=3e3,sE=5*eN;function sw(U,B,G,Y,V,Z,J){var X,Q=tt("initial_load",ez(),J);function tt(V,Z,J){return sS(B,G,Y,U,V,Z,J)}function te(U){return U.subscribe(function(U){sk(U.oldLocation,U.newLocation)&&(Q.end(),Q=tt("route_change"))})}return function(){B.subscribe(8,function(){Q=tt("route_change",void 0,{name:Q.name,service:Q.service,version:Q.version})}),B.subscribe(7,function(){Q.end({sessionIsActive:!1})}),B.subscribe(9,function(U){(U.reason===rN.UNLOADING||U.reason===rN.PAGEHIDE)&&Q.end()})}(),Z&&(X=te(V)),{addTiming:function(U,B){void 0===B&&(B=eG()),Q.addTiming(U,B)},startView:function(U,B){Q.end({endClocks:B}),Q=tt("route_change",B,U)},stop:function(){null==X||X.unsubscribe(),Q.end()}}}function sS(U,B,G,Y,V,Z,J){void 0===Z&&(Z=eH());var X,Q,tt,te,tn=eK(),tr={},ti=0,ta=nU(Y),ts=!0;J&&(Q=J.name,tt=J.service,te=J.version),U.notify(2,{id:tn,name:Q,startClocks:Z,service:tt,version:te});var tu=et(tS,sb,{leading:!1}),tc=tu.throttled,td=tu.cancel,tf=sh(U,B,G,tc,V,Z),th=tf.setLoadEvent,tp=tf.stop,tg=tf.viewMetrics,t_="initial_load"===V?su(U,th,tc):{scheduleStop:ee,timings:{}},tm=t_.scheduleStop,tv=t_.timings,ty=sy(U,tn,tc),tb=ty.scheduleStop,tE=ty.eventCounts,tw=t7(tS,sE);function tS(){td(),ti+=1;var B=void 0===X?eG():X.timeStamp;U.notify(3,tZ({customTimings:tr,documentVersion:ti,id:tn,name:Q,service:tt,version:te,loadingType:V,location:ta,startClocks:Z,timings:tv,duration:e$(Z.timeStamp,B),isActive:void 0===X,sessionIsActive:ts,eventCounts:tE},tg))}return tS(),{name:Q,service:tt,version:te,end:function(B){var G,Y;void 0===B&&(B={}),X||(X=null!==(G=B.endClocks)&&void 0!==G?G:eH(),ts=null===(Y=B.sessionIsActive)||void 0===Y||Y,U.notify(4,{endClocks:X}),t9(tw),tp(),tm(),tb(),tS())},addTiming:function(U,B){if(!X){var G=eW(B)?B:e$(Z.timeStamp,B);tr[sx(U)]=G,tc()}}}}function sx(U){var B=U.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return B!==U&&tR.warn("Invalid timing name: ".concat(U,", sanitized to: ").concat(B)),B}function sk(U,B){return U.pathname!==B.pathname||!sT(B.hash)&&sC(B.hash)!==sC(U.hash)}function sT(U){var B=U.substr(1);return!!document.getElementById(B)}function sC(U){var B=U.indexOf("?");return B<0?U:U.slice(0,B)}function sR(U,B,G,Y,V,Z,J,X,Q){return U.subscribe(3,function(B){return U.notify(10,sA(B,Z,J,X))}),sw(G,U,Y,B,V,!B.trackViewsManually,Q)}function sA(U,B,G,Y){var V=Y.getReplayStats(U.id),Z=G.findFeatureFlagEvaluations(U.startClocks.relative),J={_dd:{document_version:U.documentVersion,replay_stats:V},date:U.startClocks.timeStamp,type:"view",view:{action:{count:U.eventCounts.actionCount},frustration:{count:U.eventCounts.frustrationCount},cumulative_layout_shift:U.cumulativeLayoutShift,first_byte:eB(U.timings.firstByte),dom_complete:eB(U.timings.domComplete),dom_content_loaded:eB(U.timings.domContentLoaded),dom_interactive:eB(U.timings.domInteractive),error:{count:U.eventCounts.errorCount},first_contentful_paint:eB(U.timings.firstContentfulPaint),first_input_delay:eB(U.timings.firstInputDelay),first_input_time:eB(U.timings.firstInputTime),is_active:U.isActive,name:U.name,largest_contentful_paint:eB(U.timings.largestContentfulPaint),load_event:eB(U.timings.loadEvent),loading_time:sO(eB(U.loadingTime)),loading_type:U.loadingType,long_task:{count:U.eventCounts.longTaskCount},resource:{count:U.eventCounts.resourceCount},time_spent:eB(U.duration),in_foreground_periods:B.selectInForegroundPeriodsFor(U.startClocks.relative,U.duration)},feature_flags:Z&&!nj(Z)?Z:void 0,session:{has_replay:!!V||void 0,is_active:!!U.sessionIsActive&&void 0}};return nj(U.customTimings)||(J.view.custom_timings=nG(U.customTimings,eB)),{rawRumEvent:J,startTime:U.startClocks.relative,domainContext:{location:U.location}}}function sO(U){return eO(U)&&U<0?void 0:U}var sI=/^([a-z]+)=([a-z0-9-]+)$/,sN="&",sD="_dd_s",sL=10,sP=100,sM=[];function sU(U,B){if(void 0===B&&(B=0),th||(th=U),U!==th){sM.push(U);return}if(B>=sP){sG();return}var G,Y,V=s$();if(sB()&&(V.lock||(Y=eK(),V.lock=Y,sH(V,U.options),(V=s$()).lock!==Y))){sj(U,B);return}var Z=U.process(V);if(sB()&&(V=s$()).lock!==Y){sj(U,B);return}if(Z&&sF(Z,U.options),sB()&&!(Z&&sV(Z))){if((V=s$()).lock!==Y){sj(U,B);return}delete V.lock,sH(V,U.options),Z=V}null===(G=U.after)||void 0===G||G.call(U,Z||V),sG()}function sB(){return oG()}function sj(U,B){t4(function(){sU(U,B+1)},sL)}function sG(){th=void 0;var U=sM.shift();U&&sU(U)}function sF(U,B){if(sV(U)){sq(B);return}U.expire=String(ej()+i6),sH(U,B)}function sH(U,B){e0(sD,sz(U),i6,B)}function sz(U){return t$(U).map(function(U){var B=U[0],G=U[1];return"".concat(B,"=").concat(G)}).join(sN)}function s$(){var U=e1(sD),B={};return sY(U)&&U.split(sN).forEach(function(U){var G=sI.exec(U);if(null!==G){var Y=G[1],V=G[2];B[Y]=V}}),B}function sq(U){e5(sD,U)}function sY(U){return void 0!==U&&(-1!==U.indexOf(sN)||sI.test(U))}function sV(U){return nj(U)}var sW="_dd",sZ="_dd_r",sK="_dd_l",sJ="rum",sX="logs";function sQ(U){var B=e1(sD),G=e1(sW),Y=e1(sZ),V=e1(sK);if(!B){var Z={};G&&(Z.id=G),V&&/^[01]$/.test(V)&&(Z[sX]=V),Y&&/^[012]$/.test(Y)&&(Z[sJ]=Y),sF(Z,U)}}function s5(U,B,G){var Y=new rR,V=new rR,Z=t7(Q,eQ),J=ts();function X(){sU({options:U,process:function(U){return tn()?tt(U):void 0}})}function Q(){sU({options:U,process:function(U){return tu(U)?void 0:{}},after:tt})}function tt(U){return tu(U)||(U={}),tn()&&(tr(U)?ti():J=U),U}function te(U){var Y=G(U[B]),V=Y.trackingType,Z=Y.isTracked;return U[B]=V,Z&&!U.id&&(U.id=eK(),U.created=String(ej())),Z}function tn(){return void 0!==J[B]}function tr(U){return J.id!==U.id||J[B]!==U[B]}function ti(){J={},V.notify()}function ta(U){J=U,Y.notify()}function ts(){var U=s$();return tu(U)?U:{}}function tu(U){return(void 0===U.created||ej()-Number(U.created)<i3)&&(void 0===U.expire||ej()<Number(U.expire))}return{expandOrRenewSession:et(function(){var B;sU({options:U,process:function(U){var G=tt(U);return B=te(G),G},after:function(U){B&&!tn()&&ta(U),J=U}})},eQ).throttled,expandSession:X,getSession:function(){return J},renewObservable:Y,expireObservable:V,expire:function(){sq(U),tt({})},stop:function(){t9(Z)}}}var s3=eN,s6=i3,s4=[];function s8(U,B,G){sQ(U);var Y=s5(U,B,G);s4.push(function(){return Y.stop()});var V=new i7(s6);function Z(){return{id:Y.getSession().id,trackingType:Y.getSession()[B]}}return s4.push(function(){return V.stop()}),Y.renewObservable.subscribe(function(){V.add(Z(),eF())}),Y.expireObservable.subscribe(function(){V.closeActive(eF())}),Y.expandOrRenewSession(),V.add(Z(),ez().relative),s7(function(){return Y.expandOrRenewSession()}),s9(function(){return Y.expandSession()}),{findActiveSession:function(U){return V.find(U)},renewObservable:Y.renewObservable,expireObservable:Y.expireObservable,expire:Y.expire}}function s7(U){var B=rI(window,["click","touchstart","keydown","scroll"],U,{capture:!0,passive:!0}).stop;s4.push(B)}function s9(U){var B=function(){"visible"===document.visibilityState&&U()},G=rO(document,"visibilitychange",B).stop;s4.push(G);var Y=t7(B,s3);s4.push(function(){t9(Y)})}var ut="rum";function ue(U,B){var G=s8(U.cookieOptions,ut,function(B){return ur(U,B)});return G.expireObservable.subscribe(function(){B.notify(7)}),G.renewObservable.subscribe(function(){B.notify(8)}),{findTrackedSession:function(B){var Y=G.findActiveSession(B);if(Y&&uo(Y.trackingType)){var V="1"===Y.trackingType?2:1;return{id:Y.id,plan:V,sessionReplayAllowed:2===V,longTaskAllowed:void 0!==U.trackLongTasks?U.trackLongTasks:U.oldPlansBehavior&&2===V,resourceAllowed:void 0!==U.trackResources?U.trackResources:U.oldPlansBehavior&&2===V}}},expire:G.expire,expireObservable:G.expireObservable}}function un(){var U={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0};return{findTrackedSession:function(){return U},expire:ee,expireObservable:new rR}}function ur(U,B){var G;return{trackingType:G=ui(B)?B:eC(U.sessionSampleRate)?eC(U.sessionReplaySampleRate)?"1":"2":"0",isTracked:uo(G)}}function ui(U){return"0"===U||"1"===U||"2"===U}function uo(U){return"2"===U||"1"===U}function us(U){var B,G=U.messagesLimit,Y=U.bytesLimit,V=U.durationLimit,Z=U.pageExitObservable,J=U.sessionExpireObservable,X=new rR;Z.subscribe(function(U){return te(U.reason)}),J.subscribe(function(){return te("session_expire")});var Q=0,tt=0;function te(U){if(0!==tt){var B=tt,G=Q;tt=0,Q=0,tr(),X.notify({reason:U,messagesCount:B,bytesCount:G})}}function tn(){void 0===B&&(B=t4(function(){te("duration_limit")},V))}function tr(){t8(B),B=void 0}return{flushObservable:X,get messagesCount(){return tt},notifyBeforeAddMessage:function(U){Q+U>=Y&&te("bytes_limit"),tt+=1,Q+=U,tn()},notifyAfterAddMessage:function(){tt>=G?te("messages_limit"):Q>=Y&&te("bytes_limit")},notifyAfterRemoveMessage:function(U){Q-=U,0==(tt-=1)&&tr()}}}var uu=function(){function U(U,B,G){var Y=this;this.request=U,this.flushController=B,this.messageBytesLimit=G,this.pushOnlyBuffer=[],this.upsertBuffer={},this.flushController.flushObservable.subscribe(function(U){return Y.flush(U)})}return U.prototype.add=function(U){this.addOrUpdate(U)},U.prototype.upsert=function(U,B){this.addOrUpdate(U,B)},U.prototype.flush=function(U){var B=this.pushOnlyBuffer.concat(tz(this.upsertBuffer));this.pushOnlyBuffer=[],this.upsertBuffer={};var G={data:B.join("\n"),bytesCount:U.bytesCount,flushReason:U.reason};rL(U.reason)?this.request.sendOnExit(G):this.request.send(G)},U.prototype.addOrUpdate=function(U,B){var G=this.process(U),Y=G.processedMessage,V=G.messageBytesCount;if(V>=this.messageBytesLimit){tR.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(B)&&this.remove(B),this.push(Y,V,B)},U.prototype.process=function(U){var B=es(U),G=t3(B);return{processedMessage:B,messageBytesCount:G}},U.prototype.push=function(U,B,G){var Y=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(B+Y),void 0!==G?this.upsertBuffer[G]=U:this.pushOnlyBuffer.push(U),this.flushController.notifyAfterAddMessage()},U.prototype.remove=function(U){var B=this.upsertBuffer[U];delete this.upsertBuffer[U];var G=t3(B),Y=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(G+Y)},U.prototype.hasMessageFor=function(U){return void 0!==U&&void 0!==this.upsertBuffer[U]},U}(),uc=80*tQ,ul=32,ud=3*t0,uf=eN,uh=eI;function ug(U,B,G,Y,V){0===B.transportStatus&&0===B.queuedPayloads.size()&&B.bandwidthMonitor.canHandle(U)?um(U,B,G,{onSuccess:function(){return uv(0,B,G,Y,V)},onFailure:function(){B.queuedPayloads.enqueue(U),u_(B,G,Y,V)}}):B.queuedPayloads.enqueue(U)}function u_(U,B,G,Y){2===U.transportStatus&&t4(function(){um(U.queuedPayloads.first(),U,B,{onSuccess:function(){U.queuedPayloads.dequeue(),U.currentBackoffTime=uh,uv(1,U,B,G,Y)},onFailure:function(){U.currentBackoffTime=Math.min(uf,2*U.currentBackoffTime),u_(U,B,G,Y)}})},U.currentBackoffTime)}function um(U,B,G,Y){var V=Y.onSuccess,Z=Y.onFailure;B.bandwidthMonitor.add(U),G(U,function(G){B.bandwidthMonitor.remove(U),uy(G)?(B.transportStatus=B.bandwidthMonitor.ongoingRequestCount>0?1:2,U.retry={count:U.retry?U.retry.count+1:1,lastFailureStatus:G.status},Z()):(B.transportStatus=0,V())})}function uv(U,B,G,Y,V){0===U&&B.queuedPayloads.isFull()&&!B.queueFullReported&&(V({message:"Reached max ".concat(Y," events size queued for upload: ").concat(ud/t0,"MiB"),source:iC.AGENT,startClocks:eH()}),B.queueFullReported=!0);var Z=B.queuedPayloads;for(B.queuedPayloads=uE();Z.size()>0;)ug(Z.dequeue(),B,G,Y,V)}function uy(U){return"opaque"!==U.type&&(0===U.status&&!navigator.onLine||408===U.status||429===U.status||o_(U.status))}function ub(){return{transportStatus:0,currentBackoffTime:uh,bandwidthMonitor:uw(),queuedPayloads:uE(),queueFullReported:!1}}function uE(){var U=[];return{bytesCount:0,enqueue:function(B){this.isFull()||(U.push(B),this.bytesCount+=B.bytesCount)},first:function(){return U[0]},dequeue:function(){var B=U.shift();return B&&(this.bytesCount-=B.bytesCount),B},size:function(){return U.length},isFull:function(){return this.bytesCount>=ud}}}function uw(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(U){return 0===this.ongoingRequestCount||this.ongoingByteCount+U.bytesCount<=uc&&this.ongoingRequestCount<ul},add:function(U){this.ongoingRequestCount+=1,this.ongoingByteCount+=U.bytesCount},remove:function(U){this.ongoingRequestCount-=1,this.ongoingByteCount-=U.bytesCount}}}function uS(U,B,G){var Y=ub(),V=function(G,Y){return uC(U,B,G,Y)};return{send:function(B){ug(B,Y,V,U.endpointType,G)},sendOnExit:function(G){ux(U,B,G)}}}function ux(U,B,G){var Y=G.data,V=G.bytesCount,Z=G.flushReason;if(navigator.sendBeacon&&V<B)try{var J=U.build("beacon",Z);if(navigator.sendBeacon(J,Y))return}catch(U){uT(U)}uA(U.build("xhr",Z),Y)}var uk=!1;function uT(U){uk||(uk=!0,rH(U))}function uC(U,B,G,Y){var V=G.data,Z=G.bytesCount,J=G.flushReason,X=G.retry;if(uR()&&Z<B){var Q=U.build("fetch",J,X);fetch(Q,{method:"POST",body:V,keepalive:!0,mode:"cors"}).then(tP(function(U){return null==Y?void 0:Y({status:U.status,type:U.type})}),tP(function(){uA(U.build("xhr",J,X),V,Y)}))}else uA(U.build("xhr",J,X),V,Y)}function uR(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(U){return!1}}function uA(U,B,G){var Y=new XMLHttpRequest;Y.open("POST",U,!0),rO(Y,"loadend",function(){null==G||G({status:Y.status})},{once:!0}),Y.send(B)}function uO(U,B,G,Y,V,Z){var J=uI(U,Y,V,Z);return B.subscribe(11,function(U){"view"===U.type?J.upsert(U,U.view.id):J.add(U)}),G.subscribe(function(B){return J.add(B,rG(U))}),J}function uI(U,B,G,Y){var V,Z=tt(U.rumEndpointBuilder),J=Z.batch,X=Z.flushController,Q=U.replica;function tt(V){var Z=us({messagesLimit:U.batchMessagesLimit,bytesLimit:U.batchBytesLimit,durationLimit:U.flushTimeout,pageExitObservable:G,sessionExpireObservable:Y});return{batch:new uu(uS(V,U.batchBytesLimit,B),Z,U.messageBytesLimit),flushController:Z}}function te(U){return eo(U,{application:{id:Q.applicationId}})}return void 0!==Q&&(V=tt(Q.rumEndpointBuilder).batch),{flushObservable:X.flushObservable,add:function(U,B){void 0===B&&(B=!0),J.add(U),V&&B&&V.add(te(U))},upsert:function(U,B){J.upsert(U,B),V&&V.upsert(te(U),B)}}}function uN(U){var B=nr();U.subscribe(11,function(U){B.send("rum",U)})}var uD=i3;function uL(U,B,G){var Y,V=new i7(uD);U.subscribe(4,function(U){var B=U.endClocks;V.closeActive(B.relative)}),U.subscribe(2,function(U){var B=U.startClocks,Z=G.href;V.add(J({url:Z,referrer:Y||document.referrer}),B.relative),Y=Z});var Z=B.subscribe(function(U){var B=U.newLocation,G=V.find();if(G){var Y=eF();V.closeActive(Y),V.add(J({url:B.href,referrer:G.referrer}),Y)}});function J(U){return{url:U.url,referrer:U.referrer}}return{findUrl:function(U){return V.find(U)},stop:function(){Z.unsubscribe(),V.stop()}}}function uP(U){var B=nU(U),G=new rR(function(){var U=uM(Y).stop,B=uU(Y).stop;return function(){U(),B()}});function Y(){if(B.href!==U.href){var Y=nU(U);G.notify({newLocation:Y,oldLocation:B}),B=Y}}return G}function uM(U){var B=or(history,"pushState",{after:U}).stop,G=or(history,"replaceState",{after:U}).stop,Y=rO(window,"popstate",U).stop;return{stop:function(){B(),G(),Y()}}}function uU(U){return rO(window,"hashchange",U)}var uB=i3,uj=200;function uG(U,B){if(void 0===B&&(B=t3),!nP(J.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:ee,stop:ee};var G=new i7(uB),Y=0,V=!1;U.subscribe(4,function(U){var B=U.endClocks;G.closeActive(B.relative)}),U.subscribe(2,function(U){var B=U.startClocks;G.add({},B.relative),Y=0});var Z=et(function(U){Y=B(es(U)),V||(V=eE(Y,"feature flag evaluation"))},uj),X=Z.throttled;return{findFeatureFlagEvaluations:function(U){return G.find(U)},getFeatureFlagBytesCount:function(){return G.find()?Y:0},addFeatureFlagEvaluation:function(U,B){var Y=G.find();Y&&(Y[U]=B,X(Y))},stop:Z.cancel}}var uF=10*eI;function uH(U,B,G,Y,V,Z,J){B.enabled&&eC(U.customerDataTelemetrySampleRate)&&(uV(),uW(),G.subscribe(11,function(U){t_=!0,uq(tg.globalContextBytes,nj(Y.get())?0:Y.getBytesCount()),uq(tg.userContextBytes,nj(V.get())?0:V.getBytesCount());var B=Z.findFeatureFlagEvaluations(),G=tB(["view","error"],U.type)&&B&&!nj(B);uq(tg.featureFlagBytes,G?Z.getFeatureFlagBytesCount():0)}),J.subscribe(function(U){var B=U.bytesCount,G=U.messagesCount;t_&&(tp.batchCount+=1,uq(tp.batchBytesCount,B),uq(tp.batchMessagesCount,G),uY(tp.globalContextBytes,tg.globalContextBytes),uY(tp.userContextBytes,tg.userContextBytes),uY(tp.featureFlagBytes,tg.featureFlagBytes),uW())}),t7(uz,uF))}function uz(){0!==tp.batchCount&&(rF("Customer data measures",tp),uV())}function u$(){return{min:1/0,max:0,sum:0}}function uq(U,B){U.sum+=B,U.min=Math.min(U.min,B),U.max=Math.max(U.max,B)}function uY(U,B){U.sum+=B.sum,U.min=Math.min(U.min,B.min),U.max=Math.max(U.max,B.max)}function uV(){tp={batchCount:0,batchBytesCount:u$(),batchMessagesCount:u$(),globalContextBytes:u$(),userContextBytes:u$(),featureFlagBytes:u$()}}function uW(){t_=!1,tg={globalContextBytes:u$(),userContextBytes:u$(),featureFlagBytes:u$()}}var uZ=500,uK=[];function uJ(){return uQ(uX()),{findAll:function(U,B){for(var G=[],Y=eq(U,B),V=uK.length-1;V>=0;V--){var Z=uK[V].startTime;if(!(Z>=Y)&&(G.unshift(uK[V]),Z<U))break}return G.length?G:void 0},stop:rI(window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(U){U.isTrusted&&("freeze"===U.type?uQ("frozen"):"pagehide"===U.type?uQ(U.persisted?"frozen":"terminated"):uQ(uX()))},{capture:!0}).stop}}function uX(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function uQ(U,B){void 0===B&&(B=uZ),U!==tm&&(tm=U,uK.length===B&&uK.shift(),uK.push({state:tm,startTime:eF()}))}function u0(U,B,G,Y,V,Z){var J=new i5;J.subscribe(11,function(U){return rC("rum",U)});var X=u1(B);X.setContextProvider(function(){var U,G;return{application:{id:B.applicationId},session:{id:null===(U=tn.findTrackedSession())||void 0===U?void 0:U.id},view:{id:null===(G=tu.findView())||void 0===G?void 0:G.id},action:{id:tf.findActionId()}}});var Q=function(U){J.notify(12,{error:U})},tt=uG(J),te=rD();te.subscribe(function(U){J.notify(9,U)});var tn=ni()?un():ue(B,J);if(ni())uN(J);else{var tr=uO(B,J,X.observable,Q,te,tn.expireObservable);uH(B,X,J,Y,V,tt,tr.flushObservable)}var ti=rV(),ta=uP(location),ts=u2(J,B,location,tn,ta,ti,function(){return rk(Y,V,G)},Q),tu=ts.viewContexts,tc=ts.foregroundContexts,td=ts.urlContexts,tf=ts.actionContexts,th=ts.addAction;rz(rx(U)),aQ(J,tn),a5(J,B,tn,uJ());var tp=sR(J,B,location,ti,ta,tc,tt,G,Z),tg=tp.addTiming,t_=tp.startView,tm=aK(J,tc,tt).addError;ob(J,B,tn),iy(J,B);var tv=i2(B.applicationId,tn,tu,tf,td);return{addAction:th,addError:tm,addTiming:tg,addFeatureFlagEvaluation:tt.addFeatureFlagEvaluation,startView:t_,lifeCycle:J,viewContexts:tu,session:tn,stopSession:function(){return tn.expire()},getInternalContext:tv.get}}function u1(U){var B=rj("browser-rum-sdk",U);if(ni()){var G=nr();B.observable.subscribe(function(U){return G.send("internal_telemetry",U)})}return B}function u2(U,B,G,Y,V,Z,J,X){var Q=ot(U),tt=uL(U,V,G),te=iW(),tn=aC(U,Z,B,te),tr=tn.addAction,ti=tn.actionContexts;return iH(B,U,Y,Q,tt,ti,J,X),{viewContexts:Q,foregroundContexts:te,urlContexts:tt,addAction:tr,actionContexts:ti,stop:function(){Q.stop(),te.stop()}}}function u5(U,B){var G=B.session,Y=B.viewContext,V=B.errorType,Z=G?G.id:"no-session-id",J=[];void 0!==V&&J.push("error-type=".concat(V)),Y&&(J.push("seed=".concat(Y.id)),J.push("from=".concat(Y.startClocks.timeStamp)));var X=u3(U),Q="/rum/replay/sessions/".concat(Z);return"".concat(X).concat(Q,"?").concat(J.join("&"))}function u3(U){var B=U.site,G=U.subdomain||u6(U);return"https://".concat(G?"".concat(G,"."):"").concat(B)}function u6(U){switch(U.site){case nJ:case nX:return"app";case nK:return"dd";default:return}}var u4={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},u8={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},u7={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},u9={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},ct={Play:0,Pause:1};function ce(U,B){return{data:tZ({source:U},B),type:u4.IncrementalSnapshot,timestamp:eG()}}var cn={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:ro.ALLOW,MASK:ro.MASK,MASK_USER_INPUT:ro.MASK_USER_INPUT},cr="data-dd-privacy",ci="allow",co="mask",cu="mask-user-input",cc="hidden",cl="dd-privacy-allow",cf="dd-privacy-mask",cp="dd-privacy-mask-user-input",cg="dd-privacy-hidden",c_="***",cm="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",cv={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},cy=1e5,cE="x";function cw(U,B){var G=io(U),Y=G?cw(G,B):B;return cS(cx(U),Y)}function cS(U,B){switch(B){case cn.HIDDEN:case cn.IGNORE:return B}switch(U){case cn.ALLOW:case cn.MASK:case cn.MASK_USER_INPUT:case cn.HIDDEN:case cn.IGNORE:return U;default:return B}}function cx(U){if(it(U)){var B=U.getAttribute(cr);if("BASE"===U.tagName)return cn.ALLOW;if("INPUT"===U.tagName){var G=U;if("password"===G.type||"email"===G.type||"tel"===G.type||"hidden"===G.type)return cn.MASK;var Y=G.getAttribute("autocomplete");if(Y&&0===Y.indexOf("cc-"))return cn.MASK}return B===cc||U.classList.contains(cg)?cn.HIDDEN:B===co||U.classList.contains(cf)?cn.MASK:B===cu||U.classList.contains(cp)?cn.MASK_USER_INPUT:B===ci||U.classList.contains(cl)?cn.ALLOW:cA(U)?cn.IGNORE:void 0}}function ck(U,B){switch(B){case cn.MASK:case cn.HIDDEN:case cn.IGNORE:return!0;case cn.MASK_USER_INPUT:return r7(U)?cT(U.parentNode):cT(U);default:return!1}}function cT(U){if(!U||U.nodeType!==U.ELEMENT_NODE)return!1;var B=U;if("INPUT"===B.tagName)switch(B.type){case"button":case"color":case"reset":case"submit":return!1}return!!cv[B.tagName]}var cC=function(U){return U.replace(/\S/g,cE)};function cR(U,B,G){var Y,V=null===(Y=U.parentElement)||void 0===Y?void 0:Y.tagName,Z=U.textContent||"";if(!B||Z.trim()){var J=G,X="STYLE"===V||void 0;if("SCRIPT"===V)Z=c_;else if(J===cn.HIDDEN)Z=c_;else if(ck(U,J)&&!X){if("DATALIST"===V||"SELECT"===V||"OPTGROUP"===V){if(!Z.trim())return}else Z="OPTION"===V?c_:cC(Z)}return Z}}function cA(U){if("SCRIPT"===U.nodeName)return!0;if("LINK"===U.nodeName){var B=V("rel");return/preload|prefetch/i.test(B)&&"script"===V("as")||"shortcut icon"===B||"icon"===B}if("META"===U.nodeName){var G=V("name"),B=V("rel"),Y=V("property");return/^msapplication-tile(image|color)$/.test(G)||"application-name"===G||"icon"===B||"apple-touch-icon"===B||"shortcut icon"===B||"keywords"===G||"description"===G||/^(og|twitter|fb):/.test(Y)||/^(og|twitter):/.test(G)||"pinterest"===G||"robots"===G||"googlebot"===G||"bingbot"===G||U.hasAttribute("http-equiv")||"author"===G||"generator"===G||"framework"===G||"publisher"===G||"progid"===G||/^article:/.test(Y)||/^product:/.test(Y)||"google-site-verification"===G||"yandex-verification"===G||"csrf-token"===G||"p:domain_verify"===G||"verify-v1"===G||"verification"===G||"shopify-checkout-api-token"===G}function V(B){return(U.getAttribute(B)||"").toLowerCase()}return!1}var cO=new WeakMap;function cI(U){return cO.has(U)}function cN(U){for(var B=U;B;){if(!cI(B)&&!ir(B))return!1;B=io(B)}return!0}function cD(U){return cO.get(U)}function cL(U,B){cO.set(U,B)}function cP(U,B){var G=U.tagName,Y=U.value;if(ck(U,B)){var V=U.type;if("INPUT"===G&&("button"===V||"submit"===V||"reset"===V))return Y;if(!Y||"OPTION"===G)return;return c_}return"OPTION"===G||"SELECT"===G?U.value:"INPUT"===G||"TEXTAREA"===G?Y:void 0}var cM=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,cU=/^[A-Za-z]+:|^\/\//,cB=/^data:.*,/i;function cj(U,B){return U.replace(cM,function(U,G,Y,V,Z,J){var X=Y||Z||J;if(!B||!X||cU.test(X)||cB.test(X))return U;var Q=G||V||"";return"url(".concat(Q).concat(cG(X,B)).concat(Q,")")})}function cG(U,B){try{return nq(U,B).href}catch(B){return U}}var cF=/[^a-z1-6-_]/;function cH(U){var B=U.toLowerCase().trim();return cF.test(B)?"div":B}function cz(U){if(void 0!==U&&0!==U.length)return U.map(function(U){return{cssRules:Array.from(U.cssRules||U.rules,function(U){return U.cssText}),disabled:U.disabled||void 0,media:U.media.length>0?Array.from(U.media):void 0}})}function c$(U,B,G,Y){if(B===cn.HIDDEN)return null;var V=U.getAttribute(G);if(B===cn.MASK&&G!==cr&&!o1.includes(G)&&G!==Y.actionNameAttribute){var Z=U.tagName;switch(G){case"title":case"alt":case"placeholder":return c_}if(("IMG"===Z||"SOURCE"===Z)&&("src"===G||"srcset"===G))return cm;if("A"===Z&&"href"===G||V&&tq(G,"data-"))return c_}return V&&"string"==typeof V&&V.length>cy&&"data:"===V.slice(0,5)?"data:truncated":V}function cq(U,B,G){if(B===cn.HIDDEN)return{};for(var Y,V,Z,J={},X=cH(U.tagName),Q=U.ownerDocument,tt=0;tt<U.attributes.length;tt+=1){var te=U.attributes.item(tt).name,tn=c$(U,B,te,G.configuration);null!==tn&&(J[te]=tn)}if(U.value&&("textarea"===X||"select"===X||"option"===X||"input"===X)){var tr=cP(U,B);void 0!==tr&&(J.value=tr)}if("option"===X&&B===cn.ALLOW){var ti=U;ti.selected&&(J.selected=ti.selected)}if("link"===X){var ta=Array.from(Q.styleSheets).find(function(B){return B.href===U.href}),ts=cY(ta);ts&&ta&&(J._cssText=ts)}if("style"===X&&U.sheet&&!(U.innerText||U.textContent||"").trim().length){var ts=cY(U.sheet);ts&&(J._cssText=ts)}var tu=U;if("input"===X&&("radio"===tu.type||"checkbox"===tu.type)&&(B===cn.ALLOW?J.checked=!!tu.checked:ck(tu,B)&&delete J.checked),"audio"===X||"video"===X){var tc=U;J.rr_mediaState=tc.paused?"paused":"played"}var td=G.serializationContext;switch(td.status){case 0:V=Math.round(U.scrollTop),Z=Math.round(U.scrollLeft),(V||Z)&&td.elementsScrollPositions.set(U,{scrollTop:V,scrollLeft:Z});break;case 1:td.elementsScrollPositions.has(U)&&(V=(Y=td.elementsScrollPositions.get(U)).scrollTop,Z=Y.scrollLeft)}return Z&&(J.rr_scrollLeft=Z),V&&(J.rr_scrollTop=V),J}function cY(U){var B;if(!U)return null;try{B=U.rules||U.cssRules}catch(U){}return B?cj(Array.from(B,cV).join(""),U.href):null}function cV(U){return cW(U)?cY(U.styleSheet)||"":U.cssText}function cW(U){return"styleSheet"in U}function cZ(U,B){var G=cQ(U,B);if(!G)return null;var Y=cD(U)||cJ(),V=G;return V.id=Y,cL(U,Y),B.serializedNodeIds&&B.serializedNodeIds.add(Y),V}var cK=1;function cJ(){return cK++}function cX(U,B){var G=[];return U.childNodes.forEach(function(U){var Y=cZ(U,B);Y&&G.push(Y)}),G}function cQ(U,B){switch(U.nodeType){case U.DOCUMENT_NODE:return c0(U,B);case U.DOCUMENT_FRAGMENT_NODE:return c5(U,B);case U.DOCUMENT_TYPE_NODE:return c3(U);case U.ELEMENT_NODE:return c6(U,B);case U.TEXT_NODE:return c8(U,B);case U.CDATA_SECTION_NODE:return c7()}}function c0(U,B){return{type:u8.Document,childNodes:cX(U,B),adoptedStyleSheets:cz(U.adoptedStyleSheets)}}function c5(U,B){var G=[];U.childNodes.length&&(G=cX(U,B));var Y=ir(U);return Y&&B.serializationContext.shadowRootsController.addShadowRoot(U),{type:u8.DocumentFragment,childNodes:G,isShadowRoot:Y,adoptedStyleSheets:Y?cz(U.adoptedStyleSheets):void 0}}function c3(U){return{type:u8.DocumentType,name:U.name,publicId:U.publicId,systemId:U.systemId}}function c6(U,B){var G,Y=cH(U.tagName),V=c4(U)||void 0,Z=cS(cx(U),B.parentNodePrivacyLevel);if(Z===cn.HIDDEN){var J=U.getBoundingClientRect(),X=J.width,Q=J.height;return{type:u8.Element,tagName:Y,attributes:((G={rr_width:"".concat(X,"px"),rr_height:"".concat(Q,"px")})[cr]=cc,G),childNodes:[],isSVG:V}}if(Z!==cn.IGNORE){var tt=cq(U,Z,B),te=[];if(U.childNodes.length){var tn=void 0;tn=B.parentNodePrivacyLevel===Z&&B.ignoreWhiteSpace===("head"===Y)?B:tZ({},B,{parentNodePrivacyLevel:Z,ignoreWhiteSpace:"head"===Y}),te=cX(U,tn)}if(ie(U)){var tr=cZ(U.shadowRoot,B);null!==tr&&te.push(tr)}return{type:u8.Element,tagName:Y,attributes:tt,childNodes:te,isSVG:V}}}function c4(U){return"svg"===U.tagName||U instanceof SVGElement}function c8(U,B){var G,Y=null===(G=U.parentElement)||void 0===G?void 0:G.tagName,V=cR(U,B.ignoreWhiteSpace||!1,B.parentNodePrivacyLevel);if(void 0!==V)return{type:u8.Text,textContent:V,isStyle:"STYLE"===Y||void 0}}function c7(){return{type:u8.CDATA,textContent:""}}function c9(U,B,G){return cZ(U,{serializationContext:G,parentNodePrivacyLevel:B.defaultPrivacyLevel,configuration:B})}function lt(U){return!!U.changedTouches}function le(U){return!0===U.composed&&ie(U.target)?U.composedPath()[0]:U.target}var ln=25;function lr(U){return Math.abs(U.pageTop-U.offsetTop-window.scrollY)>ln||Math.abs(U.pageLeft-U.offsetLeft-window.scrollX)>ln}var li=function(U,B){var G=window.visualViewport,Y={layoutViewportX:U,layoutViewportY:B,visualViewportX:U,visualViewportY:B};return G&&(lr(G)?(Y.layoutViewportX=Math.round(U+G.offsetLeft),Y.layoutViewportY=Math.round(B+G.offsetTop)):(Y.visualViewportX=Math.round(U-G.offsetLeft),Y.visualViewportY=Math.round(B-G.offsetTop))),Y},lo=function(U){return{scale:U.scale,offsetLeft:U.offsetLeft,offsetTop:U.offsetTop,pageLeft:U.pageLeft,pageTop:U.pageTop,height:U.height,width:U.width}};function la(){var U,B=window.visualViewport;return Math.round(U=B?B.pageLeft-B.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function ls(){var U,B=window.visualViewport;return Math.round(U=B?B.pageTop-B.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}var lu=50;function ll(U){var B=et(function(B){var G=le(B);if(cI(G)){var Y=ld(B);if(!Y)return;U([{id:cD(G),timeOffset:0,x:Y.x,y:Y.y}],lt(B)?u7.TouchMove:u7.MouseMove)}},lu,{trailing:!1}).throttled;return rI(document,["mousemove","touchmove"],B,{capture:!0,passive:!0}).stop}function ld(U){var B=lt(U)?U.changedTouches[0]:U,G=B.clientX,Y=B.clientY;if(window.visualViewport){var V=li(G,Y),Z=V.visualViewportX,J=V.visualViewportY;G=Z,Y=J}if(!Number.isFinite(G)||!Number.isFinite(Y)){U.isTrusted&&rF("mouse/touch event without x/y");return}return{x:G,y:Y}}var lf=100;function lh(U,B,G){var Y=et(function(Y){var V=le(Y);if(V&&cw(V,B)!==cn.HIDDEN&&cI(V)){var Z=cD(V),J=V===document?{scrollTop:ls(),scrollLeft:la()}:{scrollTop:Math.round(V.scrollTop),scrollLeft:Math.round(V.scrollLeft)};G.set(V,J),U({id:Z,x:J.scrollLeft,y:J.scrollTop})}},lf).throttled;return rO(document,"scroll",Y,{capture:!0,passive:!0}).stop}var lp=((tv={}).pointerup=u9.MouseUp,tv.mousedown=u9.MouseDown,tv.click=u9.Click,tv.contextmenu=u9.ContextMenu,tv.dblclick=u9.DblClick,tv.focus=u9.Focus,tv.blur=u9.Blur,tv.touchstart=u9.TouchStart,tv.touchend=u9.TouchEnd,tv);function lg(U,B,G){var Y=function(Y){var V,Z=le(Y);if(cw(Z,B)!==cn.HIDDEN&&cI(Z)){var J=cD(Z),X=lp[Y.type];if(X!==u9.Blur&&X!==u9.Focus){var Q=ld(Y);if(!Q)return;V={id:J,type:X,x:Q.x,y:Q.y}}else V={id:J,type:X};U(tZ({id:G.getIdForEvent(Y)},ce(u7.MouseInteraction,V)))}};return rI(document,Object.keys(lp),Y,{capture:!0,passive:!0}).stop}function l_(U,B,G){var Y=void 0===G?{}:G,V=Y.domEvents,Z=void 0===V?["input","change"]:V,J=Y.target,X=void 0===J?document:J,Q=new WeakMap;function tt(U){var G,Y=cw(U,B);if(Y!==cn.HIDDEN){var V=U.type;if("radio"===V||"checkbox"===V){if(ck(U,Y))return;G={isChecked:U.checked}}else{var Z=cP(U,Y);if(void 0===Z)return;G={text:Z}}te(U,G);var J=U.name;"radio"===V&&J&&U.checked&&tH(document.querySelectorAll('input[type="radio"][name="'.concat(J,'"]')),function(B){B!==U&&te(B,{isChecked:!1})})}}function te(B,G){if(cI(B)){var Y=Q.get(B);Y&&Y.text===G.text&&Y.isChecked===G.isChecked||(Q.set(B,G),U(tZ({id:cD(B)},G)))}}var tn=rI(X,Z,function(U){var B=le(U);(B instanceof HTMLInputElement||B instanceof HTMLTextAreaElement||B instanceof HTMLSelectElement)&&tt(B)},{capture:!0,passive:!0}).stop,tr=[oi(HTMLInputElement.prototype,"value",tt),oi(HTMLInputElement.prototype,"checked",tt),oi(HTMLSelectElement.prototype,"value",tt),oi(HTMLTextAreaElement.prototype,"value",tt),oi(HTMLSelectElement.prototype,"selectedIndex",tt)];return function(){tr.forEach(function(U){return U.stop()}),tn()}}function lm(U){function B(U,B){U&&cI(U.ownerNode)&&B(cD(U.ownerNode))}var G=[or(CSSStyleSheet.prototype,"insertRule",{before:function(G,Y){B(this,function(B){return U({id:B,adds:[{rule:G,index:Y}]})})}}),or(CSSStyleSheet.prototype,"deleteRule",{before:function(G){B(this,function(B){return U({id:B,removes:[{index:G}]})})}})];function Y(Y){G.push(or(Y.prototype,"insertRule",{before:function(G,Y){var V=this;B(this.parentStyleSheet,function(B){var Z=lv(V);Z&&(Z.push(Y||0),U({id:B,adds:[{rule:G,index:Z}]}))})}}),or(Y.prototype,"deleteRule",{before:function(G){var Y=this;B(this.parentStyleSheet,function(B){var V=lv(Y);V&&(V.push(G),U({id:B,removes:[{index:V}]}))})}}))}return"undefined"!=typeof CSSGroupingRule?Y(CSSGroupingRule):(Y(CSSMediaRule),Y(CSSSupportsRule)),function(){return G.forEach(function(U){return U.stop()})}}function lv(U){for(var B=[],G=U;G.parentRule;){var Y=Array.from(G.parentRule.cssRules).indexOf(G);B.unshift(Y),G=G.parentRule}if(G.parentStyleSheet){var V=Array.from(G.parentStyleSheet.cssRules).indexOf(G);return B.unshift(V),B}}function ly(U,B){var G=function(G){var Y=le(G);Y&&cw(Y,B)!==cn.HIDDEN&&cI(Y)&&U({id:cD(Y),type:"play"===G.type?ct.Play:ct.Pause})};return rI(document,["play","pause"],G,{capture:!0,passive:!0}).stop}function lb(U,B,G){return U.subscribe(10,function(U){var Y,V,Z;"action"===U.rawRumEvent.type&&"click"===U.rawRumEvent.action.type&&(null===(V=null===(Y=U.rawRumEvent.action.frustration)||void 0===Y?void 0:Y.type)||void 0===V?void 0:V.length)&&"events"in U.domainContext&&(null===(Z=U.domainContext.events)||void 0===Z?void 0:Z.length)&&B({timestamp:U.rawRumEvent.date,type:u4.FrustrationRecord,data:{frustrationTypes:U.rawRumEvent.action.frustration.type,recordIds:U.domainContext.events.map(function(U){return G.getIdForEvent(U)})}})}).unsubscribe}var lE=200;function lw(U){return iI().subscribe(U).unsubscribe}function lS(U){var B=window.visualViewport;if(!B)return ee;var G=et(function(){U(lo(B))},lE,{trailing:!1}),Y=G.throttled,V=G.cancel,Z=rI(B,["resize","scroll"],Y,{capture:!0,passive:!0}).stop;return function(){Z(),V()}}var lk=100;function lT(U){var B=ee,G=[];function Y(){B(),U(G),G=[]}return{addMutations:function(U){0===G.length&&(B=lC(Y,{timeout:lk})),G.push.apply(G,U)},flush:Y,stop:function(){B()}}}function lC(U,B){if(window.requestIdleCallback&&window.cancelIdleCallback){var G=window.requestIdleCallback(tP(U),B);return function(){return window.cancelIdleCallback(G)}}var Y=window.requestAnimationFrame(tP(U));return function(){return window.cancelAnimationFrame(Y)}}function lR(U,B,G,Y){var V=rW();if(!V)return{stop:ee,flush:ee};var Z=lT(function(V){lA(V.concat(J.takeRecords()),U,B,G,Y)}),J=new V(tP(Z.addMutations));return J.observe(Y,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){J.disconnect(),Z.stop()},flush:function(){Z.flush()}}}function lA(U,B,G,Y,V){U.filter(function(U){return"childList"===U.type}).forEach(function(U){U.removedNodes.forEach(function(U){lL(U,Y.removeShadowRoot)})});var Z=U.filter(function(U){return V.contains(U.target)&&cN(U.target)&&cw(U.target,G.defaultPrivacyLevel)!==cn.HIDDEN}),J=lO(Z.filter(function(U){return"childList"===U.type}),G,Y),X=J.adds,Q=J.removes,tt=J.hasBeenSerialized,te=lI(Z.filter(function(U){return"characterData"===U.type&&!tt(U.target)}),G),tn=lN(Z.filter(function(U){return"attributes"===U.type&&!tt(U.target)}),G);(te.length||tn.length||Q.length||X.length)&&B({adds:X,removes:Q,texts:te,attributes:tn})}function lO(U,B,G){for(var Y=new Set,V=new Map,Z=function(U){U.addedNodes.forEach(function(U){Y.add(U)}),U.removedNodes.forEach(function(B){Y.has(B)||V.set(B,U.target),Y.delete(B)})},J=0,X=U;J<X.length;J++)Z(X[J]);var Q=Array.from(Y);lD(Q);for(var tt=new Set,te=[],tn=0,tr=Q;tn<tr.length;tn++){var ti=tr[tn];if(!td(ti)){var ta=cw(ti.parentNode,B.defaultPrivacyLevel);if(ta!==cn.HIDDEN&&ta!==cn.IGNORE){var ts=cZ(ti,{serializedNodeIds:tt,parentNodePrivacyLevel:ta,serializationContext:{status:2,shadowRootsController:G},configuration:B});if(ts){var tu=io(ti);te.push({nextId:tf(ti),parentId:cD(tu),node:ts})}}}}var tc=[];return V.forEach(function(U,B){cI(B)&&tc.push({parentId:cD(U),id:cD(B)})}),{adds:te,removes:tc,hasBeenSerialized:td};function td(U){return cI(U)&&tt.has(cD(U))}function tf(U){for(var B=U.nextSibling;B;){if(cI(B))return cD(B);B=B.nextSibling}return null}}function lI(U,B){for(var G,Y=[],V=new Set,Z=U.filter(function(U){return!V.has(U.target)&&(V.add(U.target),!0)}),J=0,X=Z;J<X.length;J++){var Q=X[J];if(Q.target.textContent!==Q.oldValue){var tt=cw(io(Q.target),B.defaultPrivacyLevel);tt!==cn.HIDDEN&&tt!==cn.IGNORE&&Y.push({id:cD(Q.target),value:null!==(G=cR(Q.target,!1,tt))&&void 0!==G?G:null})}}return Y}function lN(U,B){for(var G=[],Y=new Map,V=U.filter(function(U){var B=Y.get(U.target);return(null==B||!B.has(U.attributeName))&&(B?B.add(U.attributeName):Y.set(U.target,new Set([U.attributeName])),!0)}),Z=new Map,J=0,X=V;J<X.length;J++){var Q=X[J];if(Q.target.getAttribute(Q.attributeName)!==Q.oldValue){var tt=cw(Q.target,B.defaultPrivacyLevel),te=c$(Q.target,tt,Q.attributeName,B),tn=void 0;if("value"===Q.attributeName){var tr=cP(Q.target,tt);if(void 0===tr)continue;tn=tr}else tn="string"==typeof te?te:null;var ti=Z.get(Q.target);ti||(ti={id:cD(Q.target),attributes:{}},G.push(ti),Z.set(Q.target,ti)),ti.attributes[Q.attributeName]=tn}}return G}function lD(U){U.sort(function(U,B){var G=U.compareDocumentPosition(B);return G&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:G&Node.DOCUMENT_POSITION_CONTAINS?1:G&Node.DOCUMENT_POSITION_FOLLOWING?1:G&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}function lL(U,B){ie(U)&&B(U.shadowRoot),ii(U).forEach(function(U){return lL(U,B)})}function lP(U){return rI(window,["focus","blur"],function(){U({has_focus:document.hasFocus()})}).stop}function lM(){var U=new WeakMap,B=1;return{getIdForEvent:function(G){return U.has(G)||U.set(G,B++),U.get(G)}}}function lU(U){var B=lM(),G=lR(U.mutationCb,U.configuration,U.shadowRootsController,document),Y=ll(U.mousemoveCb),V=lg(U.mouseInteractionCb,U.configuration.defaultPrivacyLevel,B),Z=lh(U.scrollCb,U.configuration.defaultPrivacyLevel,U.elementsScrollPositions),J=lw(U.viewportResizeCb),X=l_(U.inputCb,U.configuration.defaultPrivacyLevel),Q=ly(U.mediaInteractionCb,U.configuration.defaultPrivacyLevel),tt=lm(U.styleSheetCb),te=lP(U.focusCb),tn=lS(U.visualViewportResizeCb),tr=lb(U.lifeCycle,U.frustrationCb,B);return{flush:function(){G.flush()},stop:function(){G.stop(),Y(),V(),Z(),J(),X(),Q(),tt(),te(),tn(),tr()}}}function lB(){var U=new WeakMap;return{set:function(B,G){(B!==document||document.scrollingElement)&&U.set(B===document?document.scrollingElement:B,G)},get:function(B){return U.get(B)},has:function(B){return U.has(B)}}}var lj=function(U,B){var G=B.mutationCb,Y=B.inputCb,V=new Map,Z={addShadowRoot:function(B){var J=lR(G,U,Z,B),X=J.stop,Q=J.flush,tt=l_(Y,U.defaultPrivacyLevel,{target:B,domEvents:["change"]});V.set(B,{flush:Q,stop:function(){X(),tt()}})},removeShadowRoot:function(U){var B=V.get(U);B&&(B.stop(),V.delete(U))},stop:function(){V.forEach(function(U){return(0,U.stop)()})},flush:function(){V.forEach(function(U){return(0,U.flush)()})}};return Z};function lG(U){var B=U.emit;if(!B)throw Error("emit function is required");var G=lB(),Y=function(U){B(ce(u7.Mutation,U))},V=function(U){return B(ce(u7.Input,U))},Z=lj(U.configuration,{mutationCb:Y,inputCb:V}),J=function(Y,V){void 0===Y&&(Y=eG()),void 0===V&&(V={status:0,elementsScrollPositions:G,shadowRootsController:Z});var J=iD(),X=J.width;B({data:{height:J.height,href:window.location.href,width:X},type:u4.Meta,timestamp:Y}),B({data:{has_focus:document.hasFocus()},type:u4.Focus,timestamp:Y}),B({data:{node:c9(document,U.configuration,V),initialOffset:{left:la(),top:ls()}},type:u4.FullSnapshot,timestamp:Y}),window.visualViewport&&B({data:lo(window.visualViewport),type:u4.VisualViewport,timestamp:Y})};J();var X=lU({lifeCycle:U.lifeCycle,configuration:U.configuration,elementsScrollPositions:G,inputCb:V,mediaInteractionCb:function(U){return B(ce(u7.MediaInteraction,U))},mouseInteractionCb:function(U){return B(U)},mousemoveCb:function(U,G){return B(ce(G,{positions:U}))},mutationCb:Y,scrollCb:function(U){return B(ce(u7.Scroll,U))},styleSheetCb:function(U){return B(ce(u7.StyleSheetRule,U))},viewportResizeCb:function(U){return B(ce(u7.ViewportResize,U))},frustrationCb:function(U){return B(U)},focusCb:function(U){return B({data:U,type:u4.Focus,timestamp:eG()})},visualViewportResizeCb:function(U){B({data:U,type:u4.VisualViewport,timestamp:eG()})},shadowRootsController:Z}),Q=X.stop,tt=X.flush;function te(){Z.flush(),tt()}return{stop:function(){Z.stop(),Q()},takeSubsequentFullSnapshot:function(U){te(),J(U,{shadowRootsController:Z,status:1,elementsScrollPositions:G})},flushMutations:te,shadowRootsController:Z}}function lF(U,B,G){var Y=new FormData;Y.append("segment",new Blob([U],{type:"application/octet-stream"}),"".concat(B.session.id,"-").concat(B.start));var V=JSON.stringify(tZ({raw_segment_size:G,compressed_segment_size:U.byteLength},B));return Y.append("event",new Blob([V],{type:"application/json"})),{data:Y,bytesCount:U.byteLength}}var lH=10;function lz(U){return lW(U).segments_count}function l$(U){lW(U).segments_count+=1}function lq(U){lW(U).records_count+=1}function lY(U,B){lW(U).segments_total_raw_size+=B}function lV(U){return null==ty?void 0:ty.get(U)}function lW(U){var B;return ty||(ty=new Map),ty.has(U)?B=ty.get(U):(B={records_count:0,segments_count:0,segments_total_raw_size:0},ty.set(U,B),ty.size>lH&&lZ()),B}function lZ(){if(ty){if(ty.keys)ty.delete(ty.keys().next().value);else{var U=!0;ty.forEach(function(B,G){U&&(ty.delete(G),U=!1)})}}}var lK=0,lJ=function(){function U(U,B,G,Y,V,Z){var J=this;this.worker=U,this.id=lK++;var X=B.view.id;this.metadata=tZ({start:Y.timestamp,end:Y.timestamp,creation_reason:G,records_count:1,has_full_snapshot:Y.type===u4.FullSnapshot,index_in_view:lz(X),source:"browser"},B),l$(X),lq(X);var Q=rO(U,"message",function(U){var B=U.data;"errored"!==B.type&&"initialized"!==B.type&&(B.id===J.id?(lY(X,B.additionalBytesCount),"flushed"===B.type?(Z(B.result,B.rawBytesCount),Q()):V(B.compressedBytesCount)):B.id>J.id&&(Q(),rF("Segment did not receive a 'flush' response before being replaced.")))}).stop;rC("record",{record:Y,segment:this.metadata}),this.worker.postMessage({data:'{"records":['.concat(JSON.stringify(Y)),id:this.id,action:"write"})}return U.prototype.addRecord=function(U){var B;this.metadata.start=Math.min(this.metadata.start,U.timestamp),this.metadata.end=Math.max(this.metadata.end,U.timestamp),this.metadata.records_count+=1,lq(this.metadata.view.id),(B=this.metadata).has_full_snapshot||(B.has_full_snapshot=U.type===u4.FullSnapshot),rC("record",{record:U,segment:this.metadata}),this.worker.postMessage({data:",".concat(JSON.stringify(U)),id:this.id,action:"write"})},U.prototype.flush=function(U){this.worker.postMessage({data:"],".concat(JSON.stringify(this.metadata).slice(1),"\n"),id:this.id,action:"flush"}),this.flushReason=U},U}(),lX=30*eI,lQ=6e4;function l0(U,B,G,Y,V,Z){return l1(U,function(){return l2(B,G,Y)},V,Z)}function l1(U,B,G,Y){var V={status:0,nextSegmentCreationReason:"init"},Z=U.subscribe(2,function(){X("view_change")}).unsubscribe,J=U.subscribe(9,function(U){X(U.reason)}).unsubscribe;function X(U){1===V.status&&(V.segment.flush(U),t8(V.expirationTimeoutId)),V="stop"!==U?{status:0,nextSegmentCreationReason:U}:{status:2}}function Q(U,Z){var J=B();if(J){var Q=new lJ(Y,J,U,Z,function(U){!Q.flushReason&&U>lQ&&X("segment_bytes_limit")},function(U,B){var Y=lF(U,Q.metadata,B);rL(Q.flushReason)?G.sendOnExit(Y):G.send(Y)});V={status:1,segment:Q,expirationTimeoutId:t4(function(){X("segment_duration_limit")},lX)}}}return{addRecord:function(U){switch(V.status){case 0:Q(V.nextSegmentCreationReason,U);break;case 1:V.segment.addRecord(U)}},stop:function(){X("stop"),Z(),J()}}}function l2(U,B,G){var Y=B.findTrackedSession(),V=G.findView();if(Y&&V)return{application:{id:U},session:{id:Y.id},view:{id:V.id}}}function l5(){return tb||(tb=URL.createObjectURL(new Blob(["(".concat(l3,")(self)")]))),new Worker(tb)}function l3(){function U(U){return function(){try{return U.apply(this,arguments)}catch(U){try{self.postMessage({type:"errored",error:U})}catch(B){self.postMessage({type:"errored",error:"".concat(U)})}}}}function B(){var U,B,G,Y=4,V=0,Z=1,J=2;function X(U){for(var B=U.length;--B>=0;)U[B]=0}var Q=0,tt=1,te=2,tn=3,tr=258,ti=29,ta=256,ts=286,tu=30,tc=19,td=573,tf=15,th=16,tp=7,tg=256,t_=16,tm=17,tv=18,ty=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),tb=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),tE=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),tw=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),tS=512,tx=Array((ts+2)*2);X(tx);var tk=Array(2*tu);X(tk);var tT=Array(tS);X(tT);var tC=Array(tr-tn+1);X(tC);var tR=Array(ti);X(tR);var tA=Array(tu);function tO(U,B,G,Y,V){this.static_tree=U,this.extra_bits=B,this.extra_base=G,this.elems=Y,this.max_length=V,this.has_stree=U&&U.length}function tI(U,B){this.dyn_tree=U,this.max_code=0,this.stat_desc=B}X(tA);var tN=function(U){return U<256?tT[U]:tT[256+(U>>>7)]},tD=function(U,B){U.pending_buf[U.pending++]=255&B,U.pending_buf[U.pending++]=B>>>8&255},tL=function(U,B,G){U.bi_valid>th-G?(U.bi_buf|=B<<U.bi_valid&65535,tD(U,U.bi_buf),U.bi_buf=B>>th-U.bi_valid,U.bi_valid+=G-th):(U.bi_buf|=B<<U.bi_valid&65535,U.bi_valid+=G)},tP=function(U,B,G){tL(U,G[2*B],G[2*B+1])},tM=function(U,B){var G=0;do G|=1&U,U>>>=1,G<<=1;while(--B>0);return G>>>1},tU=function(U){16===U.bi_valid?(tD(U,U.bi_buf),U.bi_buf=0,U.bi_valid=0):U.bi_valid>=8&&(U.pending_buf[U.pending++]=255&U.bi_buf,U.bi_buf>>=8,U.bi_valid-=8)},tB=function(U,B){var G,Y,V,Z,J,X,Q=B.dyn_tree,tt=B.max_code,te=B.stat_desc.static_tree,tn=B.stat_desc.has_stree,tr=B.stat_desc.extra_bits,ti=B.stat_desc.extra_base,ta=B.stat_desc.max_length,ts=0;for(Z=0;Z<=tf;Z++)U.bl_count[Z]=0;for(Q[2*U.heap[U.heap_max]+1]=0,G=U.heap_max+1;G<td;G++)(Z=Q[2*Q[2*(Y=U.heap[G])+1]+1]+1)>ta&&(Z=ta,ts++),Q[2*Y+1]=Z,!(Y>tt)&&(U.bl_count[Z]++,J=0,Y>=ti&&(J=tr[Y-ti]),X=Q[2*Y],U.opt_len+=X*(Z+J),tn&&(U.static_len+=X*(te[2*Y+1]+J)));if(0!==ts){do{for(Z=ta-1;0===U.bl_count[Z];)Z--;U.bl_count[Z]--,U.bl_count[Z+1]+=2,U.bl_count[ta]--,ts-=2}while(ts>0);for(Z=ta;0!==Z;Z--)for(Y=U.bl_count[Z];0!==Y;)!((V=U.heap[--G])>tt)&&(Q[2*V+1]!==Z&&(U.opt_len+=(Z-Q[2*V+1])*Q[2*V],Q[2*V+1]=Z),Y--)}},tj=function(U,B,G){var Y,V,Z=Array(tf+1),J=0;for(Y=1;Y<=tf;Y++)Z[Y]=J=J+G[Y-1]<<1;for(V=0;V<=B;V++){var X=U[2*V+1];0!==X&&(U[2*V]=tM(Z[X]++,X))}},tG=function(){var Y,V,Z,J,X,Q=Array(tf+1);for(J=0,Z=0;J<ti-1;J++)for(Y=0,tR[J]=Z;Y<1<<ty[J];Y++)tC[Z++]=J;for(tC[Z-1]=J,X=0,J=0;J<16;J++)for(Y=0,tA[J]=X;Y<1<<tb[J];Y++)tT[X++]=J;for(X>>=7;J<tu;J++)for(Y=0,tA[J]=X<<7;Y<1<<tb[J]-7;Y++)tT[256+X++]=J;for(V=0;V<=tf;V++)Q[V]=0;for(Y=0;Y<=143;)tx[2*Y+1]=8,Y++,Q[8]++;for(;Y<=255;)tx[2*Y+1]=9,Y++,Q[9]++;for(;Y<=279;)tx[2*Y+1]=7,Y++,Q[7]++;for(;Y<=287;)tx[2*Y+1]=8,Y++,Q[8]++;for(tj(tx,ts+1,Q),Y=0;Y<tu;Y++)tk[2*Y+1]=5,tk[2*Y]=tM(Y,5);U=new tO(tx,ty,ta+1,ts,tf),B=new tO(tk,tb,0,tu,tf),G=new tO([],tE,0,tc,tp)},tF=function(U){var B;for(B=0;B<ts;B++)U.dyn_ltree[2*B]=0;for(B=0;B<tu;B++)U.dyn_dtree[2*B]=0;for(B=0;B<tc;B++)U.bl_tree[2*B]=0;U.dyn_ltree[2*tg]=1,U.opt_len=U.static_len=0,U.last_lit=U.matches=0},tH=function(U){U.bi_valid>8?tD(U,U.bi_buf):U.bi_valid>0&&(U.pending_buf[U.pending++]=U.bi_buf),U.bi_buf=0,U.bi_valid=0},tz=function(U,B,G,Y){tH(U),Y&&(tD(U,G),tD(U,~G)),U.pending_buf.set(U.window.subarray(B,B+G),U.pending),U.pending+=G},t$=function(U,B,G,Y){var V=2*B,Z=2*G;return U[V]<U[Z]||U[V]===U[Z]&&Y[B]<=Y[G]},tq=function(U,B,G){for(var Y=U.heap[G],V=G<<1;V<=U.heap_len&&(V<U.heap_len&&t$(B,U.heap[V+1],U.heap[V],U.depth)&&V++,!t$(B,Y,U.heap[V],U.depth));)U.heap[G]=U.heap[V],G=V,V<<=1;U.heap[G]=Y},tY=function(U,B,G){var Y,V,Z,J,X=0;if(0!==U.last_lit)do Y=U.pending_buf[U.d_buf+2*X]<<8|U.pending_buf[U.d_buf+2*X+1],V=U.pending_buf[U.l_buf+X],X++,0===Y?tP(U,V,B):(tP(U,(Z=tC[V])+ta+1,B),0!==(J=ty[Z])&&tL(U,V-=tR[Z],J),tP(U,Z=tN(--Y),G),0!==(J=tb[Z])&&tL(U,Y-=tA[Z],J));while(X<U.last_lit);tP(U,tg,B)},tV=function(U,B){var G,Y,V,Z=B.dyn_tree,J=B.stat_desc.static_tree,X=B.stat_desc.has_stree,Q=B.stat_desc.elems,tt=-1;for(G=0,U.heap_len=0,U.heap_max=td;G<Q;G++)0!==Z[2*G]?(U.heap[++U.heap_len]=tt=G,U.depth[G]=0):Z[2*G+1]=0;for(;U.heap_len<2;)Z[2*(V=U.heap[++U.heap_len]=tt<2?++tt:0)]=1,U.depth[V]=0,U.opt_len--,X&&(U.static_len-=J[2*V+1]);for(B.max_code=tt,G=U.heap_len>>1;G>=1;G--)tq(U,Z,G);V=Q;do G=U.heap[1],U.heap[1]=U.heap[U.heap_len--],tq(U,Z,1),Y=U.heap[1],U.heap[--U.heap_max]=G,U.heap[--U.heap_max]=Y,Z[2*V]=Z[2*G]+Z[2*Y],U.depth[V]=(U.depth[G]>=U.depth[Y]?U.depth[G]:U.depth[Y])+1,Z[2*G+1]=Z[2*Y+1]=V,U.heap[1]=V++,tq(U,Z,1);while(U.heap_len>=2);U.heap[--U.heap_max]=U.heap[1],tB(U,B),tj(Z,tt,U.bl_count)},tW=function(U,B,G){var Y,V,Z=-1,J=B[1],X=0,Q=7,tt=4;for(0===J&&(Q=138,tt=3),B[(G+1)*2+1]=65535,Y=0;Y<=G;Y++)V=J,J=B[(Y+1)*2+1],++X<Q&&V===J||(X<tt?U.bl_tree[2*V]+=X:0!==V?(V!==Z&&U.bl_tree[2*V]++,U.bl_tree[2*t_]++):X<=10?U.bl_tree[2*tm]++:U.bl_tree[2*tv]++,X=0,Z=V,0===J?(Q=138,tt=3):V===J?(Q=6,tt=3):(Q=7,tt=4))},tZ=function(U,B,G){var Y,V,Z=-1,J=B[1],X=0,Q=7,tt=4;for(0===J&&(Q=138,tt=3),Y=0;Y<=G;Y++)if(V=J,J=B[(Y+1)*2+1],!(++X<Q)||V!==J){if(X<tt)do tP(U,V,U.bl_tree);while(0!=--X);else 0!==V?(V!==Z&&(tP(U,V,U.bl_tree),X--),tP(U,t_,U.bl_tree),tL(U,X-3,2)):X<=10?(tP(U,tm,U.bl_tree),tL(U,X-3,3)):(tP(U,tv,U.bl_tree),tL(U,X-11,7));X=0,Z=V,0===J?(Q=138,tt=3):V===J?(Q=6,tt=3):(Q=7,tt=4)}},tK=function(U){var B;for(tW(U,U.dyn_ltree,U.l_desc.max_code),tW(U,U.dyn_dtree,U.d_desc.max_code),tV(U,U.bl_desc),B=tc-1;B>=3&&0===U.bl_tree[2*tw[B]+1];B--);return U.opt_len+=3*(B+1)+5+5+4,B},tJ=function(U,B,G,Y){var V;for(tL(U,B-257,5),tL(U,G-1,5),tL(U,Y-4,4),V=0;V<Y;V++)tL(U,U.bl_tree[2*tw[V]+1],3);tZ(U,U.dyn_ltree,B-1),tZ(U,U.dyn_dtree,G-1)},tX=function(U){var B,G=4093624447;for(B=0;B<=31;B++,G>>>=1)if(1&G&&0!==U.dyn_ltree[2*B])return V;if(0!==U.dyn_ltree[18]||0!==U.dyn_ltree[20]||0!==U.dyn_ltree[26])return Z;for(B=32;B<ta;B++)if(0!==U.dyn_ltree[2*B])return Z;return V},tQ=!1,t0=function(U,B,G,Y){tL(U,(Q<<1)+(Y?1:0),3),tz(U,B,G,!0)},t5=function(U,B,G,V){var Z,X,Q=0;U.level>0?(U.strm.data_type===J&&(U.strm.data_type=tX(U)),tV(U,U.l_desc),tV(U,U.d_desc),Q=tK(U),Z=U.opt_len+3+7>>>3,(X=U.static_len+3+7>>>3)<=Z&&(Z=X)):Z=X=G+5,G+4<=Z&&-1!==B?t0(U,B,G,V):U.strategy===Y||X===Z?(tL(U,(tt<<1)+(V?1:0),3),tY(U,tx,tk)):(tL(U,(te<<1)+(V?1:0),3),tJ(U,U.l_desc.max_code+1,U.d_desc.max_code+1,Q+1),tY(U,U.dyn_ltree,U.dyn_dtree)),tF(U),V&&tH(U)},t3={_tr_init:function(Y){tQ||(tG(),tQ=!0),Y.l_desc=new tI(Y.dyn_ltree,U),Y.d_desc=new tI(Y.dyn_dtree,B),Y.bl_desc=new tI(Y.bl_tree,G),Y.bi_buf=0,Y.bi_valid=0,tF(Y)},_tr_stored_block:t0,_tr_flush_block:t5,_tr_tally:function(U,B,G){return U.pending_buf[U.d_buf+2*U.last_lit]=B>>>8&255,U.pending_buf[U.d_buf+2*U.last_lit+1]=255&B,U.pending_buf[U.l_buf+U.last_lit]=255&G,U.last_lit++,0===B?U.dyn_ltree[2*G]++:(U.matches++,B--,U.dyn_ltree[(tC[G]+ta+1)*2]++,U.dyn_dtree[2*tN(B)]++),U.last_lit===U.lit_bufsize-1},_tr_align:function(U){tL(U,tt<<1,3),tP(U,tg,tx),tU(U)}},t6=function(U,B,G,Y){for(var V=65535&U|0,Z=U>>>16&65535|0,J=0;0!==G;){J=G>2e3?2e3:G,G-=J;do Z=Z+(V=V+B[Y++]|0)|0;while(--J);V%=65521,Z%=65521}return V|Z<<16|0},t4=function(){for(var U,B=[],G=0;G<256;G++){U=G;for(var Y=0;Y<8;Y++)U=1&U?3988292384^U>>>1:U>>>1;B[G]=U}return B},t8=new Uint32Array(t4()),t7=function(U,B,G,Y){var V=t8,Z=Y+G;U^=-1;for(var J=Y;J<Z;J++)U=U>>>8^V[(U^B[J])&255];return -1^U},t9={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},et={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},ee=t3._tr_init,en=t3._tr_stored_block,er=t3._tr_flush_block,ei=t3._tr_tally,eo=t3._tr_align,ea=et.Z_NO_FLUSH,es=et.Z_PARTIAL_FLUSH,eu=et.Z_FULL_FLUSH,ec=et.Z_FINISH,ed=et.Z_BLOCK,ef=et.Z_OK,eh=et.Z_STREAM_END,ep=et.Z_STREAM_ERROR,eg=et.Z_DATA_ERROR,e_=et.Z_BUF_ERROR,em=et.Z_DEFAULT_COMPRESSION,ey=et.Z_FILTERED,eb=et.Z_HUFFMAN_ONLY,eE=et.Z_RLE,ew=et.Z_FIXED,eS=et.Z_DEFAULT_STRATEGY,ek=et.Z_UNKNOWN,eT=et.Z_DEFLATED,eC=9,eR=15,eA=8,eO=286,eI=30,eN=19,eD=573,eL=15,eP=3,eM=258,eU=262,eB=32,ej=42,eG=69,eF=73,eH=91,ez=103,e$=113,eq=666,eY=1,eV=2,eW=3,eZ=4,eK=3,eJ=function(U,B){return U.msg=t9[B],B},eX=function(U){return(U<<1)-(U>4?9:0)},eQ=function(U){for(var B=U.length;--B>=0;)U[B]=0},e0=function(U,B,G){return(B<<U.hash_shift^G)&U.hash_mask},e1=function(U){var B=U.state,G=B.pending;G>U.avail_out&&(G=U.avail_out),0!==G&&(U.output.set(B.pending_buf.subarray(B.pending_out,B.pending_out+G),U.next_out),U.next_out+=G,B.pending_out+=G,U.total_out+=G,U.avail_out-=G,B.pending-=G,0===B.pending&&(B.pending_out=0))},e5=function(U,B){er(U,U.block_start>=0?U.block_start:-1,U.strstart-U.block_start,B),U.block_start=U.strstart,e1(U.strm)},e6=function(U,B){U.pending_buf[U.pending++]=B},e4=function(U,B){U.pending_buf[U.pending++]=B>>>8&255,U.pending_buf[U.pending++]=255&B},e8=function(U,B,G,Y){var V=U.avail_in;return(V>Y&&(V=Y),0===V)?0:(U.avail_in-=V,B.set(U.input.subarray(U.next_in,U.next_in+V),G),1===U.state.wrap?U.adler=t6(U.adler,B,V,G):2===U.state.wrap&&(U.adler=t7(U.adler,B,V,G)),U.next_in+=V,U.total_in+=V,V)},e7=function(U,B){var G,Y,V=U.max_chain_length,Z=U.strstart,J=U.prev_length,X=U.nice_match,Q=U.strstart>U.w_size-eU?U.strstart-(U.w_size-eU):0,tt=U.window,te=U.w_mask,tn=U.prev,tr=U.strstart+eM,ti=tt[Z+J-1],ta=tt[Z+J];U.prev_length>=U.good_match&&(V>>=2),X>U.lookahead&&(X=U.lookahead);do{if(tt[(G=B)+J]!==ta||tt[G+J-1]!==ti||tt[G]!==tt[Z]||tt[++G]!==tt[Z+1])continue;Z+=2,G++;do;while(tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&tt[++Z]===tt[++G]&&Z<tr);if(Y=eM-(tr-Z),Z=tr-eM,Y>J){if(U.match_start=B,J=Y,Y>=X)break;ti=tt[Z+J-1],ta=tt[Z+J]}}while((B=tn[B&te])>Q&&0!=--V);return J<=U.lookahead?J:U.lookahead},e9=function(U){var B,G,Y,V,Z,J=U.w_size;do{if(V=U.window_size-U.lookahead-U.strstart,U.strstart>=J+(J-eU)){U.window.set(U.window.subarray(J,J+J),0),U.match_start-=J,U.strstart-=J,U.block_start-=J,B=G=U.hash_size;do Y=U.head[--B],U.head[B]=Y>=J?Y-J:0;while(--G);B=G=J;do Y=U.prev[--B],U.prev[B]=Y>=J?Y-J:0;while(--G);V+=J}if(0===U.strm.avail_in)break;if(G=e8(U.strm,U.window,U.strstart+U.lookahead,V),U.lookahead+=G,U.lookahead+U.insert>=eP)for(Z=U.strstart-U.insert,U.ins_h=U.window[Z],U.ins_h=e0(U,U.ins_h,U.window[Z+1]);U.insert&&(U.ins_h=e0(U,U.ins_h,U.window[Z+eP-1]),U.prev[Z&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=Z,Z++,U.insert--,!(U.lookahead+U.insert<eP)););}while(U.lookahead<eU&&0!==U.strm.avail_in)},nt=function(U,B){var G=65535;for(65535>U.pending_buf_size-5&&(G=U.pending_buf_size-5);;){if(U.lookahead<=1){if(e9(U),0===U.lookahead&&B===ea)return eY;if(0===U.lookahead)break}U.strstart+=U.lookahead,U.lookahead=0;var Y=U.block_start+G;if((0===U.strstart||U.strstart>=Y)&&(U.lookahead=U.strstart-Y,U.strstart=Y,e5(U,!1),0===U.strm.avail_out)||U.strstart-U.block_start>=U.w_size-eU&&(e5(U,!1),0===U.strm.avail_out))return eY}return(U.insert=0,B===ec)?(e5(U,!0),0===U.strm.avail_out)?eW:eZ:(U.strstart>U.block_start&&(e5(U,!1),U.strm.avail_out),eY)},ne=function(U,B){for(var G,Y;;){if(U.lookahead<eU){if(e9(U),U.lookahead<eU&&B===ea)return eY;if(0===U.lookahead)break}if(G=0,U.lookahead>=eP&&(U.ins_h=e0(U,U.ins_h,U.window[U.strstart+eP-1]),G=U.prev[U.strstart&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),0!==G&&U.strstart-G<=U.w_size-eU&&(U.match_length=e7(U,G)),U.match_length>=eP){if(Y=ei(U,U.strstart-U.match_start,U.match_length-eP),U.lookahead-=U.match_length,U.match_length<=U.max_lazy_match&&U.lookahead>=eP){U.match_length--;do U.strstart++,U.ins_h=e0(U,U.ins_h,U.window[U.strstart+eP-1]),G=U.prev[U.strstart&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart;while(0!=--U.match_length);U.strstart++}else U.strstart+=U.match_length,U.match_length=0,U.ins_h=U.window[U.strstart],U.ins_h=e0(U,U.ins_h,U.window[U.strstart+1])}else Y=ei(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++;if(Y&&(e5(U,!1),0===U.strm.avail_out))return eY}return(U.insert=U.strstart<eP-1?U.strstart:eP-1,B===ec)?(e5(U,!0),0===U.strm.avail_out)?eW:eZ:U.last_lit&&(e5(U,!1),0===U.strm.avail_out)?eY:eV},nn=function(U,B){for(var G,Y,V;;){if(U.lookahead<eU){if(e9(U),U.lookahead<eU&&B===ea)return eY;if(0===U.lookahead)break}if(G=0,U.lookahead>=eP&&(U.ins_h=e0(U,U.ins_h,U.window[U.strstart+eP-1]),G=U.prev[U.strstart&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),U.prev_length=U.match_length,U.prev_match=U.match_start,U.match_length=eP-1,0!==G&&U.prev_length<U.max_lazy_match&&U.strstart-G<=U.w_size-eU&&(U.match_length=e7(U,G),U.match_length<=5&&(U.strategy===ey||U.match_length===eP&&U.strstart-U.match_start>4096)&&(U.match_length=eP-1)),U.prev_length>=eP&&U.match_length<=U.prev_length){V=U.strstart+U.lookahead-eP,Y=ei(U,U.strstart-1-U.prev_match,U.prev_length-eP),U.lookahead-=U.prev_length-1,U.prev_length-=2;do++U.strstart<=V&&(U.ins_h=e0(U,U.ins_h,U.window[U.strstart+eP-1]),G=U.prev[U.strstart&U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart);while(0!=--U.prev_length);if(U.match_available=0,U.match_length=eP-1,U.strstart++,Y&&(e5(U,!1),0===U.strm.avail_out))return eY}else if(U.match_available){if((Y=ei(U,0,U.window[U.strstart-1]))&&e5(U,!1),U.strstart++,U.lookahead--,0===U.strm.avail_out)return eY}else U.match_available=1,U.strstart++,U.lookahead--}return(U.match_available&&(Y=ei(U,0,U.window[U.strstart-1]),U.match_available=0),U.insert=U.strstart<eP-1?U.strstart:eP-1,B===ec)?(e5(U,!0),0===U.strm.avail_out)?eW:eZ:U.last_lit&&(e5(U,!1),0===U.strm.avail_out)?eY:eV},nr=function(U,B){for(var G,Y,V,Z,J=U.window;;){if(U.lookahead<=eM){if(e9(U),U.lookahead<=eM&&B===ea)return eY;if(0===U.lookahead)break}if(U.match_length=0,U.lookahead>=eP&&U.strstart>0&&(Y=J[V=U.strstart-1])===J[++V]&&Y===J[++V]&&Y===J[++V]){Z=U.strstart+eM;do;while(Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&Y===J[++V]&&V<Z);U.match_length=eM-(Z-V),U.match_length>U.lookahead&&(U.match_length=U.lookahead)}if(U.match_length>=eP?(G=ei(U,1,U.match_length-eP),U.lookahead-=U.match_length,U.strstart+=U.match_length,U.match_length=0):(G=ei(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++),G&&(e5(U,!1),0===U.strm.avail_out))return eY}return(U.insert=0,B===ec)?(e5(U,!0),0===U.strm.avail_out)?eW:eZ:U.last_lit&&(e5(U,!1),0===U.strm.avail_out)?eY:eV},ni=function(U,B){for(var G;;){if(0===U.lookahead&&(e9(U),0===U.lookahead)){if(B===ea)return eY;break}if(U.match_length=0,G=ei(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++,G&&(e5(U,!1),0===U.strm.avail_out))return eY}return(U.insert=0,B===ec)?(e5(U,!0),0===U.strm.avail_out)?eW:eZ:U.last_lit&&(e5(U,!1),0===U.strm.avail_out)?eY:eV};function no(U,B,G,Y,V){this.good_length=U,this.max_lazy=B,this.nice_length=G,this.max_chain=Y,this.func=V}var na=[new no(0,0,0,0,nt),new no(4,4,8,4,ne),new no(4,5,16,8,ne),new no(4,6,32,32,ne),new no(4,4,16,16,nn),new no(8,16,32,32,nn),new no(8,16,128,128,nn),new no(8,32,128,256,nn),new no(32,128,258,1024,nn),new no(32,258,258,4096,nn)],nu=function(U){U.window_size=2*U.w_size,eQ(U.head),U.max_lazy_match=na[U.level].max_lazy,U.good_match=na[U.level].good_length,U.nice_match=na[U.level].nice_length,U.max_chain_length=na[U.level].max_chain,U.strstart=0,U.block_start=0,U.lookahead=0,U.insert=0,U.match_length=U.prev_length=eP-1,U.match_available=0,U.ins_h=0};function nc(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=eT,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*eD),this.dyn_dtree=new Uint16Array((2*eI+1)*2),this.bl_tree=new Uint16Array((2*eN+1)*2),eQ(this.dyn_ltree),eQ(this.dyn_dtree),eQ(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(eL+1),this.heap=new Uint16Array(2*eO+1),eQ(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*eO+1),eQ(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var nl=function(U){if(!U||!U.state)return eJ(U,ep);U.total_in=U.total_out=0,U.data_type=ek;var B=U.state;return B.pending=0,B.pending_out=0,B.wrap<0&&(B.wrap=-B.wrap),B.status=B.wrap?ej:e$,U.adler=2===B.wrap?0:1,B.last_flush=ea,ee(B),ef},nd=function(U){var B=nl(U);return B===ef&&nu(U.state),B},nf=function(U,B,G,Y,V,Z){if(!U)return ep;var J=1;if(B===em&&(B=6),Y<0?(J=0,Y=-Y):Y>15&&(J=2,Y-=16),V<1||V>eC||G!==eT||Y<8||Y>15||B<0||B>9||Z<0||Z>ew)return eJ(U,ep);8===Y&&(Y=9);var X=new nc;return U.state=X,X.strm=U,X.wrap=J,X.gzhead=null,X.w_bits=Y,X.w_size=1<<X.w_bits,X.w_mask=X.w_size-1,X.hash_bits=V+7,X.hash_size=1<<X.hash_bits,X.hash_mask=X.hash_size-1,X.hash_shift=~~((X.hash_bits+eP-1)/eP),X.window=new Uint8Array(2*X.w_size),X.head=new Uint16Array(X.hash_size),X.prev=new Uint16Array(X.w_size),X.lit_bufsize=1<<V+6,X.pending_buf_size=4*X.lit_bufsize,X.pending_buf=new Uint8Array(X.pending_buf_size),X.d_buf=1*X.lit_bufsize,X.l_buf=3*X.lit_bufsize,X.level=B,X.strategy=Z,X.method=G,nd(U)},nh={deflateInit:function(U,B){return nf(U,B,eT,eR,eA,eS)},deflateInit2:nf,deflateReset:nd,deflateResetKeep:nl,deflateSetHeader:function(U,B){return U&&U.state&&2===U.state.wrap?(U.state.gzhead=B,ef):ep},deflate:function(U,B){if(!U||!U.state||B>ed||B<0)return U?eJ(U,ep):ep;var G,Y,V=U.state;if(!U.output||!U.input&&0!==U.avail_in||V.status===eq&&B!==ec)return eJ(U,0===U.avail_out?e_:ep);V.strm=U;var Z=V.last_flush;if(V.last_flush=B,V.status===ej){if(2===V.wrap)U.adler=0,e6(V,31),e6(V,139),e6(V,8),V.gzhead?(e6(V,(V.gzhead.text?1:0)+(V.gzhead.hcrc?2:0)+(V.gzhead.extra?4:0)+(V.gzhead.name?8:0)+(V.gzhead.comment?16:0)),e6(V,255&V.gzhead.time),e6(V,V.gzhead.time>>8&255),e6(V,V.gzhead.time>>16&255),e6(V,V.gzhead.time>>24&255),e6(V,9===V.level?2:V.strategy>=eb||V.level<2?4:0),e6(V,255&V.gzhead.os),V.gzhead.extra&&V.gzhead.extra.length&&(e6(V,255&V.gzhead.extra.length),e6(V,V.gzhead.extra.length>>8&255)),V.gzhead.hcrc&&(U.adler=t7(U.adler,V.pending_buf,V.pending,0)),V.gzindex=0,V.status=eG):(e6(V,0),e6(V,0),e6(V,0),e6(V,0),e6(V,0),e6(V,9===V.level?2:V.strategy>=eb||V.level<2?4:0),e6(V,eK),V.status=e$);else{var J=eT+(V.w_bits-8<<4)<<8,X=-1;J|=(X=V.strategy>=eb||V.level<2?0:V.level<6?1:6===V.level?2:3)<<6,0!==V.strstart&&(J|=eB),J+=31-J%31,V.status=e$,e4(V,J),0!==V.strstart&&(e4(V,U.adler>>>16),e4(V,65535&U.adler)),U.adler=1}}if(V.status===eG){if(V.gzhead.extra){for(G=V.pending;V.gzindex<(65535&V.gzhead.extra.length)&&(V.pending!==V.pending_buf_size||(V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),e1(U),G=V.pending,V.pending!==V.pending_buf_size));)e6(V,255&V.gzhead.extra[V.gzindex]),V.gzindex++;V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),V.gzindex===V.gzhead.extra.length&&(V.gzindex=0,V.status=eF)}else V.status=eF}if(V.status===eF){if(V.gzhead.name){G=V.pending;do{if(V.pending===V.pending_buf_size&&(V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),e1(U),G=V.pending,V.pending===V.pending_buf_size)){Y=1;break}Y=V.gzindex<V.gzhead.name.length?255&V.gzhead.name.charCodeAt(V.gzindex++):0,e6(V,Y)}while(0!==Y);V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),0===Y&&(V.gzindex=0,V.status=eH)}else V.status=eH}if(V.status===eH){if(V.gzhead.comment){G=V.pending;do{if(V.pending===V.pending_buf_size&&(V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),e1(U),G=V.pending,V.pending===V.pending_buf_size)){Y=1;break}Y=V.gzindex<V.gzhead.comment.length?255&V.gzhead.comment.charCodeAt(V.gzindex++):0,e6(V,Y)}while(0!==Y);V.gzhead.hcrc&&V.pending>G&&(U.adler=t7(U.adler,V.pending_buf,V.pending-G,G)),0===Y&&(V.status=ez)}else V.status=ez}if(V.status===ez&&(V.gzhead.hcrc?(V.pending+2>V.pending_buf_size&&e1(U),V.pending+2<=V.pending_buf_size&&(e6(V,255&U.adler),e6(V,U.adler>>8&255),U.adler=0,V.status=e$)):V.status=e$),0!==V.pending){if(e1(U),0===U.avail_out)return V.last_flush=-1,ef}else if(0===U.avail_in&&eX(B)<=eX(Z)&&B!==ec)return eJ(U,e_);if(V.status===eq&&0!==U.avail_in)return eJ(U,e_);if(0!==U.avail_in||0!==V.lookahead||B!==ea&&V.status!==eq){var Q=V.strategy===eb?ni(V,B):V.strategy===eE?nr(V,B):na[V.level].func(V,B);if((Q===eW||Q===eZ)&&(V.status=eq),Q===eY||Q===eW)return 0===U.avail_out&&(V.last_flush=-1),ef;if(Q===eV&&(B===es?eo(V):B!==ed&&(en(V,0,0,!1),B===eu&&(eQ(V.head),0===V.lookahead&&(V.strstart=0,V.block_start=0,V.insert=0))),e1(U),0===U.avail_out))return V.last_flush=-1,ef}return B!==ec?ef:V.wrap<=0?eh:(2===V.wrap?(e6(V,255&U.adler),e6(V,U.adler>>8&255),e6(V,U.adler>>16&255),e6(V,U.adler>>24&255),e6(V,255&U.total_in),e6(V,U.total_in>>8&255),e6(V,U.total_in>>16&255),e6(V,U.total_in>>24&255)):(e4(V,U.adler>>>16),e4(V,65535&U.adler)),e1(U),V.wrap>0&&(V.wrap=-V.wrap),0!==V.pending?ef:eh)},deflateEnd:function(U){if(!U||!U.state)return ep;var B=U.state.status;return B!==ej&&B!==eG&&B!==eF&&B!==eH&&B!==ez&&B!==e$&&B!==eq?eJ(U,ep):(U.state=null,B===e$?eJ(U,eg):ef)},deflateSetDictionary:function(U,B){var G=B.length;if(!U||!U.state)return ep;var Y=U.state,V=Y.wrap;if(2===V||1===V&&Y.status!==ej||Y.lookahead)return ep;if(1===V&&(U.adler=t6(U.adler,B,G,0)),Y.wrap=0,G>=Y.w_size){0===V&&(eQ(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0);var Z=new Uint8Array(Y.w_size);Z.set(B.subarray(G-Y.w_size,G),0),B=Z,G=Y.w_size}var J=U.avail_in,X=U.next_in,Q=U.input;for(U.avail_in=G,U.next_in=0,U.input=B,e9(Y);Y.lookahead>=eP;){var tt=Y.strstart,te=Y.lookahead-(eP-1);do Y.ins_h=e0(Y,Y.ins_h,Y.window[tt+eP-1]),Y.prev[tt&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=tt,tt++;while(--te);Y.strstart=tt,Y.lookahead=eP-1,e9(Y)}return Y.strstart+=Y.lookahead,Y.block_start=Y.strstart,Y.insert=Y.lookahead,Y.lookahead=0,Y.match_length=Y.prev_length=eP-1,Y.match_available=0,U.next_in=X,U.input=Q,U.avail_in=J,Y.wrap=V,ef},deflateInfo:"pako deflate (from Nodeca project)"};function np(U){for(var B=0,G=0,Y=U.length;G<Y;G++)B+=U[G].length;for(var V=new Uint8Array(B),Z=0,J=0,X=U.length;Z<X;Z++){var Q=U[Z];V.set(Q,J),J+=Q.length}return V}for(var ng=new Uint8Array(256),n_=0;n_<256;n_++)ng[n_]=n_>=252?6:n_>=248?5:n_>=240?4:n_>=224?3:n_>=192?2:1;ng[254]=ng[254]=1;var nm=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},nv=Object.prototype.toString,ny=et.Z_NO_FLUSH,nb=et.Z_SYNC_FLUSH,nE=et.Z_FULL_FLUSH,nw=et.Z_FINISH,nS=et.Z_OK,nx=et.Z_STREAM_END,nk=et.Z_DEFAULT_COMPRESSION,nT=et.Z_DEFAULT_STRATEGY,nC=et.Z_DEFLATED;function nR(){this.options={level:nk,method:nC,chunkSize:16384,windowBits:15,memLevel:8,strategy:nT};var U,B=this.options;B.raw&&B.windowBits>0?B.windowBits=-B.windowBits:B.gzip&&B.windowBits>0&&B.windowBits<16&&(B.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nm,this.strm.avail_out=0;var G=nh.deflateInit2(this.strm,B.level,B.method,B.windowBits,B.memLevel,B.strategy);if(G!==nS)throw Error(t9[G]);if(B.header&&nh.deflateSetHeader(this.strm,B.header),B.dictionary){if(U="[object ArrayBuffer]"===nv.call(B.dictionary)?new Uint8Array(B.dictionary):B.dictionary,(G=nh.deflateSetDictionary(this.strm,U))!==nS)throw Error(t9[G]);this._dict_set=!0}}return nR.prototype.push=function(U,B){var G,Y,V=this.strm,Z=this.options.chunkSize;if(this.ended)return!1;for(Y=B===~~B?B:!0===B?nw:ny,"[object ArrayBuffer]"===nv.call(U)?V.input=new Uint8Array(U):V.input=U,V.next_in=0,V.avail_in=V.input.length;;){if(0===V.avail_out&&(V.output=new Uint8Array(Z),V.next_out=0,V.avail_out=Z),(Y===nb||Y===nE)&&V.avail_out<=6){this.onData(V.output.subarray(0,V.next_out)),V.avail_out=0;continue}if((G=nh.deflate(V,Y))===nx)return V.next_out>0&&this.onData(V.output.subarray(0,V.next_out)),G=nh.deflateEnd(this.strm),this.onEnd(G),this.ended=!0,G===nS;if(0===V.avail_out){this.onData(V.output);continue}if(Y>0&&V.next_out>0){this.onData(V.output.subarray(0,V.next_out)),V.avail_out=0;continue}if(0===V.avail_in)break}return!0},nR.prototype.onData=function(U){this.chunks.push(U)},nR.prototype.onEnd=function(U){U===nS&&(this.result=np(this.chunks)),this.chunks=[],this.err=U,this.msg=this.strm.msg},{Deflate:nR,constants:et,string2buf:function(U){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(U);var B,G,Y,V,Z,J=U.length,X=0;for(V=0;V<J;V++)(64512&(G=U.charCodeAt(V)))==55296&&V+1<J&&(64512&(Y=U.charCodeAt(V+1)))==56320&&(G=65536+(G-55296<<10)+(Y-56320),V++),X+=G<128?1:G<2048?2:G<65536?3:4;for(Z=0,B=new Uint8Array(X),V=0;Z<X;V++)(64512&(G=U.charCodeAt(V)))==55296&&V+1<J&&(64512&(Y=U.charCodeAt(V+1)))==56320&&(G=65536+(G-55296<<10)+(Y-56320),V++),G<128?B[Z++]=G:G<2048?(B[Z++]=192|G>>>6,B[Z++]=128|63&G):G<65536?(B[Z++]=224|G>>>12,B[Z++]=128|G>>>6&63,B[Z++]=128|63&G):(B[Z++]=240|G>>>18,B[Z++]=128|G>>>12&63,B[Z++]=128|G>>>6&63,B[Z++]=128|63&G);return B}}}U(function(){var G=B(),Y=G.Deflate,V=G.constants,Z=G.string2buf,J=new Y,X=0;function Q(U){var B=Z(U);return J.push(B,V.Z_SYNC_FLUSH),X+=B.length,B.length}self.addEventListener("message",U(function(U){var B=U.data;switch(B.action){case"init":self.postMessage({type:"initialized"});break;case"write":var G=Q(B.data);self.postMessage({type:"wrote",id:B.id,compressedBytesCount:J.chunks.reduce(function(U,B){return U+B.length},0),additionalBytesCount:G});break;case"flush":var G=B.data?Q(B.data):0;J.push("",V.Z_FINISH),self.postMessage({type:"flushed",id:B.id,result:J.result,additionalBytesCount:G,rawBytesCount:X}),J=new Y,X=0}}))})()}var l6={status:0};function l4(U,B){switch(void 0===B&&(B=l5),l6.status){case 0:l6={status:1,callbacks:[U]},l8(B);break;case 1:l6.callbacks.push(U);break;case 2:U();break;case 3:U(l6.worker)}}function l8(U){void 0===U&&(U=l5);try{var B=U();return rO(B,"error",l9),rO(B,"message",function(U){var G=U.data;"errored"===G.type?l9(G.error):"initialized"===G.type&&l7(B)}),B.postMessage({action:"init"}),B}catch(U){l9(U)}}function l7(U){1===l6.status&&(l6.callbacks.forEach(function(B){return B(U)}),l6={status:3,worker:U})}function l9(U){1===l6.status?(tR.error("Session Replay recording failed to start: an error occurred while creating the Worker:",U),U instanceof Event||U instanceof Error&&de(U.message)?tR.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):rH(U),l6.callbacks.forEach(function(U){return U()}),l6={status:2}):rH(U)}function de(U){return tB(U,"Content Security Policy")||tB(U,"requires 'TrustedScriptURL'")}function dn(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function dr(U,B,G,Y){var V=B.findTrackedSession(),Z=di(V,Y);return u5(U,{viewContext:G.findView(),errorType:Z,session:V})}function di(U,B){return dn()?U?U.sessionReplayAllowed?B?void 0:"replay-not-started":"incorrect-session-plan":"rum-not-tracked":"browser-not-supported"}var ds=rT(u0,function(U,B){if(void 0===B&&(B=l4),ni()||!dn())return{start:ee,stop:ee,getReplayStats:function(){},onRumStart:ee,isRecording:function(){return!1},getSessionReplayLink:function(){}};var G={status:0},Y=function(){G={status:1}},V=function(){G={status:0}};return{start:function(){return Y()},stop:function(){return V()},getReplayStats:lV,getSessionReplayLink:function(U,B,Y){return dr(U,B,Y,0!==G.status)},onRumStart:function(Z,J,X,Q){Z.subscribe(7,function(){(2===G.status||3===G.status)&&(V(),G={status:1})}),Z.subscribe(8,function(){1===G.status&&Y()}),Y=function(){var Y=X.findTrackedSession();if(!Y||!Y.sessionReplayAllowed){G={status:1};return}2!==G.status&&3!==G.status&&(G={status:2},rZ("interactive",function(){2===G.status&&B(function(B){if(2===G.status){if(!B){G={status:0};return}G={status:3,stopRecording:U(Z,J,X,Q,B).stop}}})}))},V=function(){0!==G.status&&(3===G.status&&G.stopRecording(),G={status:0})},1===G.status&&Y()},isRecording:function(){return 3===G.status}}}(function(U,B,G,Y,V,Z){var J=function(B){U.notify(12,{error:B})},X=Z||uS(B.sessionReplayEndpointBuilder,lQ,J),Q=l0(U,B.applicationId,G,Y,X,V),tt=Q.addRecord,te=Q.stop,tn=lG({emit:tt,configuration:B,lifeCycle:U}),tr=tn.stop,ti=tn.takeSubsequentFullSnapshot,ta=tn.flushMutations,ts=U.subscribe(4,function(){ta(),tt({timestamp:eG(),type:u4.ViewEnd})}).unsubscribe,tu=U.subscribe(2,function(U){ti(U.startClocks.timeStamp)}).unsubscribe;return{stop:function(){ts(),tu(),tr(),te()}}}));tJ(tX(),"DD_RUM",ds);var du=G(44675),dc=!0,dl=new WeakMap,dd=new(function(){function U(){(0,tE._)(this,U),(0,tS._)(this,dl,{writable:!0,value:void 0}),(0,tx._)(this,dl,!1)}var B=U.prototype;return B.initialize=function(){dc&&!(0,tw._)(this,dl)&&(ds.init({applicationId:"fd6e06b8-4825-4fbb-8db4-2a243f92c4bc",clientToken:"pub1f79f8ac903a5872ae5f53026d20a77c",site:"datadoghq.com",service:"chatgpt-web",env:"production",version:du.env.APP_RELEASE,sessionSampleRate:1,sessionReplaySampleRate:0,trackUserInteractions:!1,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input",enableExperimentalFeatures:["feature_flags"]}),(0,tx._)(this,dl,!0))},B.addAction=function(U){var B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{dc&&((0,tw._)(this,dl)||this.initialize(),ds.addAction(U,B))}catch(U){}},B.setUser=function(U,B,G,Y){var V={};if(V.has_paid_plan=G.hasPaidSubscription,V.account_plan_user_role=G.accountUserRole,V.account_plan_name=G.subscriptionPlan,Y&&Object.keys(Y).length>0){var Z=!0,J=!1,X=void 0;try{for(var Q,tt=Object.entries(Y)[Symbol.iterator]();!(Z=(Q=tt.next()).done);Z=!0){var te=(0,tT._)(Q.value,2),tn=te[0],tr=te[1];V[tn]=tr}}catch(U){J=!0,X=U}finally{try{Z||null==tt.return||tt.return()}finally{if(J)throw X}}}var ti=(0,tk._)({email:U.email,user_id:U.id,name:U.name},V);if(dc)this.initialize(),B.forEach(function(U){ds.addFeatureFlagEvaluation(U,!0)}),ds.setUser(ti);else{console.debug("Identifying user for Datadog",ti);return}},U}())}
function(U,B,G){"use strict";G.d(B,{Eh:function(){return tV},VY:function(){return tY},fC:function(){return tz},h_:function(){return tq},xz:function(){return t$},zt:function(){return tH}});var Y=G(45675),V=G(70079),Z=G(72901),J=G(49270),X=G(36646),Q=G(74039),tt=G(88817),te=G(63543),tn=G(70007),tr=G(9235),ti=G(7824),ta=G(94251),ts=G(86004),tu=G(37812);let[tc,td]=(0,X.b)("Tooltip",[te.D7]),tf=(0,te.D7)(),th="TooltipProvider",tp=700,tg="tooltip.open",[t_,tm]=tc(th),tv=U=>{let{__scopeTooltip:B,delayDuration:G=tp,skipDelayDuration:Y=300,disableHoverableContent:Z=!1,children:J}=U,[X,Q]=(0,V.useState)(!0),tt=(0,V.useRef)(!1),te=(0,V.useRef)(0);return(0,V.useEffect)(()=>{let U=te.current;return()=>window.clearTimeout(U)},[]),(0,V.createElement)(t_,{scope:B,isOpenDelayed:X,delayDuration:G,onOpen:(0,V.useCallback)(()=>{window.clearTimeout(te.current),Q(!1)},[]),onClose:(0,V.useCallback)(()=>{window.clearTimeout(te.current),te.current=window.setTimeout(()=>Q(!0),Y)},[Y]),isPointerInTransitRef:tt,onPointerInTransitChange:(0,V.useCallback)(U=>{tt.current=U},[]),disableHoverableContent:Z},J)},ty="Tooltip",[tb,tE]=tc(ty),tw=U=>{let{__scopeTooltip:B,children:G,open:Y,defaultOpen:Z=!1,onOpenChange:J,disableHoverableContent:X,delayDuration:Q}=U,tn=tm(ty,U.__scopeTooltip),tr=tf(B),[ti,ta]=(0,V.useState)(null),tu=(0,tt.M)(),tc=(0,V.useRef)(0),td=null!=X?X:tn.disableHoverableContent,th=null!=Q?Q:tn.delayDuration,tp=(0,V.useRef)(!1),[t_=!1,tv]=(0,ts.T)({prop:Y,defaultProp:Z,onChange:U=>{U?(tn.onOpen(),document.dispatchEvent(new CustomEvent(tg))):tn.onClose(),null==J||J(U)}}),tE=(0,V.useMemo)(()=>t_?tp.current?"delayed-open":"instant-open":"closed",[t_]),tw=(0,V.useCallback)(()=>{window.clearTimeout(tc.current),tp.current=!1,tv(!0)},[tv]),tS=(0,V.useCallback)(()=>{window.clearTimeout(tc.current),tv(!1)},[tv]),tx=(0,V.useCallback)(()=>{window.clearTimeout(tc.current),tc.current=window.setTimeout(()=>{tp.current=!0,tv(!0)},th)},[th,tv]);return(0,V.useEffect)(()=>()=>window.clearTimeout(tc.current),[]),(0,V.createElement)(te.fC,tr,(0,V.createElement)(tb,{scope:B,contentId:tu,open:t_,stateAttribute:tE,trigger:ti,onTriggerChange:ta,onTriggerEnter:(0,V.useCallback)(()=>{tn.isOpenDelayed?tx():tw()},[tn.isOpenDelayed,tx,tw]),onTriggerLeave:(0,V.useCallback)(()=>{td?tS():window.clearTimeout(tc.current)},[tS,td]),onOpen:tw,onClose:tS,disableHoverableContent:td},G))},tS="TooltipTrigger",tx=(0,V.forwardRef)((U,B)=>{let{__scopeTooltip:G,...X}=U,Q=tE(tS,G),tt=tm(tS,G),tn=tf(G),tr=(0,V.useRef)(null),ta=(0,J.e)(B,tr,Q.onTriggerChange),ts=(0,V.useRef)(!1),tu=(0,V.useRef)(!1),tc=(0,V.useCallback)(()=>ts.current=!1,[]);return(0,V.useEffect)(()=>()=>document.removeEventListener("pointerup",tc),[tc]),(0,V.createElement)(te.ee,(0,Y.Z)({asChild:!0},tn),(0,V.createElement)(ti.WV.button,(0,Y.Z)({"aria-describedby":Q.open?Q.contentId:void 0,"data-state":Q.stateAttribute},X,{ref:ta,onPointerMove:(0,Z.M)(U.onPointerMove,U=>{"touch"===U.pointerType||tu.current||tt.isPointerInTransitRef.current||(Q.onTriggerEnter(),tu.current=!0)}),onPointerLeave:(0,Z.M)(U.onPointerLeave,()=>{Q.onTriggerLeave(),tu.current=!1}),onPointerDown:(0,Z.M)(U.onPointerDown,()=>{ts.current=!0,document.addEventListener("pointerup",tc,{once:!0})}),onFocus:(0,Z.M)(U.onFocus,()=>{ts.current||Q.onOpen()}),onBlur:(0,Z.M)(U.onBlur,Q.onClose),onClick:(0,Z.M)(U.onClick,Q.onClose)})))}),tk="TooltipPortal",[tT,tC]=tc(tk,{forceMount:void 0}),tR=U=>{let{__scopeTooltip:B,forceMount:G,children:Y,container:Z}=U,J=tE(tk,B);return(0,V.createElement)(tT,{scope:B,forceMount:G},(0,V.createElement)(tr.z,{present:G||J.open},(0,V.createElement)(tn.h,{asChild:!0,container:Z},Y)))},tA="TooltipContent",tO=(0,V.forwardRef)((U,B)=>{let G=tC(tA,U.__scopeTooltip),{forceMount:Z=G.forceMount,side:J="top",...X}=U,Q=tE(tA,U.__scopeTooltip);return(0,V.createElement)(tr.z,{present:Z||Q.open},Q.disableHoverableContent?(0,V.createElement)(tL,(0,Y.Z)({side:J},X,{ref:B})):(0,V.createElement)(tI,(0,Y.Z)({side:J},X,{ref:B})))}),tI=(0,V.forwardRef)((U,B)=>{let G=tE(tA,U.__scopeTooltip),Z=tm(tA,U.__scopeTooltip),X=(0,V.useRef)(null),Q=(0,J.e)(B,X),[tt,te]=(0,V.useState)(null),{trigger:tn,onClose:tr}=G,ti=X.current,{onPointerInTransitChange:ta}=Z,ts=(0,V.useCallback)(()=>{te(null),ta(!1)},[ta]),tu=(0,V.useCallback)((U,B)=>{let G=U.currentTarget,Y={x:U.clientX,y:U.clientY},V=tU(Y,G.getBoundingClientRect()),Z="right"===V||"bottom"===V?-5:5,J="right"===V||"left"===V,X=J?{x:U.clientX+Z,y:U.clientY}:{x:U.clientX,y:U.clientY+Z},Q=tB(B.getBoundingClientRect()),tt=tG([X,...Q]);te(tt),ta(!0)},[ta]);return(0,V.useEffect)(()=>()=>ts(),[ts]),(0,V.useEffect)(()=>{if(tn&&ti){let U=U=>tu(U,ti),B=U=>tu(U,tn);return tn.addEventListener("pointerleave",U),ti.addEventListener("pointerleave",B),()=>{tn.removeEventListener("pointerleave",U),ti.removeEventListener("pointerleave",B)}}},[tn,ti,tu,ts]),(0,V.useEffect)(()=>{if(tt){let U=U=>{let B=U.target,G={x:U.clientX,y:U.clientY},Y=(null==tn?void 0:tn.contains(B))||(null==ti?void 0:ti.contains(B)),V=!tj(G,tt);Y?ts():V&&(ts(),tr())};return document.addEventListener("pointermove",U),()=>document.removeEventListener("pointermove",U)}},[tn,ti,tt,tr,ts]),(0,V.createElement)(tL,(0,Y.Z)({},U,{ref:Q}))}),[tN,tD]=tc(ty,{isInside:!1}),tL=(0,V.forwardRef)((U,B)=>{let{__scopeTooltip:G,children:Z,"aria-label":J,onEscapeKeyDown:X,onPointerDownOutside:tt,...tn}=U,tr=tE(tA,G),ti=tf(G),{onClose:ts}=tr;return(0,V.useEffect)(()=>(document.addEventListener(tg,ts),()=>document.removeEventListener(tg,ts)),[ts]),(0,V.useEffect)(()=>{if(tr.trigger){let U=U=>{let B=U.target;null!=B&&B.contains(tr.trigger)&&ts()};return window.addEventListener("scroll",U,{capture:!0}),()=>window.removeEventListener("scroll",U,{capture:!0})}},[tr.trigger,ts]),(0,V.createElement)(Q.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:X,onPointerDownOutside:tt,onFocusOutside:U=>U.preventDefault(),onDismiss:ts},(0,V.createElement)(te.VY,(0,Y.Z)({"data-state":tr.stateAttribute},ti,tn,{ref:B,style:{...tn.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,V.createElement)(ta.A4,null,Z),(0,V.createElement)(tN,{scope:G,isInside:!0},(0,V.createElement)(tu.f,{id:tr.contentId,role:"tooltip"},J||Z))))}),tP="TooltipArrow",tM=(0,V.forwardRef)((U,B)=>{let{__scopeTooltip:G,...Z}=U,J=tf(G),X=tD(tP,G);return X.isInside?null:(0,V.createElement)(te.Eh,(0,Y.Z)({},J,Z,{ref:B}))});function tU(U,B){let G=Math.abs(B.top-U.y),Y=Math.abs(B.bottom-U.y),V=Math.abs(B.right-U.x),Z=Math.abs(B.left-U.x);switch(Math.min(G,Y,V,Z)){case Z:return"left";case V:return"right";case G:return"top";case Y:return"bottom";default:return null}}function tB(U){let{top:B,right:G,bottom:Y,left:V}=U;return[{x:V,y:B},{x:G,y:B},{x:G,y:Y},{x:V,y:Y}]}function tj(U,B){let{x:G,y:Y}=U,V=!1;for(let U=0,Z=B.length-1;U<B.length;Z=U++){let J=B[U].x,X=B[U].y,Q=B[Z].x,tt=B[Z].y,te=X>Y!=tt>Y&&G<(Q-J)*(Y-X)/(tt-X)+J;te&&(V=!V)}return V}function tG(U){let B=U.slice();return B.sort((U,B)=>U.x<B.x?-1:U.x>B.x?1:U.y<B.y?-1:U.y>B.y?1:0),tF(B)}function tF(U){if(U.length<=1)return U.slice();let B=[];for(let G=0;G<U.length;G++){let Y=U[G];for(;B.length>=2;){let U=B[B.length-1],G=B[B.length-2];if((U.x-G.x)*(Y.y-G.y)>=(U.y-G.y)*(Y.x-G.x))B.pop();else break}B.push(Y)}B.pop();let G=[];for(let B=U.length-1;B>=0;B--){let Y=U[B];for(;G.length>=2;){let U=G[G.length-1],B=G[G.length-2];if((U.x-B.x)*(Y.y-B.y)>=(U.y-B.y)*(Y.x-B.x))G.pop();else break}G.push(Y)}return(G.pop(),1===B.length&&1===G.length&&B[0].x===G[0].x&&B[0].y===G[0].y)?B:B.concat(G)}let tH=tv,tz=tw,t$=tx,tq=tR,tY=tO,tV=tM}
function(U,B,G){"use strict";G.d(B,{A4:function(){return ty},G9:function(){return tb},Gh:function(){return tv},I6:function(){return tr},Kp:function(){return tt},PN:function(){return J},Rc:function(){return Q},Rm:function(){return ts},SE:function(){return Z},VS:function(){return th},X7:function(){return ta},ZT:function(){return V},_v:function(){return te},_x:function(){return ti},e5:function(){return X},lV:function(){return tn},oE:function(){return tE},sk:function(){return Y},to:function(){return tc},yF:function(){return tu}});let Y="undefined"==typeof window||"Deno"in window;function V(){}function Z(U,B){return"function"==typeof U?U(B):U}function J(U){return"number"==typeof U&&U>=0&&U!==1/0}function X(U,B){return U.filter(U=>-1===B.indexOf(U))}function Q(U,B,G){let Y=U.slice(0);return Y[B]=G,Y}function tt(U,B){return Math.max(U+(B||0)-Date.now(),0)}function te(U,B,G){return tm(U)?"function"==typeof B?{...G,queryKey:U,queryFn:B}:{...B,queryKey:U}:U}function tn(U,B,G){return tm(U)?"function"==typeof B?{...G,mutationKey:U,mutationFn:B}:{...B,mutationKey:U}:"function"==typeof U?{...B,mutationFn:U}:{...U}}function tr(U,B,G){return tm(U)?[{...B,queryKey:U},G]:[U||{},B]}function ti(U,B){let{type:G="all",exact:Y,fetchStatus:V,predicate:Z,queryKey:J,stale:X}=U;if(tm(J)){if(Y){if(B.queryHash!==ts(J,B.options))return!1}else if(!tc(B.queryKey,J))return!1}if("all"!==G){let U=B.isActive();if("active"===G&&!U||"inactive"===G&&U)return!1}return("boolean"!=typeof X||B.isStale()===X)&&(void 0===V||V===B.state.fetchStatus)&&(!Z||!!Z(B))}function ta(U,B){let{exact:G,fetching:Y,predicate:V,mutationKey:Z}=U;if(tm(Z)){if(!B.options.mutationKey)return!1;if(G){if(tu(B.options.mutationKey)!==tu(Z))return!1}else if(!tc(B.options.mutationKey,Z))return!1}return("boolean"!=typeof Y||"loading"===B.state.status===Y)&&(!V||!!V(B))}function ts(U,B){let G=(null==B?void 0:B.queryKeyHashFn)||tu;return G(U)}function tu(U){return JSON.stringify(U,(U,B)=>tg(B)?Object.keys(B).sort().reduce((U,G)=>(U[G]=B[G],U),{}):B)}function tc(U,B){return td(U,B)}function td(U,B){return U===B||typeof U==typeof B&&!!U&&!!B&&"object"==typeof U&&"object"==typeof B&&!Object.keys(B).some(G=>!td(U[G],B[G]))}function tf(U,B){if(U===B)return U;let G=tp(U)&&tp(B);if(G||tg(U)&&tg(B)){let Y=G?U.length:Object.keys(U).length,V=G?B:Object.keys(B),Z=V.length,J=G?[]:{},X=0;for(let Y=0;Y<Z;Y++){let Z=G?Y:V[Y];J[Z]=tf(U[Z],B[Z]),J[Z]===U[Z]&&X++}return Y===Z&&X===Y?U:J}return B}function th(U,B){if(U&&!B||B&&!U)return!1;for(let G in U)if(U[G]!==B[G])return!1;return!0}function tp(U){return Array.isArray(U)&&U.length===Object.keys(U).length}function tg(U){if(!t_(U))return!1;let B=U.constructor;if(void 0===B)return!0;let G=B.prototype;return!!(t_(G)&&G.hasOwnProperty("isPrototypeOf"))}function t_(U){return"[object Object]"===Object.prototype.toString.call(U)}function tm(U){return Array.isArray(U)}function tv(U){return new Promise(B=>{setTimeout(B,U)})}function ty(U){tv(0).then(U)}function tb(){if("function"==typeof AbortController)return new AbortController}function tE(U,B,G){return null!=G.isDataEqual&&G.isDataEqual(U,B)?U:"function"==typeof G.structuralSharing?G.structuralSharing(U,B):!1!==G.structuralSharing?tf(U,B):B}}
function(U,B,G){U.exports=G(21037)}
function(U){function B(U,B){var G,Y,V=null==U?null:"undefined"!=typeof Symbol&&U[Symbol.iterator]||U["@@iterator"];if(null!=V){var Z=[],J=!0,X=!1;try{for(V=V.call(U);!(J=(G=V.next()).done)&&(Z.push(G.value),!B||Z.length!==B);J=!0);}catch(U){X=!0,Y=U}finally{try{J||null==V.return||V.return()}finally{if(X)throw Y}}return Z}}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){var Y=G(77415),V=G(69270),Z=G(74861),J=G(6631);function X(B){var G="function"==typeof Map?new Map:void 0;return U.exports=X=function(U){if(null===U||!Z(U))return U;if("function"!=typeof U)throw TypeError("Super expression must either be null or a function");if(void 0!==G){if(G.has(U))return G.get(U);G.set(U,B)}function B(){return J(U,arguments,Y(this).constructor)}return B.prototype=Object.create(U.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),V(B,U)},U.exports.__esModule=!0,U.exports.default=U.exports,X(B)}U.exports=X,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";var Y=G(96837),V=G(44675),Z=window;Z.__sentryRewritesTunnelPath__=void 0,Z.SENTRY_RELEASE={id:"824cf6133cc1a0c05b6c483afc063c7910d07c1b"},Z.__rewriteFramesAssetPrefixPath__="";var J=V.env.SENTRY_DSN||V.env.NEXT_PUBLIC_SENTRY_DSN;Y.S1({dsn:J||"https://33f79e998f93410882ecec1e57143840@o33249.ingest.sentry.io/4504238875803648",tracesSampleRate:1,whitelistUrls:[/https?:\/\/chat\.openai\.com/],denyUrls:[/extensions\//i,/^chrome:\/\//i],ignoreErrors:["Invariant: attempted to hard navigate to the same URL","FatalServerError","Failed to fetch","Load failed","NetworkError when attempting to fetch resource.","Your authentication token has expired.","Failed to execute 'removeChild' on 'Node'","ResizeObserver loop limit exceeded"]})}
function(){}
function(U,B,G){"use strict";G.d(B,{Z:function(){return Q}});var Y=G(4337),V=G(35250),Z=G(1454);function J(){var U=(0,Y._)(["animate-spin text-center"]);return J=function(){return U},U}var X=(0,G(34303).Z)(Z.dAq)(J());function Q(U){var B=U.className;return(0,V.jsx)(X,{className:B})}}
function(U,B,G){"use strict";function Y(U){var B,G,V="";if("string"==typeof U||"number"==typeof U)V+=U;else if("object"==typeof U){if(Array.isArray(U))for(B=0;B<U.length;B++)U[B]&&(G=Y(U[B]))&&(V&&(V+=" "),V+=G);else for(B in U)U[B]&&(V&&(V+=" "),V+=B)}return V}function V(){for(var U,B,G=0,V="";G<arguments.length;)(U=arguments[G++])&&(B=Y(U))&&(V&&(V+=" "),V+=B);return V}B.Z=V}
function(U,B,G){"use strict";G.d(B,{DM:function(){return V},Db:function(){return X},EG:function(){return Q},jH:function(){return J},lE:function(){return tt}});var Y=G(96652);function V(){let U=Y.n2,B=U.crypto||U.msCrypto;if(B&&B.randomUUID)return B.randomUUID().replace(/-/g,"");let G=B&&B.getRandomValues?()=>B.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,U=>(U^(15&G())>>U/4).toString(16))}function Z(U){return U.exception&&U.exception.values?U.exception.values[0]:void 0}function J(U){let{message:B,event_id:G}=U;if(B)return B;let Y=Z(U);return Y?Y.type&&Y.value?`${Y.type}: ${Y.value}`:Y.type||Y.value||G||"<unknown>":G||"<unknown>"}function X(U,B,G){let Y=U.exception=U.exception||{},V=Y.values=Y.values||[],Z=V[0]=V[0]||{};Z.value||(Z.value=B||""),Z.type||(Z.type=G||"Error")}function Q(U,B){let G=Z(U);if(!G)return;let Y={type:"generic",handled:!0},V=G.mechanism;if(G.mechanism={...Y,...V,...B},B&&"data"in B){let U={...V&&V.data,...B.data};G.mechanism.data=U}}function tt(U){return Array.isArray(U)?U:[U]}}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var Y=G(39324),V=G(70216),Z=G(22830);G(20485),Object.defineProperty(B,"__esModule",{value:!0}),Object.defineProperty(B,"default",{enumerable:!0,get:function(){return t_}});var J=G(64838)._(G(70079)),X=G(91773),Q=G(52262),tt=G(12605),te=G(70763),tn=G(87061),tr=G(75739),ti=G(48269),ta=G(60717),ts=G(91952),tu=G(50664),tc=G(44196),td=new Set;function tf(U,B,G,Y,V,Z){if(Z||(0,Q.isLocalURL)(B)){if(!Y.bypassPrefetchedCheck){var J=B+"%"+G+"%"+(void 0!==Y.locale?Y.locale:"locale"in U?U.locale:void 0);if(td.has(J))return;td.add(J)}Promise.resolve(Z?U.prefetch(B,V):U.prefetch(B,G,Y)).catch(function(U){})}}function th(U){var B=U.currentTarget.getAttribute("target");return B&&"_self"!==B||U.metaKey||U.ctrlKey||U.shiftKey||U.altKey||U.nativeEvent&&2===U.nativeEvent.which}function tp(U,B,G,Y,V,Z,X,tt,te,tn){if(!("A"===U.currentTarget.nodeName.toUpperCase()&&(th(U)||!te&&!(0,Q.isLocalURL)(G)))){U.preventDefault();var tr=function(){"beforePopState"in B?B[V?"replace":"push"](G,Y,{shallow:Z,locale:tt,scroll:X}):B[V?"replace":"push"](Y||G,{forceOptimisticNavigation:!tn})};te?J.default.startTransition(tr):tr()}}function tg(U){return"string"==typeof U?U:(0,tt.formatUrl)(U)}var t_=J.default.forwardRef(function(U,B){var G,Q,tt=U.href,td=U.as,th=U.children,t_=U.prefetch,tm=void 0===t_?null:t_,tv=U.passHref,ty=U.replace,tb=U.shallow,tE=U.scroll,tw=U.locale,tS=U.onClick,tx=U.onMouseEnter,tk=U.onTouchStart,tT=U.legacyBehavior,tC=void 0!==tT&&tT,tR=V._(U,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);G=th,tC&&("string"==typeof G||"number"==typeof G)&&(G=J.default.createElement("a",null,G));var tA=!1!==tm,tO=null===tm?tc.PrefetchKind.AUTO:tc.PrefetchKind.FULL,tI=J.default.useContext(tr.RouterContext),tN=J.default.useContext(ti.AppRouterContext),tD=null!=tI?tI:tN,tL=!tI,tP=J.default.useMemo(function(){if(!tI){var U=tg(tt);return{href:U,as:td?tg(td):U}}var B=Z._((0,X.resolveHref)(tI,tt,!0),2),G=B[0],Y=B[1];return{href:G,as:td?(0,X.resolveHref)(tI,td):Y||G}},[tI,tt,td]),tM=tP.href,tU=tP.as,tB=J.default.useRef(tM),tj=J.default.useRef(tU);tC&&(Q=J.default.Children.only(G));var tG=tC?Q&&"object"==typeof Q&&Q.ref:B,tF=Z._((0,ta.useIntersection)({rootMargin:"200px"}),3),tH=tF[0],tz=tF[1],t$=tF[2],tq=J.default.useCallback(function(U){(tj.current!==tU||tB.current!==tM)&&(t$(),tj.current=tU,tB.current=tM),tH(U),tG&&("function"==typeof tG?tG(U):"object"==typeof tG&&(tG.current=U))},[tU,tG,tM,t$,tH]);J.default.useEffect(function(){tD&&tz&&tA&&tf(tD,tM,tU,{locale:tw},{kind:tO},tL)},[tU,tM,tz,tw,tA,null==tI?void 0:tI.locale,tD,tL,tO]);var tY={ref:tq,onClick:function(U){tC||"function"!=typeof tS||tS(U),tC&&Q.props&&"function"==typeof Q.props.onClick&&Q.props.onClick(U),tD&&!U.defaultPrevented&&tp(U,tD,tM,tU,ty,tb,tE,tw,tL,tA)},onMouseEnter:function(U){tC||"function"!=typeof tx||tx(U),tC&&Q.props&&"function"==typeof Q.props.onMouseEnter&&Q.props.onMouseEnter(U),tD&&(tA||!tL)&&tf(tD,tM,tU,{locale:tw,priority:!0,bypassPrefetchedCheck:!0},{kind:tO},tL)},onTouchStart:function(U){tC||"function"!=typeof tk||tk(U),tC&&Q.props&&"function"==typeof Q.props.onTouchStart&&Q.props.onTouchStart(U),tD&&(tA||!tL)&&tf(tD,tM,tU,{locale:tw,priority:!0,bypassPrefetchedCheck:!0},{kind:tO},tL)}};if((0,te.isAbsoluteUrl)(tU))tY.href=tU;else if(!tC||tv||"a"===Q.type&&!("href"in Q.props)){var tV=void 0!==tw?tw:null==tI?void 0:tI.locale,tW=(null==tI?void 0:tI.isLocaleDomain)&&(0,ts.getDomainLocale)(tU,tV,null==tI?void 0:tI.locales,null==tI?void 0:tI.domainLocales);tY.href=tW||(0,tu.addBasePath)((0,tn.addLocale)(tU,tV,null==tI?void 0:tI.defaultLocale))}return tC?J.default.cloneElement(Q,tY):J.default.createElement("a",Y._({},tR,tY),G)});("function"==typeof B.default||"object"==typeof B.default&&null!==B.default)&&void 0===B.default.__esModule&&(Object.defineProperty(B.default,"__esModule",{value:!0}),Object.assign(B.default,B),U.exports=B.default)}
function(U){function B(U,B,G,Y,V,Z,J){try{var X=U[Z](J),Q=X.value}catch(U){G(U);return}X.done?B(Q):Promise.resolve(Q).then(Y,V)}function G(U){return function(){var G=this,Y=arguments;return new Promise(function(V,Z){var J=U.apply(G,Y);function X(U){B(J,V,Z,X,Q,"next",U)}function Q(U){B(J,V,Z,X,Q,"throw",U)}X(void 0)})}}U.exports=G,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U){function B(U){if(void 0===U)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return U}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B){"use strict";function G(U){var B;let G=new URL("http://localhost:3000/api/auth");U&&!U.startsWith("http")&&(U=`https://${U}`);let Y=new URL(null!==(B=U)&&void 0!==B?B:G),V=("/"===Y.pathname?G.pathname:Y.pathname).replace(/\/$/,""),Z=`${Y.origin}${V}`;return{origin:Y.origin,host:Y.host,path:V,base:Z,toString:()=>Z}}Object.defineProperty(B,"__esModule",{value:!0}),B.default=G}
function(U,B,G){var Y=G(50201)();U.exports=Y;try{regeneratorRuntime=Y}catch(U){"object"==typeof globalThis?globalThis.regeneratorRuntime=Y:Function("r","regeneratorRuntime = r")(Y)}}
function(U,B,G){"use strict";G.d(B,{ZP:function(){return tx}});var Y=G(21722),V=G(51217),Z=G(39324),J=G(71209),X=G(70216),Q=G(22830),tt=G(39889);async function te(U,B){let G;let Y=U.getReader();for(;!(G=await Y.read()).done;)B(G.value)}function tn(U){let B,G,Y;let V=!1;return function(Z){void 0===B?(B=Z,G=0,Y=-1):B=ti(B,Z);let J=B.length,X=0;for(;G<J;){V&&(10===B[G]&&(X=++G),V=!1);let Z=-1;for(;G<J&&-1===Z;++G)switch(B[G]){case 58:-1===Y&&(Y=G-X);break;case 13:V=!0;case 10:Z=G}if(-1===Z)break;U(B.subarray(X,Z),Y),X=G,Y=-1}X===J?B=void 0:0!==X&&(B=B.subarray(X),G-=X)}}function tr(U,B,G){let Y=ta(),V=new TextDecoder;return function(Z,J){if(0===Z.length)null==G||G(Y),Y=ta();else if(J>0){let G=V.decode(Z.subarray(0,J)),X=J+(32===Z[J+1]?2:1),Q=V.decode(Z.subarray(X));switch(G){case"data":Y.data=Y.data?Y.data+"\n"+Q:Q;break;case"event":Y.event=Q;break;case"id":U(Y.id=Q);break;case"retry":let tt=parseInt(Q,10);isNaN(tt)||B(Y.retry=tt)}}}}function ti(U,B){let G=new Uint8Array(U.length+B.length);return G.set(U),G.set(B,U.length),G}function ta(){return{data:"",event:"",id:"",retry:void 0}}var ts=function(U,B){var G={};for(var Y in U)Object.prototype.hasOwnProperty.call(U,Y)&&0>B.indexOf(Y)&&(G[Y]=U[Y]);if(null!=U&&"function"==typeof Object.getOwnPropertySymbols)for(var V=0,Y=Object.getOwnPropertySymbols(U);V<Y.length;V++)0>B.indexOf(Y[V])&&Object.prototype.propertyIsEnumerable.call(U,Y[V])&&(G[Y[V]]=U[Y[V]]);return G};let tu="text/event-stream",tc=1e3,td="last-event-id";function tf(U,B){var{signal:G,headers:Y,onopen:V,onmessage:Z,onclose:J,onerror:X,openWhenHidden:Q,fetch:tt}=B,ti=ts(B,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((B,ta)=>{let ts;let tf=Object.assign({},Y);function tp(){ts.abort(),document.hidden||tb()}tf.accept||(tf.accept=tu),Q||document.addEventListener("visibilitychange",tp);let tg=tc,t_=0;function tm(){document.removeEventListener("visibilitychange",tp),window.clearTimeout(t_),ts.abort()}null==G||G.addEventListener("abort",()=>{tm(),B()});let tv=null!=tt?tt:window.fetch,ty=null!=V?V:th;async function tb(){var G;ts=new AbortController;try{let G=await tv(U,Object.assign(Object.assign({},ti),{headers:tf,signal:ts.signal}));await ty(G),await te(G.body,tn(tr(U=>{U?tf[td]=U:delete tf[td]},U=>{tg=U},Z))),null==J||J(),tm(),B()}catch(U){if(!ts.signal.aborted)try{let B=null!==(G=null==X?void 0:X(U))&&void 0!==G?G:tg;window.clearTimeout(t_),t_=window.setTimeout(tb,B)}catch(U){tm(),ta(U)}}}tb()})}function th(U){let B=U.headers.get("content-type");if(!(null==B?void 0:B.startsWith(tu)))throw Error(`Expected content-type to be ${tu}, Actual: ${B}`)}var tp=G(44544),tg=G(14412);G(138);var t_=G(15300),tm=G(32402),tv=G(55989),ty=G(59710),tb=G(31241),tE="https://chat.openai.com/backend-api",tw=["cf-ipcountry"],tS=function(){function U(){(0,V._)(this,U)}return U.setAccessToken=function(U){this.accessToken=U},U.getAuthHeader=function(U,B){var G=U||this.accessToken;if(!G)throw console.error("No access token when trying to use AuthHeader"),Error("No access token when trying to use AuthHeader");var Y={Authorization:"Bearer ".concat(G)},V=B,X=(0,tp.getCookie)("_account");return"string"==typeof X&&(V=X),void 0!==B&&(V=B),void 0!==V&&(Y=(0,J._)((0,Z._)({},Y),{"ChatGPT-Account-ID":V})),Y},U.refreshApiKey=function(){var U=this;if(this.apiKeyRefreshing)return this.apiKeyRefreshing;var B=this;return this.apiKeyRefreshing=(0,Y._)(function(){var U;return(0,tt.Jh)(this,function(G){switch(G.label){case 0:return[4,(0,tg.getSession)()];case 1:return(U=G.sent())&&B.setAccessToken(U.accessToken),[2];case 2:throw Error("Cannot refresh access token outside of browser");case 3:return[2]}})})(),setTimeout(function(){U.apiKeyRefreshing=null},6e4),this.apiKeyRefreshing},U.fetch=function(U,B){var G=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},V=this;return(0,Y._)(function(){var Y,X,Q,te,tn,tr,ti,ta,ts,tu,tc,td,tf;return(0,tt.Jh)(this,function(tt){switch(tt.label){case 0:return Y=(0,Z._)({credentials:"include"},B),[4,fetch(U,Y)];case 1:if(!((X=tt.sent()).status>=500))return[3,6];G.intercomEventOnError&&(0,tb.LJ)(G.intercomEventOnError,{url:U,status:X.status.toString()}),tt.label=2;case 2:return tt.trys.push([2,4,,5]),[4,X.json()];case 3:return Q=null!==(ta=null!==(ti=null==(tr=null!==(tn=null==(te=tt.sent())?void 0:te.detail)&&void 0!==tn?tn:null==te?void 0:te.error)?void 0:tr.message)&&void 0!==ti?ti:tr)&&void 0!==ta?ta:"Unknown server error",[3,5];case 4:return console.error("Failed to parse error response",tt.sent()),[3,5];case 5:throw t_.U.addAction("fetch_error_".concat(X.status),{url:U,errorMessage:Q}),new ty.Q0(Q);case 6:if(!(X.status>=400))return[3,17];tt.label=7;case 7:return tt.trys.push([7,9,,10]),[4,X.json()];case 8:return ts=(null==(tu=tt.sent())?void 0:tu.detail)||(null==tu?void 0:tu.error),[3,10];case 9:return console.error("Failed to parse error response",tt.sent()),[3,10];case 10:if(tc=!1,td=U.includes("/aip"),tc&&td&&401===X.status&&console.error("ChatGPT cannot authenticate with plugin service! Please make sure the 'AUTH_SERVICE' variable in your plugins service is set to what you expect. For example, if you've logged in to the development version of Auth0, you may want to set it to 'openai_auth0_dev' instead of 'openai'."),console.error("API error",U,ts),!((null==ts?void 0:ts.code)==="expired_session_key"||(null==ts?void 0:ts.code)==="token_expired"))return[3,16];tt.label=11;case 11:if(tt.trys.push([11,14,,15]),G.isRetry)return[3,13];return[4,V.refreshApiKey()];case 12:return tt.sent(),[2,V.fetch(U,Y,(0,J._)((0,Z._)({},G),{isRetry:!0}))];case 13:return[3,15];case 14:return tf=tt.sent(),console.error("Failed to refresh expired access token: ".concat(tf)),[3,15];case 15:console.error("Refresh access token failed when retrieving",U,ts),window._oaiHandleSessionExpired("fetch",JSON.stringify(ts)),tt.label=16;case 16:if(null==ts?void 0:ts.type)throw G.intercomEventOnError&&(0,tb.LJ)(G.intercomEventOnError,{url:U,status:X.status.toString(),message:(null==ts?void 0:ts.message)||ts}),t_.U.addAction("fetch_user_error_".concat(X.status),{url:U,error:ts}),new ty.gK((null==ts?void 0:ts.message)||ts,X.status,null==ts?void 0:ts.code,null==ts?void 0:ts.type);throw t_.U.addAction("fetch_error_".concat(X.status),{url:U,error:ts}),new ty.Q0("string"==typeof ts?ts:void 0);case 17:if(204===X.status)return[2,{}];return[2,X.json()]}})})()},U.getOrganizations=function(U){var B=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(G){return[2,B.fetch("/api/organizations",{headers:(0,Z._)({},B.getAuthHeader(U))})]})})()},U.getAccounts=function(U){var B=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(G){return[2,B.fetch("".concat(tE,"/accounts"),{headers:(0,Z._)({},B.getAuthHeader(U))})]})})()},U.getWorkspaceUsers=function(U,B,G,V){var J=this;return(0,Y._)(function(){var Y;return(0,tt.Jh)(this,function(X){return Y=new URLSearchParams({offset:G.toString(),limit:V.toString()}),[2,J.fetch("".concat(tE,"/accounts/").concat(B,"/users?").concat(Y),{headers:(0,Z._)({},J.getAuthHeader(U))})]})})()},U.updateWorkspaceUserRole=function(U,B,G,V){var X=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,X.fetch("".concat(tE,"/accounts/").concat(B,"/users/").concat(G),{method:"PATCH",headers:(0,J._)((0,Z._)({},X.getAuthHeader(U)),{"Content-Type":"application/json"}),body:JSON.stringify({role:V})})]})})()},U.removeWorkspaceUser=function(U,B,G){var V=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,V.fetch("".concat(tE,"/accounts/").concat(B,"/users/").concat(G),{method:"DELETE",headers:(0,Z._)({},V.getAuthHeader(U))})]})})()},U.addWorkspaceUsers=function(U,B,G){var V=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,V.fetch("".concat(tE,"/accounts/").concat(B,"/invites"),{method:"POST",headers:(0,J._)((0,Z._)({},V.getAuthHeader(U)),{"Content-Type":"application/json"}),body:JSON.stringify({email_addresses:G,role:tm.r3.STANDARD})})]})})()},U.deleteMfa=function(){return this.fetch("/api/auth/mfa",{method:"DELETE",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.getThreadInterpreterState=function(U,B){var G=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,G.fetch("".concat(tE,"/conversation/").concat(U,"/interpreter"),{method:"GET",headers:(0,Z._)({},G.getAuthHeader(B))})]})})()},U.startInterpreterUpload=function(U,B,G){var V=this;return(0,Y._)(function(){var Y;return(0,tt.Jh)(this,function(J){return Y=new FormData,null!==U&&Y.append("conversation_id",U),Y.append("model",G),Y.append("file_id",B),[2,V.fetch("".concat(tE,"/conversation/handle_upload_event"),{method:"POST",headers:(0,Z._)({},V.getAuthHeader()),body:Y})]})})()},U.uploadFileToAzureStorage=function(U,B){return(0,Y._)(function(){var G;return(0,tt.Jh)(this,function(Y){switch(Y.label){case 0:return(G=new Headers).append("x-ms-blob-type","BlockBlob"),G.append("x-ms-version","2020-04-08"),G.append("Content-Type",U.type),[4,fetch(B,{method:"PUT",headers:G,body:U})];case 1:return[2,Y.sent()]}})})()},U.downloadFromSandbox=function(U,B,G){var V=this;return(0,Y._)(function(){var Y;return(0,tt.Jh)(this,function(J){return Y=new URLSearchParams({message_id:U,sandbox_path:G}),[2,V.fetch("".concat(tE,"/conversation/").concat(B,"/download_from_sandbox/v2?").concat(Y),{method:"GET",headers:(0,Z._)({},V.getAuthHeader())})]})})()},U.getInterpreterState=function(U){return this.fetch("".concat(tE,"/conversation/").concat(U,"/interpreter"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.sendDocument=function(){return this.fetch("".concat(tE,"/private"),{method:"GET",headers:{"Content-Type":"application/json"}})},U.createOrUpdateUserSystemMessage=function(U,B){var G=B.aboutUserMessage,Y=B.aboutModelMessage;return this.fetch("".concat(tE,"/user_system_messages"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U)),body:JSON.stringify({about_user_message:G,about_model_message:Y})})},U.getUserSystemMessage=function(U){return this.fetch("".concat(tE,"/user_system_messages"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.setUserSettingsBetaFeature=function(U,B,G){var Y=new URLSearchParams({feature:B,value:G.toString()});return this.fetch("".concat(tE,"/settings/beta_features?").concat(Y),{method:"POST",headers:(0,Z._)({},this.getAuthHeader(U))})},U.getUserSettingBetaFeatures=function(U){return this.fetch("".concat(tE,"/settings/beta_features"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.getModels=function(U,B){var G=new URLSearchParams({history_and_training_disabled:B.toString()});return this.fetch("".concat(tE,"/models?").concat(G),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.getConversations=function(U,B,G){var Y=new URLSearchParams({offset:U.toString(),limit:B.toString(),order:"updated"});return this.fetch("".concat(tE,"/conversations?").concat(Y),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(G))},{intercomEventOnError:"fetch-error:conversations:get"})},U.getConversation=function(U,B){return this.fetch("".concat(tE,"/conversation/").concat(U),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(B))},{intercomEventOnError:"fetch-error:conversation:get"})},U.generateTitle=function(U,B,G){return this.fetch("".concat(tE,"/conversation/gen_title/").concat(U),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify({message_id:B})},{intercomEventOnError:"fetch-error:conversation:generate-title"})},U.generateSuggestions=function(U,B,G){return this.fetch("".concat(tE,"/conversation/").concat(U,"/experimental/generate_suggestions"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify({message_id:B,model:G,num_suggestions:2})},{intercomEventOnError:"fetch-error:conversation:generate-suggestions"})},U.patchConversation=function(U,B){return this.fetch("".concat(tE,"/conversation/").concat(U),{method:"PATCH",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify(B)},{intercomEventOnError:"fetch-error:conversation:edit"})},U.deleteConversations=function(){return this.fetch("".concat(tE,"/conversations"),{method:"PATCH",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify({is_visible:!1})},{intercomEventOnError:"fetch-error:conversations:delete"})},U.getLoginLink=function(U){return this.fetch("".concat(tE,"/bypass/link"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:U})})},U.publicApiCompletionStream=function(U,B){var G=this;return(0,Y._)(function(){var V,J,X,Q,te,tn,tr;return(0,tt.Jh)(this,function(ti){return X=new AbortController,Q="threadId"in U?U.threadId:void 0,te="continueFromSharedConversationId"in U?U.continueFromSharedConversationId:void 0,tn={action:U.completionType,messages:U.messages.length>0?U.messages:void 0,conversation_id:Q,continue_from_shared_conversation_id:null!=Q?void 0:te,parent_message_id:U.parentMessageId,model:U.model,plugin_ids:null!=Q?void 0:U.enabledPluginIds,timezone_offset_min:new Date().getTimezoneOffset(),variant_purpose:null===(V=U.completionMetadata)||void 0===V?void 0:V.variantPurpose,suggestions:null===(J=U.completionMetadata)||void 0===J?void 0:J.suggestions,history_and_training_disabled:U.historyDisabled,arkose_token:U.arkoseToken},tf(tr="".concat("https://chat.openai.com/backend-api","/conversation"),{method:"POST",credentials:"include",headers:(0,Z._)({"Content-Type":"application/json"},G.getAuthHeader()),body:JSON.stringify(tn),signal:X.signal,openWhenHidden:!0,onopen:function(U){return(0,Y._)(function(){var B,G,Y,V,Z,J,X;return(0,tt.Jh)(this,function(Q){switch(Q.label){case 0:if(B=U.headers.get("content-type")||"",U.ok&&B.includes("text/event-stream"))return[2];if(!B.includes("application/json"))return[3,2];return[4,U.json()];case 1:if(X=null!==(J=null!==(Z=null==(V=null!==(Y=null==(G=Q.sent())?void 0:G.error)&&void 0!==Y?Y:null==G?void 0:G.detail)?void 0:V.message)&&void 0!==Z?Z:V)&&void 0!==J?J:"Unknown server error",V){if(U.status>=500)throw new ty.Q0(X);throw((null==V?void 0:V.code)==="expired_session_key"||(null==V?void 0:V.code)==="invalid_api_key"||(null==V?void 0:V.code)==="token_expired")&&window._oaiHandleSessionExpired("stream",JSON.stringify(V)),new ty.gK(X,U.status,null==V?void 0:V.code,null==V?void 0:V.type,void 0,null==V?void 0:V.clears_in)}Q.label=2;case 2:throw new ty.Q0}})})()},onmessage:function(U){if("[DONE]"===U.data)X.abort(),B({type:"done"});else if("ping"===U.event);else try{var G=JSON.parse(U.data);if(G.error){var Y=new ty.Q0(G.error);throw B({type:"error",error:Y}),Y}"moderation_response"in G?B({type:"moderation",conversationId:G.conversation_id,messageId:G.message_id,isCompletion:G.is_completion,flagged:G.moderation_response.flagged,blocked:G.moderation_response.blocked}):B({type:"message",message:G.message,conversationId:G.conversation_id})}catch(U){if((0,tv.T)(U))throw new ty.Q0(U.message)}},onerror:function(U){throw"Failed to fetch"===U.message&&(U=new ty.Q0("An error occurred. Either the engine you requested does not exist or there was another issue processing your request. If this issue persists please contact us through our help center at help.openai.com.")),(0,tb.LJ)("fetch-error:conversation:new-message",{url:tr,message:null==U?void 0:U.message}),B({type:"error",error:U}),U}}).catch(function(U){U instanceof ty.gK||U instanceof ty.Q0||console.error(U)}),[2,X]})})()},U.getSharedConversations=function(U){var B=new URLSearchParams({order:"created"});return this.fetch("".concat(tE,"/shared_conversations?").concat(B),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.runModerationApi=function(U,B,G){return this.fetch("".concat("https://chat.openai.com/backend-api","/moderations"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify({input:U,model:"text-moderation-playground",conversation_id:B,message_id:G})})},U.submitMessageFeedback=function(U){return this.fetch("".concat(tE,"/conversation/message_feedback"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify(U)})},U.submitSharedConversationReportFeedback=function(U){var B=U.shared_conversation_id,G=(0,X._)(U,["shared_conversation_id"]);return this.fetch("".concat(tE,"/share/").concat(B,"/report"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},null!=this.accessToken?this.getAuthHeader():null),body:JSON.stringify(G)})},U.submitMessageComparisonFeedback=function(U){return this.fetch("".concat(tE,"/conversation/message_comparison_feedback"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify(U)})},U.getCheckoutLink=function(){return this.fetch("".concat(tE,"/payments/checkout"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.fetchCustomerPortalUrl=function(U){return this.fetch("".concat(tE,"/payments/customer_portal"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))},{intercomEventOnError:"fetch-error:customer_portal:get"})},U.getPlugins=function(U){var B=U.offset,G=U.limit,Y=U.statuses,V=U.isInstalled,J=U.accessToken,X=[["offset",B.toString()],["limit",G.toString()]];if(Y){var Q=!0,tt=!1,te=void 0;try{for(var tn,tr=Y[Symbol.iterator]();!(Q=(tn=tr.next()).done);Q=!0){var ti=tn.value;X.push(["statuses",ti])}}catch(U){tt=!0,te=U}finally{try{Q||null==tr.return||tr.return()}finally{if(tt)throw te}}}V&&X.push(["is_installed","true"]);var ta=new URLSearchParams(X);return this.fetch("".concat(tE,"/aip/p?").concat(ta),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(J))})},U.publicGetPluginsById=function(U){var B=U.ids,G=[],Y=!0,V=!1,Z=void 0;try{for(var J,X=B[Symbol.iterator]();!(Y=(J=X.next()).done);Y=!0){var Q=J.value;G.push(["ids",Q])}}catch(U){V=!0,Z=U}finally{try{Y||null==X.return||X.return()}finally{if(V)throw Z}}var tt=new URLSearchParams(G);return this.fetch("".concat(tE,"/public/plugins/by-id?").concat(tt),{method:"GET",headers:{"Content-Type":"application/json"}})},U.getPluginByDomain=function(U){var B=U.domain,G=U.accessToken,Y=new URLSearchParams({domain:B});return this.fetch("".concat(tE,"/aip/p/domain?").concat(Y),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(G))})},U.createOrUpdateLocalhostPlugin=function(U){var B=U.localhost,G=U.manifest,Y=U.openapiSpec,V=U.accessToken;return this.fetch("".concat(tE,"/aip/lhp"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(V)),body:JSON.stringify({localhost:B,manifest:G,openapi_spec:Y})})},U.scrapePluginManifest=function(U){var B=U.domain,G=U.manifestAccessToken,Y=U.accessToken;return this.fetch("".concat(tE,"/aip/p"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(Y)),body:JSON.stringify({domain:B,manifest_access_token:G})})},U.getPluginApi=function(U){var B=U.id,G=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B,"/api"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(G))})},U.updatePluginUserSettings=function(U){var B=U.pluginId,G=U.isInstalled,Y=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B,"/user-settings"),{method:"PATCH",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(Y)),body:JSON.stringify({is_installed:G})})},U.deletePlugin=function(U){var B=U.id,G=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B),{method:"DELETE",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(G))})},U.setPluginUserHttpToken=function(U){var B=U.id,G=U.userAccessToken,Y=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B,"/user-settings/http-auth"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(Y)),body:JSON.stringify({access_token:G})})},U.setPluginServiceHttpToken=function(U){var B=U.id,G=U.serviceAccessToken,Y=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B,"/http-auth"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(Y)),body:JSON.stringify({access_token:G})})},U.setPluginOAuthClientCredentials=function(U){var B=U.id,G=U.clientId,Y=U.clientSecret,V=U.accessToken;return this.fetch("".concat(tE,"/aip/p/").concat(B,"/oauth"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(V)),body:JSON.stringify({client_id:G,client_secret:Y})})},U.createWorkspaceAccount=function(U){return this.fetch("".concat(tE,"/accounts"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U.accessToken)),body:JSON.stringify({name:U.name,organization_id:U.organizationId})})},U.getAccountStatusV4=function(U,B){var G=tE,Y=(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U));if(B){var V={},J=!0,X=!1,tt=void 0;try{for(var te,tn=Object.entries(B)[Symbol.iterator]();!(J=(te=tn.next()).done);J=!0){var tr=(0,Q._)(te.value,2),ti=tr[0],ta=tr[1];tw.includes(ti.toLowerCase())&&(V[ti]=ta)}}catch(U){X=!0,tt=U}finally{try{J||null==tn.return||tn.return()}finally{if(X)throw tt}}Y=(0,Z._)({},V,Y)}var ts="v4-2023-04-27";return this.fetch("".concat(G,"/accounts/check/").concat(ts),{method:"GET",headers:Y},{intercomEventOnError:"fetch-error:accounts:get"})},U.deactivateAccount=function(U){return this.fetch("".concat(tE,"/accounts/deactivate"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.submitDataExport=function(U){return this.fetch("".concat(tE,"/accounts/data_export"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(U))})},U.pluginOauthCallback=function(U,B,G,Y){var V=new URLSearchParams({code:B,redirect_uri:G});return this.fetch("".concat(tE,"/aip/p/").concat(U,"/user-settings/oauth/callback?").concat(V),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader(Y))})},U.getPageMetadata=function(U){var B=U.url;return this.fetch("".concat(tE,"/opengraph/tags?url=").concat(encodeURIComponent(B)),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.getModelMessageCap=function(){return this.fetch("https://chat.openai.com/public-api/conversation_limit",{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.createShareLink=function(U){return this.fetch("".concat(tE,"/share/create"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify(U)})},U.updateShareLink=function(U){return this.fetch("".concat(tE,"/share/").concat(U.share_id),{method:"PATCH",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify(U)})},U.deleteShareLink=function(U){return this.fetch("".concat(tE,"/share/").concat(U.share_id),{method:"DELETE",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.deleteAllSharedConversations=function(){return this.fetch("".concat(tE,"/share/all"),{method:"DELETE",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader()),body:JSON.stringify({confirm:!0})})},U.fetchShareModerationCategories=function(){return this.fetch("".concat(tE,"/share/moderation/categories"),{method:"GET",headers:(0,Z._)({"Content-Type":"application/json"},this.getAuthHeader())})},U.createFile=function(U,B,G){var V=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,V.fetch("".concat(tE,"/files"),{method:"POST",headers:(0,Z._)({"Content-Type":"application/json"},V.getAuthHeader()),body:JSON.stringify({file_name:U,file_size:B,use_case:G})}).then(function(U){if(U.status===tm.KF.Error)throw new ty.gK("Could not create file",void 0,U.error_code);return U})]})})()},U.markFileUploadComplete=function(U){var B=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(G){return[2,B.fetch("".concat(tE,"/files/").concat(U,"/uploaded"),{method:"POST",headers:(0,Z._)({},B.getAuthHeader())})]})})()},U.uploadFileUsingFileService=function(B,G,V){return(0,Y._)(function(){var Y,Z,J,X,Q,te,tn,tr;return(0,tt.Jh)(this,function(tt){switch(tt.label){case 0:return tt.trys.push([0,9,,10]),[4,U.createFile(B.name,B.size,G)];case 1:if(Z=(Y=tt.sent()).file_id,J=Y.upload_url,!Z||!J)throw Error("Invalid response from createFile: file_id=".concat(Z,", upload_url=").concat(J));return[4,U.uploadFileToAzureStorage(B,J)];case 2:return tt.sent(),[4,U.markFileUploadComplete(Z)];case 3:tt.sent(),X=Date.now()+6e4,Q=function(U){return new Promise(function(B){return setTimeout(B,U)})},te=100,tt.label=4;case 4:return[4,U.getFileDownloadLink(Z,V)];case 5:if((tn=tt.sent()).status===tm.KF.Success)return[2,tn];if(Date.now()>X)throw Error("Timeout occurred waiting for file to be uploaded.");return[4,Q(te)];case 6:tt.sent(),te<1e3&&(te+=100),tt.label=7;case 7:return[3,4];case 8:return[3,10];case 9:throw console.error(tr=tt.sent()),tr;case 10:return[2]}})})()},U.getFileDownloadLink=function(U,B){var G=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,G.fetch("".concat(tE,"/files/").concat(U,"/download"),{method:"GET",headers:(0,Z._)({},G.getAuthHeader(B))}).then(function(U){if(U.status===tm.KF.Success||U.status===tm.KF.Retry)return U;throw new ty.gK("Could not get file download link",void 0,"error_code"in U?U.error_code:"unknown_error")})]})})()},U.deleteFileFromFileService=function(U,B){var G=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(Y){return[2,G.fetch("".concat(tE,"/files/").concat(U),{method:"DELETE",headers:(0,Z._)({},G.getAuthHeader(B))})]})})()},U.listFiles=function(U){var B=this;return(0,Y._)(function(){return(0,tt.Jh)(this,function(G){return[2,B.fetch("".concat(tE,"/files"),{method:"GET",headers:(0,Z._)({},B.getAuthHeader(U))})]})})()},U}();!function(){tS.auth0Client=null}();var tx=tS}
function(U,B,G){"use strict";G.d(B,{a:function(){return J}});var Y=G(16456),V=G(57457),Z=G(55659);function J(U,B,G){let J=(0,Y._v)(U,B,G);return(0,Z.r)(J,V.z)}}
function(U,B,G){"use strict";G.d(B,{$Q:function(){return Q},HK:function(){return tt},Jr:function(){return ts},Sh:function(){return tn},_j:function(){return te},hl:function(){return J},xp:function(){return X},zf:function(){return ta}});var Y=G(36832),V=G(52560),Z=G(95216);function J(U,B,G){if(!(B in U))return;let Y=U[B],V=G(Y);if("function"==typeof V)try{Q(V,Y)}catch(U){}U[B]=V}function X(U,B,G){Object.defineProperty(U,B,{value:G,writable:!0,configurable:!0})}function Q(U,B){let G=B.prototype||{};U.prototype=B.prototype=G,X(U,"__sentry_original__",B)}function tt(U){return U.__sentry_original__}function te(U){return Object.keys(U).map(B=>`${encodeURIComponent(B)}=${encodeURIComponent(U[B])}`).join("&")}function tn(U){if((0,V.VZ)(U))return{message:U.message,name:U.name,stack:U.stack,...ti(U)};if(!(0,V.cO)(U))return U;{let B={type:U.type,target:tr(U.target),currentTarget:tr(U.currentTarget),...ti(U)};return"undefined"!=typeof CustomEvent&&(0,V.V9)(U,CustomEvent)&&(B.detail=U.detail),B}}function tr(U){try{return(0,V.kK)(U)?(0,Y.Rt)(U):Object.prototype.toString.call(U)}catch(U){return"<unknown>"}}function ti(U){if("object"!=typeof U||null===U)return{};{let B={};for(let G in U)Object.prototype.hasOwnProperty.call(U,G)&&(B[G]=U[G]);return B}}function ta(U,B=40){let G=Object.keys(tn(U));if(G.sort(),!G.length)return"[object has no keys]";if(G[0].length>=B)return(0,Z.$G)(G[0],B);for(let U=G.length;U>0;U--){let Y=G.slice(0,U).join(", ");if(!(Y.length>B)){if(U===G.length)return Y;return(0,Z.$G)(Y,B)}}return""}function ts(U){let B=new Map;return tu(U,B)}function tu(U,B){if((0,V.PO)(U)){let G=B.get(U);if(void 0!==G)return G;let Y={};for(let G of(B.set(U,Y),Object.keys(U)))void 0!==U[G]&&(Y[G]=tu(U[G],B));return Y}if(Array.isArray(U)){let G=B.get(U);if(void 0!==G)return G;let Y=[];return B.set(U,Y),U.forEach(U=>{Y.push(tu(U,B))}),Y}return U}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var G=function(){function U(){}return U.getItemAsync=function(B){var G;return U.asyncStorage?null!==(G=U.asyncStorage.getItem(B))&&void 0!==G?G:null:Promise.resolve(null)},U.setItemAsync=function(B,G){return U.asyncStorage?U.asyncStorage.setItem(B,G):Promise.resolve()},U.removeItemAsync=function(B){return U.asyncStorage?U.asyncStorage.removeItem(B):Promise.resolve()},U}();B.default=G}
function(U,B,G){var Y=G(53140),V=G(50694);function Z(U){return null==U}function J(U){var B={};for(var G in U)B[G]=U[G];return B}function X(U){(U=J(U||{})).whiteList=U.whiteList||Y.whiteList,U.onAttr=U.onAttr||Y.onAttr,U.onIgnoreAttr=U.onIgnoreAttr||Y.onIgnoreAttr,U.safeAttrValue=U.safeAttrValue||Y.safeAttrValue,this.options=U}G(66380),X.prototype.process=function(U){if(!(U=(U=U||"").toString()))return"";var B=this,G=B.options,Y=G.whiteList,J=G.onAttr,X=G.onIgnoreAttr,Q=G.safeAttrValue;return V(U,function(U,B,G,V,tt){var te=Y[G],tn=!1;if(!0===te?tn=te:"function"==typeof te?tn=te(V):te instanceof RegExp&&(tn=te.test(V)),!0!==tn&&(tn=!1),V=Q(G,V)){var tr={position:B,sourcePosition:U,source:tt,isWhite:tn};if(tn){var ti=J(G,V,tr);return Z(ti)?G+":"+V:ti}var ti=X(G,V,tr);if(!Z(ti))return ti}})},U.exports=X}
function(U,B,G){"use strict";var Y=G(65566),V={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Z={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},J={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},X={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Q={};function tt(U){return Y.isMemo(U)?X:Q[U.$$typeof]||V}Q[Y.ForwardRef]=J,Q[Y.Memo]=X;var te=Object.defineProperty,tn=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,ti=Object.getOwnPropertyDescriptor,ta=Object.getPrototypeOf,ts=Object.prototype;function tu(U,B,G){if("string"!=typeof B){if(ts){var Y=ta(B);Y&&Y!==ts&&tu(U,Y,G)}var V=tn(B);tr&&(V=V.concat(tr(B)));for(var J=tt(U),X=tt(B),Q=0;Q<V.length;++Q){var tc=V[Q];if(!Z[tc]&&!(G&&G[tc])&&!(X&&X[tc])&&!(J&&J[tc])){var td=ti(B,tc);try{te(U,tc,td)}catch(U){}}}}return U}U.exports=tu}
function(U,B,G){"use strict";G.d(B,{F:function(){return V}});var Y=G(16456);class V{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,Y.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(U){this.cacheTime=Math.max(this.cacheTime||0,null!=U?U:Y.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.Base64=void 0,B.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_encodeBinary:function(U){for(var B,G,Y,V,Z,J,X,Q="",tt=0;tt<U.length;)B=U.charCodeAt(tt++),G=U.charCodeAt(tt++),Y=U.charCodeAt(tt++),V=B>>2,Z=(3&B)<<4|G>>4,J=(15&G)<<2|Y>>6,X=63&Y,isNaN(G)?J=X=64:isNaN(Y)&&(X=64),Q=Q+this._keyStr.charAt(V)+this._keyStr.charAt(Z)+this._keyStr.charAt(J)+this._keyStr.charAt(X);return Q},encodeArrayBuffer:function(U){for(var G="",Y=new Uint8Array(U),V=Y.byteLength,Z=0;Z<V;Z++)G+=String.fromCharCode(Y[Z]);return B.Base64._encodeBinary(G)}}}
function(U,B,G){"use strict";G.d(B,{S:function(){return Z}});var Y=G(70079);let V=Y.createContext(!1),Z=()=>Y.useContext(V);V.Provider}
function(U,B,G){"use strict";G.d(B,{l:function(){return Y}});class Y{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(U){return this.listeners.push(U),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(B=>B!==U),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}}
function(U,B,G){"use strict";var Y=this&&this.__assign||function(){return(Y=Object.assign||function(U){for(var B,G=1,Y=arguments.length;G<Y;G++)for(var V in B=arguments[G])Object.prototype.hasOwnProperty.call(B,V)&&(U[V]=B[V]);return U}).apply(this,arguments)},V=this&&this.__createBinding||(Object.create?function(U,B,G,Y){void 0===Y&&(Y=G),Object.defineProperty(U,Y,{enumerable:!0,get:function(){return B[G]}})}:function(U,B,G,Y){void 0===Y&&(Y=G),U[Y]=B[G]}),Z=this&&this.__setModuleDefault||(Object.create?function(U,B){Object.defineProperty(U,"default",{enumerable:!0,value:B})}:function(U,B){U.default=B}),J=this&&this.__importStar||function(U){if(U&&U.__esModule)return U;var B={};if(null!=U)for(var G in U)"default"!==G&&Object.prototype.hasOwnProperty.call(U,G)&&V(B,U,G);return Z(B,U),B},X=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},Q=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},tt=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0});var te=tt(G(12229)),tn=tt(G(5421)),tr=G(5502),ti=tt(G(51475)),ta=tt(G(5575)),ts=tt(G(51562)),tu=tt(G(37209)),tc=tt(G(35325)),td=tt(G(76067)),tf=J(G(3009)),th=G(13957),tp=tt(G(25609)),tg=tt(G(12559)),t_=J(G(33220)),tm=tt(G(52700)),tv=G(98480),ty=64,tb=2048,tE=function(){function U(B,G,Y){var V,Z=this;if(this.appState=null,this.currentAppState=null,this.initCalled=!1,this.pendingInitPromise=null,this.optionalLoggingSetup=!1,this.prefetchedUsersByCacheKey={},this.logLayerParameterExposureForLayer=function(U,B,G){void 0===G&&(G=!1);var Y="",V=U._getUndelegatedSecondaryExposures(),J=U._getExplicitParameters().includes(B);J&&(Y=U._getAllocatedExperimentName(),V=U._getSecondaryExposures()),Z.logger.logLayerExposure(Z.getCurrentUser(),U.getName(),U.getRuleID(),V,Y,B,J,U._getEvaluationDetails(),G)},"string"!=typeof B||!B.startsWith("client-"))throw new tr.StatsigInvalidArgumentError("Invalid key provided. You must use a Client SDK Key from the Statsig console to initialize the sdk");if(this.startTime=(0,tv.now)(),this.errorBoundary=new tn.default(B),this.ready=!1,this.sdkKey=B,this.options=new td.default(Y),this.consoleLogger=new tm.default(this.options.getLogLevel()),tg.default.disabled=this.options.getDisableLocalStorage(),this.initializeDiagnostics=new t_.default("initialize"),this.identity=new ts.default(this.normalizeUser(null!=G?G:null),this.options.getOverrideStableID(),U.reactNativeUUID),this.network=new tc.default(this),this.store=new tf.default(this,null!==(V=null==Y?void 0:Y.initializeValues)&&void 0!==V?V:null),this.logger=new tu.default(this),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()),(null==Y?void 0:Y.initializeValues)!=null){var J=this.options.getInitCompletionCallback();this.ready=!0,this.initCalled=!0,this.fireAndForgetPrefechUsers(),setTimeout(function(){return Z.delayedSetup()},20),this.handleOptionalLogging(),J&&J((0,tv.now)()-this.startTime,!0,null)}}return U.prototype.getErrorBoundary=function(){return this.errorBoundary},U.prototype.getNetwork=function(){return this.network},U.prototype.getStore=function(){return this.store},U.prototype.getLogger=function(){return this.logger},U.prototype.getOptions=function(){return this.options},U.prototype.getSDKKey=function(){return null==this.sdkKey?"":this.sdkKey},U.prototype.getCurrentUser=function(){return this.identity.getUser()},U.prototype.getCurrentUserCacheKey=function(){return(0,th.getUserCacheKey)(this.getCurrentUser())},U.prototype.getStatsigMetadata=function(){return this.identity.getStatsigMetadata()},U.prototype.getSDKType=function(){return this.identity.getSDKType()},U.prototype.getSDKVersion=function(){return this.identity.getSDKVersion()},U.prototype.getConsoleLogger=function(){return this.consoleLogger},U.prototype.delayedSetup=function(){this.identity.saveStableID(),this.logger.sendSavedRequests()},U.prototype.setInitializeValues=function(U){var B=this;this.errorBoundary.capture("setInitializeValues",function(){B.store.bootstrap(U);var G=null;B.ready||(B.ready=!0,B.initCalled=!0,G=B.options.getInitCompletionCallback()),B.handleOptionalLogging(),B.logger.sendSavedRequests(),G&&G((0,tv.now)()-B.startTime,!0,null)},function(){B.ready=!0,B.initCalled=!0;var U=B.options.getInitCompletionCallback();U&&U((0,tv.now)()-B.startTime,!1,"Caught an exception during setInitializeValues")})},U.prototype.initializeAsync=function(){return X(this,void 0,void 0,function(){var U=this;return Q(this,function(B){return[2,this.errorBoundary.capture("initializeAsync",function(){return X(U,void 0,void 0,function(){var U,B,G=this;return Q(this,function(Y){switch(Y.label){case 0:if(null!=this.pendingInitPromise)return[2,this.pendingInitPromise];if(this.ready)return[2,Promise.resolve()];if(this.initializeDiagnostics.mark(t_.DiagnosticsKey.OVERALL,t_.DiagnosticsEvent.START),this.initCalled=!0,!tp.default.asyncStorage)return[3,3];return[4,this.identity.initAsync()];case 1:return Y.sent(),[4,this.store.loadFromAsyncStorage()];case 2:Y.sent(),Y.label=3;case 3:if(this.appState&&this.appState.addEventListener&&"function"==typeof this.appState.addEventListener&&(this.currentAppState=this.appState.currentState,this.appState.addEventListener("change",this.handleAppStateChange.bind(this))),this.options.getLocalModeEnabled())return[2,Promise.resolve()];return U=function(U,B){var Y=G.options.getInitCompletionCallback();Y&&Y((0,tv.now)()-G.startTime,U,B)},B=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues(B,this.options.getPrefetchUsers(),U,this.initializeDiagnostics).finally(function(){return X(G,void 0,void 0,function(){return Q(this,function(U){return this.pendingInitPromise=null,this.ready=!0,this.delayedSetup(),this.initializeDiagnostics.mark(t_.DiagnosticsKey.OVERALL,t_.DiagnosticsEvent.END),this.options.getDisableDiagnosticsLogging()||this.logger.logDiagnostics(B,this.initializeDiagnostics),[2]})})}),this.handleOptionalLogging(),[2,this.pendingInitPromise]}})})},function(){return U.ready=!0,U.initCalled=!0,Promise.resolve()})]})})},U.prototype.prefetchUsers=function(U){return X(this,void 0,void 0,function(){return Q(this,function(B){return U&&0!=U.length?[2,this.fetchAndSaveValues(null,U)]:[2]})})},U.prototype.getEvaluationDetails=function(){return this.store.getGlobalEvaluationDetails()},U.prototype.checkGate=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("checkGate",function(){var Y=G.checkGateImpl(U,B);return G.logGateExposureImpl(U,Y),!0===Y.gate.value},function(){return!1})},U.prototype.checkGateWithExposureLoggingDisabled=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("checkGateWithExposureLoggingDisabled",function(){return!0===G.checkGateImpl(U,B).gate.value},function(){return!1})},U.prototype.logGateExposure=function(U){this.logGateExposureImpl(U)},U.prototype.getConfig=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("getConfig",function(){var Y=G.getConfigImpl(U,B);return G.logConfigExposureImpl(U,Y),Y},function(){return G.getEmptyConfig(U)})},U.prototype.getConfigWithExposureLoggingDisabled=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("getConfig",function(){return G.getConfigImpl(U,B)},function(){return G.getEmptyConfig(U)})},U.prototype.logConfigExposure=function(U){this.logConfigExposureImpl(U)},U.prototype.getExperiment=function(U,B,G){var Y=this;return void 0===B&&(B=!1),void 0===G&&(G=!1),this.errorBoundary.capture("getExperiment",function(){var V=Y.getExperimentImpl(U,B,G);return Y.logExperimentExposureImpl(U,B,V),V},function(){return Y.getEmptyConfig(U)})},U.prototype.getExperimentWithExposureLoggingDisabled=function(U,B,G){var Y=this;return void 0===B&&(B=!1),void 0===G&&(G=!1),this.errorBoundary.capture("getExperimentWithExposureLoggingDisabled",function(){return Y.getExperimentImpl(U,B,G)},function(){return Y.getEmptyConfig(U)})},U.prototype.logExperimentExposure=function(U,B){this.logExperimentExposureImpl(U,B)},U.prototype.getLayer=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("getLayer",function(){return G.getLayerImpl(G.logLayerParameterExposureForLayer,U,B)},function(){return ti.default._create(U,{},"",G.getEvalutionDetailsForError())})},U.prototype.getLayerWithExposureLoggingDisabled=function(U,B){var G=this;return void 0===B&&(B=!1),this.errorBoundary.capture("getLayerWithExposureLoggingDisabled",function(){return G.getLayerImpl(null,U,B)},function(){return ti.default._create(U,{},"",G.getEvalutionDetailsForError())})},U.prototype.logLayerParameterExposure=function(U,B,G){void 0===G&&(G=!1);var Y=this.getLayerImpl(null,U,G);this.logLayerParameterExposureForLayer(Y,B,!0)},U.prototype.logEvent=function(U,B,G){var Y=this;void 0===B&&(B=null),void 0===G&&(G=null),this.errorBoundary.swallow("logEvent",function(){if(!Y.logger||!Y.sdkKey)throw new tr.StatsigUninitializedError("Must initialize() before logging events.");if("string"!=typeof U||0===U.length){Y.consoleLogger.error("Event not logged. No valid eventName passed.");return}Y.shouldTrimParam(U,ty)&&(Y.consoleLogger.info("eventName is too long, trimming to "+ty+" characters."),U=U.substring(0,ty)),"string"==typeof B&&Y.shouldTrimParam(B,ty)&&(Y.consoleLogger.info("value is too long, trimming to "+ty+"."),B=B.substring(0,ty)),Y.shouldTrimParam(G,tb)&&(Y.consoleLogger.info("metadata is too big. Dropping the metadata."),G={error:"not logged due to size too large"});var V=new ta.default(U);V.setValue(B),V.setMetadata(G),V.setUser(Y.getCurrentUser()),Y.logger.log(V)})},U.prototype.updateUser=function(U){return X(this,void 0,void 0,function(){var B=this;return Q(this,function(G){return[2,this.errorBoundary.capture("updateUser",function(){return X(B,void 0,void 0,function(){var B,G,Y,V,Z=this;return Q(this,function(J){switch(J.label){case 0:if(!this.initializeCalled())throw new tr.StatsigUninitializedError("Call initialize() first.");if(this.identity.updateUser(this.normalizeUser(U)),B=this.getCurrentUserCacheKey(),G=!!this.prefetchedUsersByCacheKey[B],Y=this.store.updateUser(G),this.logger.resetDedupeKeys(),null!=Y&&(G||this.isCacheValidForFetchMode(Y)))return[2,Promise.resolve(!0)];if(!(null!=this.pendingInitPromise))return[3,2];return[4,this.pendingInitPromise];case 1:J.sent(),J.label=2;case 2:if(this.options.getLocalModeEnabled())return[2,Promise.resolve(!0)];return V=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues(V).finally(function(){Z.pendingInitPromise=null}),[2,this.pendingInitPromise.then(function(){return Promise.resolve(!0)}).catch(function(){return Promise.resolve(!1)})]}})})},function(){return Promise.resolve(!1)})]})})},U.prototype.shutdown=function(){var U=this;this.errorBoundary.swallow("shutdown",function(){U.logger.shutdown(),U.appState&&U.appState.removeEventListener&&"function"==typeof U.appState.removeEventListener&&U.appState.removeEventListener("change",U.handleAppStateChange.bind(U)),tg.default.cleanup()})},U.prototype.overrideGate=function(U,B){var G=this;this.errorBoundary.swallow("overrideGate",function(){G.ensureStoreLoaded(),G.store.overrideGate(U,B)})},U.prototype.overrideConfig=function(U,B){var G=this;this.errorBoundary.swallow("overrideConfig",function(){G.ensureStoreLoaded(),G.store.overrideConfig(U,B)})},U.prototype.overrideLayer=function(U,B){var G=this;this.errorBoundary.swallow("overrideLayer",function(){G.ensureStoreLoaded(),G.store.overrideLayer(U,B)})},U.prototype.removeGateOverride=function(U){var B=this;this.errorBoundary.swallow("removeGateOverride",function(){B.ensureStoreLoaded(),B.store.removeGateOverride(U)})},U.prototype.removeConfigOverride=function(U){var B=this;this.errorBoundary.swallow("removeConfigOverride",function(){B.ensureStoreLoaded(),B.store.removeConfigOverride(U)})},U.prototype.removeLayerOverride=function(U){var B=this;this.errorBoundary.swallow("removeLayerOverride",function(){B.ensureStoreLoaded(),B.store.removeLayerOverride(U)})},U.prototype.removeOverride=function(U){var B=this;this.errorBoundary.swallow("removeOverride",function(){B.ensureStoreLoaded(),B.store.removeGateOverride(U)})},U.prototype.getOverrides=function(){var U=this;return this.errorBoundary.capture("getOverrides",function(){return U.ensureStoreLoaded(),U.store.getAllOverrides().gates},function(){return{}})},U.prototype.getAllOverrides=function(){var U=this;return this.errorBoundary.capture("getAllOverrides",function(){return U.ensureStoreLoaded(),U.store.getAllOverrides()},function(){return{gates:{},configs:{},layers:{}}})},U.prototype.getStableID=function(){var U=this;return this.errorBoundary.capture("getStableID",function(){return U.identity.getStatsigMetadata().stableID},function(){return""})},U.prototype.initializeCalled=function(){return this.initCalled},U.prototype.setSDKPackageInfo=function(U){null!=U&&(this.identity.setSDKPackageInfo(U),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()))},U.setAsyncStorage=function(U){null!=U&&(tp.default.asyncStorage=U)},U.setReactNativeUUID=function(B){null!=B&&(U.reactNativeUUID=B)},U.prototype.setAppState=function(U){null!=U&&(this.appState=U)},U.prototype.setNativeModules=function(U){null!=U&&this.identity.setNativeModules(U)},U.prototype.setPlatform=function(U){null!=U&&this.identity.setPlatform(U)},U.prototype.setRNDeviceInfo=function(U){null!=U&&this.identity.setRNDeviceInfo(U)},U.prototype.setExpoConstants=function(U){null!=U&&this.identity.setExpoConstants(U)},U.prototype.setExpoDevice=function(U){null!=U&&this.identity.setExpoDevice(U)},U.prototype.isCacheValidForFetchMode=function(U){return"cache-or-network"===this.options.getFetchMode()&&U>this.startTime},U.prototype.handleOptionalLogging=function(){var U=this;if("undefined"!=typeof window&&window&&!this.optionalLoggingSetup&&window.addEventListener){var B=this.identity.getUser();if(this.options.getDisableErrorLogging()||window.addEventListener("error",function(G){var Y,V=G.error;if(null!=V&&"object"==typeof V)try{V=JSON.stringify(V)}catch(U){}U.logger.logAppError(B,null!==(Y=G.message)&&void 0!==Y?Y:"",{filename:G.filename,lineno:G.lineno,colno:G.colno,error_obj:V})}),!this.options.getDisableAutoMetricsLogging()){if("undefined"==typeof document||!document||"undefined"==typeof setTimeout||!setTimeout)return;var G=function(){setTimeout(function(){U.logger.logAppMetrics(B)},1e3)};"complete"===document.readyState?G():window.addEventListener("load",function(){return G()})}this.optionalLoggingSetup=!0}},U.prototype.handleAppStateChange=function(U){var B;"active"===this.currentAppState&&U.match(/inactive|background/)?this.logger.flush(!0):(null===(B=this.currentAppState)||void 0===B?void 0:B.match(/inactive|background/))&&"active"===U&&this.logger.sendSavedRequests(),this.currentAppState=U},U.prototype.shouldTrimParam=function(U,B){return null!=U&&("string"==typeof U?U.length>B:"object"==typeof U?JSON.stringify(U).length>B:"number"==typeof U&&U.toString().length>B)},U.prototype.normalizeUser=function(U){var B={};try{B=JSON.parse(JSON.stringify(U))}catch(U){throw new tr.StatsigInvalidArgumentError("User object must be convertable to JSON string.")}return B=this.trimUserObjIfNeeded(B),null!=this.options.getEnvironment()&&(B.statsigEnvironment=this.options.getEnvironment()),B},U.prototype.trimUserObjIfNeeded=function(U){var B,G;return null==U?{}:(this.shouldTrimParam(null!==(B=U.userID)&&void 0!==B?B:null,ty)&&(this.consoleLogger.info("User ID is too large, trimming to "+ty+"characters"),U.userID=null===(G=U.userID)||void 0===G?void 0:G.toString().substring(0,ty)),this.shouldTrimParam(U,tb)&&(U.custom={},this.shouldTrimParam(U,tb)?(this.consoleLogger.info("User object is too large, only keeping the user ID."),U={userID:U.userID}):this.consoleLogger.info("User object is too large, dropping the custom property.")),U)},U.prototype.ensureStoreLoaded=function(){if(!this.store.isLoaded())throw new tr.StatsigUninitializedError("Call and wait for initialize() to finish first.")},U.prototype.getEvalutionDetailsForError=function(){return{time:Date.now(),reason:tf.EvaluationReason.Error}},U.prototype.fetchAndSaveValues=function(U,B,G,V){return void 0===B&&(B=[]),void 0===G&&(G=null),X(this,void 0,void 0,function(){var Z,J,tt=this;return Q(this,function(te){return B.length>5&&this.consoleLogger.info("Cannot prefetch more than 5 users."),Z=B.slice(0,5).reduce(function(U,B){return U[(0,th.getUserCacheKey)(B)]=B,U},{}),J=null,0===B.length&&(J=this.store.getLastUpdateTime(U)),[2,this.network.fetchValues(U,J,this.options.getInitTimeoutMs(),function(B){return X(tt,void 0,void 0,function(){var G=this;return Q(this,function(J){return[2,this.errorBoundary.swallow("fetchAndSaveValues",function(){return X(G,void 0,void 0,function(){return Q(this,function(G){switch(G.label){case 0:if(null==V||V.mark(t_.DiagnosticsKey.INITIALIZE,t_.DiagnosticsEvent.START,"process"),!(null==B?void 0:B.has_updates))return[3,2];return[4,this.store.save(U,B)];case 1:return G.sent(),[3,3];case 2:(null==B?void 0:B.is_no_content)&&this.store.setEvaluationReason(tf.EvaluationReason.NetworkNotModified),G.label=3;case 3:return this.prefetchedUsersByCacheKey=Y(Y({},this.prefetchedUsersByCacheKey),Z),null==V||V.mark(t_.DiagnosticsKey.INITIALIZE,t_.DiagnosticsEvent.END,"process"),[2]}})})})]})})},function(U){},0===B.length?V:void 0,B.length>0?Z:void 0).then(function(){null==G||G(!0,null)}).catch(function(U){null==G||G(!1,U.message)})]})})},U.prototype.checkGateImpl=function(U,B){if(this.ensureStoreLoaded(),"string"!=typeof U||0===U.length)throw new tr.StatsigInvalidArgumentError("Must pass a valid string as the gateName.");return this.store.checkGate(U,B)},U.prototype.logGateExposureImpl=function(U,B){var G=!B,Y=null!=B?B:this.checkGateImpl(U,!1),V=Y.gate;this.logger.logGateExposure(this.getCurrentUser(),U,V.value,V.rule_id,V.secondary_exposures,Y.evaluationDetails,G)},U.prototype.getConfigImpl=function(U,B){if(this.ensureStoreLoaded(),"string"!=typeof U||0===U.length)throw new tr.StatsigInvalidArgumentError("Must pass a valid string as the configName.");return this.store.getConfig(U,B)},U.prototype.logConfigExposureImpl=function(U,B){var G=!B,Y=null!=B?B:this.getConfigImpl(U,!1);this.logger.logConfigExposure(this.getCurrentUser(),U,Y.getRuleID(),Y._getSecondaryExposures(),Y.getEvaluationDetails(),G)},U.prototype.getExperimentImpl=function(U,B,G){if(this.ensureStoreLoaded(),"string"!=typeof U||0===U.length)throw new tr.StatsigInvalidArgumentError("Must pass a valid string as the experimentName.");return this.store.getExperiment(U,B,G)},U.prototype.logExperimentExposureImpl=function(U,B,G){var Y=!G,V=null!=G?G:this.getExperimentImpl(U,B,!1);this.logger.logConfigExposure(this.getCurrentUser(),U,V.getRuleID(),V._getSecondaryExposures(),V.getEvaluationDetails(),Y)},U.prototype.getLayerImpl=function(U,B,G){if(this.ensureStoreLoaded(),"string"!=typeof B||0===B.length)throw new tr.StatsigInvalidArgumentError("Must pass a valid string as the layerName.");return this.store.getLayer(U,B,G)},U.prototype.getEmptyConfig=function(U){return new te.default(U,{},"",this.getEvalutionDetailsForError())},U.prototype.fireAndForgetPrefechUsers=function(){this.prefetchUsers(this.options.getPrefetchUsers())},U}();B.default=tE}
function(U,B,G){"use strict";G.d(B,{$e:function(){return Z},Tb:function(){return V}});var Y=G(77553);function V(U,B){return(0,Y.Gd)().captureException(U,{captureContext:B})}function Z(U){(0,Y.Gd)().withScope(U)}}
function(U,B,G){"use strict";G.d(B,{Gd:function(){return ts},Xb:function(){return tr},cu:function(){return ti},pj:function(){return ta},vi:function(){return td}});var Y=G(44096),V=G(36883),Z=G(99735),J=G(82633),X=G(96333),Q=G(79508),tt=G(3177);let te=4,tn=100;class tr{constructor(U,B=new Q.s,G=te){this._version=G,this._stack=[{scope:B}],U&&this.bindClient(U)}isOlderThan(U){return this._version<U}bindClient(U){let B=this.getStackTop();B.client=U,U&&U.setupIntegrations&&U.setupIntegrations()}pushScope(){let U=Q.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:U}),U}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(U){let B=this.pushScope();try{U(B)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(U,B){let G=this._lastEventId=B&&B.event_id?B.event_id:(0,Y.DM)(),V=Error("Sentry syntheticException");return this._withClient((Y,Z)=>{Y.captureException(U,{originalException:U,syntheticException:V,...B,event_id:G},Z)}),G}captureMessage(U,B,G){let V=this._lastEventId=G&&G.event_id?G.event_id:(0,Y.DM)(),Z=Error(U);return this._withClient((Y,J)=>{Y.captureMessage(U,B,{originalException:U,syntheticException:Z,...G,event_id:V},J)}),V}captureEvent(U,B){let G=B&&B.event_id?B.event_id:(0,Y.DM)();return U.type||(this._lastEventId=G),this._withClient((Y,V)=>{Y.captureEvent(U,{...B,event_id:G},V)}),G}lastEventId(){return this._lastEventId}addBreadcrumb(U,B){let{scope:G,client:Y}=this.getStackTop();if(!Y)return;let{beforeBreadcrumb:J=null,maxBreadcrumbs:X=tn}=Y.getOptions&&Y.getOptions()||{};if(X<=0)return;let Q=(0,V.yW)(),tt={timestamp:Q,...U},te=J?(0,Z.Cf)(()=>J(tt,B)):tt;null!==te&&(Y.emit&&Y.emit("beforeAddBreadcrumb",te,B),G.addBreadcrumb(te,X))}setUser(U){this.getScope().setUser(U)}setTags(U){this.getScope().setTags(U)}setExtras(U){this.getScope().setExtras(U)}setTag(U,B){this.getScope().setTag(U,B)}setExtra(U,B){this.getScope().setExtra(U,B)}setContext(U,B){this.getScope().setContext(U,B)}configureScope(U){let{scope:B,client:G}=this.getStackTop();G&&U(B)}run(U){let B=ta(this);try{U(this)}finally{ta(B)}}getIntegration(U){let B=this.getClient();if(!B)return null;try{return B.getIntegration(U)}catch(B){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Z.kg.warn(`Cannot retrieve integration ${U.id} from the current Hub`),null}}startTransaction(U,B){let G=this._callExtensionMethod("startTransaction",U,B);return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&!G&&console.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
Sentry.addTracingExtensions();
Sentry.init({...});
`),G}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(U=!1){if(U)return this.endSession();this._sendSessionUpdate()}endSession(){let U=this.getStackTop(),B=U.scope,G=B.getSession();G&&(0,tt.RJ)(G),this._sendSessionUpdate(),B.setSession()}startSession(U){let{scope:B,client:G}=this.getStackTop(),{release:Y,environment:V=X.J}=G&&G.getOptions()||{},{userAgent:Z}=J.n2.navigator||{},Q=(0,tt.Hv)({release:Y,environment:V,user:B.getUser(),...Z&&{userAgent:Z},...U}),te=B.getSession&&B.getSession();return te&&"ok"===te.status&&(0,tt.CT)(te,{status:"exited"}),this.endSession(),B.setSession(Q),Q}shouldSendDefaultPii(){let U=this.getClient(),B=U&&U.getOptions();return!!(B&&B.sendDefaultPii)}_sendSessionUpdate(){let{scope:U,client:B}=this.getStackTop(),G=U.getSession();G&&B&&B.captureSession&&B.captureSession(G)}_withClient(U){let{scope:B,client:G}=this.getStackTop();G&&U(G,B)}_callExtensionMethod(U,...B){let G=ti(),Y=G.__SENTRY__;if(Y&&Y.extensions&&"function"==typeof Y.extensions[U])return Y.extensions[U].apply(this,B);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&Z.kg.warn(`Extension method ${U} couldn't be found, doing nothing.`)}}function ti(){return J.n2.__SENTRY__=J.n2.__SENTRY__||{extensions:{},hub:void 0},J.n2}function ta(U){let B=ti(),G=td(B);return tf(B,U),G}function ts(){let U=ti();if(U.__SENTRY__&&U.__SENTRY__.acs){let B=U.__SENTRY__.acs.getCurrentHub();if(B)return B}return tu(U)}function tu(U=ti()){return(!tc(U)||td(U).isOlderThan(te))&&tf(U,new tr),td(U)}function tc(U){return!!(U&&U.__SENTRY__&&U.__SENTRY__.hub)}function td(U){return(0,J.YO)("hub",()=>new tr,U)}function tf(U,B){if(!U)return!1;let G=U.__SENTRY__=U.__SENTRY__||{};return G.hub=B,!0}}
function(U,B,G){"use strict";U.exports=G(10538)}
function(U,B,G){"use strict";G.d(B,{LJ:function(){return X},oG:function(){return Z},u$:function(){return J}});var Y=G(70079),V="dgkjq2bp";function Z(){(0,Y.useEffect)(function(){!function(){var U=window,B=U.Intercom;if("function"==typeof B)B("reattach_activator"),B("update",U.intercomSettings);else{var G=document,Y=function(){Y.c(arguments)};Y.q=[],Y.c=function(U){Y.q.push(U)},U.Intercom=Y;var Z=function(){var U,B=G.createElement("script");B.type="text/javascript",B.async=!0,B.src="https://widget.intercom.io/widget/".concat(V);var Y=G.getElementsByTagName("script")[0];null===(U=Y.parentNode)||void 0===U||U.insertBefore(B,Y)};"complete"===document.readyState?Z():U.attachEvent?U.attachEvent("onload",Z):U.addEventListener("load",Z,!1)}}()},[])}function J(U,B){var G=window.Intercom;U.id&&G&&G("boot",{app_id:V,user_id:U.id,name:U.name,email:U.email,user_hash:U.intercom_hash,hide_default_launcher:!0,is_chatgpt_user:!0,paid_chatgpt_subscriber:B.hasPaidSubscription,paid_chatgpt_active_until:B.subscriptionExpiresAt})}function X(U,B){var G=window.Intercom;G&&G("trackEvent",U,B)}}
function(U,B,G){"use strict";var Y,V,Z,J;G.d(B,{Ei:function(){return V},KF:function(){return Z},r3:function(){return Y}}),function(U){U.ADMIN="account-owner",U.STANDARD="standard-user"}(Y||(Y={})),function(U){U.AceUpload="ace_upload",U.MyFiles="my_files",U.Multimodal="multimodal"}(V||(V={})),function(U){U.Success="success",U.Retry="retry",U.Error="error"}(Z||(Z={})),function(U){U.Success="success",U.Failed="failed"}(J||(J={}))}
function(U,B,G){"use strict";G.d(B,{Ho:function(){return Y},W_:function(){return tf},kP:function(){return td},pg:function(){return tu},w7:function(){return tr},yl:function(){return th}});var Y,V=G(21722),Z=G(39889),J=G(94209),X=G(60986),Q=G(24396),tt=G(68555),te=G(81292),tn=G(24274);function tr(){window.location.href=window.location.origin+"/auth/logout"}function ti(){return ta.apply(this,arguments)}function ta(){return(ta=(0,V._)(function(){var U,B;return(0,Z.Jh)(this,function(G){switch(G.label){case 0:return[4,fetch("/api/auth/session")];case 1:return[4,G.sent().json()];case 2:if(Object.keys(U=G.sent()).length)return null!=U.accessToken?tn.ZP.setAccessToken(U.accessToken):null==U.error&&(null==J||X.uT("Missing access token for User: ".concat(null===(B=U.user)||void 0===B?void 0:B.id," (").concat(U.accessToken,")"))),[2,U];return[2,null]}})})).apply(this,arguments)}!function(U){U.OpenAI="openai",U.Auth0="auth0",U.Auth0dev="auth0dev",U.Mocked="mocked"}(Y||(Y={}));var ts=(0,te.ZP)(function(){return{didForceEnableSession:!1}}),tu={forceEnableSession:function(){ts.setState({didForceEnableSession:!0})}};function tc(U){var B,G;return"/share/[[...shareParams]]"===U.pathname&&Array.isArray(null===(B=U.query)||void 0===B?void 0:B.shareParams)&&(null===(G=U.query)||void 0===G?void 0:G.shareParams.length)===1}function td(U){var B=U||{},G=B.required,Y=B.redirectTo,V=B.queryConfig,Z=(0,tt.useRouter)(),J=ts(function(U){return U.didForceEnableSession}),X=(0,Q.a)(["session"],ti,{onSettled:function(U,B){(null==V?void 0:V.onSettled)&&(null==V||V.onSettled(U,B)),!U&&G&&Z.push(Y)},enabled:J||!tc(Z)});return{session:(null==X?void 0:X.data)||null,loading:(null==X?void 0:X.status)==="loading"}}function tf(U){return window.btoa(JSON.stringify(U))}function th(U){return U.email.endsWith("@openai.com")}}
function(U,B,G){"use strict";G.d(B,{QL:function(){return J},XA:function(){return Z},gt:function(){return V}});var Y=G(70079),V=(0,Y.createContext)({}),Z=(0,Y.createContext)([]),J=(0,Y.createContext)({historyDisabled:!1,toggleHistoryDisabled:function(){},onEnableHistory:function(){},getModifiedSettings:function(){return!1},unsetModifiedSettings:function(){}})}
function(U,B,G){"use strict";G.d(B,{Rt:function(){return J},l4:function(){return Q}});var Y=G(66464),V=G(96652);let Z=(0,V.Rf)();function J(U,B){try{let G,Y=U,V=5,Z=80,J=[],Q=0,tt=0,te=" > ",tn=te.length;for(;Y&&Q++<V&&(G=X(Y,B),"html"!==G&&(!(Q>1)||!(tt+J.length*tn+G.length>=Z)));)J.push(G),tt+=G.length,Y=Y.parentNode;return J.reverse().join(te)}catch(U){return"<unknown>"}}function X(U,B){let G,V,Z,J,X;let Q=U,tt=[];if(!Q||!Q.tagName)return"";tt.push(Q.tagName.toLowerCase());let te=B&&B.length?B.filter(U=>Q.getAttribute(U)).map(U=>[U,Q.getAttribute(U)]):null;if(te&&te.length)te.forEach(U=>{tt.push(`[${U[0]}="${U[1]}"]`)});else if(Q.id&&tt.push(`#${Q.id}`),(G=Q.className)&&(0,Y.HD)(G))for(X=0,V=G.split(/\s+/);X<V.length;X++)tt.push(`.${V[X]}`);let tn=["type","name","title","alt"];for(X=0;X<tn.length;X++)Z=tn[X],(J=Q.getAttribute(Z))&&tt.push(`[${Z}="${J}"]`);return tt.join("")}function Q(){try{return Z.document.location.href}catch(U){return""}}}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.DiagnosticsKey=B.DiagnosticsEvent=void 0;var Y,V,Z=G(98480);!function(U){U.START="start",U.END="end"}(Y=B.DiagnosticsEvent||(B.DiagnosticsEvent={})),function(U){U.OVERALL="overall",U.INITIALIZE="initialize"}(V=B.DiagnosticsKey||(B.DiagnosticsKey={}));var J=function(){function U(U){this.context=U,this.markers=[]}return U.prototype.getMarkers=function(){return{context:this.context,markers:this.markers}},U.prototype.mark=function(U,B,G,Y){void 0===G&&(G=null),void 0===Y&&(Y=null),this.markers.push({key:U,step:G,action:B,value:Y,timestamp:(0,Z.now)()})},U}();B.default=J}
function(U,B,G){"use strict";G.d(B,{FK:function(){return Q},Gt:function(){return X},du:function(){return Y}});var Y,V=G(83608),Z=G(12916);function J(U){return U.length<2?U:U.reduce(function(U,B){var G=U[U.length-1];return G&&G.type===Y.literal&&B.type===Y.literal?G.value+=B.value:U.push(B),U},[])}function X(U){return"function"==typeof U}function Q(U,B,G,tt,te,tn,tr){if(1===U.length&&(0,V.O4)(U[0]))return[{type:Y.literal,value:U[0].value}];for(var ti=[],ta=0,ts=U;ta<ts.length;ta++){var tu=ts[ta];if((0,V.O4)(tu)){ti.push({type:Y.literal,value:tu.value});continue}if((0,V.yx)(tu)){"number"==typeof tn&&ti.push({type:Y.literal,value:G.getNumberFormat(B).format(tn)});continue}var tc=tu.value;if(!(te&&tc in te))throw new Z.HR(tc,tr);var td=te[tc];if((0,V.VG)(tu)){td&&"string"!=typeof td&&"number"!=typeof td||(td="string"==typeof td||"number"==typeof td?String(td):""),ti.push({type:"string"==typeof td?Y.literal:Y.object,value:td});continue}if((0,V.rp)(tu)){var tf="string"==typeof tu.style?tt.date[tu.style]:(0,V.Ii)(tu.style)?tu.style.parsedOptions:void 0;ti.push({type:Y.literal,value:G.getDateTimeFormat(B,tf).format(td)});continue}if((0,V.pe)(tu)){var tf="string"==typeof tu.style?tt.time[tu.style]:(0,V.Ii)(tu.style)?tu.style.parsedOptions:tt.time.medium;ti.push({type:Y.literal,value:G.getDateTimeFormat(B,tf).format(td)});continue}if((0,V.uf)(tu)){var tf="string"==typeof tu.style?tt.number[tu.style]:(0,V.Wh)(tu.style)?tu.style.parsedOptions:void 0;tf&&tf.scale&&(td*=tf.scale||1),ti.push({type:Y.literal,value:G.getNumberFormat(B,tf).format(td)});continue}if((0,V.HI)(tu)){var th=tu.children,tp=tu.value,tg=te[tp];if(!X(tg))throw new Z.YR(tp,"function",tr);var t_=tg(Q(th,B,G,tt,te,tn).map(function(U){return U.value}));Array.isArray(t_)||(t_=[t_]),ti.push.apply(ti,t_.map(function(U){return{type:"string"==typeof U?Y.literal:Y.object,value:U}}))}if((0,V.Wi)(tu)){var tm=tu.options[td]||tu.options.other;if(!tm)throw new Z.C8(tu.value,td,Object.keys(tu.options),tr);ti.push.apply(ti,Q(tm.value,B,G,tt,te));continue}if((0,V.Jo)(tu)){var tm=tu.options["=".concat(td)];if(!tm){if(!Intl.PluralRules)throw new Z.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Z.jK.MISSING_INTL_API,tr);var tv=G.getPluralRules(B,{type:tu.pluralType}).select(td-(tu.offset||0));tm=tu.options[tv]||tu.options.other}if(!tm)throw new Z.C8(tu.value,td,Object.keys(tu.options),tr);ti.push.apply(ti,Q(tm.value,B,G,tt,te,td-(tu.offset||0)));continue}}return J(ti)}!function(U){U[U.literal=0]="literal",U[U.object=1]="object"}(Y||(Y={}))}
function(U,B,G){"use strict";function Y(U,B){var G=B&&B.cache?B.cache:ti,Y=B&&B.serializer?B.serializer:tn;return(B&&B.strategy?B.strategy:Q)(U,{cache:G,serializer:Y})}function V(U){return null==U||"number"==typeof U||"boolean"==typeof U}function Z(U,B,G,Y){var Z=V(Y)?Y:G(Y),J=B.get(Z);return void 0===J&&(J=U.call(this,Y),B.set(Z,J)),J}function J(U,B,G){var Y=Array.prototype.slice.call(arguments,3),V=G(Y),Z=B.get(V);return void 0===Z&&(Z=U.apply(this,Y),B.set(V,Z)),Z}function X(U,B,G,Y,V){return G.bind(B,U,Y,V)}function Q(U,B){var G=1===U.length?Z:J;return X(U,this,G,B.cache.create(),B.serializer)}function tt(U,B){return X(U,this,J,B.cache.create(),B.serializer)}function te(U,B){return X(U,this,Z,B.cache.create(),B.serializer)}G.d(B,{A:function(){return ta},H:function(){return Y}});var tn=function(){return JSON.stringify(arguments)};function tr(){this.cache=Object.create(null)}tr.prototype.get=function(U){return this.cache[U]},tr.prototype.set=function(U,B){this.cache[U]=B};var ti={create:function(){return new tr}},ta={variadic:tt,monadic:te}}
function(U,B,G){"use strict";G.d(B,{Z:function(){return tq}});var Y=G(70079);function V(){return(V=Object.assign?Object.assign.bind():function(U){for(var B=1;B<arguments.length;B++){var G=arguments[B];for(var Y in G)Object.prototype.hasOwnProperty.call(G,Y)&&(U[Y]=G[Y])}return U}).apply(this,arguments)}function Z(U){if(U<1)return{get:function(){},set:function(){}};var B=0,G=new Map,Y=new Map;function V(V,Z){G.set(V,Z),++B>U&&(B=0,Y=G,G=new Map)}return{get:function(U){var B=G.get(U);return void 0!==B?B:void 0!==(B=Y.get(U))?(V(U,B),B):void 0},set:function(U,B){G.has(U)?G.set(U,B):V(U,B)}}}var J="-";function X(U){var B=tn(U);return{getClassGroupId:function(U){var G=U.split(J);return""===G[0]&&1!==G.length&&G.shift(),Q(G,B)||te(U)},getConflictingClassGroupIds:function(B){return U.conflictingClassGroups[B]||[]}}}function Q(U,B){if(0===U.length)return B.classGroupId;var G,Y=U[0],V=B.nextPart.get(Y),Z=V?Q(U.slice(1),V):void 0;if(Z)return Z;if(0!==B.validators.length){var X=U.join(J);return null==(G=B.validators.find(function(U){return(0,U.validator)(X)}))?void 0:G.classGroupId}}var tt=/^\[(.+)\]$/;function te(U){if(tt.test(U)){var B=tt.exec(U)[1],G=null==B?void 0:B.substring(0,B.indexOf(":"));if(G)return"arbitrary.."+G}}function tn(U){var B=U.theme,G=U.prefix,Y={nextPart:new Map,validators:[]};return ts(Object.entries(U.classGroups),G).forEach(function(U){var G=U[0];tr(U[1],Y,G,B)}),Y}function tr(U,B,G,Y){U.forEach(function(U){if("string"==typeof U){(""===U?B:ti(B,U)).classGroupId=G;return}if("function"==typeof U){if(ta(U)){tr(U(Y),B,G,Y);return}B.validators.push({validator:U,classGroupId:G});return}Object.entries(U).forEach(function(U){var V=U[0];tr(U[1],ti(B,V),G,Y)})})}function ti(U,B){var G=U;return B.split(J).forEach(function(U){G.nextPart.has(U)||G.nextPart.set(U,{nextPart:new Map,validators:[]}),G=G.nextPart.get(U)}),G}function ta(U){return U.isThemeGetter}function ts(U,B){return B?U.map(function(U){return[U[0],U[1].map(function(U){return"string"==typeof U?B+U:"object"==typeof U?Object.fromEntries(Object.entries(U).map(function(U){return[B+U[0],U[1]]})):U})]}):U}var tu="!";function tc(U){var B=U.separator||":";return function(U){for(var G=0,Y=[],V=0,Z=0;Z<U.length;Z++){var J=U[Z];0===G&&J===B[0]&&(1===B.length||U.slice(Z,Z+B.length)===B)&&(Y.push(U.slice(V,Z)),V=Z+B.length),"["===J?G++:"]"===J&&G--}var X=0===Y.length?U:U.substring(V),Q=X.startsWith(tu),tt=Q?X.substring(1):X;return{modifiers:Y,hasImportantModifier:Q,baseClassName:tt}}}function td(U){if(U.length<=1)return U;var B=[],G=[];return U.forEach(function(U){"["===U[0]?(B.push.apply(B,G.sort().concat([U])),G=[]):G.push(U)}),B.push.apply(B,G.sort()),B}function tf(U){return V({cache:Z(U.cacheSize),splitModifiers:tc(U)},X(U))}var th=/\s+/;function tp(U,B){var G=B.splitModifiers,Y=B.getClassGroupId,V=B.getConflictingClassGroupIds,Z=new Set;return U.trim().split(th).map(function(U){var B=G(U),V=B.modifiers,Z=B.hasImportantModifier,J=Y(B.baseClassName);if(!J)return{isTailwindClass:!1,originalClassName:U};var X=td(V).join(":");return{isTailwindClass:!0,modifierId:Z?X+tu:X,classGroupId:J,originalClassName:U}}).reverse().filter(function(U){if(!U.isTailwindClass)return!0;var B=U.modifierId,G=U.classGroupId,Y=B+G;return!Z.has(Y)&&(Z.add(Y),V(G).forEach(function(U){return Z.add(B+U)}),!0)}).reverse().map(function(U){return U.originalClassName}).join(" ")}function tg(){for(var U,B,G=0,Y="";G<arguments.length;)(U=arguments[G++])&&(B=t_(U))&&(Y&&(Y+=" "),Y+=B);return Y}function t_(U){if("string"==typeof U)return U;for(var B,G="",Y=0;Y<U.length;Y++)U[Y]&&(B=t_(U[Y]))&&(G&&(G+=" "),G+=B);return G}function tm(){for(var U,B,G,Y=arguments.length,V=Array(Y),Z=0;Z<Y;Z++)V[Z]=arguments[Z];var J=X;function X(Y){var Z=V[0];return B=(U=tf(V.slice(1).reduce(function(U,B){return B(U)},Z()))).cache.get,G=U.cache.set,J=Q,Q(Y)}function Q(Y){var V=B(Y);if(V)return V;var Z=tp(Y,U);return G(Y,Z),Z}return function(){return J(tg.apply(null,arguments))}}function tv(U){var B=function(B){return B[U]||[]};return B.isThemeGetter=!0,B}var ty=/^\[(.+)\]$/,tb=/^\d+\/\d+$/,tE=new Set(["px","full","screen"]),tw=/^(\d+)?(xs|sm|md|lg|xl)$/,tS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,tx=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function tk(U){return!Number.isNaN(Number(U))||tE.has(U)||tb.test(U)||tT(U)}function tT(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&(G.startsWith("length:")||tS.test(G))}function tC(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&G.startsWith("size:")}function tR(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&G.startsWith("position:")}function tA(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&(G.startsWith("url(")||G.startsWith("url:"))}function tO(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&(!Number.isNaN(Number(G))||G.startsWith("number:"))}function tI(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return G?Number.isInteger(Number(G)):Number.isInteger(Number(U))}function tN(U){return ty.test(U)}function tD(){return!0}function tL(U){return tw.test(U)}function tP(U){var B,G=null==(B=ty.exec(U))?void 0:B[1];return!!G&&tx.test(G)}var tM=tm(function(){var U=tv("colors"),B=tv("spacing"),G=tv("blur"),Y=tv("brightness"),V=tv("borderColor"),Z=tv("borderRadius"),J=tv("borderSpacing"),X=tv("borderWidth"),Q=tv("contrast"),tt=tv("grayscale"),te=tv("hueRotate"),tn=tv("invert"),tr=tv("gap"),ti=tv("gradientColorStops"),ta=tv("inset"),ts=tv("margin"),tu=tv("opacity"),tc=tv("padding"),td=tv("saturate"),tf=tv("scale"),th=tv("sepia"),tp=tv("skew"),tg=tv("space"),t_=tv("translate"),tm=function(){return["auto","contain","none"]},ty=function(){return["auto","hidden","clip","visible","scroll"]},tb=function(){return["auto",B]},tE=function(){return["",tk]},tw=function(){return["auto",tI]},tS=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},tx=function(){return["solid","dashed","dotted","double","none"]},tM=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},tU=function(){return["start","end","center","between","around","evenly"]},tB=function(){return["","0",tN]},tj=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]};return{cacheSize:500,theme:{colors:[tD],spacing:[tk],blur:["none","",tL,tT],brightness:[tI],borderColor:[U],borderRadius:["none","","full",tL,tT],borderSpacing:[B],borderWidth:tE(),contrast:[tI],grayscale:tB(),hueRotate:[tI],invert:tB(),gap:[B],gradientColorStops:[U],inset:tb(),margin:tb(),opacity:[tI],padding:[B],saturate:[tI],scale:[tI],sepia:tB(),skew:[tI,tN],space:[B],translate:[B]},classGroups:{aspect:[{aspect:["auto","square","video",tN]}],container:["container"],columns:[{columns:[tL]}],"break-after":[{"break-after":tj()}],"break-before":[{"break-before":tj()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(tS(),[tN])}],overflow:[{overflow:ty()}],"overflow-x":[{"overflow-x":ty()}],"overflow-y":[{"overflow-y":ty()}],overscroll:[{overscroll:tm()}],"overscroll-x":[{"overscroll-x":tm()}],"overscroll-y":[{"overscroll-y":tm()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ta]}],"inset-x":[{"inset-x":[ta]}],"inset-y":[{"inset-y":[ta]}],top:[{top:[ta]}],right:[{right:[ta]}],bottom:[{bottom:[ta]}],left:[{left:[ta]}],visibility:["visible","invisible","collapse"],z:[{z:[tI]}],basis:[{basis:[B]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",tN]}],grow:[{grow:tB()}],shrink:[{shrink:tB()}],order:[{order:["first","last","none",tI]}],"grid-cols":[{"grid-cols":[tD]}],"col-start-end":[{col:["auto",{span:[tI]}]}],"col-start":[{"col-start":tw()}],"col-end":[{"col-end":tw()}],"grid-rows":[{"grid-rows":[tD]}],"row-start-end":[{row:["auto",{span:[tI]}]}],"row-start":[{"row-start":tw()}],"row-end":[{"row-end":tw()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",tN]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",tN]}],gap:[{gap:[tr]}],"gap-x":[{"gap-x":[tr]}],"gap-y":[{"gap-y":[tr]}],"justify-content":[{justify:tU()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(tU(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(tU(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[tc]}],px:[{px:[tc]}],py:[{py:[tc]}],pt:[{pt:[tc]}],pr:[{pr:[tc]}],pb:[{pb:[tc]}],pl:[{pl:[tc]}],m:[{m:[ts]}],mx:[{mx:[ts]}],my:[{my:[ts]}],mt:[{mt:[ts]}],mr:[{mr:[ts]}],mb:[{mb:[ts]}],ml:[{ml:[ts]}],"space-x":[{"space-x":[tg]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[tg]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",B]}],"min-w":[{"min-w":["min","max","fit",tk]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[tL]},tL,tT]}],h:[{h:[B,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",tk]}],"max-h":[{"max-h":[B,"min","max","fit"]}],"font-size":[{text:["base",tL,tT]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",tO]}],"font-family":[{font:[tD]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",tT]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",tk]}],"list-style-type":[{list:["none","disc","decimal",tN]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[U]}],"placeholder-opacity":[{"placeholder-opacity":[tu]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[U]}],"text-opacity":[{"text-opacity":[tu]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(tx(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",tk]}],"underline-offset":[{"underline-offset":["auto",tk]}],"text-decoration-color":[{decoration:[U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[B]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tT]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",tN]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[tu]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(tS(),[tR])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",tC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},tA]}],"bg-color":[{bg:[U]}],"gradient-from":[{from:[ti]}],"gradient-via":[{via:[ti]}],"gradient-to":[{to:[ti]}],rounded:[{rounded:[Z]}],"rounded-t":[{"rounded-t":[Z]}],"rounded-r":[{"rounded-r":[Z]}],"rounded-b":[{"rounded-b":[Z]}],"rounded-l":[{"rounded-l":[Z]}],"rounded-tl":[{"rounded-tl":[Z]}],"rounded-tr":[{"rounded-tr":[Z]}],"rounded-br":[{"rounded-br":[Z]}],"rounded-bl":[{"rounded-bl":[Z]}],"border-w":[{border:[X]}],"border-w-x":[{"border-x":[X]}],"border-w-y":[{"border-y":[X]}],"border-w-t":[{"border-t":[X]}],"border-w-r":[{"border-r":[X]}],"border-w-b":[{"border-b":[X]}],"border-w-l":[{"border-l":[X]}],"border-opacity":[{"border-opacity":[tu]}],"border-style":[{border:[].concat(tx(),["hidden"])}],"divide-x":[{"divide-x":[X]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[X]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[tu]}],"divide-style":[{divide:tx()}],"border-color":[{border:[V]}],"border-color-x":[{"border-x":[V]}],"border-color-y":[{"border-y":[V]}],"border-color-t":[{"border-t":[V]}],"border-color-r":[{"border-r":[V]}],"border-color-b":[{"border-b":[V]}],"border-color-l":[{"border-l":[V]}],"divide-color":[{divide:[V]}],"outline-style":[{outline:[""].concat(tx())}],"outline-offset":[{"outline-offset":[tk]}],"outline-w":[{outline:[tk]}],"outline-color":[{outline:[U]}],"ring-w":[{ring:tE()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[U]}],"ring-opacity":[{"ring-opacity":[tu]}],"ring-offset-w":[{"ring-offset":[tk]}],"ring-offset-color":[{"ring-offset":[U]}],shadow:[{shadow:["","inner","none",tL,tP]}],"shadow-color":[{shadow:[tD]}],opacity:[{opacity:[tu]}],"mix-blend":[{"mix-blend":tM()}],"bg-blend":[{"bg-blend":tM()}],filter:[{filter:["","none"]}],blur:[{blur:[G]}],brightness:[{brightness:[Y]}],contrast:[{contrast:[Q]}],"drop-shadow":[{"drop-shadow":["","none",tL,tN]}],grayscale:[{grayscale:[tt]}],"hue-rotate":[{"hue-rotate":[te]}],invert:[{invert:[tn]}],saturate:[{saturate:[td]}],sepia:[{sepia:[th]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[G]}],"backdrop-brightness":[{"backdrop-brightness":[Y]}],"backdrop-contrast":[{"backdrop-contrast":[Q]}],"backdrop-grayscale":[{"backdrop-grayscale":[tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[te]}],"backdrop-invert":[{"backdrop-invert":[tn]}],"backdrop-opacity":[{"backdrop-opacity":[tu]}],"backdrop-saturate":[{"backdrop-saturate":[td]}],"backdrop-sepia":[{"backdrop-sepia":[th]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[J]}],"border-spacing-x":[{"border-spacing-x":[J]}],"border-spacing-y":[{"border-spacing-y":[J]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",tN]}],duration:[{duration:[tI]}],ease:[{ease:["linear","in","out","in-out",tN]}],delay:[{delay:[tI]}],animate:[{animate:["none","spin","ping","pulse","bounce",tN]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[tf]}],"scale-x":[{"scale-x":[tf]}],"scale-y":[{"scale-y":[tf]}],rotate:[{rotate:[tI,tN]}],"translate-x":[{"translate-x":[t_]}],"translate-y":[{"translate-y":[t_]}],"skew-x":[{"skew-x":[tp]}],"skew-y":[{"skew-y":[tp]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",tN]}],accent:[{accent:["auto",U]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",tN]}],"caret-color":[{caret:[U]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[B]}],"scroll-mx":[{"scroll-mx":[B]}],"scroll-my":[{"scroll-my":[B]}],"scroll-mt":[{"scroll-mt":[B]}],"scroll-mr":[{"scroll-mr":[B]}],"scroll-mb":[{"scroll-mb":[B]}],"scroll-ml":[{"scroll-ml":[B]}],"scroll-p":[{"scroll-p":[B]}],"scroll-px":[{"scroll-px":[B]}],"scroll-py":[{"scroll-py":[B]}],"scroll-pt":[{"scroll-pt":[B]}],"scroll-pr":[{"scroll-pr":[B]}],"scroll-pb":[{"scroll-pb":[B]}],"scroll-pl":[{"scroll-pl":[B]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",tN]}],fill:[{fill:[U,"none"]}],"stroke-w":[{stroke:[tk,tO]}],stroke:[{stroke:[U,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],"col-start-end":["col-start","col-end"],"row-start-end":["row-start","row-end"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}),tU=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],tB=Symbol("isTwElement?"),tj=(U,B)=>U.reduce((U,G,Y)=>U.concat(G||[],B[Y]||[]),[]),tG=(U,B="")=>{let G=U.join(" ").trim().replace(/\n/g," ").replace(/\s{2,}/g," ").split(" ").filter(U=>","!==U),Y=B?B.split(" "):[];return tM(...G.concat(Y).filter(U=>" "!==U))},tF=([U])=>"$"!==U.charAt(0),tH=U=>!0===U[tB],tz=U=>(B,...G)=>{let V=(Z=[])=>{let J=Y.forwardRef((V,J)=>{let{$as:X=U,style:Q={},...tt}=V,te=tH(U)?U:X,tn=Z?Z.reduce((U,B)=>Object.assign(U,"function"==typeof B?B(V):B),{}):{},tr=tH(te)?tt:Object.fromEntries(Object.entries(tt).filter(tF));return Y.createElement(te,{...tr,style:{...tn,...Q},ref:J,className:tG(tj(B,G.map(U=>U({...tt,$as:X}))),tt.className),...tH(U)?{$as:X}:{}})});return J[tB]=!0,"string"!=typeof U?J.displayName=U.displayName||U.name||"tw.Component":J.displayName="tw."+U,J.withStyle=U=>V(Z.concat(U)),J};return V()},t$=tU.reduce((U,B)=>({...U,[B]:tz(B)}),{}),tq=Object.assign(tz,t$)}
function(U,B,G){"use strict";var Y,V=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},Z=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},J=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0}),B.StatsigEndpoint=void 0;var X=J(G(80300)),Q=G(33220);!function(U){U.Initialize="initialize",U.Rgstr="rgstr",U.LogEventBeacon="log_event_beacon"}(Y=B.StatsigEndpoint||(B.StatsigEndpoint={}));var tt=204,te=function(){function U(U){this.retryCodes={408:!0,500:!0,502:!0,503:!0,504:!0,522:!0,524:!0,599:!0},this.canUseKeepalive=!1,this.sdkInternal=U,this.leakyBucket={},this.init()}return U.prototype.init=function(){if(!this.sdkInternal.getOptions().getDisableNetworkKeepalive())try{this.canUseKeepalive="keepalive"in new Request("")}catch(U){}},U.prototype.fetchValues=function(U,B,G,V,Z,J,X){var Q={user:U,prefetchUsers:X,statsigMetadata:this.sdkInternal.getStatsigMetadata(),sinceTime:null!=B?B:void 0};return this.postWithTimeout(Y.Initialize,Q,V,Z,J,G,3)},U.prototype.postWithTimeout=function(U,B,G,J,X,tt,te,tn){var tr=this;void 0===tt&&(tt=0),void 0===te&&(te=0),void 0===tn&&(tn=1e3),U===Y.Initialize&&(null==X||X.mark(Q.DiagnosticsKey.INITIALIZE,Q.DiagnosticsEvent.START,"network_request"));var ti=this.postToEndpoint(U,B,te,tn).then(function(J){if(U===Y.Initialize&&(null==X||X.mark(Q.DiagnosticsKey.INITIALIZE,Q.DiagnosticsEvent.END,"network_request",J.status)),!J.ok)return Promise.reject(Error("Request to "+U+" failed with status "+J.status));if("object"!=typeof J.data){var tt=Error("Request to "+U+" received invalid response type. Expected 'object' but got '"+typeof J.data+"'");return tr.sdkInternal.getErrorBoundary().logError("postWithTimeoutInvalidRes",tt,function(){return V(tr,void 0,void 0,function(){return Z(this,function(G){return[2,this.getErrorData(U,B,te,tn,J)]})})}),Promise.reject(tt)}var ti=J.data;return tr.sdkInternal.getErrorBoundary().capture("postWithTimeout",function(){return V(tr,void 0,void 0,function(){return Z(this,function(U){return G(ti),[2,Promise.resolve(ti)]})})},function(){return Promise.resolve({})},function(){return V(tr,void 0,void 0,function(){return Z(this,function(G){return[2,this.getErrorData(U,B,te,tn,J)]})})})}).then(function(){}).catch(function(B){return U===Y.Initialize&&(null==X||X.mark(Q.DiagnosticsKey.INITIALIZE,Q.DiagnosticsEvent.END,"network_request",!1)),"function"==typeof J&&J(B),Promise.reject(B)});return 0!=tt?Promise.race([ti,new Promise(function(U,B){setTimeout(function(){B(Error("The initialization timeout of "+tt+"ms has been hit before the network request has completed."))},tt)})]):ti},U.prototype.sendLogBeacon=function(U){if(this.sdkInternal.getOptions().getLocalModeEnabled())return!0;var B=new URL(this.sdkInternal.getOptions().getEventLoggingApi()+Y.LogEventBeacon);B.searchParams.append("k",this.sdkInternal.getSDKKey()),U.clientTime=Date.now()+"";var G=null;try{G=JSON.stringify(U)}catch(U){return!1}return navigator.sendBeacon(B.toString(),G)},U.prototype.postToEndpoint=function(U,B,G,J,Q){return void 0===G&&(G=0),void 0===J&&(J=1e3),void 0===Q&&(Q=!1),V(this,void 0,void 0,function(){var te,tn,tr,ti,ta,ts=this;return Z(this,function(tu){if(this.sdkInternal.getOptions().getLocalModeEnabled())return[2,Promise.reject("no network requests in localMode")];if("function"!=typeof fetch)return[2,Promise.reject("fetch is not defined")];if("undefined"==typeof window&&!this.sdkInternal.getOptions().getIgnoreWindowUndefined())return[2,Promise.reject("window is not defined")];if(te=(U==Y.Initialize?this.sdkInternal.getOptions().getApi():this.sdkInternal.getOptions().getEventLoggingApi())+U,null!=(tn=this.leakyBucket[te])&&tn>=30)return[2,Promise.reject(Error("Request failed because you are making the same request too frequently."))];if(null==tn?this.leakyBucket[te]=1:this.leakyBucket[te]=tn+1,tr=U===Y.Initialize&&X.default.encodeInitializeCall&&"undefined"!=typeof window&&"function"==typeof(null==window?void 0:window.btoa),ti=JSON.stringify(B),tr)try{ti=window.btoa(ti).split("").reverse().join("")}catch(U){tr=!1}return ta={method:"POST",body:ti,headers:{"Content-type":"application/json; charset=UTF-8","STATSIG-API-KEY":this.sdkInternal.getSDKKey(),"STATSIG-CLIENT-TIME":Date.now()+"","STATSIG-SDK-TYPE":this.sdkInternal.getSDKType(),"STATSIG-SDK-VERSION":this.sdkInternal.getSDKVersion(),"STATSIG-ENCODED":tr?"1":"0"}},this.canUseKeepalive&&Q&&(ta.keepalive=!0),[2,fetch(te,ta).then(function(U){return V(ts,void 0,void 0,function(){var B,Y,V;return Z(this,function(Z){switch(Z.label){case 0:if(!U.ok)return[3,4];if(B=U,U.status!==tt)return[3,1];return B.data={has_updates:!1,is_no_content:!0},[3,3];case 1:return[4,U.text()];case 2:Y=Z.sent(),B.data=JSON.parse(Y),Z.label=3;case 3:return[2,Promise.resolve(B)];case 4:return this.retryCodes[U.status]||(G=0),[4,U.text()];case 5:return V=Z.sent(),[2,Promise.reject(Error(U.status+": "+V))]}})})}).catch(function(Y){return G>0?new Promise(function(Y,V){setTimeout(function(){ts.leakyBucket[te]=Math.max(ts.leakyBucket[te]-1,0),ts.postToEndpoint(U,B,G-1,2*J,Q).then(Y).catch(V)},J)}):Promise.reject(Y)}).finally(function(){ts.leakyBucket[te]=Math.max(ts.leakyBucket[te]-1,0)})]})})},U.prototype.supportsKeepalive=function(){return this.canUseKeepalive},U.prototype.getErrorData=function(U,B,G,Y,J){var X;return V(this,void 0,void 0,function(){var V;return Z(this,function(Z){try{return V={},(null!==(X=J.headers)&&void 0!==X?X:[]).forEach(function(U,B){V[B]=U}),[2,{responseInfo:{headers:V,status:J.status,statusText:J.statusText,type:J.type,url:J.url,redirected:J.redirected,bodySnippet:J.data?JSON.stringify(J.data).slice(0,500):null},requestInfo:{endpointName:U,bodySnippet:JSON.stringify(B).slice(0,500),retries:G,backoff:Y}}]}catch(U){return[2,{statusText:"statsig::failed to extract extra data"}]}return[2]})})},U}();B.default=te}
function(U,B,G){"use strict";G.d(B,{NL:function(){return X},aH:function(){return Q}});var Y=G(70079);let V=Y.createContext(void 0),Z=Y.createContext(!1);function J(U,B){return U||(B&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=V),window.ReactQueryClientContext):V)}let X=({context:U}={})=>{let B=Y.useContext(J(U,Y.useContext(Z)));if(!B)throw Error("No QueryClient set, use QueryClientProvider to set one");return B},Q=({client:U,children:B,context:G,contextSharing:V=!1})=>{Y.useEffect(()=>(U.mount(),()=>{U.unmount()}),[U]);let X=J(G,V);return Y.createElement(Z.Provider,{value:!G&&V},Y.createElement(X.Provider,{value:U},B))}}
function(U,B,G){"use strict";G.d(B,{MC:function(){return V},VY:function(){return Y},s6:function(){return Z}});var Y="Explorer: ",V={Dashboard:"Dashboard: ",Thread:"Thread: ",CodeQA:"CodeQA: "},Z={pageLoad:function(U){return"".concat(U,"Page Load")},editPrompt:function(U){return"".concat(U,"Edit Prompt")},cancelEditPrompt:function(U){return"".concat(U,"Cancel Edit Prompt")},editCompletion:function(U){return"".concat(U,"Edit Completion")},cancelEditCompletion:function(U){return"".concat(U,"Cancel Edit Completion")},generateCompletion:function(U){return"".concat(U,"Generate Completion")},pauseCompletion:function(U){return"".concat(U,"Pause Completion")},copyToClipboard:function(U){return"".concat(U,"Copy Thread to Clipboard")},copyNodeToClipboard:function(U){return"".concat(U,"Copy Node to Clipboard")},continueCompletion:function(U){return"".concat(U,"Continue Completion")},newThread:function(U){return"".concat(U,"Create New Thread")},loadThread:function(U){return"".concat(U,"Load Thread")},renameThread:function(U){return"".concat(U,"Rename Thread")},toggleModel:function(U){return"".concat(U,"Toggle Model")},uploadFile:function(U){return"".concat(U,"Upload File")},changeNode:function(U){return"".concat(U,"Change Active Node")},enableFormattingThread:function(U){return"".concat(U,"Enable Thread Formatting")},disableFormattingThread:function(U){return"".concat(U,"Disable Thread Formatting")},enableFormatNode:function(U){return"".concat(U,"Enable Node Formatting")},disableFormatNode:function(U){return"".concat(U,"Disable Node Formatting")},addLink:function(U){return"".concat(U,"Add Link")},removeLink:function(U){return"".concat(U,"Remove Link")},moderationError:function(U){return"".concat(U,"Moderation: Error")},promptFlaggedByModeration:function(U){return"".concat(U,"Moderation: Prompt Content Flagged")},promptBlockedByModeration:function(U){return"".concat(U,"Moderation: Prompt Content Blocked")},promptUsedRestrictedWords:function(U){return"".concat(U,"Moderation: Prompt Has Restricted Terms")},completionFlaggedByModeration:function(U){return"".concat(U,"Moderation: Completion Content Flagged")},completionBlockedByModeration:function(U){return"".concat(U,"Moderation: Completion Content Blocked")},clickDiscordLink:function(U){return"".concat(U,"Click Discord")},clickFaqLink:function(U){return"".concat(U,"Click FAQ")},clickSurveyLink:function(U){return"".concat(U,"Click Survey")},clickSwitcher:function(U){return"".concat(U,"Click Switcher")},clickModalAccountPaymentSecondaryButton:function(U){return"".concat(U,"Account Pay: Click Modal Announcement Secondary Button")},clickSidebarAccountPaymentMenuItem:function(U){return"".concat(U,"Account Pay: Click Sidebar Account Pay")},clickAccountPaymentSuccessContinue:function(U){return"".concat(U,"Account Pay: Click Account Payment Success Continue")},clickAccountPaymentCheckout:function(U){return"".concat(U,"Account Pay: Payment Checkout Clicked")},closeAccountPaymentModal:function(U){return"".concat(U,"Account Pay: Close Account Payment Modal")},accountUpgradeFullpageLoaded:function(U){return"".concat(U,"Account Pay: Full Page Account Upgrade Modal")},clickSidebarAccountPortalMenuItem:function(U){return"".concat(U,"Account Portal: Click Sidebar Account Portal")},clickAccountCustomerPortal:function(U){return"".concat(U,"Account Portal: Click Manage My Subscription")},clickAccountPaymentGetHelp:function(U){return"".concat(U,"Account Portal: Click Get Help")},clickAccountManageIos:function(U){return"".concat(U,"Account Portal: Click iOS Manage Subscription")},forceLogInModal:function(U){return"".concat(U,"Account: Force Login Modal Shown")},clickLogOut:function(U){return"".concat(U)},ageConfirmationModal:function(U){return"".concat(U,"Account: Age Confirmation Modal Shown")},enableChatHistory:function(U){return"".concat(U,"Enable Chat History")},disableChatHistory:function(U){return"".concat(U,"Disable Chat History")},renderTool2Message:function(U){return"".concat(U,"Tool 2: Render Message")},expandTool2Message:function(U){return"".concat(U,"Tool 2: Expand Message")},carouselCardClick:function(U){return"".concat(U,"Carousel Card Click")},announcementViewed:function(U){return"".concat(U,"Release Announcement: Announcement was Viewed")},reportResult:function(U){return"".concat(U,"Report Result")},thumbRating:function(U){return"".concat(U,"Rated Result")},allowContactForFeedback:function(U){return"".concat(U,"Allow contact for Feedback")},displayedThumbsDownFeedbackForm:function(U){return"".concat(U,"Displayed Thumbs Down Feedback Form")},submitThumbsDownFeedbackForm:function(U){return"".concat(U,"Submitted Thumbs Down Feedback Form")},skippedThumbsDownFeedbackForm:function(U){return"".concat(U,"Skipped Thumbs Down Feedback Form")},displayedComparisonUIV0:function(U){return"".concat(U,"Displayed Comparison UI V0")},submittedComparisonUIV0:function(U){return"".concat(U,"Submitted Comparison UI V0")},skippedComparisonUIV0:function(U){return"".concat(U,"Skipped Comparison UI V0")}}}
function(U){function B(U,B){(null==B||B>U.length)&&(B=U.length);for(var G=0,Y=Array(B);G<B;G++)Y[G]=U[G];return Y}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{b:function(){return Z},k:function(){return V}});var Y=G(70079);function V(U,B){let G=(0,Y.createContext)(B);function V(U){let{children:B,...V}=U,Z=(0,Y.useMemo)(()=>V,Object.values(V));return(0,Y.createElement)(G.Provider,{value:Z},B)}function Z(V){let Z=(0,Y.useContext)(G);if(Z)return Z;if(void 0!==B)return B;throw Error(`\`${V}\` must be used within \`${U}\``)}return V.displayName=U+"Provider",[V,Z]}function Z(U,B=[]){let G=[];function V(B,V){let Z=(0,Y.createContext)(V),J=G.length;function X(B){let{scope:G,children:V,...X}=B,Q=(null==G?void 0:G[U][J])||Z,tt=(0,Y.useMemo)(()=>X,Object.values(X));return(0,Y.createElement)(Q.Provider,{value:tt},V)}function Q(G,X){let Q=(null==X?void 0:X[U][J])||Z,tt=(0,Y.useContext)(Q);if(tt)return tt;if(void 0!==V)return V;throw Error(`\`${G}\` must be used within \`${B}\``)}return G=[...G,V],X.displayName=B+"Provider",[X,Q]}let Z=()=>{let B=G.map(U=>(0,Y.createContext)(U));return function(G){let V=(null==G?void 0:G[U])||B;return(0,Y.useMemo)(()=>({[`__scope${U}`]:{...G,[U]:V}}),[G,V])}};return Z.scopeName=U,[V,J(Z,...B)]}function J(...U){let B=U[0];if(1===U.length)return B;let G=()=>{let G=U.map(U=>({useScope:U(),scopeName:U.scopeName}));return function(U){let V=G.reduce((B,{useScope:G,scopeName:Y})=>{let V=G(U),Z=V[`__scope${Y}`];return{...B,...Z}},{});return(0,Y.useMemo)(()=>({[`__scope${B.scopeName}`]:V}),[V])}};return G.scopeName=B.scopeName,G}}
function(U,B,G){"use strict";G.d(B,{_:function(){return J}});var Y=G(70079);function V(){let U=!1;return{clearReset:()=>{U=!1},reset:()=>{U=!0},isReset:()=>U}}let Z=Y.createContext(V()),J=()=>Y.useContext(Z)}
function(U,B,G){"use strict";G.d(B,{Rt:function(){return X},l4:function(){return tt},qT:function(){return te}});var Y=G(52560),V=G(82633);let Z=(0,V.Rf)(),J=80;function X(U,B={}){try{let G,Y=U,V=5,Z=[],X=0,tt=0,te=" > ",tn=te.length,tr=Array.isArray(B)?B:B.keyAttrs,ti=!Array.isArray(B)&&B.maxStringLength||J;for(;Y&&X++<V&&(G=Q(Y,tr),"html"!==G&&(!(X>1)||!(tt+Z.length*tn+G.length>=ti)));)Z.push(G),tt+=G.length,Y=Y.parentNode;return Z.reverse().join(te)}catch(U){return"<unknown>"}}function Q(U,B){let G,V,Z,J,X;let Q=U,tt=[];if(!Q||!Q.tagName)return"";tt.push(Q.tagName.toLowerCase());let te=B&&B.length?B.filter(U=>Q.getAttribute(U)).map(U=>[U,Q.getAttribute(U)]):null;if(te&&te.length)te.forEach(U=>{tt.push(`[${U[0]}="${U[1]}"]`)});else if(Q.id&&tt.push(`#${Q.id}`),(G=Q.className)&&(0,Y.HD)(G))for(X=0,V=G.split(/\s+/);X<V.length;X++)tt.push(`.${V[X]}`);let tn=["aria-label","type","name","title","alt"];for(X=0;X<tn.length;X++)Z=tn[X],(J=Q.getAttribute(Z))&&tt.push(`[${Z}="${J}"]`);return tt.join("")}function tt(){try{return Z.document.location.href}catch(U){return""}}function te(U){return Z.document&&Z.document.querySelector?Z.document.querySelector(U):null}}
function(U,B,G){"use strict";let Y;G.d(B,{Z1:function(){return ta},ph:function(){return ti},yW:function(){return tr}});var V=G(69001),Z=G(82633);U=G.hmd(U);let J=(0,Z.Rf)(),X={nowSeconds:()=>Date.now()/1e3};function Q(){let{performance:U}=J;if(!U||!U.now)return;let B=Date.now()-U.now();return{now:()=>U.now(),timeOrigin:B}}function tt(){try{let B=(0,V.l$)(U,"perf_hooks");return B.performance}catch(U){return}}let te=(0,V.KV)()?tt():Q(),tn=void 0===te?X:{nowSeconds:()=>(te.timeOrigin+te.now())/1e3},tr=X.nowSeconds.bind(X),ti=tn.nowSeconds.bind(tn),ta=(()=>{let{performance:U}=J;if(!U||!U.now){Y="none";return}let B=36e5,G=U.now(),V=Date.now(),Z=U.timeOrigin?Math.abs(U.timeOrigin+G-V):B,X=Z<B,Q=U.timing&&U.timing.navigationStart,tt="number"==typeof Q,te=tt?Math.abs(Q+G-V):B,tn=te<B;return X||tn?Z<=te?(Y="timeOrigin",U.timeOrigin):(Y="navigationStart",Q):(Y="dateNow",V)})()}
function(U,B,G){"use strict";G.d(B,{Z:function(){return tK}});var Y,V=G(39889),Z=G(70079),J="right-scroll-bar-position",X="width-before-scroll-bar",Q="with-scroll-bars-hidden",tt="--removed-body-scroll-bar-size";function te(U,B){return"function"==typeof U?U(B):U&&(U.current=B),U}function tn(U,B){var G=(0,Z.useState)(function(){return{value:U,callback:B,facade:{get current(){return G.value},set current(value){var Y=G.value;Y!==value&&(G.value=value,G.callback(value,Y))}}}})[0];return G.callback=B,G.facade}function tr(U,B){return tn(B||null,function(B){return U.forEach(function(U){return te(U,B)})})}function ti(U){return U}function ta(U,B){void 0===B&&(B=ti);var G=[],Y=!1;return{read:function(){if(Y)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return G.length?G[G.length-1]:U},useMedium:function(U){var V=B(U,Y);return G.push(V),function(){G=G.filter(function(U){return U!==V})}},assignSyncMedium:function(U){for(Y=!0;G.length;){var B=G;G=[],B.forEach(U)}G={push:function(B){return U(B)},filter:function(){return G}}},assignMedium:function(U){Y=!0;var B=[];if(G.length){var V=G;G=[],V.forEach(U),B=G}var Z=function(){var G=B;B=[],G.forEach(U)},J=function(){return Promise.resolve().then(Z)};J(),G={push:function(U){B.push(U),J()},filter:function(U){return B=B.filter(U),G}}}}}var ts=function(U){void 0===U&&(U={});var B=ta(null);return B.options=(0,V.pi)({async:!0,ssr:!1},U),B}(),tu=function(){},tc=Z.forwardRef(function(U,B){var G=Z.useRef(null),Y=Z.useState({onScrollCapture:tu,onWheelCapture:tu,onTouchMoveCapture:tu}),J=Y[0],X=Y[1],Q=U.forwardProps,tt=U.children,te=U.className,tn=U.removeScrollBar,ti=U.enabled,ta=U.shards,tc=U.sideCar,td=U.noIsolation,tf=U.inert,th=U.allowPinchZoom,tp=U.as,tg=void 0===tp?"div":tp,t_=(0,V._T)(U,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),tm=tc,tv=tr([G,B]),ty=(0,V.pi)((0,V.pi)({},t_),J);return Z.createElement(Z.Fragment,null,ti&&Z.createElement(tm,{sideCar:ts,removeScrollBar:tn,shards:ta,noIsolation:td,inert:tf,setCallbacks:X,allowPinchZoom:!!th,lockRef:G}),Q?Z.cloneElement(Z.Children.only(tt),(0,V.pi)((0,V.pi)({},ty),{ref:tv})):Z.createElement(tg,(0,V.pi)({},ty,{className:te,ref:tv}),tt))});tc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tc.classNames={fullWidth:X,zeroRight:J};var td=function(U){var B=U.sideCar,G=(0,V._T)(U,["sideCar"]);if(!B)throw Error("Sidecar: please provide `sideCar` property to import the right car");var Y=B.read();if(!Y)throw Error("Sidecar medium not found");return Z.createElement(Y,(0,V.pi)({},G))};function tf(U,B){return U.useMedium(B),td}td.isSideCarExport=!0;var th=function(){return Y||G.nc};function tp(){if(!document)return null;var U=document.createElement("style");U.type="text/css";var B=th();return B&&U.setAttribute("nonce",B),U}function tg(U,B){U.styleSheet?U.styleSheet.cssText=B:U.appendChild(document.createTextNode(B))}function t_(U){(document.head||document.getElementsByTagName("head")[0]).appendChild(U)}var tm=function(){var U=0,B=null;return{add:function(G){0==U&&(B=tp())&&(tg(B,G),t_(B)),U++},remove:function(){--U||!B||(B.parentNode&&B.parentNode.removeChild(B),B=null)}}},tv=function(){var U=tm();return function(B,G){Z.useEffect(function(){return U.add(B),function(){U.remove()}},[B&&G])}},ty=function(){var U=tv();return function(B){return U(B.styles,B.dynamic),null}},tb={left:0,top:0,right:0,gap:0},tE=function(U){return parseInt(U||"",10)||0},tw=function(U){var B=window.getComputedStyle(document.body),G=B["padding"===U?"paddingLeft":"marginLeft"],Y=B["padding"===U?"paddingTop":"marginTop"],V=B["padding"===U?"paddingRight":"marginRight"];return[tE(G),tE(Y),tE(V)]},tS=function(U){if(void 0===U&&(U="margin"),"undefined"==typeof window)return tb;var B=tw(U),G=document.documentElement.clientWidth,Y=window.innerWidth;return{left:B[0],top:B[1],right:B[2],gap:Math.max(0,Y-G+B[2]-B[0])}},tx=ty(),tk=function(U,B,G,Y){var V=U.left,Z=U.top,te=U.right,tn=U.gap;return void 0===G&&(G="margin"),"\n .".concat(Q," {\n overflow: hidden ").concat(Y,";\n padding-right: ").concat(tn,"px ").concat(Y,";\n }\n body {\n overflow: hidden ").concat(Y,";\n overscroll-behavior: contain;\n ").concat([B&&"position: relative ".concat(Y,";"),"margin"===G&&"\n padding-left: ".concat(V,"px;\n padding-top: ").concat(Z,"px;\n padding-right: ").concat(te,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(tn,"px ").concat(Y,";\n "),"padding"===G&&"padding-right: ".concat(tn,"px ").concat(Y,";")].filter(Boolean).join(""),"\n }\n \n .").concat(J," {\n right: ").concat(tn,"px ").concat(Y,";\n }\n \n .").concat(X," {\n margin-right: ").concat(tn,"px ").concat(Y,";\n }\n \n .").concat(J," .").concat(J," {\n right: 0 ").concat(Y,";\n }\n \n .").concat(X," .").concat(X," {\n margin-right: 0 ").concat(Y,";\n }\n \n body {\n ").concat(tt,": ").concat(tn,"px;\n }\n")},tT=function(U){var B=U.noRelative,G=U.noImportant,Y=U.gapMode,V=void 0===Y?"margin":Y,J=Z.useMemo(function(){return tS(V)},[V]);return Z.createElement(tx,{styles:tk(J,!B,V,G?"":"!important")})},tC=!1;if("undefined"!=typeof window)try{var tR=Object.defineProperty({},"passive",{get:function(){return tC=!0,!0}});window.addEventListener("test",tR,tR),window.removeEventListener("test",tR,tR)}catch(U){tC=!1}var tA=!!tC&&{passive:!1},tO=function(U){return"TEXTAREA"===U.tagName},tI=function(U,B){var G=window.getComputedStyle(U);return"hidden"!==G[B]&&!(G.overflowY===G.overflowX&&!tO(U)&&"visible"===G[B])},tN=function(U){return tI(U,"overflowY")},tD=function(U){return tI(U,"overflowX")},tL=function(U,B){var G=B;do{if("undefined"!=typeof ShadowRoot&&G instanceof ShadowRoot&&(G=G.host),tU(U,G)){var Y=tB(U,G);if(Y[1]>Y[2])return!0}G=G.parentNode}while(G&&G!==document.body);return!1},tP=function(U){return[U.scrollTop,U.scrollHeight,U.clientHeight]},tM=function(U){return[U.scrollLeft,U.scrollWidth,U.clientWidth]},tU=function(U,B){return"v"===U?tN(B):tD(B)},tB=function(U,B){return"v"===U?tP(B):tM(B)},tj=function(U,B){return"h"===U&&"rtl"===B?-1:1},tG=function(U,B,G,Y,V){var Z=tj(U,window.getComputedStyle(B).direction),J=Z*Y,X=G.target,Q=B.contains(X),tt=!1,te=J>0,tn=0,tr=0;do{var ti=tB(U,X),ta=ti[0],ts=ti[1]-ti[2]-Z*ta;(ta||ts)&&tU(U,X)&&(tn+=ts,tr+=ta),X=X.parentNode}while(!Q&&X!==document.body||Q&&(B.contains(X)||B===X));return te&&(V&&0===tn||!V&&J>tn)?tt=!0:!te&&(V&&0===tr||!V&&-J>tr)&&(tt=!0),tt},tF=function(U){return"changedTouches"in U?[U.changedTouches[0].clientX,U.changedTouches[0].clientY]:[0,0]},tH=function(U){return[U.deltaX,U.deltaY]},tz=function(U){return U&&"current"in U?U.current:U},t$=function(U,B){return U[0]===B[0]&&U[1]===B[1]},tq=function(U){return"\n .block-interactivity-".concat(U," {pointer-events: none;}\n .allow-interactivity-").concat(U," {pointer-events: all;}\n")},tY=0,tV=[],tW=tf(ts,function(U){var B=Z.useRef([]),G=Z.useRef([0,0]),Y=Z.useRef(),J=Z.useState(tY++)[0],X=Z.useState(function(){return ty()})[0],Q=Z.useRef(U);Z.useEffect(function(){Q.current=U},[U]),Z.useEffect(function(){if(U.inert){document.body.classList.add("block-interactivity-".concat(J));var B=(0,V.ev)([U.lockRef.current],(U.shards||[]).map(tz),!0).filter(Boolean);return B.forEach(function(U){return U.classList.add("allow-interactivity-".concat(J))}),function(){document.body.classList.remove("block-interactivity-".concat(J)),B.forEach(function(U){return U.classList.remove("allow-interactivity-".concat(J))})}}},[U.inert,U.lockRef.current,U.shards]);var tt=Z.useCallback(function(U,B){if("touches"in U&&2===U.touches.length)return!Q.current.allowPinchZoom;var V,Z=tF(U),J=G.current,X="deltaX"in U?U.deltaX:J[0]-Z[0],tt="deltaY"in U?U.deltaY:J[1]-Z[1],te=U.target,tn=Math.abs(X)>Math.abs(tt)?"h":"v";if("touches"in U&&"h"===tn&&"range"===te.type)return!1;var tr=tL(tn,te);if(!tr)return!0;if(tr?V=tn:(V="v"===tn?"h":"v",tr=tL(tn,te)),!tr)return!1;if(!Y.current&&"changedTouches"in U&&(X||tt)&&(Y.current=V),!V)return!0;var ti=Y.current||V;return tG(ti,B,U,"h"===ti?X:tt,!0)},[]),te=Z.useCallback(function(U){var G=U;if(tV.length&&tV[tV.length-1]===X){var Y="deltaY"in G?tH(G):tF(G),V=B.current.filter(function(U){return U.name===G.type&&U.target===G.target&&t$(U.delta,Y)})[0];if(V&&V.should){G.cancelable&&G.preventDefault();return}if(!V){var Z=(Q.current.shards||[]).map(tz).filter(Boolean).filter(function(U){return U.contains(G.target)});(Z.length>0?tt(G,Z[0]):!Q.current.noIsolation)&&G.cancelable&&G.preventDefault()}}},[]),tn=Z.useCallback(function(U,G,Y,V){var Z={name:U,delta:G,target:Y,should:V};B.current.push(Z),setTimeout(function(){B.current=B.current.filter(function(U){return U!==Z})},1)},[]),tr=Z.useCallback(function(U){G.current=tF(U),Y.current=void 0},[]),ti=Z.useCallback(function(B){tn(B.type,tH(B),B.target,tt(B,U.lockRef.current))},[]),ta=Z.useCallback(function(B){tn(B.type,tF(B),B.target,tt(B,U.lockRef.current))},[]);Z.useEffect(function(){return tV.push(X),U.setCallbacks({onScrollCapture:ti,onWheelCapture:ti,onTouchMoveCapture:ta}),document.addEventListener("wheel",te,tA),document.addEventListener("touchmove",te,tA),document.addEventListener("touchstart",tr,tA),function(){tV=tV.filter(function(U){return U!==X}),document.removeEventListener("wheel",te,tA),document.removeEventListener("touchmove",te,tA),document.removeEventListener("touchstart",tr,tA)}},[]);var ts=U.removeScrollBar,tu=U.inert;return Z.createElement(Z.Fragment,null,tu?Z.createElement(X,{styles:tq(J)}):null,ts?Z.createElement(tT,{gapMode:"margin"}):null)}),tZ=Z.forwardRef(function(U,B){return Z.createElement(tc,(0,V.pi)({},U,{ref:B,sideCar:tW}))});tZ.classNames=tc.classNames;var tK=tZ}
function(U,B,G){"use strict";var Y=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},V=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},Z=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0});var J=Z(G(5575)),X=G(35325),Q=G(49787),tt=Z(G(25609)),te=Z(G(12559)),tn="statsig::",tr=tn+"config_exposure",ti=tn+"layer_exposure",ta=tn+"gate_exposure",ts=tn+"log_event_failed",tu=tn+"app_error",tc=tn+"app_metrics::page_load_time",td=tn+"app_metrics::dom_interactive_time",tf=tn+"diagnostics",th=tn+"default_value_type_mismatch",tp=432e6,tg=100,t_=1e3,tm=1024e3,tv=10,ty=function(){function U(U){this.failedLogEventCount=0,this.sdkInternal=U,this.queue=[],this.flushInterval=null,this.loggedErrors=new Set,this.failedLogEvents=[],this.exposureDedupeKeys={},this.failedLogEventCount=0,this.init()}return U.prototype.init=function(){var U=this;if("undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("blur",function(){return U.flush(!0)}),window.addEventListener("beforeunload",function(){return U.flush(!0)}),window.addEventListener("load",function(){setTimeout(function(){return U.flush()},100),setTimeout(function(){return U.flush()},1e3)})),"undefined"!=typeof document&&"function"==typeof document.addEventListener&&document.addEventListener("visibilitychange",function(){U.flush("visible"!==document.visibilityState)}),!(!this.sdkInternal.getOptions().getIgnoreWindowUndefined()&&("undefined"==typeof window||null==window)||this.sdkInternal.getOptions().getLocalModeEnabled())){var B=this;this.flushInterval=setInterval(function(){B.flush()},this.sdkInternal.getOptions().getLoggingIntervalMillis()),setTimeout(function(){return U.flush()},100),setTimeout(function(){return U.flush()},1e3)}},U.prototype.log=function(U){try{if(!this.sdkInternal.getOptions().getDisableCurrentPageLogging()&&"undefined"!=typeof window&&null!=window&&"object"==typeof window.location&&"string"==typeof window.location.href){var B=window.location.href.split(/[?#]/);(null==B?void 0:B.length)>0&&U.addStatsigMetadata("currentPage",B[0])}}catch(U){}this.queue.push(U.toJsonObject()),this.queue.length>=this.sdkInternal.getOptions().getLoggingBufferMaxSize()&&this.flush()},U.prototype.resetDedupeKeys=function(){this.exposureDedupeKeys={}},U.prototype.shouldLogExposure=function(U){var B=this.exposureDedupeKeys[U],G=Date.now();return null==B?(this.exposureDedupeKeys[U]=G,!0):!(B>=G-6e5)&&(this.exposureDedupeKeys[U]=G,!0)},U.prototype.logGateExposure=function(U,B,G,Y,V,Z,X){var Q=B+String(G)+Y+Z.reason;if(this.shouldLogExposure(Q)){var tt={gate:B,gateValue:String(G),ruleID:Y,reason:Z.reason,time:Z.time};X&&(tt.isManualExposure="true");var te=new J.default(ta);te.setUser(U),te.setMetadata(tt),te.setSecondaryExposures(V),this.log(te)}},U.prototype.logConfigExposure=function(U,B,G,Y,V,Z){var X=B+G+V.reason;if(this.shouldLogExposure(X)){var Q={config:B,ruleID:G,reason:V.reason,time:V.time};Z&&(Q.isManualExposure="true");var tt=new J.default(tr);tt.setUser(U),tt.setMetadata(Q),tt.setSecondaryExposures(Y),this.log(tt)}},U.prototype.logLayerExposure=function(U,B,G,Y,V,Z,X,Q,tt){var te=[B,G,V,Z,String(X),Q.reason].join("|");if(this.shouldLogExposure(te)){var tn={config:B,ruleID:G,allocatedExperiment:V,parameterName:Z,isExplicitParameter:String(X),reason:Q.reason,time:Q.time};tt&&(tn.isManualExposure="true");var tr=new J.default(ti);tr.setUser(U),tr.setMetadata(tn),tr.setSecondaryExposures(Y),this.log(tr)}},U.prototype.logConfigDefaultValueFallback=function(U,B,G){var Y=new J.default(th);Y.setUser(U),Y.setValue(B),Y.setMetadata(G),this.log(Y),this.loggedErrors.add(B),this.sdkInternal.getConsoleLogger().error(B)},U.prototype.logAppError=function(U,B,G){var Y=B.substring(0,128);if(!this.loggedErrors.has(Y)&&!(this.loggedErrors.size>tv)){var V=new J.default(tu);V.setUser(U),V.setValue(Y),V.setMetadata(G),this.log(V),this.loggedErrors.add(Y)}},U.prototype.logDiagnostics=function(U,B){var G=new J.default(tf);G.setUser(U),G.setMetadata(B.getMarkers()),this.log(G)},U.prototype.logAppMetrics=function(U){if("function"==typeof(null===(B=null==window?void 0:window.performance)||void 0===B?void 0:B.getEntriesByType)){var B,G=window.performance.getEntriesByType("navigation");if(G&&!(G.length<1)){var Y=G[0],V={statsig_dimensions:{url:Y.name}},Z=new J.default(tc);Z.setUser(U),Z.setValue(Y.duration),Z.setMetadata(V),this.log(Z);var X=new J.default(td);X.setUser(U),X.setValue(Y.domInteractive-Y.startTime),X.setMetadata(V),this.log(X)}}},U.prototype.shutdown=function(){this.flushInterval&&(clearInterval(this.flushInterval),this.flushInterval=null),this.flush(!0)},U.prototype.flush=function(U){var B=this;if(void 0===U&&(U=!1),0!==this.queue.length){var G=this.queue;if(this.queue=[],U&&!this.sdkInternal.getNetwork().supportsKeepalive()&&"undefined"!=typeof navigator&&null!=navigator&&navigator.sendBeacon){this.sdkInternal.getNetwork().sendLogBeacon({events:G,statsigMetadata:this.sdkInternal.getStatsigMetadata()})||(this.queue=G.concat(this.queue),this.queue.length>0&&(this.addFailedRequest({events:this.queue,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.queue=[]),this.saveFailedRequests());return}var Z=this;this.sdkInternal.getNetwork().postToEndpoint(X.StatsigEndpoint.Rgstr,{events:G,statsigMetadata:this.sdkInternal.getStatsigMetadata()},3,1e3,U).then(function(U){if(!U.ok)throw U}).catch(function(U){"function"==typeof U.text?U.text().then(function(Z){B.sdkInternal.getErrorBoundary().logError(ts,U,function(){return Y(B,void 0,void 0,function(){return V(this,function(U){return[2,{eventCount:G.length,error:Z}]})})})}):B.sdkInternal.getErrorBoundary().logError(ts,U,function(){return Y(B,void 0,void 0,function(){return V(this,function(B){return[2,{eventCount:G.length,error:U.message}]})})}),Z.newFailedRequest(ts,G)}).finally(function(){return Y(B,void 0,void 0,function(){return V(this,function(B){switch(B.label){case 0:if(!U)return[3,2];return this.queue.length>0&&(this.addFailedRequest({events:this.queue,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.queue=[]),[4,Z.saveFailedRequests()];case 1:B.sent(),B.label=2;case 2:return[2]}})})})}},U.prototype.saveFailedRequests=function(){return Y(this,void 0,void 0,function(){var U;return V(this,function(B){switch(B.label){case 0:if(!(this.failedLogEvents.length>0))return[3,3];if((U=JSON.stringify(this.failedLogEvents)).length>tm)return this.clearLocalStorageRequests(),[2];if(!tt.default.asyncStorage)return[3,2];return[4,tt.default.setItemAsync(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,U)];case 1:return B.sent(),[2];case 2:te.default.setItem(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,U),B.label=3;case 3:return[2]}})})},U.prototype.sendSavedRequests=function(){return Y(this,void 0,void 0,function(){var U,B,G,Y,Z,J,tn,tr,ti=this;return V(this,function(V){switch(V.label){case 0:if(B=!1,!tt.default.asyncStorage)return[3,2];return[4,tt.default.getItemAsync(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)];case 1:return U=V.sent(),[3,3];case 2:U=te.default.getItem(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY),V.label=3;case 3:if(null==U)return this.clearLocalStorageRequests(),[2];U.length>tm&&(B=!0),G=[];try{for(J=0,G=JSON.parse(U),Y=function(U){null!=U&&U.events&&Array.isArray(U.events)&&Z.sdkInternal.getNetwork().postToEndpoint(X.StatsigEndpoint.Rgstr,U).then(function(U){if(!U.ok)throw Error(U.status+"")}).catch(function(G){B||ti.addFailedRequest(U)})},Z=this,tn=G;J<tn.length;J++)tr=tn[J],Y(tr)}catch(U){}finally{this.clearLocalStorageRequests()}return[2]}})})},U.prototype.addFailedRequest=function(U){if(!(U.time<Date.now()-tp)&&!(this.failedLogEvents.length>tg)){var B=U.events.length;this.failedLogEventCount+B>t_||(this.failedLogEvents.push(U),this.failedLogEventCount+=B)}},U.prototype.clearLocalStorageRequests=function(){tt.default.asyncStorage?tt.default.removeItemAsync(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY):te.default.removeItem(Q.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)},U.prototype.newFailedRequest=function(U,B){this.loggedErrors.has(U)||(this.loggedErrors.add(U),this.failedLogEvents.push({events:B,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.saveFailedRequests())},U}();B.default=ty}
function(U,B,G){"use strict";G.d(B,{N:function(){return J}});var Y=G(28197),V=G(16456);class Z extends Y.l{constructor(){super(),this.setup=U=>{if(!V.sk&&window.addEventListener){let B=()=>U();return window.addEventListener("online",B,!1),window.addEventListener("offline",B,!1),()=>{window.removeEventListener("online",B),window.removeEventListener("offline",B)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var U;null==(U=this.cleanup)||U.call(this),this.cleanup=void 0}}setEventListener(U){var B;this.setup=U,null==(B=this.cleanup)||B.call(this),this.cleanup=U(U=>{"boolean"==typeof U?this.setOnline(U):this.onOnline()})}setOnline(U){this.online=U,U&&this.onOnline()}onOnline(){this.listeners.forEach(U=>{U()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let J=new Z}
function(U,B,G){"use strict";G.d(B,{f:function(){return X}});var Y=G(45675),V=G(70079),Z=G(7824);let J=(0,V.forwardRef)((U,B)=>(0,V.createElement)(Z.WV.span,(0,Y.Z)({},U,{ref:B,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...U.style}}))),X=J}
function(U,B,G){"use strict";G.d(B,{Bj:function(){return ts},HQ:function(){return ti},IX:function(){return te},MP:function(){return tu},QF:function(){return tn},Z8:function(){return tg},ZP:function(){return Q},b3:function(){return th},dY:function(){return tf},i9:function(){return ta},jE:function(){return tm},jZ:function(){return td},jr:function(){return t_},nI:function(){return ty},nQ:function(){return tr},oV:function(){return tp},xx:function(){return tc}});var Y=G(39324),V=G(71209),Z=G(70216),J=G(35250),X=G(19841);function Q(U){var B=U.icon,G=U.className,Y=U.strokeWidth,V=U.onClick,Z=U.size,Q=void 0===Z?"small":Z,tt=B;return(0,J.jsx)(tt,{strokeWidth:void 0!==Y?Y:"small"===Q?2:1.5,className:(0,X.Z)("xsmall"===Q&&"h-3 w-3","small"===Q&&"h-4 w-4","medium"===Q&&"h-6 w-6",G),onClick:V})}function tt(U){var B=U.children,G=U.className,X=U.style,Q=(0,Z._)(U,["children","className","style"]);return(0,J.jsx)("svg",(0,V._)((0,Y._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:G},Q),{style:X,children:B}))}var te=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({fill:"none",viewBox:"0 0 16 16"},U),{children:(0,J.jsx)("path",{d:"M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z",fill:"currentColor"})}))},tn=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M15.833 2.5H4.167c-.92 0-1.667.746-1.667 1.667v11.666c0 .92.746 1.667 1.667 1.667h11.666c.92 0 1.667-.746 1.667-1.667V4.167c0-.92-.746-1.667-1.667-1.667Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M8.09 6.91a.833.833 0 1 0-1.18 1.18L8.822 10l-1.91 1.91a.833.833 0 1 0 1.178 1.18L10 11.177l1.912 1.911a.833.833 0 0 0 1.178-1.178L11.18 10l1.91-1.91a.833.833 0 0 0-1.178-1.18L10 8.822l-1.91-1.91Z",fill:"white"})]}))},tr=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},U),{children:(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.065 5.942a.913.913 0 0 0-1.516-.093l-4.848 6.363-2.344-2.344-.01-.01a.914.914 0 0 0-1.292 1.292l3.093 3.093a.912.912 0 0 0 1.374-.092l5.481-7.194a.913.913 0 0 0 .062-1.015Zm-1.198.15Zm-5.125 6.726-2.668-2.667 2.668 2.667Zm6.031-6.284a.51.51 0 0 1-.003.012l.003-.012Z",fill:"currentColor"})}))},ti=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},U),{children:[(0,J.jsx)("rect",{width:"20",height:"20",rx:"5",fill:"currentColor"}),(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.065 5.942a.913.913 0 0 0-1.516-.093l-4.848 6.363-2.344-2.344-.01-.01a.914.914 0 0 0-1.292 1.292l3.093 3.093a.912.912 0 0 0 1.374-.092l5.481-7.194a.913.913 0 0 0 .062-1.015Zm-1.198.15Zm-5.125 6.726-2.668-2.667 2.668 2.667Zm6.031-6.284a.51.51 0 0 1-.003.012l.003-.012Z",fill:"#fff"})]}))},ta=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({fill:"none",viewBox:"0 0 20 21"},U),{children:[(0,J.jsx)("rect",{y:".5",width:"20",height:"20",rx:"5",fill:"#F3F4F6"}),(0,J.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.377 6.605a.512.512 0 0 1 .098.72L8.993 14.52a.514.514 0 0 1-.772.051l-3.083-3.083a.514.514 0 0 1 .726-.726l2.668 2.667 5.125-6.726a.514.514 0 0 1 .72-.098Z",fill:"#F3F4F6"}),(0,J.jsx)("rect",{x:".5",y:"1",width:"19",height:"19",rx:"4.5",stroke:"#000",strokeOpacity:".1"})]}))},ts=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:(0,J.jsx)("path",{d:"M12.784 1.442a.8.8 0 0 0-1.569 0l-.191.953a.8.8 0 0 1-.628.628l-.953.19a.8.8 0 0 0 0 1.57l.953.19a.8.8 0 0 1 .628.629l.19.953a.8.8 0 0 0 1.57 0l.19-.953a.8.8 0 0 1 .629-.628l.953-.19a.8.8 0 0 0 0-1.57l-.953-.19a.8.8 0 0 1-.628-.629l-.19-.953h-.002ZM5.559 4.546a.8.8 0 0 0-1.519 0l-.546 1.64a.8.8 0 0 1-.507.507l-1.64.546a.8.8 0 0 0 0 1.519l1.64.547a.8.8 0 0 1 .507.505l.546 1.641a.8.8 0 0 0 1.519 0l.546-1.64a.8.8 0 0 1 .506-.507l1.641-.546a.8.8 0 0 0 0-1.519l-1.64-.546a.8.8 0 0 1-.507-.506L5.56 4.546Zm5.6 6.4a.8.8 0 0 0-1.519 0l-.147.44a.8.8 0 0 1-.505.507l-.441.146a.8.8 0 0 0 0 1.519l.44.146a.8.8 0 0 1 .507.506l.146.441a.8.8 0 0 0 1.519 0l.147-.44a.8.8 0 0 1 .506-.507l.44-.146a.8.8 0 0 0 0-1.519l-.44-.147a.8.8 0 0 1-.507-.505l-.146-.441Z",fill:"currentColor"})}))},tu=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M5.559 4.546a.8.8 0 0 0-1.519 0l-.546 1.64a.8.8 0 0 1-.507.507l-1.64.546a.8.8 0 0 0 0 1.519l1.64.547a.8.8 0 0 1 .507.505l.546 1.641a.8.8 0 0 0 1.519 0l.546-1.64a.8.8 0 0 1 .506-.507l1.641-.546a.8.8 0 0 0 0-1.519l-1.64-.546a.8.8 0 0 1-.507-.506L5.56 4.545Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M10.868 10.55a.8.8 0 0 1 .29.396l.147.44a.8.8 0 0 0 .507.506l.44.147a.8.8 0 0 1 0 1.519l-.44.146a.8.8 0 0 0-.506.506l-.147.441a.8.8 0 0 1-1.519 0l-.146-.44a.8.8 0 0 0-.506-.507l-.441-.146a.8.8 0 0 1 0-1.519l.44-.146a.8.8 0 0 0 .506-.507l.147-.44a.8.8 0 0 1 1.228-.397ZM12.506.981a.8.8 0 0 1 .277.46l.192.954a.8.8 0 0 0 .628.628l.953.19a.8.8 0 0 1 0 1.57l-.953.19a.8.8 0 0 0-.628.629l-.19.953a.8.8 0 0 1-1.57 0l-.19-.953a.8.8 0 0 0-.629-.628l-.953-.19a.8.8 0 0 1 0-1.57l.953-.19a.8.8 0 0 0 .627-.629l.193-.953a.8.8 0 0 1 1.29-.46Z",fill:"#86909D"})]}))},tc=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:(0,J.jsxs)("g",{fill:"currentColor",children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z"}),(0,J.jsx)("path",{d:"M8.845 2.554C8.368 2.848 8 3.295 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.968 0 1.45-.694 1.715-1.41a6.5 6.5 0 1 1-5.37-4.536Zm.922 10.99a4.882 4.882 0 0 0 3.04-3.732h-1.925a9.532 9.532 0 0 1-1.115 3.733ZM6.75 9.813A7.902 7.902 0 0 0 8 13.338a7.902 7.902 0 0 0 1.25-3.525h-2.5Zm-3.558 0a4.882 4.882 0 0 0 3.04 3.733 9.531 9.531 0 0 1-1.114-3.732H3.192ZM8 4.662a7.902 7.902 0 0 0-1.25 3.526h2.5A7.902 7.902 0 0 0 8 4.662ZM3.192 8.188h1.926a9.531 9.531 0 0 1 1.115-3.733 4.882 4.882 0 0 0-3.04 3.732Z"})]})}))},td=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M8.845 2.554C8.368 2.848 8 3.295 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.968 0 1.45-.694 1.715-1.41a6.5 6.5 0 1 1-5.37-4.536Zm.922 10.99a4.882 4.882 0 0 0 3.04-3.732h-1.925a9.532 9.532 0 0 1-1.115 3.733ZM6.75 9.813A7.902 7.902 0 0 0 8 13.338a7.902 7.902 0 0 0 1.25-3.525h-2.5Zm-3.558 0a4.882 4.882 0 0 0 3.04 3.733 9.531 9.531 0 0 1-1.114-3.732H3.192ZM8 4.662a7.902 7.902 0 0 0-1.25 3.526h2.5A7.902 7.902 0 0 0 8 4.662ZM3.192 8.188h1.926a9.531 9.531 0 0 1 1.115-3.733 4.882 4.882 0 0 0-3.04 3.732Z",fill:"#86909D"})]}))},tf=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M8.331 3A1.566 1.566 0 0 0 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5s1.833-1.667 2-2.5c.106-.021.225-.05.353-.086C14.96 6.496 15 7.186 15 8v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.33Zm-3.8 3.47A.75.75 0 1 0 3.47 7.53l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5ZM6.5 10.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"currentColor"})]}))},th=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M8.331 3A1.566 1.566 0 0 0 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5s1.833-1.667 2-2.5c.106-.021.225-.05.353-.086C14.96 6.496 15 7.186 15 8v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.33Zm-3.8 3.47A.75.75 0 1 0 3.47 7.53l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5ZM6.5 10.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"#86909D"})]}))},tp=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:(0,J.jsxs)("g",{fill:"currentColor",children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z"}),(0,J.jsx)("path",{d:"M13.237 10.534c-.228-.245-.513-.46-.847-.46a.823.823 0 0 0-.828.849c.04 1.04.128 2.067.263 3.08a.619.619 0 0 1-.528.695c-.872.121-1.748.208-2.626.262a.8.8 0 0 1-.845-.805c0-.325.21-.602.45-.82.235-.215.375-.488.375-.787 0-.683-.738-1.237-1.65-1.237-.911 0-1.65.554-1.65 1.237 0 .294.137.563.364.775.245.229.461.513.461.848a.823.823 0 0 1-.85.829 33.809 33.809 0 0 1-3.266-.278.619.619 0 0 1-.532-.532 34.099 34.099 0 0 1-.278-3.267.823.823 0 0 1 .83-.85c.333 0 .619.216.846.461.212.228.482.364.776.364.683 0 1.237-.738 1.237-1.65 0-.91-.554-1.65-1.237-1.65-.299 0-.572.142-.786.376-.219.24-.496.45-.821.45a.8.8 0 0 1-.805-.845c.054-.885.142-1.76.262-2.626a.619.619 0 0 1 .695-.528c1.022.136 2.05.224 3.08.263a.822.822 0 0 0 .85-.828c0-.334-.217-.62-.462-.847-.227-.212-.363-.482-.363-.776C5.352 1.554 6.09 1 7.002 1c.91 0 1.649.554 1.649 1.237 0 .173-.012.327-.029.473C8.258 3 8 3.41 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.732 0 1.186-.397 1.479-.9l.034-.001c.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364Z"})]})}))},tg=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,J.jsx)("path",{d:"M13.237 10.534c-.228-.245-.513-.46-.847-.46a.82.82 0 0 0-.828.849c.04 1.04.128 2.067.263 3.08a.619.619 0 0 1-.528.695c-.872.121-1.748.208-2.626.262a.8.8 0 0 1-.845-.805c0-.325.21-.602.45-.82.235-.215.375-.488.375-.787 0-.683-.738-1.237-1.65-1.237-.911 0-1.65.554-1.65 1.237 0 .294.137.563.364.775.245.229.461.513.461.848a.823.823 0 0 1-.85.829 33.872 33.872 0 0 1-3.266-.278.619.619 0 0 1-.532-.532 34.099 34.099 0 0 1-.278-3.267.823.823 0 0 1 .83-.85c.333 0 .619.216.846.461.212.228.482.364.776.364.683 0 1.237-.738 1.237-1.65 0-.911-.554-1.65-1.237-1.65-.299 0-.572.142-.786.376-.219.24-.496.45-.821.45a.8.8 0 0 1-.805-.845c.054-.885.142-1.76.262-2.626a.619.619 0 0 1 .695-.528c1.022.136 2.05.224 3.08.263a.822.822 0 0 0 .85-.828c0-.334-.217-.62-.462-.847-.227-.212-.363-.482-.363-.776C5.352 1.554 6.09 1 7.002 1c.91 0 1.649.554 1.649 1.237 0 .173-.012.327-.029.473C8.258 3 8 3.41 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.732 0 1.186-.397 1.479-.9l.034-.001c.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364Z",fill:"#86909D"})]}))},t_=function(U){return(0,J.jsx)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:(0,J.jsx)("path",{d:"M9.586 1.526A.6.6 0 0 0 8.553 1l-6.8 7.6a.6.6 0 0 0 .447 1h5.258l-1.044 4.874A.6.6 0 0 0 7.447 15l6.8-7.6a.6.6 0 0 0-.447-1H8.542l1.044-4.874Z",fill:"currentColor"})}))},tm=function(U){return(0,J.jsxs)(tt,(0,V._)((0,Y._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},U),{children:[(0,J.jsxs)("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"6.638",y1:"11.082",x2:"12.78",y2:"7.536",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,J.jsx)("stop",{offset:"0",style:{stopColor:"#37bdff"}}),(0,J.jsx)("stop",{offset:".183",style:{stopColor:"#33bffd"}}),(0,J.jsx)("stop",{offset:".358",style:{stopColor:"#28c5f5"}}),(0,J.jsx)("stop",{offset:".528",style:{stopColor:"#15d0e9"}}),(0,J.jsx)("stop",{offset:".547",style:{stopColor:"#12d1e7"}}),(0,J.jsx)("stop",{offset:".59",style:{stopColor:"#1cd2e5"}}),(0,J.jsx)("stop",{offset:".768",style:{stopColor:"#42d8dc"}}),(0,J.jsx)("stop",{offset:".911",style:{stopColor:"#59dbd6"}}),(0,J.jsx)("stop",{offset:"1",style:{stopColor:"#62dcd4"}})]}),(0,J.jsx)("path",{fill:"url(#a)",d:"M12.551 9.845a3.765 3.765 0 0 1-1.013 2.575 1.67 1.67 0 0 0 .349-.597.818.818 0 0 0 .042-.144l.003-.009.015-.074a.95.95 0 0 0 .013-.077v-.002a1.562 1.562 0 0 0 .018-.24 1.69 1.69 0 0 0-.521-1.226 1.71 1.71 0 0 0-.504-.338 1.923 1.923 0 0 0-.253-.084l-.004-.001-.03-.01-.441-.151v-.001l-1.153-.397-.011-.001-.072-.027a1.071 1.071 0 0 1-.544-.477l-.42-1.074-.483-1.229-.092-.238-.024-.048a.55.55 0 0 1-.041-.207c0-.019 0-.038.002-.055a.538.538 0 0 1 .744-.439l2.148 1.101.424.217c.224.133.433.29.624.467a3.77 3.77 0 0 1 1.224 2.786z"}),(0,J.jsxs)("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"3.038",y1:"5.762",x2:"11.977",y2:"5.762",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,J.jsx)("stop",{offset:"0",style:{stopColor:"#39d2ff"}}),(0,J.jsx)("stop",{offset:".15",style:{stopColor:"#38cefe"}}),(0,J.jsx)("stop",{offset:".293",style:{stopColor:"#35c3fa"}}),(0,J.jsx)("stop",{offset:".433",style:{stopColor:"#2fb0f3"}}),(0,J.jsx)("stop",{offset:".547",style:{stopColor:"#299aeb"}}),(0,J.jsx)("stop",{offset:".583",style:{stopColor:"#2692ec"}}),(0,J.jsx)("stop",{offset:".763",style:{stopColor:"#1a6cf1"}}),(0,J.jsx)("stop",{offset:".909",style:{stopColor:"#1355f4"}}),(0,J.jsx)("stop",{offset:"1",style:{stopColor:"#104cf5"}})]}),(0,J.jsx)("path",{fill:"url(#b)",d:"M11.977 11.279c0 .11-.01.216-.029.319-.006.027-.011.055-.018.082a1.477 1.477 0 0 1-.042.144l-.026.073-.03.073a1.745 1.745 0 0 1-.293.451c-.313.346-1.376.964-1.768 1.214l-.87.531c-.637.393-1.24.671-1.999.689l-.106.002a3.785 3.785 0 0 1-3.758-3.339 1.675 1.675 0 0 0 2.447 1.18l.006-.003.085-.051.346-.204.441-.261v-.012l.057-.034 3.943-2.336.303-.18.03.01.004.001a1.69 1.69 0 0 1 1.036.776c.153.256.241.556.241.875z"}),(0,J.jsxs)("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"4.688",y1:"4.977",x2:"4.688",y2:"16.93",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,J.jsx)("stop",{offset:"0",style:{stopColor:"#1b48ef"}}),(0,J.jsx)("stop",{offset:".122",style:{stopColor:"#1c51f0"}}),(0,J.jsx)("stop",{offset:".321",style:{stopColor:"#1e69f5"}}),(0,J.jsx)("stop",{offset:".568",style:{stopColor:"#2190fb"}}),(0,J.jsx)("stop",{offset:"1",style:{stopColor:"#26b8f4"}})]}),(0,J.jsx)("path",{fill:"url(#c)",d:"m6.364 3.484-.001 8.695-.441.261-.346.204-.085.052a1.682 1.682 0 0 1-.804.204 1.675 1.675 0 0 1-1.675-1.696V1.419a.561.561 0 0 1 .875-.465l1.715 1.121c.009.008.019.014.03.021.443.301.732.81.732 1.388z"}),(0,J.jsxs)("linearGradient",{id:"d",gradientUnits:"userSpaceOnUse",x1:"4.815",y1:"3.556",x2:"10.332",y2:"9.073",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,J.jsx)("stop",{offset:"0",style:{stopColor:"#fff"}}),(0,J.jsx)("stop",{offset:".373",style:{stopColor:"#fdfdfd"}}),(0,J.jsx)("stop",{offset:".507",style:{stopColor:"#f6f6f6"}}),(0,J.jsx)("stop",{offset:".603",style:{stopColor:"#ebebeb"}}),(0,J.jsx)("stop",{offset:".68",style:{stopColor:"#dadada"}}),(0,J.jsx)("stop",{offset:".746",style:{stopColor:"#c4c4c4"}}),(0,J.jsx)("stop",{offset:".805",style:{stopColor:"#a8a8a8"}}),(0,J.jsx)("stop",{offset:".858",style:{stopColor:"#888"}}),(0,J.jsx)("stop",{offset:".907",style:{stopColor:"#626262"}}),(0,J.jsx)("stop",{offset:".952",style:{stopColor:"#373737"}}),(0,J.jsx)("stop",{offset:".993",style:{stopColor:"#090909"}}),(0,J.jsx)("stop",{offset:"1",style:{stopColor:"#000"}})]}),(0,J.jsx)("path",{opacity:".15",fill:"url(#d)",d:"M11.977 11.279c0 .11-.01.216-.029.319-.006.027-.011.055-.018.082a1.477 1.477 0 0 1-.042.144l-.026.073-.03.073a1.745 1.745 0 0 1-.293.451c-.313.346-1.376.964-1.768 1.214l-.87.531c-.637.393-1.24.671-1.999.689l-.106.002a3.785 3.785 0 0 1-3.758-3.339 1.675 1.675 0 0 0 2.447 1.18l.006-.003.085-.051.346-.204.441-.261v-.012l.057-.034 3.943-2.336.303-.18.03.01.004.001a1.69 1.69 0 0 1 1.036.776c.153.256.241.556.241.875z"}),(0,J.jsxs)("linearGradient",{id:"e",gradientUnits:"userSpaceOnUse",x1:"4.688",y1:"17.142",x2:"4.688",y2:"5.099",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,J.jsx)("stop",{offset:"0",style:{stopColor:"#fff"}}),(0,J.jsx)("stop",{offset:".373",style:{stopColor:"#fdfdfd"}}),(0,J.jsx)("stop",{offset:".507",style:{stopColor:"#f6f6f6"}}),(0,J.jsx)("stop",{offset:".603",style:{stopColor:"#ebebeb"}}),(0,J.jsx)("stop",{offset:".68",style:{stopColor:"#dadada"}}),(0,J.jsx)("stop",{offset:".746",style:{stopColor:"#c4c4c4"}}),(0,J.jsx)("stop",{offset:".805",style:{stopColor:"#a8a8a8"}}),(0,J.jsx)("stop",{offset:".858",style:{stopColor:"#888"}}),(0,J.jsx)("stop",{offset:".907",style:{stopColor:"#626262"}}),(0,J.jsx)("stop",{offset:".952",style:{stopColor:"#373737"}}),(0,J.jsx)("stop",{offset:".993",style:{stopColor:"#090909"}}),(0,J.jsx)("stop",{offset:"1",style:{stopColor:"#000"}})]}),(0,J.jsx)("path",{opacity:".1",fill:"url(#e)",d:"m6.364 3.484-.001 8.695-.441.261-.346.204-.085.052a1.682 1.682 0 0 1-.804.204 1.675 1.675 0 0 1-1.675-1.696V1.419a.561.561 0 0 1 .875-.465l1.715 1.121c.009.008.019.014.03.021.443.301.732.81.732 1.388z"})]}))},tv="ChatGPT",ty=function(U){var B=U.strokeWidth,G=U.className;return(0,J.jsxs)("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",strokeWidth:B,className:G,role:"img",children:[(0,J.jsx)("title",{children:"ChatGPT"}),(0,J.jsx)("text",{x:"-9999",y:"-9999",children:tv}),(0,J.jsx)("path",{d:"M37.5324 16.8707C37.9808 15.5241 38.1363 14.0974 37.9886 12.6859C37.8409 11.2744 37.3934 9.91076 36.676 8.68622C35.6126 6.83404 33.9882 5.3676 32.0373 4.4985C30.0864 3.62941 27.9098 3.40259 25.8215 3.85078C24.8796 2.7893 23.7219 1.94125 22.4257 1.36341C21.1295 0.785575 19.7249 0.491269 18.3058 0.500197C16.1708 0.495044 14.0893 1.16803 12.3614 2.42214C10.6335 3.67624 9.34853 5.44666 8.6917 7.47815C7.30085 7.76286 5.98686 8.3414 4.8377 9.17505C3.68854 10.0087 2.73073 11.0782 2.02839 12.312C0.956464 14.1591 0.498905 16.2988 0.721698 18.4228C0.944492 20.5467 1.83612 22.5449 3.268 24.1293C2.81966 25.4759 2.66413 26.9026 2.81182 28.3141C2.95951 29.7256 3.40701 31.0892 4.12437 32.3138C5.18791 34.1659 6.8123 35.6322 8.76321 36.5013C10.7141 37.3704 12.8907 37.5973 14.9789 37.1492C15.9208 38.2107 17.0786 39.0587 18.3747 39.6366C19.6709 40.2144 21.0755 40.5087 22.4946 40.4998C24.6307 40.5054 26.7133 39.8321 28.4418 38.5772C30.1704 37.3223 31.4556 35.5506 32.1119 33.5179C33.5027 33.2332 34.8167 32.6547 35.9659 31.821C37.115 30.9874 38.0728 29.9178 38.7752 28.684C39.8458 26.8371 40.3023 24.6979 40.0789 22.5748C39.8556 20.4517 38.9639 18.4544 37.5324 16.8707ZM22.4978 37.8849C20.7443 37.8874 19.0459 37.2733 17.6994 36.1501C17.7601 36.117 17.8666 36.0586 17.936 36.0161L25.9004 31.4156C26.1003 31.3019 26.2663 31.137 26.3813 30.9378C26.4964 30.7386 26.5563 30.5124 26.5549 30.2825V19.0542L29.9213 20.998C29.9389 21.0068 29.9541 21.0198 29.9656 21.0359C29.977 21.052 29.9842 21.0707 29.9867 21.0902V30.3889C29.9842 32.375 29.1946 34.2791 27.7909 35.6841C26.3872 37.0892 24.4838 37.8806 22.4978 37.8849ZM6.39227 31.0064C5.51397 29.4888 5.19742 27.7107 5.49804 25.9832C5.55718 26.0187 5.66048 26.0818 5.73461 26.1244L13.699 30.7248C13.8975 30.8408 14.1233 30.902 14.3532 30.902C14.583 30.902 14.8088 30.8408 15.0073 30.7248L24.731 25.1103V28.9979C24.7321 29.0177 24.7283 29.0376 24.7199 29.0556C24.7115 29.0736 24.6988 29.0893 24.6829 29.1012L16.6317 33.7497C14.9096 34.7416 12.8643 35.0097 10.9447 34.4954C9.02506 33.9811 7.38785 32.7263 6.39227 31.0064ZM4.29707 13.6194C5.17156 12.0998 6.55279 10.9364 8.19885 10.3327C8.19885 10.4013 8.19491 10.5228 8.19491 10.6071V19.808C8.19351 20.0378 8.25334 20.2638 8.36823 20.4629C8.48312 20.6619 8.64893 20.8267 8.84863 20.9404L18.5723 26.5542L15.206 28.4979C15.1894 28.5089 15.1703 28.5155 15.1505 28.5173C15.1307 28.5191 15.1107 28.516 15.0924 28.5082L7.04046 23.8557C5.32135 22.8601 4.06716 21.2235 3.55289 19.3046C3.03862 17.3858 3.30624 15.3413 4.29707 13.6194ZM31.955 20.0556L22.2312 14.4411L25.5976 12.4981C25.6142 12.4872 25.6333 12.4805 25.6531 12.4787C25.6729 12.4769 25.6928 12.4801 25.7111 12.4879L33.7631 17.1364C34.9967 17.849 36.0017 18.8982 36.6606 20.1613C37.3194 21.4244 37.6047 22.849 37.4832 24.2684C37.3617 25.6878 36.8382 27.0432 35.9743 28.1759C35.1103 29.3086 33.9415 30.1717 32.6047 30.6641C32.6047 30.5947 32.6047 30.4733 32.6047 30.3889V21.188C32.6066 20.9586 32.5474 20.7328 32.4332 20.5338C32.319 20.3348 32.154 20.1698 31.955 20.0556ZM35.3055 15.0128C35.2464 14.9765 35.1431 14.9142 35.069 14.8717L27.1045 10.2712C26.906 10.1554 26.6803 10.0943 26.4504 10.0943C26.2206 10.0943 25.9948 10.1554 25.7963 10.2712L16.0726 15.8858V11.9982C16.0715 11.9783 16.0753 11.9585 16.0837 11.9405C16.0921 11.9225 16.1048 11.9068 16.1207 11.8949L24.1719 7.25025C25.4053 6.53903 26.8158 6.19376 28.2383 6.25482C29.6608 6.31589 31.0364 6.78077 32.2044 7.59508C33.3723 8.40939 34.2842 9.53945 34.8334 10.8531C35.3826 12.1667 35.5464 13.6095 35.3055 15.0128ZM14.2424 21.9419L10.8752 19.9981C10.8576 19.9893 10.8423 19.9763 10.8309 19.9602C10.8195 19.9441 10.8122 19.9254 10.8098 19.9058V10.6071C10.8107 9.18295 11.2173 7.78848 11.9819 6.58696C12.7466 5.38544 13.8377 4.42659 15.1275 3.82264C16.4173 3.21869 17.8524 2.99464 19.2649 3.1767C20.6775 3.35876 22.0089 3.93941 23.1034 4.85067C23.0427 4.88379 22.937 4.94215 22.8668 4.98473L14.9024 9.58517C14.7025 9.69878 14.5366 9.86356 14.4215 10.0626C14.3065 10.2616 14.2466 10.4877 14.2479 10.7175L14.2424 21.9419ZM16.071 17.9991L20.4018 15.4978L24.7325 17.9975V22.9985L20.4018 25.4983L16.071 22.9985V17.9991Z",fill:"currentColor"})]})}}
function(U,B,G){"use strict";function Y(U,B,G){if(!B.has(U))throw TypeError("attempted to "+G+" private field on non-instance");return B.get(U)}G.d(B,{J:function(){return Y}})}
function(U,B,G){var Y=G(53140),V=G(25766);function Z(U,B){return new V(B).process(U)}for(var J in(B=U.exports=Z).FilterCSS=V,Y)B[J]=Y[J];"undefined"!=typeof window&&(window.filterCSS=U.exports)}
function(U,B,G){var Y=G(12665);function V(U){var B,G=Y.spaceIndex(U);return B=-1===G?U.slice(1,-1):U.slice(1,G+1),"/"===(B=Y.trim(B).toLowerCase()).slice(0,1)&&(B=B.slice(1)),"/"===B.slice(-1)&&(B=B.slice(0,-1)),B}function Z(U){return"</"===U.slice(0,2)}function J(U,B,G){"use strict";var Y="",J=0,X=!1,Q=!1,tt=0,te=U.length,tn="",tr="";t:for(tt=0;tt<te;tt++){var ti=U.charAt(tt);if(!1===X){if("<"===ti){X=tt;continue}}else if(!1===Q){if("<"===ti){Y+=G(U.slice(J,tt)),X=tt,J=tt;continue}if(">"===ti||tt===te-1){Y+=G(U.slice(J,X)),tn=V(tr=U.slice(X,tt+1)),Y+=B(X,Y.length,tn,tr,Z(tr)),J=tt+1,X=!1;continue}if('"'===ti||"'"===ti)for(var ta=1,ts=U.charAt(tt-ta);""===ts.trim()||"="===ts;){if("="===ts){Q=ti;continue t}ts=U.charAt(tt-++ta)}}else if(ti===Q){Q=!1;continue}}return J<te&&(Y+=G(U.substr(J))),Y}var X=/[^a-zA-Z0-9\\_:.-]/gim;function Q(U,B){"use strict";var G=0,V=0,Z=[],J=!1,Q=U.length;function tr(U,G){if(!((U=(U=Y.trim(U)).replace(X,"").toLowerCase()).length<1)){var V=B(U,G||"");V&&Z.push(V)}}for(var ta=0;ta<Q;ta++){var ts,tu,tc=U.charAt(ta);if(!1===J&&"="===tc){J=U.slice(G,ta),G=ta+1,V='"'===U.charAt(G)||"'"===U.charAt(G)?G:te(U,ta+1);continue}if(!1!==J&&ta===V){if(-1===(tu=U.indexOf(tc,ta+1)))break;tr(J,ts=Y.trim(U.slice(V+1,tu))),J=!1,G=(ta=tu)+1;continue}if(/\s|\n|\t/.test(tc)){if(U=U.replace(/\s|\n|\t/g," "),!1===J){if(-1===(tu=tt(U,ta))){tr(ts=Y.trim(U.slice(G,ta))),J=!1,G=ta+1;continue}ta=tu-1;continue}if(-1!==(tu=tn(U,ta-1)))continue;tr(J,ts=ti(ts=Y.trim(U.slice(G,ta)))),J=!1,G=ta+1;continue}}return G<U.length&&(!1===J?tr(U.slice(G)):tr(J,ti(Y.trim(U.slice(G))))),Y.trim(Z.join(" "))}function tt(U,B){for(;B<U.length;B++){var G=U[B];if(" "!==G){if("="===G)return B;return -1}}}function te(U,B){for(;B<U.length;B++){var G=U[B];if(" "!==G){if("'"===G||'"'===G)return B;return -1}}}function tn(U,B){for(;B>0;B--){var G=U[B];if(" "!==G){if("="===G)return B;return -1}}}function tr(U){return'"'===U[0]&&'"'===U[U.length-1]||"'"===U[0]&&"'"===U[U.length-1]}function ti(U){return tr(U)?U.substr(1,U.length-2):U}B.parseTag=J,B.parseAttr=Q}
function(U,B,G){"use strict";G.d(B,{DM:function(){return Z},Db:function(){return Q},EG:function(){return tt},YO:function(){return te},jH:function(){return X},lE:function(){return tn}});var Y=G(25020),V=G(82633);function Z(){let U=V.n2,B=U.crypto||U.msCrypto;if(B&&B.randomUUID)return B.randomUUID().replace(/-/g,"");let G=B&&B.getRandomValues?()=>B.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return"10000000100040008000100000000000".replace(/[018]/g,U=>(U^(15&G())>>U/4).toString(16))}function J(U){return U.exception&&U.exception.values?U.exception.values[0]:void 0}function X(U){let{message:B,event_id:G}=U;if(B)return B;let Y=J(U);return Y?Y.type&&Y.value?`${Y.type}: ${Y.value}`:Y.type||Y.value||G||"<unknown>":G||"<unknown>"}function Q(U,B,G){let Y=U.exception=U.exception||{},V=Y.values=Y.values||[],Z=V[0]=V[0]||{};Z.value||(Z.value=B||""),Z.type||(Z.type=G||"Error")}function tt(U,B){let G=J(U);if(!G)return;let Y={type:"generic",handled:!0},V=G.mechanism;if(G.mechanism={...Y,...V,...B},B&&"data"in B){let U={...V&&V.data,...B.data};G.mechanism.data=U}}function te(U){if(U&&U.__sentry_captured__)return!0;try{(0,Y.xp)(U,"__sentry_captured__",!0)}catch(U){}return!1}function tn(U){return Array.isArray(U)?U:[U]}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),function(U,B){for(var G in B)Object.defineProperty(U,G,{enumerable:!0,get:B[G]})}(B,{PrefetchKind:function(){return G},ACTION_REFRESH:function(){return Y},ACTION_NAVIGATE:function(){return V},ACTION_RESTORE:function(){return Z},ACTION_SERVER_PATCH:function(){return J},ACTION_PREFETCH:function(){return X},ACTION_FAST_REFRESH:function(){return Q}});var G,Y="refresh",V="navigate",Z="restore",J="server-patch",X="prefetch",Q="fast-refresh";!function(U){U.AUTO="auto",U.FULL="full",U.TEMPORARY="temporary"}(G||(G={})),("function"==typeof B.default||"object"==typeof B.default&&null!==B.default)&&void 0===B.default.__esModule&&(Object.defineProperty(B.default,"__esModule",{value:!0}),Object.assign(B.default,B),U.exports=B.default)}
function(U,B,G){"use strict";var Y=this&&this.__assign||function(){return(Y=Object.assign||function(U){for(var B,G=1,Y=arguments.length;G<Y;G++)for(var V in B=arguments[G])Object.prototype.hasOwnProperty.call(B,V)&&(U[V]=B[V]);return U}).apply(this,arguments)},V=this&&this.__rest||function(U,B){var G={};for(var Y in U)Object.prototype.hasOwnProperty.call(U,Y)&&0>B.indexOf(Y)&&(G[Y]=U[Y]);if(null!=U&&"function"==typeof Object.getOwnPropertySymbols)for(var V=0,Y=Object.getOwnPropertySymbols(U);V<Y.length;V++)0>B.indexOf(Y[V])&&Object.prototype.propertyIsEnumerable.call(U,Y[V])&&(G[Y[V]]=U[Y[V]]);return G};Object.defineProperty(B,"__esModule",{value:!0}),B.checkCookies=B.hasCookie=B.removeCookies=B.deleteCookie=B.setCookies=B.setCookie=B.getCookie=B.getCookies=void 0;var Z=G(92507),J=function(){return"undefined"!=typeof window},X=function(U){return"true"===U||"false"!==U&&("undefined"!==U?"null"===U?null:U:void 0)},Q=function(U){void 0===U&&(U="");try{var B=JSON.stringify(U);return/^[\{\[]/.test(B)?B:U}catch(B){return U}},tt=function(U){return U?U.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):U},te=function(U){if(U&&(B=U.req),!J())return B&&B.cookies?B.cookies:B&&B.headers&&B.headers.cookie?(0,Z.parse)(B.headers.cookie):{};for(var B,G={},Y=document.cookie?document.cookie.split("; "):[],V=0,X=Y.length;V<X;V++){var Q=Y[V].split("="),tt=Q.slice(1).join("=");G[Q[0]]=tt}return G};B.getCookies=te;var tn=function(U,G){var Y=(0,B.getCookies)(G)[U];if(void 0!==Y)return X(tt(Y))};B.getCookie=tn;var tr=function(U,B,G){if(G){var X,tt,te,tn=G.req,tr=G.res,ti=V(G,["req","res"]);tt=tn,te=tr,X=ti}var ta=(0,Z.serialize)(U,Q(B),Y({path:"/"},X));if(J())document.cookie=ta;else if(te&&tt){var ts=te.getHeader("Set-Cookie");if(Array.isArray(ts)||(ts=ts?[String(ts)]:[]),te.setHeader("Set-Cookie",ts.concat(ta)),tt&&tt.cookies){var tu=tt.cookies;""===B?delete tu[U]:tu[U]=Q(B)}if(tt&&tt.headers&&tt.headers.cookie){var tu=(0,Z.parse)(tt.headers.cookie);""===B?delete tu[U]:tu[U]=Q(B),tt.headers.cookie=Object.entries(tu).reduce(function(U,B){return U.concat("".concat(B[0],"=").concat(B[1],";"))},"")}}};B.setCookie=tr;var ti=function(U,G,Y){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,B.setCookie)(U,G,Y)};B.setCookies=ti;var ta=function(U,G){return(0,B.setCookie)(U,"",Y(Y({},G),{maxAge:-1}))};B.deleteCookie=ta;var ts=function(U,G){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,B.deleteCookie)(U,G)};B.removeCookies=ts;var tu=function(U,G){return!!U&&(0,B.getCookies)(G).hasOwnProperty(U)};B.hasCookie=tu;var tc=function(U,G){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,B.hasCookie)(U,G)};B.checkCookies=tc}
function(U){var B,G,Y,V=U.exports={};function Z(){throw Error("setTimeout has not been defined")}function J(){throw Error("clearTimeout has not been defined")}function X(U){if(B===setTimeout)return setTimeout(U,0);if((B===Z||!B)&&setTimeout)return B=setTimeout,setTimeout(U,0);try{return B(U,0)}catch(G){try{return B.call(null,U,0)}catch(G){return B.call(this,U,0)}}}function Q(U){if(G===clearTimeout)return clearTimeout(U);if((G===J||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(U);try{return G(U)}catch(B){try{return G.call(null,U)}catch(B){return G.call(this,U)}}}!function(){try{B="function"==typeof setTimeout?setTimeout:Z}catch(U){B=Z}try{G="function"==typeof clearTimeout?clearTimeout:J}catch(U){G=J}}();var tt=[],te=!1,tn=-1;function tr(){te&&Y&&(te=!1,Y.length?tt=Y.concat(tt):tn=-1,tt.length&&ti())}function ti(){if(!te){var U=X(tr);te=!0;for(var B=tt.length;B;){for(Y=tt,tt=[];++tn<B;)Y&&Y[tn].run();tn=-1,B=tt.length}Y=null,te=!1,Q(U)}}function ta(U,B){this.fun=U,this.array=B}function ts(){}V.nextTick=function(U){var B=Array(arguments.length-1);if(arguments.length>1)for(var G=1;G<arguments.length;G++)B[G-1]=arguments[G];tt.push(new ta(U,B)),1!==tt.length||te||X(ti)},ta.prototype.run=function(){this.fun.apply(null,this.array)},V.title="browser",V.browser=!0,V.env={},V.argv=[],V.version="",V.versions={},V.on=ts,V.addListener=ts,V.once=ts,V.off=ts,V.removeListener=ts,V.removeAllListeners=ts,V.emit=ts,V.prependListener=ts,V.prependOnceListener=ts,V.listeners=function(U){return[]},V.binding=function(U){throw Error("process.binding is not supported")},V.cwd=function(){return"/"},V.chdir=function(U){throw Error("process.chdir is not supported")},V.umask=function(){return 0}}
function(U,B,G){"use strict";function Y(){return(Y=Object.assign?Object.assign.bind():function(U){for(var B=1;B<arguments.length;B++){var G=arguments[B];for(var Y in G)Object.prototype.hasOwnProperty.call(G,Y)&&(U[Y]=G[Y])}return U}).apply(this,arguments)}G.d(B,{Z:function(){return Y}})}
function(U,B,G){"use strict";G.d(B,{Z:function(){return J}});var Y=G(35250),V=G(19841),Z=G(59114);function J(U){var B=U.children,G=U.className,J=U.description,X=U.icon,Q=U.isOpen,tt=void 0!==Q&&Q,te=U.onClose,tn=U.primaryButton,tr=U.secondaryButton,ti=U.closeButton,ta=U.size,ts=void 0===ta?"normal":ta,tu=U.title,tc=U.type,td=!!B,tf=!!tu&&td;return(0,Y.jsx)(Z.ZP.Root,{isOpen:tt,onClose:te,children:(0,Y.jsx)(Z.ZP.Overlay,{children:(0,Y.jsxs)(Z.ZP.Content,{className:(0,V.Z)({"max-w-md":"normal"===ts},G),children:[(0,Y.jsx)(Z.ZP.Header,{icon:X,title:tu,type:tc,closeButton:ti,description:J,withSeparator:tf}),(0,Y.jsxs)("div",{className:(0,V.Z)({"p-4 sm:p-6 sm:pt-4":"fullscreen"!==ts,"md:!pt-0":!td}),children:[B,(0,Y.jsx)("div",{className:(0,V.Z)({"mt-5 sm:mt-4":td}),children:(0,Y.jsx)(Z.ZP.Actions,{primaryButton:tn,secondaryButton:tr})})]})]})})})}}
function(U,B,G){"use strict";G.d(B,{F:function(){return Z},e:function(){return J}});var Y=G(70079);function V(U,B){"function"==typeof U?U(B):null!=U&&(U.current=B)}function Z(...U){return B=>U.forEach(U=>V(U,B))}function J(...U){return(0,Y.useCallback)(Z(...U),U)}}
function(U,B,G){"use strict";function Y(U,B,G){if(B.set)B.set.call(U,G);else{if(!B.writable)throw TypeError("attempted to set read only private field");B.value=G}}G.d(B,{_:function(){return Z}});var V=G(39730);function Z(U,B,G){var Z=(0,V.J)(U,B,"set");return Y(U,Z,G),G}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.STORAGE_PREFIX=B.LOCAL_STORAGE_KEYS=B.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY=B.STATSIG_STABLE_ID_KEY=B.INTERNAL_STORE_KEY=B.STICKY_DEVICE_EXPERIMENTS_KEY=B.OVERRIDES_STORE_KEY=void 0,B.OVERRIDES_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3",B.STICKY_DEVICE_EXPERIMENTS_KEY="STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS",B.INTERNAL_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4",B.STATSIG_STABLE_ID_KEY="STATSIG_LOCAL_STORAGE_STABLE_ID",B.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY="STATSIG_LOCAL_STORAGE_LOGGING_REQUEST",B.LOCAL_STORAGE_KEYS={STATSIG_LOCAL_STORAGE_STABLE_ID:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4:!0,STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3:!0,STATSIG_LOCAL_STORAGE_LOGGING_REQUEST:!0},B.STORAGE_PREFIX="STATSIG_LOCAL_STORAGE"}
function(U,B,G){var Y=G(76226).default;function V(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */U.exports=V=function(){return B},U.exports.__esModule=!0,U.exports.default=U.exports;var B={},G=Object.prototype,Z=G.hasOwnProperty,J="function"==typeof Symbol?Symbol:{},X=J.iterator||"@@iterator",Q=J.asyncIterator||"@@asyncIterator",tt=J.toStringTag||"@@toStringTag";function te(U,B,G){return Object.defineProperty(U,B,{value:G,enumerable:!0,configurable:!0,writable:!0}),U[B]}try{te({},"")}catch(U){te=function(U,B,G){return U[B]=G}}function tn(U,B,G,Y){var V=Object.create((B&&B.prototype instanceof ta?B:ta).prototype),Z=new ty(Y||[]);return V._invoke=function(U,B,G){var Y="suspendedStart";return function(V,Z){if("executing"===Y)throw Error("Generator is already running");if("completed"===Y){if("throw"===V)throw Z;return tE()}for(G.method=V,G.arg=Z;;){var J=G.delegate;if(J){var X=t_(J,G);if(X){if(X===ti)continue;return X}}if("next"===G.method)G.sent=G._sent=G.arg;else if("throw"===G.method){if("suspendedStart"===Y)throw Y="completed",G.arg;G.dispatchException(G.arg)}else"return"===G.method&&G.abrupt("return",G.arg);Y="executing";var Q=tr(U,B,G);if("normal"===Q.type){if(Y=G.done?"completed":"suspendedYield",Q.arg===ti)continue;return{value:Q.arg,done:G.done}}"throw"===Q.type&&(Y="completed",G.method="throw",G.arg=Q.arg)}}}(U,G,Z),V}function tr(U,B,G){try{return{type:"normal",arg:U.call(B,G)}}catch(U){return{type:"throw",arg:U}}}B.wrap=tn;var ti={};function ta(){}function ts(){}function tu(){}var tc={};te(tc,X,function(){return this});var td=Object.getPrototypeOf,tf=td&&td(td(tb([])));tf&&tf!==G&&Z.call(tf,X)&&(tc=tf);var th=tu.prototype=ta.prototype=Object.create(tc);function tp(U){["next","throw","return"].forEach(function(B){te(U,B,function(U){return this._invoke(B,U)})})}function tg(U,B){var G;function V(G,J,X,Q){var tt=tr(U[G],U,J);if("throw"!==tt.type){var te=tt.arg,tn=te.value;return tn&&"object"==Y(tn)&&Z.call(tn,"__await")?B.resolve(tn.__await).then(function(U){V("next",U,X,Q)},function(U){V("throw",U,X,Q)}):B.resolve(tn).then(function(U){te.value=U,X(te)},function(U){return V("throw",U,X,Q)})}Q(tt.arg)}this._invoke=function(U,Y){function Z(){return new B(function(B,G){V(U,Y,B,G)})}return G=G?G.then(Z,Z):Z()}}function t_(U,B){var G=U.iterator[B.method];if(void 0===G){if(B.delegate=null,"throw"===B.method){if(U.iterator.return&&(B.method="return",B.arg=void 0,t_(U,B),"throw"===B.method))return ti;B.method="throw",B.arg=TypeError("The iterator does not provide a 'throw' method")}return ti}var Y=tr(G,U.iterator,B.arg);if("throw"===Y.type)return B.method="throw",B.arg=Y.arg,B.delegate=null,ti;var V=Y.arg;return V?V.done?(B[U.resultName]=V.value,B.next=U.nextLoc,"return"!==B.method&&(B.method="next",B.arg=void 0),B.delegate=null,ti):V:(B.method="throw",B.arg=TypeError("iterator result is not an object"),B.delegate=null,ti)}function tm(U){var B={tryLoc:U[0]};1 in U&&(B.catchLoc=U[1]),2 in U&&(B.finallyLoc=U[2],B.afterLoc=U[3]),this.tryEntries.push(B)}function tv(U){var B=U.completion||{};B.type="normal",delete B.arg,U.completion=B}function ty(U){this.tryEntries=[{tryLoc:"root"}],U.forEach(tm,this),this.reset(!0)}function tb(U){if(U){var B=U[X];if(B)return B.call(U);if("function"==typeof U.next)return U;if(!isNaN(U.length)){var G=-1,Y=function B(){for(;++G<U.length;)if(Z.call(U,G))return B.value=U[G],B.done=!1,B;return B.value=void 0,B.done=!0,B};return Y.next=Y}}return{next:tE}}function tE(){return{value:void 0,done:!0}}return ts.prototype=tu,te(th,"constructor",tu),te(tu,"constructor",ts),ts.displayName=te(tu,tt,"GeneratorFunction"),B.isGeneratorFunction=function(U){var B="function"==typeof U&&U.constructor;return!!B&&(B===ts||"GeneratorFunction"===(B.displayName||B.name))},B.mark=function(U){return Object.setPrototypeOf?Object.setPrototypeOf(U,tu):(U.__proto__=tu,te(U,tt,"GeneratorFunction")),U.prototype=Object.create(th),U},B.awrap=function(U){return{__await:U}},tp(tg.prototype),te(tg.prototype,Q,function(){return this}),B.AsyncIterator=tg,B.async=function(U,G,Y,V,Z){void 0===Z&&(Z=Promise);var J=new tg(tn(U,G,Y,V),Z);return B.isGeneratorFunction(G)?J:J.next().then(function(U){return U.done?U.value:J.next()})},tp(th),te(th,tt,"Generator"),te(th,X,function(){return this}),te(th,"toString",function(){return"[object Generator]"}),B.keys=function(U){var B=[];for(var G in U)B.push(G);return B.reverse(),function G(){for(;B.length;){var Y=B.pop();if(Y in U)return G.value=Y,G.done=!1,G}return G.done=!0,G}},B.values=tb,ty.prototype={constructor:ty,reset:function(U){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(tv),!U)for(var B in this)"t"===B.charAt(0)&&Z.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=void 0)},stop:function(){this.done=!0;var U=this.tryEntries[0].completion;if("throw"===U.type)throw U.arg;return this.rval},dispatchException:function(U){if(this.done)throw U;var B=this;function G(G,Y){return J.type="throw",J.arg=U,B.next=G,Y&&(B.method="next",B.arg=void 0),!!Y}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var V=this.tryEntries[Y],J=V.completion;if("root"===V.tryLoc)return G("end");if(V.tryLoc<=this.prev){var X=Z.call(V,"catchLoc"),Q=Z.call(V,"finallyLoc");if(X&&Q){if(this.prev<V.catchLoc)return G(V.catchLoc,!0);if(this.prev<V.finallyLoc)return G(V.finallyLoc)}else if(X){if(this.prev<V.catchLoc)return G(V.catchLoc,!0)}else{if(!Q)throw Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return G(V.finallyLoc)}}}},abrupt:function(U,B){for(var G=this.tryEntries.length-1;G>=0;--G){var Y=this.tryEntries[G];if(Y.tryLoc<=this.prev&&Z.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var V=Y;break}}V&&("break"===U||"continue"===U)&&V.tryLoc<=B&&B<=V.finallyLoc&&(V=null);var J=V?V.completion:{};return J.type=U,J.arg=B,V?(this.method="next",this.next=V.finallyLoc,ti):this.complete(J)},complete:function(U,B){if("throw"===U.type)throw U.arg;return"break"===U.type||"continue"===U.type?this.next=U.arg:"return"===U.type?(this.rval=this.arg=U.arg,this.method="return",this.next="end"):"normal"===U.type&&B&&(this.next=B),ti},finish:function(U){for(var B=this.tryEntries.length-1;B>=0;--B){var G=this.tryEntries[B];if(G.finallyLoc===U)return this.complete(G.completion,G.afterLoc),tv(G),ti}},catch:function(U){for(var B=this.tryEntries.length-1;B>=0;--B){var G=this.tryEntries[B];if(G.tryLoc===U){var Y=G.completion;if("throw"===Y.type){var V=Y.arg;tv(G)}return V}}throw Error("illegal catch attempt")},delegateYield:function(U,B,G){return this.delegate={iterator:tb(U),resultName:B,nextLoc:G},"next"===this.method&&(this.arg=void 0),ti}},B}U.exports=V,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{M:function(){return tn}});var Y=G(45675),V=G(70079),Z=G(49270),J=G(7824),X=G(9137);let Q="focusScope.autoFocusOnMount",tt="focusScope.autoFocusOnUnmount",te={bubbles:!1,cancelable:!0},tn=(0,V.forwardRef)((U,B)=>{let{loop:G=!1,trapped:tn=!1,onMountAutoFocus:ts,onUnmountAutoFocus:tu,...tc}=U,[th,tp]=(0,V.useState)(null),t_=(0,X.W)(ts),tm=(0,X.W)(tu),tv=(0,V.useRef)(null),ty=(0,Z.e)(B,U=>tp(U)),tb=(0,V.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,V.useEffect)(()=>{if(tn){function U(U){if(tb.paused||!th)return;let B=U.target;th.contains(B)?tv.current=B:td(tv.current,{select:!0})}function B(U){tb.paused||!th||th.contains(U.relatedTarget)||td(tv.current,{select:!0})}return document.addEventListener("focusin",U),document.addEventListener("focusout",B),()=>{document.removeEventListener("focusin",U),document.removeEventListener("focusout",B)}}},[tn,th,tb.paused]),(0,V.useEffect)(()=>{if(th){tf.add(tb);let U=document.activeElement,B=th.contains(U);if(!B){let B=new CustomEvent(Q,te);th.addEventListener(Q,t_),th.dispatchEvent(B),B.defaultPrevented||(tr(tg(ta(th)),{select:!0}),document.activeElement===U&&td(th))}return()=>{th.removeEventListener(Q,t_),setTimeout(()=>{let B=new CustomEvent(tt,te);th.addEventListener(tt,tm),th.dispatchEvent(B),B.defaultPrevented||td(null!=U?U:document.body,{select:!0}),th.removeEventListener(tt,tm),tf.remove(tb)},0)}}},[th,t_,tm,tb]);let tE=(0,V.useCallback)(U=>{if(!G&&!tn||tb.paused)return;let B="Tab"===U.key&&!U.altKey&&!U.ctrlKey&&!U.metaKey,Y=document.activeElement;if(B&&Y){let B=U.currentTarget,[V,Z]=ti(B),J=V&&Z;J?U.shiftKey||Y!==Z?U.shiftKey&&Y===V&&(U.preventDefault(),G&&td(Z,{select:!0})):(U.preventDefault(),G&&td(V,{select:!0})):Y===B&&U.preventDefault()}},[G,tn,tb.paused]);return(0,V.createElement)(J.WV.div,(0,Y.Z)({tabIndex:-1},tc,{ref:ty,onKeyDown:tE}))});function tr(U,{select:B=!1}={}){let G=document.activeElement;for(let Y of U)if(td(Y,{select:B}),document.activeElement!==G)return}function ti(U){let B=ta(U),G=ts(B,U),Y=ts(B.reverse(),U);return[G,Y]}function ta(U){let B=[],G=document.createTreeWalker(U,NodeFilter.SHOW_ELEMENT,{acceptNode:U=>{let B="INPUT"===U.tagName&&"hidden"===U.type;return U.disabled||U.hidden||B?NodeFilter.FILTER_SKIP:U.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;G.nextNode();)B.push(G.currentNode);return B}function ts(U,B){for(let G of U)if(!tu(G,{upTo:B}))return G}function tu(U,{upTo:B}){if("hidden"===getComputedStyle(U).visibility)return!0;for(;U&&(void 0===B||U!==B);){if("none"===getComputedStyle(U).display)return!0;U=U.parentElement}return!1}function tc(U){return U instanceof HTMLInputElement&&"select"in U}function td(U,{select:B=!1}={}){if(U&&U.focus){let G=document.activeElement;U.focus({preventScroll:!0}),U!==G&&tc(U)&&B&&U.select()}}let tf=th();function th(){let U=[];return{add(B){let G=U[0];B!==G&&(null==G||G.pause()),(U=tp(U,B)).unshift(B)},remove(B){var G;null===(G=(U=tp(U,B))[0])||void 0===G||G.resume()}}}function tp(U,B){let G=[...U],Y=G.indexOf(B);return -1!==Y&&G.splice(Y,1),G}function tg(U){return U.filter(U=>"A"!==U.tagName)}}
function(U,B,G){var Y=G(66380);function V(U,B){";"!==(U=Y.trimRight(U))[U.length-1]&&(U+=";");var G=U.length,V=!1,Z=0,J=0,X="";function Q(){if(!V){var G=Y.trim(U.slice(Z,J)),Q=G.indexOf(":");if(-1!==Q){var tt=Y.trim(G.slice(0,Q)),te=Y.trim(G.slice(Q+1));if(tt){var tn=B(Z,X.length,tt,te,G);tn&&(X+=tn+"; ")}}}Z=J+1}for(;J<G;J++){var tt=U[J];if("/"===tt&&"*"===U[J+1]){var te=U.indexOf("*/",J+2);if(-1===te)break;Z=(J=te+1)+1,V=!1}else"("===tt?V=!0:")"===tt?V=!1:";"===tt?V||Q():"\n"===tt&&Q()}return Y.trim(X)}U.exports=V}
function(U,B,G){"use strict";G.d(B,{w_:function(){return tt}});var Y=G(70079),V={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Z=Y.createContext&&Y.createContext(V),J=function(){return(J=Object.assign||function(U){for(var B,G=1,Y=arguments.length;G<Y;G++)for(var V in B=arguments[G])Object.prototype.hasOwnProperty.call(B,V)&&(U[V]=B[V]);return U}).apply(this,arguments)},X=function(U,B){var G={};for(var Y in U)Object.prototype.hasOwnProperty.call(U,Y)&&0>B.indexOf(Y)&&(G[Y]=U[Y]);if(null!=U&&"function"==typeof Object.getOwnPropertySymbols)for(var V=0,Y=Object.getOwnPropertySymbols(U);V<Y.length;V++)0>B.indexOf(Y[V])&&Object.prototype.propertyIsEnumerable.call(U,Y[V])&&(G[Y[V]]=U[Y[V]]);return G};function Q(U){return U&&U.map(function(U,B){return Y.createElement(U.tag,J({key:B},U.attr),Q(U.child))})}function tt(U){return function(B){return Y.createElement(te,J({attr:J({},U.attr)},B),Q(U.child))}}function te(U){var B=function(B){var G,V=U.attr,Z=U.size,Q=U.title,tt=X(U,["attr","size","title"]),te=Z||B.size||"1em";return B.className&&(G=B.className),U.className&&(G=(G?G+" ":"")+U.className),Y.createElement("svg",J({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},B.attr,V,tt,{className:G,style:J(J({color:U.color||B.color},B.style),U.style),height:te,width:te,xmlns:"http://www.w3.org/2000/svg"}),Q&&Y.createElement("title",null,Q),U.children)};return void 0!==Z?Y.createElement(Z.Consumer,null,function(U){return B(U)}):B(V)}}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var G=function(){function U(U,B,G,Y,V,Z,J,X,Q){void 0===V&&(V=null),void 0===Z&&(Z=[]),void 0===J&&(J=[]),void 0===X&&(X=""),void 0===Q&&(Q=[]),this.logParameterFunction=V,this.name=U,this.value=JSON.parse(JSON.stringify(null!=B?B:{})),this.ruleID=null!=G?G:"",this.evaluationDetails=Y,this.secondaryExposures=Z,this.undelegatedSecondaryExposures=J,this.allocatedExperimentName=X,this.explicitParameters=Q}return U._create=function(B,G,Y,V,Z,J,X,Q,tt){return void 0===Z&&(Z=null),void 0===J&&(J=[]),void 0===X&&(X=[]),void 0===Q&&(Q=""),void 0===tt&&(tt=[]),new U(B,G,Y,V,Z,J,X,Q,tt)},U.prototype.get=function(U,B,G){var Y=this,V=this.value[U];if(null==V)return B;var Z=function(){return Y.logLayerParameterExposure(U),V};return G?G(V)?Z():B:null==B||typeof V==typeof B&&Array.isArray(B)===Array.isArray(V)?Z():B},U.prototype.getValue=function(U,B){void 0==B&&(B=null);var G=this.value[U];return null!=G&&this.logLayerParameterExposure(U),null!=G?G:B},U.prototype.getRuleID=function(){return this.ruleID},U.prototype.getName=function(){return this.name},U.prototype.getEvaluationDetails=function(){return this.evaluationDetails},U.prototype._getSecondaryExposures=function(){return this.secondaryExposures},U.prototype._getUndelegatedSecondaryExposures=function(){return this.undelegatedSecondaryExposures},U.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},U.prototype._getExplicitParameters=function(){return this.explicitParameters},U.prototype._getEvaluationDetails=function(){return this.evaluationDetails},U.prototype.logLayerParameterExposure=function(U){var B;null===(B=this.logParameterFunction)||void 0===B||B.call(this,this,U)},U}();B.default=G}
function(U,B,G){"use strict";var Y=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},V=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},Z=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0});var J=G(68093),X=G(49787),Q=Z(G(25609)),tt=Z(G(12559)),te=function(){function U(U,B,Y){this.platform=null,this.nativeModules=null,this.sdkType="js-client",this.reactNativeUUID=Y,this.user=U,this.sdkVersion=null!==(Z=null===(V=G(63954))||void 0===V?void 0:V.version)&&void 0!==Z?Z:"",this.statsigMetadata={sdkType:this.sdkType,sdkVersion:this.sdkVersion};var V,Z,J,te=B;Q.default.asyncStorage||(te=null!==(J=null!=te?te:tt.default.getItem(X.STATSIG_STABLE_ID_KEY))&&void 0!==J?J:this.getUUID()),te&&(this.statsigMetadata.stableID=te)}return U.prototype.saveStableID=function(){null!=this.statsigMetadata.stableID&&tt.default.setItem(X.STATSIG_STABLE_ID_KEY,this.statsigMetadata.stableID)},U.prototype.initAsync=function(){return Y(this,void 0,void 0,function(){var U;return V(this,function(B){switch(B.label){case 0:if(U=this.statsigMetadata.stableID)return[3,2];return[4,Q.default.getItemAsync(X.STATSIG_STABLE_ID_KEY)];case 1:U=null!=(U=B.sent())?U:this.getUUID(),B.label=2;case 2:return Q.default.setItemAsync(X.STATSIG_STABLE_ID_KEY,U),this.statsigMetadata.stableID=U,[2,this]}})})},U.prototype.getSDKType=function(){return this.sdkType},U.prototype.getSDKVersion=function(){return this.sdkVersion},U.prototype.getStatsigMetadata=function(){return this.statsigMetadata.sdkType=this.sdkType,this.statsigMetadata.sdkVersion=this.sdkVersion,this.statsigMetadata},U.prototype.getUser=function(){return this.user},U.prototype.updateUser=function(U){this.user=U},U.prototype.setSDKPackageInfo=function(U){this.sdkType=U.sdkType,this.sdkVersion=U.sdkVersion},U.prototype.setPlatform=function(U){this.platform=U,this.updateMetadataFromNativeModules()},U.prototype.setNativeModules=function(U){this.nativeModules=U,this.updateMetadataFromNativeModules()},U.prototype.updateMetadataFromNativeModules=function(){var U,B,G,Y,V,Z,J;null!=this.platform&&null!=this.nativeModules&&((null===(U=this.platform.OS)||void 0===U?void 0:U.toLocaleLowerCase())==="android"?this.statsigMetadata.locale=null===(B=this.nativeModules.I18nManager)||void 0===B?void 0:B.localeIdentifier:(null===(G=this.platform.OS)||void 0===G?void 0:G.toLocaleLowerCase())==="ios"&&(this.statsigMetadata.locale=(null===(V=null===(Y=this.nativeModules.SettingsManager)||void 0===Y?void 0:Y.settings)||void 0===V?void 0:V.AppleLocale)||(null===(J=null===(Z=this.nativeModules.SettingsManager)||void 0===Z?void 0:Z.settings)||void 0===J?void 0:J.AppleLanguages[0])))},U.prototype.getUUID=function(){var U,B;return null!==(B=null===(U=this.reactNativeUUID)||void 0===U?void 0:U.v4())&&void 0!==B?B:(0,J.v4)()},U.prototype.setRNDeviceInfo=function(U){var B,G,Y,V,Z;this.statsigMetadata.appVersion=null!==(B=U.getVersion())&&void 0!==B?B:"",this.statsigMetadata.systemVersion=null!==(G=U.getSystemVersion())&&void 0!==G?G:"",this.statsigMetadata.systemName=null!==(Y=U.getSystemName())&&void 0!==Y?Y:"",this.statsigMetadata.deviceModelName=null!==(V=U.getModel())&&void 0!==V?V:"",this.statsigMetadata.deviceModel=null!==(Z=U.getDeviceId())&&void 0!==Z?Z:""},U.prototype.setExpoConstants=function(U){var B,G;this.statsigMetadata.appVersion=null!==(G=null!==(B=U.nativeAppVersion)&&void 0!==B?B:U.nativeBuildVersion)&&void 0!==G?G:""},U.prototype.setExpoDevice=function(U){var B,G,Y,V;this.statsigMetadata.systemVersion=null!==(B=U.osVersion)&&void 0!==B?B:"",this.statsigMetadata.systemName=null!==(G=U.osName)&&void 0!==G?G:"",this.statsigMetadata.deviceModelName=null!==(Y=U.modelName)&&void 0!==Y?Y:"",this.statsigMetadata.deviceModel=null!==(V=U.modelId)&&void 0!==V?V:""},U}();B.default=te}
function(U,B,G){"use strict";G.d(B,{Cy:function(){return tu},HD:function(){return tt},J8:function(){return ts},Kj:function(){return ta},PO:function(){return tn},TX:function(){return X},V9:function(){return td},VW:function(){return J},VZ:function(){return V},cO:function(){return tr},fm:function(){return Q},i2:function(){return tc},kK:function(){return ti},pt:function(){return te}});let Y=Object.prototype.toString;function V(U){switch(Y.call(U)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return td(U,Error)}}function Z(U,B){return Y.call(U)===`[object ${B}]`}function J(U){return Z(U,"ErrorEvent")}function X(U){return Z(U,"DOMError")}function Q(U){return Z(U,"DOMException")}function tt(U){return Z(U,"String")}function te(U){return null===U||"object"!=typeof U&&"function"!=typeof U}function tn(U){return Z(U,"Object")}function tr(U){return"undefined"!=typeof Event&&td(U,Event)}function ti(U){return"undefined"!=typeof Element&&td(U,Element)}function ta(U){return Z(U,"RegExp")}function ts(U){return!!(U&&U.then&&"function"==typeof U.then)}function tu(U){return tn(U)&&"nativeEvent"in U&&"preventDefault"in U&&"stopPropagation"in U}function tc(U){return"number"==typeof U&&U!=U}function td(U,B){try{return U instanceof B}catch(U){return!1}}}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var Y=G(76067),V=function(){function U(U){this.logLevel=U}return U.prototype.info=function(U){this.logLevel!==Y.LogLevel.NONE&&console.log(U)},U.prototype.error=function(U){this.logLevel===Y.LogLevel.DEBUG&&console.error(U)},U}();B.default=V}
function(U,B){function G(){var U={};return U["align-content"]=!1,U["align-items"]=!1,U["align-self"]=!1,U["alignment-adjust"]=!1,U["alignment-baseline"]=!1,U.all=!1,U["anchor-point"]=!1,U.animation=!1,U["animation-delay"]=!1,U["animation-direction"]=!1,U["animation-duration"]=!1,U["animation-fill-mode"]=!1,U["animation-iteration-count"]=!1,U["animation-name"]=!1,U["animation-play-state"]=!1,U["animation-timing-function"]=!1,U.azimuth=!1,U["backface-visibility"]=!1,U.background=!0,U["background-attachment"]=!0,U["background-clip"]=!0,U["background-color"]=!0,U["background-image"]=!0,U["background-origin"]=!0,U["background-position"]=!0,U["background-repeat"]=!0,U["background-size"]=!0,U["baseline-shift"]=!1,U.binding=!1,U.bleed=!1,U["bookmark-label"]=!1,U["bookmark-level"]=!1,U["bookmark-state"]=!1,U.border=!0,U["border-bottom"]=!0,U["border-bottom-color"]=!0,U["border-bottom-left-radius"]=!0,U["border-bottom-right-radius"]=!0,U["border-bottom-style"]=!0,U["border-bottom-width"]=!0,U["border-collapse"]=!0,U["border-color"]=!0,U["border-image"]=!0,U["border-image-outset"]=!0,U["border-image-repeat"]=!0,U["border-image-slice"]=!0,U["border-image-source"]=!0,U["border-image-width"]=!0,U["border-left"]=!0,U["border-left-color"]=!0,U["border-left-style"]=!0,U["border-left-width"]=!0,U["border-radius"]=!0,U["border-right"]=!0,U["border-right-color"]=!0,U["border-right-style"]=!0,U["border-right-width"]=!0,U["border-spacing"]=!0,U["border-style"]=!0,U["border-top"]=!0,U["border-top-color"]=!0,U["border-top-left-radius"]=!0,U["border-top-right-radius"]=!0,U["border-top-style"]=!0,U["border-top-width"]=!0,U["border-width"]=!0,U.bottom=!1,U["box-decoration-break"]=!0,U["box-shadow"]=!0,U["box-sizing"]=!0,U["box-snap"]=!0,U["box-suppress"]=!0,U["break-after"]=!0,U["break-before"]=!0,U["break-inside"]=!0,U["caption-side"]=!1,U.chains=!1,U.clear=!0,U.clip=!1,U["clip-path"]=!1,U["clip-rule"]=!1,U.color=!0,U["color-interpolation-filters"]=!0,U["column-count"]=!1,U["column-fill"]=!1,U["column-gap"]=!1,U["column-rule"]=!1,U["column-rule-color"]=!1,U["column-rule-style"]=!1,U["column-rule-width"]=!1,U["column-span"]=!1,U["column-width"]=!1,U.columns=!1,U.contain=!1,U.content=!1,U["counter-increment"]=!1,U["counter-reset"]=!1,U["counter-set"]=!1,U.crop=!1,U.cue=!1,U["cue-after"]=!1,U["cue-before"]=!1,U.cursor=!1,U.direction=!1,U.display=!0,U["display-inside"]=!0,U["display-list"]=!0,U["display-outside"]=!0,U["dominant-baseline"]=!1,U.elevation=!1,U["empty-cells"]=!1,U.filter=!1,U.flex=!1,U["flex-basis"]=!1,U["flex-direction"]=!1,U["flex-flow"]=!1,U["flex-grow"]=!1,U["flex-shrink"]=!1,U["flex-wrap"]=!1,U.float=!1,U["float-offset"]=!1,U["flood-color"]=!1,U["flood-opacity"]=!1,U["flow-from"]=!1,U["flow-into"]=!1,U.font=!0,U["font-family"]=!0,U["font-feature-settings"]=!0,U["font-kerning"]=!0,U["font-language-override"]=!0,U["font-size"]=!0,U["font-size-adjust"]=!0,U["font-stretch"]=!0,U["font-style"]=!0,U["font-synthesis"]=!0,U["font-variant"]=!0,U["font-variant-alternates"]=!0,U["font-variant-caps"]=!0,U["font-variant-east-asian"]=!0,U["font-variant-ligatures"]=!0,U["font-variant-numeric"]=!0,U["font-variant-position"]=!0,U["font-weight"]=!0,U.grid=!1,U["grid-area"]=!1,U["grid-auto-columns"]=!1,U["grid-auto-flow"]=!1,U["grid-auto-rows"]=!1,U["grid-column"]=!1,U["grid-column-end"]=!1,U["grid-column-start"]=!1,U["grid-row"]=!1,U["grid-row-end"]=!1,U["grid-row-start"]=!1,U["grid-template"]=!1,U["grid-template-areas"]=!1,U["grid-template-columns"]=!1,U["grid-template-rows"]=!1,U["hanging-punctuation"]=!1,U.height=!0,U.hyphens=!1,U.icon=!1,U["image-orientation"]=!1,U["image-resolution"]=!1,U["ime-mode"]=!1,U["initial-letters"]=!1,U["inline-box-align"]=!1,U["justify-content"]=!1,U["justify-items"]=!1,U["justify-self"]=!1,U.left=!1,U["letter-spacing"]=!0,U["lighting-color"]=!0,U["line-box-contain"]=!1,U["line-break"]=!1,U["line-grid"]=!1,U["line-height"]=!1,U["line-snap"]=!1,U["line-stacking"]=!1,U["line-stacking-ruby"]=!1,U["line-stacking-shift"]=!1,U["line-stacking-strategy"]=!1,U["list-style"]=!0,U["list-style-image"]=!0,U["list-style-position"]=!0,U["list-style-type"]=!0,U.margin=!0,U["margin-bottom"]=!0,U["margin-left"]=!0,U["margin-right"]=!0,U["margin-top"]=!0,U["marker-offset"]=!1,U["marker-side"]=!1,U.marks=!1,U.mask=!1,U["mask-box"]=!1,U["mask-box-outset"]=!1,U["mask-box-repeat"]=!1,U["mask-box-slice"]=!1,U["mask-box-source"]=!1,U["mask-box-width"]=!1,U["mask-clip"]=!1,U["mask-image"]=!1,U["mask-origin"]=!1,U["mask-position"]=!1,U["mask-repeat"]=!1,U["mask-size"]=!1,U["mask-source-type"]=!1,U["mask-type"]=!1,U["max-height"]=!0,U["max-lines"]=!1,U["max-width"]=!0,U["min-height"]=!0,U["min-width"]=!0,U["move-to"]=!1,U["nav-down"]=!1,U["nav-index"]=!1,U["nav-left"]=!1,U["nav-right"]=!1,U["nav-up"]=!1,U["object-fit"]=!1,U["object-position"]=!1,U.opacity=!1,U.order=!1,U.orphans=!1,U.outline=!1,U["outline-color"]=!1,U["outline-offset"]=!1,U["outline-style"]=!1,U["outline-width"]=!1,U.overflow=!1,U["overflow-wrap"]=!1,U["overflow-x"]=!1,U["overflow-y"]=!1,U.padding=!0,U["padding-bottom"]=!0,U["padding-left"]=!0,U["padding-right"]=!0,U["padding-top"]=!0,U.page=!1,U["page-break-after"]=!1,U["page-break-before"]=!1,U["page-break-inside"]=!1,U["page-policy"]=!1,U.pause=!1,U["pause-after"]=!1,U["pause-before"]=!1,U.perspective=!1,U["perspective-origin"]=!1,U.pitch=!1,U["pitch-range"]=!1,U["play-during"]=!1,U.position=!1,U["presentation-level"]=!1,U.quotes=!1,U["region-fragment"]=!1,U.resize=!1,U.rest=!1,U["rest-after"]=!1,U["rest-before"]=!1,U.richness=!1,U.right=!1,U.rotation=!1,U["rotation-point"]=!1,U["ruby-align"]=!1,U["ruby-merge"]=!1,U["ruby-position"]=!1,U["shape-image-threshold"]=!1,U["shape-outside"]=!1,U["shape-margin"]=!1,U.size=!1,U.speak=!1,U["speak-as"]=!1,U["speak-header"]=!1,U["speak-numeral"]=!1,U["speak-punctuation"]=!1,U["speech-rate"]=!1,U.stress=!1,U["string-set"]=!1,U["tab-size"]=!1,U["table-layout"]=!1,U["text-align"]=!0,U["text-align-last"]=!0,U["text-combine-upright"]=!0,U["text-decoration"]=!0,U["text-decoration-color"]=!0,U["text-decoration-line"]=!0,U["text-decoration-skip"]=!0,U["text-decoration-style"]=!0,U["text-emphasis"]=!0,U["text-emphasis-color"]=!0,U["text-emphasis-position"]=!0,U["text-emphasis-style"]=!0,U["text-height"]=!0,U["text-indent"]=!0,U["text-justify"]=!0,U["text-orientation"]=!0,U["text-overflow"]=!0,U["text-shadow"]=!0,U["text-space-collapse"]=!0,U["text-transform"]=!0,U["text-underline-position"]=!0,U["text-wrap"]=!0,U.top=!1,U.transform=!1,U["transform-origin"]=!1,U["transform-style"]=!1,U.transition=!1,U["transition-delay"]=!1,U["transition-duration"]=!1,U["transition-property"]=!1,U["transition-timing-function"]=!1,U["unicode-bidi"]=!1,U["vertical-align"]=!1,U.visibility=!1,U["voice-balance"]=!1,U["voice-duration"]=!1,U["voice-family"]=!1,U["voice-pitch"]=!1,U["voice-range"]=!1,U["voice-rate"]=!1,U["voice-stress"]=!1,U["voice-volume"]=!1,U.volume=!1,U["white-space"]=!1,U.widows=!1,U.width=!0,U["will-change"]=!1,U["word-break"]=!0,U["word-spacing"]=!0,U["word-wrap"]=!0,U["wrap-flow"]=!1,U["wrap-through"]=!1,U["writing-mode"]=!1,U["z-index"]=!1,U}function Y(U,B,G){}function V(U,B,G){}var Z=/javascript\s*\:/img;function J(U,B){return Z.test(B)?"":B}B.whiteList=G(),B.getDefaultWhiteList=G,B.onAttr=Y,B.onIgnoreAttr=V,B.safeAttrValue=J}
function(U,B,G){"use strict";function Y(U,B){return B.get?B.get.call(U):B.value}G.d(B,{_:function(){return Z}});var V=G(39730);function Z(U,B){var G=(0,V.J)(U,B,"get");return Y(U,G)}}
function(U,B,G){"use strict";function Y(U,B){return"function"==typeof U?U(...B):!!U}G.d(B,{L:function(){return Y}})}
function(U,B,G){"use strict";function Y(U,B,G){if(void 0===G&&(G=Error),!U)throw new G(B)}G.d(B,{kG:function(){return Y}})}
function(U,B,G){"use strict";G.d(B,{EW:function(){return Z}});var Y=G(70079);let V=0;function Z(){(0,Y.useEffect)(()=>{var U,B;let G=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(U=G[0])&&void 0!==U?U:J()),document.body.insertAdjacentElement("beforeend",null!==(B=G[1])&&void 0!==B?B:J()),V++,()=>{1===V&&document.querySelectorAll("[data-radix-focus-guard]").forEach(U=>U.remove()),V--}},[])}function J(){let U=document.createElement("span");return U.setAttribute("data-radix-focus-guard",""),U.tabIndex=0,U.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",U}}
function(U,B,G){"use strict";G.d(B,{r:function(){return tn}});var Y=G(70079),V=G(67531),Z=G(84427),J=G(36665),X=G(35448),Q=G(28189),tt=G(1371),te=G(59463);function tn(U,B){let G=(0,X.NL)({context:U.context}),tn=(0,Q.S)(),tr=(0,J._)(),ti=G.defaultQueryOptions(U);ti._optimisticResults=tn?"isRestoring":"optimistic",ti.onError&&(ti.onError=Z.V.batchCalls(ti.onError)),ti.onSuccess&&(ti.onSuccess=Z.V.batchCalls(ti.onSuccess)),ti.onSettled&&(ti.onSettled=Z.V.batchCalls(ti.onSettled)),(0,te.Fb)(ti),(0,tt.pf)(ti,tr),(0,tt.JN)(tr);let[ta]=Y.useState(()=>new B(G,ti)),ts=ta.getOptimisticResult(ti);if((0,V.$)(Y.useCallback(U=>tn?()=>void 0:ta.subscribe(Z.V.batchCalls(U)),[ta,tn]),()=>ta.getCurrentResult(),()=>ta.getCurrentResult()),Y.useEffect(()=>{ta.setOptions(ti,{listeners:!1})},[ti,ta]),(0,te.SB)(ti,ts,tn))throw(0,te.j8)(ti,ta,tr);if((0,tt.KJ)({result:ts,errorResetBoundary:tr,useErrorBoundary:ti.useErrorBoundary,query:ta.getCurrentQuery()}))throw ts.error;return ti.notifyOnChangeProps?ts:ta.trackResult(ts)}}
function(U,B,G){"use strict";function Y(U){return void 0!==U.userMessage}G.d(B,{T:function(){return Y}})}
function(U,B,G){"use strict";var Y=this&&this.__awaiter||function(U,B,G,Y){function V(U){return U instanceof G?U:new G(function(B){B(U)})}return new(G||(G=Promise))(function(G,Z){function J(U){try{Q(Y.next(U))}catch(U){Z(U)}}function X(U){try{Q(Y.throw(U))}catch(U){Z(U)}}function Q(U){U.done?G(U.value):V(U.value).then(J,X)}Q((Y=Y.apply(U,B||[])).next())})},V=this&&this.__generator||function(U,B){var G,Y,V,Z,J={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return Z={next:X(0),throw:X(1),return:X(2)},"function"==typeof Symbol&&(Z[Symbol.iterator]=function(){return this}),Z;function X(U){return function(B){return Q([U,B])}}function Q(Z){if(G)throw TypeError("Generator is already executing.");for(;J;)try{if(G=1,Y&&(V=2&Z[0]?Y.return:Z[0]?Y.throw||((V=Y.return)&&V.call(Y),0):Y.next)&&!(V=V.call(Y,Z[1])).done)return V;switch(Y=0,V&&(Z=[2&Z[0],V.value]),Z[0]){case 0:case 1:V=Z;break;case 4:return J.label++,{value:Z[1],done:!1};case 5:J.label++,Y=Z[1],Z=[0];continue;case 7:Z=J.ops.pop(),J.trys.pop();continue;default:if(!(V=(V=J.trys).length>0&&V[V.length-1])&&(6===Z[0]||2===Z[0])){J=0;continue}if(3===Z[0]&&(!V||Z[1]>V[0]&&Z[1]<V[3])){J.label=Z[1];break}if(6===Z[0]&&J.label<V[1]){J.label=V[1],V=Z;break}if(V&&J.label<V[2]){J.label=V[2],J.ops.push(Z);break}V[2]&&J.ops.pop(),J.trys.pop();continue}Z=B.call(U,J)}catch(U){Z=[6,U],Y=0}finally{G=V=0}if(5&Z[0])throw Z[1];return{value:Z[0]?Z[1]:void 0,done:!0}}},Z=this&&this.__importDefault||function(U){return U&&U.__esModule?U:{default:U}};Object.defineProperty(B,"__esModule",{value:!0}),B.StatsigAsyncStorage=B.EvaluationReason=B.StatsigClient=B.Layer=B.DynamicConfig=void 0;var J=G(5502),X=Z(G(30227)),Q=Z(G(80300)),tt=G(3009),te=Z(G(83378)),tn=Z(G(90355)),tr=Z(G(70454)),ti=G(12229);Object.defineProperty(B,"DynamicConfig",{enumerable:!0,get:function(){return Z(ti).default}});var ta=G(51475);Object.defineProperty(B,"Layer",{enumerable:!0,get:function(){return Z(ta).default}});var ts=G(30227);Object.defineProperty(B,"StatsigClient",{enumerable:!0,get:function(){return Z(ts).default}});var tu=G(3009);Object.defineProperty(B,"EvaluationReason",{enumerable:!0,get:function(){return tu.EvaluationReason}});var tc=G(25609);Object.defineProperty(B,"StatsigAsyncStorage",{enumerable:!0,get:function(){return Z(tc).default}}),(0,te.default)(),(0,tn.default)(),(0,tr.default)();var td=function(){function U(){}return Object.defineProperty(U,"encodeIntializeCall",{get:function(){return Q.default.encodeInitializeCall},set:function(U){Q.default.encodeInitializeCall=U},enumerable:!1,configurable:!0}),U.initialize=function(B,G,Z){var J;return Y(this,void 0,void 0,function(){var Y;return V(this,function(V){return Y=null!==(J=U.instance)&&void 0!==J?J:new X.default(B,G,Z),U.instance||(U.instance=Y),[2,Y.initializeAsync()]})})},U.prefetchUsers=function(B){return Y(this,void 0,void 0,function(){return V(this,function(G){switch(G.label){case 0:return[4,U.getClientX().prefetchUsers(B)];case 1:return[2,G.sent()]}})})},U.setInitializeValues=function(B){U.getClientX().setInitializeValues(B)},U.checkGate=function(B,G){return void 0===G&&(G=!1),U.getClientX().checkGate(B,G)},U.checkGateWithExposureLoggingDisabled=function(B,G){return void 0===G&&(G=!1),U.getClientX().checkGateWithExposureLoggingDisabled(B,G)},U.manuallyLogGateExposure=function(B){U.getClientX().logGateExposure(B)},U.getConfig=function(B,G){return void 0===G&&(G=!1),U.getClientX().getConfig(B,G)},U.getConfigWithExposureLoggingDisabled=function(B,G){return void 0===G&&(G=!1),U.getClientX().getConfigWithExposureLoggingDisabled(B,G)},U.manuallyLogConfigExposure=function(B){U.getClientX().logConfigExposure(B)},U.getExperiment=function(B,G,Y){return void 0===G&&(G=!1),void 0===Y&&(Y=!1),U.getClientX().getExperiment(B,G,Y)},U.getExperimentWithExposureLoggingDisabled=function(B,G,Y){return void 0===G&&(G=!1),void 0===Y&&(Y=!1),U.getClientX().getExperimentWithExposureLoggingDisabled(B,G,Y)},U.manuallyLogExperimentExposure=function(B,G){void 0===G&&(G=!1),U.getClientX().logExperimentExposure(B,G)},U.getLayer=function(B,G){return void 0===G&&(G=!1),U.getClientX().getLayer(B,G)},U.getLayerWithExposureLoggingDisabled=function(B,G){return void 0===G&&(G=!1),U.getClientX().getLayerWithExposureLoggingDisabled(B,G)},U.manuallyLogLayerParameterExposure=function(B,G,Y){void 0===Y&&(Y=!1),U.getClientX().logLayerParameterExposure(B,G,Y)},U.logEvent=function(B,G,Y){return void 0===G&&(G=null),void 0===Y&&(Y=null),U.getClientX().logEvent(B,G,Y)},U.updateUser=function(B){return U.getClientX().updateUser(B)},U.shutdown=function(){U.getClientX().shutdown(),U.instance=null},U.overrideGate=function(B,G){U.getClientX().overrideGate(B,G)},U.overrideConfig=function(B,G){U.getClientX().overrideConfig(B,G)},U.overrideLayer=function(B,G){U.getClientX().overrideLayer(B,G)},U.removeGateOverride=function(B){U.getClientX().removeGateOverride(B)},U.removeConfigOverride=function(B){U.getClientX().removeConfigOverride(B)},U.removeLayerOverride=function(B){U.getClientX().removeLayerOverride(B)},U.getAllOverrides=function(){return U.getClientX().getAllOverrides()},U.getStableID=function(){return U.getClientX().getStableID()},U.getEvaluationDetails=function(){var B,G;return null!==(G=null===(B=U.instance)||void 0===B?void 0:B.getEvaluationDetails())&&void 0!==G?G:{reason:tt.EvaluationReason.Uninitialized,time:0}},U.removeOverride=function(B){U.getClientX().removeOverride(B)},U.getOverrides=function(){return U.getClientX().getOverrides()},U.initializeCalled=function(){return null!=U.instance&&U.instance.initializeCalled()},U.getClientX=function(){if(!U.instance)throw new J.StatsigUninitializedError;return U.instance},U.instance=null,U}();B.default=td}
function(U,B,G){var Y=G(40101).FilterCSS,V=G(40101).getDefaultWhiteList,Z=G(12665);function J(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var X=new Y;function Q(U,B,G){}function tt(U,B,G){}function te(U,B,G){}function tn(U,B,G){}function tr(U){return U.replace(ta,"&lt;").replace(ts,"&gt;")}function ti(U,B,G,Y){if(G=tw(G),"href"===B||"src"===B){if("#"===(G=Z.trim(G)))return"#";if(!("http://"===G.substr(0,7)||"https://"===G.substr(0,8)||"mailto:"===G.substr(0,7)||"tel:"===G.substr(0,4)||"data:image/"===G.substr(0,11)||"ftp://"===G.substr(0,6)||"./"===G.substr(0,2)||"../"===G.substr(0,3)||"#"===G[0]||"/"===G[0]))return""}else if("background"===B){if(tp.lastIndex=0,tp.test(G))return""}else if("style"===B){if(tg.lastIndex=0,tg.test(G)||(t_.lastIndex=0,t_.test(G)&&(tp.lastIndex=0,tp.test(G))))return"";!1!==Y&&(G=(Y=Y||X).process(G))}return G=tS(G)}var ta=/</g,ts=/>/g,tu=/"/g,tc=/&quot;/g,td=/&#([a-zA-Z0-9]*);?/gim,tf=/&colon;?/gim,th=/&newline;?/gim,tp=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,tg=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,t_=/u\s*r\s*l\s*\(.*/gi;function tm(U){return U.replace(tu,"&quot;")}function tv(U){return U.replace(tc,'"')}function ty(U){return U.replace(td,function(U,B){return"x"===B[0]||"X"===B[0]?String.fromCharCode(parseInt(B.substr(1),16)):String.fromCharCode(parseInt(B,10))})}function tb(U){return U.replace(tf,":").replace(th," ")}function tE(U){for(var B="",G=0,Y=U.length;G<Y;G++)B+=32>U.charCodeAt(G)?" ":U.charAt(G);return Z.trim(B)}function tw(U){return U=tE(U=tb(U=ty(U=tv(U))))}function tS(U){return U=tr(U=tm(U))}function tx(){return""}function tk(U,B){"function"!=typeof B&&(B=function(){});var G=!Array.isArray(U);function Y(B){return!!G||-1!==Z.indexOf(U,B)}var V=[],J=!1;return{onIgnoreTag:function(U,G,Z){if(!Y(U))return B(U,G,Z);if(!Z.isClosing)return J||(J=Z.position),"[removed]";var X="[/removed]",Q=Z.position+X.length;return V.push([!1!==J?J:Z.position,Q]),J=!1,X},remove:function(U){var B="",G=0;return Z.forEach(V,function(Y){B+=U.slice(G,Y[0]),G=Y[1]}),B+=U.slice(G)}}}function tT(U){for(var B="",G=0;G<U.length;){var Y=U.indexOf("<!--",G);if(-1===Y){B+=U.slice(G);break}B+=U.slice(G,Y);var V=U.indexOf("-->",Y);if(-1===V)break;G=V+3}return B}function tC(U){var B=U.split("");return(B=B.filter(function(U){var B=U.charCodeAt(0);return 127!==B&&(!(B<=31)||10===B||13===B)})).join("")}B.whiteList=J(),B.getDefaultWhiteList=J,B.onTag=Q,B.onIgnoreTag=tt,B.onTagAttr=te,B.onIgnoreTagAttr=tn,B.safeAttrValue=ti,B.escapeHtml=tr,B.escapeQuote=tm,B.unescapeQuote=tv,B.escapeHtmlEntities=ty,B.escapeDangerHtml5Entities=tb,B.clearNonPrintableCharacter=tE,B.friendlyAttrValue=tw,B.escapeAttrValue=tS,B.onIgnoreTagStripAll=tx,B.StripTagBody=tk,B.stripCommentTag=tT,B.stripBlankChar=tC,B.cssFilter=X,B.getDefaultCSSWhiteList=V}
function(U,B,G){"use strict";G.d(B,{z:function(){return Q}});var Y=G(16456),V=G(84427),Z=G(99475),J=G(28197),X=G(94402);class Q extends J.l{constructor(U,B){super(),this.client=U,this.options=B,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(B)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.length&&(this.currentQuery.addObserver(this),te(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return tn(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return tn(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(U,B){let G=this.options,V=this.currentQuery;if(this.options=this.client.defaultQueryOptions(U),(0,Y.VS)(G,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=G.queryKey),this.updateQuery();let Z=this.hasListeners();Z&&tr(this.currentQuery,V,this.options,G)&&this.executeFetch(),this.updateResult(B),Z&&(this.currentQuery!==V||this.options.enabled!==G.enabled||this.options.staleTime!==G.staleTime)&&this.updateStaleTimeout();let J=this.computeRefetchInterval();Z&&(this.currentQuery!==V||this.options.enabled!==G.enabled||J!==this.currentRefetchInterval)&&this.updateRefetchInterval(J)}getOptimisticResult(U){let B=this.client.getQueryCache().build(this.client,U);return this.createResult(B,U)}getCurrentResult(){return this.currentResult}trackResult(U){let B={};return Object.keys(U).forEach(G=>{Object.defineProperty(B,G,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(G),U[G])})}),B}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:U,...B}={}){return this.fetch({...B,meta:{refetchPage:U}})}fetchOptimistic(U){let B=this.client.defaultQueryOptions(U),G=this.client.getQueryCache().build(this.client,B);return G.isFetchingOptimistic=!0,G.fetch().then(()=>this.createResult(G,B))}fetch(U){var B;return this.executeFetch({...U,cancelRefetch:null==(B=U.cancelRefetch)||B}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(U){this.updateQuery();let B=this.currentQuery.fetch(this.options,U);return null!=U&&U.throwOnError||(B=B.catch(Y.ZT)),B}updateStaleTimeout(){if(this.clearStaleTimeout(),Y.sk||this.currentResult.isStale||!(0,Y.PN)(this.options.staleTime))return;let U=(0,Y.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime),B=U+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},B)}computeRefetchInterval(){var U;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(U=this.options.refetchInterval)&&U}updateRefetchInterval(U){this.clearRefetchInterval(),this.currentRefetchInterval=U,!Y.sk&&!1!==this.options.enabled&&(0,Y.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Z.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(U,B){let G;let V=this.currentQuery,Z=this.options,J=this.currentResult,Q=this.currentResultState,tt=this.currentResultOptions,tn=U!==V,ta=tn?U.state:this.currentQueryInitialState,ts=tn?this.currentResult:this.previousQueryResult,{state:tu}=U,{dataUpdatedAt:tc,error:td,errorUpdatedAt:tf,fetchStatus:th,status:tp}=tu,tg=!1,t_=!1;if(B._optimisticResults){let G=this.hasListeners(),Y=!G&&te(U,B),J=G&&tr(U,V,B,Z);(Y||J)&&(th=(0,X.Kw)(U.options.networkMode)?"fetching":"paused",tc||(tp="loading")),"isRestoring"===B._optimisticResults&&(th="idle")}if(B.keepPreviousData&&!tu.dataUpdatedAt&&null!=ts&&ts.isSuccess&&"error"!==tp)G=ts.data,tc=ts.dataUpdatedAt,tp=ts.status,tg=!0;else if(B.select&&void 0!==tu.data){if(J&&tu.data===(null==Q?void 0:Q.data)&&B.select===this.selectFn)G=this.selectResult;else try{this.selectFn=B.select,G=B.select(tu.data),G=(0,Y.oE)(null==J?void 0:J.data,G,B),this.selectResult=G,this.selectError=null}catch(U){this.selectError=U}}else G=tu.data;if(void 0!==B.placeholderData&&void 0===G&&"loading"===tp){let U;if(null!=J&&J.isPlaceholderData&&B.placeholderData===(null==tt?void 0:tt.placeholderData))U=J.data;else if(U="function"==typeof B.placeholderData?B.placeholderData():B.placeholderData,B.select&&void 0!==U)try{U=B.select(U),this.selectError=null}catch(U){this.selectError=U}void 0!==U&&(tp="success",G=(0,Y.oE)(null==J?void 0:J.data,U,B),t_=!0)}this.selectError&&(td=this.selectError,G=this.selectResult,tf=Date.now(),tp="error");let tm="fetching"===th,tv="loading"===tp,ty="error"===tp,tb={status:tp,fetchStatus:th,isLoading:tv,isSuccess:"success"===tp,isError:ty,isInitialLoading:tv&&tm,data:G,dataUpdatedAt:tc,error:td,errorUpdatedAt:tf,failureCount:tu.fetchFailureCount,failureReason:tu.fetchFailureReason,errorUpdateCount:tu.errorUpdateCount,isFetched:tu.dataUpdateCount>0||tu.errorUpdateCount>0,isFetchedAfterMount:tu.dataUpdateCount>ta.dataUpdateCount||tu.errorUpdateCount>ta.errorUpdateCount,isFetching:tm,isRefetching:tm&&!tv,isLoadingError:ty&&0===tu.dataUpdatedAt,isPaused:"paused"===th,isPlaceholderData:t_,isPreviousData:tg,isRefetchError:ty&&0!==tu.dataUpdatedAt,isStale:ti(U,B),refetch:this.refetch,remove:this.remove};return tb}updateResult(U){let B=this.currentResult,G=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,Y.VS)(G,B))return;this.currentResult=G;let V={cache:!0},Z=()=>{if(!B)return!0;let{notifyOnChangeProps:U}=this.options;if("all"===U||!U&&!this.trackedProps.size)return!0;let G=new Set(null!=U?U:this.trackedProps);return this.options.useErrorBoundary&&G.add("error"),Object.keys(this.currentResult).some(U=>{let Y=U,V=this.currentResult[Y]!==B[Y];return V&&G.has(Y)})};(null==U?void 0:U.listeners)!==!1&&Z()&&(V.listeners=!0),this.notify({...V,...U})}updateQuery(){let U=this.client.getQueryCache().build(this.client,this.options);if(U===this.currentQuery)return;let B=this.currentQuery;this.currentQuery=U,this.currentQueryInitialState=U.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==B||B.removeObserver(this),U.addObserver(this))}onQueryUpdate(U){let B={};"success"===U.type?B.onSuccess=!U.manual:"error"!==U.type||(0,X.DV)(U.error)||(B.onError=!0),this.updateResult(B),this.hasListeners()&&this.updateTimers()}notify(U){V.V.batch(()=>{var B,G,Y,V,Z,J,X,Q;U.onSuccess?(null==(B=(G=this.options).onSuccess)||B.call(G,this.currentResult.data),null==(Y=(V=this.options).onSettled)||Y.call(V,this.currentResult.data,null)):U.onError&&(null==(Z=(J=this.options).onError)||Z.call(J,this.currentResult.error),null==(X=(Q=this.options).onSettled)||X.call(Q,void 0,this.currentResult.error)),U.listeners&&this.listeners.forEach(U=>{U(this.currentResult)}),U.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function tt(U,B){return!1!==B.enabled&&!U.state.dataUpdatedAt&&!("error"===U.state.status&&!1===B.retryOnMount)}function te(U,B){return tt(U,B)||U.state.dataUpdatedAt>0&&tn(U,B,B.refetchOnMount)}function tn(U,B,G){if(!1!==B.enabled){let Y="function"==typeof G?G(U):G;return"always"===Y||!1!==Y&&ti(U,B)}return!1}function tr(U,B,G,Y){return!1!==G.enabled&&(U!==B||!1===Y.enabled)&&(!G.suspense||"error"!==U.state.status)&&ti(U,G)}function ti(U,B){return U.isStaleByTime(B.staleTime)}}
function(U,B,G){"use strict";G.d(B,{R:function(){return Q},m:function(){return X}});var Y=G(67138),V=G(84427),Z=G(26984),J=G(94402);class X extends Z.F{constructor(U){super(),this.defaultOptions=U.defaultOptions,this.mutationId=U.mutationId,this.mutationCache=U.mutationCache,this.logger=U.logger||Y._,this.observers=[],this.state=U.state||Q(),this.setOptions(U.options),this.scheduleGc()}setOptions(U){this.options={...this.defaultOptions,...U},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(U){this.dispatch({type:"setState",state:U})}addObserver(U){-1===this.observers.indexOf(U)&&(this.observers.push(U),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:U}))}removeObserver(U){this.observers=this.observers.filter(B=>B!==U),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:U})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var U,B;return null!=(U=null==(B=this.retryer)?void 0:B.continue())?U:this.execute()}async execute(){var U,B,G,Y,V,Z,X,Q,tt,te,tn,tr,ti,ta,ts,tu,tc,td,tf,th;let tp=()=>{var U;return this.retryer=(0,J.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(U,B)=>{this.dispatch({type:"failed",failureCount:U,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(U=this.options.retry)?U:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},tg="loading"===this.state.status;try{if(!tg){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(tt=(te=this.mutationCache.config).onMutate)?void 0:tt.call(te,this.state.variables,this));let U=await (null==(tn=(tr=this.options).onMutate)?void 0:tn.call(tr,this.state.variables));U!==this.state.context&&this.dispatch({type:"loading",context:U,variables:this.state.variables})}let J=await tp();return await (null==(U=(B=this.mutationCache.config).onSuccess)?void 0:U.call(B,J,this.state.variables,this.state.context,this)),await (null==(G=(Y=this.options).onSuccess)?void 0:G.call(Y,J,this.state.variables,this.state.context)),await (null==(V=(Z=this.mutationCache.config).onSettled)?void 0:V.call(Z,J,null,this.state.variables,this.state.context,this)),await (null==(X=(Q=this.options).onSettled)?void 0:X.call(Q,J,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:J}),J}catch(U){try{throw await (null==(ti=(ta=this.mutationCache.config).onError)?void 0:ti.call(ta,U,this.state.variables,this.state.context,this)),await (null==(ts=(tu=this.options).onError)?void 0:ts.call(tu,U,this.state.variables,this.state.context)),await (null==(tc=(td=this.mutationCache.config).onSettled)?void 0:tc.call(td,void 0,U,this.state.variables,this.state.context,this)),await (null==(tf=(th=this.options).onSettled)?void 0:tf.call(th,void 0,U,this.state.variables,this.state.context)),U}finally{this.dispatch({type:"error",error:U})}}}dispatch(U){let B=B=>{switch(U.type){case"failed":return{...B,failureCount:U.failureCount,failureReason:U.error};case"pause":return{...B,isPaused:!0};case"continue":return{...B,isPaused:!1};case"loading":return{...B,context:U.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,J.Kw)(this.options.networkMode),status:"loading",variables:U.variables};case"success":return{...B,data:U.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...B,data:void 0,error:U.error,failureCount:B.failureCount+1,failureReason:U.error,isPaused:!1,status:"error"};case"setState":return{...B,...U.state}}};this.state=B(this.state),V.V.batch(()=>{this.observers.forEach(B=>{B.onMutationUpdate(U)}),this.mutationCache.notify({mutation:this,type:"updated",action:U})})}}function Q(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}}
function(U,B,G){"use strict";G.d(B,{CT:function(){return X},Hv:function(){return J},RJ:function(){return Q}});var Y=G(14156),V=G(20943),Z=G(1234);function J(U){let B=(0,Y.ph)(),G={sid:(0,V.DM)(),init:!0,timestamp:B,started:B,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>tt(G)};return U&&X(G,U),G}function X(U,B={}){if(!B.user||(!U.ipAddress&&B.user.ip_address&&(U.ipAddress=B.user.ip_address),U.did||B.did||(U.did=B.user.id||B.user.email||B.user.username)),U.timestamp=B.timestamp||(0,Y.ph)(),B.ignoreDuration&&(U.ignoreDuration=B.ignoreDuration),B.sid&&(U.sid=32===B.sid.length?B.sid:(0,V.DM)()),void 0!==B.init&&(U.init=B.init),!U.did&&B.did&&(U.did=`${B.did}`),"number"==typeof B.started&&(U.started=B.started),U.ignoreDuration)U.duration=void 0;else if("number"==typeof B.duration)U.duration=B.duration;else{let B=U.timestamp-U.started;U.duration=B>=0?B:0}B.release&&(U.release=B.release),B.environment&&(U.environment=B.environment),!U.ipAddress&&B.ipAddress&&(U.ipAddress=B.ipAddress),!U.userAgent&&B.userAgent&&(U.userAgent=B.userAgent),"number"==typeof B.errors&&(U.errors=B.errors),B.status&&(U.status=B.status)}function Q(U,B){let G={};B?G={status:B}:"ok"===U.status&&(G={status:"exited"}),X(U,G)}function tt(U){return(0,Z.Jr)({sid:`${U.sid}`,init:U.init,started:new Date(1e3*U.started).toISOString(),timestamp:new Date(1e3*U.timestamp).toISOString(),status:U.status,errors:U.errors,did:"number"==typeof U.did||"string"==typeof U.did?`${U.did}`:void 0,duration:U.duration,attrs:{release:U.release,environment:U.environment,ip_address:U.ipAddress,user_agent:U.userAgent}})}}
function(U,B,G){"use strict";G.d(B,{ZP:function(){return eu}});var Y=G(39324),V=G(71209),Z=G(70216),J=G(4337),X=G(35250),Q=G(45675),tt=G(70079),te=G(72901),tn=G(49270),tr=G(36646),ti=G(88817),ta=G(86004),ts=G(74039),tu=G(50398),tc=G(70007),td=G(9235),tf=G(7824),th=G(54386),tp=G(37042),tg=G(66546),t_=G(94251);let tm="Dialog",[tv,ty]=(0,tr.b)(tm),[tb,tE]=tv(tm),tw=U=>{let{__scopeDialog:B,children:G,open:Y,defaultOpen:V,onOpenChange:Z,modal:J=!0}=U,X=(0,tt.useRef)(null),Q=(0,tt.useRef)(null),[te=!1,tn]=(0,ta.T)({prop:Y,defaultProp:V,onChange:Z});return(0,tt.createElement)(tb,{scope:B,triggerRef:X,contentRef:Q,contentId:(0,ti.M)(),titleId:(0,ti.M)(),descriptionId:(0,ti.M)(),open:te,onOpenChange:tn,onOpenToggle:(0,tt.useCallback)(()=>tn(U=>!U),[tn]),modal:J},G)},tS="DialogPortal",[tx,tk]=tv(tS,{forceMount:void 0}),tT=U=>{let{__scopeDialog:B,forceMount:G,children:Y,container:V}=U,Z=tE(tS,B);return(0,tt.createElement)(tx,{scope:B,forceMount:G},tt.Children.map(Y,U=>(0,tt.createElement)(td.z,{present:G||Z.open},(0,tt.createElement)(tc.h,{asChild:!0,container:V},U))))},tC="DialogOverlay",tR=(0,tt.forwardRef)((U,B)=>{let G=tk(tC,U.__scopeDialog),{forceMount:Y=G.forceMount,...V}=U,Z=tE(tC,U.__scopeDialog);return Z.modal?(0,tt.createElement)(td.z,{present:Y||Z.open},(0,tt.createElement)(tA,(0,Q.Z)({},V,{ref:B}))):null}),tA=(0,tt.forwardRef)((U,B)=>{let{__scopeDialog:G,...Y}=U,V=tE(tC,G);return(0,tt.createElement)(tp.Z,{as:t_.g7,allowPinchZoom:!0,shards:[V.contentRef]},(0,tt.createElement)(tf.WV.div,(0,Q.Z)({"data-state":tF(V.open)},Y,{ref:B,style:{pointerEvents:"auto",...Y.style}})))}),tO="DialogContent",tI=(0,tt.forwardRef)((U,B)=>{let G=tk(tO,U.__scopeDialog),{forceMount:Y=G.forceMount,...V}=U,Z=tE(tO,U.__scopeDialog);return(0,tt.createElement)(td.z,{present:Y||Z.open},Z.modal?(0,tt.createElement)(tN,(0,Q.Z)({},V,{ref:B})):(0,tt.createElement)(tD,(0,Q.Z)({},V,{ref:B})))}),tN=(0,tt.forwardRef)((U,B)=>{let G=tE(tO,U.__scopeDialog),Y=(0,tt.useRef)(null),V=(0,tn.e)(B,G.contentRef,Y);return(0,tt.useEffect)(()=>{let U=Y.current;if(U)return(0,tg.Ry)(U)},[]),(0,tt.createElement)(tL,(0,Q.Z)({},U,{ref:V,trapFocus:G.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,te.M)(U.onCloseAutoFocus,U=>{var B;U.preventDefault(),null===(B=G.triggerRef.current)||void 0===B||B.focus()}),onPointerDownOutside:(0,te.M)(U.onPointerDownOutside,U=>{let B=U.detail.originalEvent,G=0===B.button&&!0===B.ctrlKey,Y=2===B.button||G;Y&&U.preventDefault()}),onFocusOutside:(0,te.M)(U.onFocusOutside,U=>U.preventDefault())}))}),tD=(0,tt.forwardRef)((U,B)=>{let G=tE(tO,U.__scopeDialog),Y=(0,tt.useRef)(!1);return(0,tt.createElement)(tL,(0,Q.Z)({},U,{ref:B,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:B=>{var V,Z;null===(V=U.onCloseAutoFocus)||void 0===V||V.call(U,B),B.defaultPrevented||(Y.current||null===(Z=G.triggerRef.current)||void 0===Z||Z.focus(),B.preventDefault()),Y.current=!1},onInteractOutside:B=>{var V,Z;null===(V=U.onInteractOutside)||void 0===V||V.call(U,B),B.defaultPrevented||(Y.current=!0);let J=B.target,X=null===(Z=G.triggerRef.current)||void 0===Z?void 0:Z.contains(J);X&&B.preventDefault()}}))}),tL=(0,tt.forwardRef)((U,B)=>{let{__scopeDialog:G,trapFocus:Y,onOpenAutoFocus:V,onCloseAutoFocus:Z,...J}=U,X=tE(tO,G),te=(0,tt.useRef)(null),tr=(0,tn.e)(B,te);return(0,th.EW)(),(0,tt.createElement)(tt.Fragment,null,(0,tt.createElement)(tu.M,{asChild:!0,loop:!0,trapped:Y,onMountAutoFocus:V,onUnmountAutoFocus:Z},(0,tt.createElement)(ts.XB,(0,Q.Z)({role:"dialog",id:X.contentId,"aria-describedby":X.descriptionId,"aria-labelledby":X.titleId,"data-state":tF(X.open)},J,{ref:tr,onDismiss:()=>X.onOpenChange(!1)}))),!1)}),tP="DialogTitle",tM=(0,tt.forwardRef)((U,B)=>{let{__scopeDialog:G,...Y}=U,V=tE(tP,G);return(0,tt.createElement)(tf.WV.h2,(0,Q.Z)({id:V.titleId},Y,{ref:B}))}),tU="DialogDescription",tB=(0,tt.forwardRef)((U,B)=>{let{__scopeDialog:G,...Y}=U,V=tE(tU,G);return(0,tt.createElement)(tf.WV.p,(0,Q.Z)({id:V.descriptionId},Y,{ref:B}))}),tj="DialogClose",tG=(0,tt.forwardRef)((U,B)=>{let{__scopeDialog:G,...Y}=U,V=tE(tj,G);return(0,tt.createElement)(tf.WV.button,(0,Q.Z)({type:"button"},Y,{ref:B,onClick:(0,te.M)(U.onClick,()=>V.onOpenChange(!1))}))});function tF(U){return U?"open":"closed"}let tH="DialogTitleWarning",[tz,t$]=(0,tr.k)(tH,{contentName:tO,titleName:tP,docsSlug:"dialog"}),tq=tw,tY=tT,tV=tR,tW=tI,tZ=tM,tK=tB,tJ=tG;var tX=G(19841),tQ=G(1454),t0=G(34303),t5=G(66958),t3=G(38317);function t6(){var U=(0,J._)(["grid-cols-[minmax(10px,30px)_1fr_minmax(10px,30px)] grid h-full w-full grid-rows-[minmax(10px,_1fr)_auto_minmax(10px,_1fr)] md:grid-rows-[minmax(20px,_1fr)_auto_minmax(20px,_1fr)] overflow-y-auto"]);return t6=function(){return U},U}function t4(){var U=(0,J._)(["px-4 pb-4 pt-5 sm:p-6 flex items-center justify-between ",""]);return t4=function(){return U},U}var t8=function(U){var B=U.color,G=void 0===B?"neutral":B,J=U.title,Q=U.children,tt=(0,Z._)(U,["color","title","children"]);return(0,X.jsx)(t5.z,(0,V._)((0,Y._)({as:"button",color:G},tt),{children:null!=J?J:Q}))},t7=(0,tt.forwardRef)(function(U,B){var G=U.onClose;return(0,X.jsx)("button",{ref:B,className:"inline-block text-gray-500 hover:text-gray-700",onClick:G,children:(0,X.jsx)(tQ.q5L,{size:20,className:"text-gray-900 dark:text-gray-200"})})});function t9(U){var B=U.isOpen,G=U.onClose,Y=U.children;return(0,X.jsx)(tq,{open:B,onOpenChange:function(U){!1===U&&G(!1)},children:(0,X.jsx)(tY,{children:(0,X.jsx)("div",{className:"absolute inset-0",children:Y})})})}function et(U){var B=U.className,G=U.children;return(0,X.jsx)(tV,{className:(0,tX.Z)("fixed inset-0 bg-gray-500/90 dark:bg-gray-800/90",B),children:G})}function ee(U){var B=U.className,G=U.children;return(0,X.jsx)(ea,{children:(0,X.jsx)(tW,{className:(0,tX.Z)("relative col-auto col-start-2 row-auto row-start-2 w-full rounded-lg text-left shadow-xl transition-all","left-1/2 -translate-x-1/2","bg-white dark:bg-gray-900",B),children:G})})}function en(U){var B=U.title,G=U.description,Y=U.icon,V=U.type;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(eo,{icon:Y,type:V}),(0,X.jsxs)("div",{className:"text-center sm:text-left",children:[null!=B&&(0,X.jsx)(tZ,{as:"h3",className:"text-lg font-medium leading-6 text-gray-900 dark:text-gray-200",children:B}),null!=G&&(0,X.jsx)(tK,{className:"mt-2",children:(0,X.jsx)("p",{className:"text-sm text-gray-500 dark:text-gray-100",children:G})})]})]})}function er(U){var B=U.title,G=U.description,Y=U.withSeparator,V=void 0===Y||Y,Z=U.icon,J=U.type,Q=U.closeButton;return!1==!!B&&!1==!!G?null:(0,X.jsxs)(es,{$hasSeparator:V,children:[(0,X.jsx)("div",{className:"flex items-center",children:(0,X.jsx)(en,{title:B,description:G,icon:Z,type:J})}),null!=Q&&(0,X.jsx)(tJ,{asChild:!0,className:"sm:mt-0",children:Q})]})}function ei(U){var B=U.primaryButton,G=U.secondaryButton,Y=U.isSpacedBetween,V=void 0!==Y&&Y;return null==B&&null==G?null:(0,X.jsxs)("div",{className:(0,tX.Z)("mt-5 flex flex-col gap-3 sm:mt-4 sm:flex-row-reverse",V&&"justify-between"),children:[B,G]})}var eo=function(U){var B=U.type,G=U.icon;return G?(0,X.jsx)("div",{className:(0,tX.Z)("mr-4 flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:h-10 sm:w-10","danger"===B&&"bg-red-100","warning"===B&&"bg-yellow-100","success"===B&&"bg-green-100"),children:(0,X.jsx)(t3.ZP,{icon:G,size:"medium",className:(0,tX.Z)("danger"===B&&"text-red-600","warning"===B&&"text-yellow-700","success"===B&&"text-green-700"),"aria-hidden":"true"})}):null},ea=t0.Z.div(t6()),es=t0.Z.div(t4(),function(U){return U.$hasSeparator&&"border-b border-black/10 dark:border-white/10"}),eu={Root:t9,Overlay:et,Content:ee,Title:en,Header:er,Actions:ei,Button:t8,CloseButton:t7}}
function(U,B,G){"use strict";G.d(B,{Fb:function(){return Y},SB:function(){return Z},Z$:function(){return V},j8:function(){return J}});let Y=U=>{U.suspense&&"number"!=typeof U.staleTime&&(U.staleTime=1e3)},V=(U,B)=>U.isLoading&&U.isFetching&&!B,Z=(U,B,G)=>(null==U?void 0:U.suspense)&&V(B,G),J=(U,B,G)=>B.fetchOptimistic(U).then(({data:B})=>{null==U.onSuccess||U.onSuccess(B),null==U.onSettled||U.onSettled(B,null)}).catch(B=>{G.clearReset(),null==U.onError||U.onError(B),null==U.onSettled||U.onSettled(void 0,B)})}
function(U,B,G){"use strict";G.d(B,{I:function(){return tn},Q0:function(){return Q},gK:function(){return X},wp:function(){return ti}});var Y=G(51217),V=G(69072),Z=G(43512),J=G(12051),X=function(U){(0,V._)(G,U);var B=(0,J._)(G);function G(U,V,Z,J,X,Q){var tt;return(0,Y._)(this,G),(tt=B.call(this,tr(U))).name="UserError",tt.userMessage=U,tt.status=V||400,tt.code=Z,tt.type=J,tt.response=X,tt.clearsIn=Q,tt}return G}((0,Z._)(Error)),Q=function(U){(0,V._)(G,U);var B=(0,J._)(G);function G(){var U,V=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tn,Z=arguments.length>1?arguments[1]:void 0,J=arguments.length>2?arguments[2]:void 0;return(0,Y._)(this,G),(U=B.call(this,tr(V))).name="FatalServerError",U.type=Z,U.response=J,U}return G}((0,Z._)(Error)),tt="Rate limit reached for",te="End-user exceeded rate-limit",tn="Something went wrong. If this issue persists please contact us through our help center at help.openai.com.";function tr(U){return U&&(U.startsWith(tt)||U.startsWith(te))?"We're sorry, but we limit the number of requests one user can make in a certain timeframe. Please hang tight and try again in a little while.":U}var ti="history_disabled_conversation_not_found"}
function(){}
function(U,B,G){"use strict";Object.defineProperty(B,"__esModule",{value:!0});var Y=G(22830);Object.defineProperty(B,"__esModule",{value:!0}),Object.defineProperty(B,"useIntersection",{enumerable:!0,get:function(){return tn}});var V=G(70079),Z=G(25216),J="function"==typeof IntersectionObserver,X=new Map,Q=[];function tt(U){var B,G={root:U.root||null,margin:U.rootMargin||""},Y=Q.find(function(U){return U.root===G.root&&U.margin===G.margin});if(Y&&(B=X.get(Y)))return B;var V=new Map;return B={id:G,observer:new IntersectionObserver(function(U){U.forEach(function(U){var B=V.get(U.target),G=U.isIntersecting||U.intersectionRatio>0;B&&G&&B(G)})},U),elements:V},Q.push(G),X.set(G,B),B}function te(U,B,G){var Y=tt(G),V=Y.id,Z=Y.observer,J=Y.elements;return J.set(U,B),Z.observe(U),function(){if(J.delete(U),Z.unobserve(U),0===J.size){Z.disconnect(),X.delete(V);var B=Q.findIndex(function(U){return U.root===V.root&&U.margin===V.margin});B>-1&&Q.splice(B,1)}}}function tn(U){var B=U.rootRef,G=U.rootMargin,X=U.disabled||!J,Q=Y._((0,V.useState)(!1),2),tt=Q[0],tn=Q[1],tr=(0,V.useRef)(null),ti=(0,V.useCallback)(function(U){tr.current=U},[]);return(0,V.useEffect)(function(){if(J){if(!X&&!tt){var U=tr.current;if(U&&U.tagName)return te(U,function(U){return U&&tn(U)},{root:null==B?void 0:B.current,rootMargin:G})}}else if(!tt){var Y=(0,Z.requestIdleCallback)(function(){return tn(!0)});return function(){return(0,Z.cancelIdleCallback)(Y)}}},[X,G,B,tt,tr.current]),[ti,tt,(0,V.useCallback)(function(){tn(!1)},[])]}("function"==typeof B.default||"object"==typeof B.default&&null!==B.default)&&void 0===B.default.__esModule&&(Object.defineProperty(B.default,"__esModule",{value:!0}),Object.assign(B.default,B),U.exports=B.default)}
function(U,B,G){var Y=G(36386);function V(U,B){if(U){if("string"==typeof U)return Y(U,B);var G=Object.prototype.toString.call(U).slice(8,-1);if("Object"===G&&U.constructor&&(G=U.constructor.name),"Map"===G||"Set"===G)return Array.from(U);if("Arguments"===G||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return Y(U,B)}}U.exports=V,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{$e:function(){return ts},Tb:function(){return V},YA:function(){return ti},Yr:function(){return tu},av:function(){return ta},e:function(){return X},eN:function(){return J},mG:function(){return tr},n_:function(){return Q},rJ:function(){return te},sU:function(){return tn},uT:function(){return Z},v:function(){return tt}});var Y=G(31101);function V(U,B){return(0,Y.Gd)().captureException(U,{captureContext:B})}function Z(U,B){let G="string"==typeof B?B:void 0,V="string"!=typeof B?{captureContext:B}:void 0;return(0,Y.Gd)().captureMessage(U,G,V)}function J(U,B){return(0,Y.Gd)().captureEvent(U,B)}function X(U){(0,Y.Gd)().configureScope(U)}function Q(U){(0,Y.Gd)().addBreadcrumb(U)}function tt(U,B){(0,Y.Gd)().setContext(U,B)}function te(U){(0,Y.Gd)().setExtras(U)}function tn(U,B){(0,Y.Gd)().setExtra(U,B)}function tr(U){(0,Y.Gd)().setTags(U)}function ti(U,B){(0,Y.Gd)().setTag(U,B)}function ta(U){(0,Y.Gd)().setUser(U)}function ts(U){(0,Y.Gd)().withScope(U)}function tu(U,B){return(0,Y.Gd)().startTransaction({...U},B)}}
function(U,B,G){"use strict";G.d(B,{ee:function(){return eP},Eh:function(){return eU},VY:function(){return eM},fC:function(){return eL},D7:function(){return ef}});var Y=G(45675),V=G(70079);function Z(U){return U.split("-")[0]}function J(U){return U.split("-")[1]}function X(U){return["top","bottom"].includes(Z(U))?"x":"y"}function Q(U){return"y"===U?"height":"width"}function tt(U,B,G){let Y,{reference:V,floating:tt}=U,te=V.x+V.width/2-tt.width/2,tn=V.y+V.height/2-tt.height/2,tr=X(B),ti=Q(tr),ta=V[ti]/2-tt[ti]/2,ts="x"===tr;switch(Z(B)){case"top":Y={x:te,y:V.y-tt.height};break;case"bottom":Y={x:te,y:V.y+V.height};break;case"right":Y={x:V.x+V.width,y:tn};break;case"left":Y={x:V.x-tt.width,y:tn};break;default:Y={x:V.x,y:V.y}}switch(J(B)){case"start":Y[tr]-=ta*(G&&ts?-1:1);break;case"end":Y[tr]+=ta*(G&&ts?-1:1)}return Y}let te=async(U,B,G)=>{let{placement:Y="bottom",strategy:V="absolute",middleware:Z=[],platform:J}=G,X=await (null==J.isRTL?void 0:J.isRTL(B)),Q=await J.getElementRects({reference:U,floating:B,strategy:V}),{x:te,y:tn}=tt(Q,Y,X),tr=Y,ti={},ta=0;for(let G=0;G<Z.length;G++){let{name:ts,fn:tu}=Z[G],{x:tc,y:td,data:tf,reset:th}=await tu({x:te,y:tn,initialPlacement:Y,placement:tr,strategy:V,middlewareData:ti,rects:Q,platform:J,elements:{reference:U,floating:B}});te=null!=tc?tc:te,tn=null!=td?td:tn,ti={...ti,[ts]:{...ti[ts],...tf}},th&&ta<=50&&(ta++,"object"==typeof th&&(th.placement&&(tr=th.placement),th.rects&&(Q=!0===th.rects?await J.getElementRects({reference:U,floating:B,strategy:V}):th.rects),{x:te,y:tn}=tt(Q,tr,X)),G=-1)}return{x:te,y:tn,placement:tr,strategy:V,middlewareData:ti}};function tn(U){return"number"!=typeof U?function(U){return{top:0,right:0,bottom:0,left:0,...U}}(U):{top:U,right:U,bottom:U,left:U}}function tr(U){return{...U,top:U.y,left:U.x,right:U.x+U.width,bottom:U.y+U.height}}async function ti(U,B){var G;void 0===B&&(B={});let{x:Y,y:V,platform:Z,rects:J,elements:X,strategy:Q}=U,{boundary:tt="clippingAncestors",rootBoundary:te="viewport",elementContext:ti="floating",altBoundary:ta=!1,padding:ts=0}=B,tu=tn(ts),tc=X[ta?"floating"===ti?"reference":"floating":ti],td=tr(await Z.getClippingRect({element:null==(G=await (null==Z.isElement?void 0:Z.isElement(tc)))||G?tc:tc.contextElement||await (null==Z.getDocumentElement?void 0:Z.getDocumentElement(X.floating)),boundary:tt,rootBoundary:te,strategy:Q})),tf=tr(Z.convertOffsetParentRelativeRectToViewportRelativeRect?await Z.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===ti?{...J.floating,x:Y,y:V}:J.reference,offsetParent:await (null==Z.getOffsetParent?void 0:Z.getOffsetParent(X.floating)),strategy:Q}):J[ti]);return{top:td.top-tf.top+tu.top,bottom:tf.bottom-td.bottom+tu.bottom,left:td.left-tf.left+tu.left,right:tf.right-td.right+tu.right}}let ta=Math.min,ts=Math.max;function tu(U,B,G){return ts(U,ta(B,G))}let tc=U=>({name:"arrow",options:U,async fn(B){let{element:G,padding:Y=0}=null!=U?U:{},{x:V,y:Z,placement:tt,rects:te,platform:tr}=B;if(null==G)return{};let ti=tn(Y),ta={x:V,y:Z},ts=X(tt),tc=J(tt),td=Q(ts),tf=await tr.getDimensions(G),th="y"===ts?"top":"left",tp="y"===ts?"bottom":"right",tg=te.reference[td]+te.reference[ts]-ta[ts]-te.floating[td],t_=ta[ts]-te.reference[ts],tm=await (null==tr.getOffsetParent?void 0:tr.getOffsetParent(G)),tv=tm?"y"===ts?tm.clientHeight||0:tm.clientWidth||0:0;0===tv&&(tv=te.floating[td]);let ty=tg/2-t_/2,tb=ti[th],tE=tv-tf[td]-ti[tp],tw=tv/2-tf[td]/2+ty,tS=tu(tb,tw,tE),tx=("start"===tc?ti[th]:ti[tp])>0&&tw!==tS&&te.reference[td]<=te.floating[td];return{[ts]:ta[ts]-(tx?tw<tb?tb-tw:tE-tw:0),data:{[ts]:tS,centerOffset:tw-tS}}}}),td={left:"right",right:"left",bottom:"top",top:"bottom"};function tf(U){return U.replace(/left|right|bottom|top/g,U=>td[U])}function th(U,B,G){void 0===G&&(G=!1);let Y=J(U),V=X(U),Z=Q(V),tt="x"===V?Y===(G?"end":"start")?"right":"left":"start"===Y?"bottom":"top";return B.reference[Z]>B.floating[Z]&&(tt=tf(tt)),{main:tt,cross:tf(tt)}}let tp={start:"end",end:"start"};function tg(U){return U.replace(/start|end/g,U=>tp[U])}let t_=["top","right","bottom","left"];t_.reduce((U,B)=>U.concat(B,B+"-start",B+"-end"),[]);let tm=function(U){return void 0===U&&(U={}),{name:"flip",options:U,async fn(B){var G,Y,V,J;let{placement:X,middlewareData:Q,rects:tt,initialPlacement:te,platform:tn,elements:tr}=B,{mainAxis:ta=!0,crossAxis:ts=!0,fallbackPlacements:tu,fallbackStrategy:tc="bestFit",flipAlignment:td=!0,...tp}=U,t_=Z(X),tm=tu||(t_!==te&&td?function(U){let B=tf(U);return[tg(U),B,tg(B)]}(te):[tf(te)]),tv=[te,...tm],ty=await ti(B,tp),tb=[],tE=(null==(G=Q.flip)?void 0:G.overflows)||[];if(ta&&tb.push(ty[t_]),ts){let{main:U,cross:B}=th(X,tt,await (null==tn.isRTL?void 0:tn.isRTL(tr.floating)));tb.push(ty[U],ty[B])}if(tE=[...tE,{placement:X,overflows:tb}],!tb.every(U=>U<=0)){let U=(null!=(Y=null==(V=Q.flip)?void 0:V.index)?Y:0)+1,B=tv[U];if(B)return{data:{index:U,overflows:tE},reset:{placement:B}};let G="bottom";switch(tc){case"bestFit":{let U=null==(J=tE.map(U=>[U,U.overflows.filter(U=>U>0).reduce((U,B)=>U+B,0)]).sort((U,B)=>U[1]-B[1])[0])?void 0:J[0].placement;U&&(G=U);break}case"initialPlacement":G=te}if(X!==G)return{reset:{placement:G}}}return{}}}};function tv(U,B){return{top:U.top-B.height,right:U.right-B.width,bottom:U.bottom-B.height,left:U.left-B.width}}function ty(U){return t_.some(B=>U[B]>=0)}let tb=function(U){let{strategy:B="referenceHidden",...G}=void 0===U?{}:U;return{name:"hide",async fn(U){let{rects:Y}=U;switch(B){case"referenceHidden":{let B=tv(await ti(U,{...G,elementContext:"reference"}),Y.reference);return{data:{referenceHiddenOffsets:B,referenceHidden:ty(B)}}}case"escaped":{let B=tv(await ti(U,{...G,altBoundary:!0}),Y.floating);return{data:{escapedOffsets:B,escaped:ty(B)}}}default:return{}}}}},tE=function(U){return void 0===U&&(U=0),{name:"offset",options:U,async fn(B){let{x:G,y:Y}=B,V=await async function(U,B){let{placement:G,platform:Y,elements:V}=U,Q=await (null==Y.isRTL?void 0:Y.isRTL(V.floating)),tt=Z(G),te=J(G),tn="x"===X(G),tr=["left","top"].includes(tt)?-1:1,ti=Q&&tn?-1:1,ta="function"==typeof B?B(U):B,{mainAxis:ts,crossAxis:tu,alignmentAxis:tc}="number"==typeof ta?{mainAxis:ta,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...ta};return te&&"number"==typeof tc&&(tu="end"===te?-1*tc:tc),tn?{x:tu*ti,y:ts*tr}:{x:ts*tr,y:tu*ti}}(B,U);return{x:G+V.x,y:Y+V.y,data:V}}}};function tw(U){return"x"===U?"y":"x"}let tS=function(U){return void 0===U&&(U={}),{name:"shift",options:U,async fn(B){let{x:G,y:Y,placement:V}=B,{mainAxis:J=!0,crossAxis:Q=!1,limiter:tt={fn:U=>{let{x:B,y:G}=U;return{x:B,y:G}}},...te}=U,tn={x:G,y:Y},tr=await ti(B,te),ta=X(Z(V)),ts=tw(ta),tc=tn[ta],td=tn[ts];if(J){let U="y"===ta?"bottom":"right";tc=tu(tc+tr["y"===ta?"top":"left"],tc,tc-tr[U])}if(Q){let U="y"===ts?"bottom":"right";td=tu(td+tr["y"===ts?"top":"left"],td,td-tr[U])}let tf=tt.fn({...B,[ta]:tc,[ts]:td});return{...tf,data:{x:tf.x-G,y:tf.y-Y}}}}},tx=function(U){return void 0===U&&(U={}),{options:U,fn(B){let{x:G,y:Y,placement:V,rects:J,middlewareData:Q}=B,{offset:tt=0,mainAxis:te=!0,crossAxis:tn=!0}=U,tr={x:G,y:Y},ti=X(V),ta=tw(ti),ts=tr[ti],tu=tr[ta],tc="function"==typeof tt?tt({...J,placement:V}):tt,td="number"==typeof tc?{mainAxis:tc,crossAxis:0}:{mainAxis:0,crossAxis:0,...tc};if(te){let U="y"===ti?"height":"width",B=J.reference[ti]-J.floating[U]+td.mainAxis,G=J.reference[ti]+J.reference[U]-td.mainAxis;ts<B?ts=B:ts>G&&(ts=G)}if(tn){var tf,th,tp,tg;let U="y"===ti?"width":"height",B=["top","left"].includes(Z(V)),G=J.reference[ta]-J.floating[U]+(B&&null!=(tf=null==(th=Q.offset)?void 0:th[ta])?tf:0)+(B?0:td.crossAxis),Y=J.reference[ta]+J.reference[U]+(B?0:null!=(tp=null==(tg=Q.offset)?void 0:tg[ta])?tp:0)-(B?td.crossAxis:0);tu<G?tu=G:tu>Y&&(tu=Y)}return{[ti]:ts,[ta]:tu}}}},tk=function(U){return void 0===U&&(U={}),{name:"size",options:U,async fn(B){let G,Y;let{placement:V,rects:X,platform:Q,elements:tt}=B,{apply:te,...tn}=U,tr=await ti(B,tn),ta=Z(V),tu=J(V);"top"===ta||"bottom"===ta?(G=ta,Y=tu===(await (null==Q.isRTL?void 0:Q.isRTL(tt.floating))?"start":"end")?"left":"right"):(Y=ta,G="end"===tu?"top":"bottom");let tc=ts(tr.left,0),td=ts(tr.right,0),tf=ts(tr.top,0),th=ts(tr.bottom,0),tp={availableHeight:X.floating.height-(["left","right"].includes(V)?2*(0!==tf||0!==th?tf+th:ts(tr.top,tr.bottom)):tr[G]),availableWidth:X.floating.width-(["top","bottom"].includes(V)?2*(0!==tc||0!==td?tc+td:ts(tr.left,tr.right)):tr[Y])},tg=await Q.getDimensions(tt.floating);null==te||te({...B,...tp});let t_=await Q.getDimensions(tt.floating);return tg.width!==t_.width||tg.height!==t_.height?{reset:{rects:!0}}:{}}}};function tT(U){return U&&U.document&&U.location&&U.alert&&U.setInterval}function tC(U){if(null==U)return window;if(!tT(U)){let B=U.ownerDocument;return B&&B.defaultView||window}return U}function tR(U){return tC(U).getComputedStyle(U)}function tA(U){return tT(U)?"":U?(U.nodeName||"").toLowerCase():""}function tO(){let U=navigator.userAgentData;return null!=U&&U.brands?U.brands.map(U=>U.brand+"/"+U.version).join(" "):navigator.userAgent}function tI(U){return U instanceof tC(U).HTMLElement}function tN(U){return U instanceof tC(U).Element}function tD(U){return"undefined"!=typeof ShadowRoot&&(U instanceof tC(U).ShadowRoot||U instanceof ShadowRoot)}function tL(U){let{overflow:B,overflowX:G,overflowY:Y}=tR(U);return/auto|scroll|overlay|hidden/.test(B+Y+G)}function tP(U){return["table","td","th"].includes(tA(U))}function tM(U){let B=/firefox/i.test(tO()),G=tR(U);return"none"!==G.transform||"none"!==G.perspective||"paint"===G.contain||["transform","perspective"].includes(G.willChange)||B&&"filter"===G.willChange||B&&!!G.filter&&"none"!==G.filter}function tU(){return!/^((?!chrome|android).)*safari/i.test(tO())}let tB=Math.min,tj=Math.max,tG=Math.round;function tF(U,B,G){var Y,V,Z,J;void 0===B&&(B=!1),void 0===G&&(G=!1);let X=U.getBoundingClientRect(),Q=1,tt=1;B&&tI(U)&&(Q=U.offsetWidth>0&&tG(X.width)/U.offsetWidth||1,tt=U.offsetHeight>0&&tG(X.height)/U.offsetHeight||1);let te=tN(U)?tC(U):window,tn=!tU()&&G,tr=(X.left+(tn&&null!=(Y=null==(V=te.visualViewport)?void 0:V.offsetLeft)?Y:0))/Q,ti=(X.top+(tn&&null!=(Z=null==(J=te.visualViewport)?void 0:J.offsetTop)?Z:0))/tt,ta=X.width/Q,ts=X.height/tt;return{width:ta,height:ts,top:ti,right:tr+ta,bottom:ti+ts,left:tr,x:tr,y:ti}}function tH(U){var B;return(((B=U)instanceof tC(B).Node?U.ownerDocument:U.document)||window.document).documentElement}function tz(U){return tN(U)?{scrollLeft:U.scrollLeft,scrollTop:U.scrollTop}:{scrollLeft:U.pageXOffset,scrollTop:U.pageYOffset}}function t$(U){return tF(tH(U)).left+tz(U).scrollLeft}function tq(U,B,G){let Y=tI(B),V=tH(B),Z=tF(U,Y&&function(U){let B=tF(U);return tG(B.width)!==U.offsetWidth||tG(B.height)!==U.offsetHeight}(B),"fixed"===G),J={scrollLeft:0,scrollTop:0},X={x:0,y:0};if(Y||!Y&&"fixed"!==G){if(("body"!==tA(B)||tL(V))&&(J=tz(B)),tI(B)){let U=tF(B,!0);X.x=U.x+B.clientLeft,X.y=U.y+B.clientTop}else V&&(X.x=t$(V))}return{x:Z.left+J.scrollLeft-X.x,y:Z.top+J.scrollTop-X.y,width:Z.width,height:Z.height}}function tY(U){return"html"===tA(U)?U:U.assignedSlot||U.parentNode||(tD(U)?U.host:null)||tH(U)}function tV(U){return tI(U)&&"fixed"!==getComputedStyle(U).position?U.offsetParent:null}function tW(U){let B=tC(U),G=tV(U);for(;G&&tP(G)&&"static"===getComputedStyle(G).position;)G=tV(G);return G&&("html"===tA(G)||"body"===tA(G)&&"static"===getComputedStyle(G).position&&!tM(G))?B:G||function(U){let B=tY(U);for(tD(B)&&(B=B.host);tI(B)&&!["html","body"].includes(tA(B));){if(tM(B))return B;B=B.parentNode}return null}(U)||B}function tZ(U){if(tI(U))return{width:U.offsetWidth,height:U.offsetHeight};let B=tF(U);return{width:B.width,height:B.height}}function tK(U){let B=tY(U);return["html","body","#document"].includes(tA(B))?U.ownerDocument.body:tI(B)&&tL(B)?B:tK(B)}function tJ(U,B){var G;void 0===B&&(B=[]);let Y=tK(U),V=Y===(null==(G=U.ownerDocument)?void 0:G.body),Z=tC(Y),J=V?[Z].concat(Z.visualViewport||[],tL(Y)?Y:[]):Y,X=B.concat(J);return V?X:X.concat(tJ(J))}function tX(U,B,G){return"viewport"===B?tr(function(U,B){let G=tC(U),Y=tH(U),V=G.visualViewport,Z=Y.clientWidth,J=Y.clientHeight,X=0,Q=0;if(V){Z=V.width,J=V.height;let U=tU();(U||!U&&"fixed"===B)&&(X=V.offsetLeft,Q=V.offsetTop)}return{width:Z,height:J,x:X,y:Q}}(U,G)):tN(B)?function(U,B){let G=tF(U,!1,"fixed"===B),Y=G.top+U.clientTop,V=G.left+U.clientLeft;return{top:Y,left:V,x:V,y:Y,right:V+U.clientWidth,bottom:Y+U.clientHeight,width:U.clientWidth,height:U.clientHeight}}(B,G):tr(function(U){var B;let G=tH(U),Y=tz(U),V=null==(B=U.ownerDocument)?void 0:B.body,Z=tj(G.scrollWidth,G.clientWidth,V?V.scrollWidth:0,V?V.clientWidth:0),J=tj(G.scrollHeight,G.clientHeight,V?V.scrollHeight:0,V?V.clientHeight:0),X=-Y.scrollLeft+t$(U),Q=-Y.scrollTop;return"rtl"===tR(V||G).direction&&(X+=tj(G.clientWidth,V?V.clientWidth:0)-Z),{width:Z,height:J,x:X,y:Q}}(tH(U)))}function tQ(U){let B=tJ(U),G=["absolute","fixed"].includes(tR(U).position)&&tI(U)?tW(U):U;return tN(G)?B.filter(U=>tN(U)&&function(U,B){let G=null==B.getRootNode?void 0:B.getRootNode();if(U.contains(B))return!0;if(G&&tD(G)){let G=B;do{if(G&&U===G)return!0;G=G.parentNode||G.host}while(G)}return!1}(U,G)&&"body"!==tA(U)):[]}let t0={getClippingRect:function(U){let{element:B,boundary:G,rootBoundary:Y,strategy:V}=U,Z=[..."clippingAncestors"===G?tQ(B):[].concat(G),Y],J=Z[0],X=Z.reduce((U,G)=>{let Y=tX(B,G,V);return U.top=tj(Y.top,U.top),U.right=tB(Y.right,U.right),U.bottom=tB(Y.bottom,U.bottom),U.left=tj(Y.left,U.left),U},tX(B,J,V));return{width:X.right-X.left,height:X.bottom-X.top,x:X.left,y:X.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(U){let{rect:B,offsetParent:G,strategy:Y}=U,V=tI(G),Z=tH(G);if(G===Z)return B;let J={scrollLeft:0,scrollTop:0},X={x:0,y:0};if((V||!V&&"fixed"!==Y)&&(("body"!==tA(G)||tL(Z))&&(J=tz(G)),tI(G))){let U=tF(G,!0);X.x=U.x+G.clientLeft,X.y=U.y+G.clientTop}return{...B,x:B.x-J.scrollLeft+X.x,y:B.y-J.scrollTop+X.y}},isElement:tN,getDimensions:tZ,getOffsetParent:tW,getDocumentElement:tH,getElementRects:U=>{let{reference:B,floating:G,strategy:Y}=U;return{reference:tq(B,tW(G),Y),floating:{...tZ(G),x:0,y:0}}},getClientRects:U=>Array.from(U.getClientRects()),isRTL:U=>"rtl"===tR(U).direction};function t5(U,B,G,Y){void 0===Y&&(Y={});let{ancestorScroll:V=!0,ancestorResize:Z=!0,elementResize:J=!0,animationFrame:X=!1}=Y,Q=V&&!X,tt=Z&&!X,te=Q||tt?[...tN(U)?tJ(U):[],...tJ(B)]:[];te.forEach(U=>{Q&&U.addEventListener("scroll",G,{passive:!0}),tt&&U.addEventListener("resize",G)});let tn,tr=null;if(J){let Y=!0;tr=new ResizeObserver(()=>{Y||G(),Y=!1}),tN(U)&&!X&&tr.observe(U),tr.observe(B)}let ti=X?tF(U):null;return X&&function B(){let Y=tF(U);ti&&(Y.x!==ti.x||Y.y!==ti.y||Y.width!==ti.width||Y.height!==ti.height)&&G(),ti=Y,tn=requestAnimationFrame(B)}(),G(),()=>{var U;te.forEach(U=>{Q&&U.removeEventListener("scroll",G),tt&&U.removeEventListener("resize",G)}),null==(U=tr)||U.disconnect(),tr=null,X&&cancelAnimationFrame(tn)}}let t3=(U,B,G)=>te(U,B,{platform:t0,...G});var t6=G(99581),t4="undefined"!=typeof document?V.useLayoutEffect:V.useEffect;function t8(U,B){let G,Y,V;if(U===B)return!0;if(typeof U!=typeof B)return!1;if("function"==typeof U&&U.toString()===B.toString())return!0;if(U&&B&&"object"==typeof U){if(Array.isArray(U)){if((G=U.length)!=B.length)return!1;for(Y=G;0!=Y--;)if(!t8(U[Y],B[Y]))return!1;return!0}if((G=(V=Object.keys(U)).length)!==Object.keys(B).length)return!1;for(Y=G;0!=Y--;)if(!Object.prototype.hasOwnProperty.call(B,V[Y]))return!1;for(Y=G;0!=Y--;){let G=V[Y];if(("_owner"!==G||!U.$$typeof)&&!t8(U[G],B[G]))return!1}return!0}return U!=U&&B!=B}function t7(U){let B=V.useRef(U);return t4(()=>{B.current=U}),B}function t9(U){let{middleware:B,placement:G="bottom",strategy:Y="absolute",whileElementsMounted:Z}=void 0===U?{}:U,J=V.useRef(null),X=V.useRef(null),Q=t7(Z),tt=V.useRef(null),[te,tn]=V.useState({x:null,y:null,strategy:Y,placement:G,middlewareData:{}}),[tr,ti]=V.useState(B);t8(null==tr?void 0:tr.map(U=>{let{options:B}=U;return B}),null==B?void 0:B.map(U=>{let{options:B}=U;return B}))||ti(B);let ta=V.useCallback(()=>{J.current&&X.current&&t3(J.current,X.current,{middleware:tr,placement:G,strategy:Y}).then(U=>{ts.current&&t6.flushSync(()=>{tn(U)})})},[tr,G,Y]);t4(()=>{ts.current&&ta()},[ta]);let ts=V.useRef(!1);t4(()=>(ts.current=!0,()=>{ts.current=!1}),[]);let tu=V.useCallback(()=>{if("function"==typeof tt.current&&(tt.current(),tt.current=null),J.current&&X.current){if(Q.current){let U=Q.current(J.current,X.current,ta);tt.current=U}else ta()}},[ta,Q]),tc=V.useCallback(U=>{J.current=U,tu()},[tu]),td=V.useCallback(U=>{X.current=U,tu()},[tu]),tf=V.useMemo(()=>({reference:J,floating:X}),[]);return V.useMemo(()=>({...te,update:ta,refs:tf,reference:tc,floating:td}),[te,ta,tf,tc,td])}let et=U=>{let{element:B,padding:G}=U;function Y(U){return Object.prototype.hasOwnProperty.call(U,"current")}return{name:"arrow",options:U,fn(U){if(Y(B)){if(null!=B.current)return tc({element:B.current,padding:G}).fn(U)}else if(B)return tc({element:B,padding:G}).fn(U);return{}}}};var ee=G(7824);let en=(0,V.forwardRef)((U,B)=>{let{children:G,width:Z=10,height:J=5,...X}=U;return(0,V.createElement)(ee.WV.svg,(0,Y.Z)({},X,{ref:B,width:Z,height:J,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),U.asChild?G:(0,V.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),er=en;var ei=G(49270),eo=G(36646),ea=G(9137),es=G(79388),eu=G(82094);let ec="Popper",[ed,ef]=(0,eo.b)(ec),[eh,ep]=ed(ec),eg=U=>{let{__scopePopper:B,children:G}=U,[Y,Z]=(0,V.useState)(null);return(0,V.createElement)(eh,{scope:B,anchor:Y,onAnchorChange:Z},G)},e_="PopperAnchor",em=(0,V.forwardRef)((U,B)=>{let{__scopePopper:G,virtualRef:Z,...J}=U,X=ep(e_,G),Q=(0,V.useRef)(null),tt=(0,ei.e)(B,Q);return(0,V.useEffect)(()=>{X.onAnchorChange((null==Z?void 0:Z.current)||Q.current)}),Z?null:(0,V.createElement)(ee.WV.div,(0,Y.Z)({},J,{ref:tt}))}),ey="PopperContent",[eb,eE]=ed(ey),[ew,eS]=ed(ey,{hasParent:!1,positionUpdateFns:new Set}),ek=(0,V.forwardRef)((U,B)=>{var G,Y,Z,J,X,Q,tt,te;let{__scopePopper:tn,side:tr="bottom",sideOffset:ti=0,align:ta="center",alignOffset:ts=0,arrowPadding:tu=0,collisionBoundary:tc=[],collisionPadding:td=0,sticky:tf="partial",hideWhenDetached:th=!1,avoidCollisions:tp=!0,onPlaced:tg,...t_}=U,tv=ep(ey,tn),[ty,tw]=(0,V.useState)(null),tT=(0,ei.e)(B,U=>tw(U)),[tC,tR]=(0,V.useState)(null),tA=(0,eu.t)(tC),tO=null!==(G=null==tA?void 0:tA.width)&&void 0!==G?G:0,tI=null!==(Y=null==tA?void 0:tA.height)&&void 0!==Y?Y:0,tN=tr+("center"!==ta?"-"+ta:""),tD="number"==typeof td?td:{top:0,right:0,bottom:0,left:0,...td},tL=Array.isArray(tc)?tc:[tc],tP=tL.length>0,tM={padding:tD,boundary:tL.filter(eO),altBoundary:tP},{reference:tU,floating:tB,strategy:tj,x:tG,y:tF,placement:tH,middlewareData:tz,update:t$}=t9({strategy:"fixed",placement:tN,whileElementsMounted:t5,middleware:[eI(),tE({mainAxis:ti+tI,alignmentAxis:ts}),tp?tS({mainAxis:!0,crossAxis:!1,limiter:"partial"===tf?tx():void 0,...tM}):void 0,tC?et({element:tC,padding:tu}):void 0,tp?tm({...tM}):void 0,tk({...tM,apply:({elements:U,availableWidth:B,availableHeight:G})=>{U.floating.style.setProperty("--radix-popper-available-width",`${B}px`),U.floating.style.setProperty("--radix-popper-available-height",`${G}px`)}}),eN({arrowWidth:tO,arrowHeight:tI}),th?tb({strategy:"referenceHidden"}):void 0].filter(eA)});(0,es.b)(()=>{tU(tv.anchor)},[tU,tv.anchor]);let tq=null!==tG&&null!==tF,[tY,tV]=eD(tH),tW=(0,ea.W)(tg);(0,es.b)(()=>{tq&&(null==tW||tW())},[tq,tW]);let tZ=null===(Z=tz.arrow)||void 0===Z?void 0:Z.x,tK=null===(J=tz.arrow)||void 0===J?void 0:J.y,tJ=(null===(X=tz.arrow)||void 0===X?void 0:X.centerOffset)!==0,[tX,tQ]=(0,V.useState)();(0,es.b)(()=>{ty&&tQ(window.getComputedStyle(ty).zIndex)},[ty]);let{hasParent:t0,positionUpdateFns:t3}=eS(ey,tn),t6=!t0;(0,V.useLayoutEffect)(()=>{if(!t6)return t3.add(t$),()=>{t3.delete(t$)}},[t6,t3,t$]),(0,es.b)(()=>{t6&&tq&&Array.from(t3).reverse().forEach(U=>requestAnimationFrame(U))},[t6,tq,t3]);let t4={"data-side":tY,"data-align":tV,...t_,ref:tT,style:{...t_.style,animation:tq?void 0:"none",opacity:null!==(Q=tz.hide)&&void 0!==Q&&Q.referenceHidden?0:void 0}};return(0,V.createElement)("div",{ref:tB,"data-radix-popper-content-wrapper":"",style:{position:tj,left:0,top:0,transform:tq?`translate3d(${Math.round(tG)}px, ${Math.round(tF)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:tX,"--radix-popper-transform-origin":[null===(tt=tz.transformOrigin)||void 0===tt?void 0:tt.x,null===(te=tz.transformOrigin)||void 0===te?void 0:te.y].join(" ")},dir:U.dir},(0,V.createElement)(eb,{scope:tn,placedSide:tY,onArrowChange:tR,arrowX:tZ,arrowY:tK,shouldHideArrow:tJ},t6?(0,V.createElement)(ew,{scope:tn,hasParent:!0,positionUpdateFns:t3},(0,V.createElement)(ee.WV.div,t4)):(0,V.createElement)(ee.WV.div,t4)))}),eT="PopperArrow",eC={top:"bottom",right:"left",bottom:"top",left:"right"},eR=(0,V.forwardRef)(function(U,B){let{__scopePopper:G,...Z}=U,J=eE(eT,G),X=eC[J.placedSide];return(0,V.createElement)("span",{ref:J.onArrowChange,style:{position:"absolute",left:J.arrowX,top:J.arrowY,[X]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[J.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[J.placedSide],visibility:J.shouldHideArrow?"hidden":void 0}},(0,V.createElement)(er,(0,Y.Z)({},Z,{ref:B,style:{...Z.style,display:"block"}})))});function eA(U){return void 0!==U}function eO(U){return null!==U}let eI=()=>({name:"anchorCssProperties",fn(U){let{rects:B,elements:G}=U,{width:Y,height:V}=B.reference;return G.floating.style.setProperty("--radix-popper-anchor-width",`${Y}px`),G.floating.style.setProperty("--radix-popper-anchor-height",`${V}px`),{}}}),eN=U=>({name:"transformOrigin",options:U,fn(B){var G,Y,V,Z,J;let{placement:X,rects:Q,middlewareData:tt}=B,te=(null===(G=tt.arrow)||void 0===G?void 0:G.centerOffset)!==0,tn=te,tr=tn?0:U.arrowWidth,ti=tn?0:U.arrowHeight,[ta,ts]=eD(X),tu={start:"0%",center:"50%",end:"100%"}[ts],tc=(null!==(Y=null===(V=tt.arrow)||void 0===V?void 0:V.x)&&void 0!==Y?Y:0)+tr/2,td=(null!==(Z=null===(J=tt.arrow)||void 0===J?void 0:J.y)&&void 0!==Z?Z:0)+ti/2,tf="",th="";return"bottom"===ta?(tf=tn?tu:`${tc}px`,th=`${-ti}px`):"top"===ta?(tf=tn?tu:`${tc}px`,th=`${Q.floating.height+ti}px`):"right"===ta?(tf=`${-ti}px`,th=tn?tu:`${td}px`):"left"===ta&&(tf=`${Q.floating.width+ti}px`,th=tn?tu:`${td}px`),{data:{x:tf,y:th}}}});function eD(U){let[B,G="center"]=U.split("-");return[B,G]}let eL=eg,eP=em,eM=ek,eU=eR}
function(U){"use strict";U.exports=JSON.parse('{"name":"statsig-js","version":"4.32.0","description":"Statsig JavaScript client SDK for single user environments.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prepare":"rm -rf build/ && rm -rf dist/ && tsc && webpack","postbuild":"rm -rf build/**/*.map","test":"jest --config=jest-debug.config.js","testForGithubOrRedisEnthusiasts":"jest","test:watch":"jest --watch","build:dryrun":"npx tsc --noEmit","types":"npx tsc"},"files":["build/statsig-prod-web-sdk.js","dist/*.js","dist/*.d.ts","dist/utils/*.js","dist/utils/*.d.ts"],"jsdelivr":"build/statsig-prod-web-sdk.js","repository":{"type":"git","url":"git+https://github.com/statsig-io/js-client-sdk.git"},"author":"Statsig, Inc.","license":"ISC","bugs":{"url":"https://github.com/statsig-io/js-client-sdk/issues"},"keywords":["feature gate","feature flag","continuous deployment","ci","ab test"],"homepage":"https://www.statsig.com","devDependencies":{"@babel/preset-env":"^7.14.9","@babel/preset-typescript":"^7.14.5","@types/jest":"^27.1.0","@types/uuid":"^8.3.1","circular-dependency-plugin":"^5.2.2","core-js":"^3.16.4","jest":"^27.1.0","terser-webpack-plugin":"^5.1.4","ts-jest":"^27.1.0","ts-loader":"^9.2.3","typescript":"^4.2.2","webpack":"^5.75.0","webpack-cli":"^4.10.0"},"dependencies":{"js-sha256":"^0.9.0","uuid":"^8.3.2"},"importSort":{".js, .jsx, .ts, .tsx":{"style":"module","parser":"typescript"}}}')}
function(U,B,G){"use strict";G.d(B,{KQ:function(){return tp},Xj:function(){return tc},YD:function(){return th},e2:function(){return tf},hz:function(){return t_},nR:function(){return td}});var Y=G(21722),V=G(22830),Z=G(39889),J=G(24396),X=G(32787),Q=G(32402),tt=G(24274),te="chatgptfreeplan",tn=Q.r3.ADMIN,tr="default";function ti(U){if(null!=U){var B=Date.parse(U);if(!isNaN(B))return B/1e3}}function ta(U){if(0===Object.keys(U.accounts).length)throw Error("No accounts found");var B,G,Y,V,Z,J,X=U.accounts[tr];return{accountPlan:{hasPaidSubscription:X.entitlement.has_active_subscription||!1,subscriptionPlan:null!==(G=X.entitlement.subscription_plan)&&void 0!==G?G:te,subscriptionExpiresAt:ti(X.entitlement.expires_at),accountUserRole:null!==(Y=X.account.account_user_role)&&void 0!==Y?Y:tn,wasPaidCustomer:null!==(V=X.account.has_previously_paid_subscription)&&void 0!==V&&V,hasCustomerObject:null!==(Z=null===(B=X.account.processor)||void 0===B?void 0:B.a001.has_customer_object)&&void 0!==Z&&Z,lastActiveSubscription:null!==(J=X.last_active_subscription)&&void 0!==J?J:void 0},features:new Set(X.features)}}function ts(U){return tu.apply(this,arguments)}function tu(){return(tu=(0,Y._)(function(U){var B,G,Y,J;return(0,Z.Jh)(this,function(Z){switch(Z.label){case 0:G=(B=(0,V._)(U.queryKey,2))[0],Y=B[1].accessToken,Z.label=1;case 1:return Z.trys.push([1,3,,4]),[4,tt.ZP.getAccountStatusV4(Y)];case 2:return[2,ta(Z.sent())];case 3:throw J=Z.sent(),console.log("Unable to load account"),J;case 4:return[2]}})})).apply(this,arguments)}function tc(U){var B=(0,X.kP)().session,G=null==B?void 0:B.accessToken;return(0,J.a)({queryKey:["account-status",{accessToken:G}],queryFn:ts,enabled:null!=G,select:U,refetchOnWindowFocus:!0,staleTime:6e5})}function td(){return tc(function(U){return U.accountPlan.hasPaidSubscription}).data}function tf(){return tc(function(U){return U.accountPlan.lastActiveSubscription}).data}function th(){return tc(function(U){return U.accountPlan.hasCustomerObject}).data}function tp(){return tc(function(U){return U.accountPlan.wasPaidCustomer}).data}var tg=new Set;function t_(){var U;return null!==(U=tc(function(U){return U.features}).data)&&void 0!==U?U:tg}}
function(U,B,G){"use strict";U.exports=G(93802)}
function(U,B,G){var Y=G(76226).default,V=G(21508);function Z(U,B){if(B&&("object"===Y(B)||"function"==typeof B))return B;if(void 0!==B)throw TypeError("Derived constructors may only return object or undefined");return V(U)}U.exports=Z,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{$2:function(){return J},WD:function(){return Z},cW:function(){return X}});var Y,V=G(52560);function Z(U){return new X(B=>{B(U)})}function J(U){return new X((B,G)=>{G(U)})}!function(U){let B=0;U[U.PENDING=B]="PENDING";let G=1;U[U.RESOLVED=G]="RESOLVED";let Y=2;U[U.REJECTED=Y]="REJECTED"}(Y||(Y={}));class X{__init(){this._state=Y.PENDING}__init2(){this._handlers=[]}constructor(U){X.prototype.__init.call(this),X.prototype.__init2.call(this),X.prototype.__init3.call(this),X.prototype.__init4.call(this),X.prototype.__init5.call(this),X.prototype.__init6.call(this);try{U(this._resolve,this._reject)}catch(U){this._reject(U)}}then(U,B){return new X((G,Y)=>{this._handlers.push([!1,B=>{if(U)try{G(U(B))}catch(U){Y(U)}else G(B)},U=>{if(B)try{G(B(U))}catch(U){Y(U)}else Y(U)}]),this._executeHandlers()})}catch(U){return this.then(U=>U,U)}finally(U){return new X((B,G)=>{let Y,V;return this.then(B=>{V=!1,Y=B,U&&U()},B=>{V=!0,Y=B,U&&U()}).then(()=>{if(V){G(Y);return}B(Y)})})}__init3(){this._resolve=U=>{this._setResult(Y.RESOLVED,U)}}__init4(){this._reject=U=>{this._setResult(Y.REJECTED,U)}}__init5(){this._setResult=(U,B)=>{if(this._state===Y.PENDING){if((0,V.J8)(B)){B.then(this._resolve,this._reject);return}this._state=U,this._value=B,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Y.PENDING)return;let U=this._handlers.slice();this._handlers=[],U.forEach(U=>{U[0]||(this._state===Y.RESOLVED&&U[1](this._value),this._state===Y.REJECTED&&U[2](this._value),U[0]=!0)})}}}}
function(U){U.exports={indexOf:function(U,B){var G,Y;if(Array.prototype.indexOf)return U.indexOf(B);for(G=0,Y=U.length;G<Y;G++)if(U[G]===B)return G;return -1},forEach:function(U,B,G){var Y,V;if(Array.prototype.forEach)return U.forEach(B,G);for(Y=0,V=U.length;Y<V;Y++)B.call(G,U[Y],Y,U)},trim:function(U){return String.prototype.trim?U.trim():U.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(U){return String.prototype.trimRight?U.trimRight():U.replace(/(\s*$)/g,"")}}}
function(U,B,G){"use strict";G.d(B,{Cy:function(){return tu},HD:function(){return tt},J8:function(){return ts},Kj:function(){return ta},PO:function(){return tn},TX:function(){return X},V9:function(){return td},VW:function(){return J},VZ:function(){return V},cO:function(){return tr},fm:function(){return Q},i2:function(){return tc},kK:function(){return ti},pt:function(){return te}});let Y=Object.prototype.toString;function V(U){switch(Y.call(U)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return td(U,Error)}}function Z(U,B){return Y.call(U)===`[object ${B}]`}function J(U){return Z(U,"ErrorEvent")}function X(U){return Z(U,"DOMError")}function Q(U){return Z(U,"DOMException")}function tt(U){return Z(U,"String")}function te(U){return null===U||"object"!=typeof U&&"function"!=typeof U}function tn(U){return Z(U,"Object")}function tr(U){return"undefined"!=typeof Event&&td(U,Event)}function ti(U){return"undefined"!=typeof Element&&td(U,Element)}function ta(U){return Z(U,"RegExp")}function ts(U){return!!(U&&U.then&&"function"==typeof U.then)}function tu(U){return tn(U)&&"nativeEvent"in U&&"preventDefault"in U&&"stopPropagation"in U}function tc(U){return"number"==typeof U&&U!=U}function td(U,B){try{return U instanceof B}catch(U){return!1}}}
function(U,B,G){"use strict";G.d(B,{Ry:function(){return tn}});var Y=function(U){return"undefined"==typeof document?null:(Array.isArray(U)?U[0]:U).ownerDocument.body},V=new WeakMap,Z=new WeakMap,J={},X=0,Q=function(U){return U&&(U.host||Q(U.parentNode))},tt=function(U,B){return B.map(function(B){if(U.contains(B))return B;var G=Q(B);return G&&U.contains(G)?G:(console.error("aria-hidden",B,"in not contained inside",U,". Doing nothing"),null)}).filter(function(U){return!!U})},te=function(U,B,G,Y){var Q=tt(B,Array.isArray(U)?U:[U]);J[G]||(J[G]=new WeakMap);var te=J[G],tn=[],tr=new Set,ti=new Set(Q),ta=function(U){!U||tr.has(U)||(tr.add(U),ta(U.parentNode))};Q.forEach(ta);var ts=function(U){!U||ti.has(U)||Array.prototype.forEach.call(U.children,function(U){if(tr.has(U))ts(U);else{var B=U.getAttribute(Y),J=null!==B&&"false"!==B,X=(V.get(U)||0)+1,Q=(te.get(U)||0)+1;V.set(U,X),te.set(U,Q),tn.push(U),1===X&&J&&Z.set(U,!0),1===Q&&U.setAttribute(G,"true"),J||U.setAttribute(Y,"true")}})};return ts(B),tr.clear(),X++,function(){tn.forEach(function(U){var B=V.get(U)-1,J=te.get(U)-1;V.set(U,B),te.set(U,J),B||(Z.has(U)||U.removeAttribute(Y),Z.delete(U)),J||U.removeAttribute(G)}),--X||(V=new WeakMap,V=new WeakMap,Z=new WeakMap,J={})}},tn=function(U,B,G){void 0===G&&(G="data-aria-hidden");var V=Array.from(Array.isArray(U)?U:[U]),Z=B||Y(U);return Z?(V.push.apply(V,Array.from(Z.querySelectorAll("[aria-live]"))),te(V,Z,G,"aria-hidden")):function(){return null}}}
function(U,B,G){"use strict";function Y(U,B){if(B.has(U))throw TypeError("Cannot initialize the same private elements twice on an object")}function V(U,B,G){Y(U,B),B.set(U,G)}G.d(B,{_:function(){return V}})}
function(U,B,G){"use strict";G.d(B,{z:function(){return tr}});var Y=G(39324),V=G(71209),Z=G(70216),J=G(35250),X=G(19841),Q=G(16578),tt=G.n(Q),te=G(70079),tn=G(19265),tr=(0,te.forwardRef)(function(U,B){var G,Q=U.children,te=U.onClick,tn=U.className,tr=U.color,ta=void 0===tr?"primary":tr,ts=U.disabled,tu=void 0!==ts&&ts,tc=U.visuallyDisabled,td=void 0!==tc&&tc,tf=U.loading,th=void 0!==tf&&tf,tp=U.size,tg=void 0===tp?"medium":tp,t_=(0,Z._)(U,["children","onClick","className","color","disabled","visuallyDisabled","loading","size"]),tm=td||tu||th,tv=th||tu,ty=(0,X.Z)(tm&&"opacity-50 hover:bg-inherit",tv&&"cursor-not-allowed","btn relative","primary"===ta&&"btn-primary","neutral"===ta&&"btn-neutral","dark"===ta&&"btn-dark","light"===ta&&"btn-light","danger"===ta&&"btn-danger","disabled"===ta&&"btn-disabled","small"===tg&&"btn-small",tn);switch(t_.as){case"link":case"a":return(0,J.jsx)(tt(),{href:null!==(G=t_.to)&&void 0!==G?G:"/",legacyBehavior:!0,children:(0,J.jsxs)("a",(0,V._)((0,Y._)({target:!0===t_.openNewTab?"_blank":"_self",ref:B,onClick:te,className:ty},t_),{children:[(0,J.jsx)("div",{className:(0,X.Z)("flex w-full gap-2","items-center justify-center",th&&"opacity-0"),children:Q}),th&&(0,J.jsx)(ti,{})]}))});default:return(0,J.jsxs)("button",(0,V._)((0,Y._)({className:ty,ref:B,onClick:te,disabled:tv},t_),{children:[(0,J.jsx)("div",{className:(0,X.Z)("flex w-full gap-2","items-center justify-center",th&&"opacity-0"),children:Q}),th&&(0,J.jsx)(ti,{})]}))}});function ti(){return(0,J.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,J.jsx)(tn.Z,{})})}tr.displayName="Button"}
function(U,B,G){"use strict";G.d(B,{_:function(){return Y}});let Y=console}
function(U,B,G){var Y=G(69270);function V(U,B){if("function"!=typeof B&&null!==B)throw TypeError("Super expression must either be null or a function");U.prototype=Object.create(B&&B.prototype,{constructor:{value:U,writable:!0,configurable:!0}}),Object.defineProperty(U,"prototype",{writable:!1}),B&&Y(U,B)}U.exports=V,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{$:function(){return V}});var Y=G(31178);let V=Y.useSyncExternalStore}
function(U){function B(U,B,G){return B in U?Object.defineProperty(U,B,{value:G,enumerable:!0,configurable:!0,writable:!0}):U[B]=G,U}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.r(B),G.d(B,{NIL:function(){return tO},parse:function(){return tu},stringify:function(){return tr},v1:function(){return ts},v3:function(){return tk},v4:function(){return tT},v5:function(){return tA},validate:function(){return tt},version:function(){return tI}});var Y,V,Z,J=new Uint8Array(16);function X(){if(!Y&&!(Y="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Y(J)}for(var Q=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,tt=function(U){return"string"==typeof U&&Q.test(U)},te=[],tn=0;tn<256;++tn)te.push((tn+256).toString(16).substr(1));var tr=function(U){var B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,G=(te[U[B+0]]+te[U[B+1]]+te[U[B+2]]+te[U[B+3]]+"-"+te[U[B+4]]+te[U[B+5]]+"-"+te[U[B+6]]+te[U[B+7]]+"-"+te[U[B+8]]+te[U[B+9]]+"-"+te[U[B+10]]+te[U[B+11]]+te[U[B+12]]+te[U[B+13]]+te[U[B+14]]+te[U[B+15]]).toLowerCase();if(!tt(G))throw TypeError("Stringified UUID is invalid");return G},ti=0,ta=0,ts=function(U,B,G){var Y=B&&G||0,J=B||Array(16),Q=(U=U||{}).node||V,tt=void 0!==U.clockseq?U.clockseq:Z;if(null==Q||null==tt){var te=U.random||(U.rng||X)();null==Q&&(Q=V=[1|te[0],te[1],te[2],te[3],te[4],te[5]]),null==tt&&(tt=Z=(te[6]<<8|te[7])&16383)}var tn=void 0!==U.msecs?U.msecs:Date.now(),ts=void 0!==U.nsecs?U.nsecs:ta+1,tu=tn-ti+(ts-ta)/1e4;if(tu<0&&void 0===U.clockseq&&(tt=tt+1&16383),(tu<0||tn>ti)&&void 0===U.nsecs&&(ts=0),ts>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");ti=tn,ta=ts,Z=tt;var tc=((268435455&(tn+=122192928e5))*1e4+ts)%4294967296;J[Y++]=tc>>>24&255,J[Y++]=tc>>>16&255,J[Y++]=tc>>>8&255,J[Y++]=255&tc;var td=tn/4294967296*1e4&268435455;J[Y++]=td>>>8&255,J[Y++]=255&td,J[Y++]=td>>>24&15|16,J[Y++]=td>>>16&255,J[Y++]=tt>>>8|128,J[Y++]=255&tt;for(var tf=0;tf<6;++tf)J[Y+tf]=Q[tf];return B||tr(J)},tu=function(U){if(!tt(U))throw TypeError("Invalid UUID");var B,G=new Uint8Array(16);return G[0]=(B=parseInt(U.slice(0,8),16))>>>24,G[1]=B>>>16&255,G[2]=B>>>8&255,G[3]=255&B,G[4]=(B=parseInt(U.slice(9,13),16))>>>8,G[5]=255&B,G[6]=(B=parseInt(U.slice(14,18),16))>>>8,G[7]=255&B,G[8]=(B=parseInt(U.slice(19,23),16))>>>8,G[9]=255&B,G[10]=(B=parseInt(U.slice(24,36),16))/1099511627776&255,G[11]=B/4294967296&255,G[12]=B>>>24&255,G[13]=B>>>16&255,G[14]=B>>>8&255,G[15]=255&B,G};function tc(U){U=unescape(encodeURIComponent(U));for(var B=[],G=0;G<U.length;++G)B.push(U.charCodeAt(G));return B}var td="6ba7b810-9dad-11d1-80b4-00c04fd430c8",tf="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function th(U,B,G){function Y(U,Y,V,Z){if("string"==typeof U&&(U=tc(U)),"string"==typeof Y&&(Y=tu(Y)),16!==Y.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var J=new Uint8Array(16+U.length);if(J.set(Y),J.set(U,Y.length),(J=G(J))[6]=15&J[6]|B,J[8]=63&J[8]|128,V){Z=Z||0;for(var X=0;X<16;++X)V[Z+X]=J[X];return V}return tr(J)}try{Y.name=U}catch(U){}return Y.DNS=td,Y.URL=tf,Y}function tp(U){for(var B=[],G=32*U.length,Y="0123456789abcdef",V=0;V<G;V+=8){var Z=U[V>>5]>>>V%32&255,J=parseInt(Y.charAt(Z>>>4&15)+Y.charAt(15&Z),16);B.push(J)}return B}function tg(U){return(U+64>>>9<<4)+14+1}function t_(U,B){U[B>>5]|=128<<B%32,U[tg(B)-1]=B;for(var G=1732584193,Y=-271733879,V=-1732584194,Z=271733878,J=0;J<U.length;J+=16){var X=G,Q=Y,tt=V,te=Z;G=tE(G,Y,V,Z,U[J],7,-680876936),Z=tE(Z,G,Y,V,U[J+1],12,-389564586),V=tE(V,Z,G,Y,U[J+2],17,606105819),Y=tE(Y,V,Z,G,U[J+3],22,-1044525330),G=tE(G,Y,V,Z,U[J+4],7,-176418897),Z=tE(Z,G,Y,V,U[J+5],12,1200080426),V=tE(V,Z,G,Y,U[J+6],17,-1473231341),Y=tE(Y,V,Z,G,U[J+7],22,-45705983),G=tE(G,Y,V,Z,U[J+8],7,1770035416),Z=tE(Z,G,Y,V,U[J+9],12,-1958414417),V=tE(V,Z,G,Y,U[J+10],17,-42063),Y=tE(Y,V,Z,G,U[J+11],22,-1990404162),G=tE(G,Y,V,Z,U[J+12],7,1804603682),Z=tE(Z,G,Y,V,U[J+13],12,-40341101),V=tE(V,Z,G,Y,U[J+14],17,-1502002290),Y=tE(Y,V,Z,G,U[J+15],22,1236535329),G=tw(G,Y,V,Z,U[J+1],5,-165796510),Z=tw(Z,G,Y,V,U[J+6],9,-1069501632),V=tw(V,Z,G,Y,U[J+11],14,643717713),Y=tw(Y,V,Z,G,U[J],20,-373897302),G=tw(G,Y,V,Z,U[J+5],5,-701558691),Z=tw(Z,G,Y,V,U[J+10],9,38016083),V=tw(V,Z,G,Y,U[J+15],14,-660478335),Y=tw(Y,V,Z,G,U[J+4],20,-405537848),G=tw(G,Y,V,Z,U[J+9],5,568446438),Z=tw(Z,G,Y,V,U[J+14],9,-1019803690),V=tw(V,Z,G,Y,U[J+3],14,-187363961),Y=tw(Y,V,Z,G,U[J+8],20,1163531501),G=tw(G,Y,V,Z,U[J+13],5,-1444681467),Z=tw(Z,G,Y,V,U[J+2],9,-51403784),V=tw(V,Z,G,Y,U[J+7],14,1735328473),Y=tw(Y,V,Z,G,U[J+12],20,-1926607734),G=tS(G,Y,V,Z,U[J+5],4,-378558),Z=tS(Z,G,Y,V,U[J+8],11,-2022574463),V=tS(V,Z,G,Y,U[J+11],16,1839030562),Y=tS(Y,V,Z,G,U[J+14],23,-35309556),G=tS(G,Y,V,Z,U[J+1],4,-1530992060),Z=tS(Z,G,Y,V,U[J+4],11,1272893353),V=tS(V,Z,G,Y,U[J+7],16,-155497632),Y=tS(Y,V,Z,G,U[J+10],23,-1094730640),G=tS(G,Y,V,Z,U[J+13],4,681279174),Z=tS(Z,G,Y,V,U[J],11,-358537222),V=tS(V,Z,G,Y,U[J+3],16,-722521979),Y=tS(Y,V,Z,G,U[J+6],23,76029189),G=tS(G,Y,V,Z,U[J+9],4,-640364487),Z=tS(Z,G,Y,V,U[J+12],11,-421815835),V=tS(V,Z,G,Y,U[J+15],16,530742520),Y=tS(Y,V,Z,G,U[J+2],23,-995338651),G=tx(G,Y,V,Z,U[J],6,-198630844),Z=tx(Z,G,Y,V,U[J+7],10,1126891415),V=tx(V,Z,G,Y,U[J+14],15,-1416354905),Y=tx(Y,V,Z,G,U[J+5],21,-57434055),G=tx(G,Y,V,Z,U[J+12],6,1700485571),Z=tx(Z,G,Y,V,U[J+3],10,-1894986606),V=tx(V,Z,G,Y,U[J+10],15,-1051523),Y=tx(Y,V,Z,G,U[J+1],21,-2054922799),G=tx(G,Y,V,Z,U[J+8],6,1873313359),Z=tx(Z,G,Y,V,U[J+15],10,-30611744),V=tx(V,Z,G,Y,U[J+6],15,-1560198380),Y=tx(Y,V,Z,G,U[J+13],21,1309151649),G=tx(G,Y,V,Z,U[J+4],6,-145523070),Z=tx(Z,G,Y,V,U[J+11],10,-1120210379),V=tx(V,Z,G,Y,U[J+2],15,718787259),Y=tx(Y,V,Z,G,U[J+9],21,-343485551),G=tv(G,X),Y=tv(Y,Q),V=tv(V,tt),Z=tv(Z,te)}return[G,Y,V,Z]}function tm(U){if(0===U.length)return[];for(var B=8*U.length,G=new Uint32Array(tg(B)),Y=0;Y<B;Y+=8)G[Y>>5]|=(255&U[Y/8])<<Y%32;return G}function tv(U,B){var G=(65535&U)+(65535&B);return(U>>16)+(B>>16)+(G>>16)<<16|65535&G}function ty(U,B){return U<<B|U>>>32-B}function tb(U,B,G,Y,V,Z){return tv(ty(tv(tv(B,U),tv(Y,Z)),V),G)}function tE(U,B,G,Y,V,Z,J){return tb(B&G|~B&Y,U,B,V,Z,J)}function tw(U,B,G,Y,V,Z,J){return tb(B&Y|G&~Y,U,B,V,Z,J)}function tS(U,B,G,Y,V,Z,J){return tb(B^G^Y,U,B,V,Z,J)}function tx(U,B,G,Y,V,Z,J){return tb(G^(B|~Y),U,B,V,Z,J)}var tk=th("v3",48,function(U){if("string"==typeof U){var B=unescape(encodeURIComponent(U));U=new Uint8Array(B.length);for(var G=0;G<B.length;++G)U[G]=B.charCodeAt(G)}return tp(t_(tm(U),8*U.length))}),tT=function(U,B,G){var Y=(U=U||{}).random||(U.rng||X)();if(Y[6]=15&Y[6]|64,Y[8]=63&Y[8]|128,B){G=G||0;for(var V=0;V<16;++V)B[G+V]=Y[V];return B}return tr(Y)};function tC(U,B,G,Y){switch(U){case 0:return B&G^~B&Y;case 1:case 3:return B^G^Y;case 2:return B&G^B&Y^G&Y}}function tR(U,B){return U<<B|U>>>32-B}var tA=th("v5",80,function(U){var B=[1518500249,1859775393,2400959708,3395469782],G=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof U){var Y=unescape(encodeURIComponent(U));U=[];for(var V=0;V<Y.length;++V)U.push(Y.charCodeAt(V))}else Array.isArray(U)||(U=Array.prototype.slice.call(U));U.push(128);for(var Z=Math.ceil((U.length/4+2)/16),J=Array(Z),X=0;X<Z;++X){for(var Q=new Uint32Array(16),tt=0;tt<16;++tt)Q[tt]=U[64*X+4*tt]<<24|U[64*X+4*tt+1]<<16|U[64*X+4*tt+2]<<8|U[64*X+4*tt+3];J[X]=Q}J[Z-1][14]=(U.length-1)*8/4294967296,J[Z-1][14]=Math.floor(J[Z-1][14]),J[Z-1][15]=(U.length-1)*8&4294967295;for(var te=0;te<Z;++te){for(var tn=new Uint32Array(80),tr=0;tr<16;++tr)tn[tr]=J[te][tr];for(var ti=16;ti<80;++ti)tn[ti]=tR(tn[ti-3]^tn[ti-8]^tn[ti-14]^tn[ti-16],1);for(var ta=G[0],ts=G[1],tu=G[2],tc=G[3],td=G[4],tf=0;tf<80;++tf){var th=Math.floor(tf/20),tp=tR(ta,5)+tC(th,ts,tu,tc)+td+B[th]+tn[tf]>>>0;td=tc,tc=tu,tu=tR(ts,30)>>>0,ts=ta,ta=tp}G[0]=G[0]+ta>>>0,G[1]=G[1]+ts>>>0,G[2]=G[2]+tu>>>0,G[3]=G[3]+tc>>>0,G[4]=G[4]+td>>>0}return[G[0]>>24&255,G[0]>>16&255,G[0]>>8&255,255&G[0],G[1]>>24&255,G[1]>>16&255,G[1]>>8&255,255&G[1],G[2]>>24&255,G[2]>>16&255,G[2]>>8&255,255&G[2],G[3]>>24&255,G[3]>>16&255,G[3]>>8&255,255&G[3],G[4]>>24&255,G[4]>>16&255,G[4]>>8&255,255&G[4]]}),tO="00000000-0000-0000-0000-000000000000",tI=function(U){if(!tt(U))throw TypeError("Invalid UUID");return parseInt(U.substr(14,1),16)}}
function(U,B,G){"use strict";G.d(B,{Z:function(){return ts}});var Y=G(39324),V=G(94209),Z=G(60986),J=G(70079),X=G(82841),Q=G(36218),tt=G(32787),te=G(15300),tn=G(75955),tr=G(64135),ti=G(31241),ta=!1;function ts(U,B,G,ts){var tu=(0,tr.Xj)().data,tc=(0,tt.kP)().session,td=(0,X.WS)(G);(0,J.useEffect)(function(){null!=tu&&B.id&&(X.ZP.setUser(B,Array.from(tu.features),tu.accountPlan,ts),(tu.features.has("log_statsig_events")||ta)&&tn.m.setUser(B,tu.accountPlan),tu.features.has("log_intercom_events")&&(0,ti.u$)(B,tu.accountPlan),te.U.setUser(B,Array.from(tu.features),tu.accountPlan,ts),null==V||Z.av({id:B.id,segment:tu.accountPlan.hasPaidSubscription?"paid":"free"}),null==V||Z.v("features",(0,Y._)({},Array.from(tu.features))),null==V||Z.v("accountPlan",tu.accountPlan),null==V||Z.v("idp",{idp:B.idp}))},[tu,B.id]),(0,J.useEffect)(function(){td(Q.s6.pageLoad)},[td]),(0,ti.oG)(),(0,J.useEffect)(function(){(null==tc?void 0:tc.error)==="RefreshAccessTokenError"&&window._oaiHandleSessionExpired("page load",tc.error)},[tc,B.id]),(0,J.useEffect)(function(){document.title=U},[U])}te.U.initialize()}
function(U,B,G){var Y={"./base-en.json":[59381,381],"./de-DE.json":[6952,952],"./es-ES.json":[18400,400],"./fr-FR.json":[718,746],"./it-IT.json":[29826,826],"./ja-JP.json":[75187,187],"./pl-PL.json":[87198,198],"./zh-Hans.json":[22178,178],"./zh-TW.json":[36875,875]};function V(U){if(!G.o(Y,U))return Promise.resolve().then(function(){var B=Error("Cannot find module '"+U+"'");throw B.code="MODULE_NOT_FOUND",B});var B=Y[U],V=B[0];return G.e(B[1]).then(function(){return G.t(V,19)})}V.keys=function(){return Object.keys(Y)},V.id=68494,U.exports=V}
function(U,B,G){"use strict";G.r(B),G.d(B,{default:function(){return nw}});var Y,V=G(21722),Z=G(39324),J=G(22830),X=G(39889),Q=G(35250),tt=G(15838),te=G(7718),tn=G(35448),tr=G(14412),ti=G(86546),ta=G(5437),ts=G.n(ta),tu=G(68555),tc=G(70079),td=G(1454);G(1328),G(11724),G(94981),G(59835),G(18996);var tf=G(66958),th=G(59114),tp=G(48727),tg=G(76727),t_=G(51217),tm=G(69072),tv=G(81949),ty=G(12051),tb=G(91530),tE=G.n(tb),tw="undefined"!=typeof document,tS=tc.createContext({addEscapeHandler:tE(),removeEscapeHandler:tE(),addDocClickHandler:tE(),removeDocClickHandler:tE(),host:null,zIndex:void 0}),tx=tS.Provider,tk=tS.Consumer,tT=function(U){(0,tm._)(G,U);var B=(0,ty._)(G);function G(U){var Y;return(0,t_._)(this,G),(Y=B.call(this,U)).onDocumentClick=function(U){var B=Y.state.docClickHandlers[Y.state.docClickHandlers.length-1];B&&B(U)},Y.onKeyUp=function(U){if("Escape"===U.key){var B=Y.state.escapeKeyHandlers[Y.state.escapeKeyHandlers.length-1];B&&B()}},Y.onAddEscapeHandler=function(U){Y.setState(function(B){return{escapeKeyHandlers:(0,tv._)(B.escapeKeyHandlers).concat([U])}})},Y.onRemoveEscapeHandler=function(U){Y.setState(function(B){return{escapeKeyHandlers:B.escapeKeyHandlers.filter(function(B){return B!==U})}})},Y.onAddDocClickHandler=function(U){Y.setState(function(B){return{docClickHandlers:(0,tv._)(B.docClickHandlers).concat([U])}})},Y.onRemoveDocClickHandler=function(U){Y.setState(function(B){return{docClickHandlers:B.docClickHandlers.filter(function(B){return B!==U})}})},Y.state={escapeKeyHandlers:[],docClickHandlers:[]},Y.host=(0,tc.createRef)(),Y.containerRef=(0,tc.createRef)(),Y}var Y=G.prototype;return Y.componentDidMount=function(){this.forceUpdate(),tw&&(document.addEventListener("keyup",this.onKeyUp),document.addEventListener("mousedown",this.onDocumentClick))},Y.componentWillUnmount=function(){tw&&(document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("mousedown",this.onDocumentClick))},Y.render=function(){var U=this;return(0,Q.jsx)(tk,{children:function(B){var G=B.host;return(0,Q.jsxs)(tx,{value:{host:G||U.host.current,zIndex:U.props.zIndex,addEscapeHandler:U.onAddEscapeHandler,removeEscapeHandler:U.onRemoveEscapeHandler,addDocClickHandler:U.onAddDocClickHandler,removeDocClickHandler:U.onRemoveDocClickHandler},children:[U.props.children,(0,Q.jsx)("div",{className:"absolute left-0 right-0 top-0 z-[2]",ref:U.host})]})}})},G}(tc.PureComponent),tC=G(96237),tR=G(71209),tA=G(30331),tO=G(374),tI=G(76984),tN=G(53936),tD=G(10283),tL=G(89199),tP=G(83608);function tM(U,B){return Object.keys(U).reduce(function(G,Y){return G[Y]=(0,X.pi)({timeZone:B},U[Y]),G},{})}function tU(U,B){return Object.keys((0,X.pi)((0,X.pi)({},U),B)).reduce(function(G,Y){return G[Y]=(0,X.pi)((0,X.pi)({},U[Y]||{}),B[Y]||{}),G},{})}function tB(U,B){if(!B)return U;var G=tD.C.formats;return(0,X.pi)((0,X.pi)((0,X.pi)({},G),U),{date:tU(tM(G.date,B),tM(U.date||{},B)),time:tU(tM(G.time,B),tM(U.time||{},B))})}var tj=function(U,B,G,Y,V){var Z=U.locale,J=U.formats,Q=U.messages,tt=U.defaultLocale,te=U.defaultFormats,tn=U.fallbackOnEmptyString,tr=U.onError,ti=U.timeZone,ta=U.defaultRichTextElements;void 0===G&&(G={id:""});var ts=G.id,tu=G.defaultMessage;(0,tN.kG)(!!ts,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var tc=String(ts),td=Q&&Object.prototype.hasOwnProperty.call(Q,tc)&&Q[tc];if(Array.isArray(td)&&1===td.length&&td[0].type===tP.wD.literal)return td[0].value;if(!Y&&td&&"string"==typeof td&&!ta)return td.replace(/'\{(.*?)\}'/gi,"{$1}");if(Y=(0,X.pi)((0,X.pi)({},ta),Y||{}),J=tB(J,ti),te=tB(te,ti),!td){if(!1===tn&&""===td)return td;if((!tu||Z&&Z.toLowerCase()!==tt.toLowerCase())&&tr(new tL.$6(G,Z)),tu)try{var tf=B.getMessageFormat(tu,tt,te,V);return tf.format(Y)}catch(U){return tr(new tL.X9('Error formatting default message for: "'.concat(tc,'", rendering default message verbatim'),Z,G,U)),"string"==typeof tu?tu:tc}return tc}try{var tf=B.getMessageFormat(td,Z,J,(0,X.pi)({formatters:B},V||{}));return tf.format(Y)}catch(U){tr(new tL.X9('Error formatting message: "'.concat(tc,'", using ').concat(tu?"default message":"id"," as fallback."),Z,G,U))}if(tu)try{var tf=B.getMessageFormat(tu,tt,te,V);return tf.format(Y)}catch(U){tr(new tL.X9('Error formatting the default message for: "'.concat(tc,'", rendering message verbatim'),Z,G,U))}return"string"==typeof td?td:"string"==typeof tu?tu:tc},tG=G(96733),tF=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function tH(U,B,G){var Y=U.locale,V=U.formats,Z=U.onError;void 0===G&&(G={});var J=G.format,X=J&&(0,tG.TB)(V,"number",J,Z)||{};return B(Y,(0,tG.L6)(G,tF,X))}function tz(U,B,G,Y){void 0===Y&&(Y={});try{return tH(U,B,Y).format(G)}catch(B){U.onError(new tL.Qe("Error formatting number.",U.locale,B))}return String(G)}function t$(U,B,G,Y){void 0===Y&&(Y={});try{return tH(U,B,Y).formatToParts(G)}catch(B){U.onError(new tL.Qe("Error formatting number.",U.locale,B))}return[]}var tq=G(12916),tY=["numeric","style"];function tV(U,B,G){var Y=U.locale,V=U.formats,Z=U.onError;void 0===G&&(G={});var J=G.format,X=!!J&&(0,tG.TB)(V,"relative",J,Z)||{};return B(Y,(0,tG.L6)(G,tY,X))}function tW(U,B,G,Y,V){void 0===V&&(V={}),Y||(Y="second"),Intl.RelativeTimeFormat||U.onError(new tq.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',tq.jK.MISSING_INTL_API));try{return tV(U,B,V).format(G,Y)}catch(B){U.onError(new tL.Qe("Error formatting relative time.",U.locale,B))}return String(G)}var tZ=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function tK(U,B,G,Y){var V=U.locale,Z=U.formats,J=U.onError,Q=U.timeZone;void 0===Y&&(Y={});var tt=Y.format,te=(0,X.pi)((0,X.pi)({},Q&&{timeZone:Q}),tt&&(0,tG.TB)(Z,B,tt,J)),tn=(0,tG.L6)(Y,tZ,te);return"time"!==B||tn.hour||tn.minute||tn.second||tn.timeStyle||tn.dateStyle||(tn=(0,X.pi)((0,X.pi)({},tn),{hour:"numeric",minute:"numeric"})),G(V,tn)}function tJ(U,B){for(var G=[],Y=2;Y<arguments.length;Y++)G[Y-2]=arguments[Y];var V=G[0],Z=G[1],J=void 0===Z?{}:Z,X="string"==typeof V?new Date(V||0):V;try{return tK(U,"date",B,J).format(X)}catch(B){U.onError(new tL.Qe("Error formatting date.",U.locale,B))}return String(X)}function tX(U,B){for(var G=[],Y=2;Y<arguments.length;Y++)G[Y-2]=arguments[Y];var V=G[0],Z=G[1],J=void 0===Z?{}:Z,X="string"==typeof V?new Date(V||0):V;try{return tK(U,"time",B,J).format(X)}catch(B){U.onError(new tL.Qe("Error formatting time.",U.locale,B))}return String(X)}function tQ(U,B){for(var G=[],Y=2;Y<arguments.length;Y++)G[Y-2]=arguments[Y];var V=G[0],Z=G[1],J=G[2],X=void 0===J?{}:J,Q=U.timeZone,tt=U.locale,te=U.onError,tn=(0,tG.L6)(X,tZ,Q?{timeZone:Q}:{});try{return B(tt,tn).formatRange(V,Z)}catch(B){te(new tL.Qe("Error formatting date time range.",U.locale,B))}return String(V)}function t0(U,B){for(var G=[],Y=2;Y<arguments.length;Y++)G[Y-2]=arguments[Y];var V=G[0],Z=G[1],J=void 0===Z?{}:Z,X="string"==typeof V?new Date(V||0):V;try{return tK(U,"date",B,J).formatToParts(X)}catch(B){U.onError(new tL.Qe("Error formatting date.",U.locale,B))}return[]}function t5(U,B){for(var G=[],Y=2;Y<arguments.length;Y++)G[Y-2]=arguments[Y];var V=G[0],Z=G[1],J=void 0===Z?{}:Z,X="string"==typeof V?new Date(V||0):V;try{return tK(U,"time",B,J).formatToParts(X)}catch(B){U.onError(new tL.Qe("Error formatting time.",U.locale,B))}return[]}var t3=["type"];function t6(U,B,G,Y){var V=U.locale,Z=U.onError;void 0===Y&&(Y={}),Intl.PluralRules||Z(new tq.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',tq.jK.MISSING_INTL_API));var J=(0,tG.L6)(Y,t3);try{return B(V,J).select(G)}catch(U){Z(new tL.Qe("Error formatting plural.",V,U))}return"other"}var t4=["type","style"],t8=Date.now();function t7(U){return"".concat(t8,"_").concat(U,"_").concat(t8)}function t9(U,B,G,Y){void 0===Y&&(Y={});var V=et(U,B,G,Y).reduce(function(U,B){var G=B.value;return"string"!=typeof G?U.push(G):"string"==typeof U[U.length-1]?U[U.length-1]+=G:U.push(G),U},[]);return 1===V.length?V[0]:0===V.length?"":V}function et(U,B,G,Y){var V=U.locale,Z=U.onError;void 0===Y&&(Y={}),Intl.ListFormat||Z(new tq.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',tq.jK.MISSING_INTL_API));var J=(0,tG.L6)(Y,t4);try{var Q={},tt=G.map(function(U,B){if("object"==typeof U){var G=t7(B);return Q[G]=U,G}return String(U)});return B(V,J).formatToParts(tt).map(function(U){return"literal"===U.type?U:(0,X.pi)((0,X.pi)({},U),{value:Q[U.value]||U.value})})}catch(U){Z(new tL.Qe("Error formatting list.",V,U))}return G}var ee=["style","type","fallback","languageDisplay"];function en(U,B,G,Y){var V=U.locale,Z=U.onError;Intl.DisplayNames||Z(new tq.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',tq.jK.MISSING_INTL_API));var J=(0,tG.L6)(Y,ee);try{return B(V,J).of(G)}catch(U){Z(new tL.Qe("Error formatting display name.",V,U))}}function er(U){return"string"==typeof(U?U[Object.keys(U)[0]]:void 0)}function ei(U){U.onWarn&&U.defaultRichTextElements&&er(U.messages||{})&&U.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function eo(U,B){var G=(0,tG.ax)(B),Y=(0,X.pi)((0,X.pi)({},tG.Z0),U),V=Y.locale,Z=Y.defaultLocale,J=Y.onError;return V?!Intl.NumberFormat.supportedLocalesOf(V).length&&J?J(new tL.gb('Missing locale data for locale: "'.concat(V,'" in Intl.NumberFormat. Using default locale: "').concat(Z,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(V).length&&J&&J(new tL.gb('Missing locale data for locale: "'.concat(V,'" in Intl.DateTimeFormat. Using default locale: "').concat(Z,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(J&&J(new tL.OV('"locale" was not configured, using "'.concat(Z,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),Y.locale=Y.defaultLocale||"en"),ei(Y),(0,X.pi)((0,X.pi)({},Y),{formatters:G,formatNumber:tz.bind(null,Y,G.getNumberFormat),formatNumberToParts:t$.bind(null,Y,G.getNumberFormat),formatRelativeTime:tW.bind(null,Y,G.getRelativeTimeFormat),formatDate:tJ.bind(null,Y,G.getDateTimeFormat),formatDateToParts:t0.bind(null,Y,G.getDateTimeFormat),formatTime:tX.bind(null,Y,G.getDateTimeFormat),formatDateTimeRange:tQ.bind(null,Y,G.getDateTimeFormat),formatTimeToParts:t5.bind(null,Y,G.getDateTimeFormat),formatPlural:t6.bind(null,Y,G.getPluralRules),formatMessage:tj.bind(null,Y,G),$t:tj.bind(null,Y,G),formatList:t9.bind(null,Y,G.getListFormat),formatListToParts:et.bind(null,Y,G.getListFormat),formatDisplayName:en.bind(null,Y,G.getDisplayNames)})}var ea=G(33614);function es(U){return{locale:U.locale,timeZone:U.timeZone,fallbackOnEmptyString:U.fallbackOnEmptyString,formats:U.formats,textComponent:U.textComponent,messages:U.messages,defaultLocale:U.defaultLocale,defaultFormats:U.defaultFormats,onError:U.onError,onWarn:U.onWarn,wrapRichTextChunksInFragment:U.wrapRichTextChunksInFragment,defaultRichTextElements:U.defaultRichTextElements}}function eu(U){return U?Object.keys(U).reduce(function(B,G){var Y=U[G];return B[G]=(0,ea.Gt)(Y)?(0,tI.dt)(Y):Y,B},{}):U}var ec=function(U,B,G,Y){for(var V=[],Z=4;Z<arguments.length;Z++)V[Z-4]=arguments[Z];var J=eu(Y),Q=tj.apply(void 0,(0,X.ev)([U,B,G,J],V,!1));return Array.isArray(Q)?tc.Children.toArray(Q):Q},ed=function(U,B){var G=U.defaultRichTextElements,Y=(0,X._T)(U,["defaultRichTextElements"]),V=eu(G),Z=eo((0,X.pi)((0,X.pi)((0,X.pi)({},tI.Z0),Y),{defaultRichTextElements:V}),B),J={locale:Z.locale,timeZone:Z.timeZone,fallbackOnEmptyString:Z.fallbackOnEmptyString,formats:Z.formats,defaultLocale:Z.defaultLocale,defaultFormats:Z.defaultFormats,messages:Z.messages,onError:Z.onError,defaultRichTextElements:V};return(0,X.pi)((0,X.pi)({},Z),{formatMessage:ec.bind(null,J,Z.formatters),$t:ec.bind(null,J,Z.formatters)})},ef=function(U){function B(){var B=null!==U&&U.apply(this,arguments)||this;return B.cache=(0,tG.Sn)(),B.state={cache:B.cache,intl:ed(es(B.props),B.cache),prevConfig:es(B.props)},B}return(0,X.ZT)(B,U),B.getDerivedStateFromProps=function(U,B){var G=B.prevConfig,Y=B.cache,V=es(U);return(0,tI.wU)(G,V)?null:{intl:ed(V,Y),prevConfig:V}},B.prototype.render=function(){return(0,tI.lq)(this.state.intl),tc.createElement(tO.zt,{value:this.state.intl},this.props.children)},B.displayName="IntlProvider",B.defaultProps=tI.Z0,B}(tc.PureComponent),eh=G(64135),ep=G(88038),eg="en-US",e_=["de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","pl-PL","zh-Hans","zh-TW"],em={de:"de-DE",en:"en-US",es:"es-ES",fr:"fr-FR",it:"it-IT",ja:"ja-JP",pl:"pl-PL",zh:"zh-Hans","zh-TW":"zh-TW"},ey=function(U){var B,G=void 0;if(null!==U)G=U;else if(window.navigator){var Y,V=window.navigator,Z=null!==(Y=V.userLanguage)&&void 0!==Y?Y:V.language;G=null!=Z?Z:eg}return G?e_.includes(G)?G:G.split(/[-_]/)[0]&&null!==(B=em[G])&&void 0!==B?B:eg:eg},eb=function(){var U=(0,V._)(function(U){var B,Y,V=arguments;return(0,X.Jh)(this,function(Z){switch(Z.label){case 0:if(B=(V.length>1&&void 0!==V[1]?V[1]:{}).signal,U===eg)return[2,{}];if(null==B?void 0:B.aborted)throw Error("Aborted");Z.label=1;case 1:return Z.trys.push([1,3,,4]),[4,G(68494)("./".concat(U,".json"))];case 2:if(Y=Z.sent(),null==B?void 0:B.aborted)throw Error("Aborted");return[2,Y.default];case 3:throw Z.sent();case 4:return[2]}})});return function(B){return U.apply(this,arguments)}}(),eE=function(){var U=(0,V._)(function(U,B,G,Y){var V,Z;return(0,X.Jh)(this,function(J){switch(J.label){case 0:return J.trys.push([0,2,,3]),[4,eb(U,{signal:B})];case 1:if(V=J.sent(),B.aborted)return[2];return G(V),[3,3];case 2:if(Z=J.sent(),B.aborted)return[2];return Y(Z),[3,3];case 3:return[2]}})});return function(B,G,Y,V){return U.apply(this,arguments)}}(),ew=function(U,B){return B},eS=(0,tc.createContext)({locale:eg,dispatchLocale:function(){return ew}}),ek={},eT=function(U){var B,G=U.locale,Y=U.children,V=(0,eh.hz)(),X=(0,tc.useMemo)(function(){return ey(G)},[G]),tt=(0,J._)((0,tc.useReducer)(ew,X),2),te=tt[0],tn=tt[1],tr=(0,tc.useMemo)(function(){return{locale:te,dispatchLocale:tn}},[te,tn]),ti=(0,J._)((0,tc.useState)((0,tC._)({},eg,ek)),2),ta=ti[0],ts=ti[1];return(0,tc.useEffect)(function(){te!==X&&tn(X)},[te,X]),(0,tc.useEffect)(function(){var U=new AbortController,B=U.signal,G=function(U){document.documentElement&&(document.documentElement.lang=te),ts(function(B){return(0,tR._)((0,Z._)({},B),(0,tC._)({},te,U))})},Y=function(U){tA.Tb("Issue importing locale: ".concat(U))};return V.has(ep.Tx)&&eE(te,B,G,Y),function(){U.abort()}},[V,te]),(0,Q.jsx)(eS.Provider,{value:tr,children:(0,Q.jsx)(ef,{defaultLocale:eg,locale:void 0!==ta[te]?te:eg,messages:null!==(B=ta[te])&&void 0!==B?B:ta[eg],children:Y})})},eC=G(82841),eR=G(36218),eA=G(68172);function eO(U){var B=U.user,G=U.children,Y=(0,tc.useMemo)(function(){return{app:eR.VY,origin:"chat"}},[]);return void 0===B?(0,Q.jsx)(eC.Af.Provider,{value:Y,children:G}):(0,Q.jsx)(eI,{eventContext:Y,user:B,children:(0,Q.jsx)(eC.Af.Provider,{value:Y,children:G})})}function eI(U){var B=U.user,G=U.children,Y=U.eventContext;return(0,eA.Z)("ChatGPT",B,Y,{}),(0,Q.jsx)(Q.Fragment,{children:G})}var eN=G(70216),eD=G(70200),eL=G(99581),eP=null;function eM(){return eP||((eP=document.createElement("div")).setAttribute("portal-container",""),document.body.append(eP)),eP||null}function eU(U){var B=U.children,G=eM();return((0,tc.useEffect)(function(){return function(){}},[]),G)?eL.createPortal(B,G):null}function eB(U,B){if(null==U)return{};var G,Y,V={},Z=Object.keys(U);for(Y=0;Y<Z.length;Y++)G=Z[Y],B.indexOf(G)>=0||(V[G]=U[G]);return V}function ej(U,B){return(ej=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(U,B){return U.__proto__=B,U})(U,B)}function eG(U,B){U.prototype=Object.create(B.prototype),U.prototype.constructor=U,ej(U,B)}var eF={disabled:!1},eH=tc.createContext(null),ez=function(U){return U.scrollTop},e$="unmounted",eq="exited",eY="entering",eV="entered",eW="exiting",eZ=function(U){function B(B,G){Y=U.call(this,B,G)||this;var Y,V,Z=G,J=Z&&!Z.isMounting?B.enter:B.appear;return Y.appearStatus=null,B.in?J?(V=eq,Y.appearStatus=eY):V=eV:V=B.unmountOnExit||B.mountOnEnter?e$:eq,Y.state={status:V},Y.nextCallback=null,Y}eG(B,U),B.getDerivedStateFromProps=function(U,B){return U.in&&B.status===e$?{status:eq}:null};var G=B.prototype;return G.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},G.componentDidUpdate=function(U){var B=null;if(U!==this.props){var G=this.state.status;this.props.in?G!==eY&&G!==eV&&(B=eY):(G===eY||G===eV)&&(B=eW)}this.updateStatus(!1,B)},G.componentWillUnmount=function(){this.cancelNextCallback()},G.getTimeouts=function(){var U,B,G,Y=this.props.timeout;return U=B=G=Y,null!=Y&&"number"!=typeof Y&&(U=Y.exit,B=Y.enter,G=void 0!==Y.appear?Y.appear:B),{exit:U,enter:B,appear:G}},G.updateStatus=function(U,B){if(void 0===U&&(U=!1),null!==B){if(this.cancelNextCallback(),B===eY){if(this.props.unmountOnExit||this.props.mountOnEnter){var G=this.props.nodeRef?this.props.nodeRef.current:eL.findDOMNode(this);G&&ez(G)}this.performEnter(U)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===eq&&this.setState({status:e$})},G.performEnter=function(U){var B=this,G=this.props.enter,Y=this.context?this.context.isMounting:U,V=this.props.nodeRef?[Y]:[eL.findDOMNode(this),Y],Z=V[0],J=V[1],X=this.getTimeouts(),Q=Y?X.appear:X.enter;if(!U&&!G||eF.disabled){this.safeSetState({status:eV},function(){B.props.onEntered(Z)});return}this.props.onEnter(Z,J),this.safeSetState({status:eY},function(){B.props.onEntering(Z,J),B.onTransitionEnd(Q,function(){B.safeSetState({status:eV},function(){B.props.onEntered(Z,J)})})})},G.performExit=function(){var U=this,B=this.props.exit,G=this.getTimeouts(),Y=this.props.nodeRef?void 0:eL.findDOMNode(this);if(!B||eF.disabled){this.safeSetState({status:eq},function(){U.props.onExited(Y)});return}this.props.onExit(Y),this.safeSetState({status:eW},function(){U.props.onExiting(Y),U.onTransitionEnd(G.exit,function(){U.safeSetState({status:eq},function(){U.props.onExited(Y)})})})},G.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},G.safeSetState=function(U,B){B=this.setNextCallback(B),this.setState(U,B)},G.setNextCallback=function(U){var B=this,G=!0;return this.nextCallback=function(Y){G&&(G=!1,B.nextCallback=null,U(Y))},this.nextCallback.cancel=function(){G=!1},this.nextCallback},G.onTransitionEnd=function(U,B){this.setNextCallback(B);var G=this.props.nodeRef?this.props.nodeRef.current:eL.findDOMNode(this),Y=null==U&&!this.props.addEndListener;if(!G||Y){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var V=this.props.nodeRef?[this.nextCallback]:[G,this.nextCallback],Z=V[0],J=V[1];this.props.addEndListener(Z,J)}null!=U&&setTimeout(this.nextCallback,U)},G.render=function(){var U=this.state.status;if(U===e$)return null;var B=this.props,G=B.children,Y=(B.in,B.mountOnEnter,B.unmountOnExit,B.appear,B.enter,B.exit,B.timeout,B.addEndListener,B.onEnter,B.onEntering,B.onEntered,B.onExit,B.onExiting,B.onExited,B.nodeRef,eB(B,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return tc.createElement(eH.Provider,{value:null},"function"==typeof G?G(U,Y):tc.cloneElement(tc.Children.only(G),Y))},B}(tc.Component);function eK(){}eZ.contextType=eH,eZ.propTypes={},eZ.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:eK,onEntering:eK,onEntered:eK,onExit:eK,onExiting:eK,onExited:eK},eZ.UNMOUNTED=e$,eZ.EXITED=eq,eZ.ENTERING=eY,eZ.ENTERED=eV,eZ.EXITING=eW;var eJ=eZ,eX=(Y={},(0,tC._)(Y,eD.n.success,td._rq),(0,tC._)(Y,eD.n.warning,td.BJv),(0,tC._)(Y,eD.n.danger,td.U0j),Y),eQ=function(U){var B,G=U.zIndex,Y=U.duration,V=U.onRemove,Z=U.intent,X=void 0===Z?eD.n.info:Z,tt=U.title,te=U.description,tn=U.hasCloseButton,tr=U.isShown,ti=void 0===tr||tr,ta=(0,J._)((0,tc.useState)(0),2),ts=ta[0],tu=ta[1],td=(0,J._)((0,tc.useState)(ti),2),tf=td[0],th=td[1],tp=(0,tc.useRef)(null),tg=(0,tc.useRef)(null),t_=(0,tc.useCallback)(function(){null==V||V(),tv(),th(!1)},[V]),tm=(0,tc.useCallback)(function(){Y&&(tg.current=setTimeout(function(){t_()},1e3*Y))},[t_,Y]);(0,tc.useEffect)(function(){return tm(),function(){tv()}},[tf,tm]);var tv=function(){tg.current&&(clearTimeout(tg.current),tg.current=null)},ty=function(){tv()},tb=function(){tm()},tE=function(U){if(null!==U){var B=U.getBoundingClientRect().height;tu(B)}};return(0,Q.jsx)(eJ,{appear:!0,unmountOnExit:!0,timeout:240,in:tf,onExited:V,nodeRef:tp,children:function(U){return(0,Q.jsx)("div",{ref:tp,"data-state":U,className:"toast-root",onMouseEnter:ty,onMouseLeave:tb,style:{height:ts,zIndex:G,marginBottom:tf?0:-ts},children:(0,Q.jsx)("div",{ref:tE,className:"w-full p-1 text-center md:w-auto md:text-justify",children:(0,Q.jsxs)(eD.b,{icon:null!==(B=eX[X])&&void 0!==B?B:void 0,intent:X,onRemove:tn?function(){return t_()}:void 0,children:[(0,Q.jsx)("div",{className:"whitespace-pre-wrap text-left",children:tt}),te&&(0,Q.jsx)("div",{children:te})]})})})}})},e0=G(97688),e1=function(U){return Object.hasOwnProperty.call(U,"id")},e5=function(U){(0,tm._)(G,U);var B=(0,ty._)(G);function G(U){var Y;return(0,t_._)(this,G),(Y=B.call(this,U)).getToasts=function(){return Y.state.toasts},Y.closeAll=function(){Y.getToasts().forEach(function(U){return U.close()})},Y.notify=function(U,B){if(e1(B)){var G=!0,V=!1,Z=void 0;try{for(var J,X=Y.state.toasts[Symbol.iterator]();!(G=(J=X.next()).done);G=!0){var Q=J.value;String(Q.id).startsWith(B.id)&&Y.closeToast(Q.id)}}catch(U){V=!0,Z=U}finally{try{G||null==X.return||X.return()}finally{if(V)throw Z}}}var tt=Y.createToastInstance(U,B);return Y.setState(function(U){return{toasts:[tt].concat((0,tv._)(U.toasts))}}),tt},Y.createToastInstance=function(U,B){var V=++G.idCounter,Z=e1(B)?"".concat(B.id,"-").concat(V):V;return{id:Z,title:U,description:B.description,hasCloseButton:!!B.hasCloseButton,duration:"number"==typeof B.duration?B.duration:5,close:function(){return Y.closeToast(Z)},onRemove:B.onRemove,intent:B.intent||eD.n.info,isShown:!0}},Y.closeToast=function(U){Y.setState(function(B){return{toasts:B.toasts.map(function(B){return B.id===U?(0,tR._)((0,Z._)({},B),{isShown:!1}):B})}})},Y.removeToast=function(U){Y.setState(function(B){var G,Y;return null===(G=B.toasts.find(function(B){return B.id===U}))||void 0===G||null===(Y=G.onRemove)||void 0===Y||Y.call(G),{toasts:B.toasts.filter(function(B){return B.id!==U})}})},Y.state={toasts:[],isBrowserHydrated:!1},e0.m._bindNotify(Y.notify),e0.m._bindGetToasts(Y.getToasts),e0.m._bindCloseAll(Y.closeAll),Y}var Y=G.prototype;return Y.componentDidMount=function(){this.setState({isBrowserHydrated:!0})},Y.render=function(){var U=this;return this.state.isBrowserHydrated?(0,Q.jsx)(eU,{children:(0,Q.jsx)("span",{className:"pointer-events-none fixed inset-0 z-[60] mx-auto my-2 flex max-w-[560px] flex-col items-stretch justify-start md:pb-5",children:this.state.toasts.map(function(B){var G=B.id,Y=(0,eN._)(B,["id"]);return(0,Q.jsx)(eQ,(0,tR._)((0,Z._)({},Y),{onRemove:function(){return U.removeToast(G)}}),G)})})}):null},G}(tc.PureComponent);!function(){e5.idCounter=0}();var e6=G(85023),e4=G(75955),e8=window.sessionStorage,e7="oai/apps/historyDisabled",e9="oai/apps/modifiedSettings";function nt(U){var B=(0,J._)((0,tc.useState)(!1),2),G=B[0],Y=B[1],V=(0,eC.WS)(),Z=(0,tc.useCallback)(function(U){Y(U),e6.m.setItem(e7,U.toString()),U?(null==e8||e8.setItem(e9,"true"),V(eR.s6.disableChatHistory),e4.m.logEvent("chatgpt_disable_chat_history")):(V(eR.s6.enableChatHistory),e4.m.logEvent("chatgpt_enable_chat_history"))},[V]),X=(0,tc.useCallback)(function(){Z(!G)},[G,Z]),Q=(0,tc.useCallback)(function(){Z(!1)},[Z]),tt=(0,tc.useCallback)(function(){null==e8||e8.removeItem(e9)},[]);return(0,tc.useEffect)(function(){var B=e6.m.getItem(e7);B&&void 0===U&&Y("true"===B)},[U]),{historyDisabled:G,onEnableHistory:Q,toggleHistoryDisabled:X,getModifiedSettings:(0,tc.useCallback)(function(){return"true"===(null==e8?void 0:e8.getItem(e9))},[]),unsetModifiedSettings:tt}}var ne=G(32983),nn=G(15300),nr=G(16456),ni=G(67138),no=G(84427),na=G(94402),nu=G(26984);class nc extends nu.F{constructor(U){super(),this.abortSignalConsumed=!1,this.defaultOptions=U.defaultOptions,this.setOptions(U.options),this.observers=[],this.cache=U.cache,this.logger=U.logger||ni._,this.queryKey=U.queryKey,this.queryHash=U.queryHash,this.initialState=U.state||nl(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(U){this.options={...this.defaultOptions,...U},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(U,B){let G=(0,nr.oE)(this.state.data,U,this.options);return this.dispatch({data:G,type:"success",dataUpdatedAt:null==B?void 0:B.updatedAt,manual:null==B?void 0:B.manual}),G}setState(U,B){this.dispatch({type:"setState",state:U,setStateOptions:B})}cancel(U){var B;let G=this.promise;return null==(B=this.retryer)||B.cancel(U),G?G.then(nr.ZT).catch(nr.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(U=>!1!==U.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(U=>U.getCurrentResult().isStale)}isStaleByTime(U=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,nr.Kp)(this.state.dataUpdatedAt,U)}onFocus(){var U;let B=this.observers.find(U=>U.shouldFetchOnWindowFocus());B&&B.refetch({cancelRefetch:!1}),null==(U=this.retryer)||U.continue()}onOnline(){var U;let B=this.observers.find(U=>U.shouldFetchOnReconnect());B&&B.refetch({cancelRefetch:!1}),null==(U=this.retryer)||U.continue()}addObserver(U){-1===this.observers.indexOf(U)&&(this.observers.push(U),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:U}))}removeObserver(U){-1!==this.observers.indexOf(U)&&(this.observers=this.observers.filter(B=>B!==U),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:U}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(U,B){var G,Y,V,Z;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=B&&B.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(V=this.retryer)||V.continueRetry(),this.promise}if(U&&this.setOptions(U),!this.options.queryFn){let U=this.observers.find(U=>U.options.queryFn);U&&this.setOptions(U.options)}Array.isArray(this.options.queryKey);let J=(0,nr.G9)(),X={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},Q=U=>{Object.defineProperty(U,"signal",{enumerable:!0,get:()=>{if(J)return this.abortSignalConsumed=!0,J.signal}})};Q(X);let tt=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(X)):Promise.reject("Missing queryFn"),te={fetchOptions:B,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:tt};Q(te),null==(G=this.options.behavior)||G.onFetch(te),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(Y=te.fetchOptions)?void 0:Y.meta))&&this.dispatch({type:"fetch",meta:null==(Z=te.fetchOptions)?void 0:Z.meta});let tn=U=>{if((0,na.DV)(U)&&U.silent||this.dispatch({type:"error",error:U}),!(0,na.DV)(U)){var B,G,Y,V;null==(B=(G=this.cache.config).onError)||B.call(G,U,this),null==(Y=(V=this.cache.config).onSettled)||Y.call(V,this.state.data,U,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,na.Mz)({fn:te.fetchFn,abort:null==J?void 0:J.abort.bind(J),onSuccess:U=>{var B,G,Y,V;if(void 0===U){tn(Error(this.queryHash+" data is undefined"));return}this.setData(U),null==(B=(G=this.cache.config).onSuccess)||B.call(G,U,this),null==(Y=(V=this.cache.config).onSettled)||Y.call(V,U,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:tn,onFail:(U,B)=>{this.dispatch({type:"failed",failureCount:U,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:te.options.retry,retryDelay:te.options.retryDelay,networkMode:te.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(U){let B=B=>{var G,Y;switch(U.type){case"failed":return{...B,fetchFailureCount:U.failureCount,fetchFailureReason:U.error};case"pause":return{...B,fetchStatus:"paused"};case"continue":return{...B,fetchStatus:"fetching"};case"fetch":return{...B,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(G=U.meta)?G:null,fetchStatus:(0,na.Kw)(this.options.networkMode)?"fetching":"paused",...!B.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...B,data:U.data,dataUpdateCount:B.dataUpdateCount+1,dataUpdatedAt:null!=(Y=U.dataUpdatedAt)?Y:Date.now(),error:null,isInvalidated:!1,status:"success",...!U.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let V=U.error;if((0,na.DV)(V)&&V.revert&&this.revertState)return{...this.revertState};return{...B,error:V,errorUpdateCount:B.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:B.fetchFailureCount+1,fetchFailureReason:V,fetchStatus:"idle",status:"error"};case"invalidate":return{...B,isInvalidated:!0};case"setState":return{...B,...U.state}}};this.state=B(this.state),no.V.batch(()=>{this.observers.forEach(B=>{B.onQueryUpdate(U)}),this.cache.notify({query:this,type:"updated",action:U})})}}function nl(U){let B="function"==typeof U.initialData?U.initialData():U.initialData,G=void 0!==B,Y=G?"function"==typeof U.initialDataUpdatedAt?U.initialDataUpdatedAt():U.initialDataUpdatedAt:0;return{data:B,dataUpdateCount:0,dataUpdatedAt:G?null!=Y?Y:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:G?"success":"loading",fetchStatus:"idle"}}var nd=G(28197);class nf extends nd.l{constructor(U){super(),this.config=U||{},this.queries=[],this.queriesMap={}}build(U,B,G){var Y;let V=B.queryKey,Z=null!=(Y=B.queryHash)?Y:(0,nr.Rm)(V,B),J=this.get(Z);return J||(J=new nc({cache:this,logger:U.getLogger(),queryKey:V,queryHash:Z,options:U.defaultQueryOptions(B),state:G,defaultOptions:U.getQueryDefaults(V)}),this.add(J)),J}add(U){this.queriesMap[U.queryHash]||(this.queriesMap[U.queryHash]=U,this.queries.push(U),this.notify({type:"added",query:U}))}remove(U){let B=this.queriesMap[U.queryHash];B&&(U.destroy(),this.queries=this.queries.filter(B=>B!==U),B===U&&delete this.queriesMap[U.queryHash],this.notify({type:"removed",query:U}))}clear(){no.V.batch(()=>{this.queries.forEach(U=>{this.remove(U)})})}get(U){return this.queriesMap[U]}getAll(){return this.queries}find(U,B){let[G]=(0,nr.I6)(U,B);return void 0===G.exact&&(G.exact=!0),this.queries.find(U=>(0,nr._x)(G,U))}findAll(U,B){let[G]=(0,nr.I6)(U,B);return Object.keys(G).length>0?this.queries.filter(U=>(0,nr._x)(G,U)):this.queries}notify(U){no.V.batch(()=>{this.listeners.forEach(B=>{B(U)})})}onFocus(){no.V.batch(()=>{this.queries.forEach(U=>{U.onFocus()})})}onOnline(){no.V.batch(()=>{this.queries.forEach(U=>{U.onOnline()})})}}var nh=G(57630);class np extends nd.l{constructor(U){super(),this.config=U||{},this.mutations=[],this.mutationId=0}build(U,B,G){let Y=new nh.m({mutationCache:this,logger:U.getLogger(),mutationId:++this.mutationId,options:U.defaultMutationOptions(B),state:G,defaultOptions:B.mutationKey?U.getMutationDefaults(B.mutationKey):void 0});return this.add(Y),Y}add(U){this.mutations.push(U),this.notify({type:"added",mutation:U})}remove(U){this.mutations=this.mutations.filter(B=>B!==U),this.notify({type:"removed",mutation:U})}clear(){no.V.batch(()=>{this.mutations.forEach(U=>{this.remove(U)})})}getAll(){return this.mutations}find(U){return void 0===U.exact&&(U.exact=!0),this.mutations.find(B=>(0,nr.X7)(U,B))}findAll(U){return this.mutations.filter(B=>(0,nr.X7)(U,B))}notify(U){no.V.batch(()=>{this.listeners.forEach(B=>{B(U)})})}resumePausedMutations(){var U;return this.resuming=(null!=(U=this.resuming)?U:Promise.resolve()).then(()=>{let U=this.mutations.filter(U=>U.state.isPaused);return no.V.batch(()=>U.reduce((U,B)=>U.then(()=>B.continue().catch(nr.ZT)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var ng=G(99475),n_=G(37540),nm=G(2814);class nv{constructor(U={}){this.queryCache=U.queryCache||new nf,this.mutationCache=U.mutationCache||new np,this.logger=U.logger||ni._,this.defaultOptions=U.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=ng.j.subscribe(()=>{ng.j.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=n_.N.subscribe(()=>{n_.N.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var U,B;this.mountCount--,0===this.mountCount&&(null==(U=this.unsubscribeFocus)||U.call(this),this.unsubscribeFocus=void 0,null==(B=this.unsubscribeOnline)||B.call(this),this.unsubscribeOnline=void 0)}isFetching(U,B){let[G]=(0,nr.I6)(U,B);return G.fetchStatus="fetching",this.queryCache.findAll(G).length}isMutating(U){return this.mutationCache.findAll({...U,fetching:!0}).length}getQueryData(U,B){var G;return null==(G=this.queryCache.find(U,B))?void 0:G.state.data}ensureQueryData(U,B,G){let Y=(0,nr._v)(U,B,G),V=this.getQueryData(Y.queryKey);return V?Promise.resolve(V):this.fetchQuery(Y)}getQueriesData(U){return this.getQueryCache().findAll(U).map(({queryKey:U,state:B})=>{let G=B.data;return[U,G]})}setQueryData(U,B,G){let Y=this.queryCache.find(U),V=null==Y?void 0:Y.state.data,Z=(0,nr.SE)(B,V);if(void 0===Z)return;let J=(0,nr._v)(U),X=this.defaultQueryOptions(J);return this.queryCache.build(this,X).setData(Z,{...G,manual:!0})}setQueriesData(U,B,G){return no.V.batch(()=>this.getQueryCache().findAll(U).map(({queryKey:U})=>[U,this.setQueryData(U,B,G)]))}getQueryState(U,B){var G;return null==(G=this.queryCache.find(U,B))?void 0:G.state}removeQueries(U,B){let[G]=(0,nr.I6)(U,B),Y=this.queryCache;no.V.batch(()=>{Y.findAll(G).forEach(U=>{Y.remove(U)})})}resetQueries(U,B,G){let[Y,V]=(0,nr.I6)(U,B,G),Z=this.queryCache,J={type:"active",...Y};return no.V.batch(()=>(Z.findAll(Y).forEach(U=>{U.reset()}),this.refetchQueries(J,V)))}cancelQueries(U,B,G){let[Y,V={}]=(0,nr.I6)(U,B,G);void 0===V.revert&&(V.revert=!0);let Z=no.V.batch(()=>this.queryCache.findAll(Y).map(U=>U.cancel(V)));return Promise.all(Z).then(nr.ZT).catch(nr.ZT)}invalidateQueries(U,B,G){let[Y,V]=(0,nr.I6)(U,B,G);return no.V.batch(()=>{var U,B;if(this.queryCache.findAll(Y).forEach(U=>{U.invalidate()}),"none"===Y.refetchType)return Promise.resolve();let G={...Y,type:null!=(U=null!=(B=Y.refetchType)?B:Y.type)?U:"active"};return this.refetchQueries(G,V)})}refetchQueries(U,B,G){let[Y,V]=(0,nr.I6)(U,B,G),Z=no.V.batch(()=>this.queryCache.findAll(Y).filter(U=>!U.isDisabled()).map(U=>{var B;return U.fetch(void 0,{...V,cancelRefetch:null==(B=null==V?void 0:V.cancelRefetch)||B,meta:{refetchPage:Y.refetchPage}})})),J=Promise.all(Z).then(nr.ZT);return null!=V&&V.throwOnError||(J=J.catch(nr.ZT)),J}fetchQuery(U,B,G){let Y=(0,nr._v)(U,B,G),V=this.defaultQueryOptions(Y);void 0===V.retry&&(V.retry=!1);let Z=this.queryCache.build(this,V);return Z.isStaleByTime(V.staleTime)?Z.fetch(V):Promise.resolve(Z.state.data)}prefetchQuery(U,B,G){return this.fetchQuery(U,B,G).then(nr.ZT).catch(nr.ZT)}fetchInfiniteQuery(U,B,G){let Y=(0,nr._v)(U,B,G);return Y.behavior=(0,nm.Gm)(),this.fetchQuery(Y)}prefetchInfiniteQuery(U,B,G){return this.fetchInfiniteQuery(U,B,G).then(nr.ZT).catch(nr.ZT)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(U){this.defaultOptions=U}setQueryDefaults(U,B){let G=this.queryDefaults.find(B=>(0,nr.yF)(U)===(0,nr.yF)(B.queryKey));G?G.defaultOptions=B:this.queryDefaults.push({queryKey:U,defaultOptions:B})}getQueryDefaults(U){if(!U)return;let B=this.queryDefaults.find(B=>(0,nr.to)(U,B.queryKey));return null==B?void 0:B.defaultOptions}setMutationDefaults(U,B){let G=this.mutationDefaults.find(B=>(0,nr.yF)(U)===(0,nr.yF)(B.mutationKey));G?G.defaultOptions=B:this.mutationDefaults.push({mutationKey:U,defaultOptions:B})}getMutationDefaults(U){if(!U)return;let B=this.mutationDefaults.find(B=>(0,nr.to)(U,B.mutationKey));return null==B?void 0:B.defaultOptions}defaultQueryOptions(U){if(null!=U&&U._defaulted)return U;let B={...this.defaultOptions.queries,...this.getQueryDefaults(null==U?void 0:U.queryKey),...U,_defaulted:!0};return!B.queryHash&&B.queryKey&&(B.queryHash=(0,nr.Rm)(B.queryKey,B)),void 0===B.refetchOnReconnect&&(B.refetchOnReconnect="always"!==B.networkMode),void 0===B.useErrorBoundary&&(B.useErrorBoundary=!!B.suspense),B}defaultMutationOptions(U){return null!=U&&U._defaulted?U:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==U?void 0:U.mutationKey),...U,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var ny=348e4,nb=348e4;function nE(){return new nv({defaultOptions:{queries:{cacheTime:nb,staleTime:ny,retry:!1,retryOnMount:!1,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1,networkMode:"always"}}})}var nw=function(U){var B=U.Component,G=U.pageProps,Y=(0,J._)((0,tc.useState)(!1),2),ta=Y[0],t_=Y[1],tm=(0,J._)((0,tc.useState)(function(){return nE()}),1)[0],tv=(0,J._)((0,tc.useState)(""),2),ty=tv[0],tb=tv[1],tE=(0,tu.useRouter)(),tw=tE.query.shareId||"",tS=tE.query.chatId||void 0,tx=(Array.isArray(tE.query.locale)?tE.query.locale[0]:tE.query.locale)||null,tk=nt(tS);(0,tc.useEffect)(function(){window._oaiHandleSessionExpired=function(U,B){t_(!0),eC.ZP.event(eR.s6.forceLogInModal("".concat(eR.VY).concat(eR.MC.Thread)),{content:"".concat(U,": ").concat(B)})}},[]);var tC=(0,tc.useMemo)(function(){return{serviceStatus:G.serviceStatus||void 0}},[G]);return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(tg.Z,{}),(0,Q.jsxs)(ts(),{children:[(0,Q.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, user-scalable=no"}),(0,Q.jsx)("meta",{name:"description",content:"A conversational AI system that listens, learns, and challenges"},"og:description"),(0,Q.jsx)("meta",{property:"og:title",content:"ChatGPT"}),(0,Q.jsx)("meta",{property:"og:image",content:"https://chat.openai.com/images/chatgpt-share-og.png"},"og:image"),(0,Q.jsx)("meta",{property:"og:description",content:"A conversational AI system that listens, learns, and challenges"},"og:description"),(0,Q.jsx)("meta",{property:"og:url",content:"https://chat.openai.com"},"og:url"),(0,Q.jsx)("meta",{name:"apple-itunes-app",content:"app-id=6448311069"})]}),(0,Q.jsx)(te.SV,{fallback:function(U){var B=U.resetError,G=(U.componentStack,U.error);try{nn.U.addAction("ui_boundary_error",{error_string:G.toString()})}catch(U){nn.U.addAction("ui_boundary_error_generic")}return(0,Q.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[(0,Q.jsx)("h2",{children:"Oops, an error occurred!"}),!1,(0,Q.jsx)(tf.z,{color:"neutral",onClick:B,children:"Try again"})]})},children:(0,Q.jsx)(tn.aH,{client:tm,children:(0,Q.jsx)(ti.f,{attribute:"class",children:(0,Q.jsx)(tt.zt,{children:(0,Q.jsx)(ne.gt.Provider,{value:tC,children:(0,Q.jsx)(eT,{locale:tx,children:(0,Q.jsx)(ne.QL.Provider,{value:tk,children:(0,Q.jsx)(tT,{children:(0,Q.jsxs)(eO,{user:G.user,children:[(0,Q.jsx)(B,(0,Z._)({signInUrl:ty,sharedConversationId:tw,urlThreadId:tS},G)),(0,Q.jsx)(e5,{}),(0,Q.jsx)(tp.Z,{isOpen:ta,icon:td.BJv,title:"Your session has expired",description:"Please log in again to continue using the app.",type:"warning",onClose:t_,primaryButton:(0,Q.jsx)(th.ZP.Button,{onClick:(0,V._)(function(){var U;return(0,X.Jh)(this,function(B){switch(B.label){case 0:return[4,(0,tr.signOut)({redirect:!1,callbackUrl:"/auth/login?next=".concat(encodeURIComponent(tE.asPath))})];case 1:return U=B.sent(),tE.push(U.url),t_(!1),tb(U.url),[2]}})}),title:"Log in"})})]})})})})})})})})})]})}}
function(U,B,G){U.exports=G(76281)}
function(U,B,G){"use strict";G.d(B,{KV:function(){return Z},l$:function(){return J}});var Y=G(70466);U=G.hmd(U);var V=G(44675);function Z(){return!(0,Y.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==V?V:0)}function J(U,B){return U.require(B)}}
function(U){function B(G,Y){return U.exports=B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(U,B){return U.__proto__=B,U},U.exports.__esModule=!0,U.exports.default=U.exports,B(G,Y)}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{h:function(){return X}});var Y=G(45675),V=G(70079),Z=G(99581),J=G(7824);let X=(0,V.forwardRef)((U,B)=>{var G;let{container:X=null==globalThis?void 0:null===(G=globalThis.document)||void 0===G?void 0:G.body,...Q}=U;return X?Z.createPortal((0,V.createElement)(J.WV.div,(0,Y.Z)({},Q,{ref:B})),X):null})}
function(U,B,G){"use strict";G.d(B,{b:function(){return tt},n:function(){return Y}});var Y,V=G(35250),Z=G(19841),J=G(70079),X=G(1454),Q=G(38317);!function(U){U.info="info",U.neutral="neutral",U.success="success",U.warning="warning",U.danger="danger"}(Y||(Y={}));var tt=J.memo(function(U){var B=U.className,G=U.intent,J=void 0===G?"info":G,tt=U.fullWidth,te=U.children,tn=U.icon,tr=U.onRemove,ti=(0,Z.Z)({"px-3 py-2 rounded-md text-white inline-flex flex-row border pointer-events-auto gap-2":!0,flex:tt,"bg-white dark:bg-gray-900 text-gray-700 dark:text-white dark:border-black/20":J===Y.neutral||J===Y.info,"border-green-500 bg-green-500":J===Y.success,"border-orange-500 bg-orange-500":J===Y.warning,"border-red-500 bg-red-500":J===Y.danger},B);return(0,V.jsxs)("div",{className:ti,role:"alert",children:[tn&&(0,V.jsx)("div",{className:"mt-1 flex-shrink-0 flex-grow-0",children:(0,V.jsx)(Q.ZP,{icon:tn})}),(0,V.jsx)("div",{className:"flex-1 justify-center gap-2",children:"string"==typeof te?(0,V.jsx)("div",{className:"font-semibold",children:te}):te}),tr?(0,V.jsx)("div",{className:"flex flex-shrink-0 flex-grow-0",children:(0,V.jsx)("button",{onClick:tr,"aria-label":"Close",className:"hover:opacity-80",children:(0,V.jsx)(Q.ZP,{icon:X.q5L})})}):null]})})}
function(U,B){"use strict";function G(){Promise.prototype.finally=Promise.prototype.finally||({finally:function(U){var B=function(B){return Promise.resolve(U()).then(B)};return this.then(function(U){return B(function(){return U})},function(U){return B(function(){return Promise.reject(U)})})}}).finally}Object.defineProperty(B,"__esModule",{value:!0}),B.default=G}
function(U,B,G){"use strict";function Y(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function V(){return"npm"}G.d(B,{S:function(){return V},n:function(){return Y}})}
function(U){function B(U,B){for(var G=0;G<B.length;G++){var Y=B[G];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(U,Y.key,Y)}}function G(U,G,Y){return G&&B(U.prototype,G),Y&&B(U,Y),Object.defineProperty(U,"prototype",{writable:!1}),U}U.exports=G,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";var Y=G(98421);Object.defineProperty(B,"__esModule",{value:!0}),B.default=void 0,B.proxyLogger=ti,B.setLogger=tn;var V=Y(G(67860)),Z=G(80456);function J(U,B){var G=Object.keys(U);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(U);B&&(Y=Y.filter(function(B){return Object.getOwnPropertyDescriptor(U,B).enumerable})),G.push.apply(G,Y)}return G}function X(U){for(var B=1;B<arguments.length;B++){var G=null!=arguments[B]?arguments[B]:{};B%2?J(Object(G),!0).forEach(function(B){(0,V.default)(U,B,G[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(G)):J(Object(G)).forEach(function(B){Object.defineProperty(U,B,Object.getOwnPropertyDescriptor(G,B))})}return U}function Q(U){if(U instanceof Error&&!(U instanceof Z.UnknownError))return{message:U.message,stack:U.stack,name:U.name};if(tt(U)){var B;U.error=Q(U.error),U.message=null!==(B=U.message)&&void 0!==B?B:U.error.message}return U}function tt(U){return!!(null!=U&&U.error)}var te={error:function(U,B){B=Q(B),console.error("[next-auth][error][".concat(U,"]"),"\nhttps://next-auth.js.org/errors#".concat(U.toLowerCase()),B.message,B)},warn:function(U){console.warn("[next-auth][warn][".concat(U,"]"),"\nhttps://next-auth.js.org/warnings#".concat(U.toLowerCase()))},debug:function(U,B){console.log("[next-auth][debug][".concat(U,"]"),B)}};function tn(){var U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},B=arguments.length>1?arguments[1]:void 0;B||(te.debug=function(){}),U.error&&(te.error=U.error),U.warn&&(te.warn=U.warn),U.debug&&(te.debug=U.debug)}var tr=te;function ti(){var U=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te,B=arguments.length>1?arguments[1]:void 0;try{if("undefined"==typeof window)return U;var G={},Y=function(U){G[U]=function(G,Y){te[U](G,Y),"error"===U&&(Y=Q(Y)),Y.client=!0;var V="".concat(B,"/_log"),Z=new URLSearchParams(X({level:U,code:G},Y));return navigator.sendBeacon?navigator.sendBeacon(V,Z):fetch(V,{method:"POST",body:Z,keepalive:!0})}};for(var V in U)Y(V);return G}catch(U){return te}}B.default=tr}
function(U,B,G){"use strict";function Y(U,B,{checkForDefaultPrevented:G=!0}={}){return function(Y){if(null==U||U(Y),!1===G||!Y.defaultPrevented)return null==B?void 0:B(Y)}}G.d(B,{M:function(){return Y}})}
function(U,B,G){"use strict";let Y;G.d(B,{XB:function(){return ts}});var V=G(45675),Z=G(70079),J=G(72901),X=G(7824),Q=G(49270),tt=G(9137);function te(U,B=null==globalThis?void 0:globalThis.document){let G=(0,tt.W)(U);(0,Z.useEffect)(()=>{let U=U=>{"Escape"===U.key&&G(U)};return B.addEventListener("keydown",U),()=>B.removeEventListener("keydown",U)},[G,B])}let tn="dismissableLayer.update",tr="dismissableLayer.pointerDownOutside",ti="dismissableLayer.focusOutside",ta=(0,Z.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ts=(0,Z.forwardRef)((U,B)=>{var G;let{disableOutsidePointerEvents:tt=!1,onEscapeKeyDown:tr,onPointerDownOutside:ti,onFocusOutside:ts,onInteractOutside:tf,onDismiss:th,...tp}=U,tg=(0,Z.useContext)(ta),[t_,tm]=(0,Z.useState)(null),tv=null!==(G=null==t_?void 0:t_.ownerDocument)&&void 0!==G?G:null==globalThis?void 0:globalThis.document,[,ty]=(0,Z.useState)({}),tb=(0,Q.e)(B,U=>tm(U)),tE=Array.from(tg.layers),[tw]=[...tg.layersWithOutsidePointerEventsDisabled].slice(-1),tS=tE.indexOf(tw),tx=t_?tE.indexOf(t_):-1,tk=tg.layersWithOutsidePointerEventsDisabled.size>0,tT=tx>=tS,tC=tu(U=>{let B=U.target,G=[...tg.branches].some(U=>U.contains(B));!tT||G||(null==ti||ti(U),null==tf||tf(U),U.defaultPrevented||null==th||th())},tv),tR=tc(U=>{let B=U.target,G=[...tg.branches].some(U=>U.contains(B));G||(null==ts||ts(U),null==tf||tf(U),U.defaultPrevented||null==th||th())},tv);return te(U=>{let B=tx===tg.layers.size-1;B&&(null==tr||tr(U),!U.defaultPrevented&&th&&(U.preventDefault(),th()))},tv),(0,Z.useEffect)(()=>{if(t_)return tt&&(0===tg.layersWithOutsidePointerEventsDisabled.size&&(Y=tv.body.style.pointerEvents,tv.body.style.pointerEvents="none"),tg.layersWithOutsidePointerEventsDisabled.add(t_)),tg.layers.add(t_),td(),()=>{tt&&1===tg.layersWithOutsidePointerEventsDisabled.size&&(tv.body.style.pointerEvents=Y)}},[t_,tv,tt,tg]),(0,Z.useEffect)(()=>()=>{t_&&(tg.layers.delete(t_),tg.layersWithOutsidePointerEventsDisabled.delete(t_),td())},[t_,tg]),(0,Z.useEffect)(()=>{let U=()=>ty({});return document.addEventListener(tn,U),()=>document.removeEventListener(tn,U)},[]),(0,Z.createElement)(X.WV.div,(0,V.Z)({},tp,{ref:tb,style:{pointerEvents:tk?tT?"auto":"none":void 0,...U.style},onFocusCapture:(0,J.M)(U.onFocusCapture,tR.onFocusCapture),onBlurCapture:(0,J.M)(U.onBlurCapture,tR.onBlurCapture),onPointerDownCapture:(0,J.M)(U.onPointerDownCapture,tC.onPointerDownCapture)}))});function tu(U,B=null==globalThis?void 0:globalThis.document){let G=(0,tt.W)(U),Y=(0,Z.useRef)(!1),V=(0,Z.useRef)(()=>{});return(0,Z.useEffect)(()=>{let U=U=>{if(U.target&&!Y.current){let Y={originalEvent:U};function Z(){tf(tr,G,Y,{discrete:!0})}"touch"===U.pointerType?(B.removeEventListener("click",V.current),V.current=Z,B.addEventListener("click",V.current,{once:!0})):Z()}Y.current=!1},Z=window.setTimeout(()=>{B.addEventListener("pointerdown",U)},0);return()=>{window.clearTimeout(Z),B.removeEventListener("pointerdown",U),B.removeEventListener("click",V.current)}},[B,G]),{onPointerDownCapture:()=>Y.current=!0}}function tc(U,B=null==globalThis?void 0:globalThis.document){let G=(0,tt.W)(U),Y=(0,Z.useRef)(!1);return(0,Z.useEffect)(()=>{let U=U=>{if(U.target&&!Y.current){let B={originalEvent:U};tf(ti,G,B,{discrete:!1})}};return B.addEventListener("focusin",U),()=>B.removeEventListener("focusin",U)},[B,G]),{onFocusCapture:()=>Y.current=!0,onBlurCapture:()=>Y.current=!1}}function td(){let U=new CustomEvent(tn);document.dispatchEvent(U)}function tf(U,B,G,{discrete:Y}){let V=G.originalEvent.target,Z=new CustomEvent(U,{bubbles:!1,cancelable:!0,detail:G});B&&V.addEventListener(U,B,{once:!0}),Y?(0,X.jH)(V,Z):V.dispatchEvent(Z)}}
function(U){function B(U){return -1!==Function.toString.call(U).indexOf("[native code]")}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{m:function(){return te}});var Y=G(21722),V=G(51217),Z=G(39889),J=G(56340),X=G.n(J),Q="client-tnE5GCU2F2cTxRiMbvTczMDT1jpwIigZHsZSdqiy4u",tt=!1,te=new(function(){function U(){(0,V._)(this,U),this.initialized=!1}var B=U.prototype;return B.initializeStatsig=function(U){var B=this;return(0,Y._)(function(){return(0,Z.Jh)(this,function(G){switch(G.label){case 0:if(B.initialized)return[3,2];return U&&(B.identifiedUserId=U.userID),[4,X().initialize(Q,U,{environment:"production"})];case 1:G.sent(),B.initialized=!0,G.label=2;case 2:return[2]}})})()},B.getStatsigUser=function(U,B){return{userID:U.id,privateAttributes:{email:U.email},custom:{is_paid:B}}},B.logEvent=function(U,B,G){this.identifiedUserId?tt?console.debug("Logging event to statsig",U,B,G):X().logEvent(U,B,G):tt&&console.error("Tried to log event (".concat(U,") to statsig before identification. Make sure the user has the client-side logging feature flag enabled."))},B.setUser=function(U,B){if(tt){console.debug("Identifying user for statsig",this.getStatsigUser(U,B.hasPaidSubscription)),this.identifiedUserId=U.id;return}this.initialized?this.initialized&&this.identifiedUserId!==U.id&&(this.identifiedUserId=U.id,X().updateUser(this.getStatsigUser(U,B.hasPaidSubscription))):this.initializeStatsig(this.getStatsigUser(U,B.hasPaidSubscription))},U}())}
function(U,B){"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.LogLevel=void 0;var G,Y="https://featuregates.org/v1/",V="https://events.statsigapi.net/v1/";!function(U){U[U.NONE=0]="NONE",U[U.INFO=1]="INFO",U[U.DEBUG=2]="DEBUG"}(G=B.LogLevel||(B.LogLevel={}));var Z=function(){function U(U){null==U&&(U={});var B,Z,J,X,Q,tt,te,tn,tr,ti,ta,ts,tu,tc,td,tf,th,tp,tg,t_=null!==(B=U.api)&&void 0!==B?B:Y;this.api=t_.endsWith("/")?t_:t_+"/",this.disableCurrentPageLogging=null!==(Z=U.disableCurrentPageLogging)&&void 0!==Z&&Z,this.environment=null!==(J=U.environment)&&void 0!==J?J:null,this.loggingIntervalMillis=this.normalizeNumberInput(U.loggingIntervalMillis,{default:1e4,min:1e3,max:6e4}),this.loggingBufferMaxSize=this.normalizeNumberInput(U.loggingBufferMaxSize,{default:100,min:2,max:500}),this.disableNetworkKeepalive=null!==(X=U.disableNetworkKeepalive)&&void 0!==X&&X,this.overrideStableID=null!==(Q=U.overrideStableID)&&void 0!==Q?Q:null,this.localMode=null!==(tt=U.localMode)&&void 0!==tt&&tt,this.initTimeoutMs=U.initTimeoutMs&&U.initTimeoutMs>=0?U.initTimeoutMs:3e3,this.disableErrorLogging=null!==(te=U.disableErrorLogging)&&void 0!==te&&te,this.disableAutoMetricsLogging=null!==(tn=U.disableAutoMetricsLogging)&&void 0!==tn&&tn,this.initializeValues=null!==(tr=U.initializeValues)&&void 0!==tr?tr:null;var tm=null!==(ta=null!==(ti=U.eventLoggingApi)&&void 0!==ti?ti:U.api)&&void 0!==ta?ta:V;this.eventLoggingApi=tm.endsWith("/")?tm:tm+"/",this.prefetchUsers=null!==(ts=U.prefetchUsers)&&void 0!==ts?ts:[],this.disableLocalStorage=null!==(tu=U.disableLocalStorage)&&void 0!==tu&&tu,this.initCompletionCallback=null!==(tc=U.initCompletionCallback)&&void 0!==tc?tc:null,this.disableDiagnosticsLogging=null!==(td=U.disableDiagnosticsLogging)&&void 0!==td&&td,this.logLevel=null!==(tf=null==U?void 0:U.logLevel)&&void 0!==tf?tf:G.NONE,this.ignoreWindowUndefined=null!==(th=null==U?void 0:U.ignoreWindowUndefined)&&void 0!==th&&th,this.fetchMode=null!==(tp=U.fetchMode)&&void 0!==tp?tp:"network-only",this.disableLocalOverrides=null!==(tg=null==U?void 0:U.disableLocalOverrides)&&void 0!==tg&&tg}return U.prototype.getApi=function(){return this.api},U.prototype.getEnvironment=function(){return this.environment},U.prototype.getDisableCurrentPageLogging=function(){return this.disableCurrentPageLogging},U.prototype.getLoggingIntervalMillis=function(){return this.loggingIntervalMillis},U.prototype.getLoggingBufferMaxSize=function(){return this.loggingBufferMaxSize},U.prototype.getDisableNetworkKeepalive=function(){return this.disableNetworkKeepalive},U.prototype.getOverrideStableID=function(){return this.overrideStableID},U.prototype.getLocalModeEnabled=function(){return this.localMode},U.prototype.getInitTimeoutMs=function(){return this.initTimeoutMs},U.prototype.getDisableErrorLogging=function(){return this.disableErrorLogging},U.prototype.getDisableAutoMetricsLogging=function(){return this.disableAutoMetricsLogging},U.prototype.getEventLoggingApi=function(){return this.eventLoggingApi},U.prototype.getPrefetchUsers=function(){return this.prefetchUsers},U.prototype.getDisableLocalStorage=function(){return this.disableLocalStorage},U.prototype.getInitCompletionCallback=function(){return this.initCompletionCallback},U.prototype.getDisableDiagnosticsLogging=function(){return this.disableDiagnosticsLogging},U.prototype.getLogLevel=function(){return this.logLevel},U.prototype.getIgnoreWindowUndefined=function(){return this.ignoreWindowUndefined},U.prototype.getFetchMode=function(){return this.fetchMode},U.prototype.getDisableLocalOverrides=function(){return this.disableLocalOverrides},U.prototype.normalizeNumberInput=function(U,B){return null==U?B.default:Math.max(Math.min(U,B.max),B.min)},U}();B.default=Z}
function(U){function B(G){return U.exports=B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(U){return typeof U}:function(U){return U&&"function"==typeof Symbol&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},U.exports.__esModule=!0,U.exports.default=U.exports,B(G)}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{Z:function(){return J}});var Y=G(35250),V=G(5437),Z=G.n(V);function J(){return(0,Y.jsxs)(Z(),{children:[(0,Y.jsx)("title",{children:"ChatGPT"}),(0,Y.jsx)("meta",{name:"description",content:"ChatGPT is an AI-powered language model developed by OpenAI, capable of generating human-like text based on context and past conversations."})]})}}
function(U,B,G){"use strict";G.d(B,{Z0:function(){return Q},dt:function(){return tt},lq:function(){return X},wU:function(){return te}});var Y=G(39889),V=G(70079),Z=G(53936),J=G(96733);function X(U){(0,Z.kG)(U,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var Q=(0,Y.pi)((0,Y.pi)({},J.Z0),{textComponent:V.Fragment});function tt(U){return function(B){return U(V.Children.toArray(B))}}function te(U,B){if(U===B)return!0;if(!U||!B)return!1;var G=Object.keys(U),Y=Object.keys(B),V=G.length;if(Y.length!==V)return!1;for(var Z=0;Z<V;Z++){var J=G[Z];if(U[J]!==B[J]||!Object.prototype.hasOwnProperty.call(B,J))return!1}return!0}}
function(U){function B(G){return U.exports=B=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(U){return U.__proto__||Object.getPrototypeOf(U)},U.exports.__esModule=!0,U.exports.default=U.exports,B(G)}U.exports=B,U.exports.__esModule=!0,U.exports.default=U.exports}
function(U,B,G){"use strict";G.d(B,{Gd:function(){return ts}});var Y=G(14156),V=G(5672),Z=G(96652),J=G(8297),X=G(753),Q=G(57919);let tt="00000000000000000000000000000000",te=4,tn=100;class tr{__init(){this._stack=[{}]}constructor(U,B=new X.s,G=te){this._version=G,tr.prototype.__init.call(this),this.getStackTop().scope=B,U&&this.bindClient(U)}isOlderThan(U){return this._version<U}bindClient(U){let B=this.getStackTop();B.client=U,U&&U.setupIntegrations&&U.setupIntegrations()}pushScope(){let U=X.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:U}),U}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(U){let B=this.pushScope();try{U(B)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(U,B){let G=Error("Sentry syntheticException");return this._lastEventId=this._withClient((Y,V)=>Y.captureException(U,{originalException:U,syntheticException:G,...B},V))||tt,this._lastEventId}captureMessage(U,B,G){let Y=Error(U);return this._lastEventId=this._withClient((V,Z)=>V.captureMessage(U,B,{originalException:U,syntheticException:Y,...G},Z))||tt,this._lastEventId}captureEvent(U,B){let G=this._withClient((G,Y)=>G.captureEvent(U,{...B},Y))||tt;return"transaction"!==U.type&&(this._lastEventId=G),G}lastEventId(){return this._lastEventId}addBreadcrumb(U,B){let{scope:G,client:Z}=this.getStackTop();if(!G||!Z)return;let{beforeBreadcrumb:J=null,maxBreadcrumbs:X=tn}=Z.getOptions&&Z.getOptions()||{};if(X<=0)return;let Q=(0,Y.yW)(),tt={timestamp:Q,...U},te=J?(0,V.Cf)(()=>J(tt,B)):tt;null!==te&&G.addBreadcrumb(te,X)}setUser(U){let B=this.getScope();B&&B.setUser(U)}setTags(U){let B=this.getScope();B&&B.setTags(U)}setExtras(U){let B=this.getScope();B&&B.setExtras(U)}setTag(U,B){let G=this.getScope();G&&G.setTag(U,B)}setExtra(U,B){let G=this.getScope();G&&G.setExtra(U,B)}setContext(U,B){let G=this.getScope();G&&G.setContext(U,B)}configureScope(U){let{scope:B,client:G}=this.getStackTop();B&&G&&U(B)}run(U){let B=ta(this);try{U(this)}finally{ta(B)}}getIntegration(U){let B=this.getClient();if(!B)return null;try{return B.getIntegration(U)}catch(B){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&V.kg.warn(`Cannot retrieve integration ${U.id} from the current Hub`),null}}startTransaction(U,B){return this._callExtensionMethod("startTransaction",U,B)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(U=!1){if(U)return this.endSession();this._sendSessionUpdate()}endSession(){let U=this.getStackTop(),B=U&&U.scope,G=B&&B.getSession();G&&(0,Q.RJ)(G),this._sendSessionUpdate(),B&&B.setSession()}startSession(U){let{scope:B,client:G}=this.getStackTop(),{release:Y,environment:V}=G&&G.getOptions()||{},{userAgent:J}=Z.n2.navigator||{},X=(0,Q.Hv)({release:Y,environment:V,...B&&{user:B.getUser()},...J&&{userAgent:J},...U});if(B){let U=B.getSession&&B.getSession();U&&"ok"===U.status&&(0,Q.CT)(U,{status:"exited"}),this.endSession(),B.setSession(X)}return X}shouldSendDefaultPii(){let U=this.getClient(),B=U&&U.getOptions();return!!(B&&B.sendDefaultPii)}_sendSessionUpdate(){let{scope:U,client:B}=this.getStackTop();if(!U)return;let G=U.getSession();G&&B&&B.captureSession&&B.captureSession(G)}_withClient(U){let{scope:B,client:G}=this.getStackTop();return G&&U(G,B)}_callExtensionMethod(U,...B){let G=ti(),Y=G.__SENTRY__;if(Y&&Y.extensions&&"function"==typeof Y.extensions[U])return Y.extensions[U].apply(this,B);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&V.kg.warn(`Extension method ${U} couldn't be found, doing nothing.`)}}function ti(){return Z.n2.__SENTRY__=Z.n2.__SENTRY__||{extensions:{},hub:void 0},Z.n2}function ta(U){let B=ti(),G=td(B);return tf(B,U),G}function ts(){let U=ti();return((!tc(U)||td(U).isOlderThan(te))&&tf(U,new tr),(0,J.KV)())?tu(U):td(U)}function tu(U){try{let B=ti().__SENTRY__,G=B&&B.extensions&&B.extensions.domain&&B.extensions.domain.active;if(!G)return td(U);if(!tc(G)||td(G).isOlderThan(te)){let B=td(U).getStackTop();tf(G,new tr(B.client,X.s.clone(B.scope)))}return td(G)}catch(B){return td(U)}}function tc(U){return!!(U&&U.__SENTRY__&&U.__SENTRY__.hub)}function td(U){return(0,Z.YO)("hub",()=>new tr,U)}function tf(U,B){if(!U)return!1;let G=U.__SENTRY__=U.__SENTRY__||{};return G.hub=B,!0}}
function(U){"use strict";var B,G,Y,V={DEBUG:!1,LIB_VERSION:"2.45.0"};if("undefined"==typeof window){var Z={hostname:""};B={navigator:{userAgent:""},document:{location:Z,referrer:""},screen:{width:0,height:0},location:Z}}else B=window;var J=Array.prototype,X=Function.prototype,Q=Object.prototype,tt=J.slice,te=Q.toString,tn=Q.hasOwnProperty,tr=B.console,ti=B.navigator,ta=B.document,ts=B.opera,tu=B.screen,tc=ti.userAgent,td=X.bind,tf=J.forEach,th=J.indexOf,tp=J.map,tg=Array.isArray,t_={},tm={trim:function(U){return U.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},tv={log:function(){if(V.DEBUG&&!tm.isUndefined(tr)&&tr)try{tr.log.apply(tr,arguments)}catch(U){tm.each(arguments,function(U){tr.log(U)})}},warn:function(){if(V.DEBUG&&!tm.isUndefined(tr)&&tr){var U=["Mixpanel warning:"].concat(tm.toArray(arguments));try{tr.warn.apply(tr,U)}catch(B){tm.each(U,function(U){tr.warn(U)})}}},error:function(){if(V.DEBUG&&!tm.isUndefined(tr)&&tr){var U=["Mixpanel error:"].concat(tm.toArray(arguments));try{tr.error.apply(tr,U)}catch(B){tm.each(U,function(U){tr.error(U)})}}},critical:function(){if(!tm.isUndefined(tr)&&tr){var U=["Mixpanel error:"].concat(tm.toArray(arguments));try{tr.error.apply(tr,U)}catch(B){tm.each(U,function(U){tr.error(U)})}}}},ty=function(U,B){return function(){return arguments[0]="["+B+"] "+arguments[0],U.apply(tv,arguments)}},tb=function(U){return{log:ty(tv.log,U),error:ty(tv.error,U),critical:ty(tv.critical,U)}};tm.bind=function(U,B){var G,Y;if(td&&U.bind===td)return td.apply(U,tt.call(arguments,1));if(!tm.isFunction(U))throw TypeError();return G=tt.call(arguments,2),Y=function(){if(!(this instanceof Y))return U.apply(B,G.concat(tt.call(arguments)));var V={};V.prototype=U.prototype;var Z=new V;V.prototype=null;var J=U.apply(Z,G.concat(tt.call(arguments)));return Object(J)===J?J:Z}},tm.each=function(U,B,G){if(null!=U){if(tf&&U.forEach===tf)U.forEach(B,G);else if(U.length===+U.length){for(var Y=0,V=U.length;Y<V;Y++)if(Y in U&&B.call(G,U[Y],Y,U)===t_)return}else for(var Z in U)if(tn.call(U,Z)&&B.call(G,U[Z],Z,U)===t_)return}},tm.extend=function(U){return tm.each(tt.call(arguments,1),function(B){for(var G in B)void 0!==B[G]&&(U[G]=B[G])}),U},tm.isArray=tg||function(U){return"[object Array]"===te.call(U)},tm.isFunction=function(U){try{return/^\s*\bfunction\b/.test(U)}catch(U){return!1}},tm.isArguments=function(U){return!!(U&&tn.call(U,"callee"))},tm.toArray=function(U){return U?U.toArray?U.toArray():tm.isArray(U)||tm.isArguments(U)?tt.call(U):tm.values(U):[]},tm.map=function(U,B,G){if(tp&&U.map===tp)return U.map(B,G);var Y=[];return tm.each(U,function(U){Y.push(B.call(G,U))}),Y},tm.keys=function(U){var B=[];return null===U||tm.each(U,function(U,G){B[B.length]=G}),B},tm.values=function(U){var B=[];return null===U||tm.each(U,function(U){B[B.length]=U}),B},tm.include=function(U,B){var G=!1;return null===U?G:th&&U.indexOf===th?-1!=U.indexOf(B):(tm.each(U,function(U){if(G||(G=U===B))return t_}),G)},tm.includes=function(U,B){return -1!==U.indexOf(B)},tm.inherit=function(U,B){return U.prototype=new B,U.prototype.constructor=U,U.superclass=B.prototype,U},tm.isObject=function(U){return U===Object(U)&&!tm.isArray(U)},tm.isEmptyObject=function(U){if(tm.isObject(U)){for(var B in U)if(tn.call(U,B))return!1;return!0}return!1},tm.isUndefined=function(U){return void 0===U},tm.isString=function(U){return"[object String]"==te.call(U)},tm.isDate=function(U){return"[object Date]"==te.call(U)},tm.isNumber=function(U){return"[object Number]"==te.call(U)},tm.isElement=function(U){return!!(U&&1===U.nodeType)},tm.encodeDates=function(U){return tm.each(U,function(B,G){tm.isDate(B)?U[G]=tm.formatDate(B):tm.isObject(B)&&(U[G]=tm.encodeDates(B))}),U},tm.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},tm.formatDate=function(U){function B(U){return U<10?"0"+U:U}return U.getUTCFullYear()+"-"+B(U.getUTCMonth()+1)+"-"+B(U.getUTCDate())+"T"+B(U.getUTCHours())+":"+B(U.getUTCMinutes())+":"+B(U.getUTCSeconds())},tm.strip_empty_properties=function(U){var B={};return tm.each(U,function(U,G){tm.isString(U)&&U.length>0&&(B[G]=U)}),B},tm.truncate=function(U,B){var G;return"string"==typeof U?G=U.slice(0,B):tm.isArray(U)?(G=[],tm.each(U,function(U){G.push(tm.truncate(U,B))})):tm.isObject(U)?(G={},tm.each(U,function(U,Y){G[Y]=tm.truncate(U,B)})):G=U,G},tm.JSONEncode=function(){return function(U){var B=function(U){var B=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,G={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return B.lastIndex=0,B.test(U)?'"'+U.replace(B,function(U){var B=G[U];return"string"==typeof B?B:"\\u"+("0000"+U.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+U+'"'},G=function(U,Y){var V="",Z=" ",J=0,X="",Q="",tt=0,tr=V,ti=[],ta=Y[U];switch(ta&&"object"==typeof ta&&"function"==typeof ta.toJSON&&(ta=ta.toJSON(U)),typeof ta){case"string":return B(ta);case"number":return isFinite(ta)?String(ta):"null";case"boolean":case"null":return String(ta);case"object":if(!ta)return"null";if(V+=Z,ti=[],"[object Array]"===te.apply(ta)){for(J=0,tt=ta.length;J<tt;J+=1)ti[J]=G(J,ta)||"null";return Q=0===ti.length?"[]":V?"[\n"+V+ti.join(",\n"+V)+"\n"+tr+"]":"["+ti.join(",")+"]",V=tr,Q}for(X in ta)tn.call(ta,X)&&(Q=G(X,ta))&&ti.push(B(X)+(V?": ":":")+Q);return Q=0===ti.length?"{}":V?"{"+ti.join(",")+tr+"}":"{"+ti.join(",")+"}",V=tr,Q}};return G("",{"":U})}}(),tm.JSONDecode=function(){var U,B,G,Y,V={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},Z=function(B){var Y=SyntaxError(B);throw Y.at=U,Y.text=G,Y},J=function(Y){return Y&&Y!==B&&Z("Expected '"+Y+"' instead of '"+B+"'"),B=G.charAt(U),U+=1,B},X=function(){var U,G="";for("-"===B&&(G="-",J("-"));B>="0"&&B<="9";)G+=B,J();if("."===B)for(G+=".";J()&&B>="0"&&B<="9";)G+=B;if("e"===B||"E"===B)for(G+=B,J(),("-"===B||"+"===B)&&(G+=B,J());B>="0"&&B<="9";)G+=B,J();if(isFinite(U=+G))return U;Z("Bad number")},Q=function(){var U,G,Y,X="";if('"'===B)for(;J();){if('"'===B)return J(),X;if("\\"===B){if(J(),"u"===B){for(G=0,Y=0;G<4&&isFinite(U=parseInt(J(),16));G+=1)Y=16*Y+U;X+=String.fromCharCode(Y)}else if("string"==typeof V[B])X+=V[B];else break}else X+=B}Z("Bad string")},tt=function(){for(;B&&B<=" ";)J()},te=function(){switch(B){case"t":return J("t"),J("r"),J("u"),J("e"),!0;case"f":return J("f"),J("a"),J("l"),J("s"),J("e"),!1;case"n":return J("n"),J("u"),J("l"),J("l"),null}Z('Unexpected "'+B+'"')},tn=function(){var U=[];if("["===B){if(J("["),tt(),"]"===B)return J("]"),U;for(;B;){if(U.push(Y()),tt(),"]"===B)return J("]"),U;J(","),tt()}}Z("Bad array")},tr=function(){var U,G={};if("{"===B){if(J("{"),tt(),"}"===B)return J("}"),G;for(;B;){if(U=Q(),tt(),J(":"),Object.hasOwnProperty.call(G,U)&&Z('Duplicate key "'+U+'"'),G[U]=Y(),tt(),"}"===B)return J("}"),G;J(","),tt()}}Z("Bad object")};return Y=function(){switch(tt(),B){case"{":return tr();case"[":return tn();case'"':return Q();case"-":return X();default:return B>="0"&&B<="9"?X():te()}},function(V){var J;return G=V,U=0,B=" ",J=Y(),tt(),B&&Z("Syntax error"),J}}(),tm.base64Encode=function(U){var B,G,Y,V,Z,J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",X=0,Q=0,tt="",te=[];if(!U)return U;U=tm.utf8Encode(U);do B=(Z=U.charCodeAt(X++)<<16|U.charCodeAt(X++)<<8|U.charCodeAt(X++))>>18&63,G=Z>>12&63,Y=Z>>6&63,V=63&Z,te[Q++]=J.charAt(B)+J.charAt(G)+J.charAt(Y)+J.charAt(V);while(X<U.length);switch(tt=te.join(""),U.length%3){case 1:tt=tt.slice(0,-2)+"==";break;case 2:tt=tt.slice(0,-1)+"="}return tt},tm.utf8Encode=function(U){U=(U+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");var B,G,Y,V="",Z=0;for(Y=0,B=G=0,Z=U.length;Y<Z;Y++){var J=U.charCodeAt(Y),X=null;J<128?G++:X=J>127&&J<2048?String.fromCharCode(J>>6|192,63&J|128):String.fromCharCode(J>>12|224,J>>6&63|128,63&J|128),null!==X&&(G>B&&(V+=U.substring(B,G)),V+=X,B=G=Y+1)}return G>B&&(V+=U.substring(B,U.length)),V},tm.UUID=function(){var U=function(){for(var U=1*new Date,B=0;U==1*new Date;)B++;return U.toString(16)+B.toString(16)},B=function(){return Math.random().toString(16).replace(".","")},G=function(){var U,B,G=tc,Y=[],V=0;function Z(U,B){var G,V=0;for(G=0;G<B.length;G++)V|=Y[G]<<8*G;return U^V}for(U=0;U<G.length;U++)B=G.charCodeAt(U),Y.unshift(255&B),Y.length>=4&&(V=Z(V,Y),Y=[]);return Y.length>0&&(V=Z(V,Y)),V.toString(16)};return function(){var Y=(tu.height*tu.width).toString(16);return U()+"-"+B()+"-"+G()+"-"+Y+"-"+U()}}();var tE=["ahrefsbot","baiduspider","bingbot","bingpreview","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];tm.isBlockedUA=function(U){var B;for(B=0,U=U.toLowerCase();B<tE.length;B++)if(-1!==U.indexOf(tE[B]))return!0;return!1},tm.HTTPBuildQuery=function(U,B){var G,Y,V=[];return tm.isUndefined(B)&&(B="&"),tm.each(U,function(U,B){G=encodeURIComponent(U.toString()),Y=encodeURIComponent(B),V[V.length]=Y+"="+G}),V.join(B)},tm.getQueryParam=function(U,B){var G="[\\?&]"+(B=B.replace(/[[]/,"\\[").replace(/[\]]/,"\\]"))+"=([^&#]*)",Y=new RegExp(G).exec(U);if(null===Y||Y&&"string"!=typeof Y[1]&&Y[1].length)return"";var V=Y[1];try{V=decodeURIComponent(V)}catch(U){tv.error("Skipping decoding for malformed query param: "+V)}return V.replace(/\+/g," ")},tm.cookie={get:function(U){for(var B=U+"=",G=ta.cookie.split(";"),Y=0;Y<G.length;Y++){for(var V=G[Y];" "==V.charAt(0);)V=V.substring(1,V.length);if(0===V.indexOf(B))return decodeURIComponent(V.substring(B.length,V.length))}return null},parse:function(U){var B;try{B=tm.JSONDecode(tm.cookie.get(U))||{}}catch(U){}return B},set_seconds:function(U,B,G,Y,V,Z,J){var X="",Q="",tt="";if(J)X="; domain="+J;else if(Y){var te=tR(ta.location.hostname);X=te?"; domain=."+te:""}if(G){var tn=new Date;tn.setTime(tn.getTime()+1e3*G),Q="; expires="+tn.toGMTString()}Z&&(V=!0,tt="; SameSite=None"),V&&(tt+="; secure"),ta.cookie=U+"="+encodeURIComponent(B)+Q+"; path=/"+X+tt},set:function(U,B,G,Y,V,Z,J){var X="",Q="",tt="";if(J)X="; domain="+J;else if(Y){var te=tR(ta.location.hostname);X=te?"; domain=."+te:""}if(G){var tn=new Date;tn.setTime(tn.getTime()+864e5*G),Q="; expires="+tn.toGMTString()}Z&&(V=!0,tt="; SameSite=None"),V&&(tt+="; secure");var tr=U+"="+encodeURIComponent(B)+Q+"; path=/"+X+tt;return ta.cookie=tr,tr},remove:function(U,B,G){tm.cookie.set(U,"",-1,B,!1,!1,G)}};var tw=null,tS=function(U,B){if(null!==tw&&!B)return tw;var G=!0;try{U=U||window.localStorage;var Y="__mplss_"+tk(8),V="xyz";U.setItem(Y,V),U.getItem(Y)!==V&&(G=!1),U.removeItem(Y)}catch(U){G=!1}return tw=G,G};tm.localStorage={is_supported:function(U){var B=tS(null,U);return B||tv.error("localStorage unsupported; falling back to cookie store"),B},error:function(U){tv.error("localStorage error: "+U)},get:function(U){try{return window.localStorage.getItem(U)}catch(U){tm.localStorage.error(U)}return null},parse:function(U){try{return tm.JSONDecode(tm.localStorage.get(U))||{}}catch(U){}return null},set:function(U,B){try{window.localStorage.setItem(U,B)}catch(U){tm.localStorage.error(U)}},remove:function(U){try{window.localStorage.removeItem(U)}catch(U){tm.localStorage.error(U)}}},tm.register_event=function(){var U=function(U,G,Y,V,Z){if(!U){tv.error("No valid element provided to register_event");return}if(U.addEventListener&&!V)U.addEventListener(G,Y,!!Z);else{var J="on"+G,X=U[J];U[J]=B(U,Y,X)}};function B(U,B,Y){return function(V){if(V=V||G(window.event)){var Z,J,X=!0;return tm.isFunction(Y)&&(Z=Y(V)),J=B.call(U,V),(!1===Z||!1===J)&&(X=!1),X}}}function G(U){return U&&(U.preventDefault=G.preventDefault,U.stopPropagation=G.stopPropagation),U}return G.preventDefault=function(){this.returnValue=!1},G.stopPropagation=function(){this.cancelBubble=!0},U}();var tx=RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');tm.dom_query=function(){function U(U){return U.all?U.all:U.getElementsByTagName("*")}var B=/[\t\r\n]/g;function G(U,G){var Y=" "+G+" ";return(" "+U.className+" ").replace(B," ").indexOf(Y)>=0}function Y(B){if(!ta.getElementsByTagName)return[];var Y=B.split(" "),V=[ta];for(ts=0;ts<Y.length;ts++){if((tt=Y[ts].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){tn=(te=tt.split("#"))[0];var Z=te[1],J=ta.getElementById(Z);if(!J||tn&&J.nodeName.toLowerCase()!=tn)return[];V=[J];continue}if(tt.indexOf(".")>-1){tn=(te=tt.split("."))[0];var X=te[1];for(tn||(tn="*"),tr=[],ti=0,tu=0;tu<V.length;tu++)for(tc=0,td="*"==tn?U(V[tu]):V[tu].getElementsByTagName(tn);tc<td.length;tc++)tr[ti++]=td[tc];for(tu=0,V=[],tf=0;tu<tr.length;tu++)tr[tu].className&&tm.isString(tr[tu].className)&&G(tr[tu],X)&&(V[tf++]=tr[tu]);continue}var Q=tt.match(tx);if(Q){tn=Q[1];var tt,te,tn,tr,ti,ts,tu,tc,td,tf,th,tp=Q[2],tg=Q[3],t_=Q[4];for(tn||(tn="*"),tr=[],ti=0,tu=0;tu<V.length;tu++)for(tc=0,td="*"==tn?U(V[tu]):V[tu].getElementsByTagName(tn);tc<td.length;tc++)tr[ti++]=td[tc];switch(V=[],tf=0,tg){case"=":th=function(U){return U.getAttribute(tp)==t_};break;case"~":th=function(U){return U.getAttribute(tp).match(RegExp("\\b"+t_+"\\b"))};break;case"|":th=function(U){return U.getAttribute(tp).match(RegExp("^"+t_+"-?"))};break;case"^":th=function(U){return 0===U.getAttribute(tp).indexOf(t_)};break;case"$":th=function(U){return U.getAttribute(tp).lastIndexOf(t_)==U.getAttribute(tp).length-t_.length};break;case"*":th=function(U){return U.getAttribute(tp).indexOf(t_)>-1};break;default:th=function(U){return U.getAttribute(tp)}}for(tu=0,V=[],tf=0;tu<tr.length;tu++)th(tr[tu])&&(V[tf++]=tr[tu]);continue}for(tu=0,tn=tt,tr=[],ti=0;tu<V.length;tu++)for(tc=0,td=V[tu].getElementsByTagName(tn);tc<td.length;tc++)tr[ti++]=td[tc];V=tr}return V}return function(U){return tm.isElement(U)?[U]:tm.isObject(U)&&!tm.isUndefined(U.length)?U:Y.call(this,U)}}(),tm.info={campaignParams:function(){var U="utm_source utm_medium utm_campaign utm_content utm_term".split(" "),B="",G={};return tm.each(U,function(U){(B=tm.getQueryParam(ta.URL,U)).length&&(G[U]=B)}),G},searchEngine:function(U){return 0===U.search("https?://(.*)google.([^/?]*)")?"google":0===U.search("https?://(.*)bing.com")?"bing":0===U.search("https?://(.*)yahoo.com")?"yahoo":0===U.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(U){var B=tm.info.searchEngine(U),G="yahoo"!=B?"q":"p",Y={};if(null!==B){Y.$search_engine=B;var V=tm.getQueryParam(U,G);V.length&&(Y.mp_keyword=V)}return Y},browser:function(U,B,G){if(B=B||"",G||tm.includes(U," OPR/"))return tm.includes(U,"Mini")?"Opera Mini":"Opera";if(/(BlackBerry|PlayBook|BB10)/i.test(U))return"BlackBerry";if(tm.includes(U,"IEMobile")||tm.includes(U,"WPDesktop"))return"Internet Explorer Mobile";if(tm.includes(U,"SamsungBrowser/"))return"Samsung Internet";if(tm.includes(U,"Edge")||tm.includes(U,"Edg/"))return"Microsoft Edge";if(tm.includes(U,"FBIOS"))return"Facebook Mobile";if(tm.includes(U,"Chrome"))return"Chrome";else if(tm.includes(U,"CriOS"))return"Chrome iOS";else if(tm.includes(U,"UCWEB")||tm.includes(U,"UCBrowser"))return"UC Browser";else if(tm.includes(U,"FxiOS"))return"Firefox iOS";else if(tm.includes(B,"Apple"))return tm.includes(U,"Mobile")?"Mobile Safari":"Safari";else if(tm.includes(U,"Android"))return"Android Mobile";else if(tm.includes(U,"Konqueror"))return"Konqueror";else if(tm.includes(U,"Firefox"))return"Firefox";else if(tm.includes(U,"MSIE")||tm.includes(U,"Trident/"))return"Internet Explorer";else if(tm.includes(U,"Gecko"))return"Mozilla";else return""},browserVersion:function(U,B,G){var Y={"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+)?)/}[tm.info.browser(U,B,G)];if(void 0===Y)return null;var V=U.match(Y);return V?parseFloat(V[V.length-2]):null},os:function(){var U=tc;if(/Windows/i.test(U))return/Phone/.test(U)||/WPDesktop/.test(U)?"Windows Phone":"Windows";if(/(iPhone|iPad|iPod)/.test(U))return"iOS";if(/Android/.test(U))return"Android";if(/(BlackBerry|PlayBook|BB10)/i.test(U))return"BlackBerry";if(/Mac/i.test(U))return"Mac OS X";if(/Linux/.test(U))return"Linux";if(/CrOS/.test(U))return"Chrome OS";else return""},device:function(U){return/Windows Phone/i.test(U)||/WPDesktop/.test(U)?"Windows Phone":/iPad/.test(U)?"iPad":/iPod/.test(U)?"iPod Touch":/iPhone/.test(U)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(U)?"BlackBerry":/Android/.test(U)?"Android":""},referringDomain:function(U){var B=U.split("/");return B.length>=3?B[2]:""},properties:function(){return tm.extend(tm.strip_empty_properties({$os:tm.info.os(),$browser:tm.info.browser(tc,ti.vendor,ts),$referrer:ta.referrer,$referring_domain:tm.info.referringDomain(ta.referrer),$device:tm.info.device(tc)}),{$current_url:B.location.href,$browser_version:tm.info.browserVersion(tc,ti.vendor,ts),$screen_height:tu.height,$screen_width:tu.width,mp_lib:"web",$lib_version:V.LIB_VERSION,$insert_id:tk(),time:tm.timestamp()/1e3})},people_properties:function(){return tm.extend(tm.strip_empty_properties({$os:tm.info.os(),$browser:tm.info.browser(tc,ti.vendor,ts)}),{$browser_version:tm.info.browserVersion(tc,ti.vendor,ts)})},pageviewInfo:function(U){return tm.strip_empty_properties({mp_page:U,mp_referrer:ta.referrer,mp_browser:tm.info.browser(tc,ti.vendor,ts),mp_platform:tm.info.os()})}};var tk=function(U){var B=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return U?B.substring(0,U):B},tT=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,tC=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,tR=function(U){var B=tC,G=U.split("."),Y=G[G.length-1];(Y.length>4||"com"===Y||"org"===Y)&&(B=tT);var V=U.match(B);return V?V[0]:""},tA=null,tO=null;"undefined"!=typeof JSON&&(tA=JSON.stringify,tO=JSON.parse),tA=tA||tm.JSONEncode,tO=tO||tm.JSONDecode,tm.toArray=tm.toArray,tm.isObject=tm.isObject,tm.JSONEncode=tm.JSONEncode,tm.JSONDecode=tm.JSONDecode,tm.isBlockedUA=tm.isBlockedUA,tm.isEmptyObject=tm.isEmptyObject,tm.info=tm.info,tm.info.device=tm.info.device,tm.info.browser=tm.info.browser,tm.info.browserVersion=tm.info.browserVersion,tm.info.properties=tm.info.properties;var tI=function(){};tI.prototype.create_properties=function(){},tI.prototype.event_handler=function(){},tI.prototype.after_track_handler=function(){},tI.prototype.init=function(U){return this.mp=U,this},tI.prototype.track=function(U,B,G,Y){var V=this,Z=tm.dom_query(U);if(0===Z.length){tv.error("The DOM query ("+U+") returned 0 elements");return}return tm.each(Z,function(U){tm.register_event(U,this.override_event,function(U){var Z={},J=V.create_properties(G,this),X=V.mp.get_config("track_links_timeout");V.event_handler(U,this,Z),window.setTimeout(V.track_callback(Y,J,Z,!0),X),V.mp.track(B,J,V.track_callback(Y,J,Z))})},this),!0},tI.prototype.track_callback=function(U,B,G,Y){Y=Y||!1;var V=this;return function(){!G.callback_fired&&(G.callback_fired=!0,U&&!1===U(Y,B)||V.after_track_handler(B,G,Y))}},tI.prototype.create_properties=function(U,B){return"function"==typeof U?U(B):tm.extend({},U)};var tN=function(){this.override_event="click"};tm.inherit(tN,tI),tN.prototype.create_properties=function(U,B){var G=tN.superclass.create_properties.apply(this,arguments);return B.href&&(G.url=B.href),G},tN.prototype.event_handler=function(U,B,G){G.new_tab=2===U.which||U.metaKey||U.ctrlKey||"_blank"===B.target,G.href=B.href,G.new_tab||U.preventDefault()},tN.prototype.after_track_handler=function(U,B){B.new_tab||setTimeout(function(){window.location=B.href},0)};var tD=function(){this.override_event="submit"};tm.inherit(tD,tI),tD.prototype.event_handler=function(U,B,G){G.element=B,U.preventDefault()},tD.prototype.after_track_handler=function(U,B){setTimeout(function(){B.element.submit()},0)};var tL=tb("lock"),tP=function(U,B){B=B||{},this.storageKey=U,this.storage=B.storage||window.localStorage,this.pollIntervalMS=B.pollIntervalMS||100,this.timeoutMS=B.timeoutMS||2e3};tP.prototype.withLock=function(U,B,G){G||"function"==typeof B||(G=B,B=null);var Y=G||new Date().getTime()+"|"+Math.random(),V=new Date().getTime(),Z=this.storageKey,J=this.pollIntervalMS,X=this.timeoutMS,Q=this.storage,tt=Z+":X",te=Z+":Y",tn=Z+":Z",tr=function(U){B&&B(U)},ti=function(U){if(new Date().getTime()-V>X){tL.error("Timeout waiting for mutex on "+Z+"; clearing lock. ["+Y+"]"),Q.removeItem(tn),Q.removeItem(te),tu();return}setTimeout(function(){try{U()}catch(U){tr(U)}},J*(Math.random()+.1))},ta=function(U,B){U()?B():ti(function(){ta(U,B)})},ts=function(){var U=Q.getItem(te);if(U&&U!==Y)return!1;if(Q.setItem(te,Y),Q.getItem(te)===Y)return!0;if(!tS(Q,!0))throw Error("localStorage support dropped while acquiring lock");return!1},tu=function(){Q.setItem(tt,Y),ta(ts,function(){if(Q.getItem(tt)===Y){tc();return}ti(function(){if(Q.getItem(te)!==Y){tu();return}ta(function(){return!Q.getItem(tn)},tc)})})},tc=function(){Q.setItem(tn,"1");try{U()}finally{Q.removeItem(tn),Q.getItem(te)===Y&&Q.removeItem(te),Q.getItem(tt)===Y&&Q.removeItem(tt)}};try{if(tS(Q,!0))tu();else throw Error("localStorage support check failed")}catch(U){tr(U)}};var tM=tb("batch"),tU=function(U,B){B=B||{},this.storageKey=U,this.storage=B.storage||window.localStorage,this.reportError=B.errorReporter||tm.bind(tM.error,tM),this.lock=new tP(U,{storage:this.storage}),this.pid=B.pid||null,this.memQueue=[]};tU.prototype.enqueue=function(U,B,G){var Y={id:tk(),flushAfter:new Date().getTime()+2*B,payload:U};this.lock.withLock(tm.bind(function(){var B;try{var V=this.readFromStorage();V.push(Y),(B=this.saveToStorage(V))&&this.memQueue.push(Y)}catch(G){this.reportError("Error enqueueing item",U),B=!1}G&&G(B)},this),tm.bind(function(U){this.reportError("Error acquiring storage lock",U),G&&G(!1)},this),this.pid)},tU.prototype.fillBatch=function(U){var B=this.memQueue.slice(0,U);if(B.length<U){var G=this.readFromStorage();if(G.length){var Y={};tm.each(B,function(U){Y[U.id]=!0});for(var V=0;V<G.length;V++){var Z=G[V];if(new Date().getTime()>Z.flushAfter&&!Y[Z.id]&&(Z.orphaned=!0,B.push(Z),B.length>=U))break}}}return B};var tB=function(U,B){var G=[];return tm.each(U,function(U){U.id&&!B[U.id]&&G.push(U)}),G};tU.prototype.removeItemsByID=function(U,B){var G={};tm.each(U,function(U){G[U]=!0}),this.memQueue=tB(this.memQueue,G);var Y=tm.bind(function(){var B;try{var Y=this.readFromStorage();if(Y=tB(Y,G),B=this.saveToStorage(Y)){Y=this.readFromStorage();for(var V=0;V<Y.length;V++){var Z=Y[V];if(Z.id&&G[Z.id])return this.reportError("Item not removed from storage"),!1}}}catch(G){this.reportError("Error removing items",U),B=!1}return B},this);this.lock.withLock(function(){var U=Y();B&&B(U)},tm.bind(function(U){var G=!1;if(this.reportError("Error acquiring storage lock",U),!tS(this.storage,!0)&&!(G=Y()))try{this.storage.removeItem(this.storageKey)}catch(U){this.reportError("Error clearing queue",U)}B&&B(G)},this),this.pid)};var tj=function(U,B){var G=[];return tm.each(U,function(U){var Y=U.id;if(Y in B){var V=B[Y];null!==V&&(U.payload=V,G.push(U))}else G.push(U)}),G};tU.prototype.updatePayloads=function(U,B){this.memQueue=tj(this.memQueue,U),this.lock.withLock(tm.bind(function(){var G;try{var Y=this.readFromStorage();Y=tj(Y,U),G=this.saveToStorage(Y)}catch(B){this.reportError("Error updating items",U),G=!1}B&&B(G)},this),tm.bind(function(U){this.reportError("Error acquiring storage lock",U),B&&B(!1)},this),this.pid)},tU.prototype.readFromStorage=function(){var U;try{(U=this.storage.getItem(this.storageKey))&&(U=tO(U),tm.isArray(U)||(this.reportError("Invalid storage entry:",U),U=null))}catch(B){this.reportError("Error retrieving queue",B),U=null}return U||[]},tU.prototype.saveToStorage=function(U){try{return this.storage.setItem(this.storageKey,tA(U)),!0}catch(U){return this.reportError("Error saving queue",U),!1}},tU.prototype.clear=function(){this.memQueue=[],this.storage.removeItem(this.storageKey)};var tG=6e5,tF=tb("batch"),tH=function(U,B){this.errorReporter=B.errorReporter,this.queue=new tU(U,{errorReporter:tm.bind(this.reportError,this),storage:B.storage}),this.libConfig=B.libConfig,this.sendRequest=B.sendRequestFunc,this.beforeSendHook=B.beforeSendHook,this.stopAllBatching=B.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0};tH.prototype.enqueue=function(U,B){this.queue.enqueue(U,this.flushInterval,B)},tH.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},tH.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},tH.prototype.clear=function(){this.queue.clear()},tH.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},tH.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},tH.prototype.scheduleFlush=function(U){this.flushInterval=U,this.stopped||(this.timeoutID=setTimeout(tm.bind(this.flush,this),this.flushInterval))},tH.prototype.flush=function(U){try{if(this.requestInProgress){tF.log("Flush: Request already in progress");return}U=U||{};var B=this.libConfig.batch_request_timeout_ms,G=new Date().getTime(),Y=this.batchSize,V=this.queue.fillBatch(Y),Z=[],J={};if(tm.each(V,function(U){var B=U.payload;this.beforeSendHook&&!U.orphaned&&(B=this.beforeSendHook(B)),B&&Z.push(B),J[U.id]=B},this),Z.length<1){this.resetFlush();return}this.requestInProgress=!0;var X=tm.bind(function(Z){this.requestInProgress=!1;try{var X=!1;if(U.unloading)this.queue.updatePayloads(J);else if(tm.isObject(Z)&&"timeout"===Z.error&&new Date().getTime()-G>=B)this.reportError("Network timeout; retrying"),this.flush();else if(tm.isObject(Z)&&Z.xhr_req&&(Z.xhr_req.status>=500||429===Z.xhr_req.status||"timeout"===Z.error)){var Q=2*this.flushInterval,tt=Z.xhr_req.responseHeaders;if(tt){var te=tt["Retry-After"];te&&(Q=1e3*parseInt(te,10)||Q)}Q=Math.min(tG,Q),this.reportError("Error; retry in "+Q+" ms"),this.scheduleFlush(Q)}else if(tm.isObject(Z)&&Z.xhr_req&&413===Z.xhr_req.status){if(V.length>1){var tn=Math.max(1,Math.floor(Y/2));this.batchSize=Math.min(this.batchSize,tn,V.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",V),this.resetBatchSize(),X=!0}else X=!0;X&&this.queue.removeItemsByID(tm.map(V,function(U){return U.id}),tm.bind(function(U){U?(this.consecutiveRemovalFailures=0,this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())},this))}catch(U){this.reportError("Error handling API response",U),this.resetFlush()}},this),Q={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:B};U.unloading&&(Q.transport="sendBeacon"),tF.log("MIXPANEL REQUEST:",Z),this.sendRequest(Z,Q,X)}catch(U){this.reportError("Error flushing request queue",U),this.resetFlush()}},tH.prototype.reportError=function(U,B){if(tF.error.apply(tF.error,arguments),this.errorReporter)try{B instanceof Error||(B=Error(U)),this.errorReporter(U,B)}catch(U){tF.error(U)}};var tz="__mp_opt_in_out_";function t$(U,B){t3(!0,U,B)}function tq(U,B){t3(!1,U,B)}function tY(U,B){return"1"===t0(U,B)}function tV(U,B){if(t5(B))return tv.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 G="0"===t0(U,B);return G&&tv.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),G}function tW(U){return t6(U,function(U){return this.get_config(U)})}function tZ(U){return t6(U,function(U){return this._get_config(U)})}function tK(U){return t6(U,function(U){return this._get_config(U)})}function tJ(U,B){tX(B=B||{}).remove(tQ(U,B),!!B.crossSubdomainCookie,B.cookieDomain)}function tX(U){return"localStorage"===(U=U||{}).persistenceType?tm.localStorage:tm.cookie}function tQ(U,B){return((B=B||{}).persistencePrefix||tz)+U}function t0(U,B){return tX(B).get(tQ(U,B))}function t5(U){if(U&&U.ignoreDnt)return!1;var G=U&&U.window||B,Y=G.navigator||{},V=!1;return tm.each([Y.doNotTrack,Y.msDoNotTrack,G.doNotTrack],function(U){tm.includes([!0,1,"1","yes"],U)&&(V=!0)}),V}function t3(U,B,G){if(!tm.isString(B)||!B.length){tv.error("gdpr."+(U?"optIn":"optOut")+" called with an invalid token");return}tX(G=G||{}).set(tQ(B,G),U?1:0,tm.isNumber(G.cookieExpiration)?G.cookieExpiration:null,!!G.crossSubdomainCookie,!!G.secureCookie,!!G.crossSiteCookie,G.cookieDomain),G.track&&U&&G.track(G.trackEventName||"$opt_in",G.trackProperties,{send_immediately:!0})}function t6(U,B){return function(){var G=!1;try{var Y=B.call(this,"token"),V=B.call(this,"ignore_dnt"),Z=B.call(this,"opt_out_tracking_persistence_type"),J=B.call(this,"opt_out_tracking_cookie_prefix"),X=B.call(this,"window");Y&&(G=tV(Y,{ignoreDnt:V,persistenceType:Z,persistencePrefix:J,window:X}))}catch(U){tv.error("Unexpected error when checking tracking opt-out status: "+U)}if(!G)return U.apply(this,arguments);var Q=arguments[arguments.length-1];"function"==typeof Q&&Q(0)}}var t4="$set",t8="$set_once",t7="$unset",t9="$add",et="$append",ee="$union",en="$remove",er="$delete",ei={set_action:function(U,B){var G={},Y={};return tm.isObject(U)?tm.each(U,function(U,B){this._is_reserved_property(B)||(Y[B]=U)},this):Y[U]=B,G[t4]=Y,G},unset_action:function(U){var B={},G=[];return tm.isArray(U)||(U=[U]),tm.each(U,function(U){this._is_reserved_property(U)||G.push(U)},this),B[t7]=G,B},set_once_action:function(U,B){var G={},Y={};return tm.isObject(U)?tm.each(U,function(U,B){this._is_reserved_property(B)||(Y[B]=U)},this):Y[U]=B,G[t8]=Y,G},union_action:function(U,B){var G={},Y={};return tm.isObject(U)?tm.each(U,function(U,B){this._is_reserved_property(B)||(Y[B]=tm.isArray(U)?U:[U])},this):Y[U]=tm.isArray(B)?B:[B],G[ee]=Y,G},append_action:function(U,B){var G={},Y={};return tm.isObject(U)?tm.each(U,function(U,B){this._is_reserved_property(B)||(Y[B]=U)},this):Y[U]=B,G[et]=Y,G},remove_action:function(U,B){var G={},Y={};return tm.isObject(U)?tm.each(U,function(U,B){this._is_reserved_property(B)||(Y[B]=U)},this):Y[U]=B,G[en]=Y,G},delete_action:function(){var U={};return U[er]="",U}},eo=function(){};tm.extend(eo.prototype,ei),eo.prototype._init=function(U,B,G){this._mixpanel=U,this._group_key=B,this._group_id=G},eo.prototype.set=tK(function(U,B,G){var Y=this.set_action(U,B);return tm.isObject(U)&&(G=B),this._send_request(Y,G)}),eo.prototype.set_once=tK(function(U,B,G){var Y=this.set_once_action(U,B);return tm.isObject(U)&&(G=B),this._send_request(Y,G)}),eo.prototype.unset=tK(function(U,B){var G=this.unset_action(U);return this._send_request(G,B)}),eo.prototype.union=tK(function(U,B,G){tm.isObject(U)&&(G=B);var Y=this.union_action(U,B);return this._send_request(Y,G)}),eo.prototype.delete=tK(function(U){var B=this.delete_action();return this._send_request(B,U)}),eo.prototype.remove=tK(function(U,B,G){var Y=this.remove_action(U,B);return this._send_request(Y,G)}),eo.prototype._send_request=function(U,B){U.$group_key=this._group_key,U.$group_id=this._group_id,U.$token=this._get_config("token");var G=tm.encodeDates(U);return this._mixpanel._track_or_batch({type:"groups",data:G,endpoint:this._get_config("api_host")+"/groups/",batcher:this._mixpanel.request_batchers.groups},B)},eo.prototype._is_reserved_property=function(U){return"$group_key"===U||"$group_id"===U},eo.prototype._get_config=function(U){return this._mixpanel.get_config(U)},eo.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},eo.prototype.remove=eo.prototype.remove,eo.prototype.set=eo.prototype.set,eo.prototype.set_once=eo.prototype.set_once,eo.prototype.union=eo.prototype.union,eo.prototype.unset=eo.prototype.unset,eo.prototype.toString=eo.prototype.toString;var ea=function(){};tm.extend(ea.prototype,ei),ea.prototype._init=function(U){this._mixpanel=U},ea.prototype.set=tZ(function(U,B,G){var Y=this.set_action(U,B);return tm.isObject(U)&&(G=B),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),Y[t4]=tm.extend({},tm.info.people_properties(),this._mixpanel.persistence.get_referrer_info(),Y[t4]),this._send_request(Y,G)}),ea.prototype.set_once=tZ(function(U,B,G){var Y=this.set_once_action(U,B);return tm.isObject(U)&&(G=B),this._send_request(Y,G)}),ea.prototype.unset=tZ(function(U,B){var G=this.unset_action(U);return this._send_request(G,B)}),ea.prototype.increment=tZ(function(U,B,G){var Y={},V={};return tm.isObject(U)?(tm.each(U,function(U,B){if(!this._is_reserved_property(B)){if(isNaN(parseFloat(U))){tv.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}V[B]=U}},this),G=B):(tm.isUndefined(B)&&(B=1),V[U]=B),Y[t9]=V,this._send_request(Y,G)}),ea.prototype.append=tZ(function(U,B,G){tm.isObject(U)&&(G=B);var Y=this.append_action(U,B);return this._send_request(Y,G)}),ea.prototype.remove=tZ(function(U,B,G){tm.isObject(U)&&(G=B);var Y=this.remove_action(U,B);return this._send_request(Y,G)}),ea.prototype.union=tZ(function(U,B,G){tm.isObject(U)&&(G=B);var Y=this.union_action(U,B);return this._send_request(Y,G)}),ea.prototype.track_charge=tZ(function(U,B,G){if(!tm.isNumber(U)&&isNaN(U=parseFloat(U))){tv.error("Invalid value passed to mixpanel.people.track_charge - must be a number");return}return this.append("$transactions",tm.extend({$amount:U},B),G)}),ea.prototype.clear_charges=function(U){return this.set("$transactions",[],U)},ea.prototype.delete_user=function(){if(!this._identify_called()){tv.error("mixpanel.people.delete_user() requires you to call identify() first");return}var U={$delete:this._mixpanel.get_distinct_id()};return this._send_request(U)},ea.prototype.toString=function(){return this._mixpanel.toString()+".people"},ea.prototype._send_request=function(U,B){U.$token=this._get_config("token"),U.$distinct_id=this._mixpanel.get_distinct_id();var G=this._mixpanel.get_property("$device_id"),Y=this._mixpanel.get_property("$user_id"),V=this._mixpanel.get_property("$had_persisted_distinct_id");G&&(U.$device_id=G),Y&&(U.$user_id=Y),V&&(U.$had_persisted_distinct_id=V);var Z=tm.encodeDates(U);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:Z,endpoint:this._get_config("api_host")+"/engage/",batcher:this._mixpanel.request_batchers.people},B):(this._enqueue(U),tm.isUndefined(B)||B(this._get_config("verbose")?{status:-1,error:null}:-1),tm.truncate(Z,255))},ea.prototype._get_config=function(U){return this._mixpanel.get_config(U)},ea.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},ea.prototype._enqueue=function(U){t4 in U?this._mixpanel.persistence._add_to_people_queue(t4,U):t8 in U?this._mixpanel.persistence._add_to_people_queue(t8,U):t7 in U?this._mixpanel.persistence._add_to_people_queue(t7,U):t9 in U?this._mixpanel.persistence._add_to_people_queue(t9,U):et in U?this._mixpanel.persistence._add_to_people_queue(et,U):en in U?this._mixpanel.persistence._add_to_people_queue(en,U):ee in U?this._mixpanel.persistence._add_to_people_queue(ee,U):tv.error("Invalid call to _enqueue():",U)},ea.prototype._flush_one_queue=function(U,B,G,Y){var V=this,Z=tm.extend({},this._mixpanel.persistence._get_queue(U)),J=Z;!tm.isUndefined(Z)&&tm.isObject(Z)&&!tm.isEmptyObject(Z)&&(V._mixpanel.persistence._pop_from_people_queue(U,Z),Y&&(J=Y(Z)),B.call(V,J,function(B,Y){0===B&&V._mixpanel.persistence._add_to_people_queue(U,Z),tm.isUndefined(G)||G(B,Y)}))},ea.prototype._flush=function(U,B,G,Y,V,Z,J){var X=this,Q=this._mixpanel.persistence._get_queue(et),tt=this._mixpanel.persistence._get_queue(en);if(this._flush_one_queue(t4,this.set,U),this._flush_one_queue(t8,this.set_once,Y),this._flush_one_queue(t7,this.unset,Z,function(U){return tm.keys(U)}),this._flush_one_queue(t9,this.increment,B),this._flush_one_queue(ee,this.union,V),!tm.isUndefined(Q)&&tm.isArray(Q)&&Q.length){for(var te,tn=function(U,B){0===U&&X._mixpanel.persistence._add_to_people_queue(et,te),tm.isUndefined(G)||G(U,B)},tr=Q.length-1;tr>=0;tr--)te=Q.pop(),tm.isEmptyObject(te)||X.append(te,tn);X._mixpanel.persistence.save()}if(!tm.isUndefined(tt)&&tm.isArray(tt)&&tt.length){for(var ti,ta=function(U,B){0===U&&X._mixpanel.persistence._add_to_people_queue(en,ti),tm.isUndefined(J)||J(U,B)},ts=tt.length-1;ts>=0;ts--)ti=tt.pop(),tm.isEmptyObject(ti)||X.remove(ti,ta);X._mixpanel.persistence.save()}},ea.prototype._is_reserved_property=function(U){return"$distinct_id"===U||"$token"===U||"$device_id"===U||"$user_id"===U||"$had_persisted_distinct_id"===U},ea.prototype.set=ea.prototype.set,ea.prototype.set_once=ea.prototype.set_once,ea.prototype.unset=ea.prototype.unset,ea.prototype.increment=ea.prototype.increment,ea.prototype.append=ea.prototype.append,ea.prototype.remove=ea.prototype.remove,ea.prototype.union=ea.prototype.union,ea.prototype.track_charge=ea.prototype.track_charge,ea.prototype.clear_charges=ea.prototype.clear_charges,ea.prototype.delete_user=ea.prototype.delete_user,ea.prototype.toString=ea.prototype.toString;var es="__mps",eu="__mpso",ec="__mpus",ed="__mpa",ef="__mpap",eh="__mpr",ep="__mpu",eg="$people_distinct_id",e_="__alias",em="__timers",ey=[es,eu,ec,ed,ef,eh,ep,eg,e_,em],eb=function(U){this.props={},this.campaign_params_saved=!1,U.persistence_name?this.name="mp_"+U.persistence_name:this.name="mp_"+U.token+"_mixpanel";var B=U.persistence;"cookie"!==B&&"localStorage"!==B&&(tv.critical("Unknown persistence type "+B+"; falling back to cookie"),B=U.persistence="cookie"),"localStorage"===B&&tm.localStorage.is_supported()?this.storage=tm.localStorage:this.storage=tm.cookie,this.load(),this.update_config(U),this.upgrade(U),this.save()};eb.prototype.properties=function(){var U={};return tm.each(this.props,function(B,G){tm.include(ey,G)||(U[G]=B)}),U},eb.prototype.load=function(){if(!this.disabled){var U=this.storage.parse(this.name);U&&(this.props=tm.extend({},U))}},eb.prototype.upgrade=function(U){var B,G,Y=U.upgrade;Y&&(B="mp_super_properties","string"==typeof Y&&(B=Y),G=this.storage.parse(B),this.storage.remove(B),this.storage.remove(B,!0),G&&(this.props=tm.extend(this.props,G.all,G.events))),!U.cookie_name&&"mixpanel"!==U.name&&(B="mp_"+U.token+"_"+U.name,(G=this.storage.parse(B))&&(this.storage.remove(B),this.storage.remove(B,!0),this.register_once(G))),this.storage===tm.localStorage&&(G=tm.cookie.parse(this.name),tm.cookie.remove(this.name),tm.cookie.remove(this.name,!0),G&&this.register_once(G))},eb.prototype.save=function(){this.disabled||this.storage.set(this.name,tm.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},eb.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},eb.prototype.clear=function(){this.remove(),this.props={}},eb.prototype.register_once=function(U,B,G){return!!tm.isObject(U)&&(void 0===B&&(B="None"),this.expire_days=void 0===G?this.default_expiry:G,tm.each(U,function(U,G){this.props.hasOwnProperty(G)&&this.props[G]!==B||(this.props[G]=U)},this),this.save(),!0)},eb.prototype.register=function(U,B){return!!tm.isObject(U)&&(this.expire_days=void 0===B?this.default_expiry:B,tm.extend(this.props,U),this.save(),!0)},eb.prototype.unregister=function(U){U in this.props&&(delete this.props[U],this.save())},eb.prototype.update_campaign_params=function(){this.campaign_params_saved||(this.register_once(tm.info.campaignParams()),this.campaign_params_saved=!0)},eb.prototype.update_search_keyword=function(U){this.register(tm.info.searchInfo(U))},eb.prototype.update_referrer_info=function(U){this.register_once({$initial_referrer:U||"$direct",$initial_referring_domain:tm.info.referringDomain(U)||"$direct"},"")},eb.prototype.get_referrer_info=function(){return tm.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},eb.prototype.safe_merge=function(U){return tm.each(this.props,function(B,G){G in U||(U[G]=B)}),U},eb.prototype.update_config=function(U){this.default_expiry=this.expire_days=U.cookie_expiration,this.set_disabled(U.disable_persistence),this.set_cookie_domain(U.cookie_domain),this.set_cross_site(U.cross_site_cookie),this.set_cross_subdomain(U.cross_subdomain_cookie),this.set_secure(U.secure_cookie)},eb.prototype.set_disabled=function(U){this.disabled=U,this.disabled?this.remove():this.save()},eb.prototype.set_cookie_domain=function(U){U!==this.cookie_domain&&(this.remove(),this.cookie_domain=U,this.save())},eb.prototype.set_cross_site=function(U){U!==this.cross_site&&(this.cross_site=U,this.remove(),this.save())},eb.prototype.set_cross_subdomain=function(U){U!==this.cross_subdomain&&(this.cross_subdomain=U,this.remove(),this.save())},eb.prototype.get_cross_subdomain=function(){return this.cross_subdomain},eb.prototype.set_secure=function(U){U!==this.secure&&(this.secure=!!U,this.remove(),this.save())},eb.prototype._add_to_people_queue=function(U,B){var G=this._get_queue_key(U),Y=B[U],V=this._get_or_create_queue(t4),Z=this._get_or_create_queue(t8),J=this._get_or_create_queue(t7),X=this._get_or_create_queue(t9),Q=this._get_or_create_queue(ee),tt=this._get_or_create_queue(en,[]),te=this._get_or_create_queue(et,[]);G===es?(tm.extend(V,Y),this._pop_from_people_queue(t9,Y),this._pop_from_people_queue(ee,Y),this._pop_from_people_queue(t7,Y)):G===eu?(tm.each(Y,function(U,B){B in Z||(Z[B]=U)}),this._pop_from_people_queue(t7,Y)):G===ec?tm.each(Y,function(U){tm.each([V,Z,X,Q],function(B){U in B&&delete B[U]}),tm.each(te,function(B){U in B&&delete B[U]}),J[U]=!0}):G===ed?(tm.each(Y,function(U,B){B in V?V[B]+=U:(B in X||(X[B]=0),X[B]+=U)},this),this._pop_from_people_queue(t7,Y)):G===ep?(tm.each(Y,function(U,B){tm.isArray(U)&&(B in Q||(Q[B]=[]),Q[B]=Q[B].concat(U))}),this._pop_from_people_queue(t7,Y)):G===eh?(tt.push(Y),this._pop_from_people_queue(et,Y)):G===ef&&(te.push(Y),this._pop_from_people_queue(t7,Y)),tv.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),tv.log(B),this.save()},eb.prototype._pop_from_people_queue=function(U,B){var G=this._get_queue(U);tm.isUndefined(G)||(tm.each(B,function(B,Y){U===et||U===en?tm.each(G,function(U){U[Y]===B&&delete U[Y]}):delete G[Y]},this),this.save())},eb.prototype._get_queue_key=function(U){return U===t4?es:U===t8?eu:U===t7?ec:U===t9?ed:U===et?ef:U===en?eh:U===ee?ep:void tv.error("Invalid queue:",U)},eb.prototype._get_queue=function(U){return this.props[this._get_queue_key(U)]},eb.prototype._get_or_create_queue=function(U,B){var G=this._get_queue_key(U);return B=tm.isUndefined(B)?{}:B,this.props[G]||(this.props[G]=B)},eb.prototype.set_event_timer=function(U,B){var G=this.props[em]||{};G[U]=B,this.props[em]=G,this.save()},eb.prototype.remove_event_timer=function(U){var B=(this.props[em]||{})[U];return tm.isUndefined(B)||(delete this.props[em][U],this.save()),B};var eE=0,ew=1,eS=function(U){return U},ek=function(){},eT="mixpanel",eC="base64",eR="json",eA=B.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,eO=!eA&&-1===tc.indexOf("MSIE")&&-1===tc.indexOf("Mozilla"),eI=null;ti.sendBeacon&&(eI=function(){return ti.sendBeacon.apply(ti,arguments)});var eN={api_host:"https://api-js.mixpanel.com",api_method:"POST",api_transport:"XHR",api_payload_format:eC,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:ek,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:ek,store_google:!0,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:{}},eD=!1,eL=function(){},eP=function(U,B,Z){var J,X=Z===eT?Y:Y[Z];if(X&&G===eE)J=X;else{if(X&&!tm.isArray(X)){tv.error("You have already initialized "+Z);return}J=new eL}return J._cached_groups={},J._init(U,B,Z),J.people=new ea,J.people._init(J),V.DEBUG=V.DEBUG||J.get_config("debug"),!tm.isUndefined(X)&&tm.isArray(X)&&(J._execute_array.call(J.people,X.people),J._execute_array(X)),J};eL.prototype.init=function(U,B,G){if(tm.isUndefined(G)){this.report_error("You must name your new library: init(token, config, name)");return}if(G===eT){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var V=eP(U,B,G);return Y[G]=V,V._loaded(),V},eL.prototype._init=function(U,G,Y){G=G||{},this.__loaded=!0,this.config={};var V={};if(!("api_payload_format"in G)&&(G.api_host||eN.api_host).match(/\.mixpanel\.com$/)&&(V.api_payload_format=eR),this.set_config(tm.extend({},eN,V,G,{name:Y,token:U,callback_fn:(Y===eT?Y:eT+"."+Y)+"._jsc"})),this._jsc=ek,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(tm.localStorage.is_supported(!0)&&eA){if(this.init_batchers(),eI&&B.addEventListener){var Z=tm.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);B.addEventListener("pagehide",function(U){U.persisted&&Z()}),B.addEventListener("visibilitychange",function(){"hidden"===ta.visibilityState&&Z()})}}else this._batch_requests=!1,tv.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support")}this.persistence=this.cookie=new eb(this.config),this.unpersisted_superprops={},this._gdpr_init();var J=tm.UUID();this.get_distinct_id()||this.register_once({distinct_id:J,$device_id:J},"")},eL.prototype._loaded=function(){this.get_config("loaded")(this),this._set_default_superprops()},eL.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(ta.referrer),this.get_config("store_google")&&this.persistence.update_campaign_params(),this.get_config("save_referrer")&&this.persistence.update_referrer_info(ta.referrer)},eL.prototype._dom_loaded=function(){tm.each(this.__dom_loaded_queue,function(U){this._track_dom.apply(this,U)},this),this.has_opted_out_tracking()||tm.each(this.__request_queue,function(U){this._send_request.apply(this,U)},this),delete this.__dom_loaded_queue,delete this.__request_queue},eL.prototype._track_dom=function(U,B){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!eD)return this.__dom_loaded_queue.push([U,B]),!1;var G=new U().init(this);return G.track.apply(G,B)},eL.prototype._prepare_callback=function(U,B){if(tm.isUndefined(U))return null;if(eA)return function(G){U(G,B)};var G=this._jsc,Y=""+Math.floor(1e8*Math.random()),V=this.get_config("callback_fn")+"["+Y+"]";return G[Y]=function(V){delete G[Y],U(V,B)},V},eL.prototype._send_request=function(U,B,G,Y){var V=!0;if(eO)return this.__request_queue.push(arguments),V;var Z={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},J=null;!Y&&(tm.isFunction(G)||"string"==typeof G)&&(Y=G,G=null),G=tm.extend(Z,G||{}),eA||(G.method="GET");var X="POST"===G.method,Q=eI&&X&&"sendbeacon"===G.transport.toLowerCase(),tt=G.verbose;B.verbose&&(tt=!0),this.get_config("test")&&(B.test=1),tt&&(B.verbose=1),this.get_config("img")&&(B.img=1),!eA&&(Y?B.callback=Y:(tt||this.get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment