vendor: 6,372 bytes, lines 1-17
1function IM(e,r){for(var n=0;n<r.length;n++){const t=r[n];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(t,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))t(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&t(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function S3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mm={exports:{}},mc={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var m5;function LM(){if(m5)return mc;m5=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function n(t,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var u in a)u!=="key"&&(s[u]=a[u])}else s=a;return a=s.ref,{$$typeof:e,type:t,key:l,ref:a!==void 0?a:null,props:s}}return mc.Fragment=r,mc.jsx=n,mc.jsxs=n,mc}var g5;function $M(){return g5||(g5=1,Mm.exports=LM()),Mm.exports}var d=$M(),km={exports:{}},Le={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var v5;function DM(){if(v5)return Le;v5=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),t=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),y=Symbol.iterator;function _(R){return R===null||typeof R!="object"?null:(R=y&&R[y]||R["@@iterator"],typeof R=="function"?R:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,x={};function S(R,G,K){this.props=R,this.context=G,this.refs=x,this.updater=K||w}S.prototype.isReactComponent={},S.prototype.setState=function(R,G){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,G,"setState")},S.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function k(){}k.prototype=S.prototype;function j(R,G,K){this.props=R,this.context=G,this.refs=x,this.updater=K||w}var O=j.prototype=new k;O.constructor=j,C(O,S.prototype),O.isPureReactComponent=!0;var $=Array.isArray;function T(){}var D={H:null,A:null,T:null,S:null},z=Object.prototype.hasOwnProperty;function J(R,G,K){var Z=K.ref;return{$$typeof:e,type:R,key:G,ref:Z!==void 0?Z:null,props:K}}function de(R,G){return J(R.type,G,R.props)}function pe(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function ie(R){var G={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(K){return G[K]})}var ee=/\/+/g;function ce(R,G){return typeof R=="object"&&R!==null&&R.key!=null?ie(""+R.key):G.toString(36)}function ue(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(T,T):(R.status="pending",R.then(function(G){R.status==="pending"&&(R.status="fulfilled",R.value=G)},function(G){R.status==="pending"&&(R.status="rejected",R.reason=G)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function U(R,G,K,Z,le){var oe=typeof R;(oe==="undefined"||oe==="boolean")&&(R=null);var ge=!1;if(R===null)ge=!0;else switch(oe){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(R.$$typeof){case e:case r:ge=!0;break;case m:return ge=R._init,U(ge(R._payload),G,K,Z,le)}}if(ge)return le=le(R),ge=Z===""?"."+ce(R,0):Z,$(le)?(K="",ge!=null&&(K=ge.replace(ee,"$&/")+"/"),U(le,G,K,"",function(zt){return zt})):le!=null&&(pe(le)&&(le=de(le,K+(le.key==null||R&&R.key===le.key?"":(""+le.key).replace(ee,"$&/")+"/")+ge)),G.push(le)),1;ge=0;var Ce=Z===""?".":Z+":";if($(R))for(var Ue=0;Ue<R.length;Ue++)Z=R[Ue],oe=Ce+ce(Z,Ue),ge+=U(Z,G,K,oe,le);else if(Ue=_(R),typeof Ue=="function")for(R=Ue.call(R),Ue=0;!(Z=R.next()).done;)Z=Z.value,oe=Ce+ce(Z,Ue++),ge+=U(Z,G,K,oe,le);else if(oe==="object"){if(typeof R.then=="function")return U(ue(R),G,K,Z,le);throw G=String(R),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ge}function H(R,G,K){if(R==null)return R;var Z=[],le=0;return U(R,Z,"","",function(oe){return G.call(K,oe,le++)}),Z}function Y(R){if(R._status===-1){var G=R._result;G=G(),G.then(function(K){(R._status===0||R._status===-1)&&(R._status=1,R._result=K)},function(K){(R._status===0||R._status===-1)&&(R._status=2,R._result=K)}),R._status===-1&&(R._status=0,R._result=G)}if(R._status===1)return R._result.default;throw R._result}var he=typeof reportError=="function"?reportError:function(R){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",R);return}console.error(R)}
vendor: 10,271 bytes, lines 17-33
17,ye={map:H,forEach:function(R,G,K){H(R,function(){G.apply(this,arguments)},K)},count:function(R){var G=0;return H(R,function(){G++}),G},toArray:function(R){return H(R,function(G){return G})||[]},only:function(R){if(!pe(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};return Le.Activity=g,Le.Children=ye,Le.Component=S,Le.Fragment=n,Le.Profiler=a,Le.PureComponent=j,Le.StrictMode=t,Le.Suspense=f,Le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,Le.__COMPILER_RUNTIME={__proto__:null,c:function(R){return D.H.useMemoCache(R)}},Le.cache=function(R){return function(){return R.apply(null,arguments)}},Le.cacheSignal=function(){return null},Le.cloneElement=function(R,G,K){if(R==null)throw Error("The argument must be a React element, but you passed "+R+".");var Z=C({},R.props),le=R.key;if(G!=null)for(oe in G.key!==void 0&&(le=""+G.key),G)!z.call(G,oe)||oe==="key"||oe==="__self"||oe==="__source"||oe==="ref"&&G.ref===void 0||(Z[oe]=G[oe]);var oe=arguments.length-2;if(oe===1)Z.children=K;else if(1<oe){for(var ge=Array(oe),Ce=0;Ce<oe;Ce++)ge[Ce]=arguments[Ce+2];Z.children=ge}return J(R.type,le,Z)},Le.createContext=function(R){return R={$$typeof:l,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:s,_context:R},R},Le.createElement=function(R,G,K){var Z,le={},oe=null;if(G!=null)for(Z in G.key!==void 0&&(oe=""+G.key),G)z.call(G,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(le[Z]=G[Z]);var ge=arguments.length-2;if(ge===1)le.children=K;else if(1<ge){for(var Ce=Array(ge),Ue=0;Ue<ge;Ue++)Ce[Ue]=arguments[Ue+2];le.children=Ce}if(R&&R.defaultProps)for(Z in ge=R.defaultProps,ge)le[Z]===void 0&&(le[Z]=ge[Z]);return J(R,oe,le)},Le.createRef=function(){return{current:null}},Le.forwardRef=function(R){return{$$typeof:u,render:R}},Le.isValidElement=pe,Le.lazy=function(R){return{$$typeof:m,_payload:{_status:-1,_result:R},_init:Y}},Le.memo=function(R,G){return{$$typeof:p,type:R,compare:G===void 0?null:G}},Le.startTransition=function(R){var G=D.T,K={};D.T=K;try{var Z=R(),le=D.S;le!==null&&le(K,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(T,he)}catch(oe){he(oe)}finally{G!==null&&K.types!==null&&(G.types=K.types),D.T=G}},Le.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},Le.use=function(R){return D.H.use(R)},Le.useActionState=function(R,G,K){return D.H.useActionState(R,G,K)},Le.useCallback=function(R,G){return D.H.useCallback(R,G)},Le.useContext=function(R){return D.H.useContext(R)},Le.useDebugValue=function(){},Le.useDeferredValue=function(R,G){return D.H.useDeferredValue(R,G)},Le.useEffect=function(R,G){return D.H.useEffect(R,G)},Le.useEffectEvent=function(R){return D.H.useEffectEvent(R)},Le.useId=function(){return D.H.useId()},Le.useImperativeHandle=function(R,G,K){return D.H.useImperativeHandle(R,G,K)},Le.useInsertionEffect=function(R,G){return D.H.useInsertionEffect(R,G)},Le.useLayoutEffect=function(R,G){return D.H.useLayoutEffect(R,G)},Le.useMemo=function(R,G){return D.H.useMemo(R,G)},Le.useOptimistic=function(R,G){return D.H.useOptimistic(R,G)},Le.useReducer=function(R,G,K){return D.H.useReducer(R,G,K)},Le.useRef=function(R){return D.H.useRef(R)},Le.useState=function(R){return D.H.useState(R)},Le.useSyncExternalStore=function(R,G,K){return D.H.useSyncExternalStore(R,G,K)},Le.useTransition=function(){return D.H.useTransition()},Le.version="19.2.4",Le}var y5;function Zg(){return y5||(y5=1,km.exports=DM()),km.exports}var N=Zg();const ne=S3(N),ev=IM({__proto__:null,default:ne},[N]);var Nm={exports:{}},gc={},jm={exports:{}},Am={};/** 18 * @license React 19 * scheduler.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var b5;function UM(){return b5||(b5=1,(function(e){function r(U,H){var Y=U.length;U.push(H);e:for(;0<Y;){var he=Y-1>>>1,ye=U[he];if(0<a(ye,H))U[he]=H,U[Y]=ye,Y=he;else break e}}function n(U){return U.length===0?null:U[0]}function t(U){if(U.length===0)return null;var H=U[0],Y=U.pop();if(Y!==H){U[0]=Y;e:for(var he=0,ye=U.length,R=ye>>>1;he<R;){var G=2*(he+1)-1,K=U[G],Z=G+1,le=U[Z];if(0>a(K,Y))Z<ye&&0>a(le,K)?(U[he]=le,U[Z]=Y,he=Z):(U[he]=K,U[G]=Y,he=G);else if(Z<ye&&0>a(le,Y))U[he]=le,U[Z]=Y,he=Z;else break e}}return H}function a(U,H){var Y=U.sortIndex-H.sortIndex;return Y!==0?Y:U.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],p=[],m=1,g=null,y=3,_=!1,w=!1,C=!1,x=!1,S=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function O(U){for(var H=n(p);H!==null;){if(H.callback===null)t(p);else if(H.startTime<=U)t(p),H.sortIndex=H.expirationTime,r(f,H);else break;H=n(p)}}function $(U){if(C=!1,O(U),!w)if(n(f)!==null)w=!0,T||(T=!0,ie());else{var H=n(p);H!==null&&ue($,H.startTime-U)}}var T=!1,D=-1,z=5,J=-1;function de(){return x?!0:!(e.unstable_now()-J<z)}function pe(){if(x=!1,T){var U=e.unstable_now();J=U;var H=!0;try{e:{w=!1,C&&(C=!1,k(D),D=-1),_=!0;var Y=y;try{t:{for(O(U),g=n(f);g!==null&&!(g.expirationTime>U&&de());){var he=g.callback;if(typeof he=="function"){g.callback=null,y=g.priorityLevel;var ye=he(g.expirationTime<=U);if(U=e.unstable_now(),typeof ye=="function"){g.callback=ye,O(U),H=!0;break t}g===n(f)&&t(f),O(U)}else t(f);g=n(f)}if(g!==null)H=!0;else{var R=n(p);R!==null&&ue($,R.startTime-U),H=!1}}break e}finally{g=null,y=Y,_=!1}H=void 0}}finally{H?ie():T=!1}}}var ie;if(typeof j=="function")ie=function(){j(pe)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,ce=ee.port2;ee.port1.onmessage=pe,ie=function(){ce.postMessage(null)}}else ie=function(){S(pe,0)};function ue(U,H){D=S(function(){U(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(U){switch(y){case 1:case 2:case 3:var H=3;break;default:H=y}var Y=y;y=H;try{return U()}finally{y=Y}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(U,H){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Y=y;y=U;try{return H()}finally{y=Y}},e.unstable_scheduleCallback=function(U,H,Y){var he=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?he+Y:he):Y=he,U){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=Y+ye,U={id:m++,callback:H,priorityLevel:U,startTime:Y,expirationTime:ye,sortIndex:-1},Y>he?(U.sortIndex=Y,r(p,U),n(f)===null&&U===n(p)&&(C?(k(D),D=-1):C=!0,ue($,Y-he))):(U.sortIndex=ye,r(f,U),w||_||(w=!0,T||(T=!0,ie()))),U},e.unstable_shouldYield=de,e.unstable_wrapCallback=function(U){var H=y;return function(){var Y=y;y=H;try{return U.apply(this,arguments)}finally{y=Y}}}})(Am)),Am}var x5;function PM(){return x5||(x5=1,jm.exports=UM()),jm.exports}var Rm={exports:{}},Wr={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var _5;function zM(){if(_5)return Wr;_5=1;var e=Zg();function r(f){var p="https://react.dev/errors/"+f;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)p+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var t={d:{f:n,r:function(){throw Error(r(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function s(f,p,m){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:g==null?null:""+g,children:f,containerInfo:p,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(f,p){if(f==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Wr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=t,Wr.createPortal=function(f,p){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return s(f,p,null,m)},Wr.flushSync=function(f){var p=l.T,m=t.p;try{if(l.T=null,t.p=2,f)return f()}finally{l.T=p,t.p=m,t.d.f()}},Wr.preconnect=function(f,p){typeof f=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,t.d.C(f,p))},Wr.prefetchDNS=function(f){typeof f=="string"&&t.d.D(f)},Wr.preinit=function(f,p){if(typeof f=="string"&&p&&typeof p.as=="string"){var m=p.as,g=u(m,p.crossOrigin),y=typeof p.integrity=="string"?p.integrity:void 0,_=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;m==="style"?t.d.S(f,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:y,fetchPriority:_}):m==="script"&&t.d.X(f,{crossOrigin:g,integrity:y,fetchPriority:_,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Wr.preinitModule=function(f,p){if(typeof f=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var m=u(p.as,p.crossOrigin);t.d.M(f,{crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&t.d.M(f)},Wr.preload=function(f,p){if(typeof f=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var m=p.as,g=u(m,p.crossOrigin);t.d.L(f,m,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.t
vendor: 6,169 bytes, lines 33-43
33ype=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Wr.preloadModule=function(f,p){if(typeof f=="string")if(p){var m=u(p.as,p.crossOrigin);t.d.m(f,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:m,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else t.d.m(f)},Wr.requestFormReset=function(f){t.d.r(f)},Wr.unstable_batchedUpdates=function(f,p){return f(p)},Wr.useFormState=function(f,p,m){return l.H.useFormState(f,p,m)},Wr.useFormStatus=function(){return l.H.useHostTransitionStatus()},Wr.version="19.2.4",Wr}var w5;function E3(){if(w5)return Rm.exports;w5=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Rm.exports=zM(),Rm.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var S5;function BM(){if(S5)return gc;S5=1;var e=PM(),r=Zg(),n=E3();function t(i){var o="https://react.dev/errors/"+i;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+i+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var o=i,c=i;if(i.alternate)for(;o.return;)o=o.return;else{i=o;do o=i,(o.flags&4098)!==0&&(c=o.return),i=o.return;while(i)}return o.tag===3?c:null}function l(i){if(i.tag===13){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function u(i){if(i.tag===31){var o=i.memoizedState;if(o===null&&(i=i.alternate,i!==null&&(o=i.memoizedState)),o!==null)return o.dehydrated}return null}function f(i){if(s(i)!==i)throw Error(t(188))}function p(i){var o=i.alternate;if(!o){if(o=s(i),o===null)throw Error(t(188));return o!==i?null:i}for(var c=i,h=o;;){var v=c.return;if(v===null)break;var b=v.alternate;if(b===null){if(h=v.return,h!==null){c=h;continue}break}if(v.child===b.child){for(b=v.child;b;){if(b===c)return f(v),i;if(b===h)return f(v),o;b=b.sibling}throw Error(t(188))}if(c.return!==h.return)c=v,h=b;else{for(var E=!1,A=v.child;A;){if(A===c){E=!0,c=v,h=b;break}if(A===h){E=!0,h=v,c=b;break}A=A.sibling}if(!E){for(A=b.child;A;){if(A===c){E=!0,c=b,h=v;break}if(A===h){E=!0,h=b,c=v;break}A=A.sibling}if(!E)throw Error(t(189))}}if(c.alternate!==h)throw Error(t(190))}if(c.tag!==3)throw Error(t(188));return c.stateNode.current===c?i:o}function m(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i;for(i=i.child;i!==null;){if(o=m(i),o!==null)return o;i=i.sibling}return null}var g=Object.assign,y=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),j=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),pe=Symbol.iterator;function ie(i){return i===null||typeof i!="object"?null:(i=pe&&i[pe]||i["@@iterator"],typeof i=="function"?i:null)}var ee=Symbol.for("react.client.reference");function ce(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===ee?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case C:return"Fragment";case S:return"Profiler";case x:return"StrictMode";case $:return"Suspense";case T:return"SuspenseList";case J:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case w:return"Portal";case j:return i.displayName||"Context";case k:return(i._context.displayName||"Context")+".Consumer";case O:var o=i.render;return i=i.displayName,i||(i=o.displayName||o.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case D:return o=i.displayName||null,o!==null?o:ce(i.type)||"Memo";case z:o=i._payload,i=i._init;try{return ce(i(o))}catch{}}return null}var ue=Array.isArray,U=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},he=[],ye=-1;function R(i){return{current:i}}function G(i){0>ye||(i.current=he[ye],he[ye]=null,ye--)}function K(i,o){ye++,he[ye]=i.current,i.current=o}var Z=R(null),le=R(null),oe=R(null),ge=R(null);function Ce(i,o){switch(K(oe,o),K(le,i),K(Z,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?Ux(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=Ux(o),i=Px(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}G(Z),K(Z,i)}function Ue(){G(Z),G(le),G(oe)}function zt(i){i.memoizedState!==null&&K(ge,i);var o=Z.current,c=Px(o,i.type);o!==c&&(K(le,i),K(Z,c))}function Jt(i){le.current===i&&(G(Z),G(le)),ge.current===i&&(G(ge),dc._currentValue=Y)}var Xt,ea;function Ot(i){if(Xt===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);Xt=o&&o[1]||"",ea=-1<c.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<c.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+Xt+i+ea}var Zr=!1;function Dr(i,o){if(!i||Zr)return"";Zr=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(o){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(W){var V=W}Reflect.construct(i,[],te)}
vendor: 8,960 bytes, lines 43-48
43else{try{te.call()}catch(W){V=W}i.call(te.prototype)}}else{try{throw Error()}catch(W){V=W}(te=i())&&typeof te.catch=="function"&&te.catch(function(){})}}catch(W){if(W&&V&&typeof W.stack=="string")return[W.stack,V.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=h.DetermineComponentFrameRoot(),E=b[0],A=b[1];if(E&&A){var I=E.split(` 44`),F=A.split(` 45`);for(v=h=0;h<I.length&&!I[h].includes("DetermineComponentFrameRoot");)h++;for(;v<F.length&&!F[v].includes("DetermineComponentFrameRoot");)v++;if(h===I.length||v===F.length)for(h=I.length-1,v=F.length-1;1<=h&&0<=v&&I[h]!==F[v];)v--;for(;1<=h&&0<=v;h--,v--)if(I[h]!==F[v]){if(h!==1||v!==1)do if(h--,v--,0>v||I[h]!==F[v]){var X=` 46`+I[h].replace(" at new "," at ");return i.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",i.displayName)),X}while(1<=h&&0<=v);break}}}finally{Zr=!1,Error.prepareStackTrace=c}return(c=i?i.displayName||i.name:"")?Ot(c):""}function Yr(i,o){switch(i.tag){case 26:case 27:case 5:return Ot(i.type);case 16:return Ot("Lazy");case 13:return i.child!==o&&o!==null?Ot("Suspense Fallback"):Ot("Suspense");case 19:return Ot("SuspenseList");case 0:case 15:return Dr(i.type,!1);case 11:return Dr(i.type.render,!1);case 1:return Dr(i.type,!0);case 31:return Ot("Activity");default:return""}}function Ur(i){try{var o="",c=null;do o+=Yr(i,c),c=i,i=i.return;while(i);return o}catch(h){return` 47Error generating stack: `+h.message+` 48`+h.stack}}var Bt=Object.prototype.hasOwnProperty,kr=e.unstable_scheduleCallback,Nr=e.unstable_cancelCallback,Qt=e.unstable_shouldYield,sn=e.unstable_requestPaint,lr=e.unstable_now,en=e.unstable_getCurrentPriorityLevel,cr=e.unstable_ImmediatePriority,ya=e.unstable_UserBlockingPriority,On=e.unstable_NormalPriority,Tn=e.unstable_LowPriority,jr=e.unstable_IdlePriority,yn=e.log,Ar=e.unstable_setDisableYieldValue,In=null,Ft=null;function Te(i){if(typeof yn=="function"&&Ar(i),Ft&&typeof Ft.setStrictMode=="function")try{Ft.setStrictMode(In,i)}catch{}}var rt=Math.clz32?Math.clz32:xr,me=Math.log,Qe=Math.LN2;function xr(i){return i>>>=0,i===0?32:31-(me(i)/Qe|0)|0}var Ln=256,ba=262144,ta=4194304;function bn(i){var o=i&42;if(o!==0)return o;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Oe(i,o,c){var h=i.pendingLanes;if(h===0)return 0;var v=0,b=i.suspendedLanes,E=i.pingedLanes;i=i.warmLanes;var A=h&134217727;return A!==0?(h=A&~b,h!==0?v=bn(h):(E&=A,E!==0?v=bn(E):c||(c=A&~i,c!==0&&(v=bn(c))))):(A=h&~b,A!==0?v=bn(A):E!==0?v=bn(E):c||(c=h&~i,c!==0&&(v=bn(c)))),v===0?0:o!==0&&o!==v&&(o&b)===0&&(b=v&-v,c=o&-o,b>=c||b===32&&(c&4194048)!==0)?o:v}function bt(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function Ht(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32: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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _r(){var i=ta;return ta<<=1,(ta&62914560)===0&&(ta=4194304),i}function xa(i){for(var o=[],c=0;31>c;c++)o.push(i);return o}function Et(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Kr(i,o,c,h,v,b){var E=i.pendingLanes;i.pendingLanes=c,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=c,i.entangledLanes&=c,i.errorRecoveryDisabledLanes&=c,i.shellSuspendCounter=0;var A=i.entanglements,I=i.expirationTimes,F=i.hiddenUpdates;for(c=E&~c;0<c;){var X=31-rt(c),te=1<<X;A[X]=0,I[X]=-1;var V=F[X];if(V!==null)for(F[X]=null,X=0;X<V.length;X++){var W=V[X];W!==null&&(W.lane&=-536870913)}c&=~te}h!==0&&se(i,h,0),b!==0&&v===0&&i.tag!==0&&(i.suspendedLanes|=b&~(E&~o))}function se(i,o,c){i.pendingLanes|=o,i.suspendedLanes&=~o;var h=31-rt(o);i.entangledLanes|=o,i.entanglements[h]=i.entanglements[h]|1073741824|c&261930}function Ne(i,o){var c=i.entangledLanes|=o;for(i=i.entanglements;c;){var h=31-rt(c),v=1<<h;v&o|i[h]&o&&(i[h]|=o),c&=~v}}function Be(i,o){var c=o&-o;return c=(c&42)!==0?1:ur(c),(c&(i.suspendedLanes|o))!==0?0:c}function ur(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function Tt(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function $n(){var i=H.p;return i!==0?i:(i=window.event,i===void 0?32:l5(i.type))}function xn(i,o){var c=H.p;try{return H.p=i,o()}finally{H.p=c}}var Pr=Math.random().toString(36).slice(2),lt="__reactFiber$"+Pr,dr="__reactProps$"+Pr,Dn="__reactContainer$"+Pr,Zt="__reactEvents$"+Pr,ds="__reactListeners$"+Pr,Rr="__reactHandles$"+Pr,ju="__reactResources$"+Pr,xi="__reactMarker$"+Pr;function y0(i){delete i[lt],delete i[dr],delete i[Zt],delete i[ds],delete i[Rr]}function Ys(i){var o=i[lt];if(o)return o;for(var c=i.parentNode;c;){if(o=c[Dn]||c[lt]){if(c=o.alternate,o.child!==null||c!==null&&c.child!==null)for(i=Vx(i);i!==null;){if(c=i[lt])return c;i=Vx(i)}return o}i=c,c=i.parentNode}return null}function Ks(i){if(i=i[lt]||i[Dn]){var o=i.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return i}return null}function kl(i){var o=i.tag;if(o===5||o===26||o===27||o===6)return i.stateNode;throw Error(t(33))}function Ws(i){var o=i[ju];return o||(o=i[ju]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Or(i){i[xi]=!0}var My=new Set,ky={};function fs(i,o){Js(i,o),Js(i+"Capture",o)}function Js(i,o){for(ky[i]=o,i=0;i<o.length;i++)My.add(o[i])}var C8=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ny={},jy={};function M8(i){return Bt.call(jy,i)?!0:Bt.call(Ny,i)?!1:C8.test(i)?jy[i]=!0:(Ny[i]=!0,!1)}function Au(i,o,c){if(M8(o))if(c===null)i.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":i.removeAttribute(o);return;case"boolean":var h=o.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(o);return}}i.setAttribute(o,""+c)}}function Ru(i,o,c){if(c===null)i.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttribute(o,""+c)}}function Da(i,o,c,h){if(h===null)i.removeAttribute(c);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(c);return}i.setAttributeNS(o,c,""+h)}}function Un(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Ay(i){var o=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function k8(i,o,c){var h=Object.getOwnPropertyDescriptor(i.constructor.prototype,o);if(!i.hasOwnProperty(o)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var v=h.get,b=h.set;return Object.defineProperty(i,o,{configurable:!0,get:function(){return v.call(this)},set:function(E){c=""+E,b.call(this,E)}}),Object.defineProperty(i,o,{enumerable:h.enumerable}),{getValue:function(){return c},setValue:function(E){c=""+E},stopTracking:function(){i._valueTracker=null,delete i[o]}}}}function b0(i){if(!i._valueTracker){var o=Ay(i)?"checked":"value";i._valueTracker=k8(i,o,""+i[o])}}function Ry(i){if(!i)return!1;var o=i._valueTracker;if(!o)return!0;var c=o.getValue(),h="";return i&&(h=Ay(i)?i.checked?"true":"false":i.value),i=h,i!==c?(o.setValue(i),!0):!1}function Ou(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var N8=/[\n"\\]/g;function Pn(i){return i.replace(N8,function(o){return"\\"+o.charCo
vendor: 4,418 bytes, line 48
48deAt(0).toString(16)+" "})}function x0(i,o,c,h,v,b,E,A){i.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?i.type=E:i.removeAttribute("type"),o!=null?E==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+Un(o)):i.value!==""+Un(o)&&(i.value=""+Un(o)):E!=="submit"&&E!=="reset"||i.removeAttribute("value"),o!=null?_0(i,E,Un(o)):c!=null?_0(i,E,Un(c)):h!=null&&i.removeAttribute("value"),v==null&&b!=null&&(i.defaultChecked=!!b),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?i.name=""+Un(A):i.removeAttribute("name")}function Oy(i,o,c,h,v,b,E,A){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(i.type=b),o!=null||c!=null){if(!(b!=="submit"&&b!=="reset"||o!=null)){b0(i);return}c=c!=null?""+Un(c):"",o=o!=null?""+Un(o):c,A||o===i.value||(i.value=o),i.defaultValue=o}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=A?i.checked:!!h,i.defaultChecked=!!h,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(i.name=E),b0(i)}function _0(i,o,c){o==="number"&&Ou(i.ownerDocument)===i||i.defaultValue===""+c||(i.defaultValue=""+c)}function Xs(i,o,c,h){if(i=i.options,o){o={};for(var v=0;v<c.length;v++)o["$"+c[v]]=!0;for(c=0;c<i.length;c++)v=o.hasOwnProperty("$"+i[c].value),i[c].selected!==v&&(i[c].selected=v),v&&h&&(i[c].defaultSelected=!0)}else{for(c=""+Un(c),o=null,v=0;v<i.length;v++){if(i[v].value===c){i[v].selected=!0,h&&(i[v].defaultSelected=!0);return}o!==null||i[v].disabled||(o=i[v])}o!==null&&(o.selected=!0)}}function Ty(i,o,c){if(o!=null&&(o=""+Un(o),o!==i.value&&(i.value=o),c==null)){i.defaultValue!==o&&(i.defaultValue=o);return}i.defaultValue=c!=null?""+Un(c):""}function Iy(i,o,c,h){if(o==null){if(h!=null){if(c!=null)throw Error(t(92));if(ue(h)){if(1<h.length)throw Error(t(93));h=h[0]}c=h}c==null&&(c=""),o=c}c=Un(o),i.defaultValue=c,h=i.textContent,h===c&&h!==""&&h!==null&&(i.value=h),b0(i)}function Qs(i,o){if(o){var c=i.firstChild;if(c&&c===i.lastChild&&c.nodeType===3){c.nodeValue=o;return}}i.textContent=o}var j8=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ly(i,o,c){var h=o.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?h?i.setProperty(o,""):o==="float"?i.cssFloat="":i[o]="":h?i.setProperty(o,c):typeof c!="number"||c===0||j8.has(o)?o==="float"?i.cssFloat=c:i[o]=(""+c).trim():i[o]=c+"px"}function $y(i,o,c){if(o!=null&&typeof o!="object")throw Error(t(62));if(i=i.style,c!=null){for(var h in c)!c.hasOwnProperty(h)||o!=null&&o.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var v in o)h=o[v],o.hasOwnProperty(v)&&c[v]!==h&&Ly(i,v,h)}else for(var b in o)o.hasOwnProperty(b)&&Ly(i,b,o[b])}function w0(i){if(i.indexOf("-")===-1)return!1;switch(i){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 A8=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
48dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),R8=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Tu(i){return R8.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function Ua(){}var S0=null;function E0(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Zs=null,eo=null;function Dy(i){var o=Ks(i);if(o&&(i=o.stateNode)){var c=i[dr]||null;e:switch(i=o.stateNode,o.type){case"input":if(x0(i,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),o=c.name,c.type==="radio"&&o!=null){for(c=i;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Pn(""+o)+'"][type="radio"]'),o=0;o<c.length;o++){var h=c[o];if(h!==i&&h.form===i.form){var v=h[dr]||null;if(!v)throw Error(t(90));x0(h,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(o=0;o<c.length;o++)h=c[o],h.form===i.form&&Ry(h)}break e;case"textarea":Ty(i,c.value,c.defaultValue);break e;case"select":o=c.value,o!=null&&Xs(i,!!c.multiple,o,!1)}}}var C0=!1;function Uy(i,o,c){if(C0)return i(o,c);C0=!0;try{var h=i(o);return h}finally{if(C0=!1,(Zs!==null||eo!==null)&&(xd(),Zs&&(o=Zs,i=eo,eo=Zs=null,Dy(o),i)))for(o=0;o<i.length;o++)Dy(i[o])}}function Nl(i,o){var c=i.stateNode;if(c===null)return null;var h=c[dr]||null;if(h===null)return null;c=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(c&&typeof c!="function")throw Error(t(231,o,typeof c));return c}var Pa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M0=!1;if(Pa)try{var jl={};Object.defineProperty(jl,"passive",{get:function(){M0=!0}}),window.addEventListener("test",jl,jl),window.removeEventListener("test",jl,jl)}catch{M0=!1}var _i=null,k0=null,Iu=null;function Py(){if(Iu)return Iu;var i,o=k0,c=o.length,h,v="value"in _i?_i.value:_i.textContent,b=v.length;for(i=0;i<c&&o[i]===v[i];i++);var E=c-i;for(h=1;h<=E&&o[c-h]===v[b-h];h++);return Iu=v.slice(i,1<h?1-h:void 0)}function Lu(i){var o=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&o===13&&(i=13)):i=o,i===10&&(i=13),32<=i||i===13?i:0}function $u(){return!0}function zy(){return!1}function on(i){function o(c,h,v,b,E){this._reactName=c,this._targetInst=v,this.type=h,this.nativeEvent=b,this.target=E,this.currentTarget=null;for(var A in i)i.hasOwnProperty(A)&&(c=i[A],this[A]=c?c(b):b[A]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?$u:zy,this.isPropagationStopped=zy,this}return g(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=$u)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=$u)},persist:function(){},isPersistent:$u}),o}var hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Du=on(hs),Al=g({},hs,{view:0,detail:0}),O8=on(Al),N0,j0,Rl,Uu=g({},Al,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:R0,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Rl&&(Rl&&i.type==="mousemove"?(N0=i.screenX-Rl.screenX,j0=i.screenY-Rl.screenY):j0=N0=0,Rl=i),N0)},movementY:function(i){return"movementY"in i?i.movementY:j0}
vendor: 1,301 bytes, line 48
48}),By=on(Uu),T8=g({},Uu,{dataTransfer:0}),I8=on(T8),L8=g({},Al,{relatedTarget:0}),A0=on(L8),$8=g({},hs,{animationName:0,elapsedTime:0,pseudoElement:0}),D8=on($8),U8=g({},hs,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),P8=on(U8),z8=g({},hs,{data:0}),Fy=on(z8),B8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},F8={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"},q8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function H8(i){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(i):(i=q8[i])?!!o[i]:!1}function R0(){return H8}var G8=g({},Al,{key:function(i){if(i.key){var o=B8[i.key]||i.key;if(o!=="Unidentified")return o}return i.type==="keypress"?(i=Lu(i),i===13?"Enter":String.fromCharCode(i)):i.type==="
48keydown"||i.type==="keyup"?F8[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:R0,charCode:function(i){return i.type==="keypress"?Lu(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Lu(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),V8=on(G8),Y8=g({},Uu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qy=on(Y8),K8=g({},Al,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:R0}),W8=on(K8),J8=g({},hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),X8=on(J8),Q8=g({},Uu,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Z8=on(Q8),eC=g({},hs,{newState:0,oldState:0}),tC=on(eC),rC=[9,13,27,32],O0=Pa&&"CompositionEvent"in window,Ol=null;Pa&&"documentMode"in document&&(Ol=document.documentMode);var nC=Pa&&"TextEvent"in window&&!Ol,Hy=Pa&&(!O0||Ol&&8<Ol&&11>=Ol),Gy=" ",Vy=!1;function Yy(i,o){switch(i){case"keyup":return rC.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ky(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var to=!1;function aC(i,o){switch(i){case"compositionend":return Ky(o);case"keypress":return o.which!==32?null:(Vy=!0,Gy);case"textInput":return i=o.data,i===Gy&&Vy?null:i;default:return null}}function iC(i,o){if(to)return i==="compositionend"||!O0&&Yy(i,o)?(i=Py(),Iu=k0=_i=null,to=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Hy&&o.locale!=="ko"?null:o.data;default:return null}}var sC={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 Wy(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o==="input"?!!sC[i.type]:o==="textarea"}function Jy(i,o,c,h){Zs?eo?eo.push(h):eo=[h]:Zs=h,o=kd(o,"onChange"),0<o.length&&(c=new Du("onChange","change",null,c,h),i.push({event:c,listeners:o}))}var Tl=null,Il=null;function oC(i){Ox(i,0)}function Pu(i){var o=kl(i);if(Ry(o))return i}function Xy(i,o){if(i==="change")return o}var Qy=!1;if(Pa){var T0;if(Pa){var I0="oninput"in document;if(!I0){var Zy=document.createElement("div");Zy.setAttribute("oninput","return;"),I0=typeof Zy.oninput=="function"}T0=I0}else T0=!1;Qy=T0&&(!document.documentMode||9<document.documentMode)}function e2(){Tl&&(Tl.detachEvent("onpropertychange",t2),Il=Tl=null)}function t2(i){if(i.propertyName==="value"&&Pu(Il)){var o=[];Jy(o,Il,i,E0(i)),Uy(oC,o)}}function lC(i,o,c){i==="focusin"?(e2(),Tl=o,Il=c,Tl.attachEvent("onpropertychange",t2)):i==="focusout"&&e2()}function cC(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Pu(Il)}function uC(i,o){if(i==="click")return Pu(o)}function dC(i,o){if(i==="input"||i==="change")return Pu(o)}function fC(i,o){return i===o&&(i!==0||1/i===1/o)||i!==i&&o!==o}var _n=typeof Object.is=="function"?Object.is:fC;function Ll(i,o){if(_n(i,o))return!0;if(typeof i!="object"||i===null||typeof o!="object"||o===null)return!1;var c=Object.keys(i),h=Object.keys(o);if(c.length!==h.length)return!1;for(h=0;h<c.length;h++){var v=c[h];if(!Bt.call(o,v)||!_n(i[v],o[v]))return!1}return!0}function r2(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function n2(i,o){var c=r2(i);i=0;for(var h;c;){if(c.nodeType===3){if(h=i+c.textContent.length,i<=o&&h>=o)return{node:c,offset:o-i};i=h}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=r2(c)}}function a2(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?a2(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function i2(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=Ou(i.document);o instanceof i.HTMLIFrameElement;){try{var c=typeof o.contentWindow.location.href=="string"}catch{c=!1}if(c)i=o.contentWindow;else break;o=Ou(i.document)}return o}function L0(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var hC=Pa&&"documentMode"in document&&11>=document.documentMode,ro=null,$0=null,$l=null,D0=!1;function s2(i,o,c){var h=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;
vendor: 22,435 bytes, line 48
48D0||ro==null||ro!==Ou(h)||(h=ro,"selectionStart"in h&&L0(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),$l&&Ll($l,h)||($l=h,h=kd($0,"onSelect"),0<h.length&&(o=new Du("onSelect","select",null,o,c),i.push({event:o,listeners:h}),o.target=ro)))}function ps(i,o){var c={};return c[i.toLowerCase()]=o.toLowerCase(),c["Webkit"+i]="webkit"+o,c["Moz"+i]="moz"+o,c}var no={animationend:ps("Animation","AnimationEnd"),animationiteration:ps("Animation","AnimationIteration"),animationstart:ps("Animation","AnimationStart"),transitionrun:ps("Transition","TransitionRun"),transitionstart:ps("Transition","TransitionStart"),transitioncancel:ps("Transition","TransitionCancel"),transitionend:ps("Transition","TransitionEnd")},U0={},o2={};Pa&&(o2=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);function ms(i){if(U0[i])return U0[i];if(!no[i])return i;var o=no[i],c;for(c in o)if(o.hasOwnProperty(c)&&c in o2)return U0[i]=o[c];return i}var l2=ms("animationend"),c2=ms("animationiteration"),u2=ms("animationstart"),pC=ms("transitionrun"),mC=ms("transitionstart"),gC=ms("transitioncancel"),d2=ms("transitionend"),f2=new Map,P0="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");P0.push("scrollEnd");function ra(i,o){f2.set(i,o),fs(o,[i])}var zu=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},zn=[],ao=0,z0=0;function Bu(){for(var i=ao,o=z0=ao=0;o<i;){var c=zn[o];zn[o++]=null;var h=zn[o];zn[o++]=null;var v=zn[o];zn[o++]=null;var b=zn[o];if(zn[o++]=null,h!==null&&v!==null){var E=h.pending;E===null?v.next=v:(v.next=E.next,E.next=v),h.pending=v}b!==0&&h2(c,v,b)}}function Fu(i,o,c,h){zn[ao++]=i,zn[ao++]=o,zn[ao++]=c,zn[ao++]=h,z0|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function B0(i,o,c,h){return Fu(i,o,c,h),qu(i)}function gs(i,o){return Fu(i,null,null,o),qu(i)}function h2(i,o,c){i.lanes|=c;var h=i.alternate;h!==null&&(h.lanes|=c);for(var v=!1,b=i.return;b!==null;)b.childLanes|=c,h=b.alternate,h!==null&&(h.childLanes|=c),b.tag===22&&(i=b.stateNode,i===null||i._visibility&1||(v=!0)),i=b,b=b.return;return i.tag===3?(b=i.stateNode,v&&o!==null&&(v=31-rt(c),i=b.hiddenUpdates,h=i[v],h===null?i[v]=[o]:h.push(o),o.lane=c|536870912),b):null}function qu(i){if(50<ac)throw ac=0,Jp=null,Error(t(185));for(var o=i.return;o!==null;)i=o,o=i.return;return i.tag===3?i.stateNode:null}var io={};function vC(i,o,c,h){this.tag=i,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wn(i,o,c,h){return new vC(i,o,c,h)}function F0(i){return i=i.prototype,!(!i||!i.isReactComponent)}function za(i,o){var c=i.alternate;return c===null?(c=wn(i.tag,o,i.key,i.mode),c.elementType=i.elementType,c.type=i.type,c.stateNode=i.stateNode,c.alternate=i,i.alternate=c):(c.pendingProps=o,c.type=i.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=i.flags&65011712,c.childLanes=i.childLanes,c.lanes=i.lanes,c.child=i.child,c.memoizedProps=i.memoizedProps,c.memoizedState=i.memoizedState,c.updateQueue=i.updateQueue,o=i.dependencies,c.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},c.sibling=i.sibling,c.index=i.index,c.ref=i.ref,c.refCleanup=i.refCleanup,c}function p2(i,o){i.flags&=65011714;var c=i.alternate;return c===null?(i.childLanes=0,i.lanes=o,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=c.childLanes,i.lanes=c.lanes,i.child=c.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=c.memoizedProps,i.memoizedState=c.memoizedState,i.updateQueue=c.updateQueue,i.type=c.type,o=c.dependencies,i.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),i}function Hu(i,o,c,h,v,b){var E=0;if(h=i,typeof i=="function")F0(i)&&(E=1);else if(typeof i=="string")E=wM(i,c,Z.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case J:return i=wn(31,c,o,v),i.elementType=J,i.lanes=b,i;case C:return vs(c.children,v,b,o);case x:E=8,v|=24;break;case S:return i=wn(12,c,o,v|2),i.elementType=S,i.lanes=b,i;case $:return i=wn(13,c,o,v),i.elementType=$,i.lanes=b,i;case T:return i=wn(19,c,o,v),i.elementType=T,i.lanes=b,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case j:E=10;break e;case k:E=9;break e;case O:E=11;break e;case D:E=14;break e;case z:E=16,h=null;break e}E=29,c=Error(t(130,i===null?"null":typeof i,"")),h=null}return o=wn(E,c,o,v),o.elementType=i,o.type=h,o.lanes=b,o}function vs(i,o,c,h){return i=wn(7,i,h,o),i.lanes=c,i}function q0(i,o,c){return i=wn(6,i,null,o),i.lanes=c,i}function m2(i){var o=wn(18,null,null,0);return o.stateNode=i,o}function H0(i,o,c){return o=wn(4,i.children!==null?i.children:[],i.key,o),o.lanes=c,o.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},o}var g2=new WeakMap;function Bn(i,o){if(typeof i=="object"&&i!==null){var c=g2.get(i);return c!==void 0?c:(o={value:i,source:o,stack:Ur(o)},g2.set(i,o),o)}return{value:i,source:o,stack:Ur(o)}}var so=[],oo=0,Gu=null,Dl=0,Fn=[],qn=0,wi=null,_a=1,wa="";function Ba(i,o){so[oo++]=Dl,so[oo++]=Gu,Gu=i,Dl=o}function v2(i,o,c){Fn[qn++]=_a,Fn[qn++]=wa,Fn[qn++]=wi,wi=i;var h=_a;i=wa;var v=32-rt(h)-1;h&=~(1<<v),c+=1;var b=32-rt(o)+v;if(30<b){var E=v-v%5;b=(h&(1<<E)-1).toString(32),h>>=E,v-=E,_a=1<<32-rt(o)+v|c<<v|h,wa=b+i}else _a=1<<b|c<<v|h,wa=i}function G0(i){i.return!==null&&(Ba(i,1),v2(i,1,0))}function V0(i){for(;i===Gu;)Gu=so[--oo],so[oo]=null,Dl=so[--oo],so[oo]=null;for(;i===wi;)wi=Fn[--qn],Fn[qn]=null,wa=Fn[--qn],Fn[qn]=null,_a=Fn[--qn],Fn[qn]=null}function y2(i,o){Fn[qn++]=_a,Fn[qn++]=wa,Fn[qn++]=wi,_a=o.id,wa=o.overflow,wi=i}var zr=null,Ct=null,Ze=!1,Si=null,Hn=!1,Y0=Error(t(519));function Ei(i){var o=Error(t(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ul(Bn(o,i)),Y0}function b2(i){var o=i.stateNode,c=i.type,h=i.memoizedProps;switch(o[lt]=i,o[dr]=h,c){case"dialog":Ke("cancel",o),Ke("close",o);break;case"iframe":case"object":case"embed":Ke("load",o);break;case"video":case"audio":for(c=0;c<sc.length;c++)Ke(sc[c],o);break;case"source":Ke("error",o);break;case"img":case"image":case"link":Ke("error",o),Ke("load",o);break;case"details":Ke("toggle",o);break;case"input":Ke("invalid",o),Oy(o,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":Ke("invalid",o);break;case"textarea":Ke("invalid",o),Iy(o,h.value,h.defaultValue,h.children)}c=h.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||o.textContent===""+c||h.suppressHydrationWarning===!0||$x(o.textContent,c)?(h.popover!=null&&(Ke("beforetoggle",o),Ke("toggle",o)),h.onScroll!=null&&Ke("scroll",o),h.onScrollEnd!=null&&Ke("scrollend",o),h.onClick!=null&&(o.onclick=Ua),o=!0):o=!1,o||Ei(i,!0)}function x2(i){for(zr=i.return;zr;)switch(zr.tag){case 5:case 31:case 13:Hn=!1;return;case 27:case 3:Hn=!0;return;default:zr=zr.return}}function lo(i){if(i!==zr)return!1;if(!Ze)return x2(i),Ze=!0,!1;var o=i.tag,c;if((c=o!==3&&o!==27)&&((c=o===5)&&(c=i.type,c=!(c!=="form"&&c!=="button")||dm(i.type,i.memoizedProps)),c=!c),c&&Ct&&Ei(i),x2(i),o===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(t(317));Ct=Gx(i)}else if(o===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(t(317));Ct=Gx(i)}else o===27?(o=Ct,Ui(i.type)?(i=gm,gm=null,Ct=i):Ct=o):Ct=zr?Vn(i.stateNode.nextSibling):null;return!0}function ys(){Ct=zr=null,Ze=!1}function K0(){var i=Si;return i!==null&&(dn===null?dn=i:dn.push.apply(dn,i),Si=null),i}function Ul(i){Si===null?Si=[i]:Si.push(i)}var W0=R(null),bs=null,Fa=null;function Ci(i,o,c){K(W0,o._currentValue),o._currentValue=c}function qa(i){i._currentValue=W0.current,G(W0)}function J0(i,o,c){for(;i!==null;){var h=i.alternate;if((i.childLanes&o)!==o?(i.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),i===c)break;i=i.return}}function X0(i,o,c,h){var v=i.child;for(v!==null&&(v.return=i);v!==null;){var b=v.dependencies;if(b!==null){var E=v.child;b=b.firstContext;e:for(;b!==null;){var A=b;b=v;for(var I=0;I<o.length;I++)if(A.context===o[I]){b.lanes|=c,A=b.alternate,A!==null&&(A.lanes|=c),J0(b.return,c,i),h||(E=null);break e}b=A.next}}else if(v.tag===18){if(E=v.return,E===null)throw Error(t(341));E.lanes|=c,b=E.alternate,b!==null&&(b.lanes|=c),J0(E,c,i),E=null}else E=v.child;if(E!==null)E.return=v;else for(E=v;E!==null;){if(E===i){E=null;break}if(v=E.sibling,v!==null){v.return=E.return,E=v;break}E=E.return}v=E}}function co(i,o,c,h){i=null;for(var v=o,b=!1;v!==null;){if(!b){if((v.flags&524288)!==0)b=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var E=v.alternate;if(E===null)throw Error(t(387));if(E=E.memoizedProps,E!==null){var A=v.type;_n(v.pendingProps.value,E.value)||(i!==null?i.push(A):i=[A])}}else if(v===ge.current){if(E=v.alternate,E===null)throw Error(t(387));E.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(i!==null?i.push(dc):i=[dc])}v=v.return}i!==null&&X0(o,i,c,h),o.flags|=262144}function Vu(i){for(i=i.firstContext;i!==null;){if(!_n(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function xs(i){bs=i,Fa=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function Br(i){return _2(bs,i)}function Yu(i,o){return bs===null&&xs(i),_2(i,o)}function _2(i,o){var c=o._currentValue;if(o={context:o,memoizedValue:c,next:null},Fa===null){if(i===null)throw Error(t(308));Fa=o,i.dependencies={lanes:0,firstContext:o},i.flags|=524288}else Fa=Fa.next=o;return c}var yC=typeof AbortController<"u"?AbortController:function(){var i=[],o=this.signal={aborted:!1,addEventListener:function(c,h){i.push(h)}};this.abort=function(){o.aborted=!0,i.forEach(function(c){return c()})}},bC=e.unstable_scheduleCallback,xC=e.unstable_NormalPriority,fr={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Q0(){return{controller:new yC,data:new Map,refCount:0}}function Pl(i){i.refCount--,i.refCount===0&&bC(xC,function(){i.controller.abort()})}var zl=null,Z0=0,uo=0,fo=null;function _C(i,o){if(zl===null){var c=zl=[];Z0=0,uo=rm(),fo={status:"pending",value:void 0,then:function(h){c.push(h)}}}return Z0++,o.then(w2,w2),o}function w2(){if(--Z0===0&&zl!==null){fo!==null&&(fo.status="fulfilled");var i=zl;zl=null,uo=0,fo=null;for(var o=0;o<i.length;o++)(0,i[o])()}}function wC(i,o){var c=[],h={status:"pending",value:null,reason:null,then:function(v){c.push(v)}};return i.then(function(){h.status="fulfilled",h.value=o;for(var v=0;v<c.length;v++)(0,c[v])(o)},function(v){for(h.status="rejected",h.reason=v,v=0;v<c.length;v++)(0,c[v])(void 0)}),h}var S2=U.S;U.S=function(i,o){sx=lr(),typeof o=="object"&&o!==null&&typeof o.then=="function"&&_C(i,o),S2!==null&&S2(i,o)};var _s=R(null);function ep(){var i=_s.current;return i!==null?i:yt.pooledCache}function Ku(i,o){o===null?K(_s,_s.current):K(_s,o.pool)}function E2(){var i=ep();return i===null?null:{parent:fr._currentValue,pool:i}}var ho=Error(t(460)),tp=Error(t(474)),Wu=Error(t(542)),Ju={then:function(){}};function C2(i){return i=i.status,i==="fulfilled"||i==="rejected"}function M2(i,o,c){switch(c=i[c],c===void 0?i.push(o):c!==o&&(o.then(Ua,Ua),o=c),o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,N2(i),i;default:if(typeof o.status=="string")o.then(Ua,Ua);else{if(i=yt,i!==null&&100<i.shellSuspendCounter)throw Error(t(482));i=o,i.status="pending",i.then(function(h){if(o.status==="pending"){var v=o;v.status="fulfilled",v.value=h}},function(h){if(o.status==="pending"){var v=o;v.status="rejected",v.reason=h}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw i=o.reason,N2(i),i}throw Ss=o,ho}}function ws(i){try{var o=i._init;return o(i._payload)}catch(c){throw c!==null&&typeof c=="object"&&typeof c.then=="function"?(Ss=c,ho):c}}var Ss=null;function k2(){if(Ss===null)throw Error(t(459));var i=Ss;return Ss=null,i}function N2(i){if(i===ho||i===Wu)throw Error(t(483))}var po=null,Bl=0;function Xu(i){var o=Bl;return Bl+=1,po===null&&(po=[]),M2(po,i,o)}function Fl(i,o){o=o.props.ref,i.ref=o!==void 0?o:null}function Qu(i,o){throw o.$$typeof===y?Error(t(525)):(i=Object.prototype.toString.call(o),Error(t(31,i==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":i)))}function j2(i){function o(P,L){if(i){var B=P.deletions;B===null?(P.deletions=[L],P.flags|=16):B.push(L)}}function c(P,L){if(!i)return null;for(;L!==null;)o(P,L),L=L.sibling;return null}function h(P){for(var L=new Map;P!==null;)P.key!==null?L.set(P.key,P):L.set(P.index,P),P=P.sibling;return L}function v(P,L){return P=za(P,L),P.index=0,P.sibling=null,P}function b(P,L,B){return P.index=B,i?(B=P.alternate,B!==null?(B=B.index,B<L?(P.flags|=67108866,L):B):(P.flags|=67108866,L)):(P.flags|=1048576,L)}function E(P){return i&&P.alternate===null&&(P.flags|=67108866),P}function A(P,L,B,Q){return L===null||L.tag!==6?(L=q0(B,P.mode,Q),L.return=P,L):(L=v(L,B),L.return=P,L)}function I(P,L,B,Q){var Se=B.type;return Se===C?X(P,L,B.props.children,Q,B.key):L!==null&&(L.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===z&&ws(Se)===L.type)?(L=v(L,B.props),Fl(L,B),L.return=P,L):(L=Hu(B.type,B.key,B.props,null,P.mode,Q),Fl(L,B),L.return=P,L)}function F(P,L,B,Q){return L===null||L.tag!==4||L.stateNode.containerInfo!==B.containerInfo||L.stateNode.implementation!==B.implementation?(L=H0(B,P.mode,Q),L.return=P,L):(L=v(L,B.children||[]),L.return=P,L)}function X(P,L,B,Q,Se){return L===null||L.tag!==7?(L=vs(B,P.mode,Q,Se),L.return=P,L):(L=v(L,B),L.return=P,L)}function te(P,L,B){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return L=q0(""+L,P.mode,B),L.return=P,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case _:return B=Hu(L.type,L.key,L.props,null,P.mode,B),Fl(B,L),B.return=P,B;case w:return L=H0(L,P.mode,B),L.return=P,L;case z:return L=ws(L),te(P,L,B)}if(ue(L)||ie(L))return L=vs(L,P.mode,B,null),L.return=P,L;if(typeof L.then=="function")return te(P,Xu(L),B);if(L.$$typeof===j)return te(P,Yu(P,L),B);Qu(P,L)}return null}function V(P,L,B,Q){var Se=L!==null?L.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return Se!==null?null:A(P,L,""+B,Q);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case _:return B.key===Se?I(P,L,B,Q):null;case w:return B.key===Se?F(P,L,B,Q):null;case z:return B=ws(B),V(P,L,B,Q)}if(ue(B)||ie(B))return Se!==null?null:X(P,L,B,Q,null);if(typeof B.then=="function")return V(P,L,Xu(B),Q);if(B.$$typeof===j)return V(P,L,Yu(P,B),Q);Qu(P,B)}return null}function W(P,L,B,Q,Se){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return P=P.get(B)||null,A(L,P,""+Q,Se);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case _:return P=P.get(Q.key===null?B:Q.key)||null,I(L,P,Q,Se);case w:return P=P.get(Q.key===null?B:Q.key)||null,F(L,P,Q,Se);case z:return Q=ws(Q),W(P,L,B,Q,Se)}if(ue(Q)||ie(Q))return P=P.get(B)||null,X(L,P,Q,Se,null);if(typeof Q.then=="function")return W(P,L,B,Xu(Q),Se);if(Q.$$typeof===j)return W(P,L,B,Yu(L,Q),Se);Qu(L,Q)}return null}function ve(P,L,B,Q){for(var Se=null,it=null,_e=L,Fe=L=0,Je=null;_e!==null&&Fe<B.length;Fe++){_e.index>Fe?(Je=_e,_e=null):Je=_e.sibling;var st=V(P,_e,B[Fe],Q);if(st===null){_e===null&&(_e=Je);break}i&&_e&&st.alternate===null&&o(P,_e),L=b(st,L,Fe),it===null?Se=st:it.sibling=st,it=st,_e=Je}if(Fe===B.length)return c(P,_e),Ze&&Ba(P,Fe),Se;if(_e===null){for(;Fe<B.length;Fe++)_e=te(P,B[Fe],Q),_e!==null&&(L=b(_e,L,Fe),it===null?Se=_e:it.sibling=_e,it=_e);return Ze&&Ba(P,Fe),Se}for(_e=h(_e);Fe<B.length;Fe++)Je=W(_e,P,Fe,B[Fe],Q),Je!==null&&(i&&Je.alternate!==null&&_e.delete(Je.key===null?Fe:Je.key),L=b(Je,L,Fe),it===null?Se=Je:it.sibling=Je,it=Je);return i&&_e.forEach(function(qi){return o(P,qi)}),Ze&&Ba(P,Fe),Se}function ke(P,L,B,Q){if(B==null)throw Error(t(151));for(var Se=null,it=null,_e=L,Fe=L=0,Je=null,st=B.next();_e!==null&&!st.done;Fe++,st=B.next()){_e.index>Fe?(Je=_e,_e=null):Je=_e.sibling;var qi=V(P,_e,st.value,Q);if(qi===null){_e===null&&(_e=Je);break}i&&_e&&qi.alternate===null&&o(P,_e),L=b(qi,L,Fe),it===null?Se=qi:it.sibling=qi,it=qi,_e=Je}if(st.done)return c(P,_e),Ze&&Ba(P,Fe),Se;if(_e===null){for(;!st.done;Fe++,st=B.next())st=te(P,st.value,Q),st!==null&&(L=b(st,L,Fe),it===null?Se=st:it.sibling=st,it=st);return Ze&&Ba(P,Fe),Se}for(_e=h(_e);!st.done;Fe++,st=B.next())st=W(_e,P,Fe,st.value,Q),st!==null&&(i&&st.alternate!==null&&_e.delete(st.key===null?Fe:st.key),L=b(st,L,Fe),it===null?Se=st:it.sibling=st,it=st);return i&&_e.forEach(function(TM){return o(P,TM)}),Ze&&Ba(P,Fe),Se}function gt(P,L,B,Q){if(typeof B=="object"&&B!==null&&B.type===C&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case _:e:{for(var Se=B.key;L!==null;){if(L.key===Se){if(Se=B.type,Se===C){if(L.tag===7){c(P,L.sibling),Q=v(L,B.props.children),Q.return=P,P=Q;break e}}else if(L.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===z&&ws(Se)===L.type){c(P,L.sibling),Q=v(L,B.props),Fl(Q,B),Q.return=P,P=Q;break e}c(P,L);break}else o(P,L);L=L.sibling}B.type===C?(Q=vs(B.props.children,P.mode,Q,B.key),Q.return=P,P=Q):(Q=Hu(B.type,B.key,B.props,null,P.mode,Q),Fl(Q,B),Q.return=P,P=Q)}return E(P);case w:e:{for(Se=B.key;L!==null;){if(L.key===Se)if(L.tag===4&&L.stateNode.containerInfo===B.containerInfo&&L.stateNode.implementation===B.implementation){c(P,L.sibling),Q=v(L,B.children||[]),Q.return=P,P=Q;break e}else{c(P,L);break}else o(P,L);L=L.sibling}Q=H0(B,P.mode,Q),Q.return=P,P=Q}return E(P);case z:return B=ws(B),gt(P,L,B,Q)}if(ue(B))return ve(P,L,B,Q);if(ie(B)){if(Se=ie(B),typeof Se!="function")throw Error(t(150));return B=Se.call(B),ke(P,L,B,Q)}if(typeof B.then=="function")return gt(P,L,Xu(B),Q);if(B.$$typeof===j)return gt(P,L,Yu(P,B),Q);Qu(P,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,L!==null&&L.tag===6?(c(P,L.sibling),Q=v(L,B),Q.return=P,P=Q):(c(P,L),Q=q0(B,P.mode,Q),Q.return=P,P=Q),E(P)):c(P,L)}return function(P,L,B,Q){try{Bl=0;var Se=gt(P,L,B,Q);return po=null,Se}catch(_e){if(_e===ho||_e===Wu)throw _e;var it=wn(29,_e,null,P.mode);return it.lanes=Q,it.return=P,it}finally{}}}var Es=j2(!0),A2=j2(!1),Mi=!1;function rp(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function np(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function ki(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function Ni(i,o,c){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(ot&2)!==0){var v=h.pending;return v===null?o.next=o:(o.next=v.next,v.next=o),h.pending=o,o=qu(i),h2(i,null,c),o}return Fu(i,h,o,c),qu(i)}function ql(i,o,c){if(o=o.updateQueue,o!==null&&(o=o.shared,(c&4194048)!==0)){var h=o.lanes;h&=i.pendingLanes,c|=h,o.lanes=c,Ne(i,c)}}function ap(i,o){var c=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,c===h)){var v=null,b=null;if(c=c.firstBaseUpdate,c!==null){do{var E={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};b===null?v=b=E:b=b.next=E,c=c.next}while(c!==null);b===null?v=b=o:b=b.next=o}else v=b=o;c={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:b,shared:h.shared,callbacks:h.callbacks},i.updateQueue=c;return}i=c.lastBaseUpdate,i===null?c.firstBaseUpdate=o:i.next=o,c.lastBaseUpdate=o}var ip=!1;function Hl(){if(ip){var i=fo;if(i!==null)throw i}}function Gl(i,o,c,h){ip=!1;var v=i.updateQueue;Mi=!1;var b=v.firstBaseUpdate,E=v.lastBaseUpdate,A=v.shared.pending;if(A!==null){v.shared.pending=null;var I=A,F=I.next;I.next=null,E===null?b=F:E.next=F,E=I;var X=i.alternate;X!==null&&(X=X.updateQueue,A=X.lastBaseUpdate,A!==E&&(A===null?X.firstBaseUpdate=F:A.next=F,X.lastBaseUpdate=I))}if(b!==null){var te=v.baseState;E=0,X=F=I=null,A=b;do{var V=A.lane&-536870913,W=V!==A.lane;if(W?(We&V)===V:(h&V)===V){V!==0&&V===uo&&(ip=!0),X!==null&&(X=X.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var ve=i,ke=A;V=o;var gt=c;switch(ke.tag){case 1:if(ve=ke.payload,typeof ve=="function"){te=ve.call(gt,te,V);break e}te=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=ke.payload,V=typeof ve=="function"?ve.call(gt,te,V):ve,V==null)break e;te=g({},te,V);break e;case 2:Mi=!0}}V=A.callback,V!==null&&(i.flags|=64,W&&(i.flags|=8192),W=v.callbacks,W===null?v.callbacks=[V]:W.push(V))}else W={lane:V,tag:A.tag,payload:A.payload,callback:A.callback,next:null},X===null?(F=X=W,I=te):X=X.next=W,E|=V;if(A=A.next,A===null){if(A=v.shared.pending,A===null)break;W=A,A=W.next,W.next=null,v.lastBaseUpdate=W,v.shared.pending=null}}while(!0);X===null&&(I=te),v.baseState=I,v.firstBaseUpdate=F,v.lastBaseUpdate=X,b===null&&(v.shared.lanes=0),Ti|=E,i.lanes=E,i.memoizedState=te}}function R2(i,o){if(typeof i!="function")throw Error(t(191,i));i.call(o)}function O2(i,o){var c=i.callbacks;
vendor: 6,428 bytes, line 48
48if(c!==null)for(i.callbacks=null,i=0;i<c.length;i++)R2(c[i],o)}var mo=R(null),Zu=R(0);function T2(i,o){i=Qa,K(Zu,i),K(mo,o),Qa=i|o.baseLanes}function sp(){K(Zu,Qa),K(mo,mo.current)}function op(){Qa=Zu.current,G(mo),G(Zu)}var Sn=R(null),Gn=null;function ji(i){var o=i.alternate;K(er,er.current&1),K(Sn,i),Gn===null&&(o===null||mo.current!==null||o.memoizedState!==null)&&(Gn=i)}function lp(i){K(er,er.current),K(Sn,i),Gn===null&&(Gn=i)}function I2(i){i.tag===22?(K(er,er.current),K(Sn,i),Gn===null&&(Gn=i)):Ai()}function Ai(){K(er,er.current),K(Sn,Sn.current)}function En(i){G(Sn),Gn===i&&(Gn=null),G(er)}var er=R(0);function ed(i){for(var o=i;o!==null;){if(o.tag===13){var c=o.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||pm(c)||mm(c)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Ha=0,ze=null,pt=null,hr=null,td=!1,go=!1,Cs=!1,rd=0,Vl=0,vo=null,SC=0;function Gt(){throw Error(t(321))}function cp(i,o){if(o===null)return!1;for(var c=0;c<o.length&&c<i.length;c++)if(!_n(i[c],o[c]))return!1;return!0}function up(i,o,c,h,v,b){return Ha=b,ze=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,U.H=i===null||i.memoizedState===null?vb:Cp,Cs=!1,b=c(h,v),Cs=!1,go&&(b=$2(o,c,h,v)),L2(i),b}function L2(i){U.H=Wl;var o=pt!==null&&pt.next!==null;if(Ha=0,hr=pt=ze=null,td=!1,Vl=0,vo=null,o)throw Error(t(300));i===null||pr||(i=i.dependencies,i!==null&&Vu(i)&&(pr=!0))}function $2(i,o,c,h){ze=i;var v=0;do{if(go&&(vo=null),Vl=0,go=!1,25<=v)throw Error(t(301));if(v+=1,hr=pt=null,i.updateQueue!=null){var b=i.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}U.H=yb,b=o(c,h)}while(go);return b}function EC(){var i=U.H,o=i.useState()[0];return o=typeof o.then=="function"?Yl(o):o,i=i.useState()[0],(pt!==null?pt.memoizedState:null)!==i&&(ze.flags|=1024),o}function dp(){var i=rd!==0;return rd=0,i}function fp(i,o,c){o.updateQueue=i.updateQueue,o.flags&=-2053,i.lanes&=~c}function hp(i){if(td){for(i=i.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}td=!1}Ha=0,hr=pt=ze=null,go=!1,Vl=rd=0,vo=null}function tn(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return hr===null?ze.memoizedState=hr=i:hr=hr.next=i,hr}function tr(){if(pt===null){var i=ze.alternate;i=i!==null?i.memoizedState:null}else i=pt.next;var o=hr===null?ze.memoizedState:hr.next;if(o!==null)hr=o,pt=i;else{if(i===null)throw ze.alternate===null?Error(t(467)):Error(t(310));pt=i,i={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},hr===null?ze.memoizedState=hr=i:hr=hr.next=i}return hr}function nd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yl(i){var o=Vl;return Vl+=1,vo===null&&(vo=[]),i=M2(vo,i,o),o=ze,(hr===null?o.memoizedState:hr.next)===null&&(o=o.alternate,U.H=o===null||o.memoizedState===null?vb:Cp),i}function ad(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Yl(i);if(i.$$typeof===j)return Br(i)}throw Error(t(438,String(i)))}function pp(i){var o=null,c=ze.updateQueue;if(c!==null&&(o=c.memoCache),o==null){var h=ze.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(o={data:h.data.map(function(v){return v.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),c===null&&(c=nd(),ze.updateQueue=c),c.memoCache=o,c=o.data[o.index],c===void 0)for(c=o.data[o.index]=Array(i),h=0;h<i;h++)c[h]=de;return o.index++,c}function Ga(i,o){return typeof o=="function"?o(i):o}function id(i){var o=tr();return mp(o,pt,i)}function mp(i,o,c){var h=i.queue;if(h===null)throw Error(t(311));h.lastRenderedReducer=c;var v=i.baseQueue,b=h.pending;if(b!==null){if(v!==null){var E=v.next;v.next=b.next,b.next=E}o.baseQueue=v=b,h.pending=null}if(b=i.baseState,v===null)i.memoizedState=b;else{o=v.next;var A=E=null,I=null,F=o,X=!1;do{var te=F.lane&-536870913;if(te!==F.lane?(We&te)===te:(Ha&te)===te){var V=F.revertLane;if(V===0)I!==null&&(I=I.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),te===uo&&(X=!0);else if((Ha&V)===V){F=F.next,V===uo&&(X=!0);continue}else te={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},I===null?(A=I=te,E=b):I=I.next=te,ze.lanes|=V,Ti|=V;te=F.action,Cs&&c(b,te),b=F.hasEagerState?F.eagerState:c(b,te)}else V={lane:te,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},I===null?(A=I=V,E=b):I=I.next=V,ze.lanes|=te,Ti|=te;F=F.next}while(F!==null&&F!==o);if(I===null?E=b:I.next=A,!_n(b,i.memoizedState)&&(pr=!0,X&&(c=fo,c!==null)))throw c;i.memoizedState=b,i.baseState=E,i.baseQueue=I,h.lastRenderedState=b}return v===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function gp(i){var o=tr(),c=o.queue;if(c===null)throw Error(t(311));c.lastRenderedReducer=i;var h=c.dispatch,v=c.pending,b=o.memoizedState;if(v!==null){c.pending=null;var E=v=v.next;do b=i(b,E.action),E=E.next;while(E!==v);_n(b,o.memoizedState)||(pr=!0),o.memoizedState=b,o.baseQueue===null&&(o.baseState=b),c.lastRenderedState=b}return[b,h]}function D2(i,o,c){var h=ze,v=tr(),b=Ze;if(b){if(c===void 0)throw Error(t(407));c=c()}else c=o();var E=!_n((pt||v).memoizedState,c);if(E&&(v.memoizedState=c,pr=!0),v=v.queue,bp(z2.bind(null,h,v,i),[i]),v.getSnapshot!==o||E||hr!==null&&hr.memoizedState.tag&1){if(h.flags|=2048,yo(9,{destroy:void 0},P2.bind(null,h,v,c,o),null),yt===null)throw Error(t(349));b||(Ha&127)!==0||U2(h,o,c)}return c}function U2(i,o,c){i.flags|=16384,i={getSnapshot:o,value:c},o=ze.updateQueue,o===null?(o=nd(),ze.updateQueue=o,o.stores=[i]):(c=o.stores,c===null?o.stores=[i]:c.push(i))}function P2(i,o,c,h){o.value=c,o.getSnapshot=h,B2(o)&&F2(i)}function z2(i,o,c){return c(function(){B2(o)&&F2(i)})}function B2(i){var o=i.getSnapshot;i=i.value;try{var c=o();return!_n(i,c)}catch{return!0}}function F2(i){var o=gs(i,2);o!==null&&fn(o,i,2)}function vp(i){var o=tn();if(typeof i=="function"){var c=i;
vendor: 13,795 bytes, line 48
48if(i=c(),Cs){Te(!0);try{c()}finally{Te(!1)}}}return o.memoizedState=o.baseState=i,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:i},o}function q2(i,o,c,h){return i.baseState=c,mp(i,pt,typeof h=="function"?h:Ga)}function CC(i,o,c,h,v){if(ld(i))throw Error(t(485));if(i=o.action,i!==null){var b={payload:v,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){b.listeners.push(E)}};U.T!==null?c(!0):b.isTransition=!1,h(b),c=o.pending,c===null?(b.next=o.pending=b,H2(o,b)):(b.next=c.next,o.pending=c.next=b)}}function H2(i,o){var c=o.action,h=o.payload,v=i.state;if(o.isTransition){var b=U.T,E={};U.T=E;try{var A=c(v,h),I=U.S;I!==null&&I(E,A),G2(i,o,A)}catch(F){yp(i,o,F)}finally{b!==null&&E.types!==null&&(b.types=E.types),U.T=b}}else try{b=c(v,h),G2(i,o,b)}catch(F){yp(i,o,F)}}function G2(i,o,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(h){V2(i,o,h)},function(h){return yp(i,o,h)}):V2(i,o,c)}function V2(i,o,c){o.status="fulfilled",o.value=c,Y2(o),i.state=c,o=i.pending,o!==null&&(c=o.next,c===o?i.pending=null:(c=c.next,o.next=c,H2(i,c)))}function yp(i,o,c){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do o.status="rejected",o.reason=c,Y2(o),o=o.next;while(o!==h)}i.action=null}function Y2(i){i=i.listeners;for(var o=0;o<i.length;o++)(0,i[o])()}function K2(i,o){return o}function W2(i,o){if(Ze){var c=yt.formState;if(c!==null){e:{var h=ze;if(Ze){if(Ct){t:{for(var v=Ct,b=Hn;v.nodeType!==8;){if(!b){v=null;break t}if(v=Vn(v.nextSibling),v===null){v=null;break t}}b=v.data,v=b==="F!"||b==="F"?v:null}if(v){Ct=Vn(v.nextSibling),h=v.data==="F!";break e}}Ei(h)}h=!1}h&&(o=c[0])}}return c=tn(),c.memoizedState=c.baseState=o,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:K2,lastRenderedState:o},c.queue=h,c=pb.bind(null,ze,h),h.dispatch=c,h=vp(!1),b=Ep.bind(null,ze,!1,h.queue),h=tn(),v={state:o,dispatch:null,action:i,pending:null},h.queue=v,c=CC.bind(null,ze,v,b,c),v.dispatch=c,h.memoizedState=i,[o,c,!1]}function J2(i){var o=tr();return X2(o,pt,i)}function X2(i,o,c){if(o=mp(i,o,K2)[0],i=id(Ga)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var h=Yl(o)}catch(E){throw E===ho?Wu:E}else h=o;o=tr();var v=o.queue,b=v.dispatch;return c!==o.memoizedState&&(ze.flags|=2048,yo(9,{destroy:void 0},MC.bind(null,v,c),null)),[h,b,i]}function MC(i,o){i.action=o}function Q2(i){var o=tr(),c=pt;if(c!==null)return X2(o,c,i);tr(),o=o.memoizedState,c=tr();var h=c.queue.dispatch;return c.memoizedState=i,[o,h,!1]}function yo(i,o,c,h){return i={tag:i,create:c,deps:h,inst:o,next:null},o=ze.updateQueue,o===null&&(o=nd(),ze.updateQueue=o),c=o.lastEffect,c===null?o.lastEffect=i.next=i:(h=c.next,c.next=i,i.next=h,o.lastEffect=i),i}function Z2(){return tr().memoizedState}function sd(i,o,c,h){var v=tn();ze.flags|=i,v.memoizedState=yo(1|o,{destroy:void 0},c,h===void 0?null:h)}function od(i,o,c,h){var v=tr();h=h===void 0?null:h;var b=v.memoizedState.inst;pt!==null&&h!==null&&cp(h,pt.memoizedState.deps)?v.memoizedState=yo(o,b,c,h):(ze.flags|=i,v.memoizedState=yo(1|o,b,c,h))}function eb(i,o){sd(8390656,8,i,o)}function bp(i,o){od(2048,8,i,o)}function kC(i){ze.flags|=4;var o=ze.updateQueue;if(o===null)o=nd(),ze.updateQueue=o,o.events=[i];else{var c=o.events;c===null?o.events=[i]:c.push(i)}}function tb(i){var o=tr().memoizedState;return kC({ref:o,nextImpl:i}),function(){if((ot&2)!==0)throw Error(t(440));return o.impl.apply(void 0,arguments)}}function rb(i,o){return od(4,2,i,o)}function nb(i,o){return od(4,4,i,o)}function ab(i,o){if(typeof o=="function"){i=i();var c=o(i);return function(){typeof c=="function"?c():o(null)}}if(o!=null)return i=i(),o.current=i,function(){o.current=null}}function ib(i,o,c){c=c!=null?c.concat([i]):null,od(4,4,ab.bind(null,o,i),c)}function xp(){}function sb(i,o){var c=tr();o=o===void 0?null:o;var h=c.memoizedState;return o!==null&&cp(o,h[1])?h[0]:(c.memoizedState=[i,o],i)}function ob(i,o){var c=tr();o=o===void 0?null:o;var h=c.memoizedState;if(o!==null&&cp(o,h[1]))return h[0];if(h=i(),Cs){Te(!0);try{i()}finally{Te(!1)}}return c.memoizedState=[h,o],h}function _p(i,o,c){return c===void 0||(Ha&1073741824)!==0&&(We&261930)===0?i.memoizedState=o:(i.memoizedState=c,i=lx(),ze.lanes|=i,Ti|=i,c)}function lb(i,o,c,h){return _n(c,o)?c:mo.current!==null?(i=_p(i,c,h),_n(i,o)||(pr=!0),i):(Ha&42)===0||(Ha&1073741824)!==0&&(We&261930)===0?(pr=!0,i.memoizedState=c):(i=lx(),ze.lanes|=i,Ti|=i,o)}function cb(i,o,c,h,v){var b=H.p;H.p=b!==0&&8>b?b:8;var E=U.T,A={};U.T=A,Ep(i,!1,o,c);try{var I=v(),F=U.S;if(F!==null&&F(A,I),I!==null&&typeof I=="object"&&typeof I.then=="function"){var X=wC(I,h);Kl(i,o,X,kn(i))}else Kl(i,o,h,kn(i))}catch(te){Kl(i,o,{then:function(){},status:"rejected",reason:te},kn())}finally{H.p=b,E!==null&&A.types!==null&&(E.types=A.types),U.T=E}}function NC(){}function wp(i,o,c,h){if(i.tag!==5)throw Error(t(476));var v=ub(i).queue;cb(i,v,o,Y,c===null?NC:function(){return db(i),c(h)})}function ub(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:Y},next:null};var c={};return o.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:c},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function db(i){var o=ub(i);o.next===null&&(o=i.alternate.memoizedState),Kl(i,o.next.queue,{},kn())}function Sp(){return Br(dc)}function fb(){return tr().memoizedState}function hb(){return tr().memoizedState}function jC(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var c=kn();i=ki(c);var h=Ni(o,i,c);h!==null&&(fn(h,o,c),ql(h,o,c)),o={cache:Q0()},i.payload=o;return}o=o.return}}function AC(i,o,c){var h=kn();c={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},ld(i)?mb(o,c):(c=B0(i,o,c,h),c!==null&&(fn(c,i,h),gb(c,o,h)))}function pb(i,o,c){var h=kn();Kl(i,o,c,h)}function Kl(i,o,c,h){var v={lane:h,revertLane:0,gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null};if(ld(i))mb(o,v);else{var b=i.alternate;if(i.lanes===0&&(b===null||b.lanes===0)&&(b=o.lastRenderedReducer,b!==null))try{var E=o.lastRenderedState,A=b(E,c);if(v.hasEagerState=!0,v.eagerState=A,_n(A,E))return Fu(i,o,v,0),yt===null&&Bu(),!1}catch{}finally{}if(c=B0(i,o,v,h),c!==null)return fn(c,i,h),gb(c,o,h),!0}return!1}function Ep(i,o,c,h){if(h={lane:2,revertLane:rm(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},ld(i)){if(o)throw Error(t(479))}else o=B0(i,c,h,2),o!==null&&fn(o,i,2)}function ld(i){var o=i.alternate;return i===ze||o!==null&&o===ze}function mb(i,o){go=td=!0;var c=i.pending;c===null?o.next=o:(o.next=c.next,c.next=o),i.pending=o}function gb(i,o,c){if((c&4194048)!==0){var h=o.lanes;h&=i.pendingLanes,c|=h,o.lanes=c,Ne(i,c)}}var Wl={readContext:Br,use:ad,useCallback:Gt,useContext:Gt,useEffect:Gt,useImperativeHandle:Gt,useLayoutEffect:Gt,useInsertionEffect:Gt,useMemo:Gt,useReducer:Gt,useRef:Gt,useState:Gt,useDebugValue:Gt,useDeferredValue:Gt,useTransition:Gt,useSyncExternalStore:Gt,useId:Gt,useHostTransitionStatus:Gt,useFormState:Gt,useActionState:Gt,useOptimistic:Gt,useMemoCache:Gt,useCacheRefresh:Gt};Wl.useEffectEvent=Gt;var vb={readContext:Br,use:ad,useCallback:function(i,o){return tn().memoizedState=[i,o===void 0?null:o],i},useContext:Br,useEffect:eb,useImperativeHandle:function(i,o,c){c=c!=null?c.concat([i]):null,sd(4194308,4,ab.bind(null,o,i),c)},useLayoutEffect:function(i,o){return sd(4194308,4,i,o)},useInsertionEffect:function(i,o){sd(4,2,i,o)},useMemo:function(i,o){var c=tn();o=o===void 0?null:o;var h=i();if(Cs){Te(!0);try{i()}finally{Te(!1)}}return c.memoizedState=[h,o],h},useReducer:function(i,o,c){var h=tn();if(c!==void 0){var v=c(o);if(Cs){Te(!0);try{c(o)}finally{Te(!1)}}}else v=o;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=AC.bind(null,ze,i),[h.memoizedState,i]},useRef:function(i){var o=tn();return i={current:i},o.memoizedState=i},useState:function(i){i=vp(i);var o=i.queue,c=pb.bind(null,ze,o);return o.dispatch=c,[i.memoizedState,c]},useDebugValue:xp,useDeferredValue:function(i,o){var c=tn();return _p(c,i,o)},useTransition:function(){var i=vp(!1);return i=cb.bind(null,ze,i.queue,!0,!1),tn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,c){var h=ze,v=tn();if(Ze){if(c===void 0)throw Error(t(407));c=c()}else{if(c=o(),yt===null)throw Error(t(349));(We&127)!==0||U2(h,o,c)}v.memoizedState=c;var b={value:c,getSnapshot:o};return v.queue=b,eb(z2.bind(null,h,b,i),[i]),h.flags|=2048,yo(9,{destroy:void 0},P2.bind(null,h,b,c,o),null),c},useId:function(){var i=tn(),o=yt.identifierPrefix;if(Ze){var c=wa,h=_a;c=(h&~(1<<32-rt(h)-1)).toString(32)+c,o="_"+o+"R_"+c,c=rd++,0<c&&(o+="H"+c.toString(32)),o+="_"}else c=SC++,o="_"+o+"r_"+c.toString(32)+"_";return i.memoizedState=o},useHostTransitionStatus:Sp,useFormState:W2,useActionState:W2,useOptimistic:function(i){var o=tn();o.memoizedState=o.baseState=i;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=c,o=Ep.bind(null,ze,!0,c),c.dispatch=o,[i,o]},useMemoCache:pp,useCacheRefresh:function(){return tn().memoizedState=jC.bind(null,ze)},useEffectEvent:function(i){var o=tn(),c={impl:i};return o.memoizedState=c,function(){if((ot&2)!==0)throw Error(t(440));return c.impl.apply(void 0,arguments)}}},Cp={readContext:Br,use:ad,useCallback:sb,useContext:Br,useEffect:bp,useImperativeHandle:ib,useInsertionEffect:rb,useLayoutEffect:nb,useMemo:ob,useReducer:id,useRef:Z2,useState:function(){return id(Ga)},useDebugValue:xp,useDeferredValue:function(i,o){var c=tr();return lb(c,pt.memoizedState,i,o)},useTransition:function(){var i=id(Ga)[0],o=tr().memoizedState;return[typeof i=="boolean"?i:Yl(i),o]},useSyncExternalStore:D2,useId:fb,useHostTransitionStatus:Sp,useFormState:J2,useActionState:J2,useOptimistic:function(i,o){var c=tr();return q2(c,pt,i,o)},useMemoCache:pp,useCacheRefresh:hb};Cp.useEffectEvent=tb;var yb={readContext:Br,use:ad,useCallback:sb,useContext:Br,useEffect:bp,useImperativeHandle:ib,useInsertionEffect:rb,useLayoutEffect:nb,useMemo:ob,useReducer:gp,useRef:Z2,useState:function(){return gp(Ga)},useDebugValue:xp,useDeferredValue:function(i,o){var c=tr();return pt===null?_p(c,i,o):lb(c,pt.memoizedState,i,o)},useTransition:function(){var i=gp(Ga)[0],o=tr().memoizedState;return[typeof i=="boolean"?i:Yl(i),o]},useSyncExternalStore:D2,useId:fb,useHostTransitionStatus:Sp,useFormState:Q2,useActionState:Q2,useOptimistic:function(i,o){var c=tr();return pt!==null?q2(c,pt,i,o):(c.baseState=i,[i,c.queue.dispatch])},useMemoCache:pp,useCacheRefresh:hb};yb.useEffectEvent=tb;function Mp(i,o,c,h){o=i.memoizedState,c=c(h,o),c=c==null?o:g({},o,c),i.memoizedState=c,i.lanes===0&&(i.updateQueue.baseState=c)}var kp={enqueueSetState:function(i,o,c){i=i._reactInternals;var h=kn(),v=ki(h);v.payload=o,c!=null&&(v.callback=c),o=Ni(i,v,h),o!==null&&(fn(o,i,h),ql(o,i,h))},enqueueReplaceState:function(i,o,c){i=i._reactInternals;var h=kn(),v=ki(h);v.tag=1,v.payload=o,c!=null&&(v.callback=c),o=Ni(i,v,h),o!==null&&(fn(o,i,h),ql(o,i,h))},enqueueForceUpdate:function(i,o){i=i._reactInternals;var c=kn(),h=ki(c);h.tag=2,o!=null&&(h.callback=o),o=Ni(i,h,c),o!==null&&(fn(o,i,c),ql(o,i,c))}};function bb(i,o,c,h,v,b,E){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,b,E):o.prototype&&o.prototype.isPureReactComponent?!Ll(c,h)||!Ll(v,b):!0}function xb(i,o,c,h){i=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(c,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(c,h),o.state!==i&&kp.enqueueReplaceState(o,o.state,null)}function Ms(i,o){var c=o;if("ref"in o){c={};for(var h in o)h!=="ref"&&(c[h]=o[h])}if(i=i.defaultProps){c===o&&(c=g({},c));for(var v in i)c[v]===void 0&&(c[v]=i[v])}return c}function _b(i){zu(i)}function wb(i){console.error(i)}function Sb(i){zu(i)}function cd(i,o){try{var c=i.onUncaughtError;c(o.value,{componentStack:o.stack})}catch(h){setTimeout(function(){throw h})}}function Eb(i,o,c){try{var h=i.onCaughtError;h(c.value,{componentStack:c.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function Np(i,o,c){return c=ki(c),c.tag=3,c.payload={element:null},c.callback=function(){cd(i,o)},c}function Cb(i){return i=ki(i),i.tag=3,i}function Mb(i,o,c,h){var v=c.type.getDerivedStateFromError;if(typeof v=="function"){var b=h.value;i.payload=function(){return v(b)},i.callback=function(){Eb(o,c,h)}}var E=c.stateNode;E!==null&&typeof E.componentDidCatch=="function"&&(i.callback=function(){Eb(o,c,h),typeof v!="function"&&(Ii===null?Ii=new Set([this]):Ii.add(this));var A=h.stack;this.componentDidCatch(h.value,{componentStack:A!==null?A:""})})}function RC(i,o,c,h,v){if(c.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(o=c.alternate,o!==null&&co(o,c,v,!0),c=Sn.current,c!==null){switch(c.tag){case 31:case 13:return Gn===null?_d():c.alternate===null&&Vt===0&&(Vt=3),c.flags&=-257,c.flags|=65536,c.lanes=v,h===Ju?c.flags|=16384:(o=c.updateQueue,o===null?c.updateQueue=new Set([h]):o.add(h),Zp(i,h,v)),!1;case 22:return c.flags|=65536,h===Ju?c.flags|=16384:(o=c.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([h])},c.updateQueue=o):(c=o.retryQueue,c===null?o.retryQueue=new Set([h]):c.add(h)),Zp(i,h,v)),!1}throw Error(t(435,c.tag))}return Zp(i,h,v),_d(),!1}if(Ze)return o=Sn.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=v,h!==Y0&&(i=Error(t(422),{cause:h}),Ul(Bn(i,c)))):(h!==Y0&&(o=Error(t(423),{cause:h}
vendor: 13,909 bytes, line 48
48),Ul(Bn(o,c))),i=i.current.alternate,i.flags|=65536,v&=-v,i.lanes|=v,h=Bn(h,c),v=Np(i.stateNode,h,v),ap(i,v),Vt!==4&&(Vt=2)),!1;var b=Error(t(520),{cause:h});if(b=Bn(b,c),nc===null?nc=[b]:nc.push(b),Vt!==4&&(Vt=2),o===null)return!0;h=Bn(h,c),c=o;do{switch(c.tag){case 3:return c.flags|=65536,i=v&-v,c.lanes|=i,i=Np(c.stateNode,h,i),ap(c,i),!1;case 1:if(o=c.type,b=c.stateNode,(c.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Ii===null||!Ii.has(b))))return c.flags|=65536,v&=-v,c.lanes|=v,v=Cb(v),Mb(v,i,c,h),ap(c,v),!1}c=c.return}while(c!==null);return!1}var jp=Error(t(461)),pr=!1;function Fr(i,o,c,h){o.child=i===null?A2(o,null,c,h):Es(o,i.child,c,h)}function kb(i,o,c,h,v){c=c.render;var b=o.ref;if("ref"in h){var E={};for(var A in h)A!=="ref"&&(E[A]=h[A])}else E=h;return xs(o),h=up(i,o,c,E,b,v),A=dp(),i!==null&&!pr?(fp(i,o,v),Va(i,o,v)):(Ze&&A&&G0(o),o.flags|=1,Fr(i,o,h,v),o.child)}function Nb(i,o,c,h,v){if(i===null){var b=c.type;return typeof b=="function"&&!F0(b)&&b.defaultProps===void 0&&c.compare===null?(o.tag=15,o.type=b,jb(i,o,b,h,v)):(i=Hu(c.type,null,h,o,o.mode,v),i.ref=o.ref,i.return=o,o.child=i)}if(b=i.child,!Dp(i,v)){var E=b.memoizedProps;if(c=c.compare,c=c!==null?c:Ll,c(E,h)&&i.ref===o.ref)return Va(i,o,v)}return o.flags|=1,i=za(b,h),i.ref=o.ref,i.return=o,o.child=i}function jb(i,o,c,h,v){if(i!==null){var b=i.memoizedProps;if(Ll(b,h)&&i.ref===o.ref)if(pr=!1,o.pendingProps=h=b,Dp(i,v))(i.flags&131072)!==0&&(pr=!0);else return o.lanes=i.lanes,Va(i,o,v)}return Ap(i,o,c,h,v)}function Ab(i,o,c,h){var v=h.children,b=i!==null?i.memoizedState:null;if(i===null&&o.stateNode===null&&(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((o.flags&128)!==0){if(b=b!==null?b.baseLanes|c:c,i!==null){for(h=o.child=i.child,v=0;h!==null;)v=v|h.lanes|h.childLanes,h=h.sibling;h=v&~b}else h=0,o.child=null;return Rb(i,o,b,c,h)}if((c&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},i!==null&&Ku(o,b!==null?b.cachePool:null),b!==null?T2(o,b):sp(),I2(o);else return h=o.lanes=536870912,Rb(i,o,b!==null?b.baseLanes|c:c,c,h)}else b!==null?(Ku(o,b.cachePool),T2(o,b),Ai(),o.memoizedState=null):(i!==null&&Ku(o,null),sp(),Ai());return Fr(i,o,v,c),o.child}function Jl(i,o){return i!==null&&i.tag===22||o.stateNode!==null||(o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Rb(i,o,c,h,v){var b=ep();return b=b===null?null:{parent:fr._currentValue,pool:b},o.memoizedState={baseLanes:c,cachePool:b},i!==null&&Ku(o,null),sp(),I2(o),i!==null&&co(i,o,h,!0),o.childLanes=v,null}function ud(i,o){return o=fd({mode:o.mode,children:o.children},i.mode),o.ref=i.ref,i.child=o,o.return=i,o}function Ob(i,o,c){return Es(o,i.child,null,c),i=ud(o,o.pendingProps),i.flags|=2,En(o),o.memoizedState=null,i}function OC(i,o,c){var h=o.pendingProps,v=(o.flags&128)!==0;if(o.flags&=-129,i===null){if(Ze){if(h.mode==="hidden")return i=ud(o,h),o.lanes=536870912,Jl(null,i);if(lp(o),(i=Ct)?(i=Hx(i,Hn),i=i!==null&&i.data==="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:wi!==null?{id:_a,overflow:wa}:null,retryLane:536870912,hydrationErrors:null},c=m2(i),c.return=o,o.child=c,zr=o,Ct=null)):i=null,i===null)throw Ei(o);return o.lanes=536870912,null}return ud(o,h)}var b=i.memoizedState;if(b!==null){var E=b.dehydrated;if(lp(o),v)if(o.flags&256)o.flags&=-257,o=Ob(i,o,c);else if(o.memoizedState!==null)o.child=i.child,o.flags|=128,o=null;else throw Error(t(558));else if(pr||co(i,o,c,!1),v=(c&i.childLanes)!==0,pr||v){if(h=yt,h!==null&&(E=Be(h,c),E!==0&&E!==b.retryLane))throw b.retryLane=E,gs(i,E),fn(h,i,E),jp;_d(),o=Ob(i,o,c)}else i=b.treeContext,Ct=Vn(E.nextSibling),zr=o,Ze=!0,Si=null,Hn=!1,i!==null&&y2(o,i),o=ud(o,h),o.flags|=4096;return o}return i=za(i.child,{mode:h.mode,children:h.children}),i.ref=o.ref,o.child=i,i.return=o,i}function dd(i,o){var c=o.ref;if(c===null)i!==null&&i.ref!==null&&(o.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(t(284));(i===null||i.ref!==c)&&(o.flags|=4194816)}}function Ap(i,o,c,h,v){return xs(o),c=up(i,o,c,h,void 0,v),h=dp(),i!==null&&!pr?(fp(i,o,v),Va(i,o,v)):(Ze&&h&&G0(o),o.flags|=1,Fr(i,o,c,v),o.child)}function Tb(i,o,c,h,v,b){return xs(o),o.updateQueue=null,c=$2(o,h,c,v),L2(i),h=dp(),i!==null&&!pr?(fp(i,o,b),Va(i,o,b)):(Ze&&h&&G0(o),o.flags|=1,Fr(i,o,c,b),o.child)}function Ib(i,o,c,h,v){if(xs(o),o.stateNode===null){var b=io,E=c.contextType;typeof E=="object"&&E!==null&&(b=Br(E)),b=new c(h,b),o.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=kp,o.stateNode=b,b._reactInternals=o,b=o.stateNode,b.props=h,b.state=o.memoizedState,b.refs={},rp(o),E=c.contextType,b.context=typeof E=="object"&&E!==null?Br(E):io,b.state=o.memoizedState,E=c.getDerivedStateFromProps,typeof E=="function"&&(Mp(o,c,E,h),b.state=o.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(E=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),E!==b.state&&kp.enqueueReplaceState(b,b.state,null),Gl(o,h,b,v),Hl(),b.state=o.memoizedState),typeof b.componentDidMount=="function"&&(o.flags|=4194308),h=!0}else if(i===null){b=o.stateNode;var A=o.memoizedProps,I=Ms(c,A);b.props=I;var F=b.context,X=c.contextType;E=io,typeof X=="object"&&X!==null&&(E=Br(X));var te=c.getDerivedStateFromProps;X=typeof te=="function"||typeof b.getSnapshotBeforeUpdate=="function",A=o.pendingProps!==A,X||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(A||F!==E)&&xb(o,b,h,E),Mi=!1;var V=o.memoizedState;b.state=V,Gl(o,h,b,v),Hl(),F=o.memoizedState,A||V!==F||Mi?(typeof te=="function"&&(Mp(o,c,te,h),F=o.memoizedState),(I=Mi||bb(o,c,I,h,V,F,E))?(X||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(o.flags|=4194308)):(typeof b.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=F),b.props=h,b.state=F,b.context=E,h=I):(typeof b.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{b=o.stateNode,np(i,o),E=o.memoizedProps,X=Ms(c,E),b.props=X,te=o.pendingProps,V=b.context,F=c.contextType,I=io,typeof F=="object"&&F!==null&&(I=Br(F)),A=c.getDerivedStateFromProps,(F=typeof A=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(E!==te||V!==I)&&xb(o,b,h,I),Mi=!1,V=o.memoizedState,b.state=V,Gl(o,h,b,v),Hl();var W=o.memoizedState;E!==te||V!==W||Mi||i!==null&&i.dependencies!==null&&Vu(i.dependencies)?(typeof A=="function"&&(Mp(o,c,A,h),W=o.memoizedState),(X=Mi||bb(o,c,X,h,V,W,I)||i!==null&&i.dependencies!==null&&Vu(i.dependencies))?(F||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(h,W,I),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(h,W,I)),typeof b.componentDidUpdate=="function"&&(o.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof b.componentDidUpdate!="function"||E===i.memoizedProps&&V===i.memoizedState||(o.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||E===i.memoizedProps&&V===i.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=W),b.props=h,b.state=W,b.context=I,h=X):(typeof b.componentDidUpdate!="function"||E===i.memoizedProps&&V===i.memoizedState||(o.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||E===i.memoizedProps&&V===i.memoizedState||(o.flags|=1024),h=!1)}return b=h,dd(i,o),h=(o.flags&128)!==0,b||h?(b=o.stateNode,c=h&&typeof c.getDerivedStateFromError!="function"?null:b.render(),o.flags|=1,i!==null&&h?(o.child=Es(o,i.child,null,v),o.child=Es(o,null,c,v)):Fr(i,o,c,v),o.memoizedState=b.state,i=o.child):i=Va(i,o,v),i}function Lb(i,o,c,h){return ys(),o.flags|=256,Fr(i,o,c,h),o.child}var Rp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Op(i){return{baseLanes:i,cachePool:E2()}}function Tp(i,o,c){return i=i!==null?i.childLanes&~c:0,o&&(i|=Mn),i}function $b(i,o,c){var h=o.pendingProps,v=!1,b=(o.flags&128)!==0,E;if((E=b)||(E=i!==null&&i.memoizedState===null?!1:(er.current&2)!==0),E&&(v=!0,o.flags&=-129),E=(o.flags&32)!==0,o.flags&=-33,i===null){if(Ze){if(v?ji(o):Ai(),(i=Ct)?(i=Hx(i,Hn),i=i!==null&&i.data!=="&"?i:null,i!==null&&(o.memoizedState={dehydrated:i,treeContext:wi!==null?{id:_a,overflow:wa}:null,retryLane:536870912,hydrationErrors:null},c=m2(i),c.return=o,o.child=c,zr=o,Ct=null)):i=null,i===null)throw Ei(o);return mm(i)?o.lanes=32:o.lanes=536870912,null}var A=h.children;return h=h.fallback,v?(Ai(),v=o.mode,A=fd({mode:"hidden",children:A},v),h=vs(h,v,c,null),A.return=o,h.return=o,A.sibling=h,o.child=A,h=o.child,h.memoizedState=Op(c),h.childLanes=Tp(i,E,c),o.memoizedState=Rp,Jl(null,h)):(ji(o),Ip(o,A))}var I=i.memoizedState;if(I!==null&&(A=I.dehydrated,A!==null)){if(b)o.flags&256?(ji(o),o.flags&=-257,o=Lp(i,o,c)):o.memoizedState!==null?(Ai(),o.child=i.child,o.flags|=128,o=null):(Ai(),A=h.fallback,v=o.mode,h=fd({mode:"visible",children:h.children},v),A=vs(A,v,c,null),A.flags|=2,h.return=o,A.return=o,h.sibling=A,o.child=h,Es(o,i.child,null,c),h=o.child,h.memoizedState=Op(c),h.childLanes=Tp(i,E,c),o.memoizedState=Rp,o=Jl(null,h));else if(ji(o),mm(A)){if(E=A.nextSibling&&A.nextSibling.dataset,E)var F=E.dgst;E=F,h=Error(t(419)),h.stack="",h.digest=E,Ul({value:h,source:null,stack:null}),o=Lp(i,o,c)}else if(pr||co(i,o,c,!1),E=(c&i.childLanes)!==0,pr||E){if(E=yt,E!==null&&(h=Be(E,c),h!==0&&h!==I.retryLane))throw I.retryLane=h,gs(i,h),fn(E,i,h),jp;pm(A)||_d(),o=Lp(i,o,c)}else pm(A)?(o.flags|=192,o.child=i.child,o=null):(i=I.treeContext,Ct=Vn(A.nextSibling),zr=o,Ze=!0,Si=null,Hn=!1,i!==null&&y2(o,i),o=Ip(o,h.children),o.flags|=4096);return o}return v?(Ai(),A=h.fallback,v=o.mode,I=i.child,F=I.sibling,h=za(I,{mode:"hidden",children:h.children}),h.subtreeFlags=I.subtreeFlags&65011712,F!==null?A=za(F,A):(A=vs(A,v,c,null),A.flags|=2),A.return=o,h.return=o,h.sibling=A,o.child=h,Jl(null,h),h=o.child,A=i.child.memoizedState,A===null?A=Op(c):(v=A.cachePool,v!==null?(I=fr._currentValue,v=v.parent!==I?{parent:I,pool:I}:v):v=E2(),A={baseLanes:A.baseLanes|c,cachePool:v}),h.memoizedState=A,h.childLanes=Tp(i,E,c),o.memoizedState=Rp,Jl(i.child,h)):(ji(o),c=i.child,i=c.sibling,c=za(c,{mode:"visible",children:h.children}),c.return=o,c.sibling=null,i!==null&&(E=o.deletions,E===null?(o.deletions=[i],o.flags|=16):E.push(i)),o.child=c,o.memoizedState=null,c)}function Ip(i,o){return o=fd({mode:"visible",children:o},i.mode),o.return=i,i.child=o}function fd(i,o){return i=wn(22,i,null,o),i.lanes=0,i}function Lp(i,o,c){return Es(o,i.child,null,c),i=Ip(o,o.pendingProps.children),i.flags|=2,o.memoizedState=null,i}function Db(i,o,c){i.lanes|=o;var h=i.alternate;h!==null&&(h.lanes|=o),J0(i.return,o,c)}function $p(i,o,c,h,v,b){var E=i.memoizedState;E===null?i.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:c,tailMode:v,treeForkCount:b}:(E.isBackwards=o,E.rendering=null,E.renderingStartTime=0,E.last=h,E.tail=c,E.tailMode=v,E.treeForkCount=b)}function Ub(i,o,c){var h=o.pendingProps,v=h.revealOrder,b=h.tail;h=h.children;var E=er.current,A=(E&2)!==0;if(A?(E=E&1|2,o.flags|=128):E&=1,K(er,E),Fr(i,o,h,c),h=Ze?Dl:0,!A&&i!==null&&(i.flags&128)!==0)e:for(i=o.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Db(i,c,o);else if(i.tag===19)Db(i,c,o);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break e;for(;i.sibling===null;){if(i.return===null||i.return===o)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(v){case"forwards":for(c=o.child,v=null;c!==null;)i=c.alternate,i!==null&&ed(i)===null&&(v=c),c=c.sibling;c=v,c===null?(v=o.child,o.child=null):(v=c.sibling,c.sibling=null),$p(o,!1,v,c,b,h);break;case"backwards":case"unstable_legacy-backwards":for(c=null,v=o.child,o.child=null;v!==null;){if(i=v.alternate,i!==null&&ed(i)===null){o.child=v;break}i=v.sibling,v.sibling=c,c=v,v=i}$p(o,!0,c,null,b,h);break;case"together":$p(o,!1,null,null,void 0,h);break;default:o.memoizedState=null}return o.child}function Va(i,o,c){if(i!==null&&(o.dependencies=i.dependencies),Ti|=o.lanes,(c&o.childLanes)===0)if(i!==null){if(co(i,o,c,!1),(c&o.childLanes)===0)return null}else return null;if(i!==null&&o.child!==i.child)throw Error(t(153));if(o.child!==null){for(i=o.child,c=za(i,i.pendingProps),o.child=c,c.return=o;i.sibling!==null;)i=i.sibling,c=c.sibling=za(i,i.pendingProps),c.return=o;c.sibling=null}return o.child}function Dp(i,o){return(i.lanes&o)!==0?!0:(i=i.dependencies,!!(i!==null&&Vu(i)))}function TC(i,o,c){switch(o.tag){case 3:Ce(o,o.stateNode.containerInfo),Ci(o,fr,i.memoizedState.cache),ys();break;case 27:case 5:zt(o);break;case 4:Ce(o,o.stateNode.containerInfo);break;case 10:Ci(o,o.type,o.memoizedProps.value);break;case 31:if(o.memoizedState!==null)return o.flags|=128,lp(o),null;break;case 13:var h=o.memoizedState;if(h!==null)return h.dehydrated!==null?(ji(o),o.flags|=128,null):(c&o.child.childLanes)!==0?$b(i,o,c):(ji(o),i=Va(i,o,c),i!==null?i.sibling:null);ji(o);break;case 19:var v=(i.flags&128)!==0;if(h=(c&o.childLanes)!==0,h||(co(i,o,c,!1),h=(c&o.childLanes)!==0),v){if(h)return Ub(i,o,c);o.flags|=128}if(v=o.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),K(er,er.current),h)break;return null;case 22:return o.lanes=0,Ab(i,o,c,o.pendingProps);case 24:Ci(o,fr,i.memoizedState.cache)}return Va(i,o,c)}
vendor: 3,431 bytes, line 48
48function Pb(i,o,c){if(i!==null)if(i.memoizedProps!==o.pendingProps)pr=!0;else{if(!Dp(i,c)&&(o.flags&128)===0)return pr=!1,TC(i,o,c);pr=(i.flags&131072)!==0}else pr=!1,Ze&&(o.flags&1048576)!==0&&v2(o,Dl,o.index);switch(o.lanes=0,o.tag){case 16:e:{var h=o.pendingProps;if(i=ws(o.elementType),o.type=i,typeof i=="function")F0(i)?(h=Ms(i,h),o.tag=1,o=Ib(null,o,i,h,c)):(o.tag=0,o=Ap(null,o,i,h,c));else{if(i!=null){var v=i.$$typeof;if(v===O){o.tag=11,o=kb(null,o,i,h,c);break e}else if(v===D){o.tag=14,o=Nb(null,o,i,h,c);break e}}throw o=ce(i)||i,Error(t(306,o,""))}}return o;case 0:return Ap(i,o,o.type,o.pendingProps,c);case 1:return h=o.type,v=Ms(h,o.pendingProps),Ib(i,o,h,v,c);case 3:e:{if(Ce(o,o.stateNode.containerInfo),i===null)throw Error(t(387));h=o.pendingProps;var b=o.memoizedState;v=b.element,np(i,o),Gl(o,h,null,c);var E=o.memoizedState;if(h=E.cache,Ci(o,fr,h),h!==b.cache&&X0(o,[fr],c,!0),Hl(),h=E.element,b.isDehydrated)if(b={element:h,isDehydrated:!1,cache:E.cache},o.updateQueue.baseState=b,o.memoizedState=b,o.flags&256){o=Lb(i,o,h,c);break e}else if(h!==v){v=Bn(Error(t(424)),o),Ul(v),o=Lb(i,o,h,c);break e}else{switch(i=o.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(Ct=Vn(i.firstChild),zr=o,Ze=!0,Si=null,Hn=!0,c=A2(o,null,h,c),o.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(ys(),h===v){o=Va(i,o,c);break e}Fr(i,o,h,c)}o=o.child}return o;case 26:return dd(i,o),i===null?(c=Jx(o.type,null,o.pendingProps,null))?o.memoizedState=c:Ze||(c=o.type,i=o.pendingProps,h=Nd(oe.current).createElement(c),h[lt]=o,h[dr]=i,qr(h,c,i),Or(h),o.stateNode=h):o.memoizedState=Jx(o.type,i.memoizedProps,o.pendingProps,i.memoizedState),null;case 27:return zt(o),i===null&&Ze&&(h=o.stateNode=Yx(o.type,o.pendingProps,oe.current),zr=o,Hn=!0,v=Ct,Ui(o.type)?(gm=v,Ct=Vn(h.firstChild)):Ct=v),Fr(i,o,o.pendingProps.children,c),dd(i,o),i===null&&(o.flags|=4194304),o.child;case 5:return i===null&&Ze&&((v=h=Ct)&&(h=cM(h,o.type,o.pendingProps,Hn),h!==null?(o.stateNode=h,zr=o,Ct=Vn(h.firstChild),Hn=!1,v=!0):v=!1),v||Ei(o)),zt(o),v=o.type,b=o.pendingProps,E=i!==null?i.memoizedProps:null,h=b.children,dm(v,b)?h=null:E!==null&&dm(v,E)&&(o.flags|=32),o.memoizedState!==null&&(v=up(i,o,EC,null,null,c),dc._currentValue=v),dd(i,o),Fr(i,o,h,c),o.child;case 6:return i===null&&Ze&&((i=c=Ct)&&(c=uM(c,o.pendingProps,Hn),c!==null?(o.stateNode=c,zr=o,Ct=null,i=!0):i=!1),i||Ei(o)),null;case 13:return $b(i,o,c);case 4:return Ce(o,o.stateNode.containerInfo),h=o.pendingProps,i===null?o.child=Es(o,null,h,c):Fr(i,o,h,c),o.child;case 11:return kb(i,o,o.type,o.pendingProps,c);case 7:return Fr(i,o,o.pendingProps,c),o.child;case 8:return Fr(i,o,o.pendingProps.children,c),o.child;case 12:return Fr(i,o,o.pendingProps.children,c),o.child;case 10:return h=o.pendingProps,Ci(o,o.type,h.value),Fr(i,o,h.children,c),o.child;case 9:return v=o.type._context,h=o.pendingProps.children,xs(o),v=Br(v),h=h(v),o.flags|=1,Fr(i,o,h,c),o.child;case 14:return Nb(i,o,o.type,o.pendingProps,c);case 15:return jb(i,o,o.type,o.pendingProps,c);case 19:return Ub(i,o,c);case 31:return OC(i,o,c);case 22:return Ab(i,o,c,o.pendingProps);case 24:return xs(o),h=Br(fr),i===null?(v=ep(),v===null&&(v=yt,b=Q0(),v.pooledCache=b,b.refCount++,b!==null&&(v.pooledCacheLanes|=c),v=b),o.memoizedState={parent:h,cache:v},rp(o),Ci(o,fr,v)):((i.lanes&c)!==0&&(np(i,o),Gl(o,null,null,c),Hl()),v=i.memoizedState,b
vendor: 5,733 bytes, line 48
48=o.memoizedState,v.parent!==h?(v={parent:h,cache:h},o.memoizedState=v,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=v),Ci(o,fr,h)):(h=b.cache,Ci(o,fr,h),h!==v.cache&&X0(o,[fr],c,!0))),Fr(i,o,o.pendingProps.children,c),o.child;case 29:throw o.pendingProps}throw Error(t(156,o.tag))}function Ya(i){i.flags|=4}function Up(i,o,c,h,v){if((o=(i.mode&32)!==0)&&(o=!1),o){if(i.flags|=16777216,(v&335544128)===v)if(i.stateNode.complete)i.flags|=8192;else if(fx())i.flags|=8192;else throw Ss=Ju,tp}else i.flags&=-16777217}function zb(i,o){if(o.type!=="stylesheet"||(o.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!t5(o))if(fx())i.flags|=8192;else throw Ss=Ju,tp}function hd(i,o){o!==null&&(i.flags|=4),i.flags&16384&&(o=i.tag!==22?_r():536870912,i.lanes|=o,wo|=o)}function Xl(i,o){if(!Ze)switch(i.tailMode){case"hidden":o=i.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?i.tail=null:c.sibling=null;break;case"collapsed":c=i.tail;for(var h=null;c!==null;)c.alternate!==null&&(h=c),c=c.sibling;h===null?o||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Mt(i){var o=i.alternate!==null&&i.alternate.child===i.child,c=0,h=0;if(o)for(var v=i.child;v!==null;)c|=v.lanes|v.childLanes,h|=v.subtreeFlags&65011712,h|=v.flags&65011712,v.return=i,v=v.sibling;else for(v=i.child;v!==null;)c|=v.lanes|v.childLanes,h|=v.subtreeFlags,h|=v.flags,v.return=i,v=v.sibling;return i.subtreeFlags|=h,i.childLanes=c,o}function IC(i,o,c){var h=o.pendingProps;switch(V0(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Mt(o),null;case 1:return Mt(o),null;case 3:return c=o.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),o.memoizedState.cache!==h&&(o.flags|=2048),qa(fr),Ue(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(i===null||i.child===null)&&(lo(o)?Ya(o):i===null||i.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,K0())),Mt(o),null;case 26:var v=o.type,b=o.memoizedState;return i===null?(Ya(o),b!==null?(Mt(o),zb(o,b)):(Mt(o),Up(o,v,null,h,c))):b?b!==i.memoizedState?(Ya(o),Mt(o),zb(o,b)):(Mt(o),o.flags&=-16777217):(i=i.memoizedProps,i!==h&&Ya(o),Mt(o),Up(o,v,i,h,c)),null;case 27:if(Jt(o),c=oe.current,v=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&Ya(o);else{if(!h){if(o.stateNode===null)throw Error(t(166));return Mt(o),null}i=Z.current,lo(o)?b2(o):(i=Yx(v,h,c),o.stateNode=i,Ya(o))}return Mt(o),null;case 5:if(Jt(o),v=o.type,i!==null&&o.stateNode!=null)i.memoizedProps!==h&&Ya(o);else{if(!h){if(o.stateNode===null)throw Error(t(166));return Mt(o),null}if(b=Z.current,lo(o))b2(o);else{var E=Nd(oe.current);switch(b){case 1:b=E.createElementNS("http://www.w3.org/2000/svg",v);break;case 2:b=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;default:switch(v){case"svg":b=E.createElementNS("http://www.w3.org/2000/svg",v);break;case"math":b=E.createElementNS("http://www.w3.org/1998/Math/MathML",v);break;case"script":b=E.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof h.is=="string"?E.createElement("select",{is:h.is}):E.createElement("select"),h.multiple?b.multiple=!0:h.size&&(b.size=h.size);break;default:b=typeof h.is=="string"?E.createElement(v,{is:h.is}):E.createElement(v)}}b[lt]=o,b[dr]=h;e:for(E=o.child;E!==null;){if(E.tag===5||E.tag===6)b.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===o)break e;for(;E.sibling===null;){if(E.return===null||E.return===o)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}o.stateNode=b;e:switch(qr(b,v,h),v){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&Ya(o)}}return Mt(o),Up(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,c),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==h&&Ya(o);else{if(typeof h!="string"&&o.stateNode===null)throw Error(t(166));if(i=oe.current,lo(o)){if(i=o.stateNode,c=o.memoizedProps,h=null,v=zr,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[lt]=o,i=!!(i.nodeValue===c||h!==null&&h.suppressHydrationWarning===!0||$x(i.nodeValue,c)),i||Ei(o,!0)}else i=Nd(i).createTextNode(h),i[lt]=o,o.stateNode=i}return Mt(o),null;case 31:if(c=o.memoizedState,i===null||i.memoizedState!==null){if(h=lo(o),c!==null){if(i===null){if(!h)throw Error(t(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(t(557));i[lt]=o}else ys(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;Mt(o),i=!1}else c=K0(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=c),i=!0;if(!i)return o.flags&256?(En(o),o):(En(o),null);if((o.flags&128)!==0)throw Error(t(558))}return Mt(o),null;case 13:if(h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=lo(o),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(t(318));if(v=o.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(t(317));v[lt]=o}else ys(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;Mt(o),v=!1}else v=K0(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=v),v=!0;if(!v)return o.flags&256?(En(o),o):(En(o),null)}return En(o),(o.flags&128)!==0?(o.lanes=c,o):(c=h!==null,i=i!==null&&i.memoizedState!==null,c&&(h=o.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool),b=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(b=h.memoizedState.cachePool.pool),b!==v&&(h.flags|=2048)),c!==i&&c&&(o.child.flags|=8192),hd(o,o.updateQueue),Mt(o),null);case 4:return Ue(),i===null&&sm(o.stateNode.containerInfo),Mt(o),null;
vendor: 14,649 bytes, line 48
48case 10:return qa(o.type),Mt(o),null;case 19:if(G(er),h=o.memoizedState,h===null)return Mt(o),null;if(v=(o.flags&128)!==0,b=h.rendering,b===null)if(v)Xl(h,!1);else{if(Vt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(b=ed(i),b!==null){for(o.flags|=128,Xl(h,!1),i=b.updateQueue,o.updateQueue=i,hd(o,i),o.subtreeFlags=0,i=c,c=o.child;c!==null;)p2(c,i),c=c.sibling;return K(er,er.current&1|2),Ze&&Ba(o,h.treeForkCount),o.child}i=i.sibling}h.tail!==null&&lr()>yd&&(o.flags|=128,v=!0,Xl(h,!1),o.lanes=4194304)}else{if(!v)if(i=ed(b),i!==null){if(o.flags|=128,v=!0,i=i.updateQueue,o.updateQueue=i,hd(o,i),Xl(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!Ze)return Mt(o),null}else 2*lr()-h.renderingStartTime>yd&&c!==536870912&&(o.flags|=128,v=!0,Xl(h,!1),o.lanes=4194304);h.isBackwards?(b.sibling=o.child,o.child=b):(i=h.last,i!==null?i.sibling=b:o.child=b,h.last=b)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=lr(),i.sibling=null,c=er.current,K(er,v?c&1|2:c&1),Ze&&Ba(o,h.treeForkCount),i):(Mt(o),null);case 22:case 23:return En(o),op(),h=o.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(o.flags|=8192):h&&(o.flags|=8192),h?(c&536870912)!==0&&(o.flags&128)===0&&(Mt(o),o.subtreeFlags&6&&(o.flags|=8192)):Mt(o),c=o.updateQueue,c!==null&&hd(o,c.retryQueue),c=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==c&&(o.flags|=2048),i!==null&&G(_s),null;case 24:return c=null,i!==null&&(c=i.memoizedState.cache),o.memoizedState.cache!==c&&(o.flags|=2048),qa(fr),Mt(o),null;case 25:return null;case 30:return null}throw Error(t(156,o.tag))}function LC(i,o){switch(V0(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return qa(fr),Ue(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return Jt(o),null;case 31:if(o.memoizedState!==null){if(En(o),o.alternate===null)throw Error(t(340));ys()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(En(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(t(340));ys()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return G(er),null;case 4:return Ue(),null;case 10:return qa(o.type),null;case 22:case 23:return En(o),op(),i!==null&&G(_s),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return qa(fr),null;case 25:return null;default:return null}}function Bb(i,o){switch(V0(o),o.tag){case 3:qa(fr),Ue();break;case 26:case 27:case 5:Jt(o);break;case 4:Ue();break;case 31:o.memoizedState!==null&&En(o);break;case 13:En(o);break;case 19:G(er);break;case 10:qa(o.type);break;case 22:case 23:En(o),op(),i!==null&&G(_s);break;case 24:qa(fr)}}function Ql(i,o){try{var c=o.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var v=h.next;c=v;do{if((c.tag&i)===i){h=void 0;var b=c.create,E=c.inst;h=b(),E.destroy=h}c=c.next}while(c!==v)}}catch(A){ut(o,o.return,A)}}function Ri(i,o,c){try{var h=o.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var b=v.next;h=b;do{if((h.tag&i)===i){var E=h.inst,A=E.destroy;if(A!==void 0){E.destroy=void 0,v=o;var I=c,F=A;try{F()}catch(X){ut(v,I,X)}}}h=h.next}while(h!==b)}}catch(X){ut(o,o.return,X)}}function Fb(i){var o=i.updateQueue;if(o!==null){var c=i.stateNode;try{O2(o,c)}catch(h){ut(i,i.return,h)}}}function qb(i,o,c){c.props=Ms(i.type,i.memoizedProps),c.state=i.memoizedState;try{c.componentWillUnmount()}catch(h){ut(i,o,h)}}function Zl(i,o){try{var c=i.ref;if(c!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof c=="function"?i.refCleanup=c(h):c.current=h}}catch(v){ut(i,o,v)}}function Sa(i,o){var c=i.ref,h=i.refCleanup;if(c!==null)if(typeof h=="function")try{h()}catch(v){ut(i,o,v)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(v){ut(i,o,v)}else c.current=null}function Hb(i){var o=i.type,c=i.memoizedProps,h=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":c.autoFocus&&h.focus();break e;case"img":c.src?h.src=c.src:c.srcSet&&(h.srcset=c.srcSet)}}catch(v){ut(i,i.return,v)}}function Pp(i,o,c){try{var h=i.stateNode;nM(h,i.type,c,o),h[dr]=o}catch(v){ut(i,i.return,v)}}function Gb(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Ui(i.type)||i.tag===4}function zp(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Gb(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&Ui(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Bp(i,o,c){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(i,o):(o=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,o.appendChild(i),c=c._reactRootContainer,c!=null||o.onclick!==null||(o.onclick=Ua));else if(h!==4&&(h===27&&Ui(i.type)&&(c=i.stateNode,o=null),i=i.child,i!==null))for(Bp(i,o,c),i=i.sibling;i!==null;)Bp(i,o,c),i=i.sibling}function pd(i,o,c){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?c.insertBefore(i,o):c.appendChild(i);else if(h!==4&&(h===27&&Ui(i.type)&&(c=i.stateNode),i=i.child,i!==null))for(pd(i,o,c),i=i.sibling;i!==null;)pd(i,o,c),i=i.sibling}function Vb(i){var o=i.stateNode,c=i.memoizedProps;try{for(var h=i.type,v=o.attributes;v.length;)o.removeAttributeNode(v[0]);qr(o,h,c),o[lt]=i,o[dr]=c}catch(b){ut(i,i.return,b)}}var Ka=!1,mr=!1,Fp=!1,Yb=typeof WeakSet=="function"?WeakSet:Set,Tr=null;function $C(i,o){if(i=i.containerInfo,cm=Ld,i=i2(i),L0(i)){if("selectionStart"in i)var c={start:i.selectionStart,end:i.selectionEnd};else e:{c=(c=i.ownerDocument)&&c.defaultView||window;var h=c.getSelection&&c.getSelection();if(h&&h.rangeCount!==0){c=h.anchorNode;var v=h.anchorOffset,b=h.focusNode;h=h.focusOffset;try{c.nodeType,b.nodeType}catch{c=null;break e}var E=0,A=-1,I=-1,F=0,X=0,te=i,V=null;t:for(;;){for(var W;te!==c||v!==0&&te.nodeType!==3||(A=E+v),te!==b||h!==0&&te.nodeType!==3||(I=E+h),te.nodeType===3&&(E+=te.nodeValue.length),(W=te.firstChild)!==null;)V=te,te=W;for(;;){if(te===i)break t;if(V===c&&++F===v&&(A=E),V===b&&++X===h&&(I=E),(W=te.nextSibling)!==null)break;te=V,V=te.parentNode}te=W}c=A===-1||I===-1?null:{start:A,end:I}}else c=null}c=c||{start:0,end:0}}else c=null;for(um={focusedElem:i,selectionRange:c},Ld=!1,Tr=o;Tr!==null;)if(o=Tr,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,Tr=i;else for(;Tr!==null;){switch(o=Tr,b=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(c=0;c<i.length;c++)v=i[c],v.ref.impl=v.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&b!==null){i=void 0,c=o,v=b.memoizedProps,b=b.memoizedState,h=c.stateNode;try{var ve=Ms(c.type,v);i=h.getSnapshotBeforeUpdate(ve,b),h.__reactInternalSnapshotBeforeUpdate=i}catch(ke){ut(c,c.return,ke)}}break;case 3:if((i&1024)!==0){if(i=o.stateNode.containerInfo,c=i.nodeType,c===9)hm(i);else if(c===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":hm(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(t(163))}if(i=o.sibling,i!==null){i.return=o.return,Tr=i;break}Tr=o.return}}function Kb(i,o,c){var h=c.flags;switch(c.tag){case 0:case 11:case 15:Ja(i,c),h&4&&Ql(5,c);break;case 1:if(Ja(i,c),h&4)if(i=c.stateNode,o===null)try{i.componentDidMount()}catch(E){ut(c,c.return,E)}else{var v=Ms(c.type,o.memoizedProps);o=o.memoizedState;try{i.componentDidUpdate(v,o,i.__reactInternalSnapshotBeforeUpdate)}catch(E){ut(c,c.return,E)}}h&64&&Fb(c),h&512&&Zl(c,c.return);break;case 3:if(Ja(i,c),h&64&&(i=c.updateQueue,i!==null)){if(o=null,c.child!==null)switch(c.child.tag){case 27:case 5:o=c.child.stateNode;break;case 1:o=c.child.stateNode}try{O2(i,o)}catch(E){ut(c,c.return,E)}}break;case 27:o===null&&h&4&&Vb(c);case 26:case 5:Ja(i,c),o===null&&h&4&&Hb(c),h&512&&Zl(c,c.return);break;case 12:Ja(i,c);break;case 31:Ja(i,c),h&4&&Xb(i,c);break;case 13:Ja(i,c),h&4&&Qb(i,c),h&64&&(i=c.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(c=GC.bind(null,c),dM(i,c))));break;case 22:if(h=c.memoizedState!==null||Ka,!h){o=o!==null&&o.memoizedState!==null||mr,v=Ka;var b=mr;Ka=h,(mr=o)&&!b?Xa(i,c,(c.subtreeFlags&8772)!==0):Ja(i,c),Ka=v,mr=b}break;case 30:break;default:Ja(i,c)}}function Wb(i){var o=i.alternate;o!==null&&(i.alternate=null,Wb(o)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(o=i.stateNode,o!==null&&y0(o)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var It=null,ln=!1;function Wa(i,o,c){for(c=c.child;c!==null;)Jb(i,o,c),c=c.sibling}function Jb(i,o,c){if(Ft&&typeof Ft.onCommitFiberUnmount=="function")try{Ft.onCommitFiberUnmount(In,c)}catch{}switch(c.tag){case 26:mr||Sa(c,o),Wa(i,o,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:mr||Sa(c,o);var h=It,v=ln;Ui(c.type)&&(It=c.stateNode,ln=!1),Wa(i,o,c),lc(c.stateNode),It=h,ln=v;break;case 5:mr||Sa(c,o);case 6:if(h=It,v=ln,It=null,Wa(i,o,c),It=h,ln=v,It!==null)if(ln)try{(It.nodeType===9?It.body:It.nodeName==="HTML"?It.ownerDocument.body:It).removeChild(c.stateNode)}catch(b){ut(c,o,b)}else try{It.removeChild(c.stateNode)}catch(b){ut(c,o,b)}break;case 18:It!==null&&(ln?(i=It,Fx(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,c.stateNode),Ao(i)):Fx(It,c.stateNode));break;case 4:h=It,v=ln,It=c.stateNode.containerInfo,ln=!0,Wa(i,o,c),It=h,ln=v;break;case 0:case 11:case 14:case 15:Ri(2,c,o),mr||Ri(4,c,o),Wa(i,o,c);break;case 1:mr||(Sa(c,o),h=c.stateNode,typeof h.componentWillUnmount=="function"&&qb(c,o,h)),Wa(i,o,c);break;case 21:Wa(i,o,c);break;case 22:mr=(h=mr)||c.memoizedState!==null,Wa(i,o,c),mr=h;break;default:Wa(i,o,c)}}function Xb(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{Ao(i)}catch(c){ut(o,o.return,c)}}}function Qb(i,o){if(o.memoizedState===null&&(i=o.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{Ao(i)}catch(c){ut(o,o.return,c)}}function DC(i){switch(i.tag){case 31:case 13:case 19:var o=i.stateNode;return o===null&&(o=i.stateNode=new Yb),o;case 22:return i=i.stateNode,o=i._retryCache,o===null&&(o=i._retryCache=new Yb),o;default:throw Error(t(435,i.tag))}}function md(i,o){var c=DC(i);o.forEach(function(h){if(!c.has(h)){c.add(h);var v=VC.bind(null,i,h);h.then(v,v)}})}function cn(i,o){var c=o.deletions;if(c!==null)for(var h=0;h<c.length;h++){var v=c[h],b=i,E=o,A=E;e:for(;A!==null;){switch(A.tag){case 27:if(Ui(A.type)){It=A.stateNode,ln=!1;break e}break;case 5:It=A.stateNode,ln=!1;break e;case 3:case 4:It=A.stateNode.containerInfo,ln=!0;break e}A=A.return}if(It===null)throw Error(t(160));Jb(b,E,v),It=null,ln=!1,b=v.alternate,b!==null&&(b.return=null),v.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Zb(o,i),o=o.sibling}var na=null;function Zb(i,o){var c=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:cn(o,i),un(i),h&4&&(Ri(3,i,i.return),Ql(3,i),Ri(5,i,i.return));break;case 1:cn(o,i),un(i),h&512&&(mr||c===null||Sa(c,c.return)),h&64&&Ka&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(c=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=c===null?h:c.concat(h))));break;case 26:var v=na;if(cn(o,i),un(i),h&512&&(mr||c===null||Sa(c,c.return)),h&4){var b=c!==null?c.memoizedState:null;if(h=i.memoizedState,c===null)if(h===null)if(i.stateNode===null){e:{h=i.type,c=i.memoizedProps,v=v.ownerDocument||v;t:switch(h){case"title":b=v.getElementsByTagName("title")[0],(!b||b[xi]||b[lt]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=v.createElement(h),v.head.insertBefore(b,v.querySelector("head > title"))),qr(b,h,c),b[lt]=i,Or(b),h=b;break e;case"link":var E=Zx("link","href",v).get(h+(c.href||""));if(E){for(var A=0;A<E.length;A++)if(b=E[A],b.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&b.getAttribute("rel")===(c.rel==null?null:c.rel)&&b.getAttribute("title")===(c.title==null?null:c.title)&&b.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){E.splice(A,1);break t}}b=v.createElement(h),qr(b,h,c),v.head.appendChild(b);break;case"meta":if(E=Zx("meta","content",v).get(h+(c.content||""))){for(A=0;A<E.length;A++)if(b=E[A],b.getAttribute("content")===(c.content==null?null:""+c.content)&&b.getAttribute("name")===(c.name==null?null:c.name)&&b.getAttribute("property")===(c.property==null?null:c.property)&&b.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&b.getAttribute("charset")===(c.charSet==null?null:c.charSet)){E.splice(A,1);break t}}b=v.createElement(h),qr(b,h,c),v.head.appendChild(b);break;default:throw Error(t(468,h))}b[lt]=i,Or(b),h=b}i.stateNode=h}else e5(v,i.type,i.stateNode);else i.stateNode=Qx(v,h,i.memoizedProps);else b!==h?(b===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,h===null?e5(v,i.type,i.stateNode):Qx(v,h,i.memoizedProps)):h===null&&i.stateNode!==null&&Pp(i,i.memoizedProps,c.memoizedProps)}break;case 27:cn(o,i),un(i),h&512&&(mr||c===null||Sa(c,c.return)),c!==null&&h&4&&Pp(i,i.memoizedProps,c.memoizedProps);break;case 5:if(cn(o,i),un(i),h&512&&(mr||c===null||Sa(c,c.return)),i.flags&32){v=i.stateNode;try{Qs(v,"")}catch(ve){ut(i,i.return,ve)}}h&4&&i.stateNode!=null&&(v=i.memoizedProps,Pp(i,v,c!==null?c.memoizedProps:v)),h&1024&&(Fp=!0);break;case 6:if(cn(o,i),un(i),h&4){if(i.stateNode===null)throw Error(t(162));h=i.memoizedProps,c=i.stateNode;try{c.nodeValue=h}catch(ve){ut(i,i.return,ve)}}break;case 3:if(Rd=null,v=na,na=jd(o.containerInfo),cn(o,i),na=v,un(i),h&4&&c!==null&&c.memoizedState.isDehydrated)try{Ao(o.containerInfo)}catch(ve){ut(i,i.return,ve)}Fp&&(Fp=!1,ex(i));break;case 4:h=na,na=jd(i.stateNode.containerInfo),cn(o,i),un(i),na=h;break;case 12:cn(o,i),un(i);break;case 31:cn(o,i),un(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,md(i,h)));break;case 13:cn(o,i),un(i),i.child.flags&8192&&i.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(vd=lr()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,md(i,h)));break;case 22:v=i.memoizedState!==null;var I=c!==null&&c.memoizedState!==null,F=Ka,X=mr;if(Ka=F||v,mr=X||I,cn(o,i),mr=X,Ka=F,un(i),h&8192)e:for(o=i.stateNode,o._visibility=v?o._visibility&-2:o._visibility|1,v&&(c===null||I||Ka||mr||ks(i)),c=null,o=i;;
vendor: 10,975 bytes, line 48
48){if(o.tag===5||o.tag===26){if(c===null){I=c=o;try{if(b=I.stateNode,v)E=b.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none";else{A=I.stateNode;var te=I.memoizedProps.style,V=te!=null&&te.hasOwnProperty("display")?te.display:null;A.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ve){ut(I,I.return,ve)}}}else if(o.tag===6){if(c===null){I=o;try{I.stateNode.nodeValue=v?"":I.memoizedProps}catch(ve){ut(I,I.return,ve)}}}else if(o.tag===18){if(c===null){I=o;try{var W=I.stateNode;v?qx(W,!0):qx(I.stateNode,!1)}catch(ve){ut(I,I.return,ve)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===i)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;c===o&&(c=null),o=o.return}c===o&&(c=null),o.sibling.return=o.return,o=o.sibling}h&4&&(h=i.updateQueue,h!==null&&(c=h.retryQueue,c!==null&&(h.retryQueue=null,md(i,c))));break;case 19:cn(o,i),un(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,md(i,h)));break;case 30:break;case 21:break;default:cn(o,i),un(i)}}function un(i){var o=i.flags;if(o&2){try{for(var c,h=i.return;h!==null;){if(Gb(h)){c=h;break}h=h.return}if(c==null)throw Error(t(160));switch(c.tag){case 27:var v=c.stateNode,b=zp(i);pd(i,b,v);break;case 5:var E=c.stateNode;c.flags&32&&(Qs(E,""),c.flags&=-33);var A=zp(i);pd(i,A,E);break;case 3:case 4:var I=c.stateNode.containerInfo,F=zp(i);Bp(i,F,I);break;default:throw Error(t(161))}}catch(X){ut(i,i.return,X)}i.flags&=-3}o&4096&&(i.flags&=-4097)}function ex(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var o=i;ex(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),i=i.sibling}}function Ja(i,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Kb(i,o.alternate,o),o=o.sibling}function ks(i){for(i=i.child;i!==null;){var o=i;switch(o.tag){case 0:case 11:case 14:case 15:Ri(4,o,o.return),ks(o);break;case 1:Sa(o,o.return);var c=o.stateNode;typeof c.componentWillUnmount=="function"&&qb(o,o.return,c),ks(o);break;case 27:lc(o.stateNode);case 26:case 5:Sa(o,o.return),ks(o);break;case 22:o.memoizedState===null&&ks(o);break;case 30:ks(o);break;default:ks(o)}i=i.sibling}}function Xa(i,o,c){for(c=c&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;){var h=o.alternate,v=i,b=o,E=b.flags;switch(b.tag){case 0:case 11:case 15:Xa(v,b,c),Ql(4,b);break;case 1:if(Xa(v,b,c),h=b,v=h.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(F){ut(h,h.return,F)}if(h=b,v=h.updateQueue,v!==null){var A=h.stateNode;try{var I=v.shared.hiddenCallbacks;if(I!==null)for(v.shared.hiddenCallbacks=null,v=0;v<I.length;v++)R2(I[v],A)}catch(F){ut(h,h.return,F)}}c&&E&64&&Fb(b),Zl(b,b.return);break;case 27:Vb(b);case 26:case 5:Xa(v,b,c),c&&h===null&&E&4&&Hb(b),Zl(b,b.return);break;case 12:Xa(v,b,c);break;case 31:Xa(v,b,c),c&&E&4&&Xb(v,b);break;case 13:Xa(v,b,c),c&&E&4&&Qb(v,b);break;case 22:b.memoizedState===null&&Xa(v,b,c),Zl(b,b.return);break;case 30:break;default:Xa(v,b,c)}o=o.sibling}}function qp(i,o){var c=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),i=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(i=o.memoizedState.cachePool.pool),i!==c&&(i!=null&&i.refCount++,c!=null&&Pl(c))}function Hp(i,o){i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Pl(i))}function aa(i,o,c,h){if(o.subtreeFlags&10256)for(o=o.child;o!==null;)tx(i,o,c,h),o=o.sibling}function tx(i,o,c,h){var v=o.flags;switch(o.tag){case 0:case 11:case 15:aa(i,o,c,h),v&2048&&Ql(9,o);break;case 1:aa(i,o,c,h);break;case 3:aa(i,o,c,h),v&2048&&(i=null,o.alternate!==null&&(i=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==i&&(o.refCount++,i!=null&&Pl(i)));break;case 12:if(v&2048){aa(i,o,c,h),i=o.stateNode;try{var b=o.memoizedProps,E=b.id,A=b.onPostCommit;typeof A=="function"&&A(E,o.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(I){ut(o,o.return,I)}}else aa(i,o,c,h);break;case 31:aa(i,o,c,h);break;case 13:aa(i,o,c,h);break;case 23:break;case 22:b=o.stateNode,E=o.alternate,o.memoizedState!==null?b._visibility&2?aa(i,o,c,h):ec(i,o):b._visibility&2?aa(i,o,c,h):(b._visibility|=2,bo(i,o,c,h,(o.subtreeFlags&10256)!==0||!1)),v&2048&&qp(E,o);break;case 24:aa(i,o,c,h),v&2048&&Hp(o.alternate,o);break;default:aa(i,o,c,h)}}function bo(i,o,c,h,v){for(v=v&&((o.subtreeFlags&10256)!==0||!1),o=o.child;o!==null;){var b=i,E=o,A=c,I=h,F=E.flags;switch(E.tag){case 0:case 11:case 15:bo(b,E,A,I,v),Ql(8,E);break;case 23:break;case 22:var X=E.stateNode;E.memoizedState!==null?X._visibility&2?bo(b,E,A,I,v):ec(b,E):(X._visibility|=2,bo(b,E,A,I,v)),v&&F&2048&&qp(E.alternate,E);break;case 24:bo(b,E,A,I,v),v&&F&2048&&Hp(E.alternate,E);break;default:bo(b,E,A,I,v)}o=o.sibling}}function ec(i,o){if(o.subtreeFlags&10256)for(o=o.child;o!==null;){var c=i,h=o,v=h.flags;switch(h.tag){case 22:ec(c,h),v&2048&&qp(h.alternate,h);break;case 24:ec(c,h),v&2048&&Hp(h.alternate,h);break;default:ec(c,h)}o=o.sibling}}var tc=8192;function xo(i,o,c){if(i.subtreeFlags&tc)for(i=i.child;i!==null;)rx(i,o,c),i=i.sibling}function rx(i,o,c){switch(i.tag){case 26:xo(i,o,c),i.flags&tc&&i.memoizedState!==null&&SM(c,na,i.memoizedState,i.memoizedProps);break;case 5:xo(i,o,c);break;case 3:case 4:var h=na;na=jd(i.stateNode.containerInfo),xo(i,o,c),na=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=tc,tc=16777216,xo(i,o,c),tc=h):xo(i,o,c));break;default:xo(i,o,c)}}function nx(i){var o=i.alternate;if(o!==null&&(i=o.child,i!==null)){o.child=null;do o=i.sibling,i.sibling=null,i=o;while(i!==null)}}function rc(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];Tr=h,ix(h,i)}nx(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)ax(i),i=i.sibling}function ax(i){switch(i.tag){case 0:case 11:case 15:rc(i),i.flags&2048&&Ri(9,i,i.return);break;case 3:rc(i);break;case 12:rc(i);break;case 22:var o=i.stateNode;i.memoizedState!==null&&o._visibility&2&&(i.return===null||i.return.tag!==13)?(o._visibility&=-3,gd(i)):rc(i);break;default:rc(i)}}function gd(i){var o=i.deletions;if((i.flags&16)!==0){if(o!==null)for(var c=0;c<o.length;c++){var h=o[c];Tr=h,ix(h,i)}nx(i)}for(i=i.child;i!==null;){switch(o=i,o.tag){case 0:case 11:case 15:Ri(8,o,o.return),gd(o);break;case 22:c=o.stateNode,c._visibility&2&&(c._visibility&=-3,gd(o));break;default:gd(o)}i=i.sibling}}function ix(i,o){for(;Tr!==null;){var c=Tr;switch(c.tag){case 0:case 11:case 15:Ri(8,c,o);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var h=c.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Pl(c.memoizedState.cache)}if(h=c.child,h!==null)h.return=c,Tr=h;else e:for(c=i;Tr!==null;){h=Tr;var v=h.sibling,b=h.return;if(Wb(h),h===c){Tr=null;break e}if(v!==null){v.return=b,Tr=v;break e}Tr=b}}}var UC={getCacheForType:function(i){var o=Br(fr),c=o.data.get(i);return c===void 0&&(c=i(),o.data.set(i,c)),c},cacheSignal:function(){return Br(fr).controller.signal}},PC=typeof WeakMap=="function"?WeakMap:Map,ot=0,yt=null,Ye=null,We=0,ct=0,Cn=null,Oi=!1,_o=!1,Gp=!1,Qa=0,Vt=0,Ti=0,Ns=0,Vp=0,Mn=0,wo=0,nc=null,dn=null,Yp=!1,vd=0,sx=0,yd=1/0,bd=null,Ii=null,wr=0,Li=null,So=null,Za=0,Kp=0,Wp=null,ox=null,ac=0,Jp=null;function kn(){return(ot&2)!==0&&We!==0?We&-We:U.T!==null?rm():$n()}function lx(){if(Mn===0)if((We&536870912)===0||Ze){var i=ba;ba<<=1,(ba&3932160)===0&&(ba=262144),Mn=i}else Mn=536870912;return i=Sn.current,i!==null&&(i.flags|=32),Mn}function fn(i,o,c){(i===yt&&(ct===2||ct===9)||i.cancelPendingCommit!==null)&&(Eo(i,0),$i(i,We,Mn,!1)),Et(i,c),((ot&2)===0||i!==yt)&&(i===yt&&((ot&2)===0&&(Ns|=c),Vt===4&&$i(i,We,Mn,!1)),Ea(i))}function cx(i,o,c){if((ot&6)!==0)throw Error(t(327));var h=!c&&(o&127)===0&&(o&i.expiredLanes)===0||bt(i,o),v=h?FC(i,o):Qp(i,o,!0),b=h;do{if(v===0){_o&&!h&&$i(i,o,0,!1);break}else{if(c=i.current.alternate,b&&!zC(c)){v=Qp(i,o,!1),b=!1;continue}if(v===2){if(b=o,i.errorRecoveryDisabledLanes&b)var E=0;else E=i.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){o=E;e:{var A=i;v=nc;var I=A.current.memoizedState.isDehydrated;if(I&&(Eo(A,E).flags|=256),E=Qp(A,E,!1),E!==2){if(Gp&&!I){A.errorRecoveryDisabledLanes|=b,Ns|=b,v=4;break e}b=dn,dn=v,b!==null&&(dn===null?dn=b:dn.push.apply(dn,b))}v=E}if(b=!1,v!==2)continue}}if(v===1){Eo(i,0),$i(i,o,0,!0);break}e:{switch(h=i,b=v,b){case 0:case 1:throw Error(t(345));case 4:if((o&4194048)!==o)break;case 6:$i(h,o,Mn,!Oi);break e;case 2:dn=null;break;case 3:case 5:break;default:throw Error(t(329))}if((o&62914560)===o&&(v=vd+300-lr(),10<v)){if($i(h,o,Mn,!Oi),Oe(h,0,!0)!==0)break e;Za=o,h.timeoutHandle=zx(ux.bind(null,h,c,dn,bd,Yp,o,Mn,Ns,wo,Oi,b,"Throttled",-0,0),v);break e}ux(h,c,dn,bd,Yp,o,Mn,Ns,wo,Oi,b,null,-0,0)}}break}while(!0);Ea(i)}function ux(i,o,c,h,v,b,E,A,I,F,X,te,V,W){if(i.timeoutHandle=-1,te=o.subtreeFlags,te&8192||(te&16785408)===16785408){te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ua},rx(o,b,te);var ve=(b&62914560)===b?vd-lr():(b&4194048)===b?sx-lr():0;if(ve=EM(te,ve),ve!==null){Za=b,i.cancelPendingCommit=ve(yx.bind(null,i,o,b,c,h,v,E,A,I,X,te,null,V,W)),$i(i,b,E,!F);return}}yx(i,o,b,c,h,v,E,A,I)}function zC(i){for(var o=i;;){var c=o.tag;if((c===0||c===11||c===15)&&o.flags&16384&&(c=o.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var h=0;h<c.length;h++){var v=c[h],b=v.getSnapshot;v=v.value;try{if(!_n(b(),v))return!1}catch{return!1}}if(c=o.child,o.subtreeFlags&16384&&c!==null)c.return=o,o=c;else{if(o===i)break;for(;o.sibling===null;){if(o.return===null||o.return===i)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function $i(i,o,c,h){o&=~Vp,o&=~Ns,i.suspendedLanes|=o,i.pingedLanes&=~o,h&&(i.warmLanes|=o),h=i.expirationTimes;for(var v=o;0<v;){var b=31-rt(v),E=1<<b;h[b]=-1,v&=~E}c!==0&&se(i,c,o)}function xd(){return(ot&6)===0?(ic(0),!1):!0}function Xp(){if(Ye!==null){if(ct===0)var i=Ye.return;else i=Ye,Fa=bs=null,hp(i),po=null,Bl=0,i=Ye;for(;i!==null;)Bb(i.alternate,i),i=i.return;Ye=null}}function Eo(i,o){var c=i.timeoutHandle;c!==-1&&(i.timeoutHandle=-1,sM(c)),c=i.cancelPendingCommit,c!==null&&(i.cancelPendingCommit=null,c()),Za=0,Xp(),yt=i,Ye=c=za(i.current,null),We=o,ct=0,Cn=null,Oi=!1,_o=bt(i,o),Gp=!1,wo=Mn=Vp=Ns=Ti=Vt=0,dn=nc=null,Yp=!1,(o&8)!==0&&(o|=o&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=o;0<h;){var v=31-rt(h),b=1<<v;o|=i[v],h&=~b}return Qa=o,Bu(),c}function dx(i,o){ze=null,U.H=Wl,o===ho||o===Wu?(o=k2(),ct=3):o===tp?(o=k2(),ct=4):ct=o===jp?8:o!==null&&typeof o=="object"&&typeof o.then=="function"?6:1,Cn=o,Ye===null&&(Vt=1,cd(i,Bn(o,i.current)))}function fx(){var i=Sn.current;return i===null?!0:(We&4194048)===We?Gn===null:(We&62914560)===We||(We&536870912)!==0?i===Gn:!1}function hx(){var i=U.H;return U.H=Wl,i===null?Wl:i}function px(){var i=U.A;return U.A=UC,i}
vendor: 2,678 bytes, line 48
48function _d(){Vt=4,Oi||(We&4194048)!==We&&Sn.current!==null||(_o=!0),(Ti&134217727)===0&&(Ns&134217727)===0||yt===null||$i(yt,We,Mn,!1)}function Qp(i,o,c){var h=ot;ot|=2;var v=hx(),b=px();(yt!==i||We!==o)&&(bd=null,Eo(i,o)),o=!1;var E=Vt;e:do try{if(ct!==0&&Ye!==null){var A=Ye,I=Cn;switch(ct){case 8:Xp(),E=6;break e;case 3:case 2:case 9:case 6:Sn.current===null&&(o=!0);var F=ct;if(ct=0,Cn=null,Co(i,A,I,F),c&&_o){E=0;break e}break;default:F=ct,ct=0,Cn=null,Co(i,A,I,F)}}BC(),E=Vt;break}catch(X){dx(i,X)}while(!0);return o&&i.shellSuspendCounter++,Fa=bs=null,ot=h,U.H=v,U.A=b,Ye===null&&(yt=null,We=0,Bu()),E}function BC(){for(;Ye!==null;)mx(Ye)}function FC(i,o){var c=ot;ot|=2;var h=hx(),v=px();yt!==i||We!==o?(bd=null,yd=lr()+500,Eo(i,o)):_o=bt(i,o);e:do try{if(ct!==0&&Ye!==null){o=Ye;var b=Cn;t:switch(ct){case 1:ct=0,Cn=null,Co(i,o,b,1);break;case 2:case 9:if(C2(b)){ct=0,Cn=null,gx(o);break}o=function(){ct!==2&&ct!==9||yt!==i||(ct=7),Ea(i)},b.then(o,o);break e;case 3:ct=7;break e;case 4:ct=5;break e;case 7:C2(b)?(ct=0,Cn=null,gx(o)):(ct=0,Cn=null,Co(i,o,b,7));break;case 5:var E=null;switch(Ye.tag){case 26:E=Ye.memoizedState;case 5:case 27:var A=Ye;if(E?t5(E):A.stateNode.complete){ct=0,Cn=null;var I=A.sibling;if(I!==null)Ye=I;else{var F=A.return;F!==null?(Ye=F,wd(F)):Ye=null}break t}}ct=0,Cn=null,Co(i,o,b,5);break;case 6:ct=0,Cn=null,Co(i,o,b,6);break;case 8:Xp(),Vt=6;break e;default:throw Error(t(462))}}qC();break}catch(X){dx(i,X)}while(!0);return Fa=bs=null,U.H=h,U.A=v,ot=c,Ye!==null?0:(yt=null,We=0,Bu(),Vt)}function qC(){for(;Ye!==null&&!Qt();)mx(Ye)}function mx(i){var o=Pb(i.alternate,i,Qa);i.memoizedProps=i.pendingProps,o===null?wd(i):Ye=o}function gx(i){var o=i,c=o.alternate;switch(o.tag){case 15:case 0:o=Tb(c,o,o.pendingProps,o.type,void 0,We);break;case 11:o=Tb(c,o,o.pendingProps,o.type.render,o.ref,We);break;case 5:hp(o);default:Bb(c,o),o=Ye=p2(o,Qa),o=Pb(c,o,Qa)}i.memoizedProps=i.pendingProps,o===null?wd(i):Ye=o}function Co(i,o,c,h){Fa=bs=null,hp(o),po=null,Bl=0;var v=o.return;try{if(RC(i,v,o,c,We)){Vt=1,cd(i,Bn(c,i.current)),Ye=null;return}}catch(b){if(v!==null)throw Ye=v,b;Vt=1,cd(i,Bn(c,i.current)),Ye=null;return}o.flags&32768?(Ze||h===1?i=!0:_o||(We&536870912)!==0?i=!1:(Oi=i=!0,(h===2||h===9||h===3||h===6)&&(h=Sn.current,h!==null&&h.tag===13&&(h.flags|=16384))),vx(o,i)):wd(o)}function wd(i){var o=i;do{if((o.flags&32768)!==0){vx(o,Oi);return}i=o.return;var c=IC(o.alternate,o,Qa);if(c!==null){Ye=c;return}if(o=o.sibling,o!==null){Ye=o;return}Ye=o=i}while(o!==null);Vt===0&&(Vt=5)}function vx(i,o){do{var c=LC(i.alternate,i);if(c!==null){c.flags&=32767,Ye=c;return}if(c=i.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deleti
vendor: 10,489 bytes, line 48
48ons=null),!o&&(i=i.sibling,i!==null)){Ye=i;return}Ye=i=c}while(i!==null);Vt=6,Ye=null}function yx(i,o,c,h,v,b,E,A,I){i.cancelPendingCommit=null;do Sd();while(wr!==0);if((ot&6)!==0)throw Error(t(327));if(o!==null){if(o===i.current)throw Error(t(177));if(b=o.lanes|o.childLanes,b|=z0,Kr(i,c,b,E,A,I),i===yt&&(Ye=yt=null,We=0),So=o,Li=i,Za=c,Kp=b,Wp=v,ox=h,(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,YC(On,function(){return Sx(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||h){h=U.T,U.T=null,v=H.p,H.p=2,E=ot,ot|=4;try{$C(i,o,c)}finally{ot=E,H.p=v,U.T=h}}wr=1,bx(),xx(),_x()}}function bx(){if(wr===1){wr=0;var i=Li,o=So,c=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||c){c=U.T,U.T=null;var h=H.p;H.p=2;var v=ot;ot|=4;try{Zb(o,i);var b=um,E=i2(i.containerInfo),A=b.focusedElem,I=b.selectionRange;if(E!==A&&A&&A.ownerDocument&&a2(A.ownerDocument.documentElement,A)){if(I!==null&&L0(A)){var F=I.start,X=I.end;if(X===void 0&&(X=F),"selectionStart"in A)A.selectionStart=F,A.selectionEnd=Math.min(X,A.value.length);else{var te=A.ownerDocument||document,V=te&&te.defaultView||window;if(V.getSelection){var W=V.getSelection(),ve=A.textContent.length,ke=Math.min(I.start,ve),gt=I.end===void 0?ke:Math.min(I.end,ve);!W.extend&&ke>gt&&(E=gt,gt=ke,ke=E);var P=n2(A,ke),L=n2(A,gt);if(P&&L&&(W.rangeCount!==1||W.anchorNode!==P.node||W.anchorOffset!==P.offset||W.focusNode!==L.node||W.focusOffset!==L.offset)){var B=te.createRange();B.setStart(P.node,P.offset),W.removeAllRanges(),ke>gt?(W.addRange(B),W.extend(L.node,L.offset)):(B.setEnd(L.node,L.offset),W.addRange(B))}}}}for(te=[],W=A;W=W.parentNode;)W.nodeType===1&&te.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;A<te.length;A++){var Q=te[A];Q.element.scrollLeft=Q.left,Q.element.scrollTop=Q.top}}Ld=!!cm,um=cm=null}finally{ot=v,H.p=h,U.T=c}}i.current=o,wr=2}}function xx(){if(wr===2){wr=0;var i=Li,o=So,c=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||c){c=U.T,U.T=null;var h=H.p;H.p=2;var v=ot;ot|=4;try{Kb(i,o.alternate,o)}finally{ot=v,H.p=h,U.T=c}}wr=3}}function _x(){if(wr===4||wr===3){wr=0,sn();var i=Li,o=So,c=Za,h=ox;(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?wr=5:(wr=0,So=Li=null,wx(i,i.pendingLanes));var v=i.pendingLanes;if(v===0&&(Ii=null),Tt(c),o=o.stateNode,Ft&&typeof Ft.onCommitFiberRoot=="function")try{Ft.onCommitFiberRoot(In,o,void 0,(o.current.flags&128)===128)}catch{}if(h!==null){o=U.T,v=H.p,H.p=2,U.T=null;try{for(var b=i.onRecoverableError,E=0;E<h.length;E++){var A=h[E];b(A.value,{componentStack:A.stack})}}finally{U.T=o,H.p=v}}(Za&3)!==0&&Sd(),Ea(i),v=i.pendingLanes,(c&261930)!==0&&(v&42)!==0?i===Jp?ac++:(ac=0,Jp=i):ac=0,ic(0)}}function wx(i,o){(i.pooledCacheLanes&=o)===0&&(o=i.pooledCache,o!=null&&(i.pooledCache=null,Pl(o)))}function Sd(){return bx(),xx(),_x(),Sx()}function Sx(){if(wr!==5)return!1;var i=Li,o=Kp;Kp=0;var c=Tt(Za),h=U.T,v=H.p;try{H.p=32>c?32:c,U.T=null,c=Wp,Wp=null;var b=Li,E=Za;if(wr=0,So=Li=null,Za=0,(ot&6)!==0)throw Error(t(331));var A=ot;if(ot|=4,ax(b.current),tx(b,b.current,E,c),ot=A,ic(0,!1),Ft&&typeof Ft.onPostCommitFiberRoot=="function")try{Ft.onPostCommitFiberRoot(In,b)}catch{}return!0}finally{H.p=v,U.T=h,wx(i,o)}}function Ex(i,o,c){o=Bn(c,o),o=Np(i.stateNode,o,2),i=Ni(i,o,2),i!==null&&(Et(i,2),Ea(i))}function ut(i,o,c){if(i.tag===3)Ex(i,i,c);else for(;o!==null;){if(o.tag===3){Ex(o,i,c);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Ii===null||!Ii.has(h))){i=Bn(c,i),c=Cb(2),h=Ni(o,c,2),h!==null&&(Mb(c,h,o,i),Et(h,2),Ea(h));break}}o=o.return}}function Zp(i,o,c){var h=i.pingCache;if(h===null){h=i.pingCache=new PC;var v=new Set;h.set(o,v)}else v=h.get(o),v===void 0&&(v=new Set,h.set(o,v));v.has(c)||(Gp=!0,v.add(c),i=HC.bind(null,i,o,c),o.then(i,i))}function HC(i,o,c){var h=i.pingCache;h!==null&&h.delete(o),i.pingedLanes|=i.suspendedLanes&c,i.warmLanes&=~c,yt===i&&(We&c)===c&&(Vt===4||Vt===3&&(We&62914560)===We&&300>lr()-vd?(ot&2)===0&&Eo(i,0):Vp|=c,wo===We&&(wo=0)),Ea(i)}function Cx(i,o){o===0&&(o=_r()),i=gs(i,o),i!==null&&(Et(i,o),Ea(i))}function GC(i){var o=i.memoizedState,c=0;o!==null&&(c=o.retryLane),Cx(i,c)}function VC(i,o){var c=0;switch(i.tag){case 31:case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(c=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(t(314))}h!==null&&h.delete(o),Cx(i,c)}function YC(i,o){return kr(i,o)}var Ed=null,Mo=null,em=!1,Cd=!1,tm=!1,Di=0;function Ea(i){i!==Mo&&i.next===null&&(Mo===null?Ed=Mo=i:Mo=Mo.next=i),Cd=!0,em||(em=!0,WC())}function ic(i,o){if(!tm&&Cd){tm=!0;do for(var c=!1,h=Ed;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var b=0;else{var E=h.suspendedLanes,A=h.pingedLanes;b=(1<<31-rt(42|i)+1)-1,b&=v&~(E&~A),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(c=!0,jx(h,b))}else b=We,b=Oe(h,h===yt?b:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(b&3)===0||bt(h,b)||(c=!0,jx(h,b));h=h.next}while(c);tm=!1}}function KC(){Mx()}function Mx(){Cd=em=!1;var i=0;Di!==0&&iM()&&(i=Di);for(var o=lr(),c=null,h=Ed;h!==null;){var v=h.next,b=kx(h,o);b===0?(h.next=null,c===null?Ed=v:c.next=v,v===null&&(Mo=c)):(c=h,(i!==0||(b&3)!==0)&&(Cd=!0)),h=v}wr!==0&&wr!==5||ic(i),Di!==0&&(Di=0)}function kx(i,o){for(var c=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,b=i.pendingLanes&-62914561;0<b;){var E=31-rt(b),A=1<<E,I=v[E];I===-1?((A&c)===0||(A&h)!==0)&&(v[E]=Ht(A,o)):I<=o&&(i.expiredLanes|=A),b&=~A}if(o=yt,c=We,c=Oe(i,i===o?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,c===0||i===o&&(ct===2||ct===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&Nr(h),i.callbackNode=null,i.callbackPriority=0;if((c&3)===0||bt(i,c)){if(o=c&-c,o===i.callbackPriority)return o;switch(h!==null&&Nr(h),Tt(c)){case 2:case 8:c=ya;break;case 32:c=On;break;case 268435456:c=jr;break;default:c=On}return h=Nx.bind(null,i),c=kr(c,h),i.callbackPriority=o,i.callbackNode=c,o}return h!==null&&h!==null&&Nr(h),i.callbackPriority=2,i.callbackNode=null,2}function Nx(i,o){if(wr!==0&&wr!==5)return i.callbackNode=null,i.callbackPriority=0,null;var c=i.callbackNode;if(Sd()&&i.callbackNode!==c)return null;var h=We;return h=Oe(i,i===yt?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(cx(i,h,o),kx(i,lr()),i.callbackNode!=null&&i.callbackNode===c?Nx.bind(null,i):null)}function jx(i,o){if(Sd())return null;cx(i,o,!0)}function WC(){oM(function(){(ot&6)!==0?kr(cr,KC):Mx()})}function rm(){if(Di===0){var i=uo;i===0&&(i=Ln,Ln<<=1,(Ln&261888)===0&&(Ln=256)),Di=i}return Di}function Ax(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:Tu(""+i)}function Rx(i,o){var c=o.ownerDocument.createElement("input");return c.name=o.name,c.value=o.value,i.id&&c.setAttribute("form",i.id),o.parentNode.insertBefore(c,o),i=new FormData(i),c.parentNode.removeChild(c),i}function JC(i,o,c,h,v){if(o==="submit"&&c&&c.stateNode===v){var b=Ax((v[dr]||null).action),E=h.submitter;E&&(o=(o=E[dr]||null)?Ax(o.formAction):E.getAttribute("formAction"),o!==null&&(b=o,E=null));var A=new Du("action","action",null,h,v);i.push({event:A,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(Di!==0){var I=E?Rx(v,E):new FormData(v);wp(c,{pending:!0,data:I,method:v.method,action:b},null,I)}}else typeof b=="function"&&(A.preventDefault(),I=E?Rx(v,E):new FormData(v),wp(c,{pending:!0,data:I,method:v.method,action:b},b,I))},currentTarget:v}]})}}for(var nm=0;nm<P0.length;nm++){var am=P0[nm],XC=am.toLowerCase(),QC=am[0].toUpperCase()+am.slice(1);ra(XC,"on"+QC)}ra(l2,"onAnimationEnd"),ra(c2,"onAnimationIteration"),ra(u2,"onAnimationStart"),ra("dblclick","onDoubleClick"),ra("focusin","onFocus"),ra("focusout","onBlur"),ra(pC,"onTransitionRun"),ra(mC,"onTransitionStart"),ra(gC,"onTransitionCancel"),ra(d2,"onTransitionEnd"),Js("onMouseEnter",["mouseout","mouseover"]),Js("onMouseLeave",["mouseout","mouseover"]),Js("onPointerEnter",["pointerout","pointerover"]),Js("onPointerLeave",["pointerout","pointerover"]),fs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fs("onBeforeInput",["compositionend","keypress","textInput","paste"]),fs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var sc="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(" "),ZC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(sc));function Ox(i,o){o=(o&4)!==0;for(var c=0;c<i.length;c++){var h=i[c],v=h.event;h=h.listeners;e:{var b=void 0;if(o)for(var E=h.length-1;0<=E;E--){var A=h[E],I=A.instance,F=A.currentTarget;if(A=A.listener,I!==b&&v.isPropagationStopped())break e;b=A,v.currentTarget=F;try{b(v)}catch(X){zu(X)}v.currentTarget=null,b=I}else for(E=0;E<h.length;E++){if(A=h[E],I=A.instance,F=A.currentTarget,A=A.listener,I!==b&&v.isPropagationStopped())break e;b=A,v.currentTarget=F;try{b(v)}catch(X){zu(X)}v.currentTarget=null,b=I}}}}function Ke(i,o){var c=o[Zt];c===void 0&&(c=o[Zt]=new Set);var h=i+"__bubble";c.has(h)||(Tx(o,i,2,!1),c.add(h))}function im(i,o,c){var h=0;o&&(h|=4),Tx(c,i,h,o)}var Md="_reactListening"+Math.random().toString(36).slice(2);function sm(i){if(!i[Md]){i[Md]=!0,My.forEach(function(c){c!=="selectionchange"&&(ZC.has(c)||im(c,!1,i),im(c,!0,i))});var o=i.nodeType===9?i:i.ownerDocument;o===null||o[Md]||(o[Md]=!0,im("selectionchange",!1,o))}}function Tx(i,o,c,h){switch(l5(o)){case 2:var v=kM;break;case 8:v=NM;break;default:v=_m}c=v.bind(null,o,c,i),v=void 0,!M0||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(v=!0),h?v!==void 0?i.addEventListener(o,c,{capture:!0,passive:v}):i.addEventListener(o,c,!0):v!==void 0?i.addEventListener(o,c,{passive:v}):i.addEventListener(o,c,!1)}function om(i,o,c,h,v){var b=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var E=h.tag;if(E===3||E===4){var A=h.stateNode.containerInfo;
vendor: 2,653 bytes, line 48
48if(A===v)break;if(E===4)for(E=h.return;E!==null;){var I=E.tag;if((I===3||I===4)&&E.stateNode.containerInfo===v)return;E=E.return}for(;A!==null;){if(E=Ys(A),E===null)return;if(I=E.tag,I===5||I===6||I===26||I===27){h=b=E;continue e}A=A.parentNode}}h=h.return}Uy(function(){var F=b,X=E0(c),te=[];e:{var V=f2.get(i);if(V!==void 0){var W=Du,ve=i;switch(i){case"keypress":if(Lu(c)===0)break e;case"keydown":case"keyup":W=V8;break;case"focusin":ve="focus",W=A0;break;case"focusout":ve="blur",W=A0;break;case"beforeblur":case"afterblur":W=A0;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":W=By;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":W=I8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":W=W8;break;case l2:case c2:case u2:W=D8;break;case d2:W=X8;break;case"scroll":case"scrollend":W=O8;break;case"wheel":W=Z8;break;case"copy":case"cut":case"paste":W=P8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":W=qy;break;case"toggle":case"beforetoggle":W=tC}var ke=(o&4)!==0,gt=!ke&&(i==="scroll"||i==="scrollend"),P=ke?V!==null?V+"Capture":null:V;ke=[];for(var L=F,B;L!==null;){var Q=L;if(B=Q.stateNode,Q=Q.tag,Q!==5&&Q!==26&&Q!==27||B===null||P===null||(Q=Nl(L,P),Q!=null&&ke.push(oc(L,Q,B))),gt)break;L=L.return}0<ke.length&&(V=new W(V,ve,null,c,X),te.push({event:V,listeners:ke}))}}if((o&7)===0){e:{if(V=i==="mouseover"||i==="pointerover",W=i==="mouseout"||i==="pointerout",V&&c!==S0&&(ve=c.relatedTarget||c.fromElement)&&(Ys(ve)||ve[Dn]))break e;if((W||V)&&(V=X.window===X?X:(V=X.ownerDocument)?V.defaultView||V.parentWindow:window,W?(ve=c.relatedTarget||c.toElement,W=F,ve=ve?Ys(ve):null,ve!==null&&(gt=s(ve),ke=ve.tag,ve!==gt||ke!==5&&ke!==27&&ke!==6)&&(ve=null)):(W=null,ve=F),W!==ve)){if(ke=By,Q="onMouseLeave",P="onMouseEnter",L="mouse",(i==="pointerout"||i==="pointerover")&&(ke=qy,Q="onPointerLeave",P="onPointerEnter",L="pointer"),gt=W==null?V:kl(W),B=ve==null?V:kl(ve),V=new ke(Q,L+"leave",W,c,X),V.target=gt,V.relatedTarget=B,Q=null,Ys(X)===F&&(ke=new ke(P,L+"enter",ve,c,X),ke.target=B,ke.relatedTarget=gt,Q=ke),gt=Q,W&&ve)t:{for(ke=eM,P=W,L=ve,B=0,Q=P;Q;Q=ke(Q))B++;Q=0;for(var Se=L;Se;Se=ke(Se))Q++;for(;0<B-Q;)P=ke(P),B--;for(;0<Q-B;)L=ke(L),Q--;for(;B--;){if(P===L||L!==null&&P===L.alternate){ke=P;break t}P=ke(P),L=ke(L)}ke=null}else ke=null;W!==null&&Ix(te,V,W,ke,!1),ve!==null&>!==null&&Ix(te,gt,ve,ke,!0)}}
vendor: 5,196 bytes, lines 48-49
48e:{if(V=F?kl(F):window,W=V.nodeName&&V.nodeName.toLowerCase(),W==="select"||W==="input"&&V.type==="file")var it=Xy;else if(Wy(V))if(Qy)it=dC;else{it=cC;var _e=lC}else W=V.nodeName,!W||W.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?F&&w0(F.elementType)&&(it=Xy):it=uC;if(it&&(it=it(i,F))){Jy(te,it,c,X);break e}_e&&_e(i,V,F),i==="focusout"&&F&&V.type==="number"&&F.memoizedProps.value!=null&&_0(V,"number",V.value)}switch(_e=F?kl(F):window,i){case"focusin":(Wy(_e)||_e.contentEditable==="true")&&(ro=_e,$0=F,$l=null);break;case"focusout":$l=$0=ro=null;break;case"mousedown":D0=!0;break;case"contextmenu":case"mouseup":case"dragend":D0=!1,s2(te,c,X);break;case"selectionchange":if(hC)break;case"keydown":case"keyup":s2(te,c,X)}var Fe;if(O0)e:{switch(i){case"compositionstart":var Je="onCompositionStart";break e;case"compositionend":Je="onCompositionEnd";break e;case"compositionupdate":Je="onCompositionUpdate";break e}Je=void 0}else to?Yy(i,c)&&(Je="onCompositionEnd"):i==="keydown"&&c.keyCode===229&&(Je="onCompositionStart");Je&&(Hy&&c.locale!=="ko"&&(to||Je!=="onCompositionStart"?Je==="onCompositionEnd"&&to&&(Fe=Py()):(_i=X,k0="value"in _i?_i.value:_i.textContent,to=!0)),_e=kd(F,Je),0<_e.length&&(Je=new Fy(Je,i,null,c,X),te.push({event:Je,listeners:_e}),Fe?Je.data=Fe:(Fe=Ky(c),Fe!==null&&(Je.data=Fe)))),(Fe=nC?aC(i,c):iC(i,c))&&(Je=kd(F,"onBeforeInput"),0<Je.length&&(_e=new Fy("onBeforeInput","beforeinput",null,c,X),te.push({event:_e,listeners:Je}),_e.data=Fe)),JC(te,i,F,c,X)}Ox(te,o)})}function oc(i,o,c){return{instance:i,listener:o,currentTarget:c}}function kd(i,o){for(var c=o+"Capture",h=[];i!==null;){var v=i,b=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||b===null||(v=Nl(i,c),v!=null&&h.unshift(oc(i,v,b)),v=Nl(i,o),v!=null&&h.push(oc(i,v,b))),i.tag===3)return h;i=i.return}return[]}function eM(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function Ix(i,o,c,h,v){for(var b=o._reactName,E=[];c!==null&&c!==h;){var A=c,I=A.alternate,F=A.stateNode;if(A=A.tag,I!==null&&I===h)break;A!==5&&A!==26&&A!==27||F===null||(I=F,v?(F=Nl(c,b),F!=null&&E.unshift(oc(c,F,I))):v||(F=Nl(c,b),F!=null&&E.push(oc(c,F,I)))),c=c.return}E.length!==0&&i.push({event:o,listeners:E})}var tM=/\r\n?/g,rM=/\u0000|\uFFFD/g;function Lx(i){return(typeof i=="string"?i:""+i).replace(tM,` 49`).replace(rM,"")}function $x(i,o){return o=Lx(o),Lx(i)===o}function mt(i,o,c,h,v,b){switch(c){case"children":typeof h=="string"?o==="body"||o==="textarea"&&h===""||Qs(i,h):(typeof h=="number"||typeof h=="bigint")&&o!=="body"&&Qs(i,""+h);break;case"className":Ru(i,"class",h);break;case"tabIndex":Ru(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":Ru(i,c,h);break;case"style":$y(i,h,b);break;case"data":if(o!=="object"){Ru(i,"data",h);break}case"src":case"href":if(h===""&&(o!=="a"||c!=="href")){i.removeAttribute(c);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(c);break}h=Tu(""+h),i.setAttribute(c,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof b=="function"&&(c==="formAction"?(o!=="input"&&mt(i,o,"name",v.name,v,null),mt(i,o,"formEncType",v.formEncType,v,null),mt(i,o,"formMethod",v.formMethod,v,null),mt(i,o,"formTarget",v.formTarget,v,null)):(mt(i,o,"encType",v.encType,v,null),mt(i,o,"method",v.method,v,null),mt(i,o,"target",v.target,v,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(c);break}h=Tu(""+h),i.setAttribute(c,h);break;case"onClick":h!=null&&(i.onclick=Ua);break;case"onScroll":h!=null&&Ke("scroll",i);break;case"onScrollEnd":h!=null&&Ke("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(t(61));if(c=h.__html,c!=null){if(v.children!=null)throw Error(t(60));i.innerHTML=c}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}c=Tu(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,""+h):i.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,""):i.removeAttribute(c);break;case"capture":case"download":h===!0?i.setAttribute(c,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(c,h):i.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(c,h):i.removeAttribute(c);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(c):i.setAttribute(c,h);break;case"popover":Ke("beforetoggle",i),Ke("toggle",i),Au(i,"popover",h);break;case"xlinkActuate":Da(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":Da(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":Da(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":Da(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":Da(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":Da(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":Da(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":Da(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":Da(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":Au(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=A8.get(c)||c,Au(i,c,h))}}function lm(i,o,c,h,v,b){switch(c){case"style":$y(i,h,b);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(t(61));if(c=h.__html,c!=null){if(v.children!=null)throw Error(t(60));i.innerHTML=c}}break;case"children":typeof h=="string"?Qs(i,h):(typeof h=="number"||typeof h=="bigint")&&Qs(i,""+h);break;case"onScroll":h!=null&&Ke("scroll",i);break;case"onScrollEnd":h!=null&&Ke("scrollend",i);break;case"onClick":h!=null&&(i.onclick=Ua);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ky.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(v=c.endsWith("Capture"),o=c.slice(2,v?c.length-7:void 0),b=i[dr]||null,b=b!=null?b[c]:null,typeof b=="function"&&i.removeEventListener(o,b,v),typeof h=="function")){typeof b!="function"&&b!==null&&(c in i?i[c]=null:i.hasAttribute(c)&&i.removeAttribute(c)),i.addEventListener(o,h,v);break e}c in i?i[c]=h:h===!0?i.setAttribute(c,""):Au(i,c,h)}}}function qr(i,o,c){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",i),Ke("load",i);var h=!1,v=!1,b;for(b in c)if(c.hasOwnProperty(b)){var E=c[b];if(E!=null)switch(b){case"src":h=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t(137,o));default:mt(i,o,b,E,c,null)}}v&&mt(i,o,"srcSet",c.srcSet,c,null),h&&mt(i,o,"src",c.src,c,null);return;case"input":Ke("invalid",i);var A=b=E=v=null,I=null,F=null;for(h in c)if(c.hasOwnProperty(h)){var X=c[h];if(X!=null)switch(h){case"name":v=X;break;case"type":E=X;break;case"checked":I=X;break;case"defaultChecked":F=X;break;case"value":b=X;break;case"defaultValue":A=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(t(137,o));break;default:mt(i,o,h,X,c,null)}}Oy(i,b,A,I,F,E,v,!1);return;case"select":Ke("invalid",i),h=E=b=null;for(v in c)if(c.hasOwnProperty(v)&&(A=c[v],A!=null))switch(v){case"value":b=A;break;case"defaultValue":E=A;break;case"multiple":h=A;default:mt(i,o,v,A,c,null)}o=b,c=E,i.multiple=!!h,o!=null?Xs(i,!!h,o,!1):c!=null&&Xs(i,!!h,c,!0);return;case"textarea":Ke("invalid",i),b=v=h=null;for(E in c)if(c.hasOwnProperty(E)&&(A=c[E],A!=null))switch(E){case"value":h=A;break;case"defaultValue":v=A;break;case"children":b=A;break;case"dangerouslySetInnerHTML":if(A!=null)throw Error(t(91));break;default:mt(i,o,E,A,c,null)}Iy(i,h,v,b);return;case"option":for(I in c)if(c.hasOwnProperty(I)&&(h=c[I],h!=null))switch(I){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:mt(i,o,I,h,c,null)}return;case"dialog":Ke("beforetoggle",i),Ke("toggle",i),Ke("cancel",i),Ke("close",i);break;case"iframe":case"object":Ke("load",i);break;case"video":case"audio":for(h=0;h<sc.length;h++)Ke(sc[h],i);break;case"image":Ke("error",i),Ke("load",i);break;case"details":Ke("toggle",i);break;case"embed":case"source":case"link":Ke("error",i),Ke("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in c)if(c.hasOwnProperty(F)&&(h=c[F],h!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(t(137,o));default:mt(i,o,F,h,c,null)}return;default:if(w0(o)){for(X in c)c.hasOwnProperty(X)&&(h=c[X],h!==void 0&&lm(i,o,X,h,c,void 0));return}}for(A in c)c.hasOwnProperty(A)&&(h=c[A],h!=null&&mt(i,o,A,h,c,null))}function nM(i,o,c,h){switch(o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,b=null,E=null,A=null,I=null,F=null,X=null;for(W in c){var te=c[W];if(c.hasOwnProperty(W)&&te!=null)switch(W){case"checked":break;case"value":break;case"defaultValue":I=te;default:h.hasOwnProperty(W)||mt(i,o,W,null,h,te)}}
vendor: 4,609 bytes, line 49
49for(var V in h){var W=h[V];if(te=c[V],h.hasOwnProperty(V)&&(W!=null||te!=null))switch(V){case"type":b=W;break;case"name":v=W;break;case"checked":F=W;break;case"defaultChecked":X=W;break;case"value":E=W;break;case"defaultValue":A=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(t(137,o));break;default:W!==te&&mt(i,o,V,W,h,te)}}x0(i,E,A,I,F,X,b,v);return;case"select":W=E=A=V=null;for(b in c)if(I=c[b],c.hasOwnProperty(b)&&I!=null)switch(b){case"value":break;case"multiple":W=I;default:h.hasOwnProperty(b)||mt(i,o,b,null,h,I)}for(v in h)if(b=h[v],I=c[v],h.hasOwnProperty(v)&&(b!=null||I!=null))switch(v){case"value":V=b;break;case"defaultValue":A=b;break;case"multiple":E=b;default:b!==I&&mt(i,o,v,b,h,I)}o=A,c=E,h=W,V!=null?Xs(i,!!c,V,!1):!!h!=!!c&&(o!=null?Xs(i,!!c,o,!0):Xs(i,!!c,c?[]:"",!1));return;case"textarea":W=V=null;for(A in c)if(v=c[A],c.hasOwnProperty(A)&&v!=null&&!h.hasOwnProperty(A))switch(A){case"value":break;case"children":break;default:mt(i,o,A,null,h,v)}for(E in h)if(v=h[E],b=c[E],h.hasOwnProperty(E)&&(v!=null||b!=null))switch(E){case"value":V=v;break;case"defaultValue":W=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(t(91));break;default:v!==b&&mt(i,o,E,v,h,b)}Ty(i,V,W);return;case"option":for(var ve in c)if(V=c[ve],c.hasOwnProperty(ve)&&V!=null&&!h.hasOwnProperty(ve))switch(ve){case"selected":i.selected=!1;break;default:mt(i,o,ve,null,h,V)}for(I in h)if(V=h[I],W=c[I],h.hasOwnProperty(I)&&V!==W&&(V!=null||W!=null))switch(I){case"selected":i.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:mt(i,o,I,V,h,W)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ke in c)V=c[ke],c.hasOwnProperty(ke)&&V!=null&&!h.hasOwnProperty(ke)&&mt(i,o,ke,null,h,V);for(F in h)if(V=h[F],W=c[F],h.hasOwnProperty(F)&&V!==W&&(V!=null||W!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(t(137,o));break;default:mt(i,o,F,V,h,W)}return;default:if(w0(o)){for(var gt in c)V=c[gt],c.hasOwnProperty(gt)&&V!==void 0&&!h.hasOwnProperty(gt)&&lm(i,o,gt,void 0,h,V);for(X in h)V=h[X],W=c[X],!h.hasOwnProperty(X)||V===W||V===void 0&&W===void 0||lm(i,o,X,V,h,W);return}}for(var P in c)V=c[P],c.hasOwnProperty(P)&&V!=null&&!h.hasOwnProperty(P)&&mt(i,o,P,null,h,V);for(te in h)V=h[te],W=c[te],!h.hasOwnProperty(te)||V===W||V==null&&W==null||mt(i,o,te,V,h,W)}function Dx(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function aM(){if(typeof performance.getEntriesByType=="function"){for(var i=0,o=0,c=performance.getEntriesByType("resource"),h=0;h<c.length;h++){var v=c[h],b=v.transferSize,E=v.initiatorType,A=v.duration;if(b&&A&&Dx(E)){for(E=0,A=v.responseEnd,h+=1;h<c.length;h++){var I=c[h],F=I.startTime;if(F>A)break;var X=I.transferSize,te=I.initiatorType;X&&Dx(te)&&(I=I.responseEnd,E+=X*(I<A?1:(A-F)/(I-F)))}if(--h,o+=8*(b+E)/(v.duration/1e3),i++,10<i)break}}if(0<i)return o/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var cm=null,um=null;function Nd(i){return i.nodeType===9?i:i.ownerDocument}function Ux(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Px(i,o){if(i===0)switch(o){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&o==="foreignObject"?0:i}function dm(i,o){return i==="textarea"||i==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var fm=null;function iM(){var i=window.event;return i&&i.type==="popstate"?i===fm?!1:(fm=i,!0):(fm=null,!1)}var zx=typeof setTimeout=="function"?setTimeout:void 0,sM=typeof clearTimeout=="function"?clearTimeout:void 0,Bx=typeof Promise=="function"?Promise:void 0,oM=typeof queueMicrotask=="function"?queueMicrotask:typeof Bx<"u"?function(i){return Bx.resolve(null).then(i).catch(lM)}:zx;function lM(i){setTimeout(function(){throw i})}function Ui(i){return i==="head"}function Fx(i,o){var c=o,h=0;do{var v=c.nextSibling;if(i.removeChild(c),v&&v.nodeType===8)if(c=v.data,c==="/$"||c==="/&"){if(h===0){i.removeChild(v),Ao(o);return}h--}else if(c==="$"||c==="$?"||c==="$~"||c==="$!"||c==="&")h++;else if(c==="html")lc(i.ownerDocument.documentElement);else if(c==="head"){c=i.ownerDocument.head,lc(c);for(var b=c.firstChild;b;
vendor: 10,015 bytes, line 49
49){var E=b.nextSibling,A=b.nodeName;b[xi]||A==="SCRIPT"||A==="STYLE"||A==="LINK"&&b.rel.toLowerCase()==="stylesheet"||c.removeChild(b),b=E}}else c==="body"&&lc(i.ownerDocument.body);c=v}while(c);Ao(o)}function qx(i,o){var c=i;i=0;do{var h=c.nextSibling;if(c.nodeType===1?o?(c._stashedDisplay=c.style.display,c.style.display="none"):(c.style.display=c._stashedDisplay||"",c.getAttribute("style")===""&&c.removeAttribute("style")):c.nodeType===3&&(o?(c._stashedText=c.nodeValue,c.nodeValue=""):c.nodeValue=c._stashedText||""),h&&h.nodeType===8)if(c=h.data,c==="/$"){if(i===0)break;i--}else c!=="$"&&c!=="$?"&&c!=="$~"&&c!=="$!"||i++;c=h}while(c)}function hm(i){var o=i.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var c=o;switch(o=o.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":hm(c),y0(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}i.removeChild(c)}}function cM(i,o,c,h){for(;i.nodeType===1;){var v=c;if(i.nodeName.toLowerCase()!==o.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[xi])switch(o){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(b=i.getAttribute("rel"),b==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(b!==v.rel||i.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||i.getAttribute("title")!==(v.title==null?null:v.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(b=i.getAttribute("src"),(b!==(v.src==null?null:v.src)||i.getAttribute("type")!==(v.type==null?null:v.type)||i.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&b&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(o==="input"&&i.type==="hidden"){var b=v.name==null?null:""+v.name;if(v.type==="hidden"&&i.getAttribute("name")===b)return i}else return i;if(i=Vn(i.nextSibling),i===null)break}return null}function uM(i,o,c){if(o==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!c||(i=Vn(i.nextSibling),i===null))return null;return i}function Hx(i,o){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=Vn(i.nextSibling),i===null))return null;return i}function pm(i){return i.data==="$?"||i.data==="$~"}function mm(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function dM(i,o){var c=i.ownerDocument;if(i.data==="$~")i._reactRetry=o;else if(i.data!=="$?"||c.readyState!=="loading")o();else{var h=function(){o(),c.removeEventListener("DOMContentLoaded",h)};c.addEventListener("DOMContentLoaded",h),i._reactRetry=h}}function Vn(i){for(;i!=null;i=i.nextSibling){var o=i.nodeType;if(o===1||o===3)break;if(o===8){if(o=i.data,o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"||o==="F!"||o==="F")break;if(o==="/$"||o==="/&")return null}}return i}var gm=null;function Gx(i){i=i.nextSibling;for(var o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="/$"||c==="/&"){if(o===0)return Vn(i.nextSibling);o--}else c!=="$"&&c!=="$!"&&c!=="$?"&&c!=="$~"&&c!=="&"||o++}i=i.nextSibling}return null}function Vx(i){i=i.previousSibling;for(var o=0;i;){if(i.nodeType===8){var c=i.data;if(c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"){if(o===0)return i;o--}else c!=="/$"&&c!=="/&"||o++}i=i.previousSibling}return null}function Yx(i,o,c){switch(o=Nd(c),i){case"html":if(i=o.documentElement,!i)throw Error(t(452));return i;case"head":if(i=o.head,!i)throw Error(t(453));return i;case"body":if(i=o.body,!i)throw Error(t(454));return i;default:throw Error(t(451))}}function lc(i){for(var o=i.attributes;o.length;)i.removeAttributeNode(o[0]);y0(i)}var Yn=new Map,Kx=new Set;function jd(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var ei=H.d;H.d={f:fM,r:hM,D:pM,C:mM,L:gM,m:vM,X:bM,S:yM,M:xM};function fM(){var i=ei.f(),o=xd();return i||o}function hM(i){var o=Ks(i);o!==null&&o.tag===5&&o.type==="form"?db(o):ei.r(i)}var ko=typeof document>"u"?null:document;function Wx(i,o,c){var h=ko;if(h&&typeof o=="string"&&o){var v=Pn(o);v='link[rel="'+i+'"][href="'+v+'"]',typeof c=="string"&&(v+='[crossorigin="'+c+'"]'),Kx.has(v)||(Kx.add(v),i={rel:i,crossOrigin:c,href:o},h.querySelector(v)===null&&(o=h.createElement("link"),qr(o,"link",i),Or(o),h.head.appendChild(o)))}}function pM(i){ei.D(i),Wx("dns-prefetch",i,null)}function mM(i,o){ei.C(i,o),Wx("preconnect",i,o)}function gM(i,o,c){ei.L(i,o,c);var h=ko;if(h&&i&&o){var v='link[rel="preload"][as="'+Pn(o)+'"]';o==="image"&&c&&c.imageSrcSet?(v+='[imagesrcset="'+Pn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(v+='[imagesizes="'+Pn(c.imageSizes)+'"]')):v+='[href="'+Pn(i)+'"]';var b=v;switch(o){case"style":b=No(i);break;case"script":b=jo(i)}Yn.has(b)||(i=g({rel:"preload",href:o==="image"&&c&&c.imageSrcSet?void 0:i,as:o},c),Yn.set(b,i),h.querySelector(v)!==null||o==="style"&&h.querySelector(cc(b))||o==="script"&&h.querySelector(uc(b))||(o=h.createElement("link"),qr(o,"link",i),Or(o),h.head.appendChild(o)))}}function vM(i,o){ei.m(i,o);var c=ko;if(c&&i){var h=o&&typeof o.as=="string"?o.as:"script",v='link[rel="modulepreload"][as="'+Pn(h)+'"][href="'+Pn(i)+'"]',b=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=jo(i)}if(!Yn.has(b)&&(i=g({rel:"modulepreload",href:i},o),Yn.set(b,i),c.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(uc(b)))return}h=c.createElement("link"),qr(h,"link",i),Or(h),c.head.appendChild(h)}}}function yM(i,o,c){ei.S(i,o,c);var h=ko;if(h&&i){var v=Ws(h).hoistableStyles,b=No(i);o=o||"default";var E=v.get(b);if(!E){var A={loading:0,preload:null};if(E=h.querySelector(cc(b)))A.loading=5;else{i=g({rel:"stylesheet",href:i,"data-precedence":o},c),(c=Yn.get(b))&&vm(i,c);var I=E=h.createElement("link");Or(I),qr(I,"link",i),I._p=new Promise(function(F,X){I.onload=F,I.onerror=X}),I.addEventListener("load",function(){A.loading|=1}),I.addEventListener("error",function(){A.loading|=2}),A.loading|=4,Ad(E,o,h)}E={type:"stylesheet",instance:E,count:1,state:A},v.set(b,E)}}}function bM(i,o){ei.X(i,o);var c=ko;if(c&&i){var h=Ws(c).hoistableScripts,v=jo(i),b=h.get(v);b||(b=c.querySelector(uc(v)),b||(i=g({src:i,async:!0},o),(o=Yn.get(v))&&ym(i,o),b=c.createElement("script"),Or(b),qr(b,"link",i),c.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(v,b))}}function xM(i,o){ei.M(i,o);var c=ko;if(c&&i){var h=Ws(c).hoistableScripts,v=jo(i),b=h.get(v);b||(b=c.querySelector(uc(v)),b||(i=g({src:i,async:!0,type:"module"},o),(o=Yn.get(v))&&ym(i,o),b=c.createElement("script"),Or(b),qr(b,"link",i),c.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(v,b))}}function Jx(i,o,c,h){var v=(v=oe.current)?jd(v):null;if(!v)throw Error(t(446));switch(i){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(o=No(c.href),c=Ws(v).hoistableStyles,h=c.get(o),h||(h={type:"style",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){i=No(c.href);var b=Ws(v).hoistableStyles,E=b.get(i);if(E||(v=v.ownerDocument||v,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(i,E),(b=v.querySelector(cc(i)))&&!b._p&&(E.instance=b,E.state.loading=5),Yn.has(i)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},Yn.set(i,c),b||_M(v,i,c,E.state))),o&&h===null)throw Error(t(528,""));return E}if(o&&h!==null)throw Error(t(529,""));return null;case"script":return o=c.async,c=c.src,typeof c=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=jo(c),c=Ws(v).hoistableScripts,h=c.get(o),h||(h={type:"script",instance:null,count:0,state:null},c.set(o,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(t(444,i))}}function No(i){return'href="'+Pn(i)+'"'}function cc(i){return'link[rel="stylesheet"]['+i+"]"}function Xx(i){return g({},i,{"data-precedence":i.precedence,precedence:null})}function _M(i,o,c,h){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?h.loading=1:(o=i.createElement("link"),h.preload=o,o.addEventListener("load",function(){return h.loading|=1}),o.addEventListener("error",function(){return h.loading|=2}),qr(o,"link",c),Or(o),i.head.appendChild(o))}function jo(i){return'[src="'+Pn(i)+'"]'}function uc(i){return"script[async]"+i}function Qx(i,o,c){if(o.count++,o.instance===null)switch(o.type){case"style":var h=i.querySelector('style[data-href~="'+Pn(c.href)+'"]');if(h)return o.instance=h,Or(h),h;var v=g({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),Or(h),qr(h,"style",v),Ad(h,c.precedence,i),o.instance=h;case"stylesheet":v=No(c.href);var b=i.querySelector(cc(v));if(b)return o.state.loading|=4,o.instance=b,Or(b),b;h=Xx(c),(v=Yn.get(v))&&vm(h,v),b=(i.ownerDocument||i).createElement("link"),Or(b);var E=b;return E._p=new Promise(function(A,I){E.onload=A,E.onerror=I}),qr(b,"link",h),o.state.loading|=4,Ad(b,c.precedence,i),o.instance=b;case"script":return b=jo(c.src),(v=i.querySelector(uc(b)))?(o.instance=v,Or(v),v):(h=c,(v=Yn.get(b))&&(h=g({},c),ym(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),Or(v),qr(v,"link",h),i.head.appendChild(v),o.instance=v);case"void":return null;default:throw Error(t(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(h=o.instance,o.state.loading|=4,Ad(h,c.precedence,i));return o.instance}function Ad(i,o,c){for(var h=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,b=v,E=0;
vendor: 6,868 bytes, line 49
49E<h.length;E++){var A=h[E];if(A.dataset.precedence===o)b=A;else if(b!==v)break}b?b.parentNode.insertBefore(i,b.nextSibling):(o=c.nodeType===9?c.head:c,o.insertBefore(i,o.firstChild))}function vm(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.title==null&&(i.title=o.title)}function ym(i,o){i.crossOrigin==null&&(i.crossOrigin=o.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=o.referrerPolicy),i.integrity==null&&(i.integrity=o.integrity)}var Rd=null;function Zx(i,o,c){if(Rd===null){var h=new Map,v=Rd=new Map;v.set(c,h)}else v=Rd,h=v.get(c),h||(h=new Map,v.set(c,h));if(h.has(i))return h;for(h.set(i,null),c=c.getElementsByTagName(i),v=0;v<c.length;v++){var b=c[v];if(!(b[xi]||b[lt]||i==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var E=b.getAttribute(o)||"";E=i+E;var A=h.get(E);A?A.push(b):h.set(E,[b])}}return h}function e5(i,o,c){i=i.ownerDocument||i,i.head.insertBefore(c,o==="title"?i.querySelector("head > title"):null)}function wM(i,o,c){if(c===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function t5(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function SM(i,o,c,h){if(c.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(c.state.loading&4)===0){if(c.instance===null){var v=No(h.href),b=o.querySelector(cc(v));if(b){o=b._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=Od.bind(i),o.then(i,i)),c.state.loading|=4,c.instance=b,Or(b);return}b=o.ownerDocument||o,h=Xx(h),(v=Yn.get(v))&&vm(h,v),b=b.createElement("link"),Or(b);var E=b;E._p=new Promise(function(A,I){E.onload=A,E.onerror=I}),qr(b,"link",h),c.instance=b}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(c,o),(o=c.state.preload)&&(c.state.loading&3)===0&&(i.count++,c=Od.bind(i),o.addEventListener("load",c),o.addEventListener("error",c))}}var bm=0;function EM(i,o){return i.stylesheets&&i.count===0&&Id(i,i.stylesheets),0<i.count||0<i.imgCount?function(c){var h=setTimeout(function(){if(i.stylesheets&&Id(i,i.stylesheets),i.unsuspend){var b=i.unsuspend;i.unsuspend=null,b()}},6e4+o);0<i.imgBytes&&bm===0&&(bm=62500*aM());var v=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Id(i,i.stylesheets),i.unsuspend)){var b=i.unsuspend;i.unsuspend=null,b()}},(i.imgBytes>bm?50:800)+o);return i.unsuspend=c,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(v)}}:null}function Od(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Id(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var Td=null;function Id(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,Td=new Map,o.forEach(CM,i),Td=null,Od.call(i))}function CM(i,o){if(!(o.state.loading&4)){var c=Td.get(i);if(c)var h=c.get(null);else{c=new Map,Td.set(i,c);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<v.length;b++){var E=v[b];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(c.set(E.dataset.precedence,E),h=E)}h&&c.set(null,h)}v=o.instance,E=v.getAttribute("data-precedence"),b=c.get(E)||h,b===h&&c.set(null,v),c.set(E,v),this.count++,h=Od.bind(this),v.addEventListener("load",h),v.addEventListener("error",h),b?b.parentNode.insertBefore(v,b.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(v,i.firstChild)),o.state.loading|=4}}var dc={$$typeof:j,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function MM(i,o,c,h,v,b,E,A,I){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=xa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xa(0),this.hiddenUpdates=xa(null),this.identifierPrefix=h,this.onUncaughtError=v,this.onCaughtError=b,this.onRecoverableError=E,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=I,this.incompleteTransitions=new Map}function r5(i,o,c,h,v,b,E,A,I,F,X,te){return i=new MM(i,o,c,E,I,F,X,te,A),o=1,b===!0&&(o|=24),b=wn(3,null,null,o),i.current=b,b.stateNode=i,o=Q0(),o.refCount++,i.pooledCache=o,o.refCount++,b.memoizedState={element:h,isDehydrated:c,cache:o},rp(b),i}function n5(i){return i?(i=io,i):io}function a5(i,o,c,h,v,b){v=n5(v),h.context===null?h.context=v:h.pendingContext=v,h=ki(o),h.payload={element:c},b=b===void 0?null:b,b!==null&&(h.callback=b),c=Ni(i,h,o),c!==null&&(fn(c,i,o),ql(c,i,o))}function i5(i,o){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var c=i.retryLane;i.retryLane=c!==0&&c<o?c:o}}function xm(i,o){i5(i,o),(i=i.alternate)&&i5(i,o)}function s5(i){if(i.tag===13||i.tag===31){var o=gs(i,67108864);o!==null&&fn(o,i,67108864),xm(i,67108864)}}function o5(i){if(i.tag===13||i.tag===31){var o=kn();o=ur(o);var c=gs(i,o);c!==null&&fn(c,i,o),xm(i,o)}}var Ld=!0;function kM(i,o,c,h){var v=U.T;U.T=null;var b=H.p;try{H.p=2,_m(i,o,c,h)}finally{H.p=b,U.T=v}}function NM(i,o,c,h){var v=U.T;U.T=null;var b=H.p;try{H.p=8,_m(i,o,c,h)}finally{H.p=b,U.T=v}}function _m(i,o,c,h){if(Ld){var v=wm(h);if(v===null)om(i,o,h,$d,c),c5(i,h);else if(AM(v,i,o,c,h))h.stopPropagation();else if(c5(i,h),o&4&&-1<jM.indexOf(i)){for(;v!==null;){var b=Ks(v);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var E=bn(b.pendingLanes);if(E!==0){var A=b;for(A.pendingLanes|=2,A.entangledLanes|=2;E;){var I=1<<31-rt(E);A.entanglements[1]|=I,E&=~I}Ea(b),(ot&6)===0&&(yd=lr()+500,ic(0))}}break;case 31:case 13:A=gs(b,2),A!==null&&fn(A,b,2),xd(),xm(b,2)}if(b=wm(h),b===null&&om(i,o,h,$d,c),b===v)break;v=b}v!==null&&h.stopPropagation()}else om(i,o,h,null,c)}}function wm(i){return i=E0(i),Sm(i)}var $d=null;function Sm(i){if($d=null,i=Ys(i),i!==null){var o=s(i);if(o===null)i=null;else{var c=o.tag;if(c===13){if(i=l(o),i!==null)return i;i=null}else if(c===31){if(i=u(o),i!==null)return i;i=null}else if(c===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return $d=i,null}function l5(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 4,657 bytes, line 49
49:case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(en()){case cr:return 2;case ya:return 8;case On:case Tn:return 32;case jr:return 268435456;default:return 32}default:return 32}}var Em=!1,Pi=null,zi=null,Bi=null,fc=new Map,hc=new Map,Fi=[],jM="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function c5(i,o){switch(i){case"focusin":case"focusout":Pi=null;break;case"dragenter":case"dragleave":zi=null;break;case"mouseover":case"mouseout":Bi=null;break;case"pointerover":case"pointerout":fc.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":hc.delete(o.pointerId)}}function pc(i,o,c,h,v,b){return i===null||i.nativeEvent!==b?(i={blockedOn:o,domEventName:c,eventSystemFlags:h,nativeEvent:b,targetContainers:[v]},o!==null&&(o=Ks(o),o!==null&&s5(o)),i):(i.eventSystemFlags|=h,o=i.targetContainers,v!==null&&o.indexOf(v)===-1&&o.push(v),i)}function AM(i,o,c,h,v){switch(o){case"focusin":return Pi=pc(Pi,i,o,c,h,v),!0;case"dragenter":return zi=pc(zi,i,o,c,h,v),!0;case"mouseover":return Bi=pc(Bi,i,o,c,h,v),!0;case"pointerover":var b=v.pointerId;return fc.set(b,pc(fc.get(b)||null,i,o,c,h,v)),!0;case"gotpointercapture":return b=v.pointerId,hc.set(b,pc(hc.get(b)||null,i,o,c,h,v)),!0}return!1}function u5(i){var o=Ys(i.target);if(o!==null){var c=s(o);if(c!==null){if(o=c.tag,o===13){if(o=l(c),o!==null){i.blockedOn=o,xn(i.priority,function(){o5(c)});return}}else if(o===31){if(o=u(c),o!==null){i.blockedOn=o,xn(i.priority,function(){o5(c)});return}}else if(o===3&&c.stateNode.current.memoizedState.isDehydrated){i.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Dd(i){if(i.blockedOn!==null)return!1;for(var o=i.targetContainers;0<o.length;){var c=wm(i.nativeEvent);if(c===null){c=i.nativeEvent;var h=new c.constructor(c.type,c);S0=h,c.target.dispatchEvent(h),S0=null}else return o=Ks(c),o!==null&&s5(o),i.blockedOn=c,!1;o.shift()}return!0}function d5(i,o,c){Dd(i)&&c.delete(o)}function RM(){Em=!1,Pi!==null&&Dd(Pi)&&(Pi=null),zi!==null&&Dd(zi)&&(zi=null),Bi!==null&&Dd(Bi)&&(Bi=null),fc.forEach(d5),hc.forEach(d5)}function Ud(i,o){i.blockedOn===o&&(i.blockedOn=null,Em||(Em=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,RM)))}var Pd=null;function f5(i){Pd!==i&&(Pd=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Pd===i&&(Pd=null);for(var o=0;o<i.length;o+=3){var c=i[o],h=i[o+1],v=i[o+2];if(typeof h!="function"){if(Sm(h||c)===null)continue;break}var b=Ks(c);b!==null&&(i.splice(o,3),o-=3,wp(b,{pending:!0,data:v,method:c.method,action:h},h,v))}}))}function Ao(i){function o(I){return Ud(I,i)}Pi!==null&&Ud(Pi,i),zi!==null&&Ud(zi,i),Bi!==null&&Ud(Bi,i),fc.forEach(o),hc.forEach(o);for(var c=0;c<Fi.length;c++){var h=Fi[c];h.blockedOn===i&&(h.blockedOn=null)}for(;0<Fi.length&&(c=Fi[0],c.blockedOn===null);)u5(c),c.blockedOn===null&&Fi.shift();if(c=(i.ownerDocument||i).$$reactFormReplay,c!=null)for(h=0;h<c.length;h+=3){var v=c[h],b=c[h+1],E=v[dr]||null;if(typeof b=="function")E||f5(c);else if(E){var A=null;if(b&&b.hasAttribute("formAction")){if(v=b,E=b[dr]||null)A=E.formAction;else if(Sm(v)!==null)continue}else A=E.action;typeof A=="function"?c[h+1]=A:(c.splice(h,3),h-=3),f5(c)}}}function h5(){function i(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(E){return v=E})},focusReset:"manual",scroll:"manual"})}function o(){v!==null&&(v(),v=null),h||setTimeout(c,20)}
vendor: 2,149 bytes, line 49
49function c(){if(!h&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,v=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(c,100),function(){h=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),v!==null&&(v(),v=null)}}}function Cm(i){this._internalRoot=i}zd.prototype.render=Cm.prototype.render=function(i){var o=this._internalRoot;if(o===null)throw Error(t(409));var c=o.current,h=kn();a5(c,h,i,o,null,null)},zd.prototype.unmount=Cm.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var o=i.containerInfo;a5(i.current,2,null,i,null,null),xd(),o[Dn]=null}};function zd(i){this._internalRoot=i}zd.prototype.unstable_scheduleHydration=function(i){if(i){var o=$n();i={blockedOn:null,target:i,priority:o};for(var c=0;c<Fi.length&&o!==0&&o<Fi[c].priority;c++);Fi.splice(c,0,i),c===0&&u5(i)}};var p5=r.version;if(p5!=="19.2.4")throw Error(t(527,p5,"19.2.4"));H.findDOMNode=function(i){var o=i._reactInternals;if(o===void 0)throw typeof i.render=="function"?Error(t(188)):(i=Object.keys(i).join(","),Error(t(268,i)));return i=p(o),i=i!==null?m(i):null,i=i===null?null:i.stateNode,i};var OM={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bd.isDisabled&&Bd.supportsFiber)try{In=Bd.inject(OM),Ft=Bd}catch{}}return gc.createRoot=function(i,o){if(!a(i))throw Error(t(299));var c=!1,h="",v=_b,b=wb,E=Sb;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onUncaughtError!==void 0&&(v=o.onUncaughtError),o.onCaughtError!==void 0&&(b=o.onCaughtError),o.onRecoverableError!==void 0&&(E=o.onRecoverableError)),o=r5(i,1,!1,null,null,c,h,null,v,b,E,h5),i[Dn
49]=o.current,sm(i),new Cm(o)},gc.hydrateRoot=function(i,o,c){if(!a(i))throw Error(t(299));var h=!1,v="",b=_b,E=wb,A=Sb,I=null;return c!=null&&(c.unstable_strictMode===!0&&(h=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onUncaughtError!==void 0&&(b=c.onUncaughtError),c.onCaughtError!==void 0&&(E=c.onCaughtError),c.onRecoverableError!==void 0&&(A=c.onRecoverableError),c.formState!==void 0&&(I=c.formState)),o=r5(i,1,!0,o,c??null,h,v,I,b,E,A,h5),o.context=n5(null),c=o.current,h=kn(),h=ur(h),v=ki(h),v.callback=null,Ni(c,v,h),c=h,o.current.lanes=c,Et(o,c),Ea(o),i[Dn]=o.current,sm(i),new zd(o)},gc.version="19.2.4",gc}var E5;function FM(){if(E5)return Nm.exports;E5=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}return e(),Nm.exports=BM(),Nm.exports}var qM=FM();function Dh(e,r){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(n[t[a]]=e[t[a]]);return n}function HM(e,r,n,t){function a(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function u(m){try{p(t.next(m))}catch(g){l(g)}}function f(m){try{p(t.throw(m))}catch(g){l(g)}}function p(m){m.done?s(m.value):a(m.value).then(u,f)}p((t=t.apply(e,r||[])).next())})}const GM=e=>e?(...r)=>e(...r):(...r)=>fetch(...r);class tv extends Error{constructor(r,n="FunctionsError",t){super(r),this.name=n,this.context=t}}class VM extends tv{constructor(r){super("Failed to send a request to the Edge Function","FunctionsFetchError",r)}}class C5 extends tv{constructor(r){super("Relay Error invoking the Edge Function","FunctionsRelayError",r)}}class M5 extends tv{constructor(r){super("Edge Function returned a non-2xx status code","FunctionsHttpError",r)}}var E1;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(E1||(E1={}));class YM{constructor(r,{headers:n={},customFetch:t,region:a=E1.Any}={}){this.url=r,this.headers=n,this.region=a,this.fetch=GM(t)}setAuth(r){this.headers.Authorization=`Bearer ${r}`}invoke(r){return HM(this,arguments,void 0,function*(n,t={}){var a;let s,l;try{const{headers:u,method:f,body:p,signal:m,timeout:g}=t;let y={},{region:_}=t;_||(_=this.region);const w=new URL(`${this.url}/${n}`);_&&_!=="any"&&(y["x-region"]=_,w.searchParams.set("forceFunctionRegion",_));let C;p&&(u&&!Object.prototype.hasOwnProperty.call(u,"Content-Type")||!u)?typeof Blob<"u"&&p instanceof Blob||p instanceof ArrayBuffer?(y["Content-Type"]="application/octet-stream",C=p):typeof p=="string"?(y["Content-Type"]="text/plain",C=p):typeof FormData<"u"&&p instanceof FormData?C=p:(y["Content-Type"]="application/json",C=JSON.stringify(p)):p&&typeof p!="string"&&!(typeof Blob<"u"&&p instanceof Blob)&&!(p instanceof ArrayBuffer)&&!(typeof FormData<"u"&&p instanceof FormData)?C=JSON.stringify(p):C=p;let x=m;g&&(l=new AbortController,s=setTimeout(()=>l.abort(),g),m?(x=l.signal,m.addEventListener("abort",()=>l.abort())):x=l.signal);const S=yield this.fetch(w.toString(),{method:f||"POST",headers:Object.assign(Object.assign(Object.assign({},y),this.headers),u),body:C,signal:x}).catch($=>{throw new VM($)}),k=S.headers.get("x-relay-error");if(k&&k==="true")throw new C5(S);if(!S.ok)throw new M5(S);let j=((a=S.headers.get("Content-Type"))!==null&&a!==void 0?a:"text/plain").split(";")[0].trim(),O;return j==="application/json"?O=yield S.json():j==="application/octet-stream"||j==="application/pdf"?O=yield S.blob():j==="text/event-stream"?O=S:j==="multipart/form-data"?O=yield S.formData():O=yield S.text(),{data:O,error:null,response:S}}catch(u){return{data:null,error:u,response:u instanceof M5||u instanceof C5?u.context:void 0}}finally{s&&clearTimeout(s)}})}}
49var KM=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}},WM=class{constructor(e){var r,n,t;this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(r=e.shouldThrowOnError)!==null&&r!==void 0?r:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.urlLengthLimit=(t=e.urlLengthLimit)!==null&&t!==void 0?t:8e3,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,r){return this.headers=new Headers(this.headers),this.headers.set(e,r),this}then(e,r){var n=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const t=this.fetch;let a=t(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async s=>{let l=null,u=null,f=null,p=s.status,m=s.statusText;if(s.ok){var g,y;if(n.method!=="HEAD"){var _;const S=await s.text();S===""||(n.headers.get("Accept")==="text/csv"||n.headers.get("Accept")&&(!((_=n.headers.get("Accept"))===null||_===void 0)&&_.includes("application/vnd.pgrst.plan+text"))?u=S:u=JSON.parse(S))}const C=(g=n.headers.get("Prefer"))===null||g===void 0?void 0:g.match(/count=(exact|planned|estimated)/),x=(y=s.headers.get("content-range"))===null||y===void 0?void 0:y.split("/");C&&x&&x.length>1&&(f=parseInt(x[1])),n.isMaybeSingle&&n.method==="GET"&&Array.isArray(u)&&(u.length>1?(l={code:"PGRST116",details:`Results contain ${u.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},u=null,f=null,p=406,m="Not Acceptable"):u.length===1?u=u[0]:u=null)}else{var w;const C=await s.text();try{l=JSON.parse(C),Array.isArray(l)&&s.status===404&&(u=[],l=null,p=200,m="OK")}catch{s.status===404&&C===""?(p=204,m="No Content"):l={message:C}}if(l&&n.isMaybeSingle&&(!(l==null||(w=l.details)===null||w===void 0)&&w.includes("0 rows"))&&(l=null,p=200,m="OK"),l&&n.shouldThrowOnError)throw new KM(l)}return{error:l,data:u,count:f,status:p,statusText:m}});return this.shouldThrowOnError||(a=a.catch(s=>{var l;let u="",f="",p="";const m=s==null?void 0:s.cause;if(m){var g,y,_,w;const S=(g=m==null?void 0:m.message)!==null&&g!==void 0?g:"",k=(y=m==null?void 0:m.code)!==null&&y!==void 0?y:"";u=`${(_=s==null?void 0:s.name)!==null&&_!==void 0?_:"FetchError"}: ${s==null?void 0:s.message}`,u+=` 50 51Caused by: ${(w=m==null?void 0:m.name)!==null&&w!==void 0?w:"Error"}: ${S}`,k&&(u+=` (${k})`),m!=null&&m.stack&&(u+=` 52${m.stack}`)}else{var C;u=(C=s==null?void 0:s.stack)!==null&&C!==void 0?C:""}const x=this.url.toString().length;return(s==null?void 0:s.name)==="AbortError"||(s==null?void 0:s.code)==="ABORT_ERR"?(p="",f="Request was aborted (timeout or manual cancellation)",x>this.urlLengthLimit&&(f+=`. Note: Your request URL is ${x} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((m==null?void 0:m.name)==="HeadersOverflowError"||(m==null?void 0:m.code)==="UND_ERR_HEADERS_OVERFLOW")&&(p="",f="HTTP headers exceeded server limits (typically 16KB)",x>this.urlLengthLimit&&(f+=`. Your request URL is ${x} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{error:{message:`${(l=s==null?void 0:s.name)!==null&&l!==void 0?l:"FetchError"}: ${s==null?void 0:s.message}`,details:u,hint:f,code:p},data:null,count:null,status:0,statusText:""}})),a.then(e,r)}returns(){return this}overrideTypes(){return this}},JM=class extends WM{select(e){let r=!1;const n=(e??"*").split("").map(t=>/\s/.test(t)&&!r?"":(t==='"'&&(r=!r),t)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:r=!0,nullsFirst:n,foreignTable:t,referencedTable:a=t}={}){const s=a?`${a}.order`:"order",l=this.url.searchParams.get(s);return this.url.searchParams.set(s,`${l?`${l},`:""}${e}.${r?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:r,referencedTable:n=r}={}){const t=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(t,`${e}`),this}range(e,r,{foreignTable:n,referencedTable:t=n}={}){const a=typeof t>"u"?"offset":`${t}.offset`,s=typeof t>"u"?"limit":`${t}.limit`;return this.url.searchParams.set(a,`${e}`),this.url.searchParams.set(s,`${r-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
52explain({analyze:e=!1,verbose:r=!1,settings:n=!1,buffers:t=!1,wal:a=!1,format:s="text"}={}){var l;const u=[e?"analyze":null,r?"verbose":null,n?"settings":null,t?"buffers":null,a?"wal":null].filter(Boolean).join("|"),f=(l=this.headers.get("Accept"))!==null&&l!==void 0?l:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${s}; for="${f}"; options=${u};`),s==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const k5=new RegExp("[,()]");var qo=class extends JM{eq(e,r){return this.url.searchParams.append(e,`eq.${r}`),this}neq(e,r){return this.url.searchParams.append(e,`neq.${r}`),this}gt(e,r){return this.url.searchParams.append(e,`gt.${r}`),this}gte(e,r){return this.url.searchParams.append(e,`gte.${r}`),this}lt(e,r){return this.url.searchParams.append(e,`lt.${r}`),this}lte(e,r){return this.url.searchParams.append(e,`lte.${r}`),this}like(e,r){return this.url.searchParams.append(e,`like.${r}`),this}likeAllOf(e,r){return this.url.searchParams.append(e,`like(all).{${r.join(",")}}`),this}likeAnyOf(e,r){return this.url.searchParams.append(e,`like(any).{${r.join(",")}}`),this}ilike(e,r){return this.url.searchParams.append(e,`ilike.${r}`),this}ilikeAllOf(e,r){return this.url.searchParams.append(e,`ilike(all).{${r.join(",")}}`),this}ilikeAnyOf(e,r){return this.url.searchParams.append(e,`ilike(any).{${r.join(",")}}`),this}regexMatch(e,r){return this.url.searchParams.append(e,`match.${r}`),this}regexIMatch(e,r){return this.url.searchParams.append(e,`imatch.${r}`),this}is(e,r){return this.url.searchParams.append(e,`is.${r}`),this}isDistinct(e,r){return this.url.searchParams.append(e,`isdistinct.${r}`),this}in(e,r){const n=Array.from(new Set(r)).map(t=>typeof t=="string"&&k5.test(t)?`"${t}"`:`${t}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,r){const n=Array.from(new Set(r)).map(t=>typeof t=="string"&&k5.test(t)?`"${t}"`:`${t}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,r){return typeof r=="string"?this.url.searchParams.append(e,`cs.${r}`):Array.isArray(r)?this.url.searchParams.append(e,`cs.{${r.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(r)}`),this}containedBy(e,r){return typeof r=="string"?this.url.searchParams.append(e,`cd.${r}`):Array.isArray(r)?this.url.searchParams.append(e,`cd.{${r.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(r)}`),this}rangeGt(e,r){return this.url.searchParams.append(e,`sr.${r}`),this}rangeGte(e,r){return this.url.searchParams.append(e,`nxl.${r}`),this}rangeLt(e,r){return this.url.searchParams.append(e,`sl.${r}`),this}rangeLte(e,r){return this.url.searchParams.append(e,`nxr.${r}`),this}rangeAdjacent(e,r){return this.url.searchParams.append(e,`adj.${r}`),this}overlaps(e,r){return typeof r=="string"?this.url.searchParams.append(e,`ov.${r}`):this.url.searchParams.append(e,`ov.{${r.join(",")}}`),this}textSearch(e,r,{config:n,type:t}={}){let a="";t==="plain"?a="pl":t==="phrase"?a="ph":t==="websearch"&&(a="w");const s=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${a}fts${s}.${r}`),this}match(e){return Object.entries(e).forEach(([r,n])=>{this.url.searchParams.append(r,`eq.${n}`)}),this}not(e,r,n){return this.url.searchParams.append(e,`not.${r}.${n}`),this}or(e,{foreignTable:r,referencedTable:n=r}={}){const t=n?`${n}.or`:"or";return this.url.searchParams.append(t,`(${e})`),this}filter(e,r,n){return this.url.searchParams.append(e,`${r}.${n}`),this}},XM=class{constructor(e,{headers:r={},schema:n,fetch:t,urlLengthLimit:a=8e3}){this.url=e,this.headers=new Headers(r),this.schema=n,this.fetch=t,this.urlLengthLimit=a}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,r){const{head:n=!1,count:t}=r??{},a=n?"HEAD":"GET";let s=!1;const l=(e??"*").split("").map(p=>/\s/.test(p)&&!s?"":(p==='"'&&(s=!s),p)).join(""),{url:u,headers:f}=this.cloneRequestState();return u.searchParams.set("select",l),t&&f.append("Prefer",`count=${t}
52`),new qo({method:a,url:u,headers:f,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}insert(e,{count:r,defaultToNull:n=!0}={}){var t;const a="POST",{url:s,headers:l}=this.cloneRequestState();if(r&&l.append("Prefer",`count=${r}`),n||l.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((f,p)=>f.concat(Object.keys(p)),[]);if(u.length>0){const f=[...new Set(u)].map(p=>`"${p}"`);s.searchParams.set("columns",f.join(","))}}return new qo({method:a,url:s,headers:l,schema:this.schema,body:e,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit})}upsert(e,{onConflict:r,ignoreDuplicates:n=!1,count:t,defaultToNull:a=!0}={}){var s;const l="POST",{url:u,headers:f}=this.cloneRequestState();if(f.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),r!==void 0&&u.searchParams.set("on_conflict",r),t&&f.append("Prefer",`count=${t}`),a||f.append("Prefer","missing=default"),Array.isArray(e)){const p=e.reduce((m,g)=>m.concat(Object.keys(g)),[]);if(p.length>0){const m=[...new Set(p)].map(g=>`"${g}"`);u.searchParams.set("columns",m.join(","))}}return new qo({method:l,url:u,headers:f,schema:this.schema,body:e,fetch:(s=this.fetch)!==null&&s!==void 0?s:fetch,urlLengthLimit:this.urlLengthLimit})}update(e,{count:r}={}){var n;const t="PATCH",{url:a,headers:s}=this.cloneRequestState();return r&&s.append("Prefer",`count=${r}`),new qo({method:t,url:a,headers:s,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit})}delete({count:e}={}){var r;const n="DELETE",{url:t,headers:a}=this.cloneRequestState();return e&&a.append("Prefer",`count=${e}`),new qo({method:n,url:t,headers:a,schema:this.schema,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit})}};function Fc(e){"@babel/helpers - typeof";return Fc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Fc(e)}function QM(e,r){if(Fc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r);if(Fc(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function ZM(e){var r=QM(e,"string");return Fc(r)=="symbol"?r:r+""}function ek(e,r,n){return(r=ZM(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function N5(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,t)}return n}function Fd(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?N5(Object(n),!0).forEach(function(t){ek(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tk=class C3{constructor(r,{headers:n={},schema:t,fetch:a,timeout:s,urlLengthLimit:l=8e3}={}){this.url=r,this.headers=new Headers(n),this.schemaName=t,this.urlLengthLimit=l;const u=a??globalThis.fetch;s!==void 0&&s>0?this.fetch=(f,p)=>{const m=new AbortController,g=setTimeout(()=>m.abort(),s),y=p==null?void 0:p.signal;if(y){if(y.aborted)return clearTimeout(g),u(f,p);const _=()=>{clearTimeout(g),m.abort()};return y.addEventListener("abort",_,{once:!0}),u(f,Fd(Fd({},p),{},{signal:m.signal})).finally(()=>{clearTimeout(g),y.removeEventListener("abort",_)})}return u(f,Fd(Fd({},p),{},{signal:m.signal})).finally(()=>clearTimeout(g))}:this.fetch=u}from(r){if(!r||typeof r!="string"||r.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new XM(new URL(`${this.url}/${r}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}schema(r){return new C3(this.url,{headers:this.headers,schema:r,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit})}rpc(r,n={},{head:t=!1,get:a=!1,count:s}={}){var l;let u;const f=new URL(`${this.url}/rpc/${r}`);let p;const m=_=>_!==null&&typeof _=="object"&&(!Array.isArray(_)||_.some(m)),g=t&&Object.values(n).some(m);g?(u="POST",p=n):t||a?(u=t?"HEAD":"GET",Object.entries(n).filter(([_,w])=>w!==void 0).map(([_,w])=>[_,Array.isArray(w)?`{${w.join(",")}}`:`${w}
52`]).forEach(([_,w])=>{f.searchParams.append(_,w)})):(u="POST",p=n);const y=new Headers(this.headers);return g?y.set("Prefer",s?`count=${s},return=minimal`:"return=minimal"):s&&y.set("Prefer",`count=${s}`),new qo({method:u,url:f,headers:y,schema:this.schemaName,body:p,fetch:(l=this.fetch)!==null&&l!==void 0?l:fetch,urlLengthLimit:this.urlLengthLimit})}};class rk{constructor(){}static detectEnvironment(){var r;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((r=navigator.userAgent)===null||r===void 0)&&r.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const t=n.versions;if(t&&t.node){const a=t.node,s=parseInt(a.replace(/^v/,"").split(".")[0]);return s>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${s} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${s} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 53import ws from "ws" 54new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const r=this.detectEnvironment();if(r.constructor)return r.constructor;let n=r.error||"WebSocket not supported in this environment.";throw r.workaround&&(n+=` 55 56Suggested solution: ${r.workaround}`),new Error(n)}static createWebSocket(r,n){const t=this.getWebSocketConstructor();return new t(r,n)}static isWebSocketSupported(){try{const r=this.detectEnvironment();return r.type==="native"||r.type==="ws"}catch{return!1}}}const nk="2.95.2",ak=`realtime-js/${nk}`,ik="1.0.0",M3="2.0.0",j5=M3,C1=1e4,sk=1e3,ok=100;var Vi;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Vi||(Vi={}));var Cr;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(Cr||(Cr={}));var la;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(la||(la={}));var M1;(function(e){e.websocket="websocket"})(M1||(M1={}));var Is;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(Is||(Is={}));class lk{constructor(r){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=r??[]}encode(r,n){if(r.event===this.BROADCAST_EVENT&&!(r.payload instanceof ArrayBuffer)&&typeof r.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(r));let t=[r.join_ref,r.ref,r.topic,r.event,r.payload];return n(JSON.stringify(t))}_binaryEncodeUserBroadcastPush(r){var n;return this._isArrayBuffer((n=r.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(r):this._encodeJsonUserBroadcastPush(r)}_encodeBinaryUserBroadcastPush(r){var n,t;const a=(t=(n=r.payload)===null||n===void 0?void 0:n.payload)!==null&&t!==void 0?t:new ArrayBuffer(0);return this._encodeUserBroadcastPush(r,this.BINARY_ENCODING,a)}_encodeJsonUserBroadcastPush(r){var n,t;const a=(t=(n=r.payload)===null||n===void 0?void 0:n.payload)!==null&&t!==void 0?t:{},l=new TextEncoder().encode(JSON.stringify(a)).buffer;return this._encodeUserBroadcastPush(r,this.JSON_ENCODING,l)}_encodeUserBroadcastPush(r,n,t){var a,s;const l=r.topic,u=(a=r.ref)!==null&&a!==void 0?a:"",f=(s=r.join_ref)!==null&&s!==void 0?s:"",p=r.payload.event,m=this.allowedMetadataKeys?this._pick(r.payload,this.allowedMetadataKeys):{},g=Object.keys(m).length===0?"":JSON.stringify(m);if(f.length>255)throw new Error(`joinRef length ${f.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`ref length ${u.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`topic length ${l.length} exceeds maximum of 255`);if(p.length>255)throw new Error(`userEvent length ${p.length} exceeds maximum of 255`);if(g.length>255)throw new Error(`metadata length ${g.length} exceeds maximum of 255`);const y=this.USER_BROADCAST_PUSH_META_LENGTH+f.length+u.length+l.length+p.length+g.length,_=new ArrayBuffer(this.HEADER_LENGTH+y);let w=new DataView(_),C=0;w.setUint8(C++,this.KINDS.userBroadcastPush),w.setUint8(C++,f.length),w.setUint8(C++,u.length),w.setUint8(C++,l.length),w.setUint8(C++,p.length),w.setUint8(C++,g.length),w.setUint8(C++,n),Array.from(f,S=>
56w.setUint8(C++,S.charCodeAt(0))),Array.from(u,S=>w.setUint8(C++,S.charCodeAt(0))),Array.from(l,S=>w.setUint8(C++,S.charCodeAt(0))),Array.from(p,S=>w.setUint8(C++,S.charCodeAt(0))),Array.from(g,S=>w.setUint8(C++,S.charCodeAt(0)));var x=new Uint8Array(_.byteLength+t.byteLength);return x.set(new Uint8Array(_),0),x.set(new Uint8Array(t),_.byteLength),x.buffer}decode(r,n){if(this._isArrayBuffer(r)){let t=this._binaryDecode(r);return n(t)}if(typeof r=="string"){const t=JSON.parse(r),[a,s,l,u,f]=t;return n({join_ref:a,ref:s,topic:l,event:u,payload:f})}return n({})}_binaryDecode(r){const n=new DataView(r),t=n.getUint8(0),a=new TextDecoder;switch(t){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(r,n,a)}}_decodeUserBroadcast(r,n,t){const a=n.getUint8(1),s=n.getUint8(2),l=n.getUint8(3),u=n.getUint8(4);let f=this.HEADER_LENGTH+4;const p=t.decode(r.slice(f,f+a));f=f+a;const m=t.decode(r.slice(f,f+s));f=f+s;const g=t.decode(r.slice(f,f+l));f=f+l;const y=r.slice(f,r.byteLength),_=u===this.JSON_ENCODING?JSON.parse(t.decode(y)):y,w={type:this.BROADCAST_EVENT,event:m,payload:_};return l>0&&(w.meta=JSON.parse(g)),{join_ref:null,ref:null,topic:p,event:this.BROADCAST_EVENT,payload:w}}_isArrayBuffer(r){var n;return r instanceof ArrayBuffer||((n=r==null?void 0:r.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(r,n){return!r||typeof r!="object"?{}:Object.fromEntries(Object.entries(r).filter(([t])=>n.includes(t)))}}class k3{constructor(r,n){this.callback=r,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=r,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var _t;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(_t||(_t={}));const A5=(e,r,n={})=>{var t;const a=(t=n.skipTypes)!==null&&t!==void 0?t:[];return r?Object.keys(r).reduce((s,l)=>(s[l]=ck(l,e,r,a),s),{}):{}},ck=(e,r,n,t)=>{const a=r.find(u=>u.name===e),s=a==null?void 0:a.type,l=n[e];return s&&!t.includes(s)?N3(s,l):k1(l)},N3=(e,r)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return hk(r,n)}switch(e){case _t.bool:return uk(r);case _t.float4:case _t.float8:case _t.int2:case _t.int4:case _t.int8:case _t.numeric:case _t.oid:return dk(r);case _t.json:case _t.jsonb:return fk(r);case _t.timestamp:return pk(r);case _t.abstime:case _t.date:case _t.daterange:case _t.int4range:case _t.int8range:case _t.money:case _t.reltime:case _t.text:case _t.time:case _t.timestamptz:case _t.timetz:case _t.tsrange:case _t.tstzrange:return k1(r);default:return k1(r)}},k1=e=>e,uk=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},dk=e=>{if(typeof e=="string"){const r=parseFloat(e);if(!Number.isNaN(r))return r}return e},fk=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},hk=(e,r)=>{if(typeof e!="string")return e;const n=e.length-1,t=e[n];if(e[0]==="{"&&t==="}"){let s;const l=e.slice(1,n);try{s=JSON.parse("["+l+"]")}catch{s=l?l.split(","):[]}return s.map(u=>N3(r,u))}return e},pk=e=>typeof e=="string"?e.replace(" ","T"):e,j3=e=>{const r=new URL(e);return r.protocol=r.protocol.replace(/^ws/i,"http"),r.pathname=r.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),r.pathname===""||r.pathname==="/"?r.pathname="/api/broadcast":r.pathname=r.pathname+"/api/broadcast",r.href};class Om{constructor(r,n,t={},a=C1){this.channel=r,this.event=n,this.payload=t,this.timeout=a,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(r){this.timeout=r,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,j
56oin_ref:this.channel._joinRef()}))}updatePayload(r){this.payload=Object.assign(Object.assign({},this.payload),r)}receive(r,n){var t;return this._hasReceived(r)&&n((t=this.receivedResp)===null||t===void 0?void 0:t.response),this.recHooks.push({status:r,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const r=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},r),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(r,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:r,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:r,response:n}){this.recHooks.filter(t=>t.status===r).forEach(t=>t.callback(n))}_hasReceived(r){return this.receivedResp&&this.receivedResp.status===r}}var R5;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(R5||(R5={}));class Oc{constructor(r,n){this.channel=r,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const t=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(t.state,{},a=>{const{onJoin:s,onLeave:l,onSync:u}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Oc.syncState(this.state,a,s,l),this.pendingDiffs.forEach(f=>{this.state=Oc.syncDiff(this.state,f,s,l)}),this.pendingDiffs=[],u()}),this.channel._on(t.diff,{},a=>{const{onJoin:s,onLeave:l,onSync:u}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(a):(this.state=Oc.syncDiff(this.state,a,s,l),u())}),this.onJoin((a,s,l)=>{this.channel._trigger("presence",{event:"join",key:a,currentPresences:s,newPresences:l})}),this.onLeave((a,s,l)=>{this.channel._trigger("presence",{event:"leave",key:a,currentPresences:s,leftPresences:l})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(r,n,t,a){const s=this.cloneDeep(r),l=this.transformState(n),u={},f={};return this.map(s,(p,m)=>{l[p]||(f[p]=m)}),this.map(l,(p,m)=>{const g=s[p];if(g){const y=m.map(x=>x.presence_ref),_=g.map(x=>x.presence_ref),w=m.filter(x=>_.indexOf(x.presence_ref)<0),C=g.filter(x=>y.indexOf(x.presence_ref)<0);w.length>0&&(u[p]=w),C.length>0&&(f[p]=C)}else u[p]=m}),this.syncDiff(s,{joins:u,leaves:f},t,a)}static syncDiff(r,n,t,a){const{joins:s,leaves:l}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return t||(t=()=>{}),a||(a=()=>{}),this.map(s,(u,f)=>{var p;const m=(p=r[u])!==null&&p!==void 0?p:[];if(r[u]=this.cloneDeep(f),m.length>0){const g=r[u].map(_=>_.presence_ref),y=m.filter(_=>g.indexOf(_.presence_ref)<0);r[u].unshift(...y)}t(u,m,f)}),this.map(l,(u,f)=>{let p=r[u];if(!p)return;const m=f.map(g=>g.presence_ref);p=p.filter(g=>m.indexOf(g.presence_ref)<0),r[u]=p,a(u,p,f),p.length===0&&delete r[u]}),r}static map(r,n){return Object.getOwnPropertyNames(r).map(t=>n(t,r[t]))}static transformState(r){return r=this.cloneDeep(r),Object.getOwnPropertyNames(r).reduce((n,t)=>{const a=r[t];return"metas"in a?n[t]=a.metas.map(s=>(s.presence_ref=s.phx_ref,delete s.phx_ref,delete s.phx_ref_prev,s)):n[t]=a,n},{})}static cloneDeep(r){return JSON.parse(JSON.stringify(r))}onJoin(r){this.caller.onJoin=r}onLeave(r){this.caller.onLeave=r}onSync(r){this.caller.onSync=r}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var O5;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(O5||(O5={}));var Tc;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Tc||(Tc={}));var ii;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(ii||(ii={}));class Ko{constructor(r,n={config:{}},t){var a,s;if(this.topic=r,this.params=n,this.socket=t,this.bindings={},this.state=Cr.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=r.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new Om(this,la.join,this.params,this.timeout),this.rejoinTimer=new k3(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=Cr.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(l=>l.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=Cr.closed,this.socket._remove(this)}),this._onError(l=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,l),this.state=Cr.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=Cr.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",l=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,l),this.state=Cr.errored,this.rejoinTimer.scheduleTimeout())}),this._on(la.reply,{},(l,u)=>{this._trigger(this._replyEventName(u),l)}),this.presence=new Oc(this),this.broadcastEndpointURL=j3(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((s=(a=this.params.config)===null||a===void 0?void 0:a.broadcast)===null||s===void 0)&&s.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(r,n=this.timeout){var t,a,s;if(this.socket.isConnected()||this.socket.connect(),this.state==Cr.closed){const{config:{broadcast:l,presence:u,private:f}}=this.params,p=(a=(t=this.bindings.postgres_changes)===null||t===void 0?void 0:t.map(_=>_.filter))!==null&&a!==void 0?a:[],m=!!this.bindings[Tc.PRESENCE]&&this.bindings[Tc.PRESENCE].length>0||((s=this.params.config.presence)===null||s===void 0?void 0:s.enabled)===!0,g={},y={broadcast:l,presence:Object.assign(Object.assign({},u),{enabled:m}),postgres_changes:p,private:f};this.socket.accessTokenValue&&(g.access_token=this.socket.accessTokenValue),this._onError(_=>r==null?void 0:r(ii.CHANNEL_ERROR,_)),this._onClose(()=>r==null?void 0:r(ii.CLOSED)),this.updateJoinPayload(Object.assign({config:y},g)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:_})=>{var w;if(this.socket._isManualToken()||this.socket.setAuth(),_===void 0){r==null||r(ii.SUBSCRIBED);return}else{const C=this.bindings.postgres_changes,x=(w=C==null?void 0:C.length)!==null&&w!==void 0?w:0,S=[];for(let k=0;k<x;k++){const j=C[k],{filter:{event:O,schema:$,table:T,filter:D}}=j,z=_&&_[k];if(z&&z.event===O&&Ko.isFilterValueEqual(z.schema,$)&&Ko.isFilterValueEqual(z.table,T)&&Ko.isFilterValueEqual(z.filter,D))S.push(Object.assign(Object.assign({},j),{id:z.id}));else{this.unsubscribe(),this.state=Cr.errored,r==null||r(ii.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=S,r&&r(ii.SUBSCRIBED);return}}).receive("error",_=>{this.state=Cr.errored,r==null||r(ii.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(_).join(", ")||"error")))}).receive("timeout",()=>{r==null||r(ii.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(r,n={}){return await this.send({type:"presence",event:"track",payload:r},n.timeout||this.timeout)}async untrack(r={}){return await this.send({type:"presence",event:"untrack"},r)}on(r,n,t){return this.state===Cr.joined&&r===Tc.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(r,n,t)}async httpSend(r,n,t={}){var a;if(n==null)return Promise.reject("Payload is required for httpSend()");const s={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(s.Authorization=`Bearer ${this.socket.accessTokenValue}`);const l={method:"POST",headers:s,body:JSON.stringify({messages:[{topic:this.subTopic,event:r,payload:n,private:this.private}]})},u=await this._fetchWithTimeout(this.broadcastEndpointURL,l,(a=t.timeout)!==null&&a!==void 0?a:this.timeout);if(u.status===202)return{success:!0};let f=u.statusText;
56try{const p=await u.json();f=p.error||p.message||f}catch{}return Promise.reject(new Error(f))}async send(r,n={}){var t,a;if(!this._canPush()&&r.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated in the future. Please use httpSend() explicitly for REST delivery.");const{event:s,payload:l}=r,u={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(u.Authorization=`Bearer ${this.socket.accessTokenValue}`);const f={method:"POST",headers:u,body:JSON.stringify({messages:[{topic:this.subTopic,event:s,payload:l,private:this.private}]})};try{const p=await this._fetchWithTimeout(this.broadcastEndpointURL,f,(t=n.timeout)!==null&&t!==void 0?t:this.timeout);return await((a=p.body)===null||a===void 0?void 0:a.cancel()),p.ok?"ok":"error"}catch(p){return p.name==="AbortError"?"timed out":"error"}}else return new Promise(s=>{var l,u,f;const p=this._push(r.type,r,n.timeout||this.timeout);r.type==="broadcast"&&!(!((f=(u=(l=this.params)===null||l===void 0?void 0:l.config)===null||u===void 0?void 0:u.broadcast)===null||f===void 0)&&f.ack)&&s("ok"),p.receive("ok",()=>s("ok")),p.receive("error",()=>s("error")),p.receive("timeout",()=>s("timed out"))})}updateJoinPayload(r){this.joinPush.updatePayload(r)}unsubscribe(r=this.timeout){this.state=Cr.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(la.close,"leave",this._joinRef())};this.joinPush.destroy();let t=null;return new Promise(a=>{t=new Om(this,la.leave,{},r),t.receive("ok",()=>{n(),a("ok")}).receive("timeout",()=>{n(),a("timed out")}).receive("error",()=>{a("error")}),t.send(),this._canPush()||t.trigger("ok",{})}).finally(()=>{t==null||t.destroy()})}teardown(){this.pushBuffer.forEach(r=>r.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=Cr.closed,this.bindings={}}async _fetchWithTimeout(r,n,t){const a=new AbortController,s=setTimeout(()=>a.abort(),t),l=await this.socket.fetch(r,Object.assign(Object.assign({},n),{signal:a.signal}));return clearTimeout(s),l}_push(r,n,t=this.timeout){if(!this.joinedOnce)throw`tried to push '${r}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let a=new Om(this,r,n,t);return this._canPush()?a.send():this._addToPushBuffer(a),a}_addToPushBuffer(r){if(r.startTimeout(),this.pushBuffer.push(r),this.pushBuffer.length>ok){const n=this.pushBuffer.shift();n&&(n.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${n.event}`,n.payload))}}_onMessage(r,n,t){return n}_isMember(r){return this.topic===r}_joinRef(){return this.joinPush.ref}_trigger(r,n,t){var a,s;const l=r.toLocaleLowerCase(),{close:u,error:f,leave:p,join:m}=la;if(t&&[u,f,p,m].indexOf(l)>=0&&t!==this._joinRef())return;let y=this._onMessage(l,n,t);if(n&&!y)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(l)?(a=this.bindings.postgres_changes)===null||a===void 0||a.filter(_=>{var w,C,x;return((w=_.filter)===null||w===void 0?void 0:w.event)==="*"||((x=(C=_.filter)===null||C===void 0?void 0:C.event)===null||x===void 0?void 0:x.toLocaleLowerCase())===l}).map(_=>_.callback(y,t)):(s=this.bindings[l])===null||s===void 0||s.filter(_=>{var w,C,x,S,k,j;if(["broadcast","presence","postgres_changes"].includes(l))if("id"in _){const O=_.id,$=(w=_.filter)===null||w===void 0?void 0:w.event;return O&&((C=n.ids)===null||C===void 0?void 0:C.includes(O))&&($==="*"||($==null?void 0:$.toLocaleLowerCase())===((x=n.data)===null||x===void 0?void 0:x.type.toLocaleLowerCase()))}else{const O=(k=(S=_==null?void 0:_.filter)===null||S===void 0?void 0:S.event)===null||k===void 0?void 0:k.toLocaleLowerCase();return O==="*"||O===((j=n==null?void 0:n.event)===null||j===void 0?void 0:j.toLocaleLowerCase())}else return _.type.toLocaleLowerCase()===l}).map(_=>{if(typeof y=="object"&&"ids"in y){const w=y.data,{schema:C,table:x,commit_timestamp:S,type:k,errors:j}=w;y=Object.assign(Object.assign({},{schema:C,table:x,commit_timestamp:S,eventType:k,new:{},old:{},errors:j}),this._getPayloadRecords(w))}_.callback(y,t)})}_isClosed(){return this.state===Cr.closed}_isJoined(){return this.state===Cr.joined}_isJoining(){return this.state===Cr.joining}_isLeaving(){return this.state===Cr.leaving}_replyEventName(r){return`chan_reply_${r}`}_on(r,n,t){const a=r.toLocaleLowerCase(),s={type:a,filter:n,callback:t};return this.bindings[a]?this.bindings[a].push(s):this.bindings[a]=[s],this}_off(r,n){const t=r.toLocaleLowerCase();return this.bindings[t]&&(this.bindings[t]=this.bindings[t].filter(a=>{var s;return!(((s=a.type)===null||s===void 0?void 0:s.toLocaleLowerCase())===t&&Ko.isEqual(a.filter,n))})),this}static isEqual(r,n){if(Object.keys(r).length!==Object.keys(n).length)return!1;for(const t in r)if(r[t]!==n[t])return!1;return!0}static isFilterValueEqual(r,n){return(r??void 0)===(n??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(r){this._on(la.close,{},r)}_onError(r){this._on(la.error,{},n=>r(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(r=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=Cr.joining,this.joinPush.resend(r))}_getPayloadRecords(r){const n={new:{},old:{}};return(r.type==="INSERT"||r.type==="UPDATE")&&(n.new=A5(r.columns,r.record)),(r.type==="UPDATE"||r.type==="DELETE")&&(n.old=A5(r.columns,r.old_record)),n}}const Tm=()=>{},qd={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},mk=[1e3,2e3,5e3,1e4],gk=1e4,vk=` 57 addEventListener("message", (e) => { 58 if (e.data.event === "start") { 59 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 60 } 61 });`;class yk{constructor(r,n){var t;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=C1,this.transport=null,this.heartbeatIntervalMs=qd.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=Tm,this.ref=0,this.reconnectTimer=null,this.vsn=j5,this.logger=Tm,this.conn=null,this.sendBuffer=[],this.serializer
61=new lk,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._heartbeatSentAt=null,this._resolveFetch=a=>a?(...s)=>a(...s):(...s)=>fetch(...s),!(!((t=n==null?void 0:n.params)===null||t===void 0)&&t.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey,this.endPoint=`${r}/${M1.websocket}`,this.httpEndpoint=j3(r),this._initializeOptions(n),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=rk.createWebSocket(this.endpointURL())}catch(r){this._setConnectionState("disconnected");const n=r.message;throw n.includes("Node.js")?new Error(`${n} 62 63To use Realtime in Node.js, you need to provide a WebSocket implementation: 64 65Option 1: Use Node.js 22+ which has native WebSocket support 66Option 2: Install and provide the "ws" package: 67 68 npm install ws 69 70 import ws from "ws" 71 const client = new RealtimeClient(url, { 72 ...options, 73 transport: ws 74 })`):new Error(`WebSocket not available: ${n}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(r,n){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const t=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(t),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(r?this.conn.close(r,n??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(r){const n=await r.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const r=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.channels=[],this.disconnect(),r}log(r,n,t){this.logger(r,n,t)}connectionState(){switch(this.conn&&this.conn.readyState){case Vi.connecting:return Is.Connecting;case Vi.open:return Is.Open;case Vi.closing:return Is.Closing;default:return Is.Closed}}isConnected(){return this.connectionState()===Is.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(r,n={config:{}}){const t=`realtime:${r}`,a=this.getChannels().find(s=>s.topic===t);if(a)return a;{const s=new Ko(`realtime:${r}`,n,this);return this.channels.push(s),s}}push(r){const{topic:n,event:t,payload:a,ref:s}=r,l=()=>{this.encode(r,u=>{var f;(f=this.conn)===null||f===void 0||f.send(u)})};this.log("push",`${n} ${t} (${s})`,a),this.isConnected()?l():this.sendBuffer.push(l)}async setAuth(r=null){this._authPromise=this._performAuth(r);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var r;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(n){this.log("error","error in heartbeat callback",n)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this._heartbeatSentAt=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(n){this.log("error","error in heartbeat callback",n)}this._wasManualDisconnect=!1,(r=this.conn)===null||r===void 0||r.close(sk,"heartbeat timeout"),setTimeout(()=>{var n;this.isConnected()||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout()},qd.HEARTBEAT_TIMEOUT_FALLBACK);return}this._heartbeatSentAt=Date.now(),this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(n){this.log("error","error in heartbeat callback",n)}this._setAuthSafely("heartbeat")}onHeartbeat(r){this.heartbeatCallback=r}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(r=>r()),this.sendBuffer=[])}_makeRef(){let r=this.ref+1;return r===this.ref?this.ref=0:this.ref=r,this.ref.toString()}_leaveOpenTopic(r){let n=this.channels.find(t=>t.topic===r&&(t._isJoined()||t._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${r}"`),n.unsubscribe())}_remove(r){this.channels=this.channels.filter(n=>n.topic!==r.topic)}_onConnMessage(r){this.decode(r.data,n=>
74{if(n.topic==="phoenix"&&n.event==="phx_reply"&&n.ref&&n.ref===this.pendingHeartbeatRef){const p=this._heartbeatSentAt?Date.now()-this._heartbeatSentAt:void 0;try{this.heartbeatCallback(n.payload.status==="ok"?"ok":"error",p)}catch(m){this.log("error","error in heartbeat callback",m)}this._heartbeatSentAt=null,this.pendingHeartbeatRef=null}const{topic:t,event:a,payload:s,ref:l}=n,u=l?`(${l})`:"",f=s.status||"";this.log("receive",`${f} ${t} ${a} ${u}`.trim(),s),this.channels.filter(p=>p._isMember(t)).forEach(p=>p._trigger(a,s,l)),this._triggerStateCallbacks("message",n)})}_clearTimer(r){var n;r==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):r==="reconnect"&&((n=this.reconnectTimer)===null||n===void 0||n.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=r=>this._onConnError(r),this.conn.onmessage=r=>this._onConnMessage(r),this.conn.onclose=r=>this._onConnClose(r),this.conn.readyState===Vi.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===Vi.open||this.conn.readyState===Vi.connecting)try{this.conn.close()}catch(r){this.log("error","Error closing connection",r)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(r=>r.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.flushSendBuffer()}).catch(n=>{this.log("error","error waiting for auth on connect",n),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const r=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(r),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(r){var n;this._setConnectionState("disconnected"),this.log("transport","close",r),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout(),this._triggerStateCallbacks("close",r)}_onConnError(r){this._setConnectionState("disconnected"),this.log("transport",`${r}`),this._triggerChanError(),this._triggerStateCallbacks("error",r);try{this.heartbeatCallback("error")}catch(n){this.log("error","error in heartbeat callback",n)}}_triggerChanError(){this.channels.forEach(r=>r._trigger(la.error))}_appendParams(r,n){if(Object.keys(n).length===0)return r;const t=r.match(/\?/)?"&":"?",a=new URLSearchParams(n);return`${r}${t}${a}`}_workerObjectUrl(r){let n;if(r)n=r;else{const t=new Blob([vk],{type:"application/javascript"});n=URL.createObjectURL(t)}return n}_setConnectionState(r,n=!1){this._connectionState=r,r==="connecting"?this._wasManualDisconnect=!1:r==="disconnecting"&&(this._wasManualDisconnect=n)}async _performAuth(r=null){let n,t=!1;if(r)n=r,t=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(a){this.log("error","Error fetching access token from callback",a),n=this.accessTokenValue}else n=this.accessTokenValue;t?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEac
74h(a=>{const s={access_token:n,version:ak};n&&a.updateJoinPayload(s),a.joinedOnce&&a._isJoined()&&a._push(la.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(r="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${r}`,n)})}_triggerStateCallbacks(r,n){try{this.stateChangeCallbacks[r].forEach(t=>{try{t(n)}catch(a){this.log("error",`error in ${r} callback`,a)}})}catch(t){this.log("error",`error triggering ${r} callbacks`,t)}}_setupReconnectionTimer(){this.reconnectTimer=new k3(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},qd.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(r){var n,t,a,s,l,u,f,p,m,g,y,_;switch(this.transport=(n=r==null?void 0:r.transport)!==null&&n!==void 0?n:null,this.timeout=(t=r==null?void 0:r.timeout)!==null&&t!==void 0?t:C1,this.heartbeatIntervalMs=(a=r==null?void 0:r.heartbeatIntervalMs)!==null&&a!==void 0?a:qd.HEARTBEAT_INTERVAL,this.worker=(s=r==null?void 0:r.worker)!==null&&s!==void 0?s:!1,this.accessToken=(l=r==null?void 0:r.accessToken)!==null&&l!==void 0?l:null,this.heartbeatCallback=(u=r==null?void 0:r.heartbeatCallback)!==null&&u!==void 0?u:Tm,this.vsn=(f=r==null?void 0:r.vsn)!==null&&f!==void 0?f:j5,r!=null&&r.params&&(this.params=r.params),r!=null&&r.logger&&(this.logger=r.logger),(r!=null&&r.logLevel||r!=null&&r.log_level)&&(this.logLevel=r.logLevel||r.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(p=r==null?void 0:r.reconnectAfterMs)!==null&&p!==void 0?p:(w=>mk[w-1]||gk),this.vsn){case ik:this.encode=(m=r==null?void 0:r.encode)!==null&&m!==void 0?m:((w,C)=>C(JSON.stringify(w))),this.decode=(g=r==null?void 0:r.decode)!==null&&g!==void 0?g:((w,C)=>C(JSON.parse(w)));break;case M3:this.encode=(y=r==null?void 0:r.encode)!==null&&y!==void 0?y:this.serializer.encode.bind(this.serializer),this.decode=(_=r==null?void 0:r.decode)!==null&&_!==void 0?_:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=r==null?void 0:r.workerUrl}}}var qc=class extends Error{constructor(e,r){var n;super(e),this.name="IcebergError",this.status=r.status,this.icebergType=r.icebergType,this.icebergCode=r.icebergCode,this.details=r.details,this.isCommitStateUnknown=r.icebergType==="CommitStateUnknownException"||[500,502,504].includes(r.status)&&((n=r.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function bk(e,r,n){const t=new URL(r,e);if(n)for(const[a,s]of Object.entries(n))s!==void 0&&t.searchParams.set(a,s);return t.toString()}async function xk(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function _k(e){const r=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:t,query:a,body:s,headers:l}){const u=bk(e.baseUrl,t,a),f=await xk(e.auth),p=await r(u,{method:n,headers:{...s?{"Content-Type":"application/json"}:{},...f,...l},body:s?JSON.stringify(s):void 0}),m=await p.text(),g=(p.headers.get("content-type")||"").includes("application/json"),y=g&&m?JSON.parse(m):m;if(!p.ok){const _=g?y:void 0,w=_==null?void 0:_.error;throw new qc((w==null?void 0:w.message)??`Request failed with status ${p.status}`,{status:p.status,icebergType:w==null?void 0:w.type,icebergCode:w==null?void 0:w.code,details:_})}return{status:p.status,headers:p.headers,data:y}}}}function Hd(e){return e.join("�")}var wk=class{constructor(e,r=""){this.client=e,this.prefix=r}async listNamespaces(e){const r=e?{parent:Hd(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:r})).data.namespaces.map(t=>({namespace:t}))}async createNamespace(e,r){const n={namespace:e.namespace,properties:r==null?void 0:r.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Hd(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Hd(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Hd(e.namespace)}`}),!0}catch(r){if(r instanceof qc&&r.status===404)return!1;throw r}}async createNamespaceIfNotExists(e,r){try{return await this.createNamespace(e,r)}catch(n){if(n instanceof qc&&n.status===409)return;throw n}}};function Ro(e){return e.join("�")}var Sk=class{constructor(e,r="",n){this.client=e,this.prefix=r,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables`})).data.identifiers}async createTable(e,r){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables`,body:r,headers:n})).data.metadata}async updateTable(e,r){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables/${e.name}`,body:r});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,r){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((r==null?void 0:r.purge)??!1)}})}async loadTable(e){const r={};return this.accessDelegation&&(r["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables/${e.name}`,headers:r})).data.metadata}async tableExists(e){const r={};this.accessDelegation&&(r["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ro(e.namespace)}/tables/${e.name}`,headers:r}),!0}catch(n){if(n instanceof qc&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,r){try{return await this.createTable(e,r)}catch(n){if(n instanceof qc&&n.status===409)return await this.loadTable({namespace:e.namespace,name:r.name});throw n}}},Ek=class{constructor(e){var t;let r="v1";e.catalogName&&(r+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=_k({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(t=e.accessDelegation)==null?void 0:t.join(","),this.namespaceOps=new wk(this.client,r),this.tableOps=new Sk(this.client,r,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,r){return this.namespaceOps.createNamespace(e,r)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
74async createTable(e,r){return this.tableOps.createTable(e,r)}async updateTable(e,r){return this.tableOps.updateTable(e,r)}async dropTable(e,r){await this.tableOps.dropTable(e,r)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,r){return this.namespaceOps.createNamespaceIfNotExists(e,r)}async createTableIfNotExists(e,r){return this.tableOps.createTableIfNotExists(e,r)}},Uh=class extends Error{constructor(e,r="storage",n,t){super(e),this.__isStorageError=!0,this.namespace=r,this.name=r==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=t}};function Ph(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var Gd=class extends Uh{constructor(e,r,n,t="storage"){super(e,t,r,n),this.name=t==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=r,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},A3=class extends Uh{constructor(e,r,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=r}};const Ck=e=>e?(...r)=>e(...r):(...r)=>fetch(...r),Mk=e=>{if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},N1=e=>{if(Array.isArray(e))return e.map(n=>N1(n));if(typeof e=="function"||e!==Object(e))return e;const r={};return Object.entries(e).forEach(([n,t])=>{const a=n.replace(/([-_][a-z])/gi,s=>s.toUpperCase().replace(/[-_]/g,""));r[a]=N1(t)}),r},kk=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e);function Hc(e){"@babel/helpers - typeof";return Hc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hc(e)}function Nk(e,r){if(Hc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r);if(Hc(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function jk(e){var r=Nk(e,"string");return Hc(r)=="symbol"?r:r+""}function Ak(e,r,n){return(r=jk(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function T5(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,t)}return n}function Ae(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?T5(Object(n),!0).forEach(function(t){Ak(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const I5=e=>{var r;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(r=e.error)===null||r===void 0?void 0:r.message)||JSON.stringify(e)},Rk=async(e,r,n,t)=>{if(e&&typeof e=="object"&&"status"in e&&"ok"in e&&typeof e.status=="number"&&!(n!=null&&n.noResolveJson)){const a=e,s=a.status||500;if(typeof a.json=="function")a.json().then(l=>{const u=(l==null?void 0:l.statusCode)||(l==null?void 0:l.code)||s+"";r(new Gd(I5(l),s,u,t))}).catch(()=>{if(t==="vectors"){const l=s+"";r(new Gd(a.statusText||`HTTP ${s} error`,s,l,t))}else{const l=s+"";r(new Gd(a.statusText||`HTTP ${s} error`,s,l,t))}});else{const l=s+"";r(new Gd(a.statusText||`HTTP ${s} error`,s,l,t))}}else r(new A3(I5(e),e,t))},Ok=(e,r,n,t)=>{const a={method:e,headers:(r==null?void 0:r.headers)||{}};return e==="GET"||e==="HEAD"||!t?Ae(Ae({},a),n):(Mk(t)?(a.headers=Ae({"Content-Type":"application/json"},r==null?void 0:r.headers),a.body=JSON.stringify(t)):a.body=t,r!=null&&r.duplex&&(a.duplex=r.duplex),Ae(Ae({},a),n))};async function vc(e,r,n,t,a,s,l){return new Promise((u,f)=>{e(n,Ok(r,t,a,s)).then(p=>{if(!p.ok)throw p;if(t!=null&&t.noResolveJson)return p;if(l==="vectors"){const m=p.headers.get("content-type");if(p.headers.get("content-length")==="0"||p.status===204)return{};if(!m||!m.includes("application/json"))return{}}return p.json()}).then(p=>u(p)).catch(p=>Rk(p,f,t,l))})}function R3(e="storage"){return{get:async(r,n,t,a)=>vc(r,"GET",n,t,a,void 0,e),post:async(r,n,t,a,s)=>vc(r,"POST",n,a,s,t,e),put:async(r,n,t,a,s)=>vc(r,"PUT",n,a,s,t,e),head:async(r,n,t,a)=>vc(r,"HEAD",n,Ae(Ae({},t),{},{noResolveJson:!0}),a,void 0,e),remove:async(r,n,t,a,s)=>vc(r,"DELETE",n,a,s,t,e)}}const Tk=R3("storage"),{get:Gc,post:oa,put:j1,head:Ik,remove:rv}=Tk,An=R3("vectors");var vl=class{constructor(e,r={},n,t="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=r,this.fetch=Ck(n),this.namespace=t}throwOnError(){return this.shouldThrowOnError=!0,this}async handleOperation(e){var r=this;try{return{data:await e(),error:null}}catch(n){if(r.shouldThrowOnError)throw n;if(Ph(n))return{data:null,error:n};throw n}}},Lk=class{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r}then(e,r){return this.execute().then(e,r)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(r){if(e.shouldThrowOnError)throw r;if(Ph(r))return{data:null,error:r};throw r}}};let O3;O3=Symbol.toStringTag;var $k=class{constructor(e,r){this.downloadFn=e,this.shouldThrowOnError=r,this[O3]="BlobDownloadBuilder",this.promise=null}asStream(){return new Lk(this.downloadFn,this.shouldThrowOnError)}then(e,r){return this.getPromise().then(e,r)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(r){if(e.shouldThrowOnError)throw r;if(Ph(r))return{data:null,error:r};throw r}}};const Dk={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},L5={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var Uk=class extends vl{constructor(e,r={},n,t){super(e,r,t,"storage"),this.bucketId=n}async uploadOrUpdate(e,r,n,t){var a=this;return a.handleOperation(async()=>{let s;const l=Ae(Ae({},L5),t);let u=Ae(Ae({},a.headers),e==="POST"&&{"x-upsert":String(l.upsert)});const f=l.metadata;typeof Blob<"u"&&n instanceof Blob?(s=new FormData,s.append("cacheControl",l.cacheControl),f&&s.append("metadata",a.encodeMetadata(f)),s.append("",n)):typeof FormData<"u"&&n instanceof FormData?(s=n,s.has("cacheControl")||s.append("cacheControl",l.cacheControl),f&&!s.has("metadata")&&s.append("metadata",a.encodeMetadata(f))):(s=n,u["cache-control"]=`max-age=${l.cacheControl}`,u["content-type"]=l.contentType,f&&(u["x-metadata"]=a.toBase64(a.encodeMetadata(f))),(typeof ReadableStream<"u"&&s instanceof ReadableStream||s&&typeof s=="object"&&"pipe"in s&&typeof s.pipe=="function")&&!l.duplex&&(l.duplex="half")),t!=null&&t.headers&&(u=Ae(Ae({},u),t.headers));const p=a._removeEmptyFolders(r),m=a._getFinalPath(p),g=await(e=="PUT"?j1:oa)(a.fetch,`${a.url}/object/${m}`,s,Ae({headers:u},l!=null&&l.duplex?{duplex:l.duplex}:{}));return{path:p,id:g.Id,fullPath:g.Key}})}async upload(e,r,n){return this.uploadOrUpdate("POST",e,r,n)}async uploadToSignedUrl(e,r,n,t){var a=this;const s=a._removeEmptyFolders(e),l=a._getFinalPath(s),u=new URL(a.url+`/object/upload/sign/${l}`);return u.searchParams.set("token",r),a.handleOperation(async()=>{let f;const p=Ae({upsert:L5.upsert},t),m=Ae(Ae({},a.headers),{"x-upsert":String(p.upsert)});return typeof Blob<"u"&&n instanceof Blob?(f=new FormData,f.append("cacheControl",p.cacheControl),f.append("",n)):typeof FormData<"u"&&n instanceof FormData?(f=n,f.append("cacheControl",p.cacheControl)):(f=n,m["cache-control"]=`max-age=${p.cacheControl}`,m["content-type"]=p.contentType),{path:s,fullPath:(await j1(a.fetch,u.toString(),f,{headers:m})).Key}})}async createSignedUploadUrl(e,r){var n=this;return n.handleOperation(async()=>{let t=n._getFinalPath(e);const a=Ae({},n.headers);r!=null&&r.upsert&&(a["x-upsert"]="true");const s=await oa(n.fetch,`${n.url}/object/upload/sign/${t}`,{},{headers:a}),l=new URL(n.url+s.url),u=l.searchParams.get("token");if(!u)throw new Uh("No token returned by API");return{signedUrl:l.toString(),path:e,token:u}})}async update(e,r,n){return this.uploadOrUpdate("PUT",e,r,n)}async move(e,r,n){var t=this;return t.handleOperation(async()=>await oa(t.fetch,`${t.url}/object/move`,{bucketId:t.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n==null?void 0:n.destinationBucket},{headers:t.headers}))}async copy(e,r,n){var t=this;return t.handleOperation(async()=>({path:(await oa(t.fetch,`${t.url}/object/copy`,{bucketId:t.bucketId,sourceKey:e,destinationKey:r,destinationBucket:n==null?void 0:n.destinationBucket},{headers:t.headers})).Key}))}async createSignedUrl(e,r,n){var t=this;return t.handleOperation(async()=>{let a=t._getFinalPath(e),s=await oa(t.fetch,`${t.url}/object/sign/${a}
74`,Ae({expiresIn:r},n!=null&&n.transform?{transform:n.transform}:{}),{headers:t.headers});const l=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return{signedUrl:encodeURI(`${t.url}${s.signedURL}${l}`)}})}async createSignedUrls(e,r,n){var t=this;return t.handleOperation(async()=>{const a=await oa(t.fetch,`${t.url}/object/sign/${t.bucketId}`,{expiresIn:r,paths:e},{headers:t.headers}),s=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return a.map(l=>Ae(Ae({},l),{},{signedUrl:l.signedURL?encodeURI(`${t.url}${l.signedURL}${s}`):null}))})}download(e,r){const n=typeof(r==null?void 0:r.transform)<"u"?"render/image/authenticated":"object",t=this.transformOptsToQueryString((r==null?void 0:r.transform)||{}),a=t?`?${t}`:"",s=this._getFinalPath(e),l=()=>Gc(this.fetch,`${this.url}/${n}/${s}${a}`,{headers:this.headers,noResolveJson:!0});return new $k(l,this.shouldThrowOnError)}async info(e){var r=this;const n=r._getFinalPath(e);return r.handleOperation(async()=>N1(await Gc(r.fetch,`${r.url}/object/info/${n}`,{headers:r.headers})))}async exists(e){var r=this;const n=r._getFinalPath(e);try{return await Ik(r.fetch,`${r.url}/object/${n}`,{headers:r.headers}),{data:!0,error:null}}catch(t){if(r.shouldThrowOnError)throw t;if(Ph(t)&&t instanceof A3){const a=t.originalError;if([400,404].includes(a==null?void 0:a.status))return{data:!1,error:t}}throw t}}getPublicUrl(e,r){const n=this._getFinalPath(e),t=[],a=r!=null&&r.download?`download=${r.download===!0?"":r.download}`:"";a!==""&&t.push(a);const s=typeof(r==null?void 0:r.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((r==null?void 0:r.transform)||{});l!==""&&t.push(l);let u=t.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${s}/public/${n}${u}`)}}}async remove(e){var r=this;return r.handleOperation(async()=>await rv(r.fetch,`${r.url}/object/${r.bucketId}`,{prefixes:e},{headers:r.headers}))}async list(e,r,n){var t=this;return t.handleOperation(async()=>{const a=Ae(Ae(Ae({},Dk),r),{},{prefix:e||""});return await oa(t.fetch,`${t.url}/object/list/${t.bucketId}`,a,{headers:t.headers},n)})}async listV2(e,r){var n=this;return n.handleOperation(async()=>{const t=Ae({},e);return await oa(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,t,{headers:n.headers},r)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const r=[];return e.width&&r.push(`width=${e.width}`),e.height&&r.push(`height=${e.height}`),e.resize&&r.push(`resize=${e.resize}`),e.format&&r.push(`format=${e.format}`),e.quality&&r.push(`quality=${e.quality}`),r.join("&")}};const Pk="2.95.2",bu={"X-Client-Info":`storage-js/${Pk}`};var zk=class extends vl{constructor(e,r={},n,t){const a=new URL(e);t!=null&&t.useNewHostname&&/supabase\.(co|in|red)$/.test(a.hostname)&&!a.hostname.includes("storage.supabase.")&&(a.hostname=a.hostname.replace("supabase.","storage.supabase."));const s=a.href.replace(/\/$/,""),l=Ae(Ae({},bu),r);super(s,l,n,"storage")}async listBuckets(e){var r=this;return r.handleOperation(async()=>{const n=r.listBucketOptionsToQueryString(e);return await Gc(r.fetch,`${r.url}/bucket${n}`,{headers:r.headers})})}async getBucket(e){var r=this;return r.handleOperation(async()=>await Gc(r.fetch,`${r.url}/bucket/${e}`,{headers:r.headers}))}async createBucket(e,r={public:!1}){var n=this;return n.handleOperation(async()=>await oa(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:r.type,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,r){var n=this;return n.handleOperation(async()=>await j1(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:r.public,file_size_limit:r.fileSizeLimit,allowed_mime_types:r.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var r=this;return r.handleOperation(async()=>await oa(r.fetch,`${r.url}/bucket/${e}/empty`,{},{headers:r.headers}))}async deleteBucket(e){var r=this;return r.handleOperation(async()=>await rv(r.fetch,`${r.url}/bucket/${e}`,{},{headers:r.headers}))}listBucketOptionsToQueryString(e){const r={};return e&&("limit"in e&&(r.limit=String(e.limit)),"offset"in e&&(r.offset=String(e.offset)),e.search&&(r.search=e.search),e.sortColumn&&(r.sortColumn=e.sortColumn),e.sortOrder&&(r.sortOrder=e.sortOrder)),Object.keys(r).length>0?"?"+new URLSearchParams(r).toString():""}},Bk=class extends vl{constructor(e,r={},n){const t=e.replace(/\/$/,""),a=Ae(Ae({},bu),r);super(t,a,n,"storage")}async createBucket(e){var r=this;return r.handleOperation(async()=>await oa(r.fetch,`${r.url}/bucket`,{name:e},{headers:r.headers}))}async listBuckets(e){var r=this;return r.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const t=n.toString(),a=t?`${r.url}/bucket?${t}`:`${r.url}/bucket`;return await Gc(r.fetch,a,{headers:r.headers})})}async deleteBucket(e){var r=this;return r.handleOperation(async()=>await rv(r.fetch,`${r.url}/bucket/${e}`,{},{headers:r.headers}))}from(e){var r=this;if(!kk(e))throw new Uh("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new Ek({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>r.headers},fetch:this.fetch}),t=this.shouldThrowOnError;return new Proxy(n,{get(a,s){const l=a[s];return typeof l!="function"?l:async(...u)=>{try{return{data:await l.apply(a,u),error:null}}catch(f){if(t)throw f;return{data:null,error:f}}}}})}},Fk=class extends vl{constructor(e,r={},n){const t=e.replace(/\/$/,""),a=Ae(Ae({},bu),{},{"Content-Type":"application/json"},r);super(t,a,n,"vectors")}async createIndex(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/CreateIndex`,e,{headers:r.headers})||{})}async getIndex(e,r){var n=this;return n.handleOperation(async()=>await An.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:r},{headers:n.headers}))}async listIndexes(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/ListIndexes`,e,{headers:r.headers}))}async deleteIndex(e,r){var n=this;return n.handleOperation(async()=>await An.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:r},{headers:n.headers})||{})}},qk=class extends vl{constructor(e,r={},n){const t=e.replace(/\/$/,""),a=Ae(Ae({},bu),{},{"Content-Type":"application/json"},r);super(t,a,n,"vectors")}async putVectors(e){var r=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/PutVectors`,e,{headers:r.headers})||{})}async getVectors(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/GetVectors`,e,{headers:r.headers}))}async listVectors(e){var r=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");
74if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/ListVectors`,e,{headers:r.headers}))}async queryVectors(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/QueryVectors`,e,{headers:r.headers}))}async deleteVectors(e){var r=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/DeleteVectors`,e,{headers:r.headers})||{})}},Hk=class extends vl{constructor(e,r={},n){const t=e.replace(/\/$/,""),a=Ae(Ae({},bu),{},{"Content-Type":"application/json"},r);super(t,a,n,"vectors")}async createBucket(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:r.headers})||{})}async getBucket(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/GetVectorBucket`,{vectorBucketName:e},{headers:r.headers}))}async listBuckets(e={}){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/ListVectorBuckets`,e,{headers:r.headers}))}async deleteBucket(e){var r=this;return r.handleOperation(async()=>await An.post(r.fetch,`${r.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:r.headers})||{})}},Gk=class extends Hk{constructor(e,r={}){super(e,r.headers||{},r.fetch)}from(e){return new Vk(this.url,this.headers,e,this.fetch)}async createBucket(e){var r=()=>super.createBucket,n=this;return r().call(n,e)}async getBucket(e){var r=()=>super.getBucket,n=this;return r().call(n,e)}async listBuckets(e={}){var r=()=>super.listBuckets,n=this;return r().call(n,e)}async deleteBucket(e){var r=()=>super.deleteBucket,n=this;return r().call(n,e)}},Vk=class extends Fk{constructor(e,r,n,t){super(e,r,t),this.vectorBucketName=n}async createIndex(e){var r=()=>super.createIndex,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var r=()=>super.listIndexes,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var r=()=>super.getIndex,n=this;return r().call(n,n.vectorBucketName,e)}async deleteIndex(e){var r=()=>super.deleteIndex,n=this;return r().call(n,n.vectorBucketName,e)}index(e){return new Yk(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},Yk=class extends qk{constructor(e,r,n,t,a){super(e,r,a),this.vectorBucketName=n,this.indexName=t}async putVectors(e){var r=()=>super.putVectors,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var r=()=>super.getVectors,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var r=()=>super.listVectors,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var r=()=>super.queryVectors,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var r=()=>super.deleteVectors,n=this;return r().call(n,Ae(Ae({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Kk=class extends zk{constructor(e,r={},n,t){super(e,r,n,t)}from(e){return new Uk(this.url,this.headers,e,this.fetch)}get vectors(){return new Gk(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new Bk(this.url+"/iceberg",this.headers,this.fetch)}};const T3="2.95.2",Ho=30*1e3,A1=3,Im=A1*Ho,Wk="http://localhost:9999",Jk="supabase.auth.token",Xk={"X-Client-Info":`gotrue-js/${T3}`},R1="X-Supabase-Api-Version",I3={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},Qk=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,Zk=600*1e3;class Vc extends Error{constructor(r,n,t){super(r),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=t}}function we(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class eN extends Vc{constructor(r,n,t){super(r,n,t),this.name="AuthApiError",this.status=n,this.code=t}}function tN(e){return we(e)&&e.name==="AuthApiError"}class Ls extends Vc{constructor(r,n){super(r),this.name="AuthUnknownError",this.originalError=n}}class mi extends Vc{constructor(r,n,t,a){super(r,t,a),this.name=n,this.status=t}}class jn extends mi{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Lm(e){return we(e)&&e.name==="AuthSessionMissingError"}class Oo extends mi{constructor(){super("Auth session or user missing","AuthInvalidToken
74ResponseError",500,void 0)}}class Vd extends mi{constructor(r){super(r,"AuthInvalidCredentialsError",400,void 0)}}class Yd extends mi{constructor(r,n=null){super(r,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function rN(e){return we(e)&&e.name==="AuthImplicitGrantRedirectError"}class $5 extends mi{constructor(r,n=null){super(r,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class nN extends mi{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class O1 extends mi{constructor(r,n){super(r,"AuthRetryableFetchError",n,void 0)}}function $m(e){return we(e)&&e.name==="AuthRetryableFetchError"}class D5 extends mi{constructor(r,n,t){super(r,"AuthWeakPasswordError",n,"weak_password"),this.reasons=t}}class T1 extends mi{constructor(r){super(r,"AuthInvalidJwtError",400,"invalid_jwt")}}const Qf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),U5=` 75\r=`.split(""),aN=(()=>{const e=new Array(128);for(let r=0;r<e.length;r+=1)e[r]=-1;for(let r=0;r<U5.length;r+=1)e[U5[r].charCodeAt(0)]=-2;for(let r=0;r<Qf.length;r+=1)e[Qf[r].charCodeAt(0)]=r;return e})();function P5(e,r,n){if(e!==null)for(r.queue=r.queue<<8|e,r.queuedBits+=8;r.queuedBits>=6;){const t=r.queue>>r.queuedBits-6&63;n(Qf[t]),r.queuedBits-=6}else if(r.queuedBits>0)for(r.queue=r.queue<<6-r.queuedBits,r.queuedBits=6;r.queuedBits>=6;){const t=r.queue>>r.queuedBits-6&63;n(Qf[t]),r.queuedBits-=6}}function L3(e,r,n){const t=aN[e];if(t>-1)for(r.queue=r.queue<<6|t,r.queuedBits+=6;r.queuedBits>=8;)n(r.queue>>r.queuedBits-8&255),r.queuedBits-=8;else{if(t===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function z5(e){const r=[],n=l=>{r.push(String.fromCodePoint(l))},t={utf8seq:0,codepoint:0},a={queue:0,queuedBits:0},s=l=>{oN(l,t,n)};for(let l=0;l<e.length;l+=1)L3(e.charCodeAt(l),a,s);return r.join("")}function iN(e,r){if(e<=127){r(e);return}else if(e<=2047){r(192|e>>6),r(128|e&63);return}else if(e<=65535){r(224|e>>12),r(128|e>>6&63),r(128|e&63);return}else if(e<=1114111){r(240|e>>18),r(128|e>>12&63),r(128|e>>6&63),r(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function sN(e,r){for(let n=0;n<e.length;n+=1){let t=e.charCodeAt(n);if(t>55295&&t<=56319){const a=(t-55296)*1024&65535;t=(e.charCodeAt(n+1)-56320&65535|a)+65536,n+=1}iN(t,r)}}function oN(e,r,n){if(r.utf8seq===0){if(e<=127){n(e);return}for(let t=1;t<6;t+=1)if((e>>7-t&1)===0){r.utf8seq=t;break}if(r.utf8seq===2)r.codepoint=e&31;else if(r.utf8seq===3)r.codepoint=e&15;else if(r.utf8seq===4)r.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");r.utf8seq-=1}else if(r.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");r.codepoint=r.codepoint<<6|e&63,r.utf8seq-=1,r.utf8seq===0&&n(r.codepoint)}}function Zo(e){const r=[],n={queue:0,queuedBits:0},t=a=>{r.push(a)};for(let a=0;a<e.length;a+=1)L3(e.charCodeAt(a),n,t);return new Uint8Array(r)}function lN(e){const r=[];return sN(e,n=>r.push(n)),new Uint8Array(r)}function $s(e){const r=[],n={queue:0,queuedBits:0},t=a=>{r.push(a)};return e.forEach(a=>P5(a,n,t)),P5(null,n,t),r.join("")}function cN(e){return Math.round(Date.now()/1e3)+e}function uN(){return Symbol("auth-callback")}const Vr=()=>typeof window<"u"&&typeof document<"u",js={tested:!1,writable:!1},$3=()=>{if(!Vr())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(js.tested)return js.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),js.tested=!0,js.writable=!0}catch{js.tested=!0,js.writable=!1}return js.writable};function dN(e){const r={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEac
75h((a,s)=>{r[s]=a})}catch{}return n.searchParams.forEach((t,a)=>{r[a]=t}),r}const D3=e=>e?(...r)=>e(...r):(...r)=>fetch(...r),fN=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Go=async(e,r,n)=>{await e.setItem(r,JSON.stringify(n))},As=async(e,r)=>{const n=await e.getItem(r);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Hr=async(e,r)=>{await e.removeItem(r)};class zh{constructor(){this.promise=new zh.promiseConstructor((r,n)=>{this.resolve=r,this.reject=n})}}zh.promiseConstructor=Promise;function Kd(e){const r=e.split(".");if(r.length!==3)throw new T1("Invalid JWT structure");for(let t=0;t<r.length;t++)if(!Qk.test(r[t]))throw new T1("JWT not in base64url format");return{header:JSON.parse(z5(r[0])),payload:JSON.parse(z5(r[1])),signature:Zo(r[2]),raw:{header:r[0],payload:r[1]}}}async function hN(e){return await new Promise(r=>{setTimeout(()=>r(null),e)})}function pN(e,r){return new Promise((t,a)=>{(async()=>{for(let s=0;s<1/0;s++)try{const l=await e(s);if(!r(s,null,l)){t(l);return}}catch(l){if(!r(s,l)){a(l);return}}})()})}function mN(e){return("0"+e.toString(16)).substr(-2)}function gN(){const r=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",t=n.length;let a="";for(let s=0;s<56;s++)a+=n.charAt(Math.floor(Math.random()*t));return a}return crypto.getRandomValues(r),Array.from(r,mN).join("")}async function vN(e){const n=new TextEncoder().encode(e),t=await crypto.subtle.digest("SHA-256",n),a=new Uint8Array(t);return Array.from(a).map(s=>String.fromCharCode(s)).join("")}async function yN(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await vN(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function To(e,r,n=!1){const t=gN();let a=t;n&&(a+="/PASSWORD_RECOVERY"),await Go(e,`${r}-code-verifier`,a);const s=await yN(t);return[s,t===s?"plain":"s256"]}const bN=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function xN(e){const r=e.headers.get(R1);if(!r||!r.match(bN))return null;try{return new Date(`${r}T00:00:00.0Z`)}catch{return null}}function _N(e){if(!e)throw new Error("Missing exp claim");const r=Math.floor(Date.now()/1e3);if(e<=r)throw new Error("JWT has expired")}function wN(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const SN=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Io(e){if(!SN.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function Dm(){const e={};return new Proxy(e,{get:(r,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const t=n.toString();if(t==="Symbol(Symbol.toPrimitive)"||t==="Symbol(Symbol.toStringTag)"||t==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(r,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(r,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function EN(e,r){return new Proxy(e,{get:(n,t,a)=>{if(t==="__isInsecureUserWarningProxy")return!0;if(typeof t=="symbol"){const s=t.toString();if(s==="Symbol(Symbol.toPrimitive)"||s==="Symbol(Symbol.toStringTag)"||s==="Symbol(util.inspect.custom)"||s==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,t,a)}return!r.value&&typeof t=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),r.value=!0),Reflect.get(n,t,a)}})}function B5(e){return JSON.parse(JSON.stringify(e))}const Ts=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),CN=[502,503,504];async function F5(e){var r;if(!fN(e))throw new O1(Ts(e),0);if(CN.includes(e.status))throw new O1(Ts(e),e.status);let n;try{n=await e.json()}catch(s){throw new Ls(Ts(s),s)}let t;const a=xN(e);if(a&&a.getTime()>=I3["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?t=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(t=n.error_code),t){if(t==="weak_password")throw new D5(Ts(n),e.status,((r=n.weak_password)===null||r===void 0?void 0:r.reasons)||[]);if(t==="session_not_found")throw new jn}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((s,l)=>s&&typeof l=="string",!0))throw new D5(Ts(n),e.status,n.weak_password.reasons);throw new eN(Ts(n),e.status||500,t)}const MN=(e,r,n,t)=>{const a={method:e,headers:(r==null?void 0:r.headers)||{}};return e==="GET"?a:(a.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},r==null?void 0:r.headers),a.body=JSON.stringify(t),Object.assign(Object.assign({},a),n))};async function je(e,r,n,t){var a;const s=Object.assign({},t==null?void 0:t.headers);s[R1]||(s[R1]=I3["2024-01-01"].name),t!=null&&t.jwt&&(s.Authorization=`Bearer ${t.jwt}`);const l=(a=t==null?void 0:t.query)!==null&&a!==void 0?a:{};t!=null&&t.redirectTo&&(l.redirect_to=t.redirectTo);const u=Object.keys(l).length?"?"+new URLSearchParams(l).toString():"",f=await kN(e,r,n+u,{headers:s,noResolveJson:t==null?void 0:t.noResolveJson},{},t==null?void 0:t.body);return t!=null&&t.xform?t==null?void 0:t.xform(f):{data:Object.assign({},f),error:null}}async function kN(e,r,n,t,a,s){const l=MN(r,t,a,s);let u;
75try{u=await e(n,Object.assign({},l))}catch(f){throw console.error(f),new O1(Ts(f),0)}if(u.ok||await F5(u),t!=null&&t.noResolveJson)return u;try{return await u.json()}catch(f){await F5(f)}}function ia(e){var r;let n=null;AN(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=cN(e.expires_in)));const t=(r=e.user)!==null&&r!==void 0?r:e;return{data:{session:n,user:t},error:null}}function q5(e){const r=ia(e);return!r.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,t)=>n&&typeof t=="string",!0)&&(r.data.weak_password=e.weak_password),r}function Ki(e){var r;return{data:{user:(r=e.user)!==null&&r!==void 0?r:e},error:null}}function NN(e){return{data:e,error:null}}function jN(e){const{action_link:r,email_otp:n,hashed_token:t,redirect_to:a,verification_type:s}=e,l=Dh(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),u={action_link:r,email_otp:n,hashed_token:t,redirect_to:a,verification_type:s},f=Object.assign({},l);return{data:{properties:u,user:f},error:null}}function H5(e){return e}function AN(e){return e.access_token&&e.refresh_token&&e.expires_in}const Um=["global","local","others"];class RN{constructor({url:r="",headers:n={},fetch:t}){this.url=r,this.headers=n,this.fetch=D3(t),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(r,n=Um[0]){if(Um.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${Um.join(", ")}`);try{return await je(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:r,noResolveJson:!0}),{data:null,error:null}}catch(t){if(we(t))return{data:null,error:t};throw t}}async inviteUserByEmail(r,n={}){try{return await je(this.fetch,"POST",`${this.url}/invite`,{body:{email:r,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:Ki})}catch(t){if(we(t))return{data:{user:null},error:t};throw t}}async generateLink(r){try{const{options:n}=r,t=Dh(r,["options"]),a=Object.assign(Object.assign({},t),n);return"newEmail"in t&&(a.new_email=t==null?void 0:t.newEmail,delete a.newEmail),await je(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:a,headers:this.headers,xform:jN,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(we(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(r){try{return await je(this.fetch,"POST",`${this.url}/admin/users`,{body:r,headers:this.headers,xform:Ki})}catch(n){if(we(n))return{data:{user:null},error:n};throw n}}async listUsers(r){var n,t,a,s,l,u,f;try{const p={nextPage:null,lastPage:0,total:0},m=await je(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(t=(n=r==null?void 0:r.page)===null||n===void 0?void 0:n.toString())!==null&&t!==void 0?t:"",per_page:(s=(a=r==null?void 0:r.perPage)===null||a===void 0?void 0:a.toString())!==null&&s!==void 0?s:""},xform:H5});if(m.error)throw m.error;const g=await m.json(),y=(l=m.headers.get("x-total-count"))!==null&&l!==void 0?l:0,_=(f=(u=m.headers.get("link"))===null||u===void 0?void 0:u.split(","))!==null&&f!==void 0?f:[];return _.length>0&&(_.forEach(w=>{const C=parseInt(w.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(w.split(";")[1].split("=")[1]);p[`${x}Page`]=C}),p.total=parseInt(y)),{data:Object.assign(Object.assign({},g),p),error:null}}catch(p){if(we(p))return{data:{users:[]},error:p};throw p}}async getUserById(r){Io(r);try{return await je(this.fetch,"GET",`${this.url}/admin/users/${r}`,{headers:this.headers,xform:Ki})}catch(n){if(we(n))return{data:{user:null},error:n};throw n}}async updateUserById(r,n){Io(r);try{return await je(this.fetch,"PUT",`${this.url}/admin/users/${r}`,{body:n,headers:this.headers,xform:Ki})}catch(t){if(we(t))return{data:{user:null},error:t};throw t}}async deleteUser(r,n=!1){Io(r);
75try{return await je(this.fetch,"DELETE",`${this.url}/admin/users/${r}`,{headers:this.headers,body:{should_soft_delete:n},xform:Ki})}catch(t){if(we(t))return{data:{user:null},error:t};throw t}}async _listFactors(r){Io(r.userId);try{const{data:n,error:t}=await je(this.fetch,"GET",`${this.url}/admin/users/${r.userId}/factors`,{headers:this.headers,xform:a=>({data:{factors:a},error:null})});return{data:n,error:t}}catch(n){if(we(n))return{data:null,error:n};throw n}}async _deleteFactor(r){Io(r.userId),Io(r.id);try{return{data:await je(this.fetch,"DELETE",`${this.url}/admin/users/${r.userId}/factors/${r.id}`,{headers:this.headers}),error:null}}catch(n){if(we(n))return{data:null,error:n};throw n}}async _listOAuthClients(r){var n,t,a,s,l,u,f;try{const p={nextPage:null,lastPage:0,total:0},m=await je(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(t=(n=r==null?void 0:r.page)===null||n===void 0?void 0:n.toString())!==null&&t!==void 0?t:"",per_page:(s=(a=r==null?void 0:r.perPage)===null||a===void 0?void 0:a.toString())!==null&&s!==void 0?s:""},xform:H5});if(m.error)throw m.error;const g=await m.json(),y=(l=m.headers.get("x-total-count"))!==null&&l!==void 0?l:0,_=(f=(u=m.headers.get("link"))===null||u===void 0?void 0:u.split(","))!==null&&f!==void 0?f:[];return _.length>0&&(_.forEach(w=>{const C=parseInt(w.split(";")[0].split("=")[1].substring(0,1)),x=JSON.parse(w.split(";")[1].split("=")[1]);p[`${x}Page`]=C}),p.total=parseInt(y)),{data:Object.assign(Object.assign({},g),p),error:null}}catch(p){if(we(p))return{data:{clients:[]},error:p};throw p}}async _createOAuthClient(r){try{return await je(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:r,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(we(n))return{data:null,error:n};throw n}}async _getOAuthClient(r){try{return await je(this.fetch,"GET",`${this.url}/admin/oauth/clients/${r}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(we(n))return{data:null,error:n};throw n}}async _updateOAuthClient(r,n){try{return await je(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${r}`,{body:n,headers:this.headers,xform:t=>({data:t,error:null})})}catch(t){if(we(t))return{data:null,error:t};throw t}}async _deleteOAuthClient(r){try{return await je(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${r}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(we(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(r){try{return await je(this.fetch,"POST",`${this.url}/admin/oauth/clients/${r}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(we(n))return{data:null,error:n};throw n}}}function G5(e={}){return{getItem:r=>e[r]||null,setItem:(r,n)=>{e[r]=n},removeItem:r=>{delete e[r]}}}const Lo={debug:!!(globalThis&&$3()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class U3 extends Error{constructor(r){super(r),this.isAcquireTimeout=!0}}class ON extends U3{}async function TN(e,r,n){Lo.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,r);const t=new globalThis.AbortController;return r>0&&setTimeout(()=>{t.abort(),Lo.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},r),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,r===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:t.signal},async a=>{if(a){Lo.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,a.name);try{return await n()}finally{Lo.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,a.name)}}else{if(r===0)throw Lo.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new ON(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(Lo.debug)try{const s=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(s,null," "))}catch(s){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",s)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}}))}function IN(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function P3(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}
75" is invalid.`);return e.toLowerCase()}function LN(e){return parseInt(e,16)}function $N(e){const r=new TextEncoder().encode(e);return"0x"+Array.from(r,t=>t.toString(16).padStart(2,"0")).join("")}function DN(e){var r;const{chainId:n,domain:t,expirationTime:a,issuedAt:s=new Date,nonce:l,notBefore:u,requestId:f,resources:p,scheme:m,uri:g,version:y}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!t)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(l&&l.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${l}`);if(!g)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(y!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${y}`);if(!((r=e.statement)===null||r===void 0)&&r.includes(` 76`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const _=P3(e.address),w=m?`${m}://${t}`:t,C=e.statement?`${e.statement} 77`:"",x=`${w} wants you to sign in with your Ethereum account: 78${_} 79 80${C}`;let S=`URI: ${g} 81Version: ${y} 82Chain ID: ${n}${l?` 83Nonce: ${l}`:""} 84Issued At: ${s.toISOString()}`;if(a&&(S+=` 85Expiration Time: ${a.toISOString()}`),u&&(S+=` 86Not Before: ${u.toISOString()}`),f&&(S+=` 87Request ID: ${f}`),p){let k=` 88Resources:`;for(const j of p){if(!j||typeof j!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${j}`);k+=` 89- ${j}`}S+=k}return`${x} 90${S}`}class vr extends Error{constructor({message:r,code:n,cause:t,name:a}){var s;super(r,{cause:t}),this.__isWebAuthnError=!0,this.name=(s=a??(t instanceof Error?t.name:void 0))!==null&&s!==void 0?s:"Unknown Error",this.code=n}}class Zf extends vr{constructor(r,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:r}),this.name="WebAuthnUnknownError",this.originalError=n}}function UN({error:e,options:r}){var n,t,a;const{publicKey:s}=r;if(!s)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(r.signal instanceof AbortSignal)return new vr({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=s.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new vr({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(r.mediation==="conditional"&&((t=s.authenticatorSelection)===null||t===void 0?void 0:t.userVerification)==="required")return new vr({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((a=s.authenticatorSelection)===null||a===void 0?void 0:a.userVerification)==="required")return new vr({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new vr({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new vr({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return s.pubKeyCredParams.filter(u=>u.type==="public-key").length===0?new vr({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new vr({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const l=window.location.hostname;if(z3(l)){if(s.rp.id!==l)return new vr({message:`The RP ID "${s.rp.id}
90" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new vr({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(s.user.id.byteLength<1||s.user.id.byteLength>64)return new vr({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new vr({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new vr({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function PN({error:e,options:r}){const{publicKey:n}=r;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(r.signal instanceof AbortSignal)return new vr({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new vr({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const t=window.location.hostname;if(z3(t)){if(n.rpId!==t)return new vr({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new vr({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new vr({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new vr({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class zN{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const r=new AbortController;return this.controller=r,r.signal}cancelCeremony(){if(this.controller){const r=new Error("Manually cancelling existing WebAuthn API call");r.name="AbortError",this.controller.abort(r),this.controller=void 0}}}const BN=new zN;function FN(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:r,user:n,excludeCredentials:t}=e,a=Dh(e,["challenge","user","excludeCredentials"]),s=Zo(r).buffer,l=Object.assign(Object.assign({},n),{id:Zo(n.id).buffer}),u=Object.assign(Object.assign({},a),{challenge:s,user:l});if(t&&t.length>0){u.excludeCredentials=new Array(t.length);for(let f=0;f<t.length;f++){const p=t[f];u.excludeCredentials[f]=Object.assign(Object.assign({},p),{id:Zo(p.id).buffer,type:p.type||"public-key",transports:p.transports})}}return u}function qN(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:r,allowCredentials:n}=e,t=Dh(e,["challenge","allowCredentials"]),a=Zo(r).buffer,s=Object.assign(Object.assign({},t),{challenge:a});if(n&&n.length>0){s.allowCredentials=new Array(n.length);for(let l=0;l<n.length;l++){const u=n[l];s.allowCredentials[l]=Object.assign(Object.assign({},u),{id:Zo(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return s}function HN(e){var r;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:$s(new Uint8Array(e.response.attestationObject)),clientDataJSON:$s(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(r=n.authenticatorAttachment)!==null&&r!==void 0?r:void 0}}function GN(e){var r;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,t=e.getClientExtensionResults(),a=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:$s(new Uint8Array(a.authenticatorData)),clientDataJSON:$s(new Uint8Array(a.clientDataJSON)),signature:$s(new Uint8Array(a.signature)),userHandle:a.userHandle?$s(new Uint8Array(a.userHandle)):void 0},type:"public-key",clientExtensionResults:t,authenticatorAttachment:(r=n.authenticatorAttachment)!==null&&r!==void 0?r:void 0}}function z3(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function V5(){var e,r;return!!(Vr()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((r=navigator==null?void 0:navigator.credentials)===null||r===void 0?void 0:r.get)=="function")}async function VN(e){try{const r=await navigator.credentials.create(e);return r?r instanceof PublicKeyCredential?{data:r,error:null}:{data:null,error:new Zf("Browser returned unexpected credential type",r)}:{data:null,error:new Zf("Empty credential response",r)}}catch(r){return{data:null,error:UN({error:r,options:e})}}}async function YN(e){try{const r=await navigator.credentials.get(e);return r?r instanceof PublicKeyCredential?{data:r,error:null}:{data:null,error:new Zf("Browser returned unexpected credential type",r)}:{data:null,error:new Zf("Empty credential response",r)}}catch(r){return{data:null,error:PN({error:r,options:e})}}}const KN={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"}
90,WN={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function eh(...e){const r=a=>a!==null&&typeof a=="object"&&!Array.isArray(a),n=a=>a instanceof ArrayBuffer||ArrayBuffer.isView(a),t={};for(const a of e)if(a)for(const s in a){const l=a[s];if(l!==void 0)if(Array.isArray(l))t[s]=l;else if(n(l))t[s]=l;else if(r(l)){const u=t[s];r(u)?t[s]=eh(u,l):t[s]=eh(l)}else t[s]=l}return t}function JN(e,r){return eh(KN,e,r||{})}function XN(e,r){return eh(WN,e,r||{})}class QN{constructor(r){this.client=r,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(r){return this.client.mfa.enroll(Object.assign(Object.assign({},r),{factorType:"webauthn"}))}async _challenge({factorId:r,webauthn:n,friendlyName:t,signal:a},s){var l;try{const{data:u,error:f}=await this.client.mfa.challenge({factorId:r,webauthn:n});if(!u)return{data:null,error:f};const p=a??BN.createNewAbortSignal();if(u.webauthn.type==="create"){const{user:m}=u.webauthn.credential_options.publicKey;if(!m.name){const g=t;if(g)m.name=`${m.id}:${g}`;else{const _=(await this.client.getUser()).data.user,w=((l=_==null?void 0:_.user_metadata)===null||l===void 0?void 0:l.name)||(_==null?void 0:_.email)||(_==null?void 0:_.id)||"User";m.name=`${m.id}:${w}`}}m.displayName||(m.displayName=m.name)}switch(u.webauthn.type){case"create":{const m=JN(u.webauthn.credential_options.publicKey,s==null?void 0:s.create),{data:g,error:y}=await VN({publicKey:m,signal:p});return g?{data:{factorId:r,challengeId:u.id,webauthn:{type:u.webauthn.type,credential_response:g}},error:null}:{data:null,error:y}}case"request":{const m=XN(u.webauthn.credential_options.publicKey,s==null?void 0:s.request),{data:g,error:y}=await YN(Object.assign(Object.assign({},u.webauthn.credential_options),{publicKey:m,signal:p}));return g?{data:{factorId:r,challengeId:u.id,webauthn:{type:u.webauthn.type,credential_response:g}},error:null}:{data:null,error:y}}}}catch(u){return we(u)?{data:null,error:u}:{data:null,error:new Ls("Unexpected error in challenge",u)}}}async _verify({challengeId:r,factorId:n,webauthn:t}){return this.client.mfa.verify({factorId:n,challengeId:r,webauthn:t})}async _authenticate({factorId:r,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:t=typeof window<"u"?[window.location.origin]:void 0,signal:a}={}},s){if(!n)return{data:null,error:new Vc("rpId is required for WebAuthn authentication")};try{if(!V5())return{data:null,error:new Ls("Browser does not support WebAuthn",null)};const{data:l,error:u}=await this.challenge({factorId:r,webauthn:{rpId:n,rpOrigins:t},signal:a},{request:s});if(!l)return{data:null,error:u};const{webauthn:f}=l;return this._verify({factorId:r,challengeId:l.challengeId,webauthn:{type:f.type,rpId:n,rpOrigins:t,credential_response:f.credential_response}})}catch(l){return we(l)?{data:null,error:l}:{data:null,error:new Ls("Unexpected error in authenticate",l)}}}async _register({friendlyName:r,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:t=typeof window<"u"?[window.location.origin]:void 0,signal:a}={}},s){if(!n)return{data:null,error:new Vc("rpId is required for WebAuthn registration")};try{if(!V5())return{data:null,error:new Ls("Browser does not support WebAuthn",null)};const{data:l,error:u}=await this._enroll({friendlyName:r});if(!l)return await this.client.mfa.listFactors().then(m=>{var g;return(g=m.data)===null||g===void 0?void 0:g.all.find(y=>y.factor_type==="webauthn"&&y.friendly_name===r&&y.status!=="unverified")}).then(m=>m?this.client.mfa.unenroll({factorId:m==null?void 0:m.id}):void 0),{data:null,error:u};const{data:f,error:p}=await this._challenge({factorId:l.id,friendlyName:l.friendly_name,webauthn:{rpId:n,rpOrigins:t},signal:a},{create:s});return f?this._verify({factorId:l.id,challengeId:f.challengeId,webauthn:{rpId:n,rpOrigins:t,type:f.webauthn.type,credential_response:f.webauthn.credential_response}}):{data:null,error:p}}catch(l){return we(l)?{data:null,error:l}:{data:null,error:new Ls("Unexpected error in register",l)}}}}IN();const ZN={url:Wk,storageKey:Jk,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Xk,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:1e4};async function Y5(e,r,n){return await n()}const $o={};class Yc{get jwks(){var r,n;return(n=(r=$o[this.storageKey])===null||r===void 0?void 0:r.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(r){$o[this.storageKey]=Object.assign(Object.assign({},$o[this.storageKey]),{jwks:r})}get jwks_cached_at(){var r,n;return(n=(r=$o[this.storageKey])===null||r===void 0?void 0:r.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(r){$o[this.storageKey]=Object.assign(Object.assign({},$o[this.storageKey]),{cachedAt:r})}constructor(r){var n,t,a;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const s=Object.assign(Object.assign({},ZN),r);if(this.storageKey=s.storageKey,this.instanceID=(n=Yc.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,Yc.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!s.debug,typeof s.debug=="function"&&(this.logger=s.debug),this.instanceID>0&&Vr()){const l=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(l),this.logDebugMessages&&console.trace(l)}if(this.persistSession=s.persistSession,this.autoRefreshToken=s.autoRefreshToken,this.admin=new RN({url:s.url,headers:s.headers,fetch:s.fetch}),this.url=s.url,this.headers=s.headers,this.fetch=D3(s.fetch),this.lock=s.lock||Y5,this.detectSessionInUrl=s.detectSessionInUrl,this.flowType=s.flowType,this.hasCustomAuthorizationHeader=s.hasCustomAuthorizationHeader,this.throwOnError=s.throwOnError,this.lockAcquireTimeout=s.lockAcquireTimeout,s.lock?this.lock=s.lock:this.persistSession&&Vr()&&(!((t=globalThis==null?void 0:globalThis.navigator)===null||t===void 0)&&t.locks)?this.lock=TN:this.lock=Y5,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new QN(this)}
90,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(s.storage?this.storage=s.storage:$3()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=G5(this.memoryStorage)),s.userStorage&&(this.userStorage=s.userStorage)):(this.memoryStorage={},this.storage=G5(this.memoryStorage)),Vr()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(l){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",l)}(a=this.broadcastChannel)===null||a===void 0||a.addEventListener("message",async l=>{this._debug("received broadcast notification from other tab or client",l);try{await this._notifyAllSubscribers(l.data.event,l.data.session,!1)}catch(u){this._debug("#broadcastChannel","error",u)}})}this.initialize().catch(l=>{this._debug("#initialize()","error",l)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(r){if(this.throwOnError&&r&&r.error)throw r.error;return r}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${T3}) ${new Date().toISOString()}`}_debug(...r){return this.logDebugMessages&&this.logger(this._logPrefix(),...r),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var r;try{let n={},t="none";if(Vr()&&(n=dN(window.location.href),this._isImplicitGrantCallback(n)?t="implicit":await this._isPKCECallback(n)&&(t="pkce")),Vr()&&this.detectSessionInUrl&&t!=="none"){const{data:a,error:s}=await this._getSessionFromURL(n,t);if(s){if(this._debug("#_initialize()","error detecting session from URL",s),rN(s)){const f=(r=s.details)===null||r===void 0?void 0:r.code;if(f==="identity_already_exists"||f==="identity_not_found"||f==="single_identity_not_deletable")return{error:s}}return{error:s}}const{session:l,redirectType:u}=a;return this._debug("#_initialize()","detected session in URL",l,"redirect type",u),await this._saveSession(l),setTimeout(async()=>{u==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",l):await this._notifyAllSubscribers("SIGNED_IN",l)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return we(n)?this._returnResult({error:n}):this._returnResult({error:new Ls("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(r){var n,t,a;try{const s=await je(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(t=(n=r==null?void 0:r.options)===null||n===void 0?void 0:n.data)!==null&&t!==void 0?t:{},gotrue_meta_security:{captcha_token:(a=r==null?void 0:r.options)===null||a===void 0?void 0:a.captchaToken}},xform:ia}),{data:l,error:u}=s;if(u||!l)return this._returnResult({data:{user:null,session:null},error:u});const f=l.session,p=l.user;return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",f)),this._returnResult({data:{user:p,session:f},error:null})}catch(s){if(we(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signUp(r){var n,t,a;try{let s;if("email"in r){const{email:m,password:g,options:y}=r;let _=null,w=null;this.flowType==="pkce"&&([_,w]=await To(this.storage,this.storageKey)),s=await je(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:y==null?void 0:y.emailRedirectTo,body:{email:m,password:g,data:(n=y==null?void 0:y.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:y==null?void 0:y.captchaToken},code_challenge:_,code_challenge_method:w},xform:ia})}else if("phone"in r){const{phone:m,password:g,options:y}=r;s=await je(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:m,password:g,data:(t=y==null?void 0:y.data)!==null&&t!==void 0?t:{},channel:(a=y==null?void 0:y.channel)!==null&&a!==void 0?a:"sms",gotrue_meta_security:{captcha_token:y==null?void 0:y.captchaToken}},xform:ia})}else throw new Vd("You must provide either an email or phone number and a password");const{data:l,error:u}=s;if(u||!l)return await Hr(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:u});const f=l.session,p=l.user;return l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",f)),this._returnResult({data:{user:p,session:f},error:null})}catch(s){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signInWithPassword(r){try{let n;if("email"in r){const{email:s,password:l,options:u}=r;n=await je(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:s,password:l,gotrue_meta_security:{captcha_token:u==null?void 0:u.captchaToken}},xform:q5})}else if("phone"in r){const{phone:s,password:l,options:u}=r;n=await je(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:s,password:l,gotrue_meta_security:{captcha_token:u==null?void 0:u.captchaToken}},xform:q5})}else throw new Vd("You must provide either an email or phone number and a password");const{data:t,error:a}=n;
90if(a)return this._returnResult({data:{user:null,session:null},error:a});if(!t||!t.session||!t.user){const s=new Oo;return this._returnResult({data:{user:null,session:null},error:s})}return t.session&&(await this._saveSession(t.session),await this._notifyAllSubscribers("SIGNED_IN",t.session)),this._returnResult({data:Object.assign({user:t.user,session:t.session},t.weak_password?{weakPassword:t.weak_password}:null),error:a})}catch(n){if(we(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(r){var n,t,a,s;return await this._handleProviderSignIn(r.provider,{redirectTo:(n=r.options)===null||n===void 0?void 0:n.redirectTo,scopes:(t=r.options)===null||t===void 0?void 0:t.scopes,queryParams:(a=r.options)===null||a===void 0?void 0:a.queryParams,skipBrowserRedirect:(s=r.options)===null||s===void 0?void 0:s.skipBrowserRedirect})}async exchangeCodeForSession(r){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(r))}async signInWithWeb3(r){const{chain:n}=r;switch(n){case"ethereum":return await this.signInWithEthereum(r);case"solana":return await this.signInWithSolana(r);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(r){var n,t,a,s,l,u,f,p,m,g,y;let _,w;if("message"in r)_=r.message,w=r.signature;else{const{chain:C,wallet:x,statement:S,options:k}=r;let j;if(Vr())if(typeof x=="object")j=x;else{const J=window;if("ethereum"in J&&typeof J.ethereum=="object"&&"request"in J.ethereum&&typeof J.ethereum.request=="function")j=J.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof x!="object"||!(k!=null&&k.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");j=x}const O=new URL((n=k==null?void 0:k.url)!==null&&n!==void 0?n:window.location.href),$=await j.request({method:"eth_requestAccounts"}).then(J=>J).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!$||$.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const T=P3($[0]);let D=(t=k==null?void 0:k.signInWithEthereum)===null||t===void 0?void 0:t.chainId;if(!D){const J=await j.request({method:"eth_chainId"});D=LN(J)}const z={domain:O.host,address:T,statement:S,uri:O.href,version:"1",chainId:D,nonce:(a=k==null?void 0:k.signInWithEthereum)===null||a===void 0?void 0:a.nonce,issuedAt:(l=(s=k==null?void 0:k.signInWithEthereum)===null||s===void 0?void 0:s.issuedAt)!==null&&l!==void 0?l:new Date,expirationTime:(u=k==null?void 0:k.signInWithEthereum)===null||u===void 0?void 0:u.expirationTime,notBefore:(f=k==null?void 0:k.signInWithEthereum)===null||f===void 0?void 0:f.notBefore,requestId:(p=k==null?void 0:k.signInWithEthereum)===null||p===void 0?void 0:p.requestId,resources:(m=k==null?void 0:k.signInWithEthereum)===null||m===void 0?void 0:m.resources};_=DN(z),w=await j.request({method:"personal_sign",params:[$N(_),T]})}try{const{data:C,error:x}=await je(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:_,signature:w},!((g=r.options)===null||g===void 0)&&g.captchaToken?{gotrue_meta_security:{captcha_token:(y=r.options)===null||y===void 0?void 0:y.captchaToken}}:null),xform:ia});if(x)throw x;if(!C||!C.session||!C.user){const S=new Oo;return this._returnResult({data:{user:null,session:null},error:S})}return C.session&&(await this._saveSession(C.session),await this._notifyAllSubscribers("SIGNED_IN",C.session)),this._returnResult({data:Object.assign({},C),error:x})}catch(C){if(we(C))return this._returnResult({data:{user:null,session:null},error:C});throw C}}async signInWithSolana(r){var n,t,a,s,l,u,f,p,m,g,y,_;let w,C;if("message"in r)w=r.message,C=r.signature;else{const{chain:x,wallet:S,statement:k,options:j}=r;let O;if(Vr())if(typeof S=="object")O=S;else{const T=window;if("solana"in T&&typeof T.solana=="object"&&("signIn"in T.solana&&typeof T.solana.signIn=="function"||"signMessage"in T.solana&&typeof T.solana.signMessage=="function"))O=T.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof S!="object"||!(j!=null&&j.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");O=S}const $=new URL((n=j==null?void 0:j.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in O&&O.signIn){const T=await O.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},j==null?void 0:j.signInWithSolana),{version:"1",domain:$.host,uri:$.href}),k?{statement:k}:null));let D;if(Array.isArray(T)&&T[0]&&typeof T[0]=="object")D=T[0];else if(T&&typeof T=="object"&&"signedMessage"in T&&"signature"in T)D=T;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in D&&"signature"in D&&(typeof D.signedMessage=="string"||D.signedMessage instanceof Uint8Array)&&D.signature instanceof Uint8Array)w=typeof D.signedMessage=="string"?D.signedMessage:new TextDecoder().decode(D.signedMessage),C=D.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in O)||typeof O.signMessage!="function"||!("publicKey"in O)||typeof O!="object"||!O.publicKey||!("toBase58"in O.publicKey)||typeof O.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");w=[`${$.host} wants you to sign in with your Solana account:`,O.publicKey.toBase58(),...k?["",k,""]:[""],"Version: 1",`URI: ${$.href}`,`Issued At: ${(a=(t=j==null?void 0:j.signInWithSolana)===null||t===void 0?void 0:t.issuedAt)!==null&&a!==void 0?a:new Date().toISOString()}`,...!((s=j==null?void 0:j.signInWithSolana)===null||s===void 0)&&s.notBefore?[`Not Before: ${j.signInWithSolana.notBefore}`]:[],...!((l=j==null?void 0:j.signInWithSolana)===null||l===void 0)&&l.expirationTime?[`Expiration Time: ${j.signInWithSolana.expirationTime}`]:[],...!((u=j==null?void 0:j.signInWithSolana)===null||u===void 0)&&u.chainId?[`Chain ID: ${j.signInWithSolana.chainId}`]:[],...!((f=j==null?void 0:j.signInWithSolana)===null||f===void 0)&&f.nonce?[`Nonce: ${j.signInWithSolana.nonce}`]:[],...!((p=j==null?void 0:j.signInWithSolana)===null||p===void 0)&&p.requestId?[`Request ID: ${j.signInWithSolana.requestId}`]:[],...!((g=(m=j==null?void 0:j.signInWithSolana)===null||m===void 0?void 0:m.resources)===null||g===void 0)&&g.length?["Resources",...j.sign
90InWithSolana.resources.map(D=>`- ${D}`)]:[]].join(` 91`);const T=await O.signMessage(new TextEncoder().encode(w),"utf8");if(!T||!(T instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");C=T}}try{const{data:x,error:S}=await je(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:w,signature:$s(C)},!((y=r.options)===null||y===void 0)&&y.captchaToken?{gotrue_meta_security:{captcha_token:(_=r.options)===null||_===void 0?void 0:_.captchaToken}}:null),xform:ia});if(S)throw S;if(!x||!x.session||!x.user){const k=new Oo;return this._returnResult({data:{user:null,session:null},error:k})}return x.session&&(await this._saveSession(x.session),await this._notifyAllSubscribers("SIGNED_IN",x.session)),this._returnResult({data:Object.assign({},x),error:S})}catch(x){if(we(x))return this._returnResult({data:{user:null,session:null},error:x});throw x}}async _exchangeCodeForSession(r){const n=await As(this.storage,`${this.storageKey}-code-verifier`),[t,a]=(n??"").split("/");try{if(!t&&this.flowType==="pkce")throw new nN;const{data:s,error:l}=await je(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:r,code_verifier:t},xform:ia});if(await Hr(this.storage,`${this.storageKey}-code-verifier`),l)throw l;if(!s||!s.session||!s.user){const u=new Oo;return this._returnResult({data:{user:null,session:null,redirectType:null},error:u})}return s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),this._returnResult({data:Object.assign(Object.assign({},s),{redirectType:a??null}),error:l})}catch(s){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(s))return this._returnResult({data:{user:null,session:null,redirectType:null},error:s});throw s}}async signInWithIdToken(r){try{const{options:n,provider:t,token:a,access_token:s,nonce:l}=r,u=await je(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:t,id_token:a,access_token:s,nonce:l,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:ia}),{data:f,error:p}=u;if(p)return this._returnResult({data:{user:null,session:null},error:p});if(!f||!f.session||!f.user){const m=new Oo;return this._returnResult({data:{user:null,session:null},error:m})}return f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("SIGNED_IN",f.session)),this._returnResult({data:f,error:p})}catch(n){if(we(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(r){var n,t,a,s,l;try{if("email"in r){const{email:u,options:f}=r;let p=null,m=null;this.flowType==="pkce"&&([p,m]=await To(this.storage,this.storageKey));const{error:g}=await je(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:u,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},create_user:(t=f==null?void 0:f.shouldCreateUser)!==null&&t!==void 0?t:!0,gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:p,code_challenge_method:m},redirectTo:f==null?void 0:f.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:g})}if("phone"in r){const{phone:u,options:f}=r,{data:p,error:m}=await je(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:u,data:(a=f==null?void 0:f.data)!==null&&a!==void 0?a:{},create_user:(s=f==null?void 0:f.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},channel:(l=f==null?void 0:f.channel)!==null&&l!==void 0?l:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:p==null?void 0:p.message_id},error:m})}throw new Vd("You must provide either an email or phone number.")}catch(u){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(u))return this._returnResult({data:{user:null,session:null},error:u});throw u}}async verifyOtp(r){var n,t;try{let a,s;"options"in r&&(a=(n=r.options)===null||n===void 0?void 0:n.redirectTo,s=(t=r.options)===null||t===void 0?void 0:t.captchaToken);const{data:l,error:u}=await je(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},r),{gotrue_meta_security:{captcha_token:s}}),redirectTo:a,xform:ia});if(u)throw u;if(!l)throw new Error("An error occurred on token verification.");const f=l.session,p=l.user;return f!=null&&f.access_token&&(await this._saveSession(f),await this._notifyAllSubscribers(r.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",f)),this._returnResult({data:{user:p,session:f},error:null})}catch(a){if(we(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}}async signInWithSSO(r){var n,t,a,s,l;try{let u=null,f=null;this.flowType==="pkce"&&([u,f]=await To(this.storage,this.storageKey));const p=await je(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in r?{provider_id:r.providerId}:null),"domain"in r?{domain:r.domain}:null),{redirect_to:(t=(n=r.options)===null||n===void 0?void 0:n.redirectTo)!==null&&t!==void 0?t:void 0}),!((a=r==null?void 0:r.options)===null||a===void 0)&&a.captchaToken?{gotrue_meta_security:{captcha_token:r.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:u,code_challenge_method:f}),headers:this.headers,xform:NN});return!((s=p.data)===null||s===void 0)&&s.url&&Vr()&&!(!((l=r.options)===null||l===void 0)&&l.skipBrowserRedirect)&&window.location.assign(p.data.url),this._returnResult(p)}catch(u){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(u))return this._returnResult({data:null,error:u});throw u}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async r=>{const{data:{session:n},error:t}=r;if(t)throw t;if(!n)throw new jn;const{error:a}=await je(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:a})})}catch(r){if(we(r))return this._returnResult({data:{user:null,session:null},error:r});throw r}}async resend(r){try{const n=`${this.url}/resend`;if("email"in r){const{email:t,type:a,options:s}=r,{error:l}=await je(this.fetch,"POST",n,{headers:this.headers,body:{email:t,type:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},redirectTo:s==null?void 0:s.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:l})}else if("phone"in r){const{phone:t,type:a,options:s}=r,{data:l,error:u}=await je(this.fetch,"POST",n,{headers:this.headers,body:{phone:t,type:a,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:l==null?void 0:l.message_id},error:u})}throw new Vd("You must provide either an email or phone number and a type")}catch(n){if(we(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(r,n){this._debug("#_acquireLock","begin",r);try{if(this.lockAcquired){const t=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),a=(async()=>(await t,await n()))();return this.pendingInLock.push((async()=>{try{await a}catch{}})()),a}return await this.lock(`lock:${this.storageKey}`,r,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const t=n();for(this.pendingInLock.push((async()=>{try{await t}catch{}})()),await t;this.pendingInLock.length;){const a=[...this.pendingInLock];await Promise.all(a),this.pendingInLock.splice(0,a.length)}return await t}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(r){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await r(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let r=null;const n=await As(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?r=n:(this._debug("#getSession()","session from storage is not val
91id"),await this._removeSession())),!r)return{data:{session:null},error:null};const t=r.expires_at?r.expires_at*1e3-Date.now()<Im:!1;if(this._debug("#__loadSession()",`session has${t?"":" not"} expired`,"expires_at",r.expires_at),!t){if(this.userStorage){const l=await As(this.userStorage,this.storageKey+"-user");l!=null&&l.user?r.user=l.user:r.user=Dm()}if(this.storage.isServer&&r.user&&!r.user.__isUserNotAvailableProxy){const l={value:this.suppressGetSessionWarning};r.user=EN(r.user,l),l.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:r},error:null}}const{data:a,error:s}=await this._callRefreshToken(r.refresh_token);return s?this._returnResult({data:{session:null},error:s}):this._returnResult({data:{session:a},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(r){if(r)return await this._getUser(r);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(r){try{return r?await je(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:r,xform:Ki}):await this._useSession(async n=>{var t,a,s;const{data:l,error:u}=n;if(u)throw u;return!(!((t=l.session)===null||t===void 0)&&t.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new jn}:await je(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(s=(a=l.session)===null||a===void 0?void 0:a.access_token)!==null&&s!==void 0?s:void 0,xform:Ki})})}catch(n){if(we(n))return Lm(n)&&(await this._removeSession(),await Hr(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(r,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(r,n))}async _updateUser(r,n={}){try{return await this._useSession(async t=>{const{data:a,error:s}=t;if(s)throw s;if(!a.session)throw new jn;const l=a.session;let u=null,f=null;this.flowType==="pkce"&&r.email!=null&&([u,f]=await To(this.storage,this.storageKey));const{data:p,error:m}=await je(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},r),{code_challenge:u,code_challenge_method:f}),jwt:l.access_token,xform:Ki});if(m)throw m;return l.user=p.user,await this._saveSession(l),await this._notifyAllSubscribers("USER_UPDATED",l),this._returnResult({data:{user:l.user},error:null})})}catch(t){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(t))return this._returnResult({data:{user:null},error:t});throw t}}async setSession(r){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(r))}async _setSession(r){try{if(!r.access_token||!r.refresh_token)throw new jn;const n=Date.now()/1e3;let t=n,a=!0,s=null;const{payload:l}=Kd(r.access_token);if(l.exp&&(t=l.exp,a=t<=n),a){const{data:u,error:f}=await this._callRefreshToken(r.refresh_token);if(f)return this._returnResult({data:{user:null,session:null},error:f});if(!u)return{data:{user:null,session:null},error:null};s=u}else{const{data:u,error:f}=await this._getUser(r.access_token);if(f)return this._returnResult({data:{user:null,session:null},error:f});s={access_token:r.access_token,refresh_token:r.refresh_token,user:u.user,token_type:"bearer",expires_in:t-n,expires_at:t},await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)}return this._returnResult({data:{user:s.user,session:s},error:null})}catch(n){if(we(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(r){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(r))}async _refreshSession(r){try{return await this._useSession(async n=>{var t;if(!r){const{data:l,error:u}=n;if(u)throw u;r=(t=l.session)!==null&&t!==void 0?t:void 0}if(!(r!=null&&r.refresh_token))throw new jn;const{data:a,error:s}=await this._callRefreshToken(r.refresh_token);return s?this._returnResult({data:{user:null,session:null},error:s}):a?this._returnResult({data:{user:a.user,session:a},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(we(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(r,n){try{if(!Vr())throw new Yd("No browser detected.");
91if(r.error||r.error_description||r.error_code)throw new Yd(r.error_description||"Error in URL with unspecified error_description",{error:r.error||"unspecified_error",code:r.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new $5("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Yd("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!r.code)throw new $5("No code detected.");const{data:k,error:j}=await this._exchangeCodeForSession(r.code);if(j)throw j;const O=new URL(window.location.href);return O.searchParams.delete("code"),window.history.replaceState(window.history.state,"",O.toString()),{data:{session:k.session,redirectType:null},error:null}}const{provider_token:t,provider_refresh_token:a,access_token:s,refresh_token:l,expires_in:u,expires_at:f,token_type:p}=r;if(!s||!u||!l||!p)throw new Yd("No session defined in URL");const m=Math.round(Date.now()/1e3),g=parseInt(u);let y=m+g;f&&(y=parseInt(f));const _=y-m;_*1e3<=Ho&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${_}s, should have been closer to ${g}s`);const w=y-g;m-w>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",w,y,m):m-w<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",w,y,m);const{data:C,error:x}=await this._getUser(s);if(x)throw x;const S={provider_token:t,provider_refresh_token:a,access_token:s,expires_in:g,expires_at:y,refresh_token:l,token_type:p,user:C.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:S,redirectType:r.type},error:null})}catch(t){if(we(t))return this._returnResult({data:{session:null,redirectType:null},error:t});throw t}}_isImplicitGrantCallback(r){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),r):!!(r.access_token||r.error_description)}async _isPKCECallback(r){const n=await As(this.storage,`${this.storageKey}-code-verifier`);return!!(r.code&&n)}async signOut(r={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(r))}async _signOut({scope:r}={scope:"global"}){return await this._useSession(async n=>{var t;const{data:a,error:s}=n;if(s&&!Lm(s))return this._returnResult({error:s});const l=(t=a.session)===null||t===void 0?void 0:t.access_token;if(l){const{error:u}=await this.admin.signOut(l,r);if(u&&!(tN(u)&&(u.status===404||u.status===401||u.status===403)||Lm(u)))return this._returnResult({error:u})}return r!=="others"&&(await this._removeSession(),await Hr(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(r){const n=uN(),t={id:n,callback:r,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,t),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:t}}}async _emitInitialSession(r){return await this._useSession(async n=>{var t,a;try{const{data:{session:s},error:l}=n;if(l)throw l;await((t=this.stateChangeEmitters.get(r))===null||t===void 0?void 0:t.callback("INITIAL_SESSION",s)),this._debug("INITIAL_SESSION","callback id",r,"session",s)}catch(s){await((a=this.stateChangeEmitters.get(r))===null||a===void 0?void 0:a.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",r,"error",s),console.error(s)}})}async resetPasswordForEmail(r,n={}){let t=null,a=null;this.flowType==="pkce"&&([t,a]=await To(this.storage,this.storageKey,!0));try{return await je(this.fetch,"POST",`${this.url}/recover`,{body:{email:r,code_challenge:t,code_challenge_method:a,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(s){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(s))return this._returnResult({data:null,error:s});throw s}}async getUserIdentities(){var r;try{const{data:n,error:t}=await this.getUser();if(t)throw t;return this._returnResult({data:{identities:(r=n.user.identities)!==null&&r!==void 0?r:[]},error:null})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(r){return"token"in r?this.linkIdentityIdToken(r):this.linkIdentityOAuth(r)}async linkIdentityOAuth(r){var n;try{const{data:t,error:a}=await this._useSession(async s=>{var l,u,f,p,m;const{data:g,error:y}=s;if(y)throw y;const _=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,r.provider,{redirectTo:(l=r.options)===null||l===void 0?void 0:l.redirectTo,scopes:(u=r.options)===null||u===void 0?void 0:u.scopes,queryParams:(f=r.options)===null||f===void 0?void 0:f.queryParams,skipBrowserRedirect:!0});return await je(this.fetch,"GET",_,{headers:this.headers,jwt:(m=(p=g.session)===null||p===void 0?void 0:p.access_token)!==null&&m!==void 0?m:void 0})});if(a)throw a;return Vr()&&!(!((n=r.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(t==null?void 0:t.url),this._returnResult({data:{provider:r.provider,url:t==null?void 0:t.url},error:null})}catch(t){if(we(t))return this._returnResult({data:{provider:r.provider,url:null},error:t});throw t}}async linkIdentityIdToken(r){return await this._useSession(async n=>{var t;try{const{error:a,data:{session:s}}=n;
91if(a)throw a;const{options:l,provider:u,token:f,access_token:p,nonce:m}=r,g=await je(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(t=s==null?void 0:s.access_token)!==null&&t!==void 0?t:void 0,body:{provider:u,id_token:f,access_token:p,nonce:m,link_identity:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:ia}),{data:y,error:_}=g;return _?this._returnResult({data:{user:null,session:null},error:_}):!y||!y.session||!y.user?this._returnResult({data:{user:null,session:null},error:new Oo}):(y.session&&(await this._saveSession(y.session),await this._notifyAllSubscribers("USER_UPDATED",y.session)),this._returnResult({data:y,error:_}))}catch(a){if(await Hr(this.storage,`${this.storageKey}-code-verifier`),we(a))return this._returnResult({data:{user:null,session:null},error:a});throw a}})}async unlinkIdentity(r){try{return await this._useSession(async n=>{var t,a;const{data:s,error:l}=n;if(l)throw l;return await je(this.fetch,"DELETE",`${this.url}/user/identities/${r.identity_id}`,{headers:this.headers,jwt:(a=(t=s.session)===null||t===void 0?void 0:t.access_token)!==null&&a!==void 0?a:void 0})})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(r){const n=`#_refreshAccessToken(${r.substring(0,5)}...)`;this._debug(n,"begin");try{const t=Date.now();return await pN(async a=>(a>0&&await hN(200*Math.pow(2,a-1)),this._debug(n,"refreshing attempt",a),await je(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:r},headers:this.headers,xform:ia})),(a,s)=>{const l=200*Math.pow(2,a);return s&&$m(s)&&Date.now()+l-t<Ho})}catch(t){if(this._debug(n,"error",t),we(t))return this._returnResult({data:{session:null,user:null},error:t});throw t}finally{this._debug(n,"end")}}_isValidSession(r){return typeof r=="object"&&r!==null&&"access_token"in r&&"refresh_token"in r&&"expires_at"in r}async _handleProviderSignIn(r,n){const t=await this._getUrlForProvider(`${this.url}/authorize`,r,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",r,"options",n,"url",t),Vr()&&!n.skipBrowserRedirect&&window.location.assign(t),{data:{provider:r,url:t},error:null}}async _recoverAndRefresh(){var r,n;const t="#_recoverAndRefresh()";this._debug(t,"begin");try{const a=await As(this.storage,this.storageKey);if(a&&this.userStorage){let l=await As(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!l&&(l={user:a.user},await Go(this.userStorage,this.storageKey+"-user",l)),a.user=(r=l==null?void 0:l.user)!==null&&r!==void 0?r:Dm()}else if(a&&!a.user&&!a.user){const l=await As(this.storage,this.storageKey+"-user");l&&(l!=null&&l.user)?(a.user=l.user,await Hr(this.storage,this.storageKey+"-user"),await Go(this.storage,this.storageKey,a)):a.user=Dm()}if(this._debug(t,"session from storage",a),!this._isValidSession(a)){this._debug(t,"session is not valid"),a!==null&&await this._removeSession();return}const s=((n=a.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Im;if(this._debug(t,`session has${s?"":" not"} expired with margin of ${Im}s`),s){if(this.autoRefreshToken&&a.refresh_token){const{error:l}=await this._callRefreshToken(a.refresh_token);l&&(console.error(l),$m(l)||(this._debug(t,"refresh failed with a non-retryable error, removing the session",l),await this._removeSession()))}}else if(a.user&&a.user.__isUserNotAvailableProxy===!0)try{const{data:l,error:u}=await this._getUser(a.access_token);!u&&(l!=null&&l.user)?(a.user=l.user,await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)):this._debug(t,"could not get user data, skipping SIGNED_IN notification")}catch(l){console.error("Error getting user data:",l),this._debug(t,"error getting user data, skipping SIGNED_IN notification",l)}else await this._notifyAllSubscribers("SIGNED_IN",a)}catch(a){this._debug(t,"error",a),console.error(a);return}finally{this._debug(t,"end")}}async _callRefreshToken(r){var n,t;if(!r)throw new jn;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const a=`#_callRefreshToken(${r.substring(0,5)}...)`;this._debug(a,"begin");try{this.refreshingDeferred=new zh;const{data:s,error:l}=await this._refreshAccessToken(r);if(l)throw l;if(!s.session)throw new jn;await this._saveSession(s.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",s.session);const u={data:s.session,error:null};return this.refreshingDeferred.resolve(u),u}catch(s){if(this._debug(a,"error",s),we(s)){const l={data:null,error:s};return $m(s)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(l),l}throw(t=this.refreshingDeferred)===null||t===void 0||t.reject(s),s}finally{this.refreshingDeferred=null,this._debug(a,"end")}}async _notifyAllSubscribers(r,n,t=!0){const a=`#_notifyAllSubscribers(${r})`;this._debug(a,"begin",n,`broadcast = ${t}`);try{this.broadcastChannel&&t&&this.broadcastChannel.postMessage({event:r,session:n});const s=[],l=Array.from(this.stateChangeEmitters.values()).map(async u=>{try{await u.callback(r,n)}catch(f){s.push(f)}});if(await Promise.all(l),s.length>0){for(let u=0;u<s.length;u+=1)console.error(s[u]);throw s[0]}}finally{this._debug(a,"end")}}async _saveSession(r){this._debug("#_saveSession()",r),this.suppressGetSessionWarning=!0,await Hr(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},r),t=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!t&&n.user&&await Go(this.userStorage,this.storageKey+"-user",{user:n.user});const a=Object.assign({},n);delete a.user;const s=B5(a);await Go(this.storage,this.storageKey,s)}else{const a=B5(n);await Go(this.storage,this.storageKey,a)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await Hr(this.storage,this.storageKey),await Hr(this.storage,this.storageKey+"-code-verifier"),await Hr(this.storage,this.storageKey+"-user"),this.userStorage&&await Hr(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const r=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{r&&Vr()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",r)}
91catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const r=setInterval(()=>this._autoRefreshTokenTick(),Ho);this.autoRefreshTicker=r,r&&typeof r=="object"&&typeof r.unref=="function"?r.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(r);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const r=this.autoRefreshTicker;this.autoRefreshTicker=null,r&&clearInterval(r);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const r=Date.now();try{return await this._useSession(async n=>{const{data:{session:t}}=n;if(!t||!t.refresh_token||!t.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const a=Math.floor((t.expires_at*1e3-r)/Ho);this._debug("#_autoRefreshTokenTick()",`access token expires in ${a} ticks, a tick lasts ${Ho}ms, refresh threshold is ${A1} ticks`),a<=A1&&await this._callRefreshToken(t.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(r){if(r.isAcquireTimeout||r instanceof U3)this._debug("auto refresh token tick lock not available");else throw r}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Vr()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(r){this._debug("#visibilityChangedCallback","error",r)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(r){console.error("_handleVisibilityChange",r)}}async _onVisibilityChanged(r){const n=`#_onVisibilityChanged(${r})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),r||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(r,n,t){const a=[`provider=${encodeURIComponent(n)}`];if(t!=null&&t.redirectTo&&a.push(`redirect_to=${encodeURIComponent(t.redirectTo)}`),t!=null&&t.scopes&&a.push(`scopes=${encodeURIComponent(t.scopes)}`),this.flowType==="pkce"){const[s,l]=await To(this.storage,this.storageKey),u=new URLSearchParams({code_challenge:`${encodeURIComponent(s)}`,code_challenge_method:`${encodeURIComponent(l)}`});a.push(u.toString())}if(t!=null&&t.queryParams){const s=new URLSearchParams(t.queryParams);a.push(s.toString())}return t!=null&&t.skipBrowserRedirect&&a.push(`skip_http_redirect=${t.skipBrowserRedirect}`),`${r}?${a.join("&")}`}async _unenroll(r){try{return await this._useSession(async n=>{var t;const{data:a,error:s}=n;return s?this._returnResult({data:null,error:s}):await je(this.fetch,"DELETE",`${this.url}/factors/${r.factorId}`,{headers:this.headers,jwt:(t=a==null?void 0:a.session)===null||t===void 0?void 0:t.access_token})})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(r){try{return await this._useSession(async n=>{var t,a;const{data:s,error:l}=n;if(l)return this._returnResult({data:null,error:l});const u=Object.assign({friendly_name:r.friendlyName,factor_type:r.factorType},r.factorType==="phone"?{phone:r.phone}:r.factorType==="totp"?{issuer:r.issuer}:{}),{data:f,error:p}=await je(this.fetch,"POST",`${this.url}/factors`,{body:u,headers:this.headers,jwt:(t=s==null?void 0:s.session)===null||t===void 0?void 0:t.access_token});return p?this._returnResult({data:null,error:p}):(r.factorType==="totp"&&f.type==="totp"&&(!((a=f==null?void 0:f.totp)===null||a===void 0)&&a.qr_code)&&(f.totp.qr_code=`data:image/svg+xml;utf-8,${f.totp.qr_code}`),this._returnResult({data:f,error:null}))})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async _verify(r){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var t;const{data:a,error:s}=n;if(s)return this._returnResult({data:null,error:s});const l=Object.assign({challenge_id:r.challengeId},"webauthn"in r?{webauthn:Object.assign(Object.assign({},r.webauthn),{credential_response:r.webauthn.type==="create"?HN(r.webauthn.credential_response):GN(r.webauthn.credential_response)})}:{code:r.code}),{data:u,error:f}=await je(this.fetch,"POST",`${this.url}/factors/${r.factorId}/verify`,{body:l,headers:this.headers,jwt:(t=a==null?void 0:a.session)===null||t===void 0?void 0:t.access_token});return f?this._returnResult({data:null,error:f}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+u.expires_in},u)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",u),this._returnResult({data:u,error:f}))})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(r){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var t;const{data:a,error:s}=n;if(s)return this._returnResult({data:null,error:s});const l=await je(this.fetch,"POST",`${this.url}/factors/${r.factorId}/challenge`,{body:r,headers:this.headers,jwt:(t=a==null?void 0:a.session)===null||t===void 0?void 0:t.access_token});if(l.error)return l;const{data:u}=l;if(u.type!=="webauthn")return{data:u,error:null};switch(u.webauthn.type){case"create":return{data:Object.assign(Object.assign({},u),{webauthn:Object.assign(Object.assign({},u.webauthn),{credential_options:Object.assign(Object.assign({},u.webauthn.credential_options),{publicKey:FN(u.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},u),{webauthn:Object.assign(Object.assign({},u.webauthn),{credential_options:Object.assign(Object.assign({},u.webauthn.credential_options),{publicKey:qN(u.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(r){const{data:n,error:t}=await this._challenge({factorId:r.factorId});return t?this._returnResult({data:null,error:t}):await this._verify({factorId:r.factorId,challengeId:n.id,code:r.code})}async _listFactors(){var r;const{data:{user:n},error:t}=await this.getUser();if(t)return{data:null,error:t};const a={all:[],phone:[],totp:[],webauthn:[]};for(const s of(r=n==null?void 0:n.factors)!==null&&r!==void 0?r:[])a.all.push(s),s.status==="verified"&&a[s.factor_type].push(s);return{data:a,error:null}}async _getAuthenticatorAssuranceLevel(r){var n,t,a,s;if(r)try{const{payload:_}=Kd(r);let w=null;_.aal&&(w=_.aal);let C=w;const{data:{user:x},error:S}=await this.getUser(r);if(S)return this._returnResult({data:null,error:S});((t=(n=x==null?void 0:x.factors)===null||n===void 0?void 0:n.filter(O=>O.status==="verified"))!==null&&t!==void 0?t:[]).length>0&&(C="aal2");const j=_.amr||[];return{data:{currentLevel:w,nextLevel:C,currentAuthenticationMethods:j},error:null}}catch(_){if(we(_))return this._returnResult({data:null,error:_});throw _}const{data:{session:l},error:u}
91=await this.getSession();if(u)return this._returnResult({data:null,error:u});if(!l)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:f}=Kd(l.access_token);let p=null;f.aal&&(p=f.aal);let m=p;((s=(a=l.user.factors)===null||a===void 0?void 0:a.filter(_=>_.status==="verified"))!==null&&s!==void 0?s:[]).length>0&&(m="aal2");const y=f.amr||[];return{data:{currentLevel:p,nextLevel:m,currentAuthenticationMethods:y},error:null}}async _getAuthorizationDetails(r){try{return await this._useSession(async n=>{const{data:{session:t},error:a}=n;return a?this._returnResult({data:null,error:a}):t?await je(this.fetch,"GET",`${this.url}/oauth/authorizations/${r}`,{headers:this.headers,jwt:t.access_token,xform:s=>({data:s,error:null})}):this._returnResult({data:null,error:new jn})})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(r,n){try{return await this._useSession(async t=>{const{data:{session:a},error:s}=t;if(s)return this._returnResult({data:null,error:s});if(!a)return this._returnResult({data:null,error:new jn});const l=await je(this.fetch,"POST",`${this.url}/oauth/authorizations/${r}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"approve"},xform:u=>({data:u,error:null})});return l.data&&l.data.redirect_url&&Vr()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(l.data.redirect_url),l})}catch(t){if(we(t))return this._returnResult({data:null,error:t});throw t}}async _denyAuthorization(r,n){try{return await this._useSession(async t=>{const{data:{session:a},error:s}=t;if(s)return this._returnResult({data:null,error:s});if(!a)return this._returnResult({data:null,error:new jn});const l=await je(this.fetch,"POST",`${this.url}/oauth/authorizations/${r}/consent`,{headers:this.headers,jwt:a.access_token,body:{action:"deny"},xform:u=>({data:u,error:null})});return l.data&&l.data.redirect_url&&Vr()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(l.data.redirect_url),l})}catch(t){if(we(t))return this._returnResult({data:null,error:t});throw t}}async _listOAuthGrants(){try{return await this._useSession(async r=>{const{data:{session:n},error:t}=r;return t?this._returnResult({data:null,error:t}):n?await je(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:a=>({data:a,error:null})}):this._returnResult({data:null,error:new jn})})}catch(r){if(we(r))return this._returnResult({data:null,error:r});throw r}}async _revokeOAuthGrant(r){try{return await this._useSession(async n=>{const{data:{session:t},error:a}=n;return a?this._returnResult({data:null,error:a}):t?(await je(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:t.access_token,query:{client_id:r.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new jn})})}catch(n){if(we(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(r,n={keys:[]}){let t=n.keys.find(u=>u.kid===r);if(t)return t;const a=Date.now();if(t=this.jwks.keys.find(u=>u.kid===r),t&&this.jwks_cached_at+Zk>a)return t;const{data:s,error:l}=await je(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(l)throw l;return!s.keys||s.keys.length===0||(this.jwks=s,this.jwks_cached_at=a,t=s.keys.find(u=>u.kid===r),!t)?null:t}async getClaims(r,n={}){try{let t=r;if(!t){const{data:_,error:w}
91=await this.getSession();if(w||!_.session)return this._returnResult({data:null,error:w});t=_.session.access_token}const{header:a,payload:s,signature:l,raw:{header:u,payload:f}}=Kd(t);n!=null&&n.allowExpired||_N(s.exp);const p=!a.alg||a.alg.startsWith("HS")||!a.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(a.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!p){const{error:_}=await this.getUser(t);if(_)throw _;return{data:{claims:s,header:a,signature:l},error:null}}const m=wN(a.alg),g=await crypto.subtle.importKey("jwk",p,m,!0,["verify"]);if(!await crypto.subtle.verify(m,g,l,lN(`${u}.${f}`)))throw new T1("Invalid JWT signature");return{data:{claims:s,header:a,signature:l},error:null}}catch(t){if(we(t))return this._returnResult({data:null,error:t});throw t}}}Yc.nextInstanceID={};const ej=Yc,tj="2.95.2";let jc="";typeof Deno<"u"?jc="deno":typeof document<"u"?jc="web":typeof navigator<"u"&&navigator.product==="ReactNative"?jc="react-native":jc="node";const rj={"X-Client-Info":`supabase-js-${jc}/${tj}`},nj={headers:rj},aj={schema:"public"},ij={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},sj={};function Kc(e){"@babel/helpers - typeof";return Kc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Kc(e)}function oj(e,r){if(Kc(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r);if(Kc(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function lj(e){var r=oj(e,"string");return Kc(r)=="symbol"?r:r+""}function cj(e,r,n){return(r=lj(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function K5(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,t)}return n}function Kt(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?K5(Object(n),!0).forEach(function(t){cj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const uj=e=>e?(...r)=>e(...r):(...r)=>fetch(...r),dj=()=>Headers,fj=(e,r,n)=>{const t=uj(n),a=dj();return async(s,l)=>{var u;const f=(u=await r())!==null&&u!==void 0?u:e;let p=new a(l==null?void 0:l.headers);return p.has("apikey")||p.set("apikey",e),p.has("Authorization")||p.set("Authorization",`Bearer ${f}`),t(s,Kt(Kt({},l),{},{headers:p}))}};function hj(e){return e.endsWith("/")?e:e+"/"}function pj(e,r){var n,t;const{db:a,auth:s,realtime:l,global:u}=e,{db:f,auth:p,realtime:m,global:g}=r,y={db:Kt(Kt({},f),a),auth:Kt(Kt({},p),s),realtime:Kt(Kt({},m),l),storage:{},global:Kt(Kt(Kt({},g),u),{},{headers:Kt(Kt({},(n=g==null?void 0:g.headers)!==null&&n!==void 0?n:{}),(t=u==null?void 0:u.headers)!==null&&t!==void 0?t:{})}),accessToken:async()=>""};return e.accessToken?y.accessToken=e.accessToken:delete y.accessToken,y}function mj(e){const r=e==null?void 0:e.trim();if(!r)throw new Error("supabaseUrl is required.");if(!r.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(hj(r))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var gj=class extends ej{constructor(e){super(e)}},vj=class{constructor(e,r,n){var t,a;this.supabaseUrl=e,this.supabaseKey=r;const s=mj(e);if(!r)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",s),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",s),this.storageUrl=new URL("storage/v1",s),this.functionsUrl=new URL("functions/v1",s);const l=`sb-${s.hostname.split(".")[0]}-auth-token`,u={db:aj,realtime:sj,auth:Kt(Kt({},ij),{},{storageKey:l}),global:nj},f=pj(n??{},u);if(this.storageKey=(t=f.auth.storageKey)!==null&&t!==void 0?t:"",this.headers=(a=f.global.headers)!==null&&a!==void 0?a:{},f.accessToken)this.accessToken=f.accessToken,this.auth=new Proxy({},{get:(m,g)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(g)} is not possible`)}});else{var p;this.auth=this._initSupabaseAuthClient((p=f.auth)!==null&&p!==void 0?p:{},this.headers,f.global.fetch)}this.fetch=fj(r,this._getAccessToken.bind(this),f.global.fetch),this.realtime=this._initRealtimeClient(Kt({headers:this.headers,accessToken:this._getAccessToken.bind(this)},f.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(m=>this.realtime.setAuth(m)).catch(m=>console.warn("Failed to set initial Realtime auth token:",m)),this.rest=new tk(new URL("rest/v1",s).href,{headers:this.headers,schema:f.db.schema,fetch:this.fetch,timeout:f.db.timeout,urlLengthLimit:f.db.urlLengthLimit}),this.storage=new Kk(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),f.accessToken||this._listenForAuthEvents()}get functions(){return new YM(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,r={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,r,n)}channel(e,r={config:{}}){return this.realtime.channel(e,r)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,r,n;if(e.accessToken)return await e.accessToken();const{data:t}=await e.auth.getSession();return(r=(n=t.session)===null||n===void 0?void 0:n.access_token)!==null&&r!==void 0?r:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:t,userStorage:a,storageKey:s,flowType:l,lock:u,debug:f,throwOnError:p},m,g){const y={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new gj({url:this.authUrl.href,headers:Kt(Kt({},y),m),storageKey:s,autoRefreshToken:e,persistSession:r,detectSessionInUrl:n,storage:t,userStorage:a,flowType:l,lock:u,debug:f,throwOnError:p,fetch:g,hasCustomAuthorizationHeader:Object.keys(this.headers).some(_=>_.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new yk(this.realtimeUrl.href,Kt(Kt({},e),{},{params:Kt(Kt({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,r)=>{this._handleTokenChanged(e,"CLIENT",r==null?void 0:r.access_token)})}_handleTokenChanged(e,r,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),r=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const yj=(e,r,n)=>new vj(e,r,n);function bj(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const r=e.version;if(r==null)return!1;const n=r.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}bj()&&console.warn("â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to N
91ode.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const xj="https://rcbdjethbhpgnofvxaes.supabase.co",_j="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InJjYmRqZXRoYmhwZ25vZnZ4YWVzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzAzMjg3NjEsImV4cCI6MjA4NTkwNDc2MX0.Bur0QD3VkpVMCn6c3Hm5invHKtXn3XQ6kVjipfJY-94",Xr=yj(xj,_j),W5=Object.freeze(Object.defineProperty({__proto__:null,supabase:Xr},Symbol.toStringTag,{value:"Module"}));var nl={},re;if(typeof window>"u"){var J5={hostname:""};re={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:J5,referrer:""},screen:{width:0,height:0},location:J5,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else re=window;var ca="__mp_targeting",I1="__mp_recorder";function X5(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}function Q5(e,r,n,t,a,s,l){try{var u=e[s](l),f=u.value}catch(p){n(p);return}u.done?r(f):Promise.resolve(f).then(t,a)}function Bh(e){return function(){var r=this,n=arguments;return new Promise(function(t,a){var s=e.apply(r,n);function l(f){Q5(s,t,a,l,u,"next",f)}function u(f){Q5(s,t,a,l,u,"throw",f)}l(void 0)})}}function Df(e,r,n){return B3()?Df=Reflect.construct:Df=function(a,s,l){var u=[null];u.push.apply(u,s);var f=Function.bind.apply(a,u),p=new f;return l&&Wc(p,l.prototype),p},Df.apply(null,arguments)}function wj(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function Rt(e,r,n){return r&&wj(e.prototype,r),e}function He(){return He=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},He.apply(this,arguments)}function L1(e){return L1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},L1(e)}function $t(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&Wc(e,r)}function Ee(e,r){return r!=null&&typeof Symbol<"u"&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](e):e instanceof r}function Sj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ds(e,r){if(e==null)return{};var n={},t=Object.keys(e),a,s;for(s=0;s<t.length;s++)a=t[s],!(r.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Wc(e,r){return Wc=Object.setPrototypeOf||function(t,a){return t.__proto__=a,t},Wc(e,r)}function Me(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}function Ej(e,r){if(e){if(typeof e=="string")return X5(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X5(e,r)}}function Jc(e){var r=typeof Map=="function"?new Map:void 0;return Jc=function(t){if(t===null||!Sj(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(t))return r.get(t);r.set(t,a)}function a(){return Df(t,arguments,L1(this).constructor)}return a.prototype=Object.create(t.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Wc(a,t)},Jc(e)}function B3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(B3=function(){return!!e})()}function ae(e,r){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Ej(e))||r){n&&(e=n);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Us(e,r){var n,t,a,s,l={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(p){return function(m){return f([p,m])}}function f(p){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,t&&(a=p[0]&2?t.return:p[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,p[1])).done)return a;switch(t=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return l.label++,{value:p[1],done:!1};case 5:l.label++,t=p[1],p=[0];continue;case 7:p=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){l=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){l.label=p[1];break}if(p[0]===6&&l.label<a[1]){l.label=a[1],a=p;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(p);break}a[2]&&l.ops.pop(),l.trys.pop();continue}p=r.call(e,l)}catch(m){p=[6,m],t=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function nv(e){var r=typeof Symbol=="function"&&Symbol.iterator,n=r&&e[r],t=0;if(n)return n.call(e);
vendor: 5,265 bytes, line 91
91if(e&&typeof e.length=="number")return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}var Cj=Object.defineProperty,Mj=function(e,r,n){return r in e?Cj(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},fe=function(e,r,n){return Mj(e,(typeof r>"u"?"undefined":Me(r))!=="symbol"?r+"":r,n)},Z5,kj=Object.defineProperty,Nj=function(e,r,n){return r in e?kj(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},e_=function(e,r,n){return Nj(e,(typeof r>"u"?"undefined":Me(r))!=="symbol"?r+"":r,n)},Mr=(function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e})(Mr||{}),t_={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},r_={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Wd={},jj=function(){return!!globalThis.Zone};function av(e){if(Wd[e])return Wd[e];var r=globalThis[e],n=r.prototype,t=e in t_?t_[e]:void 0,a=!!(t&&t.every(function(m){var g,y;return!!((y=(g=Object.getOwnPropertyDescriptor(n,m))==null?void 0:g.get)!=null&&y.toString().includes("[native code]"))})),s=e in r_?r_[e]:void 0,l=!!(s&&s.every(function(m){var g;return typeof n[m]=="function"&&((g=n[m])==null?void 0:g.toString().includes("[native code]"))}));if(a&&l&&!jj())return Wd[e]=r.prototype,r.prototype;try{var u=document.createElement("iframe");document.body.appendChild(u);var f=u.contentWindow;if(!f)return r.prototype;var p=f[e].prototype;return document.body.removeChild(u),p?Wd[e]=p:n}catch{return n}}var Pm={};function ts(e,r,n){var t,a=e+"."+String(n);if(Pm[a])return Pm[a].call(r);var s=av(e),l=(t=Object.getOwnPropertyDescriptor(s,n))==null?void 0:t.get;return l?(Pm[a]=l,l.call(r)):r[n]}var zm={};function F3(e,r,n){var t=e+"."+String(n);if(zm[t])return zm[t].bind(r);var a=av(e),s=a[n];return typeof s!="function"?r[n]:(zm[t]=s,s.bind(r))}function Aj(e){return ts("Node",e,"childNodes")}function Rj(e){return ts("Node",e,"parentNode")}function Oj(e){return ts("Node",e,"parentElement")}function Tj(e){return ts("Node",e,"textContent")}function Ij(e,r){return F3("Node",e,"contains")(r)}function Lj(e){return F3("Node",e,"getRootNode")()}function $j(e){return!e||!("host"in e)?null:ts("ShadowRoot",e,"host")}function Dj(e){return e.styleSheets}function Uj(e){return!e||!("shadowRoot"in e)?null:ts("Element",e,"shadowRoot")}function Pj(e,r){return ts("Element",e,"querySelector")(r)}function zj(e,r){return ts("Element",e,"querySelectorAll")(r)}function Bj(){return av("MutationObserver").constructor}function Fj(e,r,n){try{if(!(r in e))return function(){};var t=e[r],a=n(t);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:t}})),e[r]=a,function(){e[r]=t}}catch{return function(){}}}var Qr={childNodes:Aj,parentNode:Rj,parentElement:Oj,textContent:Tj,contains:Ij,getRootNode:Lj,host:$j,styleSheets:Dj,shadowRoot:Uj,querySelector:Pj,querySelectorAll:zj,mutationObserver:Bj,patch:Fj};function q3(e){return e.nodeType===e.ELEMENT_NODE}function Ic(e){var r=e&&"host"in e&&"mode"in e&&Qr.host(e)||null;return!!(r&&"shadowRoot"in r&&Qr.shadowRoot(r)===e)}function Lc(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function qj(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function Hj(e){var r=e.cssText;if(r.split('"').length<3)return r;var n=["@import","url("+JSON.stringify(e.href)+")"];return e.layerName===""?n.push("layer"):e.layerName&&n.push("layer("+e.layerName+")"),e.supportsText&&n.push("supports("+e.supportsText+")"),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function $1(e){try{var r=e.rules||e.cssRules;if(!r)return null;var n=e.href;!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href);var t=Array.from(r,function(a){return H3(a,n)}).join("");return qj(t)}catch{return null}}function H3(e,r){if(Vj(e)){var n;try{n=$1(e.styleSheet)||Hj(e)}catch{n=e.cssText}return e.styleSheet.href?nh(n,e.styleSheet.href):n}else{var t=e.cssText;return Yj(e)&&e.selectorText.includes(":")&&(t=Gj(t)),r?nh(t,r):t}}function Gj(e){var r=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(r,"$1\\$2")}function Vj(e){return"styleSheet"in e}function Yj(e){return"selectorText"in e}var G3=(function(){function e(){e_(this,"idNodeMap",new Map),e_(this,"nodeMetaMap",new WeakMap)}var r=e.prototype;return r.getId=function(t){var a;if(!t)return-1;var s=(a=this.getMeta(t))==null?void 0:a.id;return s??-1},r.getNode=function(t){return this.idNodeMap.get(t)||null},r.getIds=function(){return Array.from(this.idNodeMap.keys())},r.getMeta=function(t){return this.nodeMetaMap.get(t)||null},r.removeNodeFromMap=function(t,a){var s=this;a===void 0&&(a=!1);var l=this.getId(t);this.idNodeMap.delete(l),a&&this.nodeMetaMap.delete(t),t.childNodes&&t.childNodes.forEac
vendor: 1,716 bytes, line 91
91h(function(u){return s.removeNodeFromMap(u,a)})},r.has=function(t){return this.idNodeMap.has(t)},r.hasNode=function(t){return this.nodeMetaMap.has(t)},r.add=function(t,a){var s=a.id;this.idNodeMap.set(s,t),this.nodeMetaMap.set(t,a)},r.replace=function(t,a){var s=this.getNode(t);if(s){var l=this.nodeMetaMap.get(s);l&&this.nodeMetaMap.set(a,l)}this.idNodeMap.set(t,a)},r.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e})();function Kj(){return new G3}function th(e){var r=e.element,n=e.maskInputOptions,t=e.tagName,a=e.type,s=e.value,l=e.maskInputFn,u=s||"",f=a&&Ps(a);return(n[t.toLowerCase()]||f&&n[f])&&(l?u=l(u,r):u="*".repeat(u.length)),u}function Ps(e){return e.toLowerCase()}var n_="__rrweb_original__";function Wj(e){var r=e.getContext("2d");if(!r)return!0;for(var n=50,t=0;t<e.width;t+=n)for(var a=0;a<e.height;a+=n){var s=r.getImageData,l=n_ in s?s[n_]:s,u=new Uint32Array(l.call(r,t,a,Math.min(n,e.width-t),Math.min(n,e.height-a)).data.buffer);if(u.some(function(f){return f!==0}))return!1}return!0}function rh(e){var r=e.type;return e.hasAttribute("data-rr-is-password")?"password":r?Ps(r):null}function V3(e,r){var n;try{n=new URL(e,r??window.location.href)}catch{return null}var t=/\.([0-9a-z]+)(?:$)/i,a=n.pathname.match(t),s;return(s=a==null?void 0:a[1])!=null?s:null}function Jj(e){var r="";return e.indexOf("//")>-1?r=e.split("/").slice(0,3).join("/"):r=e.split("/")[0],r=r.split("?")[0],r}var Xj=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Qj=/^(?:[a-z+]+:)?\/\//i,Zj=/^www\..*/i,eA=/^(data:)([^,]*),(.*)/i;function nh(e,r){return(e||"").replace(Xj,function(n,t,a,s,l,u){var f=a||l||u,p=t||s||"";if(!f)return n;if(Qj.test(f)||Zj.test(f)||eA.test(f))return"url("+p+f+p+")";
vendor: 37,699 bytes, lines 91-113
91if(f[0]==="/")return"url("+p+(Jj(r)+f)+p+")";var m=r.split("/"),g=f.split("/");m.pop();for(var y=ae(g),_;!(_=y()).done;){var w=_.value;w!=="."&&(w===".."?m.pop():m.push(w))}return"url("+p+m.join("/")+p+")"})}function Jd(e,r){return r===void 0&&(r=!1),r?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function tA(e,r,n){n===void 0&&(n=!1);var t=Array.from(r.childNodes),a=[],s=0;if(t.length>1&&e&&typeof e=="string"){for(var l=Jd(e,n),u=l.length/e.length,f=1;f<t.length;f++)if(t[f].textContent&&typeof t[f].textContent=="string"){for(var p=Jd(t[f].textContent,n),m=100,g=3;g<p.length&&(p[g].match(/[a-zA-Z0-9]/)||p.indexOf(p.substring(0,g),1)!==-1);g++);for(;g<p.length;g++){var y=p.substring(0,g),_=l.split(y),w=-1;if(_.length===2)w=_[0].length;else if(_.length>2&&_[0]===""&&t[f-1].textContent!=="")w=l.indexOf(y,1);else if(_.length===1){if(y=y.substring(0,y.length-1),_=l.split(y),_.length<=1)return a.push(e),a;g=m+1}else g===p.length-1&&(w=l.indexOf(y));if(_.length>=2&&g>m){var C=t[f-1].textContent;if(C&&typeof C=="string"){var x=Jd(C).length;w=l.indexOf(y,x)}w===-1&&(w=_[0].length)}if(w!==-1){for(var S=Math.floor(w/u);S>0&&S<e.length;){if(s+=1,s>50*t.length)return a.push(e),a;var k=Jd(e.substring(0,S),n);if(k.length===w){a.push(e.substring(0,S)),e=e.substring(S),l=l.substring(w);break}else k.length<w?S+=Math.max(1,Math.floor((w-k.length)/u)):S-=Math.max(1,Math.floor((k.length-w)*u))}break}}}}return a.push(e),a}function rA(e,r){return tA(e,r).join("/* rr_split */")}var nA=1,aA=new RegExp("[^a-z0-9-_:]"),Xc=-2;function Y3(){return nA++}function iA(e){if(Ee(e,HTMLFormElement))return"form";var r=Ps(e.tagName);return aA.test(r)?"div":r}var Do,a_,sA=/^[^ \t\n\r\u000c]+/,oA=/^[, \t\n\r\u000c]+/;function lA(e,r){if(r.trim()==="")return r;var n=0;function t(p){var m,g=p.exec(r.substring(n));return g?(m=g[0],n+=m.length,m):""}for(var a=[];t(oA),!(n>=r.length);){var s=t(sA);if(s.slice(-1)===",")s=Wo(e,s.substring(0,s.length-1)),a.push(s);else{var l="";s=Wo(e,s);for(var u=!1;;){var f=r.charAt(n);if(f===""){a.push((s+l).trim());break}else if(u)f===")"&&(u=!1);else if(f===","){n+=1,a.push((s+l).trim());break}else f==="("&&(u=!0);l+=f,n+=1}}}return a.join(", ")}var i_=new WeakMap;function Wo(e,r){return!r||r.trim()===""?r:iv(e,r)}function cA(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function iv(e,r){var n=i_.get(e);if(n||(n=e.createElement("a"),i_.set(e,n)),!r)r="";else if(r.startsWith("blob:")||r.startsWith("data:"))return r;return n.setAttribute("href",r),n.href}function K3(e,r,n,t){return t&&(n==="src"||n==="href"&&!(r==="use"&&t[0]==="#")||n==="xlink:href"&&t[0]!=="#"||n==="background"&&(r==="table"||r==="td"||r==="th")?Wo(e,t):n==="srcset"?lA(e,t):n==="style"?nh(t,iv(e)):r==="object"&&n==="data"?Wo(e,t):t)}function W3(e,r,n){return(e==="video"||e==="audio")&&r==="autoplay"}function uA(e,r,n){try{if(typeof r=="string"){if(e.classList.contains(r))return!0}else for(var t=e.classList.length;t--;){var a=e.classList[t];if(r.test(a))return!0}if(n)return e.matches(n)}catch{}return!1}function ah(e,r,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return n?ah(Qr.parentNode(e),r,n):!1;for(var t=e.classList.length;t--;){var a=e.classList[t];if(r.test(a))return!0}return n?ah(Qr.parentNode(e),r,n):!1}function J3(e,r,n,t){var a;if(q3(e)){if(a=e,!Qr.childNodes(a).length)return!1}else{if(Qr.parentElement(e)===null)return!1;a=Qr.parentElement(e)}try{if(typeof r=="string"){if(t){if(a.closest("."+r))return!0}else if(a.classList.contains(r))return!0}else if(ah(a,r,t))return!0;if(n){if(t){if(a.closest(n))return!0}else if(a.matches(n))return!0}}catch{}return!1}function dA(e,r,n){var t=e.contentWindow;if(t){var a=!1,s;try{s=t.document.readyState}catch{return}if(s!=="complete"){var l=setTimeout(function(){a||(r(),a=!0)},n);e.addEventListener("load",function(){clearTimeout(l),a=!0,r()});return}var u="about:blank";if(t.location.href!==u||e.src===u||e.src==="")return setTimeout(r,0),e.addEventListener("load",r);e.addEventListener("load",r)}}function fA(e,r,n){var t=!1,a;try{a=e.sheet}catch{return}if(!a){var s=setTimeout(function(){t||(r(),t=!0)},n);e.addEventListener("load",function(){clearTimeout(s),t=!0,r()})}}function hA(e,r){var n=r.doc,t=r.mirror,a=r.blockClass,s=r.blockSelector,l=r.needsMask,u=r.inlineStylesheet,f=r.maskInputOptions,p=f===void 0?{}:f,m=r.maskTextFn,g=r.maskInputFn,y=r.dataURLOptions,_=y===void 0?{}:y,w=r.inlineImages,C=r.recordCanvas,x=r.keepIframeSrcFn,S=r.newlyAddedElement,k=S===void 0?!1:S,j=r.cssCaptured,O=j===void 0?!1:j,$=pA(n,t);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Mr.Document,childNodes:[],compatMode:e.compatMode}:{type:Mr.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Mr.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:$};case e.ELEMENT_NODE:return gA(e,{doc:n,blockClass:a,blockSelector:s,inlineStylesheet:u,maskInputOptions:p,maskInputFn:g,dataURLOptions:_,inlineImages:w,recordCanvas:C,keepIframeSrcFn:x,newlyAddedElement:k,rootId:$});case e.TEXT_NODE:return mA(e,{doc:n,needsMask:l,maskTextFn:m,rootId:$,cssCaptured:O});case e.CDATA_SECTION_NODE:return{type:Mr.CDATA,textContent:"",rootId:$};case e.COMMENT_NODE:return{type:Mr.Comment,textContent:Qr.textContent(e)||"",rootId:$};default:return!1}}function pA(e,r){if(r.hasNode(e)){var n=r.getId(e);return n===1?void 0:n}}function mA(e,r){var n=r.needsMask,t=r.maskTextFn,a=r.rootId,s=r.cssCaptured,l=Qr.parentNode(e),u=l&&l.tagName,f="",p=u==="STYLE"?!0:void 0,m=u==="SCRIPT"?!0:void 0;return m?f="SCRIPT_PLACEHOLDER":s||(f=Qr.textContent(e),p&&f&&(f=nh(f,iv(r.doc)))),!p&&!m&&f&&n&&(f=t?t(f,Qr.parentElement(e)):f.replace(/[\S]/g,"*")),{type:Mr.Text,textContent:f||"",rootId:a}}function gA(e,r){for(var n=r.doc,t=r.blockClass,a=r.blockSelector,s=r.inlineStylesheet,l=r.maskInputOptions,u=l===void 0?{}:l,f=r.maskInputFn,p=r.dataURLOptions,m=p===void 0?{}:p,g=r.inlineImages,y=r.recordCanvas,_=r.keepIframeSrcFn,w=r.newlyAddedElement,C=w===void 0?!1:w,x=r.rootId,S=uA(e,t,a),k=iA(e),j={},O=e.attributes.length,$=0;$<O;$++){var T=e.attributes[$];W3(k,T.name,T.value)||(j[T.name]=K3(n,k,Ps(T.name),T.value))}if(k==="link"&&s){var D=Array.from(n.styleSheets).find(function(Z){return Z.href===e.href}),z=null;D&&(z=$1(D)),z&&(delete j.rel,delete j.href,j._cssText=z)}if(k==="style"&&e.sheet){var J=$1(e.sheet);J&&(e.childNodes.length>1&&(J=rA(J,e)),j._cssText=J)}if(k==="input"||k==="textarea"||k==="select"){var de=e.value,pe=e.checked;j.type!=="radio"&&j.type!=="checkbox"&&j.type!=="submit"&&j.type!=="button"&&de?j.value=th({element:e,type:rh(e),tagName:k,value:de,maskInputOptions:u,maskInputFn:f}):pe&&(j.checked=pe)}if(k==="option"&&(e.selected&&!u.select?j.selected=!0:delete j.selected),k==="dialog"&&e.open&&(j.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),k==="canvas"&&y){if(e.__context==="2d")Wj(e)||(j.rr_dataURL=e.toDataURL(m.type,m.quality));else if(!("__context"in e)){var ie=e.toDataURL(m.type,m.quality),ee=n.createElement("canvas");ee.width=e.width,ee.height=e.height;var ce=ee.toDataURL(m.type,m.quality);ie!==ce&&(j.rr_dataURL=ie)}}if(k==="img"&&g){Do||(Do=n.createElement("canvas"),a_=Do.getContext("2d"));var ue=e,U=ue.currentSrc||ue.getAttribute("src")||"<unknown-src>",H=ue.crossOrigin,Y=function(){ue.removeEventListener("load",Y);try{Do.width=ue.naturalWidth,Do.height=ue.naturalHeight,a_.drawImage(ue,0,0),j.rr_dataURL=Do.toDataURL(m.type,m.quality)}catch(Z){if(ue.crossOrigin!=="anonymous"){ue.crossOrigin="anonymous",ue.complete&&ue.naturalWidth!==0?Y():ue.addEventListener("load",Y);return}else console.warn("Cannot inline img src="+U+"! Error: "+Z)}ue.crossOrigin==="anonymous"&&(H?j.crossOrigin=H:ue.removeAttribute("crossorigin"))};ue.complete&&ue.naturalWidth!==0?Y():ue.addEventListener("load",Y)}if(k==="audio"||k==="video"){var he=j;he.rr_mediaState=e.paused?"paused":"played",he.rr_mediaCurrentTime=e.currentTime,he.rr_mediaPlaybackRate=e.playbackRate,he.rr_mediaMuted=e.muted,he.rr_mediaLoop=e.loop,he.rr_mediaVolume=e.volume}if(C||(e.scrollLeft&&(j.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(j.rr_scrollTop=e.scrollTop)),S){var ye=e.getBoundingClientRect(),R=ye.width,G=ye.height;j={class:j.class,rr_width:""+R+"px",rr_height:""+G+"px"}}k==="iframe"&&!_(j.src)&&(e.contentDocument||(j.rr_src=j.src),delete j.src);var K;try{customElements.get(k)&&(K=!0)}catch{}return{type:Mr.Element,tagName:k,attributes:j,childNodes:[],isSVG:cA(e)||void 0,needBlock:S,rootId:x,isCustom:K}}function xt(e){return e==null?"":e.toLowerCase()}function vA(e,r){if(r.comment&&e.type===Mr.Comment)return!0;if(e.type===Mr.Element){if(r.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&V3(e.attributes.href)==="js"))return!0;if(r.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(xt(e.attributes.name).match(/^msapplication-tile(image|color)$/)||xt(e.attributes.name)==="application-name"||xt(e.attributes.rel)==="icon"||xt(e.attributes.rel)==="apple-touch-icon"||xt(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(r.headMetaDescKeywords&&xt(e.attributes.name).match(/^description|keywords$/))return!0;if(r.headMetaSocial&&(xt(e.attributes.property).match(/^(og|twitter|fb):/)||xt(e.attributes.name).match(/^(og|twitter):/)||xt(e.attributes.name)==="pinterest"))return!0;if(r.headMetaRobots&&(xt(e.attributes.name)==="robots"||xt(e.attributes.name)==="googlebot"||xt(e.attributes.name)==="bingbot"))return!0;if(r.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(r.headMetaAuthorship&&(xt(e.attributes.name)==="author"||xt(e.attributes.name)==="generator"||xt(e.attributes.name)==="framework"||xt(e.attributes.name)==="publisher"||xt(e.attributes.name)==="progid"||xt(e.attributes.property).match(/^article:/)||xt(e.attributes.property).match(/^product:/)))return!0;if(r.headMetaVerification&&(xt(e.attributes.name)==="google-site-verification"||xt(e.attributes.name)==="yandex-verification"||xt(e.attributes.name)==="csrf-token"||xt(e.attributes.name)==="p:domain_verify"||xt(e.attributes.name)==="verify-v1"||xt(e.attributes.name)==="verification"||xt(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Jo(e,r){var n=r.doc,t=r.mirror,a=r.blockClass,s=r.blockSelector,l=r.maskTextClass,u=r.maskTextSelector,f=r.skipChild,p=f===void 0?!1:f,m=r.inlineStylesheet,g=m===void 0?!0:m,y=r.maskInputOptions,_=y===void 0?{}:y,w=r.maskTextFn,C=r.maskInputFn,x=r.slimDOMOptions,S=r.dataURLOptions,k=S===void 0?{}:S,j=r.inlineImages,O=j===void 0?!1:j,$=r.recordCanvas,T=$===void 0?!1:$,D=r.onSerialize,z=r.onIframeLoad,J=r.iframeLoadTimeout,de=J===void 0?5e3:J,pe=r.onStylesheetLoad,ie=r.stylesheetLoadTimeout,ee=ie===void 0?5e3:ie,ce=r.keepIframeSrcFn,ue=ce===void 0?function(){return!1}:ce,U=r.newlyAddedElement,H=U===void 0?!1:U,Y=r.cssCaptured,he=Y===void 0?!1:Y,ye=r.needsMask,R=r.preserveWhiteSpace,G=R===void 0?!0:R;if(!ye){var K=ye===void 0;ye=J3(e,l,u,K)}var Z=hA(e,{doc:n,mirror:t,blockClass:a,blockSelector:s,needsMask:ye,inlineStylesheet:g,maskInputOptions:_,maskTextFn:w,maskInputFn:C,dataURLOptions:k,inlineImages:O,recordCanvas:T,keepIframeSrcFn:ue,newlyAddedElement:H,cssCaptured:he});if(!Z)return console.warn(e,"not serialized"),null;var le;t.hasNode(e)?le=t.getId(e):vA(Z,x)||!G&&Z.type===Mr.Text&&!Z.textContent.replace(/^\s+|\s+$/gm,"").length?le=Xc:le=Y3();var oe=Object.assign(Z,{id:le});if(t.add(e,oe),le===Xc)return null;D&&D(e);var ge=!p;if(oe.type===Mr.Element){ge=ge&&!oe.needBlock,delete oe.needBlock;var Ce=Qr.shadowRoot(e);Ce&&Lc(Ce)&&(oe.isShadowHost=!0)}if((oe.type===Mr.Document||oe.type===Mr.Element)&&ge){x.headWhitespace&&oe.type===Mr.Element&&oe.tagName==="head"&&(G=!1);var Ue={doc:n,mirror:t,blockClass:a,blockSelector:s,needsMask:ye,maskTextClass:l,maskTextSelector:u,skipChild:p,inlineStylesheet:g,maskInputOptions:_,maskTextFn:w,maskInputFn:C,slimDOMOptions:x,dataURLOptions:k,inlineImages:O,recordCanvas:T,preserveWhiteSpace:G,onSerialize:D,onIframeLoad:z,iframeLoadTimeout:de,onStylesheetLoad:pe,stylesheetLoadTimeout:ee,keepIframeSrcFn:ue,cssCaptured:!1};if(!(oe.type===Mr.Element&&oe.tagName==="textarea"&&oe.attributes.value!==void 0)){oe.type===Mr.Element&&oe.attributes._cssText!==void 0&&typeof oe.attributes._cssText=="string"&&(Ue.cssCaptured=!0);for(var zt=ae(Array.from(Qr.childNodes(e))),Jt;!(Jt=zt()).done;){var Xt=Jt.value,ea=Jo(Xt,Ue);ea&&oe.childNodes.push(ea)}}var Ot=null;if(q3(e)&&(Ot=Qr.shadowRoot(e)))for(var Zr=ae(Array.from(Qr.childNodes(Ot))),Dr;!(Dr=Zr()).done;){var Yr=Dr.value,Ur=Jo(Yr,Ue);Ur&&(Lc(Ot)&&(Ur.isShadow=!0),oe.childNodes.push(Ur))}}var Bt=Qr.parentNode(e);return Bt&&Ic(Bt)&&Lc(Bt)&&(oe.isShadow=!0),oe.type===Mr.Element&&oe.tagName==="iframe"&&dA(e,function(){var kr=e.contentDocument;if(kr&&z){var Nr=Jo(kr,{doc:kr,mirror:t,blockClass:a,blockSelector:s,needsMask:ye,maskTextClass:l,maskTextSelector:u,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskTextFn:w,maskInputFn:C,slimDOMOptions:x,dataURLOptions:k,inlineImages:O,recordCanvas:T,preserveWhiteSpace:G,onSerialize:D,onIframeLoad:z,iframeLoadTimeout:de,onStylesheetLoad:pe,stylesheetLoadTimeout:ee,keepIframeSrcFn:ue});Nr&&z(e,Nr)}},de),oe.type===Mr.Element&&oe.tagName==="link"&&typeof oe.attributes.rel=="string"&&(oe.attributes.rel==="stylesheet"||oe.attributes.rel==="preload"&&typeof oe.attributes.href=="string"&&V3(oe.attributes.href)==="css")&&fA(e,function(){if(pe){var kr=Jo(e,{doc:n,mirror:t,blockClass:a,blockSelector:s,needsMask:ye,maskTextClass:l,maskTextSelector:u,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskTextFn:w,maskInputFn:C,slimDOMOptions:x,dataURLOptions:k,inlineImages:O,recordCanvas:T,preserveWhiteSpace:G,onSerialize:D,onIframeLoad:z,iframeLoadTimeout:de,onStylesheetLoad:pe,stylesheetLoadTimeout:ee,keepIframeSrcFn:ue});kr&&pe(e,kr)}},ee),oe}function yA(e,r){var n=r||{},t=n.mirror,a=t===void 0?new G3:t,s=n.blockClass,l=s===void 0?"rr-block":s,u=n.blockSelector,f=u===void 0?null:u,p=n.maskTextClass,m=p===void 0?"rr-mask":p,g=n.maskTextSelector,y=g===void 0?null:g,_=n.inlineStylesheet,w=_===void 0?!0:_,C=n.inlineImages,x=C===void 0?!1:C,S=n.recordCanvas,k=S===void 0?!1:S,j=n.maskAllInputs,O=j===void 0?!1:j,$=n.maskTextFn,T=n.maskInputFn,D=n.slimDOM,z=D===void 0?!1:D,J=n.dataURLOptions,de=n.preserveWhiteSpace,pe=n.onSerialize,ie=n.onIframeLoad,ee=n.iframeLoadTimeout,ce=n.onStylesheetLoad,ue=n.stylesheetLoadTimeout,U=n.keepIframeSrcFn,H=U===void 0?function(){return!1}:U,Y=O===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:O===!1?{password:!0}:O,he=z===!0||z==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:z==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:z===!1?{}:z;return Jo(e,{doc:e,mirror:a,blockClass:l,blockSelector:f,maskTextClass:m,maskTextSelector:y,skipChild:!1,inlineStylesheet:w,maskInputOptions:Y,maskTextFn:$,maskInputFn:T,slimDOMOptions:he,dataURLOptions:J,inlineImages:x,recordCanvas:k,preserveWhiteSpace:de,onSerialize:pe,onIframeLoad:ie,iframeLoadTimeout:ee,onStylesheetLoad:ce,stylesheetLoadTimeout:ue,keepIframeSrcFn:H,newlyAddedElement:!1})}function bA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xA(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var n=function t(){return Ee(this,t)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}var sv={exports:{}},kt=String,X3=function(){return{isColorSupported:!1,reset:kt,bold:kt,dim:kt,italic:kt,underline:kt,inverse:kt,hidden:kt,strikethrough:kt,black:kt,red:kt,green:kt,yellow:kt,blue:kt,magenta:kt,cyan:kt,white:kt,gray:kt,bgBlack:kt,bgRed:kt,bgGreen:kt,bgYellow:kt,bgBlue:kt,bgMagenta:kt,bgCyan:kt,bgWhite:kt}};sv.exports=X3();sv.exports.createColors=X3;var _A=sv.exports,wA={},SA=Object.freeze(Object.defineProperty({__proto__:null,default:wA},Symbol.toStringTag,{value:"Module"})),nr=xA(SA),s_=_A,o_=nr,D1=(function(e){$t(r,e);function r(t,a,s,l,u,f){var p;return p=e.call(this,t)||this,p.name="CssSyntaxError",p.reason=t,u&&(p.file=u),l&&(p.source=l),f&&(p.plugin=f),typeof a<"u"&&typeof s<"u"&&(typeof a=="number"?(p.line=a,p.column=s):(p.line=a.line,p.column=a.column,p.endLine=s.line,p.endColumn=s.column)),p.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(p,r),p}var n=r.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(a){var s=this;if(!this.source)return"";var l=this.source;a==null&&(a=s_.isColorSupported),o_&&a&&(l=o_(l));var u=l.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,u.length),m=String(p).length,g,y;if(a){var _=s_.createColors(!0),w=_.bold,C=_.gray,x=_.red;g=function(S){return w(x(S))},y=function(S){return C(S)}}else g=y=function(S){return S};return u.slice(f,p).map(function(S,k){var j=f+1+k,O=" "+(" "+j).slice(-m)+" | ";if(j===s.line){var $=y(O.replace(/\d/g," "))+S.slice(0,s.column-1).replace(/[^\t]/g," ");return g(">")+y(O)+S+` 92 `+$+g("^")}return" "+y(O)+S}).join(` 93`)},n.toString=function(){var a=this.showSourceCode();return a&&(a=` 94 95`+a+` 96`),this.name+": "+this.message+a},r})(Jc(Error)),ov=D1;D1.default=D1;var rs={};rs.isClean=Symbol("isClean");rs.my=Symbol("my");var l_={after:` 97`,beforeClose:` 98`,beforeComment:` 99`,beforeDecl:` 100`,beforeOpen:" ",beforeRule:` 101`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function EA(e){return e[0].toUpperCase()+e.slice(1)}var U1=(function(){function e(n){this.builder=n}var r=e.prototype;return r.atrule=function(t,a){var s="@"+t.name,l=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?s+=t.raws.afterName:l&&(s+=" "),t.nodes)this.block(t,s+l);else{var u=(t.raws.between||"")+(a?";":"");this.builder(s+l+u,t)}},r.beforeAfter=function(t,a){var s;t.type==="decl"?s=this.raw(t,null,"beforeDecl"):t.type==="comment"?s=this.raw(t,null,"beforeComment"):a==="before"?s=this.raw(t,null,"beforeRule"):s=this.raw(t,null,"beforeClose");for(var l=t.parent,u=0;l&&l.type!=="root";)u+=1,l=l.parent;if(s.includes(` 102`)){var f=this.raw(t,null,"indent");if(f.length)for(var p=0;p<u;p++)s+=f}return s},r.block=function(t,a){var s=this.raw(t,"between","beforeOpen");this.builder(a+s+"{",t,"start");var l;t.nodes&&t.nodes.length?(this.body(t),l=this.raw(t,"after")):l=this.raw(t,"after","emptyBody"),l&&this.builder(l),this.builder("}",t,"end")},r.body=function(t){for(var a=t.nodes.length-1;a>0&&t.nodes[a].type==="comment";)a-=1;for(var s=this.raw(t,"semicolon"),l=0;l<t.nodes.length;l++){var u=t.nodes[l],f=this.raw(u,"before");f&&this.builder(f),this.stringify(u,a!==l||s)}},r.comment=function(t){var a=this.raw(t,"left","commentLeft"),s=this.raw(t,"right","commentRight");this.builder("/*"+a+t.text+s+"*/",t)},r.decl=function(t,a){var s=this.raw(t,"between","colon"),l=t.prop+s+this.rawValue(t,"value");t.important&&(l+=t.raws.important||" !important"),a&&(l+=";"),this.builder(l,t)},r.document=function(t){this.body(t)},r.raw=function(t,a,s){var l;if(s||(s=a),a&&(l=t.raws[a],typeof l<"u"))return l;var u=t.parent;if(s==="before"&&(!u||u.type==="root"&&u.first===t||u&&u.type==="document"))return"";if(!u)return l_[s];var f=t.root();if(f.rawCache||(f.rawCache={}),typeof f.rawCache[s]<"u")return f.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(t,s);var p="raw"+EA(s);return this[p]?l=this[p](f,t):f.walk(function(m){if(l=m.raws[a],typeof l<"u")return!1}),typeof l>"u"&&(l=l_[s]),f.rawCache[s]=l,l},r.rawBeforeClose=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(` 103`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawBeforeComment=function(t,a){var s;return t.walkComments(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 104`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeDecl=function(t,a){var s;return t.walkDecls(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 105`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeOpen=function(t){var a;return t.walk(function(s){if(s.type!=="decl"&&(a=s.raws.between,typeof a<"u"))return!1}),a},r.rawBeforeRule=function(t){var a;return t.walk(function(s){if(s.nodes&&(s.parent!==t||t.first!==s)&&typeof s.raws.before<"u")return a=s.raws.before,a.includes(` 106`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawColon=function(t){var a;return t.walkDecls(function(s){if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a},r.rawEmptyBody=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a},r.rawIndent=function(t){if(t.raws.indent)return t.raws.indent;var a;return t.walk(function(s){var l=s.parent;if(l&&l!==t&&l.parent&&l.parent===t&&typeof s.raws.before<"u"){var u=s.raws.before.split(` 107`);return a=u[u.length-1],a=a.replace(/\S/g,""),!1}}),a},r.rawSemicolon=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a},r.rawValue=function(t,a){var s=t[a],l=t.raws[a];return l&&l.value===s?l.raw:s},r.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},r.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},r.stringify=function(t,a){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,a)},e})(),Q3=U1;U1.default=U1;var CA=Q3;function P1(e,r){var n=new CA(r);n.stringify(e)}var Fh=P1;P1.default=P1;var Xd=rs.isClean,MA=rs.my,kA=ov,NA=Q3,jA=Fh;function z1(e,r){var n=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t!=="proxyCache"){var a=e[t],s=typeof a>"u"?"undefined":Me(a);t==="parent"&&s==="object"?r&&(n[t]=r):t==="source"?n[t]=a:Array.isArray(a)?n[t]=a.map(function(l){return z1(l,n)}):(s==="object"&&a!==null&&(a=z1(a)),n[t]=a)}return n}var B1=(function(){function e(n){n===void 0&&(n={}),this.raws={},this[Xd]=!1,this[MA]=!0;for(var t in n)if(t==="nodes"){this.nodes=[];for(var a=ae(n[t]),s;!(s=a()).done;){var l=s.value;typeof l.clone=="function"?this.append(l.clone()):this.append(l)}}else this[t]=n[t]}var r=e.prototype;return r.addToError=function(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){var a=this.source;t.stack=t.stack.replace(/\n\s{4}at /,"$&"+a.input.from+":"+a.start.line+":"+a.start.column+"$&")}return t},r.after=function(t){return this.parent.insertAfter(this,t),this},r.assign=function(t){t===void 0&&(t={});for(var a in t)this[a]=t[a];return this},r.before=function(t){return this.parent.insertBefore(this,t),this},r.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},r.clone=function(t){t===void 0&&(t={});var a=z1(this);for(var s in t)a[s]=t[s];return a},r.cloneAfter=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertAfter(this,a),a},r.cloneBefore=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertBefore(this,a),a},r.error=function(t,a){if(a===void 0&&(a={}),this.source){var s=this.rangeBy(a),l=s.end,u=s.start;return this.source.input.error(t,{column:u.column,line:u.line},{column:l.column,line:l.line},a)}return new kA(t)},r.getProxyProcessor=function(){return{get:function(a,s){return s==="proxyOf"?a:s==="root"?function(){return a.root().toProxy()}:a[s]},set:function(a,s,l){return a[s]===l||(a[s]=l,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&a.markDirty()),!0}}},r.markDirty=function(){if(this[Xd]){this[Xd]=!1;for(var t=this;t=t.parent;)t[Xd]=!1}},r.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},r.positionBy=function(t,a){var s=this.source.start;if(t.index)s=this.positionInside(t.index,a);else if(t.word){a=this.toString();var l=a.indexOf(t.word);l!==-1&&(s=this.positionInside(l,a))}return s},r.positionInside=function(t,a){for(var s=a||this.toString(),l=this.source.start.column,u=this.source.start.line,f=0;f<t;f++)s[f]===` 108`?(l=1,u+=1):l+=1;return{column:l,line:u}},r.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},r.rangeBy=function(t){var a={column:this.source.start.column,line:this.source.start.line},s=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:a.column+1,line:a.line};if(t.word){var l=this.toString(),u=l.indexOf(t.word);u!==-1&&(a=this.positionInside(u,l),s=this.positionInside(u+t.word.length,l))}else t.start?a={column:t.start.column,line:t.start.line}:t.index&&(a=this.positionInside(t.index)),t.end?s={column:t.end.column,line:t.end.line}:typeof t.endIndex=="number"?s=this.positionInside(t.endIndex):t.index&&(s=this.positionInside(t.index+1));return(s.line<a.line||s.line===a.line&&s.column<=a.column)&&(s={column:a.column+1,line:a.line}),{end:s,start:a}},r.raw=function(t,a){var s=new NA;return s.raw(this,t,a)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];if(this.parent){for(var l=this,u=!1,f=ae(a),p;!(p=f()).done;){var m=p.value;m===this?u=!0:u?(this.parent.insertAfter(l,m),l=m):this.parent.insertBefore(l,m)}u||this.remove()}return this},r.root=function(){for(var t=this;t.parent&&t.parent.type!=="document";)t=t.parent;return t},r.toJSON=function(t,a){var s={},l=a==null;a=a||new Map;var u=0;for(var f in this)if(Object.prototype.hasOwnProperty.call(this,f)&&!(f==="parent"||f==="proxyCache")){var p=this[f];if(Array.isArray(p))s[f]=p.map(function(g){return(typeof g>"u"?"undefined":Me(g))==="object"&&g.toJSON?g.toJSON(null,a):g});else if((typeof p>"u"?"undefined":Me(p))==="object"&&p.toJSON)s[f]=p.toJSON(null,a);else if(f==="source"){var m=a.get(p.input);m==null&&(m=u,a.set(p.input,u),u++),s[f]={end:p.end,inputId:m,start:p.start}}else s[f]=p}return l&&(s.inputs=[].concat(a.keys()).map(function(g){return g.toJSON()})),s},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(t){t===void 0&&(t=jA),t.stringify&&(t=t.stringify);var a="";return t(this,function(s){a+=s}),a},r.warn=function(t,a,s){var l={node:this};for(var u in s)l[u]=s[u];return t.warn(a,l)},Rt(e,[{key:"proxyOf",get:function(){return this}}]),e})(),qh=B1;B1.default=B1;var AA=qh,F1=(function(e){$t(r,e);function r(n){var t;return n&&typeof n.value<"u"&&typeof n.value!="string"&&(n=He({},n,{value:String(n.value)})),t=e.call(this,n)||this,t.type="decl",t}return Rt(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(AA),Hh=F1;F1.default=F1;var RA="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",OA=function(e){e===void 0&&(e=21);for(var r="",n=e;n--;)r+=RA[Math.random()*64|0];return r},TA={nanoid:OA},c_=nr.SourceMapConsumer,u_=nr.SourceMapGenerator,IA=nr.existsSync,LA=nr.readFileSync,Bm=nr.dirname,$A=nr.join;function DA(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var q1=(function(){function e(n,t){if(t.map!==!1){this.loadAnnotation(n),this.inline=this.startWith(this.annotation,"data:");var a=t.map?t.map.prev:void 0,s=this.loadMap(t.from,a);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Bm(this.mapFile)),s&&(this.text=s)}}var r=e.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new c_(this.text)),this.consumerCache},r.decodeInline=function(t){var a=/^data:application\/json;charset=utf-?8;base64,/,s=/^data:application\/json;base64,/,l=/^data:application\/json;charset=utf-?8,/,u=/^data:application\/json,/;if(l.test(t)||u.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(a.test(t)||s.test(t))return DA(t.substr(RegExp.lastMatch.length));var f=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+f)},r.getAnnotationURL=function(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(t){return(typeof t>"u"?"undefined":Me(t))!=="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)},r.loadAnnotation=function(t){var a=t.match(/\/\*\s*# sourceMappingURL=/gm);if(a){var s=t.lastIndexOf(a.pop()),l=t.indexOf("*/",s);s>-1&&l>-1&&(this.annotation=this.getAnnotationURL(t.substring(s,l)))}},r.loadFile=function(t){if(this.root=Bm(t),IA(t))return this.mapFile=t,LA(t,"utf-8").toString().trim()},r.loadMap=function(t,a){if(a===!1)return!1;if(a){if(typeof a=="string")return a;if(typeof a=="function"){var s=a(t);if(s){var l=this.loadFile(s);if(!l)throw new Error("Unable to load previous source map: "+s.toString());return l}}else{if(Ee(a,c_))return u_.fromSourceMap(a).toString();if(Ee(a,u_))return a.toString();if(this.isMap(a))return JSON.stringify(a);throw new Error("Unsupported previous source map format: "+a.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var u=this.annotation;return t&&(u=$A(Bm(t),u)),this.loadFile(u)}}},r.startWith=function(t,a){return t?t.substr(0,a.length)===a:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e})(),Z3=q1;q1.default=q1;var UA=nr.SourceMapConsumer,PA=nr.SourceMapGenerator,d_=nr.fileURLToPath,Qd=nr.pathToFileURL,H1=nr.isAbsolute,G1=nr.resolve,zA=TA.nanoid,Fm=nr,f_=ov,BA=Z3,qm=Symbol("fromOffsetCache"),FA=!!(UA&&PA),h_=!!(G1&&H1),ih=(function(){function e(n,t){if(t===void 0&&(t={}),n===null||typeof n>"u"||(typeof n>"u"?"undefined":Me(n))==="object"&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!h_||/^\w+:\/\//.test(t.from)||H1(t.from)?this.file=t.from:this.file=G1(t.from)),h_&&FA){var a=new BA(this.css,t);if(a.text){this.map=a;var s=a.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+zA(6)+">"),this.map&&(this.map.file=this.from)}var r=e.prototype;return r.error=function(t,a,s,l){l===void 0&&(l={});var u,f,p;if(a&&(typeof a>"u"?"undefined":Me(a))==="object"){var m=a,g=s;if(typeof m.offset=="number"){var y=this.fromOffset(m.offset);a=y.line,s=y.col}else a=m.line,s=m.column;if(typeof g.offset=="number"){var _=this.fromOffset(g.offset);f=_.line,p=_.col}else f=g.line,p=g.column}else if(!s){var w=this.fromOffset(a);a=w.line,s=w.col}var C=this.origin(a,s,f,p);return C?u=new f_(t,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,l.plugin):u=new f_(t,f===void 0?a:{column:s,line:a},f===void 0?s:{column:p,line:f},this.css,this.file,l.plugin),u.input={column:s,endColumn:p,endLine:f,line:a,source:this.css},this.file&&(Qd&&(u.input.url=Qd(this.file).toString()),u.input.file=this.file),u},r.fromOffset=function(t){var a,s;if(this[qm])s=this[qm];else{var l=this.css.split(` 109`);s=new Array(l.length);for(var u=0,f=0,p=l.length;f<p;f++)s[f]=u,u+=l[f].length+1;this[qm]=s}a=s[s.length-1];var m=0;if(t>=a)m=s.length-1;else for(var g=s.length-2,y;m<g;)if(y=m+(g-m>>1),t<s[y])g=y-1;else if(t>=s[y+1])m=y+1;else{m=y;break}return{col:t-s[m]+1,line:m+1}},r.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:G1(this.map.consumer().sourceRoot||this.map.root||".",t)},r.origin=function(t,a,s,l){if(!this.map)return!1;var u=this.map.consumer(),f=u.originalPositionFor({column:a,line:t});if(!f.source)return!1;var p;typeof s=="number"&&(p=u.originalPositionFor({column:l,line:s}));var m;H1(f.source)?m=Qd(f.source):m=new URL(f.source,this.map.consumer().sourceRoot||Qd(this.map.mapFile));var g={column:f.column,endColumn:p&&p.column,endLine:p&&p.line,line:f.line,url:m.toString()};if(m.protocol==="file:")if(d_)g.file=d_(m);else throw new Error("file: protocol is not available in this PostCSS build");var y=u.sourceContentFor(f.source);return y&&(g.source=y),g},r.toJSON=function(){for(var t={},a=0,s=["hasBOM","css","file","id"];a<s.length;a++){var l=s[a];this[l]!=null&&(t[l]=this[l])}return this.map&&(t.map=He({},this.map),t.map.consumerCache&&(t.map.consumerCache=void 0)),t},Rt(e,[{key:"from",get:function(){return this.file||this.id}}]),e})(),Gh=ih;ih.default=ih;Fm&&Fm.registerInput&&Fm.registerInput(ih);var eS=nr.SourceMapConsumer,Uf=nr.SourceMapGenerator,Pf=nr.dirname,tS=nr.relative,rS=nr.resolve,nS=nr.sep,p_=nr.pathToFileURL,qA=Gh,HA=!!(eS&&Uf),GA=!!(Pf&&rS&&tS&&nS),VA=(function(){function e(n,t,a,s){this.stringify=n,this.mapOpts=a.map||{},this.root=t,this.opts=a,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var r=e.prototype;return r.addAnnotation=function(){var t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";var a=` 110`;this.css.includes(`\r 111`)&&(a=`\r 112`),this.css+=a+"/*# sourceMappingURL="+t+" */"},r.applyPrevMaps=function(){for(var t=ae(this.previous()),a;!(a=t()).done;){var s=a.value,l=this.toUrl(this.path(s.file)),u=s.root||Pf(s.file),f=void 0;this.mapOpts.sourcesContent===!1?(f=new eS(s.text),f.sourcesContent&&(f.sourcesContent=null)):f=s.consumer(),this.map.applySourceMap(f,l,this.toUrl(this.path(u)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var t,a=this.root.nodes.length-1;a>=0;a--)t=this.root.nodes[a],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(a);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),GA&&HA&&this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(a){t+=a}),[t]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=Uf.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new Uf({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},r.generateString=function(){var t=this;this.css="",this.map=new Uf({file:this.outputFile(),ignoreInvalidMapping:!0});var a=1,s=1,l="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},f,p;this.stringify(this.root,function(m,g,y){if(t.css+=m,g&&y!=="end"&&(u.generated.line=a,u.generated.column=s-1,g.source&&g.source.start?(u.source=t.sourcePath(g),u.original.line=g.source.start.line,u.original.column=g.source.start.column-1,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,t.map.addMapping(u))),f=m.match(/\n/g),f?(a+=f.length,p=m.lastIndexOf(` 113`),s=m.length-p):s+=m.length,g&&y!=="start"){var _=g.parent||{raws:{}},w=g.type==="decl"||g.type==="atrule"&&!g.nodes;(!w||g!==_.last||_.raws.semicolon)&&(g.source&&g.source.end?(u.source=t.sourcePath(g),u.original.line=g.source.end.line,u.original.column=g.source.end.column-1,u.generated.line=a,u.generated.column=s-2,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,u.generated.line=a,u.generated.column=s-1,t.map.addMapping(u)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(t){return t.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(function(a){return a.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(t){return t.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;var a=this.memoizedPaths.get(t);if(a)return a;var s=this.opts.to?Pf(this.opts.to):".";
vendor: 4,226 bytes, line 113
113typeof this.mapOpts.annotation=="string"&&(s=Pf(rS(s,this.mapOpts.annotation)));var l=tS(s,t);return this.memoizedPaths.set(t,l),l},r.previous=function(){var t=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(s){if(s.source&&s.source.input.map){var l=s.source.input.map;t.previousMaps.includes(l)||t.previousMaps.push(l)}});else{var a=new qA(this.originalCSS,this.opts);a.map&&this.previousMaps.push(a.map)}return this.previousMaps},r.setSourcesContent=function(){var t=this,a={};if(this.root)this.root.walk(function(l){if(l.source){var u=l.source.input.from;if(u&&!a[u]){a[u]=!0;var f=t.usesFileUrls?t.toFileUrl(u):t.toUrl(t.path(u));t.map.setSourceContent(f,l.source.input.css)}}});else if(this.css){var s=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(s,this.css)}},r.sourcePath=function(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))},r.toBase64=function(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},r.toFileUrl=function(t){var a=this.memoizedFileURLs.get(t);if(a)return a;if(p_){var s=p_(t).toString();return this.memoizedFileURLs.set(t,s),s}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(t){var a=this.memoizedURLs.get(t);if(a)return a;nS==="\\"&&(t=t.replace(/\\/g,"/"));var s=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,s),s},e})(),aS=VA,YA=qh,V1=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="comment",t}return r})(YA),Vh=V1;V1.default=V1;var iS=rs.isClean,sS=rs.my,oS=Hh,lS=Vh,KA=qh,cS,lv,cv,uS;function dS(e){return e.map(function(r){return r.nodes&&(r.nodes=dS(r.nodes)),delete r.source,r})}function fS(e){if(e[iS]=!1,e.proxyOf.nodes)for(var r=ae(e.proxyOf.nodes),n;!(n=r()).done;){var t=n.value;fS(t)}}var ui=(function(e){$t(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];for(var u=ae(s),f;!(f=u()).done;)for(var p=f.value,m=this.normalize(p,this.last),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.push(_)}return this.markDirty(),this},n.cleanRaws=function(a){if(e.prototype.cleanRaws.call(this,a),this.nodes)for(var s=ae(this.nodes),l;!(l=s()).done;){var u=l.value;u.cleanRaws(a)}},n.each=function(a){if(this.proxyOf.nodes){for(var s=this.getIterator(),l,u;this.indexes[s]<this.proxyOf.nodes.length&&(l=this.indexes[s],u=a(this.proxyOf.nodes[l],l),u!==!1);)this.indexes[s]+=1;return delete this.indexes[s],u}},n.every=function(a){return this.nodes.every(a)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var a=this.lastEach;return this.indexes[a]=0,a},n.getProxyProcessor=function(){return{get:function(s,l){return l==="proxyOf"?s:s[l]?l==="each"||typeof l=="string"&&l.startsWith("walk")?function(){for(var u=arguments.length,f=new Array(u),p=0;p<u;p++)f[p]=arguments[p];var m;return(m=s)[l].apply(m,[].concat(f.map(function(g){return typeof g=="function"?function(y,_){return g(y.toProxy(),_)}:g})))}:l==="every"||l==="some"?function(u){return s[l](function(f){for(var p=arguments.length,m=new Array(p>1?p-1:0),g=1;g<p;g++)m[g-1]=arguments[g];return u.apply(void 0,[].concat([f.toProxy()],m))})}:l==="root"?function(){return s.root().toProxy()}:l==="nodes"?s.nodes.map(function(u){return u.toProxy()}):l==="first"||l==="last"?s[l].toProxy():s[l]:s[l]},set:function(s,l,u){return s[l]===u||(s[l]=u,(l==="name"||l==="params"||l==="selector")&&s.markDirty()),!0}}},n.index=function(a){return typeof a=="number"?a:(a.proxyOf&&(a=a.proxyOf),this.proxyOf.nodes.indexOf(a))},n.insertAfter=function(a,s){var l=this.index(a),u=this.normalize(s,this.proxyOf.nodes[l]).reverse();l=this.index(a);for(var f=ae(u),p;!(p=f()).done;){var m=p.value;this.proxyOf.nodes.splice(l+1,0,m)}var g;for(var y in this.indexes)g=this.indexes[y],l<g&&(this.indexes[y]=g+u.length);return this.markDirty(),this},n.insertBefore=function(a,s){var l=this.index(a),u=l===0?"prepe
113nd":!1,f=this.normalize(s,this.proxyOf.nodes[l],u).reverse();l=this.index(a);for(var p=ae(f),m;!(m=p()).done;){var g=m.value;this.proxyOf.nodes.splice(l,0,g)}var y;for(var _ in this.indexes)y=this.indexes[_],l<=y&&(this.indexes[_]=y+f.length);return this.markDirty(),this},n.normalize=function(a,s){var l=this;if(typeof a=="string")a=dS(cS(a).nodes);else if(typeof a>"u")a=[];else if(Array.isArray(a)){a=a.slice(0);for(var u=ae(a),f;!(f=u()).done;){var p=f.value;p.parent&&p.parent.removeChild(p,"ignore")}}else if(a.type==="root"&&this.type!=="document"){a=a.nodes.slice(0);for(var m=ae(a),g;!(g=m()).done;){var y=g.value;y.parent&&y.parent.removeChild(y,"ignore")}}else if(a.type)a=[a];else if(a.prop){if(typeof a.value>"u")throw new Error("Value field is missed in node creation");typeof a.value!="string"&&(a.value=String(a.value)),a=[new oS(a)]}else if(a.selector)a=[new lv(a)];else if(a.name)a=[new cv(a)];else if(a.text)a=[new lS(a)];else throw new Error("Unknown node type in node creation");var _=a.map(function(w){return w[sS]||r.rebuild(w),w=w.proxyOf,w.parent&&w.parent.removeChild(w),w[iS]&&fS(w),typeof w.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(w.raws.before=s.raws.before.replace(/\S/g,"")),w.parent=l.proxyOf,w});return _},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];s=s.reverse();for(var u=ae(s),f;!(f=u()).done;){for(var p=f.value,m=this.normalize(p,this.first,"prepend").reverse(),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.unshift(_)}for(var w in this.indexes)this.indexes[w]=this.indexes[w]+m.length}return this.markDirty(),this},n.push=function(a){return a.parent=this,this.proxyOf.nodes.push(a),this},n.removeAll=function(){for(var a=ae(this.proxyOf.nodes),s;!(s=a()).done;){var l=s.value;l.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(a){a=this.index(a),this.proxyOf.nodes[a].parent=void 0,this.proxyOf.nodes.splice(a,1);var s;for(var l in this.indexes)s=this.indexes[l],s>=a&&(this.indexes[l]=s-1);return this.markDirty(),this},n.replaceValues=function(a,s,l){return l||(l=s,s={}),this.walkDecls(function(u){s.props&&!s.props.includes(u.prop)||s.fast&&!u.value.includes(s.fast)||(u.value=u.value.replace(a,l))}),this.markDirty(),this},n.some=function(a){return this.nodes.some(a)},n.walk=function(a){return this.each(function(s,l){var u;try{u=a(s,l)}catch(f){throw s.addToError(f)}return u!==!1&&s.walk&&(u=s.walk(a)),u})},n.walkAtRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="atrule"&&a.test(l.name))return s(l,u)}):this.walk(function(l,u){if(l.type==="atrule"&&l.name===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="atrule")return s(l,u)}))},n.walkComments=function(a){return this.walk(function(s,l){if(s.type==="comment")return a(s,l)})},n.walkDecls=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="decl"&&a.test(l.prop))return s(l,u)}):this.walk(function(l,u){if(l.type==="decl"&&l.prop===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="decl")return s(l,u)}))},n.walkRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="rule"&&a.test(l.selector))return s(l,u)}):this.walk(function(l,u){if(l.type==="rule"&&l.selector===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="rule")return s(l,u)}))},Rt(r,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),r})(KA);ui.registerParse=function(e){cS=e};ui.registerRule=function(e){lv=e};ui.registerAtRule=function(e){cv=e};ui.registerRoot=function(e){uS=e};var Fs=ui;ui.default=ui;ui.rebuild=function(e){e.type==="atrule"?Object.setPrototypeOf(e,cv.prototype):e.type==="rule"?Object.setPrototypeOf(e,lv.prototype):e.type==="decl"?Object.setPrototypeOf(e,oS.prototype):e.type==="comment"?Object.setPrototypeOf(e,lS.prototype):e.type==="root"&&Object.setPrototypeOf(e,uS.prototype),e[sS]=!0,e.nodes&&e.nodes.forEach(function(r){ui.rebuild(r)})};var WA=Fs,hS,pS,Qc=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,He({type:"document"},t))||this,a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.toResult=function(a){a===void 0&&(a={});var s=new hS(new pS,this,a);return s.stringify()},r})(WA);Qc.registerLazyResult=function(e){hS=e};Qc.registerProcessor=function(e){pS=e};var uv=Qc;Qc.default=Qc;var Y1=(function(){function e(n,t){if(t===void 0&&(t={}),this.type="warning",this.text=n,t.node&&t.node.source){var a=t.node.rangeBy(t);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(var s in t)this[s]=t[s]}
vendor: 48,340 bytes, lines 113-138
113var r=e.prototype;return r.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e})(),mS=Y1;Y1.default=Y1;var JA=mS,K1=(function(){function e(n,t,a){this.processor=n,this.messages=[],this.root=t,this.opts=a,this.css=void 0,this.map=void 0}var r=e.prototype;return r.toString=function(){return this.css},r.warn=function(t,a){a===void 0&&(a={}),a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);var s=new JA(t,a);return this.messages.push(s),s},r.warnings=function(){return this.messages.filter(function(t){return t.type==="warning"})},Rt(e,[{key:"content",get:function(){return this.css}}]),e})(),dv=K1;K1.default=K1;var Hm=39,m_=34,Zd=92,g_=47,ef=10,yc=32,tf=12,rf=9,nf=13,XA=91,QA=93,ZA=40,eR=41,tR=123,rR=125,nR=59,aR=42,iR=58,sR=64,af=/[\t\n\f\r "#'()/;[\\\]{}]/g,sf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,oR=/.[\r\n"'(/\\]/,v_=/[\da-f]/i,lR=function(r,n){n===void 0&&(n={});var t=r.css.valueOf(),a=n.ignoreErrors,s,l,u,f,p,m,g,y,_,w,C=t.length,x=0,S=[],k=[];function j(){return x}function O(z){throw r.error("Unclosed "+z,x)}function $(){return k.length===0&&x>=C}function T(z){if(k.length)return k.pop();if(!(x>=C)){var J=z?z.ignoreUnclosed:!1;switch(s=t.charCodeAt(x),s){case ef:case yc:case rf:case nf:case tf:{l=x;do l+=1,s=t.charCodeAt(l);while(s===yc||s===ef||s===rf||s===nf||s===tf);w=["space",t.slice(x,l)],x=l-1;break}case XA:case QA:case tR:case rR:case iR:case nR:case eR:{var de=String.fromCharCode(s);w=[de,de,x];break}case ZA:{if(y=S.length?S.pop()[1]:"",_=t.charCodeAt(x+1),y==="url"&&_!==Hm&&_!==m_&&_!==yc&&_!==ef&&_!==rf&&_!==tf&&_!==nf){l=x;do{if(m=!1,l=t.indexOf(")",l+1),l===-1)if(a||J){l=x;break}else O("bracket");for(g=l;t.charCodeAt(g-1)===Zd;)g-=1,m=!m}while(m);w=["brackets",t.slice(x,l+1),x,l],x=l}else l=t.indexOf(")",x+1),f=t.slice(x,l+1),l===-1||oR.test(f)?w=["(","(",x]:(w=["brackets",f,x,l],x=l);break}case Hm:case m_:{u=s===Hm?"'":'"',l=x;do{if(m=!1,l=t.indexOf(u,l+1),l===-1)if(a||J){l=x+1;break}else O("string");for(g=l;t.charCodeAt(g-1)===Zd;)g-=1,m=!m}while(m);w=["string",t.slice(x,l+1),x,l],x=l;break}case sR:{af.lastIndex=x+1,af.test(t),af.lastIndex===0?l=t.length-1:l=af.lastIndex-2,w=["at-word",t.slice(x,l+1),x,l],x=l;break}case Zd:{for(l=x,p=!0;t.charCodeAt(l+1)===Zd;)l+=1,p=!p;if(s=t.charCodeAt(l+1),p&&s!==g_&&s!==yc&&s!==ef&&s!==rf&&s!==nf&&s!==tf&&(l+=1,v_.test(t.charAt(l)))){for(;v_.test(t.charAt(l+1));)l+=1;t.charCodeAt(l+1)===yc&&(l+=1)}w=["word",t.slice(x,l+1),x,l],x=l;break}default:{s===g_&&t.charCodeAt(x+1)===aR?(l=t.indexOf("*/",x+2)+1,l===0&&(a||J?l=t.length:O("comment")),w=["comment",t.slice(x,l+1),x,l],x=l):(sf.lastIndex=x+1,sf.test(t),sf.lastIndex===0?l=t.length-1:l=sf.lastIndex-2,w=["word",t.slice(x,l+1),x,l],S.push(w),x=l);break}}return x++,w}}function D(z){k.push(z)}return{back:D,endOfFile:$,nextToken:T,position:j}},gS=Fs,sh=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="atrule",a}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.append).call.apply(u,[].concat([this],s))},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.prepend).call.apply(u,[].concat([this],s))},r})(gS),fv=sh;sh.default=sh;gS.registerAtRule(sh);var vS=Fs,yS,bS,al=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="root",a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.normalize=function(a,s,l){var u=e.prototype.normalize.call(this,a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(var f=ae(u),p;!(p=f()).done;){var m=p.value;m.raws.before=s.raws.before}}return u},n.removeChild=function(a,s){var l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),e.prototype.removeChild.call(this,a)},n.toResult=function(a){a===void 0&&(a={});var s=new yS(new bS,this,a);return s.stringify()},r})(vS);al.registerLazyResult=function(e){yS=e};al.registerProcessor=function(e){bS=e};var xu=al;al.default=al;vS.registerRoot(al);var Zc={comma:function(r){return Zc.split(r,[","],!0)},space:function(r){var n=[" ",` 114`," "];return Zc.split(r,n)},split:function(r,n,t){for(var a=[],s="",l=!1,u=0,f=!1,p="",m=!1,g=ae(r),y;!(y=g()).done;){var _=y.value;m?m=!1:_==="\\"?m=!0:f?_===p&&(f=!1):_==='"'||_==="'"?(f=!0,p=_):_==="("?u+=1:_===")"?u>0&&(u-=1):u===0&&n.includes(_)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=_}return(t||s!=="")&&a.push(s.trim()),a}},xS=Zc;Zc.default=Zc;var _S=Fs,cR=xS,oh=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="rule",t.nodes||(t.nodes=[]),t}return Rt(r,[{key:"selectors",get:function(){return cR.comma(this.selector)},set:function(t){var a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=t.join(s)}}]),r})(_S),hv=oh;oh.default=oh;_S.registerRule(oh);var uR=Hh,dR=lR,fR=Vh,hR=fv,pR=xu,y_=hv,b_={empty:!0,space:!0};function mR(e){for(var r=e.length-1;r>=0;r--){var n=e[r],t=n[3]||n[2];if(t)return t}}var gR=(function(){function e(n){this.input=n,this.root=new pR,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:n,start:{column:1,line:1,offset:0}}}var r=e.prototype;return r.atrule=function(t){var a=new hR;a.name=t[1].slice(1),a.name===""&&this.unnamedAtrule(a,t),this.init(a,t[2]);for(var s,l,u,f=!1,p=!1,m=[],g=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),s=t[0],s==="("||s==="["?g.push(s==="("?")":"]"):s==="{"&&g.length>0?g.push("}"):s===g[g.length-1]&&g.pop(),g.length===0)if(s===";"){a.source.end=this.getPosition(t[2]),a.source.end.offset++,this.semicolon=!0;break}else if(s==="{"){p=!0;break}else if(s==="}"){if(m.length>0){for(u=m.length-1,l=m[u];l&&l[0]==="space";)l=m[--u];l&&(a.source.end=this.getPosition(l[3]||l[2]),a.source.end.offset++)}this.end(t);break}else m.push(t);else m.push(t);if(this.tokenizer.endOfFile()){f=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(a.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(a,"params",m),f&&(t=m[m.length-1],a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++,this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),p&&(a.nodes=[],this.current=a)},r.checkMissedSemicolon=function(t){var a=this.colon(t);if(a!==!1){for(var s=0,l,u=a-1;u>=0&&(l=t[u],!(l[0]!=="space"&&(s+=1,s===2)));u--);throw this.input.error("Missed semicolon",l[0]==="word"?l[3]+1:l[2])}},r.colon=function(t){for(var a=0,s,l,u,f=ae(t.entries()),p;!(p=f()).done;){var m=p.value,g=m[0],y=m[1];if(s=y,l=s[0],l==="("&&(a+=1),l===")"&&(a-=1),a===0&&l===":")if(!u)this.doubleColon(s);else{if(u[0]==="word"&&u[1]==="progid")continue;return g}u=s}return!1},r.comment=function(t){var a=new fR;this.init(a,t[2]),a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++;var s=t[1].slice(2,-2);if(/^\s*$/.test(s))a.text="",a.raws.left=s,a.raws.right="";else{var l=s.match(/^(\s*)([^]*\S)(\s*)$/);a.text=l[2],a.raws.left=l[1],a.raws.right=l[3]}},r.createTokenizer=function(){this.tokenizer=dR(this.input)},r.decl=function(t,a){var s=new uR;this.init(s,t[0][2]);var l=t[t.length-1];for(l[0]===";"&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(l[3]||l[2]||mR(t)),s.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){var u=t[0][0];if(u===":"||u==="space"||u==="comment")break;s.prop+=t.shift()[1]}s.raws.between="";for(var f;t.length;)if(f=t.shift(),f[0]===":"){s.raws.between+=f[1];break}else f[0]==="word"&&/\w/.test(f[1])&&this.unknownWord([f]),s.raws.between+=f[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));for(var p=[],m;t.length&&(m=t[0][0],!(m!=="space"&&m!=="comment"));)p.push(t.shift());this.precheckMissedSemicolon(t);for(var g=t.length-1;g>=0;g--){if(f=t[g],f[1].toLowerCase()==="!important"){s.important=!0;var y=this.stringFrom(t,g);y=this.spacesFromEnd(t)+y,y!==" !important"&&(s.raws.important=y);break}else if(f[1].toLowerCase()==="important"){for(var _=t.slice(0),w="",C=g;C>0;C--){var x=_[C][0];if(w.trim().indexOf("!")===0&&x!=="space")break;w=_.pop()[1]+w}w.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=w,t=_)}if(f[0]!=="space"&&f[0]!=="comment")break}var S=t.some(function(k){return k[0]!=="space"&&k[0]!=="comment"});S&&(s.raws.between+=p.map(function(k){return k[1]}).join(""),p=[]),this.raw(s,"value",p.concat(t),a),s.value.includes(":")&&!a&&this.checkMissedSemicolon(t)},r.doubleColon=function(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})},r.emptyRule=function(t){var a=new y_;this.init(a,t[2]),a.selector="",a.raws.between="",this.current=a},r.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)},r.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},r.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var a=this.current.nodes[this.current.nodes.length-1];a&&a.type==="rule"&&!a.raws.ownSemicolon&&(a.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(t){var a=this.input.fromOffset(t);return{column:a.col,line:a.line,offset:t}},r.init=function(t,a){this.current.push(t),t.source={input:this.input,start:this.getPosition(a)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)},r.other=function(t){for(var a=!1,s=null,l=!1,u=null,f=[],p=t[1].startsWith("--"),m=[],g=t;g;){if(s=g[0],m.push(g),s==="("||s==="[")u||(u=g),f.push(s==="("?")":"]");else if(p&&l&&s==="{")u||(u=g),f.push("}");else if(f.length===0)if(s===";")if(l){this.decl(m,p);return}else break;else if(s==="{"){this.rule(m);return}else if(s==="}"){this.tokenizer.back(m.pop()),a=!0;break}else s===":"&&(l=!0);else s===f[f.length-1]&&(f.pop(),f.length===0&&(u=null));g=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(a=!0),f.length>0&&this.unclosedBracket(u),a&&l){if(!p)for(;m.length&&(g=m[m.length-1][0],!(g!=="space"&&g!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,p)}else this.unknownWord(m)},r.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(t,a,s,l){for(var u,f,p=s.length,m="",g=!0,y,_,w=0;w<p;w+=1)u=s[w],f=u[0],f==="space"&&w===p-1&&!l?g=!1:f==="comment"?(_=s[w-1]?s[w-1][0]:"empty",y=s[w+1]?s[w+1][0]:"empty",!b_[_]&&!b_[y]?m.slice(-1)===","?g=!1:m+=u[1]:g=!1):m+=u[1];if(!g){var C=s.reduce(function(x,S){return x+S[1]},"");t.raws[a]={raw:C,value:m}}t[a]=m},r.rule=function(t){t.pop();var a=new y_;this.init(a,t[0][2]),a.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(a,"selector",t),this.current=a},r.spacesAndCommentsFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],!(a!=="space"&&a!=="comment"));)s=t.pop()[1]+s;return s},r.spacesAndCommentsFromStart=function(t){for(var a,s="";t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s+=t.shift()[1];return s},r.spacesFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],a==="space");)s=t.pop()[1]+s;return s},r.stringFrom=function(t,a){for(var s="",l=a;l<t.length;l++)s+=t[l][1];return t.splice(a,t.length-a),s},r.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},r.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})},r.unexpectedClose=function(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})},r.unknownWord=function(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})},r.unnamedAtrule=function(t,a){throw this.input.error("At-rule without name",{offset:a[2]},{offset:a[2]+a[1].length})},e})(),vR=gR,yR=Fs,bR=vR,xR=Gh;function lh(e,r){var n=new xR(e,r),t=new bR(n);try{t.parse()}catch(a){throw a}return t.root}var pv=lh;lh.default=lh;yR.registerParse(lh);var Na=rs.isClean,_R=rs.my,wR=aS,SR=Fh,ER=Fs,CR=uv,x_=dv,MR=pv,kR=xu,NR={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},jR={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},AR={Once:!0,postcssPlugin:!0,prepare:!0},il=0;function bc(e){return(typeof e>"u"?"undefined":Me(e))==="object"&&typeof e.then=="function"}function wS(e){var r=!1,n=NR[e.type];return e.type==="decl"?r=e.prop.toLowerCase():e.type==="atrule"&&(r=e.name.toLowerCase()),r&&e.append?[n,n+"-"+r,il,n+"Exit",n+"Exit-"+r]:r?[n,n+"-"+r,n+"Exit",n+"Exit-"+r]:e.append?[n,il,n+"Exit"]:[n,n+"Exit"]}function __(e){var r;return e.type==="document"?r=["Document",il,"DocumentExit"]:e.type==="root"?r=["Root",il,"RootExit"]:r=wS(e),{eventIndex:0,events:r,iterator:0,node:e,visitorIndex:0,visitors:[]}}function W1(e){return e[Na]=!1,e.nodes&&e.nodes.forEach(function(r){return W1(r)}),e}var J1={},sl=(function(){function e(n,t,a){var s=this;this.stringified=!1,this.processed=!1;var l;if((typeof t>"u"?"undefined":Me(t))==="object"&&t!==null&&(t.type==="root"||t.type==="document"))l=W1(t);else if(Ee(t,e)||Ee(t,x_))l=W1(t.root),t.map&&(typeof a.map>"u"&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=t.map);else{var u=MR;a.syntax&&(u=a.syntax.parse),a.parser&&(u=a.parser),u.parse&&(u=u.parse);try{l=u(t,a)}catch(f){this.processed=!0,this.error=f}l&&!l[_R]&&ER.rebuild(l)}this.result=new x_(n,l,a),this.helpers=He({},J1,{postcss:J1,result:this.result}),this.plugins=this.processor.plugins.map(function(f){return(typeof f>"u"?"undefined":Me(f))==="object"&&f.prepare?He({},f,f.prepare(s.result)):f})}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(t,a){var s=this.result.lastPlugin;try{if(a&&a.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=s.postcssPlugin,t.setMessage();else if(s.postcssVersion)var l,u,f,p,m}catch(g){console&&console.error&&console.error(g)}return t},r.prepareVisitors=function(){var t=this;this.listeners={};for(var a=function(m,g,y){t.listeners[g]||(t.listeners[g]=[]),t.listeners[g].push([m,y])},s=ae(this.plugins),l;!(l=s()).done;){var u=l.value;if((typeof u>"u"?"undefined":Me(u))==="object")for(var f in u){if(!jR[f]&&/^[A-Z]/.test(f))throw new Error("Unknown event "+f+" in "+u.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!AR[f])if(Me(u[f])==="object")for(var p in u[f])p==="*"?a(u,f,u[f][p]):a(u,f+"-"+p.toLowerCase(),u[f][p]);else typeof u[f]=="function"&&a(u,f,u[f])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var t=this;return Bh(function(){var a,s,l,u,f,p,m,g,y,_,w,C;return Us(this,function(x){switch(x.label){case 0:t.plugin=0,a=0,x.label=1;case 1:if(!(a<t.plugins.length))return[3,6];if(s=t.plugins[a],l=t.runOnRoot(s),!bc(l))return[3,5];x.label=2;case 2:return x.trys.push([2,4,,5]),[4,l];case 3:return x.sent(),[3,5];case 4:throw u=x.sent(),t.handleError(u);case 5:return a++,[3,1];case 6:if(t.prepareVisitors(),!t.hasListener)return[3,18];f=t.result.root,x.label=7;case 7:if(f[Na])return[3,14];f[Na]=!0,p=[__(f)],x.label=8;case 8:if(!(p.length>0))return[3,13];if(m=t.visitTick(p),!bc(m))return[3,12];x.label=9;case 9:return x.trys.push([9,11,,12]),[4,m];case 10:return x.sent(),[3,12];case 11:throw g=x.sent(),y=p[p.length-1].node,t.handleError(g,y);case 12:return[3,8];case 13:return[3,7];case 14:if(!t.listeners.OnceExit)return[3,18];_=function(){var S,k,j,O,$;return Us(this,function(T){switch(T.label){case 0:S=C.value,k=S[0],j=S[1],t.result.lastPlugin=k,T.label=1;case 1:return T.trys.push([1,6,,7]),f.type!=="document"?[3,3]:(O=f.nodes.map(function(D){return j(D,t.helpers)}),[4,Promise.all(O)]);case 2:return T.sent(),[3,5];case 3:return[4,j(f,t.helpers)];case 4:T.sent(),T.label=5;case 5:return[3,7];case 6:throw $=T.sent(),t.handleError($);case 7:return[2]}})},w=ae(t.listeners.OnceExit),x.label=15;case 15:return(C=w()).done?[3,18]:[5,nv(_())];case 16:x.sent(),x.label=17;case 17:return[3,15];case 18:return t.processed=!0,[2,t.stringify()]}})})()},r.runOnRoot=function(t){var a=this;this.result.lastPlugin=t;try{if((typeof t>"u"?"undefined":Me(t))==="object"&&t.Once){if(this.result.root.type==="document"){var s=this.result.root.nodes.map(function(l){return t.Once(l,a.helpers)});return bc(s[0])?Promise.all(s):s}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(l){throw this.handleError(l)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,a=SR;t.syntax&&(a=t.syntax.stringify),t.stringifier&&(a=t.stringifier),a.stringify&&(a=a.stringify);var s=new wR(a,this.result.root,this.result.opts),l=s.generate();return this.result.css=l[0],this.result.map=l[1],this.result},r.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t=ae(this.plugins),a;!(a=t()).done;){var s=a.value,l=this.runOnRoot(s);if(bc(l))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var u=this.result.root;!u[Na];)u[Na]=!0,this.walkSync(u);if(this.listeners.OnceExit)if(u.type==="document")for(var f=ae(u.nodes),p;!(p=f()).done;){var m=p.value;this.visitSync(this.listeners.OnceExit,m)}else this.visitSync(this.listeners.OnceExit,u)}return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this.css},r.visitSync=function(t,a){for(var s=ae(t),l;!(l=s()).done;){var u=l.value,f=u[0],p=u[1];this.result.lastPlugin=f;var m=void 0;try{m=p(a,this.helpers)}catch(g){throw this.handleError(g,a.proxyOf)}if(a.type!=="root"&&a.type!=="document"&&!a.parent)return!0;if(bc(m))throw this.getAsyncError()}},r.visitTick=function(t){var a=t[t.length-1],s=a.node,l=a.visitors;if(s.type!=="root"&&s.type!=="document"&&!s.parent){t.pop();return}if(l.length>0&&a.visitorIndex<l.length){var u=l[a.visitorIndex],f=u[0],p=u[1];a.visitorIndex+=1,a.visitorIndex===l.length&&(a.visitors=[],a.visitorIndex=0),this.result.lastPlugin=f;try{return p(s.toProxy(),this.helpers)}catch(w){throw this.handleError(w,s)}}if(a.iterator!==0){for(var m=a.iterator,g;g=s.nodes[s.indexes[m]];)if(s.indexes[m]+=1,!g[Na]){g[Na]=!0,t.push(__(g));return}a.iterator=0,delete s.indexes[m]}for(var y=a.events;a.eventIndex<y.length;){var _=y[a.eventIndex];if(a.eventIndex+=1,_===il){s.nodes&&s.nodes.length&&(s[Na]=!0,a.iterator=s.getIterator());return}else if(this.listeners[_]){a.visitors=this.listeners[_];return}}t.pop()},r.walkSync=function(t){var a=this;t[Na]=!0;for(var s=wS(t),l=ae(s),u;!(u=l()).done;){var f=u.value;if(f===il)t.nodes&&t.each(function(m){m[Na]||a.walkSync(m)});else{var p=this.listeners[f];if(p&&this.visitSync(p,t.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},Rt(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e})();sl.registerPostcss=function(e){J1=e};var SS=sl;sl.default=sl;kR.registerLazyResult(sl);CR.registerLazyResult(sl);var RR=aS,OR=Fh,TR=pv,IR=dv,X1=(function(){function e(n,t,a){t=t.toString(),this.stringified=!1,this._processor=n,this._css=t,this._opts=a,this._map=void 0;var s,l=OR;this.result=new IR(this._processor,s,this._opts),this.result.css=t;var u=this;Object.defineProperty(this.result,"root",{get:function(){return u.root}});var f=new RR(l,s,this._opts,t);if(f.isMap()){var p=f.generate(),m=p[0],g=p[1];m&&(this.result.css=m),g&&(this.result.map=g)}else f.clearAnnotation(),this.result.css=f.css}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this._css},r.warnings=function(){return[]},Rt(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var t,a=TR;try{t=a(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=t,t}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e})(),LR=X1;X1.default=X1;var $R=LR,DR=SS,UR=uv,PR=xu,eu=(function(){function e(n){n===void 0&&(n=[]),this.version="8.4.38",this.plugins=this.normalize(n)}var r=e.prototype;return r.normalize=function(t){for(var a=[],s=ae(t),l;!(l=s()).done;){var u=l.value;if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),(typeof u>"u"?"undefined":Me(u))==="object"&&Array.isArray(u.plugins))a=a.concat(u.plugins);else if((typeof u>"u"?"undefined":Me(u))==="object"&&u.postcssPlugin)a.push(u);else if(typeof u=="function")a.push(u);else if(!((typeof u>"u"?"undefined":Me(u))==="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin")}return a},r.process=function(t,a){return a===void 0&&(a={}),!this.plugins.length&&!a.parser&&!a.stringifier&&!a.syntax?new $R(this,t,a):new DR(this,t,a)},r.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e})(),zR=eu;eu.default=eu;PR.registerProcessor(eu);UR.registerProcessor(eu);var BR=Hh,FR=Z3,qR=Vh,HR=fv,GR=Gh,VR=xu,YR=hv;function tu(e,r){if(Array.isArray(e))return e.map(function(g){return tu(g)});var n=e.inputs,t=Ds(e,["inputs"]);if(n){r=[];for(var a=ae(n),s;!(s=a()).done;){var l=s.value,u=He({},l,{__proto__:GR.prototype});u.map&&(u.map=He({},u.map,{__proto__:FR.prototype})),r.push(u)}}if(t.nodes&&(t.nodes=e.nodes.map(function(g){return tu(g,r)})),t.source){var f=t.source,p=f.inputId,m=Ds(f,["inputId"]);t.source=m,p!=null&&(t.source.input=r[p])}if(t.type==="root")return new VR(t);if(t.type==="decl")return new BR(t);if(t.type==="rule")return new YR(t);if(t.type==="comment")return new qR(t);if(t.type==="atrule")return new HR(t);throw new Error("Unknown node type: "+e.type)}var KR=tu;tu.default=tu;var WR=ov,ES=Hh,JR=SS,XR=Fs,mv=zR,QR=Fh,ZR=KR,CS=uv,eO=mS,MS=Vh,kS=fv,tO=dv,rO=Gh,nO=pv,aO=xS,NS=hv,jS=xu,iO=qh;function dt(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new mv(r)}dt.plugin=function(r,n){var t=!1;function a(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];console&&console.warn&&!t&&(t=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 115https://evilmartians.com/chronicles/postcss-8-plugin-migration`),nl.LANG&&nl.LANG.startsWith("cn")&&console.warn(r+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 116https://www.w3ctech.com/topic/2226`));var p=n.apply(void 0,[].concat(u));return p.postcssPlugin=r,p.postcssVersion=new mv().version,p}var s;return Object.defineProperty(a,"postcss",{get:function(){return s||(s=a()),s}}),a.process=function(l,u,f){return dt([a(f)]).process(l,u)},a};dt.stringify=QR;dt.parse=nO;dt.fromJSON=ZR;dt.list=aO;dt.comment=function(e){return new MS(e)};dt.atRule=function(e){return new kS(e)};dt.decl=function(e){return new ES(e)};dt.rule=function(e){return new NS(e)};dt.root=function(e){return new jS(e)};dt.document=function(e){return new CS(e)};dt.CssSyntaxError=WR;dt.Declaration=ES;dt.Container=XR;dt.Processor=mv;dt.Document=CS;dt.Comment=MS;dt.Warning=eO;dt.AtRule=kS;dt.Result=tO;dt.Input=rO;dt.Rule=NS;dt.Root=jS;dt.Node=iO;JR.registerPostcss(dt);var sO=dt;dt.default=dt;var Dt=bA(sO);Dt.stringify;Dt.fromJSON;Dt.plugin;Dt.parse;Dt.list;Dt.document;Dt.comment;Dt.atRule;Dt.rule;Dt.decl;Dt.root;Dt.CssSyntaxError;Dt.Declaration;Dt.Container;Dt.Processor;Dt.Document;Dt.Comment;Dt.Warning;Dt.AtRule;Dt.Result;Dt.Input;Dt.Rule;Dt.Root;Dt.Node;var oO=Object.defineProperty,lO=function(e,r,n){return r in e?oO(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},Kn=function(e,r,n){return lO(e,(typeof r>"u"?"undefined":Me(r))!=="symbol"?r+"":r,n)};function cO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function uO(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var n=function t(){return Ee(this,t)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}var gv={exports:{}},Nt=String,AS=function(){return{isColorSupported:!1,reset:Nt,bold:Nt,dim:Nt,italic:Nt,underline:Nt,inverse:Nt,hidden:Nt,strikethrough:Nt,black:Nt,red:Nt,green:Nt,yellow:Nt,blue:Nt,magenta:Nt,cyan:Nt,white:Nt,gray:Nt,bgBlack:Nt,bgRed:Nt,bgGreen:Nt,bgYellow:Nt,bgBlue:Nt,bgMagenta:Nt,bgCyan:Nt,bgWhite:Nt}};gv.exports=AS();gv.exports.createColors=AS;var dO=gv.exports,fO={},hO=Object.freeze(Object.defineProperty({__proto__:null,default:fO},Symbol.toStringTag,{value:"Module"})),ar=uO(hO),w_=dO,S_=ar,Q1=(function(e){$t(r,e);function r(t,a,s,l,u,f){var p;return p=e.call(this,t)||this,p.name="CssSyntaxError",p.reason=t,u&&(p.file=u),l&&(p.source=l),f&&(p.plugin=f),typeof a<"u"&&typeof s<"u"&&(typeof a=="number"?(p.line=a,p.column=s):(p.line=a.line,p.column=a.column,p.endLine=s.line,p.endColumn=s.column)),p.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(p,r),p}var n=r.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(a){var s=this;if(!this.source)return"";var l=this.source;a==null&&(a=w_.isColorSupported),S_&&a&&(l=S_(l));var u=l.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,u.length),m=String(p).length,g,y;if(a){var _=w_.createColors(!0),w=_.bold,C=_.gray,x=_.red;g=function(S){return w(x(S))},y=function(S){return C(S)}}else g=y=function(S){return S};return u.slice(f,p).map(function(S,k){var j=f+1+k,O=" "+(" "+j).slice(-m)+" | ";if(j===s.line){var $=y(O.replace(/\d/g," "))+S.slice(0,s.column-1).replace(/[^\t]/g," ");return g(">")+y(O)+S+` 117 `+$+g("^")}return" "+y(O)+S}).join(` 118`)},n.toString=function(){var a=this.showSourceCode();return a&&(a=` 119 120`+a+` 121`),this.name+": "+this.message+a},r})(Jc(Error)),vv=Q1;Q1.default=Q1;var ns={};ns.isClean=Symbol("isClean");ns.my=Symbol("my");var E_={after:` 122`,beforeClose:` 123`,beforeComment:` 124`,beforeDecl:` 125`,beforeOpen:" ",beforeRule:` 126`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function pO(e){return e[0].toUpperCase()+e.slice(1)}var Z1=(function(){function e(n){this.builder=n}var r=e.prototype;return r.atrule=function(t,a){var s="@"+t.name,l=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?s+=t.raws.afterName:l&&(s+=" "),t.nodes)this.block(t,s+l);else{var u=(t.raws.between||"")+(a?";":"");this.builder(s+l+u,t)}},r.beforeAfter=function(t,a){var s;t.type==="decl"?s=this.raw(t,null,"beforeDecl"):t.type==="comment"?s=this.raw(t,null,"beforeComment"):a==="before"?s=this.raw(t,null,"beforeRule"):s=this.raw(t,null,"beforeClose");for(var l=t.parent,u=0;l&&l.type!=="root";)u+=1,l=l.parent;if(s.includes(` 127`)){var f=this.raw(t,null,"indent");if(f.length)for(var p=0;p<u;p++)s+=f}return s},r.block=function(t,a){var s=this.raw(t,"between","beforeOpen");this.builder(a+s+"{",t,"start");var l;t.nodes&&t.nodes.length?(this.body(t),l=this.raw(t,"after")):l=this.raw(t,"after","emptyBody"),l&&this.builder(l),this.builder("}",t,"end")},r.body=function(t){for(var a=t.nodes.length-1;a>0&&t.nodes[a].type==="comment";)a-=1;for(var s=this.raw(t,"semicolon"),l=0;l<t.nodes.length;l++){var u=t.nodes[l],f=this.raw(u,"before");f&&this.builder(f),this.stringify(u,a!==l||s)}},r.comment=function(t){var a=this.raw(t,"left","commentLeft"),s=this.raw(t,"right","commentRight");this.builder("/*"+a+t.text+s+"*/",t)},r.decl=function(t,a){var s=this.raw(t,"between","colon"),l=t.prop+s+this.rawValue(t,"value");t.important&&(l+=t.raws.important||" !important"),a&&(l+=";"),this.builder(l,t)},r.document=function(t){this.body(t)},r.raw=function(t,a,s){var l;if(s||(s=a),a&&(l=t.raws[a],typeof l<"u"))return l;var u=t.parent;if(s==="before"&&(!u||u.type==="root"&&u.first===t||u&&u.type==="document"))return"";if(!u)return E_[s];var f=t.root();if(f.rawCache||(f.rawCache={}),typeof f.rawCache[s]<"u")return f.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(t,s);var p="raw"+pO(s);return this[p]?l=this[p](f,t):f.walk(function(m){if(l=m.raws[a],typeof l<"u")return!1}),typeof l>"u"&&(l=E_[s]),f.rawCache[s]=l,l},r.rawBeforeClose=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(` 128`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawBeforeComment=function(t,a){var s;return t.walkComments(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 129`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeDecl=function(t,a){var s;return t.walkDecls(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 130`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeOpen=function(t){var a;return t.walk(function(s){if(s.type!=="decl"&&(a=s.raws.between,typeof a<"u"))return!1}),a},r.rawBeforeRule=function(t){var a;return t.walk(function(s){if(s.nodes&&(s.parent!==t||t.first!==s)&&typeof s.raws.before<"u")return a=s.raws.before,a.includes(` 131`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawColon=function(t){var a;return t.walkDecls(function(s){if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a},r.rawEmptyBody=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a},r.rawIndent=function(t){if(t.raws.indent)return t.raws.indent;var a;return t.walk(function(s){var l=s.parent;if(l&&l!==t&&l.parent&&l.parent===t&&typeof s.raws.before<"u"){var u=s.raws.before.split(` 132`);return a=u[u.length-1],a=a.replace(/\S/g,""),!1}}),a},r.rawSemicolon=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a},r.rawValue=function(t,a){var s=t[a],l=t.raws[a];return l&&l.value===s?l.raw:s},r.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},r.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},r.stringify=function(t,a){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,a)},e})(),RS=Z1;Z1.default=Z1;var mO=RS;function eg(e,r){var n=new mO(r);n.stringify(e)}var Yh=eg;eg.default=eg;var of=ns.isClean,gO=ns.my,vO=vv,yO=RS,bO=Yh;function tg(e,r){var n=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t!=="proxyCache"){var a=e[t],s=typeof a>"u"?"undefined":Me(a);t==="parent"&&s==="object"?r&&(n[t]=r):t==="source"?n[t]=a:Array.isArray(a)?n[t]=a.map(function(l){return tg(l,n)}):(s==="object"&&a!==null&&(a=tg(a)),n[t]=a)}return n}var rg=(function(){function e(n){n===void 0&&(n={}),this.raws={},this[of]=!1,this[gO]=!0;for(var t in n)if(t==="nodes"){this.nodes=[];for(var a=ae(n[t]),s;!(s=a()).done;){var l=s.value;typeof l.clone=="function"?this.append(l.clone()):this.append(l)}}else this[t]=n[t]}var r=e.prototype;return r.addToError=function(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){var a=this.source;t.stack=t.stack.replace(/\n\s{4}at /,"$&"+a.input.from+":"+a.start.line+":"+a.start.column+"$&")}return t},r.after=function(t){return this.parent.insertAfter(this,t),this},r.assign=function(t){t===void 0&&(t={});for(var a in t)this[a]=t[a];return this},r.before=function(t){return this.parent.insertBefore(this,t),this},r.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},r.clone=function(t){t===void 0&&(t={});var a=tg(this);for(var s in t)a[s]=t[s];return a},r.cloneAfter=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertAfter(this,a),a},r.cloneBefore=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertBefore(this,a),a},r.error=function(t,a){if(a===void 0&&(a={}),this.source){var s=this.rangeBy(a),l=s.end,u=s.start;return this.source.input.error(t,{column:u.column,line:u.line},{column:l.column,line:l.line},a)}return new vO(t)},r.getProxyProcessor=function(){return{get:function(a,s){return s==="proxyOf"?a:s==="root"?function(){return a.root().toProxy()}:a[s]},set:function(a,s,l){return a[s]===l||(a[s]=l,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&a.markDirty()),!0}}},r.markDirty=function(){if(this[of]){this[of]=!1;for(var t=this;t=t.parent;)t[of]=!1}},r.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},r.positionBy=function(t,a){var s=this.source.start;if(t.index)s=this.positionInside(t.index,a);else if(t.word){a=this.toString();var l=a.indexOf(t.word);l!==-1&&(s=this.positionInside(l,a))}return s},r.positionInside=function(t,a){for(var s=a||this.toString(),l=this.source.start.column,u=this.source.start.line,f=0;f<t;f++)s[f]===` 133`?(l=1,u+=1):l+=1;return{column:l,line:u}},r.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},r.rangeBy=function(t){var a={column:this.source.start.column,line:this.source.start.line},s=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:a.column+1,line:a.line};if(t.word){var l=this.toString(),u=l.indexOf(t.word);u!==-1&&(a=this.positionInside(u,l),s=this.positionInside(u+t.word.length,l))}else t.start?a={column:t.start.column,line:t.start.line}:t.index&&(a=this.positionInside(t.index)),t.end?s={column:t.end.column,line:t.end.line}:typeof t.endIndex=="number"?s=this.positionInside(t.endIndex):t.index&&(s=this.positionInside(t.index+1));return(s.line<a.line||s.line===a.line&&s.column<=a.column)&&(s={column:a.column+1,line:a.line}),{end:s,start:a}},r.raw=function(t,a){var s=new yO;return s.raw(this,t,a)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];if(this.parent){for(var l=this,u=!1,f=ae(a),p;!(p=f()).done;){var m=p.value;m===this?u=!0:u?(this.parent.insertAfter(l,m),l=m):this.parent.insertBefore(l,m)}u||this.remove()}return this},r.root=function(){for(var t=this;t.parent&&t.parent.type!=="document";)t=t.parent;return t},r.toJSON=function(t,a){var s={},l=a==null;a=a||new Map;var u=0;for(var f in this)if(Object.prototype.hasOwnProperty.call(this,f)&&!(f==="parent"||f==="proxyCache")){var p=this[f];if(Array.isArray(p))s[f]=p.map(function(g){return(typeof g>"u"?"undefined":Me(g))==="object"&&g.toJSON?g.toJSON(null,a):g});else if((typeof p>"u"?"undefined":Me(p))==="object"&&p.toJSON)s[f]=p.toJSON(null,a);else if(f==="source"){var m=a.get(p.input);m==null&&(m=u,a.set(p.input,u),u++),s[f]={end:p.end,inputId:m,start:p.start}}else s[f]=p}return l&&(s.inputs=[].concat(a.keys()).map(function(g){return g.toJSON()})),s},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(t){t===void 0&&(t=bO),t.stringify&&(t=t.stringify);var a="";return t(this,function(s){a+=s}),a},r.warn=function(t,a,s){var l={node:this};for(var u in s)l[u]=s[u];return t.warn(a,l)},Rt(e,[{key:"proxyOf",get:function(){return this}}]),e})(),Kh=rg;rg.default=rg;var xO=Kh,ng=(function(e){$t(r,e);function r(n){var t;return n&&typeof n.value<"u"&&typeof n.value!="string"&&(n=He({},n,{value:String(n.value)})),t=e.call(this,n)||this,t.type="decl",t}return Rt(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(xO),Wh=ng;ng.default=ng;var _O="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",wO=function(e){e===void 0&&(e=21);for(var r="",n=e;n--;)r+=_O[Math.random()*64|0];return r},SO={nanoid:wO},C_=ar.SourceMapConsumer,M_=ar.SourceMapGenerator,EO=ar.existsSync,CO=ar.readFileSync,Gm=ar.dirname,MO=ar.join;function kO(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var ag=(function(){function e(n,t){if(t.map!==!1){this.loadAnnotation(n),this.inline=this.startWith(this.annotation,"data:");var a=t.map?t.map.prev:void 0,s=this.loadMap(t.from,a);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Gm(this.mapFile)),s&&(this.text=s)}}var r=e.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new C_(this.text)),this.consumerCache},r.decodeInline=function(t){var a=/^data:application\/json;charset=utf-?8;base64,/,s=/^data:application\/json;base64,/,l=/^data:application\/json;charset=utf-?8,/,u=/^data:application\/json,/;if(l.test(t)||u.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(a.test(t)||s.test(t))return kO(t.substr(RegExp.lastMatch.length));var f=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+f)},r.getAnnotationURL=function(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(t){return(typeof t>"u"?"undefined":Me(t))!=="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)},r.loadAnnotation=function(t){var a=t.match(/\/\*\s*# sourceMappingURL=/gm);if(a){var s=t.lastIndexOf(a.pop()),l=t.indexOf("*/",s);s>-1&&l>-1&&(this.annotation=this.getAnnotationURL(t.substring(s,l)))}},r.loadFile=function(t){if(this.root=Gm(t),EO(t))return this.mapFile=t,CO(t,"utf-8").toString().trim()},r.loadMap=function(t,a){if(a===!1)return!1;if(a){if(typeof a=="string")return a;if(typeof a=="function"){var s=a(t);if(s){var l=this.loadFile(s);if(!l)throw new Error("Unable to load previous source map: "+s.toString());return l}}else{if(Ee(a,C_))return M_.fromSourceMap(a).toString();if(Ee(a,M_))return a.toString();if(this.isMap(a))return JSON.stringify(a);throw new Error("Unsupported previous source map format: "+a.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var u=this.annotation;return t&&(u=MO(Gm(t),u)),this.loadFile(u)}}},r.startWith=function(t,a){return t?t.substr(0,a.length)===a:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e})(),OS=ag;ag.default=ag;var NO=ar.SourceMapConsumer,jO=ar.SourceMapGenerator,k_=ar.fileURLToPath,lf=ar.pathToFileURL,ig=ar.isAbsolute,sg=ar.resolve,AO=SO.nanoid,Vm=ar,N_=vv,RO=OS,Ym=Symbol("fromOffsetCache"),OO=!!(NO&&jO),j_=!!(sg&&ig),ch=(function(){function e(n,t){if(t===void 0&&(t={}),n===null||typeof n>"u"||(typeof n>"u"?"undefined":Me(n))==="object"&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!j_||/^\w+:\/\//.test(t.from)||ig(t.from)?this.file=t.from:this.file=sg(t.from)),j_&&OO){var a=new RO(this.css,t);if(a.text){this.map=a;var s=a.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+AO(6)+">"),this.map&&(this.map.file=this.from)}var r=e.prototype;return r.error=function(t,a,s,l){l===void 0&&(l={});var u,f,p;if(a&&(typeof a>"u"?"undefined":Me(a))==="object"){var m=a,g=s;if(typeof m.offset=="number"){var y=this.fromOffset(m.offset);a=y.line,s=y.col}else a=m.line,s=m.column;if(typeof g.offset=="number"){var _=this.fromOffset(g.offset);f=_.line,p=_.col}else f=g.line,p=g.column}else if(!s){var w=this.fromOffset(a);a=w.line,s=w.col}var C=this.origin(a,s,f,p);return C?u=new N_(t,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,l.plugin):u=new N_(t,f===void 0?a:{column:s,line:a},f===void 0?s:{column:p,line:f},this.css,this.file,l.plugin),u.input={column:s,endColumn:p,endLine:f,line:a,source:this.css},this.file&&(lf&&(u.input.url=lf(this.file).toString()),u.input.file=this.file),u},r.fromOffset=function(t){var a,s;if(this[Ym])s=this[Ym];else{var l=this.css.split(` 134`);s=new Array(l.length);for(var u=0,f=0,p=l.length;f<p;f++)s[f]=u,u+=l[f].length+1;this[Ym]=s}a=s[s.length-1];var m=0;if(t>=a)m=s.length-1;else for(var g=s.length-2,y;m<g;)if(y=m+(g-m>>1),t<s[y])g=y-1;else if(t>=s[y+1])m=y+1;else{m=y;break}return{col:t-s[m]+1,line:m+1}},r.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:sg(this.map.consumer().sourceRoot||this.map.root||".",t)},r.origin=function(t,a,s,l){if(!this.map)return!1;var u=this.map.consumer(),f=u.originalPositionFor({column:a,line:t});if(!f.source)return!1;var p;typeof s=="number"&&(p=u.originalPositionFor({column:l,line:s}));var m;ig(f.source)?m=lf(f.source):m=new URL(f.source,this.map.consumer().sourceRoot||lf(this.map.mapFile));var g={column:f.column,endColumn:p&&p.column,endLine:p&&p.line,line:f.line,url:m.toString()};if(m.protocol==="file:")if(k_)g.file=k_(m);else throw new Error("file: protocol is not available in this PostCSS build");var y=u.sourceContentFor(f.source);return y&&(g.source=y),g},r.toJSON=function(){for(var t={},a=0,s=["hasBOM","css","file","id"];a<s.length;a++){var l=s[a];this[l]!=null&&(t[l]=this[l])}return this.map&&(t.map=He({},this.map),t.map.consumerCache&&(t.map.consumerCache=void 0)),t},Rt(e,[{key:"from",get:function(){return this.file||this.id}}]),e})(),Jh=ch;ch.default=ch;Vm&&Vm.registerInput&&Vm.registerInput(ch);var TS=ar.SourceMapConsumer,zf=ar.SourceMapGenerator,Bf=ar.dirname,IS=ar.relative,LS=ar.resolve,$S=ar.sep,A_=ar.pathToFileURL,TO=Jh,IO=!!(TS&&zf),LO=!!(Bf&&LS&&IS&&$S),$O=(function(){function e(n,t,a,s){this.stringify=n,this.mapOpts=a.map||{},this.root=t,this.opts=a,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var r=e.prototype;return r.addAnnotation=function(){var t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";var a=` 135`;this.css.includes(`\r 136`)&&(a=`\r 137`),this.css+=a+"/*# sourceMappingURL="+t+" */"},r.applyPrevMaps=function(){for(var t=ae(this.previous()),a;!(a=t()).done;){var s=a.value,l=this.toUrl(this.path(s.file)),u=s.root||Bf(s.file),f=void 0;this.mapOpts.sourcesContent===!1?(f=new TS(s.text),f.sourcesContent&&(f.sourcesContent=null)):f=s.consumer(),this.map.applySourceMap(f,l,this.toUrl(this.path(u)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var t,a=this.root.nodes.length-1;a>=0;a--)t=this.root.nodes[a],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(a);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),LO&&IO&&this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(a){t+=a}),[t]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=zf.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new zf({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},r.generateString=function(){var t=this;this.css="",this.map=new zf({file:this.outputFile(),ignoreInvalidMapping:!0});var a=1,s=1,l="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},f,p;this.stringify(this.root,function(m,g,y){if(t.css+=m,g&&y!=="end"&&(u.generated.line=a,u.generated.column=s-1,g.source&&g.source.start?(u.source=t.sourcePath(g),u.original.line=g.source.start.line,u.original.column=g.source.start.column-1,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,t.map.addMapping(u))),f=m.match(/\n/g),f?(a+=f.length,p=m.lastIndexOf(` 138`),s=m.length-p):s+=m.length,g&&y!=="start"){var _=g.parent||{raws:{}},w=g.type==="decl"||g.type==="atrule"&&!g.nodes;(!w||g!==_.last||_.raws.semicolon)&&(g.source&&g.source.end?(u.source=t.sourcePath(g),u.original.line=g.source.end.line,u.original.column=g.source.end.column-1,u.generated.line=a,u.generated.column=s-2,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,u.generated.line=a,u.generated.column=s-1,t.map.addMapping(u)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(t){return t.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(function(a){return a.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(t){return t.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;var a=this.memoizedPaths.get(t);if(a)return a;var s=this.opts.to?Bf(this.opts.to):".";
vendor: 4,226 bytes, line 138
138typeof this.mapOpts.annotation=="string"&&(s=Bf(LS(s,this.mapOpts.annotation)));var l=IS(s,t);return this.memoizedPaths.set(t,l),l},r.previous=function(){var t=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(s){if(s.source&&s.source.input.map){var l=s.source.input.map;t.previousMaps.includes(l)||t.previousMaps.push(l)}});else{var a=new TO(this.originalCSS,this.opts);a.map&&this.previousMaps.push(a.map)}return this.previousMaps},r.setSourcesContent=function(){var t=this,a={};if(this.root)this.root.walk(function(l){if(l.source){var u=l.source.input.from;if(u&&!a[u]){a[u]=!0;var f=t.usesFileUrls?t.toFileUrl(u):t.toUrl(t.path(u));t.map.setSourceContent(f,l.source.input.css)}}});else if(this.css){var s=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(s,this.css)}},r.sourcePath=function(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))},r.toBase64=function(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},r.toFileUrl=function(t){var a=this.memoizedFileURLs.get(t);if(a)return a;if(A_){var s=A_(t).toString();return this.memoizedFileURLs.set(t,s),s}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(t){var a=this.memoizedURLs.get(t);if(a)return a;$S==="\\"&&(t=t.replace(/\\/g,"/"));var s=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,s),s},e})(),DS=$O,DO=Kh,og=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="comment",t}return r})(DO),Xh=og;og.default=og;var US=ns.isClean,PS=ns.my,zS=Wh,BS=Xh,UO=Kh,FS,yv,bv,qS;function HS(e){return e.map(function(r){return r.nodes&&(r.nodes=HS(r.nodes)),delete r.source,r})}function GS(e){if(e[US]=!1,e.proxyOf.nodes)for(var r=ae(e.proxyOf.nodes),n;!(n=r()).done;){var t=n.value;GS(t)}}var di=(function(e){$t(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];for(var u=ae(s),f;!(f=u()).done;)for(var p=f.value,m=this.normalize(p,this.last),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.push(_)}return this.markDirty(),this},n.cleanRaws=function(a){if(e.prototype.cleanRaws.call(this,a),this.nodes)for(var s=ae(this.nodes),l;!(l=s()).done;){var u=l.value;u.cleanRaws(a)}},n.each=function(a){if(this.proxyOf.nodes){for(var s=this.getIterator(),l,u;this.indexes[s]<this.proxyOf.nodes.length&&(l=this.indexes[s],u=a(this.proxyOf.nodes[l],l),u!==!1);)this.indexes[s]+=1;return delete this.indexes[s],u}},n.every=function(a){return this.nodes.every(a)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var a=this.lastEach;return this.indexes[a]=0,a},n.getProxyProcessor=function(){return{get:function(s,l){return l==="proxyOf"?s:s[l]?l==="each"||typeof l=="string"&&l.startsWith("walk")?function(){for(var u=arguments.length,f=new Array(u),p=0;p<u;p++)f[p]=arguments[p];var m;return(m=s)[l].apply(m,[].concat(f.map(function(g){return typeof g=="function"?function(y,_){return g(y.toProxy(),_)}:g})))}:l==="every"||l==="some"?function(u){return s[l](function(f){for(var p=arguments.length,m=new Array(p>1?p-1:0),g=1;g<p;g++)m[g-1]=arguments[g];return u.apply(void 0,[].concat([f.toProxy()],m))})}:l==="root"?function(){return s.root().toProxy()}:l==="nodes"?s.nodes.map(function(u){return u.toProxy()}):l==="first"||l==="last"?s[l].toProxy():s[l]:s[l]},set:function(s,l,u){return s[l]===u||(s[l]=u,(l==="name"||l==="params"||l==="selector")&&s.markDirty()),!0}}},n.index=function(a){return typeof a=="number"?a:(a.proxyOf&&(a=a.proxyOf),this.proxyOf.nodes.indexOf(a))},n.insertAfter=function(a,s){var l=this.index(a),u=this.normalize(s,this.proxyOf.nodes[l]).reverse();l=this.index(a);for(var f=ae(u),p;!(p=f()).done;){var m=p.value;this.proxyOf.nodes.splice(l+1,0,m)}var g;for(var y in this.indexes)g=this.indexes[y],l<g&&(this.indexes[y]=g+u.length);return this.markDirty(),this},n.insertBefore=function(a,s){var l=this.index(a),u=l===0?"prepe
138nd":!1,f=this.normalize(s,this.proxyOf.nodes[l],u).reverse();l=this.index(a);for(var p=ae(f),m;!(m=p()).done;){var g=m.value;this.proxyOf.nodes.splice(l,0,g)}var y;for(var _ in this.indexes)y=this.indexes[_],l<=y&&(this.indexes[_]=y+f.length);return this.markDirty(),this},n.normalize=function(a,s){var l=this;if(typeof a=="string")a=HS(FS(a).nodes);else if(typeof a>"u")a=[];else if(Array.isArray(a)){a=a.slice(0);for(var u=ae(a),f;!(f=u()).done;){var p=f.value;p.parent&&p.parent.removeChild(p,"ignore")}}else if(a.type==="root"&&this.type!=="document"){a=a.nodes.slice(0);for(var m=ae(a),g;!(g=m()).done;){var y=g.value;y.parent&&y.parent.removeChild(y,"ignore")}}else if(a.type)a=[a];else if(a.prop){if(typeof a.value>"u")throw new Error("Value field is missed in node creation");typeof a.value!="string"&&(a.value=String(a.value)),a=[new zS(a)]}else if(a.selector)a=[new yv(a)];else if(a.name)a=[new bv(a)];else if(a.text)a=[new BS(a)];else throw new Error("Unknown node type in node creation");var _=a.map(function(w){return w[PS]||r.rebuild(w),w=w.proxyOf,w.parent&&w.parent.removeChild(w),w[US]&&GS(w),typeof w.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(w.raws.before=s.raws.before.replace(/\S/g,"")),w.parent=l.proxyOf,w});return _},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];s=s.reverse();for(var u=ae(s),f;!(f=u()).done;){for(var p=f.value,m=this.normalize(p,this.first,"prepend").reverse(),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.unshift(_)}for(var w in this.indexes)this.indexes[w]=this.indexes[w]+m.length}return this.markDirty(),this},n.push=function(a){return a.parent=this,this.proxyOf.nodes.push(a),this},n.removeAll=function(){for(var a=ae(this.proxyOf.nodes),s;!(s=a()).done;){var l=s.value;l.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(a){a=this.index(a),this.proxyOf.nodes[a].parent=void 0,this.proxyOf.nodes.splice(a,1);var s;for(var l in this.indexes)s=this.indexes[l],s>=a&&(this.indexes[l]=s-1);return this.markDirty(),this},n.replaceValues=function(a,s,l){return l||(l=s,s={}),this.walkDecls(function(u){s.props&&!s.props.includes(u.prop)||s.fast&&!u.value.includes(s.fast)||(u.value=u.value.replace(a,l))}),this.markDirty(),this},n.some=function(a){return this.nodes.some(a)},n.walk=function(a){return this.each(function(s,l){var u;try{u=a(s,l)}catch(f){throw s.addToError(f)}return u!==!1&&s.walk&&(u=s.walk(a)),u})},n.walkAtRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="atrule"&&a.test(l.name))return s(l,u)}):this.walk(function(l,u){if(l.type==="atrule"&&l.name===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="atrule")return s(l,u)}))},n.walkComments=function(a){return this.walk(function(s,l){if(s.type==="comment")return a(s,l)})},n.walkDecls=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="decl"&&a.test(l.prop))return s(l,u)}):this.walk(function(l,u){if(l.type==="decl"&&l.prop===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="decl")return s(l,u)}))},n.walkRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="rule"&&a.test(l.selector))return s(l,u)}):this.walk(function(l,u){if(l.type==="rule"&&l.selector===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="rule")return s(l,u)}))},Rt(r,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),r})(UO);di.registerParse=function(e){FS=e};di.registerRule=function(e){yv=e};di.registerAtRule=function(e){bv=e};di.registerRoot=function(e){qS=e};var qs=di;di.default=di;di.rebuild=function(e){e.type==="atrule"?Object.setPrototypeOf(e,bv.prototype):e.type==="rule"?Object.setPrototypeOf(e,yv.prototype):e.type==="decl"?Object.setPrototypeOf(e,zS.prototype):e.type==="comment"?Object.setPrototypeOf(e,BS.prototype):e.type==="root"&&Object.setPrototypeOf(e,qS.prototype),e[PS]=!0,e.nodes&&e.nodes.forEach(function(r){di.rebuild(r)})};var PO=qs,VS,YS,ru=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,He({type:"document"},t))||this,a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.toResult=function(a){a===void 0&&(a={});var s=new VS(new YS,this,a);return s.stringify()},r})(PO);ru.registerLazyResult=function(e){VS=e};ru.registerProcessor=function(e){YS=e};var xv=ru;ru.default=ru;var lg=(function(){function e(n,t){if(t===void 0&&(t={}),this.type="warning",this.text=n,t.node&&t.node.source){var a=t.node.rangeBy(t);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(var s in t)this[s]=t[s]}
vendor: 29,817 bytes, lines 138-141
138var r=e.prototype;return r.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e})(),KS=lg;lg.default=lg;var zO=KS,cg=(function(){function e(n,t,a){this.processor=n,this.messages=[],this.root=t,this.opts=a,this.css=void 0,this.map=void 0}var r=e.prototype;return r.toString=function(){return this.css},r.warn=function(t,a){a===void 0&&(a={}),a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);var s=new zO(t,a);return this.messages.push(s),s},r.warnings=function(){return this.messages.filter(function(t){return t.type==="warning"})},Rt(e,[{key:"content",get:function(){return this.css}}]),e})(),_v=cg;cg.default=cg;var Km=39,R_=34,cf=92,O_=47,uf=10,xc=32,df=12,ff=9,hf=13,BO=91,FO=93,qO=40,HO=41,GO=123,VO=125,YO=59,KO=42,WO=58,JO=64,pf=/[\t\n\f\r "#'()/;[\\\]{}]/g,mf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,XO=/.[\r\n"'(/\\]/,T_=/[\da-f]/i,QO=function(r,n){n===void 0&&(n={});var t=r.css.valueOf(),a=n.ignoreErrors,s,l,u,f,p,m,g,y,_,w,C=t.length,x=0,S=[],k=[];function j(){return x}function O(z){throw r.error("Unclosed "+z,x)}function $(){return k.length===0&&x>=C}function T(z){if(k.length)return k.pop();if(!(x>=C)){var J=z?z.ignoreUnclosed:!1;switch(s=t.charCodeAt(x),s){case uf:case xc:case ff:case hf:case df:{l=x;do l+=1,s=t.charCodeAt(l);while(s===xc||s===uf||s===ff||s===hf||s===df);w=["space",t.slice(x,l)],x=l-1;break}case BO:case FO:case GO:case VO:case WO:case YO:case HO:{var de=String.fromCharCode(s);w=[de,de,x];break}case qO:{if(y=S.length?S.pop()[1]:"",_=t.charCodeAt(x+1),y==="url"&&_!==Km&&_!==R_&&_!==xc&&_!==uf&&_!==ff&&_!==df&&_!==hf){l=x;do{if(m=!1,l=t.indexOf(")",l+1),l===-1)if(a||J){l=x;break}else O("bracket");for(g=l;t.charCodeAt(g-1)===cf;)g-=1,m=!m}while(m);w=["brackets",t.slice(x,l+1),x,l],x=l}else l=t.indexOf(")",x+1),f=t.slice(x,l+1),l===-1||XO.test(f)?w=["(","(",x]:(w=["brackets",f,x,l],x=l);break}case Km:case R_:{u=s===Km?"'":'"',l=x;do{if(m=!1,l=t.indexOf(u,l+1),l===-1)if(a||J){l=x+1;break}else O("string");for(g=l;t.charCodeAt(g-1)===cf;)g-=1,m=!m}while(m);w=["string",t.slice(x,l+1),x,l],x=l;break}case JO:{pf.lastIndex=x+1,pf.test(t),pf.lastIndex===0?l=t.length-1:l=pf.lastIndex-2,w=["at-word",t.slice(x,l+1),x,l],x=l;break}case cf:{for(l=x,p=!0;t.charCodeAt(l+1)===cf;)l+=1,p=!p;if(s=t.charCodeAt(l+1),p&&s!==O_&&s!==xc&&s!==uf&&s!==ff&&s!==hf&&s!==df&&(l+=1,T_.test(t.charAt(l)))){for(;T_.test(t.charAt(l+1));)l+=1;t.charCodeAt(l+1)===xc&&(l+=1)}w=["word",t.slice(x,l+1),x,l],x=l;break}default:{s===O_&&t.charCodeAt(x+1)===KO?(l=t.indexOf("*/",x+2)+1,l===0&&(a||J?l=t.length:O("comment")),w=["comment",t.slice(x,l+1),x,l],x=l):(mf.lastIndex=x+1,mf.test(t),mf.lastIndex===0?l=t.length-1:l=mf.lastIndex-2,w=["word",t.slice(x,l+1),x,l],S.push(w),x=l);break}}return x++,w}}function D(z){k.push(z)}return{back:D,endOfFile:$,nextToken:T,position:j}},WS=qs,uh=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="atrule",a}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.append).call.apply(u,[].concat([this],s))},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.prepend).call.apply(u,[].concat([this],s))},r})(WS),wv=uh;uh.default=uh;WS.registerAtRule(uh);var JS=qs,XS,QS,ol=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="root",a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.normalize=function(a,s,l){var u=e.prototype.normalize.call(this,a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(var f=ae(u),p;!(p=f()).done;){var m=p.value;m.raws.before=s.raws.before}}return u},n.removeChild=function(a,s){var l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),e.prototype.removeChild.call(this,a)},n.toResult=function(a){a===void 0&&(a={});var s=new XS(new QS,this,a);return s.stringify()},r})(JS);ol.registerLazyResult=function(e){XS=e};ol.registerProcessor=function(e){QS=e};var _u=ol;ol.default=ol;JS.registerRoot(ol);var nu={comma:function(r){return nu.split(r,[","],!0)},space:function(r){var n=[" ",` 139`," "];return nu.split(r,n)},split:function(r,n,t){for(var a=[],s="",l=!1,u=0,f=!1,p="",m=!1,g=ae(r),y;!(y=g()).done;){var _=y.value;m?m=!1:_==="\\"?m=!0:f?_===p&&(f=!1):_==='"'||_==="'"?(f=!0,p=_):_==="("?u+=1:_===")"?u>0&&(u-=1):u===0&&n.includes(_)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=_}return(t||s!=="")&&a.push(s.trim()),a}},ZS=nu;nu.default=nu;var e6=qs,ZO=ZS,dh=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="rule",t.nodes||(t.nodes=[]),t}return Rt(r,[{key:"selectors",get:function(){return ZO.comma(this.selector)},set:function(t){var a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=t.join(s)}}]),r})(e6),Sv=dh;dh.default=dh;e6.registerRule(dh);var eT=Wh,tT=QO,rT=Xh,nT=wv,aT=_u,I_=Sv,L_={empty:!0,space:!0};function iT(e){for(var r=e.length-1;r>=0;r--){var n=e[r],t=n[3]||n[2];if(t)return t}}var sT=(function(){function e(n){this.input=n,this.root=new aT,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:n,start:{column:1,line:1,offset:0}}}var r=e.prototype;return r.atrule=function(t){var a=new nT;a.name=t[1].slice(1),a.name===""&&this.unnamedAtrule(a,t),this.init(a,t[2]);for(var s,l,u,f=!1,p=!1,m=[],g=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),s=t[0],s==="("||s==="["?g.push(s==="("?")":"]"):s==="{"&&g.length>0?g.push("}"):s===g[g.length-1]&&g.pop(),g.length===0)if(s===";"){a.source.end=this.getPosition(t[2]),a.source.end.offset++,this.semicolon=!0;break}else if(s==="{"){p=!0;break}else if(s==="}"){if(m.length>0){for(u=m.length-1,l=m[u];l&&l[0]==="space";)l=m[--u];l&&(a.source.end=this.getPosition(l[3]||l[2]),a.source.end.offset++)}this.end(t);break}else m.push(t);else m.push(t);if(this.tokenizer.endOfFile()){f=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(a.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(a,"params",m),f&&(t=m[m.length-1],a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++,this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),p&&(a.nodes=[],this.current=a)},r.checkMissedSemicolon=function(t){var a=this.colon(t);if(a!==!1){for(var s=0,l,u=a-1;u>=0&&(l=t[u],!(l[0]!=="space"&&(s+=1,s===2)));u--);throw this.input.error("Missed semicolon",l[0]==="word"?l[3]+1:l[2])}},r.colon=function(t){for(var a=0,s,l,u,f=ae(t.entries()),p;!(p=f()).done;){var m=p.value,g=m[0],y=m[1];if(s=y,l=s[0],l==="("&&(a+=1),l===")"&&(a-=1),a===0&&l===":")if(!u)this.doubleColon(s);else{if(u[0]==="word"&&u[1]==="progid")continue;return g}u=s}return!1},r.comment=function(t){var a=new rT;this.init(a,t[2]),a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++;var s=t[1].slice(2,-2);if(/^\s*$/.test(s))a.text="",a.raws.left=s,a.raws.right="";else{var l=s.match(/^(\s*)([^]*\S)(\s*)$/);a.text=l[2],a.raws.left=l[1],a.raws.right=l[3]}},r.createTokenizer=function(){this.tokenizer=tT(this.input)},r.decl=function(t,a){var s=new eT;this.init(s,t[0][2]);var l=t[t.length-1];for(l[0]===";"&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(l[3]||l[2]||iT(t)),s.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){var u=t[0][0];if(u===":"||u==="space"||u==="comment")break;s.prop+=t.shift()[1]}s.raws.between="";for(var f;t.length;)if(f=t.shift(),f[0]===":"){s.raws.between+=f[1];break}else f[0]==="word"&&/\w/.test(f[1])&&this.unknownWord([f]),s.raws.between+=f[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));for(var p=[],m;t.length&&(m=t[0][0],!(m!=="space"&&m!=="comment"));)p.push(t.shift());this.precheckMissedSemicolon(t);for(var g=t.length-1;g>=0;g--){if(f=t[g],f[1].toLowerCase()==="!important"){s.important=!0;var y=this.stringFrom(t,g);y=this.spacesFromEnd(t)+y,y!==" !important"&&(s.raws.important=y);break}else if(f[1].toLowerCase()==="important"){for(var _=t.slice(0),w="",C=g;C>0;C--){var x=_[C][0];if(w.trim().indexOf("!")===0&&x!=="space")break;w=_.pop()[1]+w}w.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=w,t=_)}if(f[0]!=="space"&&f[0]!=="comment")break}var S=t.some(function(k){return k[0]!=="space"&&k[0]!=="comment"});S&&(s.raws.between+=p.map(function(k){return k[1]}).join(""),p=[]),this.raw(s,"value",p.concat(t),a),s.value.includes(":")&&!a&&this.checkMissedSemicolon(t)},r.doubleColon=function(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})},r.emptyRule=function(t){var a=new I_;this.init(a,t[2]),a.selector="",a.raws.between="",this.current=a},r.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)},r.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},r.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var a=this.current.nodes[this.current.nodes.length-1];a&&a.type==="rule"&&!a.raws.ownSemicolon&&(a.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(t){var a=this.input.fromOffset(t);return{column:a.col,line:a.line,offset:t}},r.init=function(t,a){this.current.push(t),t.source={input:this.input,start:this.getPosition(a)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)},r.other=function(t){for(var a=!1,s=null,l=!1,u=null,f=[],p=t[1].startsWith("--"),m=[],g=t;g;){if(s=g[0],m.push(g),s==="("||s==="[")u||(u=g),f.push(s==="("?")":"]");else if(p&&l&&s==="{")u||(u=g),f.push("}");else if(f.length===0)if(s===";")if(l){this.decl(m,p);return}else break;else if(s==="{"){this.rule(m);return}else if(s==="}"){this.tokenizer.back(m.pop()),a=!0;break}else s===":"&&(l=!0);else s===f[f.length-1]&&(f.pop(),f.length===0&&(u=null));g=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(a=!0),f.length>0&&this.unclosedBracket(u),a&&l){if(!p)for(;m.length&&(g=m[m.length-1][0],!(g!=="space"&&g!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,p)}else this.unknownWord(m)},r.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(t,a,s,l){for(var u,f,p=s.length,m="",g=!0,y,_,w=0;w<p;w+=1)u=s[w],f=u[0],f==="space"&&w===p-1&&!l?g=!1:f==="comment"?(_=s[w-1]?s[w-1][0]:"empty",y=s[w+1]?s[w+1][0]:"empty",!L_[_]&&!L_[y]?m.slice(-1)===","?g=!1:m+=u[1]:g=!1):m+=u[1];if(!g){var C=s.reduce(function(x,S){return x+S[1]},"");t.raws[a]={raw:C,value:m}}t[a]=m},r.rule=function(t){t.pop();var a=new I_;this.init(a,t[0][2]),a.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(a,"selector",t),this.current=a},r.spacesAndCommentsFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],!(a!=="space"&&a!=="comment"));)s=t.pop()[1]+s;return s},r.spacesAndCommentsFromStart=function(t){for(var a,s="";t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s+=t.shift()[1];return s},r.spacesFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],a==="space");)s=t.pop()[1]+s;return s},r.stringFrom=function(t,a){for(var s="",l=a;l<t.length;l++)s+=t[l][1];return t.splice(a,t.length-a),s},r.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},r.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})},r.unexpectedClose=function(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})},r.unknownWord=function(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})},r.unnamedAtrule=function(t,a){throw this.input.error("At-rule without name",{offset:a[2]},{offset:a[2]+a[1].length})},e})(),oT=sT,lT=qs,cT=oT,uT=Jh;function fh(e,r){var n=new uT(e,r),t=new cT(n);try{t.parse()}catch(a){throw a}return t.root}var Ev=fh;fh.default=fh;lT.registerParse(fh);var ja=ns.isClean,dT=ns.my,fT=DS,hT=Yh,pT=qs,mT=xv,$_=_v,gT=Ev,vT=_u,yT={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},bT={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},xT={Once:!0,postcssPlugin:!0,prepare:!0},ll=0;function _c(e){return(typeof e>"u"?"undefined":Me(e))==="object"&&typeof e.then=="function"}function t6(e){var r=!1,n=yT[e.type];return e.type==="decl"?r=e.prop.toLowerCase():e.type==="atrule"&&(r=e.name.toLowerCase()),r&&e.append?[n,n+"-"+r,ll,n+"Exit",n+"Exit-"+r]:r?[n,n+"-"+r,n+"Exit",n+"Exit-"+r]:e.append?[n,ll,n+"Exit"]:[n,n+"Exit"]}function D_(e){var r;return e.type==="document"?r=["Document",ll,"DocumentExit"]:e.type==="root"?r=["Root",ll,"RootExit"]:r=t6(e),{eventIndex:0,events:r,iterator:0,node:e,visitorIndex:0,visitors:[]}}function ug(e){return e[ja]=!1,e.nodes&&e.nodes.forEach(function(r){return ug(r)}),e}var dg={},cl=(function(){function e(n,t,a){var s=this;this.stringified=!1,this.processed=!1;var l;if((typeof t>"u"?"undefined":Me(t))==="object"&&t!==null&&(t.type==="root"||t.type==="document"))l=ug(t);else if(Ee(t,e)||Ee(t,$_))l=ug(t.root),t.map&&(typeof a.map>"u"&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=t.map);else{var u=gT;a.syntax&&(u=a.syntax.parse),a.parser&&(u=a.parser),u.parse&&(u=u.parse);try{l=u(t,a)}catch(f){this.processed=!0,this.error=f}l&&!l[dT]&&pT.rebuild(l)}this.result=new $_(n,l,a),this.helpers=He({},dg,{postcss:dg,result:this.result}),this.plugins=this.processor.plugins.map(function(f){return(typeof f>"u"?"undefined":Me(f))==="object"&&f.prepare?He({},f,f.prepare(s.result)):f})}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(t,a){var s=this.result.lastPlugin;try{if(a&&a.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=s.postcssPlugin,t.setMessage();else if(s.postcssVersion)var l,u,f,p,m}catch(g){console&&console.error&&console.error(g)}return t},r.prepareVisitors=function(){var t=this;this.listeners={};for(var a=function(m,g,y){t.listeners[g]||(t.listeners[g]=[]),t.listeners[g].push([m,y])},s=ae(this.plugins),l;!(l=s()).done;){var u=l.value;if((typeof u>"u"?"undefined":Me(u))==="object")for(var f in u){if(!bT[f]&&/^[A-Z]/.test(f))throw new Error("Unknown event "+f+" in "+u.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!xT[f])if(Me(u[f])==="object")for(var p in u[f])p==="*"?a(u,f,u[f][p]):a(u,f+"-"+p.toLowerCase(),u[f][p]);else typeof u[f]=="function"&&a(u,f,u[f])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var t=this;return Bh(function(){var a,s,l,u,f,p,m,g,y,_,w,C;return Us(this,function(x){switch(x.label){case 0:t.plugin=0,a=0,x.label=1;case 1:if(!(a<t.plugins.length))return[3,6];if(s=t.plugins[a],l=t.runOnRoot(s),!_c(l))return[3,5];x.label=2;case 2:return x.trys.push([2,4,,5]),[4,l];case 3:return x.sent(),[3,5];case 4:throw u=x.sent(),t.handleError(u);case 5:return a++,[3,1];case 6:if(t.prepareVisitors(),!t.hasListener)return[3,18];f=t.result.root,x.label=7;case 7:if(f[ja])return[3,14];f[ja]=!0,p=[D_(f)],x.label=8;case 8:if(!(p.length>0))return[3,13];if(m=t.visitTick(p),!_c(m))return[3,12];x.label=9;case 9:return x.trys.push([9,11,,12]),[4,m];case 10:return x.sent(),[3,12];case 11:throw g=x.sent(),y=p[p.length-1].node,t.handleError(g,y);case 12:return[3,8];case 13:return[3,7];case 14:if(!t.listeners.OnceExit)return[3,18];_=function(){var S,k,j,O,$;return Us(this,function(T){switch(T.label){case 0:S=C.value,k=S[0],j=S[1],t.result.lastPlugin=k,T.label=1;case 1:return T.trys.push([1,6,,7]),f.type!=="document"?[3,3]:(O=f.nodes.map(function(D){return j(D,t.helpers)}),[4,Promise.all(O)]);case 2:return T.sent(),[3,5];case 3:return[4,j(f,t.helpers)];case 4:T.sent(),T.label=5;case 5:return[3,7];case 6:throw $=T.sent(),t.handleError($);case 7:return[2]}})},w=ae(t.listeners.OnceExit),x.label=15;case 15:return(C=w()).done?[3,18]:[5,nv(_())];case 16:x.sent(),x.label=17;case 17:return[3,15];case 18:return t.processed=!0,[2,t.stringify()]}})})()},r.runOnRoot=function(t){var a=this;this.result.lastPlugin=t;try{if((typeof t>"u"?"undefined":Me(t))==="object"&&t.Once){if(this.result.root.type==="document"){var s=this.result.root.nodes.map(function(l){return t.Once(l,a.helpers)});return _c(s[0])?Promise.all(s):s}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(l){throw this.handleError(l)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,a=hT;t.syntax&&(a=t.syntax.stringify),t.stringifier&&(a=t.stringifier),a.stringify&&(a=a.stringify);var s=new fT(a,this.result.root,this.result.opts),l=s.generate();return this.result.css=l[0],this.result.map=l[1],this.result},r.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t=ae(this.plugins),a;!(a=t()).done;){var s=a.value,l=this.runOnRoot(s);if(_c(l))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var u=this.result.root;!u[ja];)u[ja]=!0,this.walkSync(u);if(this.listeners.OnceExit)if(u.type==="document")for(var f=ae(u.nodes),p;!(p=f()).done;){var m=p.value;this.visitSync(this.listeners.OnceExit,m)}else this.visitSync(this.listeners.OnceExit,u)}return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this.css},r.visitSync=function(t,a){for(var s=ae(t),l;!(l=s()).done;){var u=l.value,f=u[0],p=u[1];this.result.lastPlugin=f;var m=void 0;try{m=p(a,this.helpers)}catch(g){throw this.handleError(g,a.proxyOf)}if(a.type!=="root"&&a.type!=="document"&&!a.parent)return!0;if(_c(m))throw this.getAsyncError()}},r.visitTick=function(t){var a=t[t.length-1],s=a.node,l=a.visitors;if(s.type!=="root"&&s.type!=="document"&&!s.parent){t.pop();return}if(l.length>0&&a.visitorIndex<l.length){var u=l[a.visitorIndex],f=u[0],p=u[1];a.visitorIndex+=1,a.visitorIndex===l.length&&(a.visitors=[],a.visitorIndex=0),this.result.lastPlugin=f;try{return p(s.toProxy(),this.helpers)}catch(w){throw this.handleError(w,s)}}if(a.iterator!==0){for(var m=a.iterator,g;g=s.nodes[s.indexes[m]];)if(s.indexes[m]+=1,!g[ja]){g[ja]=!0,t.push(D_(g));return}a.iterator=0,delete s.indexes[m]}for(var y=a.events;a.eventIndex<y.length;){var _=y[a.eventIndex];if(a.eventIndex+=1,_===ll){s.nodes&&s.nodes.length&&(s[ja]=!0,a.iterator=s.getIterator());return}else if(this.listeners[_]){a.visitors=this.listeners[_];return}}t.pop()},r.walkSync=function(t){var a=this;t[ja]=!0;for(var s=t6(t),l=ae(s),u;!(u=l()).done;){var f=u.value;if(f===ll)t.nodes&&t.each(function(m){m[ja]||a.walkSync(m)});else{var p=this.listeners[f];if(p&&this.visitSync(p,t.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},Rt(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e})();cl.registerPostcss=function(e){dg=e};var r6=cl;cl.default=cl;vT.registerLazyResult(cl);mT.registerLazyResult(cl);var _T=DS,wT=Yh,ST=Ev,ET=_v,fg=(function(){function e(n,t,a){t=t.toString(),this.stringified=!1,this._processor=n,this._css=t,this._opts=a,this._map=void 0;var s,l=wT;this.result=new ET(this._processor,s,this._opts),this.result.css=t;var u=this;Object.defineProperty(this.result,"root",{get:function(){return u.root}});var f=new _T(l,s,this._opts,t);if(f.isMap()){var p=f.generate(),m=p[0],g=p[1];m&&(this.result.css=m),g&&(this.result.map=g)}else f.clearAnnotation(),this.result.css=f.css}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this._css},r.warnings=function(){return[]},Rt(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var t,a=ST;try{t=a(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=t,t}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e})(),CT=fg;fg.default=fg;var MT=CT,kT=r6,NT=xv,jT=_u,au=(function(){function e(n){n===void 0&&(n=[]),this.version="8.4.38",this.plugins=this.normalize(n)}var r=e.prototype;return r.normalize=function(t){for(var a=[],s=ae(t),l;!(l=s()).done;){var u=l.value;if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),(typeof u>"u"?"undefined":Me(u))==="object"&&Array.isArray(u.plugins))a=a.concat(u.plugins);else if((typeof u>"u"?"undefined":Me(u))==="object"&&u.postcssPlugin)a.push(u);else if(typeof u=="function")a.push(u);else if(!((typeof u>"u"?"undefined":Me(u))==="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin")}return a},r.process=function(t,a){return a===void 0&&(a={}),!this.plugins.length&&!a.parser&&!a.stringifier&&!a.syntax?new MT(this,t,a):new kT(this,t,a)},r.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e})(),AT=au;au.default=au;jT.registerProcessor(au);NT.registerProcessor(au);var RT=Wh,OT=OS,TT=Xh,IT=wv,LT=Jh,$T=_u,DT=Sv;function iu(e,r){if(Array.isArray(e))return e.map(function(g){return iu(g)});var n=e.inputs,t=Ds(e,["inputs"]);if(n){r=[];for(var a=ae(n),s;!(s=a()).done;){var l=s.value,u=He({},l,{__proto__:LT.prototype});u.map&&(u.map=He({},u.map,{__proto__:OT.prototype})),r.push(u)}}if(t.nodes&&(t.nodes=e.nodes.map(function(g){return iu(g,r)})),t.source){var f=t.source,p=f.inputId,m=Ds(f,["inputId"]);t.source=m,p!=null&&(t.source.input=r[p])}if(t.type==="root")return new $T(t);if(t.type==="decl")return new RT(t);if(t.type==="rule")return new DT(t);if(t.type==="comment")return new TT(t);if(t.type==="atrule")return new IT(t);throw new Error("Unknown node type: "+e.type)}var UT=iu;iu.default=iu;var PT=vv,n6=Wh,zT=r6,BT=qs,Cv=AT,FT=Yh,qT=UT,a6=xv,HT=KS,i6=Xh,s6=wv,GT=_v,VT=Jh,YT=Ev,KT=ZS,o6=Sv,l6=_u,WT=Kh;function ft(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Cv(r)}ft.plugin=function(r,n){var t=!1;function a(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];console&&console.warn&&!t&&(t=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 140https://evilmartians.com/chronicles/postcss-8-plugin-migration`),nl.LANG&&nl.LANG.startsWith("cn")&&console.warn(r+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 141https://www.w3ctech.com/topic/2226`));var p=n.apply(void 0,[].concat(u));return p.postcssPlugin=r,p.postcssVersion=new Cv().version,p}var s;return Object.defineProperty(a,"postcss",{get:function(){return s||(s=a()),s}}),a.process=function(l,u,f){return ft([a(f)]).process(l,u)},a};ft.stringify=FT;ft.parse=YT;ft.fromJSON=qT;ft.list=KT;ft.comment=function(e){return new i6(e)};ft.atRule=function(e){return new s6(e)};ft.decl=function(e){return new n6(e)};ft.rule=function(e){return new o6(e)};ft.root=function(e){return new l6(e)};ft.document=function(e){return new a6(e)};ft.CssSyntaxError=PT;ft.Declaration=n6;ft.Container=BT;ft.Processor=Cv;ft.Document=a6;ft.Comment=i6;ft.Warning=HT;ft.AtRule=s6;ft.Result=GT;ft.Input=VT;ft.Rule=o6;ft.Root=l6;ft.Node=WT;zT.registerPostcss(ft);var JT=ft;ft.default=ft;var Ut=cO(JT);Ut.stringify;Ut.fromJSON;Ut.plugin;Ut.parse;Ut.list;Ut.document;Ut.comment;Ut.atRule;Ut.rule;Ut.decl;Ut.root;Ut.CssSyntaxError;Ut.Declaration;Ut.Container;Ut.Processor;Ut.Document;Ut.Comment;Ut.Warning;Ut.AtRule;Ut.Result;Ut.Input;Ut.Rule;Ut.Root;Ut.Node;var XT=(function(){function e(){for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];Kn(this,"parentElement",null),Kn(this,"parentNode",null),Kn(this,"ownerDocument"),Kn(this,"firstChild",null),Kn(this,"lastChild",null),Kn(this,"previousSibling",null),Kn(this,"nextSibling",null),Kn(this,"ELEMENT_NODE",1),Kn(this,"TEXT_NODE",3),Kn(this,"nodeType"),Kn(this,"nodeName"),Kn(this,"RRNodeType")}var r=e.prototype;return r.contains=function(t){if(Ee(t,e)){if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0}else return!1;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},r.appendChild=function(t){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},r.insertBefore=function(t,a){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},r.removeChild=function(t){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},r.toString=function(){return"RRNode"},Rt(e,[{key:"childNodes",get:function(){for(var t=[],a=this.firstChild;a;)t.push(a),a=a.nextSibling;return t}}]),e})(),U_={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},P_={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},gf={},QT=function(){return!!globalThis.Zone};function Mv(e){if(gf[e])return gf[e];var r=globalThis[e],n=r.prototype,t=e in U_?U_[e]:void 0,a=!!(t&&t.every(function(m){var g,y;return!!((y=(g=Object.getOwnPropertyDescriptor(n,m))==null?void 0:g.get)!=null&&y.toString().includes("[native code]"))})),s=e in P_?P_[e]:void 0,l=!!(s&&s.every(function(m){var g;return typeof n[m]=="function"&&((g=n[m])==null?void 0:g.toString().includes("[native code]"))}));if(a&&l&&!QT())return gf[e]=r.prototype,r.prototype;try{var u=document.createElement("iframe");document.body.appendChild(u);var f=u.contentWindow;if(!f)return r.prototype;var p=f[e].prototype;return document.body.removeChild(u),p?gf[e]=p:n}catch{return n}}var Wm={};function as(e,r,n){var t,a=e+"."+String(n);if(Wm[a])return Wm[a].call(r);var s=Mv(e),l=(t=Object.getOwnPropertyDescriptor(s,n))==null?void 0:t.get;return l?(Wm[a]=l,l.call(r)):r[n]}var Jm={};function c6(e,r,n){var t=e+"."+String(n);if(Jm[t])return Jm[t].bind(r);var a=Mv(e),s=a[n];return typeof s!="function"?r[n]:(Jm[t]=s,s.bind(r))}function ZT(e){return as("Node",e,"childNodes")}function eI(e){return as("Node",e,"parentNode")}function tI(e){return as("Node",e,"parentElement")}function rI(e){return as("Node",e,"textContent")}function nI(e,r){return c6("Node",e,"contains")(r)}function aI(e){return c6("Node",e,"getRootNode")()}function iI(e){return!e||!("host"in e)?null:as("ShadowRoot",e,"host")}function sI(e){return e.styleSheets}function oI(e){return!e||!("shadowRoot"in e)?null:as("Element",e,"shadowRoot")}function lI(e,r){return as("Element",e,"querySelector")(r)}function cI(e,r){return as("Element",e,"querySelectorAll")(r)}function u6(){return Mv("MutationObserver").constructor}function Hs(e,r,n){try{if(!(r in e))return function(){};var t=e[r],a=n(t);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:t}})),e[r]=a,function(){e[r]=t}}catch{return function(){}}}var Xe={childNodes:ZT,parentNode:eI,parentElement:tI,textContent:rI,contains:nI,getRootNode:aI,host:iI,styleSheets:sI,shadowRoot:oI,querySelector:lI,querySelectorAll:cI,mutationObserver:u6,patch:Hs};function nn(e,r,n){n===void 0&&(n=document);var t={capture:!0,passive:!0};return n.addEventListener(e,r,t),function(){return n.removeEventListener(e,r,t)}}var Vo=`Please stop import mirror directly. Instead of that,\r
142now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 143or you can use record.mirror to access the mirror instance during recording.`,z_={map:{},getId:function(){return console.error(Vo),-1},getNode:function(){return console.error(Vo),null},removeNodeFromMap:function(){console.error(Vo)},has:function(){return console.error(Vo),!1},reset:function(){console.error(Vo)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(z_=new Proxy(z_,{get:function(r,n,t){return n==="map"&&console.error(Vo),Reflect.get(r,n,t)}}));function su(e,r,n){n===void 0&&(n={});var t=null,a=0;return function(){for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];var f=Date.now();!a&&n.leading===!1&&(a=f);var p=r-(f-a),m=this;p<=0||p>r?(t&&(clearTimeout(t),t=null),a=f,e.apply(m,l)):!t&&n.trailing!==!1&&(t=setTimeout(function(){a=n.leading===!1?0:Date.now(),t=null,e.apply(m,l)},p))}}function Qh(e,r,n,t,a){a===void 0&&(a=window);var s=a.Object.getOwnPropertyDescriptor(e,r);return a.Object.defineProperty(e,r,t?n:{set:function(u){var f=this;setTimeout(function(){n.set.call(f,u)},0),s&&s.set&&s.set.call(this,u)}}),function(){return Qh(e,r,s||{},!0)}}var hh=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(hh=function(){return new Date().getTime()});function d6(e){var r,n,t,a,s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:s.documentElement.scrollLeft||(s==null?void 0:s.body)&&((r=Xe.parentElement(s.body))==null?void 0:r.scrollLeft)||((n=s==null?void 0:s.body)==null?void 0:n.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:(s==null?void 0:s.documentElement.scrollTop)||(s==null?void 0:s.body)&&((t=Xe.parentElement(s.body))==null?void 0:t.scrollTop)||((a=s==null?void 0:s.body)==null?void 0:a.scrollTop)||0}}function f6(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function h6(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function p6(e){if(!e)return null;var r=e.nodeType===e.ELEMENT_NODE?e:Xe.parentElement(e);return r}function an(e,r,n,t){if(!e)return!1;var a=p6(e);if(!a)return!1;try{if(typeof r=="string"){if(a.classList.contains(r)||t&&a.closest("."+r)!==null)return!0}else if(ah(a,r,t))return!0}catch{}return!!(n&&(a.matches(n)||t&&a.closest(n)!==null))}function uI(e,r){return r.getId(e)!==-1}function Xm(e,r,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:r.getId(e)===Xc}function m6(e,r){if(Ic(e))return!1;var n=r.getId(e);if(!r.has(n))return!0;var t=Xe.parentNode(e);return t&&t.nodeType===e.DOCUMENT_NODE?!1:t?m6(t,r):!0}function hg(e){return!!e.changedTouches}function dI(e){e===void 0&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function g6(e,r){return!!(e.nodeName==="IFRAME"&&r.getMeta(e))}function v6(e,r){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&r.getMeta(e))}function pg(e){return e?Ee(e,XT)&&"shadowRoot"in e?!!e.shadowRoot:!!Xe.shadowRoot(e):!1}var fI=(function(){function e(){fe(this,"id",1),fe(this,"styleIDMap",new WeakMap),fe(this,"idStyleMap",new Map)}var r=e.prototype;return r.getId=function(t){var a;return(a=this.styleIDMap.get(t))!=null?a:-1},r.has=function(t){return this.styleIDMap.has(t)},r.add=function(t,a){if(this.has(t))return this.getId(t);var s;return a===void 0?s=this.id++:s=a,this.styleIDMap.set(t,s),this.idStyleMap.set(s,t),s},r.getStyle=function(t){return this.idStyleMap.get(t)||null},r.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},r.generateId=function(){return this.id++},r.remove=function(t){var a=this.styleIDMap.get(t);return a!==void 0?(this.styleIDMap.delete(t),this.idStyleMap.delete(a),!0):!1},e})();function y6(e){var r,n=null;return"getRootNode"in e&&((r=Xe.getRootNode(e))==null?void 0:r.no
vendor: 8,403 bytes, line 143
143deType)===Node.DOCUMENT_FRAGMENT_NODE&&Xe.host(Xe.getRootNode(e))&&(n=Xe.host(Xe.getRootNode(e))),n}function hI(e){for(var r=e,n;n=y6(r);)r=n;return r}function pI(e){var r=e.ownerDocument;if(!r)return!1;var n=hI(e);return Xe.contains(r,n)}function b6(e){var r=e.ownerDocument;return r?Xe.contains(r,e)||pI(e):!1}var et=(function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e})(et||{}),$e=(function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e})($e||{}),mn=(function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e})(mn||{}),ai=(function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e})(ai||{}),ul=(function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e})(ul||{}),Yo=(function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e})(Yo||{}),x6=(function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e})(x6||{});function B_(e){return"__ln"in e}var mI=(function(){function e(){fe(this,"length",0),fe(this,"head",null),fe(this,"tail",null)}var r=e.prototype;return r.get=function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var a=this.head,s=0;s<t;s++)a=(a==null?void 0:a.next)||null;return a},r.addNode=function(t){var a={value:t,previous:null,next:null};if(t.__ln=a,t.previousSibling&&B_(t.previousSibling)){var s=t.previousSibling.__ln.next;a.next=s,a.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=a,s&&(s.previous=a)}else if(t.nextSibling&&B_(t.nextSibling)&&t.nextSibling.__ln.previous){var l=t.nextSibling.__ln.previous;a.previous=l,a.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=a,l&&(l.next=a)}else this.head&&(this.head.previous=a),a.next=this.head,this.head=a;a.next===null&&(this.tail=a),this.length++},r.removeNode=function(t){var a=t.__ln;this.head&&(a.previous?(a.previous.next=a.next,a.next?a.next.previous=a.previous:this.tail=a.previous):(this.head=a.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)},e})(),F_=function(e,r){return e+"@"+r},gI=(function(){function e(){var n=this;fe(this,"frozen",!1),fe(this,"locked",!1),fe(this,"texts",[]),fe(this,"attributes",[]),fe(this,"attributeMap",new WeakMap),fe(this,"removes",[]),fe(this,"mapRemoves",[]),fe(this,"movedMap",{}),fe(this,"addedSet",new Set),fe(this,"movedSet",new Set),fe(this,"droppedSet",new Set),fe(this,"removesSubTreeCache",new Set),fe(this,"mutationCb"),fe(this,"blockClass"),fe(this,"blockSelector"),fe(this,"maskTextClass"),fe(this,"maskTextSelector"),fe(this,"inlineStylesheet"),fe(this,"maskInputOptions"),fe(this,"maskTextFn"),fe(this,"maskInputFn"),fe(this,"keepIframeSrcFn"),fe(this,"recordCanvas"),fe(this,"inlineImages"),fe(this,"slimDOMOptions"),fe(this,"dataURLOptions"),fe(this,"doc"),fe(this,"mirror"),fe(this,"iframeManager"),fe(this,"stylesheetManager"),fe(this,"shadowDomManager"),fe(this,"canvasManager"),fe(this,"processedNodeManager"),fe(this,"unattachedDoc"),fe(this,"processMutations",function(t){t.forEach(n.processMutation),n.emit()}),fe(this,"emit",function(){if(!(n.frozen||n.locked)){for(var t=[],a=new Set,s=new mI,l=function(ie){for(var ee=ie,ce=Xc;ce===Xc;)ee=ee&&ee.nextSibling,ce=ee&&n.mirror.getId(ee);return ce},u=function(ie){var ee=Xe.parentNode(ie);if(!(!ee||!b6(ie))){var ce=!1;if(ie.nodeType===Node.TEXT_NODE){var ue=ee.tagName;if(ue==="TEXTAREA")return;ue==="STYLE"&&n.addedSet.has(ee)&&(ce=!0)}var U=Ic(ee)?n.mirror.getId(y6(ie)):n.mirror.getId(ee),H=l(ie);if(U===-1||H===-1)return s.addNode(ie);var Y=Jo(ie,{doc:n.doc,mirror:n.mirror,blockClass:n.blockClass,blockSelector:n.blockSelector,maskTextClass:n.maskTextClass,maskTextSelector:n.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:n.inlineStylesheet,maskInputOptions:n.maskInputOptions,maskTextFn:n.maskTextFn,maskInputFn:n.maskInputFn,slimDOMOptions:n.slimDOMOptions,dataURLOptions:n.dataURLOptions,recordCanvas:n.recordCanvas,inlineImages:n.inlineImages,onSerialize:function(he){g6(he,n.mirror)&&n.iframeManager.addIframe(he),v6(he,n.mirror)&&n.stylesheetManager.trackLinkElement(he),pg(ie)&&n.shadowDomManager.addShadowRoot(Xe.shadowRoot(ie),n.doc)},onIframeLoad:function(he,ye){n.iframeManager.attachIframe(he,ye),n.shadowDomManager.observeAttachShadow(he)},onStylesheetLoad:function(he,ye){n.stylesheetManager.attachLinkElement(he,ye)},cssCaptured:ce});Y&&(t.push({parentId:U,nextId:H,node:Y}),a.add(Y.id))}};n.mapRemoves.length;){var f=n.mapRemoves.shift();if(f.nodeName==="IFRAME")try{n.iframeManager.removeIframe(f)}catch{}else n.stylesheetManager.cleanupStylesheetsForRemovedNode(f);n.mirror.removeNodeFromMap(f)}for(var p=ae(n.movedSet),m;!(m=p()).done;){var g=m.value;q_(n.removesSubTreeCache,g,n.mirror)&&!n.movedSet.has(Xe.parentNode(g))||u(g)}for(var y=ae(n.addedSet),_;!(_=y()).done;){var w=_.value;!H_(n.droppedSet,w)&&!q_(n.removesSubTreeCache,w,n.mirror)||H_(n.movedSet,w)?u(w):n.droppedSet.add(w)}for(var C=null;s.length;){var x=null;if(C){var S=n.mirror.getId(Xe.parentNode(C.value)),k=l(C.value);S!==-1&&k!==-1&&(x=C)}if(!x)for(var j=s.tail;j;){var O=j;if(j=j.previous,O){var $=n.mirror.getId(Xe.parentNode(O.value)),T=l(O.value);if(T===-1)continue;if($!==-1){x=O;break}else{var D=O.value,z=Xe.parentNode(D);if(z&&z.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var J=Xe.host(z),de=n.mirror.getId(J);if(de!==-1){x=O;break}}}}}if(!x){for(;s.head;)s.removeNode(s.head.value);break}C=x.previous,s.removeNode(x.value),u(x.value)}var pe={texts:n.texts.map(function(ie){var ee=ie.node,ce=Xe.parentNode(ee);return ce&&ce.tagName==="TEXTAREA"&&n.genTextAreaValueMutation(ce),{id:n.mirror.getId(ee),value:ie.value}}).filter(function(ie){return!a.has(ie.id)}).filter(function(ie){return n.mirror.has(ie.id)}),attributes:n.attributes.map(function(ie){var ee=ie.attributes;if(typeof ee.style=="string"){var ce=JSON.stringify(ie.styleDiff),ue=JSON.stringify(ie._unchangedStyles);ce.length<ee.style.length&&(ce+ue).split("var(").length===ee.style.split("var(").length&&(ee.style=ie.styleDiff)}return{id:n.mirror.getId(ie.node),attributes:ee}}).filter(function(ie){return!a.has(ie.id)}).filter(function(ie){return n.mirror.has(ie.id)}),removes:n.removes,adds:t};!pe.texts.length&&!pe.attributes.length&&!pe.removes.length&&!pe.adds.length||(n.texts=[],n.attributes=[],n.attributeMap=new WeakMap,n.removes=[],n.addedSet=new Set,n.movedSet=new Set,n.droppedSet=new Set,n.removesSubTreeCache=new Set,n.movedMap={},n.mutationCb(pe))}}),fe(this,"genTextAreaValueMutation",function(t){var a=n.attributeMap.get(t);a||(a={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},n.attributes.push(a),n.attributeMap.set(t,a));var s=Array.from(Xe.childNodes(t),function(l){return Xe.textContent(l)||""}).join("");a.attributes.value=th({element:t,maskInputOptions:n.maskInputOptions,tagName:t.tagName,type:rh(t),value:s,maskInputFn:n.maskInputFn})}),fe(this,"processMutation",function(t){if(!Xm(t.target,n.mirror,n.slimDOMOptions))switch(t.type){case"characterData":{var a=Xe.textContent(t.target);!an(t.target,n.blockClass,n.blockSelector,!1)&&a!==t.oldValue&&n.texts.push({value:J3(t.target,n.maskTextClass,n.maskTextSelector,!0)&&a?n.maskTextFn?n.maskTextFn(a,p6(t.target)):a.replace(/[\S]/g,"*"):a,node:t.target});break}case"attributes":{var s=t.target,l=t.attributeName,u=t.target.getAttribute(l);
vendor: 6,450 bytes, line 143
143if(l==="value"){var f=rh(s);u=th({element:s,maskInputOptions:n.maskInputOptions,tagName:s.tagName,type:f,value:u,maskInputFn:n.maskInputFn})}if(an(t.target,n.blockClass,n.blockSelector,!1)||u===t.oldValue)return;var p=n.attributeMap.get(t.target);if(s.tagName==="IFRAME"&&l==="src"&&!n.keepIframeSrcFn(u))if(!s.contentDocument)l="rr_src";else return;if(p||(p={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},n.attributes.push(p),n.attributeMap.set(t.target,p)),l==="type"&&s.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&s.setAttribute("data-rr-is-password","true"),!W3(s.tagName,l))if(p.attributes[l]=K3(n.doc,Ps(s.tagName),Ps(l),u),l==="style"){if(!n.unattachedDoc)try{n.unattachedDoc=document.implementation.createHTMLDocument()}catch{n.unattachedDoc=n.doc}var m=n.unattachedDoc.createElement("span");t.oldValue&&m.setAttribute("style",t.oldValue);for(var g=ae(Array.from(s.style)),y;!(y=g()).done;){var _=y.value,w=s.style.getPropertyValue(_),C=s.style.getPropertyPriority(_);w!==m.style.getPropertyValue(_)||C!==m.style.getPropertyPriority(_)?C===""?p.styleDiff[_]=w:p.styleDiff[_]=[w,C]:p._unchangedStyles[_]=[w,C]}for(var x=ae(Array.from(m.style)),S;!(S=x()).done;){var k=S.value;s.style.getPropertyValue(k)===""&&(p.styleDiff[k]=!1)}}else l==="open"&&s.tagName==="DIALOG"&&(s.matches("dialog:modal")?p.attributes.rr_open_mode="modal":p.attributes.rr_open_mode="non-modal");break}case"childList":{if(an(t.target,n.blockClass,n.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){n.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(function(j){return n.genAdds(j,t.target)}),t.removedNodes.forEach(function(j){var O=n.mirror.getId(j),$=Ic(t.target)?n.mirror.getId(Xe.host(t.target)):n.mirror.getId(t.target);an(t.target,n.blockClass,n.blockSelector,!1)||Xm(j,n.mirror,n.slimDOMOptions)||!uI(j,n.mirror)||(n.addedSet.has(j)?(mg(n.addedSet,j),n.droppedSet.add(j)):n.addedSet.has(t.target)&&O===-1||m6(t.target,n.mirror)||(n.movedSet.has(j)&&n.movedMap[F_(O,$)]?mg(n.movedSet,j):(n.removes.push({parentId:$,id:O,isShadow:Ic(t.target)&&Lc(t.target)?!0:void 0}),vI(j,n.removesSubTreeCache))),n.mapRemoves.push(j))});break}}}),fe(this,"genAdds",function(t,a){if(!n.processedNodeManager.inOtherBuffer(t,n)&&!(n.addedSet.has(t)||n.movedSet.has(t))){if(n.mirror.hasNode(t)){if(Xm(t,n.mirror,n.slimDOMOptions))return;n.movedSet.add(t);var s=null;a&&n.mirror.hasNode(a)&&(s=n.mirror.getId(a)),s&&s!==-1&&(n.movedMap[F_(n.mirror.getId(t),s)]=!0)}else n.addedSet.add(t),n.droppedSet.delete(t);an(t,n.blockClass,n.blockSelector,!1)||(Xe.childNodes(t).forEach(function(l){return n.genAdds(l)}),pg(t)&&Xe.childNodes(Xe.shadowRoot(t)).forEach(function(l){n.processedNodeManager.add(l,n),n.genAdds(l,t)}))}})}var r=e.prototype;return r.init=function(t){var a=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(s){a[s]=t[s]})},r.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},r.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},r.isFrozen=function(){return this.frozen},r.lock=function(){this.locked=!0,this.canvasManager.lock()},r.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},r.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},r.getDoc=function(){return this.doc},e})();function mg(e,r){e.delete(r),Xe.childNodes(r).forEach(function(n){return mg(e,n)})}function vI(e,r){for(var n=[e];n.length;){var t=n.pop();r.has(t)||(r.add(t),Xe.childNodes(t).forEach(function(a){return n.push(a)}))}}function q_(e,r,n){return e.size===0?!1:yI(e,r)}function yI(e,r,n){var t=Xe.parentNode(r);return t?e.has(t):!1}function H_(e,r){return e.size===0?!1:_6(e,r)}function _6(e,r){var n=Xe.parentNode(r);return n?e.has(n)?!0:_6(e,n):!1}var $c;function bI(e){$c=e}function xI(){$c=void 0}var nt=function(e){if(!$c)return e;var r=function(){for(var n=arguments.length,t=new Array(n),a=0;a<n;a++)t[a]=arguments[a];try{return e.apply(void 0,[].concat(t))}catch(s){if($c&&$c(s)===!0)return;throw s}};return r},Oa=[];function wu(e){try{if("composedPath"in e){var r=e.composedPath();if(r.length)return r[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function w6(e,r){var n=new gI;Oa.push(n),n.init(e);var t=new(u6())(nt(n.processMutations.bind(n)));return t.observe(r,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),t}function _I(e){for(var r=Oa.length-1;r>=0;r--){var n=Oa[r];n.getDoc()===e&&Oa.splice(r,1)}}function wI(e){var r=e.mousemoveCb,n=e.sampling,t=e.doc,a=e.mirror;if(n.mousemove===!1)return function(){};var s=typeof n.mousemove=="number"?n.mousemove:50,l=typeof n.mousemoveCallback=="number"?n.mousemoveCallback:500,u=[],f,p=su(nt(function(y){var _=Date.now()-f;r(u.map(function(w){return w.timeOffset-=_,w}),y),u=[],f=null}),l),m=nt(su(nt(function(y){var _=wu(y),w=hg(y)?y.changedTouches[0]:y,C=w.clientX,x=w.clientY;f||(f=hh()),u.push({x:C,y:x,id:a.getId(_),timeOffset:hh()-f}),p(typeof DragEvent<"u"&&Ee(y,DragEvent)?$e.Drag:Ee(y,MouseEvent)?$e.MouseMove:$e.TouchMove)}),s,{trailing:!1})),g=[nn("mousemove",m,t),nn("touchmove",m,t),nn("drag",m,t)];return nt(function(){g.forEach(function(y){return y()})})}function SI(e){var r=e.mouseInteractionCb,n=e.doc,t=e.mirror,a=e.blockClass,s=e.blockSelector,l=e.sampling;if(l.mouseInteraction===!1)return function(){};var u=l.mouseInteraction===!0||l.mouseInteraction===void 0?{}:l.mouseInteraction,f=[],p=null,m=function(g){return function(y){var _=wu(y);if(!an(_,a,s,!0)){var w=null,C=g;if("pointerType"in y){switch(y.pointerType){case"mouse":w=ai.Mouse;break;case"touch":w=ai.Touch;break;case"pen":w=ai.Pen;break}w===ai.Touch?mn[g]===mn.MouseDown?C="TouchStart":mn[g]===mn.MouseUp&&(C="TouchEnd"):ai.Pen}else hg(y)&&(w=ai.Touch);w!==null?(p=w,(C.startsWith("Touch")&&w===ai.Touch||C.startsWith("Mouse")&&w===ai.Mouse)&&(w=null)):mn[g]===mn.Click&&(w=p,p=null);var x=hg(y)?y.changedTouches[0]:y;if(x){var S=t.getId(_),k=x.clientX,j=x.clientY;nt(r)(He({type:mn[C],id:S,x:k,y:j},w!==null&&{pointerType:w}))}}}};return Object.keys(mn).filter(function(g){return Number.isNaN(Number(g))&&
vendor: 15,500 bytes, line 143
143!g.endsWith("_Departed")&&u[g]!==!1}).forEach(function(g){var y=Ps(g),_=m(g);if(window.PointerEvent)switch(mn[g]){case mn.MouseDown:case mn.MouseUp:y=y.replace("mouse","pointer");break;case mn.TouchStart:case mn.TouchEnd:return}f.push(nn(y,_,n))}),nt(function(){f.forEach(function(g){return g()})})}function S6(e){var r=e.scrollCb,n=e.doc,t=e.mirror,a=e.blockClass,s=e.blockSelector,l=e.sampling,u=nt(su(nt(function(f){var p=wu(f);if(!(!p||an(p,a,s,!0))){var m=t.getId(p);if(p===n&&n.defaultView){var g=d6(n.defaultView);r({id:m,x:g.left,y:g.top})}else r({id:m,x:p.scrollLeft,y:p.scrollTop})}}),l.scroll||100));return nn("scroll",u,n)}function EI(e,r){var n=e.viewportResizeCb,t=r.win,a=-1,s=-1,l=nt(su(nt(function(){var u=f6(),f=h6();(a!==u||s!==f)&&(n({width:Number(f),height:Number(u)}),a=u,s=f)}),200));return nn("resize",l,t)}var CI=["INPUT","TEXTAREA","SELECT"],G_=new WeakMap;function MI(e){var r=e.inputCb,n=e.doc,t=e.mirror,a=e.blockClass,s=e.blockSelector,l=e.ignoreClass,u=e.ignoreSelector,f=e.maskInputOptions,p=e.maskInputFn,m=e.sampling,g=e.userTriggeredOnInput;function y(O){var $=wu(O),T=O.isTrusted,D=$&&$.tagName;if($&&D==="OPTION"&&($=Xe.parentElement($)),!(!$||!D||CI.indexOf(D)<0||an($,a,s,!0))&&!($.classList.contains(l)||u&&$.matches(u))){var z=$.value,J=!1,de=rh($)||"";de==="radio"||de==="checkbox"?J=$.checked:(f[D.toLowerCase()]||f[de])&&(z=th({element:$,maskInputOptions:f,tagName:D,type:de,value:z,maskInputFn:p})),_($,g?{text:z,isChecked:J,userTriggered:T}:{text:z,isChecked:J});var pe=$.name;de==="radio"&&pe&&J&&n.querySelectorAll('input[type="radio"][name="'+pe+'"]').forEach(function(ie){if(ie!==$){var ee=ie.value;_(ie,g?{text:ee,isChecked:!J,userTriggered:!1}:{text:ee,isChecked:!J})}})}}function _(O,$){var T=G_.get(O);if(!T||T.text!==$.text||T.isChecked!==$.isChecked){G_.set(O,$);var D=t.getId(O);nt(r)(He({},$,{id:D}))}}var w=m.input==="last"?["change"]:["input","change"],C=w.map(function(O){return nn(O,nt(y),n)}),x=n.defaultView;if(!x)return function(){C.forEach(function(O){return O()})};var S=x.Object.getOwnPropertyDescriptor(x.HTMLInputElement.prototype,"value"),k=[[x.HTMLInputElement.prototype,"value"],[x.HTMLInputElement.prototype,"checked"],[x.HTMLSelectElement.prototype,"value"],[x.HTMLTextAreaElement.prototype,"value"],[x.HTMLSelectElement.prototype,"selectedIndex"],[x.HTMLOptionElement.prototype,"selected"]];if(S&&S.set){var j;(j=C).push.apply(j,[].concat(k.map(function(O){return Qh(O[0],O[1],{set:function(){nt(y)({target:this,isTrusted:!1})}},!1,x)})))}return nt(function(){C.forEach(function(O){return O()})})}function ph(e){var r=[];function n(t,a){if(vf("CSSGroupingRule")&&Ee(t.parentRule,CSSGroupingRule)||vf("CSSMediaRule")&&Ee(t.parentRule,CSSMediaRule)||vf("CSSSupportsRule")&&Ee(t.parentRule,CSSSupportsRule)||vf("CSSConditionRule")&&Ee(t.parentRule,CSSConditionRule)){var s=Array.from(t.parentRule.cssRules),l=s.indexOf(t);a.unshift(l)}else if(t.parentStyleSheet){var u=Array.from(t.parentStyleSheet.cssRules),f=u.indexOf(t);a.unshift(f)}return a}return n(e,r)}function Yi(e,r,n){var t,a;return e?(e.ownerNode?t=r.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:t}):{}}function kI(e,r){var n=e.styleSheetRuleCb,t=e.mirror,a=e.stylesheetManager,s=r.win;if(!s.CSSStyleSheet||!s.CSSStyleSheet.prototype)return function(){};var l=s.CSSStyleSheet.prototype.insertRule;s.CSSStyleSheet.prototype.insertRule=new Proxy(l,{apply:nt(function(y,_,w){var C=w[0],x=w[1],S=Yi(_,t,a.styleMirror),k=S.id,j=S.styleId;return(k&&k!==-1||j&&j!==-1)&&n({id:k,styleId:j,adds:[{rule:C,index:x}]}),y.apply(_,w)})}),s.CSSStyleSheet.prototype.addRule=function(y,_,w){w===void 0&&(w=this.cssRules.length);var C=y+" { "+_+" }";return s.CSSStyleSheet.prototype.insertRule.apply(this,[C,w])};var u=s.CSSStyleSheet.prototype.deleteRule;s.CSSStyleSheet.prototype.deleteRule=new Proxy(u,{apply:nt(function(y,_,w){var C=w[0],x=Yi(_,t,a.styleMirror),S=x.id,k=x.styleId;return(S&&S!==-1||k&&k!==-1)&&n({id:S,styleId:k,removes:[{index:C}]}),y.apply(_,w)})}),s.CSSStyleSheet.prototype.removeRule=function(y){return s.CSSStyleSheet.prototype.deleteRule.apply(this,[y])};var f;s.CSSStyleSheet.prototype.replace&&(f=s.CSSStyleSheet.prototype.replace,s.CSSStyleSheet.prototype.replace=new Proxy(f,{apply:nt(function(y,_,w){var C=w[0],x=Yi(_,t,a.styleMirror),S=x.id,k=x.styleId;return(S&&S!==-1||k&&k!==-1)&&n({id:S,styleId:k,replace:C}),y.apply(_,w)})}));var p;s.CSSStyleSheet.prototype.replaceSync&&(p=s.CSSStyleSheet.prototype.replaceSync,s.CSSStyleSheet.prototype.replaceSync=new Proxy(p,{apply:nt(function(y,_,w){var C=w[0],x=Yi(_,t,a.styleMirror),S=x.id,k=x.styleId;return(S&&S!==-1||k&&k!==-1)&&n({id:S,styleId:k,replaceSync:C}),y.apply(_,w)})}));var m={};yf("CSSGroupingRule")?m.CSSGroupingRule=s.CSSGroupingRule:(yf("CSSMediaRule")&&(m.CSSMediaRule=s.CSSMediaRule),yf("CSSConditionRule")&&(m.CSSConditionRule=s.CSSConditionRule),yf("CSSSupportsRule")&&(m.CSSSupportsRule=s.CSSSupportsRule));var g={};return Object.entries(m).forEach(function(y){var _=y[0],w=y[1];g[_]={insertRule:w.prototype.insertRule,deleteRule:w.prototype.deleteRule},w.prototype.insertRule=new Proxy(g[_].insertRule,{apply:nt(function(C,x,S){var k=S[0],j=S[1],O=Yi(x.parentStyleSheet,t,a.styleMirror),$=O.id,T=O.styleId;return($&&$!==-1||T&&T!==-1)&&n({id:$,styleId:T,adds:[{rule:k,index:[].concat(ph(x),[j||0])}]}),C.apply(x,S)})}),w.prototype.deleteRule=new Proxy(g[_].deleteRule,{apply:nt(function(C,x,S){var k=S[0],j=Yi(x.parentStyleSheet,t,a.styleMirror),O=j.id,$=j.styleId;return(O&&O!==-1||$&&$!==-1)&&n({id:O,styleId:$,removes:[{index:[].concat(ph(x),[k])}]}),C.apply(x,S)})})}),nt(function(){s.CSSStyleSheet.prototype.insertRule=l,s.CSSStyleSheet.prototype.deleteRule=u,f&&(s.CSSStyleSheet.prototype.replace=f),p&&(s.CSSStyleSheet.prototype.replaceSync=p),Object.entries(m).forEach(function(y){var _=y[0],w=y[1];w.prototype.insertRule=g[_].insertRule,w.prototype.deleteRule=g[_].deleteRule})})}function E6(e,r){var n=e.mirror,t=e.stylesheetManager,a,s,l,u=null;r.nodeName==="#document"?u=n.getId(r):u=n.getId(Xe.host(r));var f=r.nodeName==="#document"?(a=r.defaultView)==null?void 0:a.Document:(l=(s=r.ownerDocument)==null?void 0:s.defaultView)==null?void 0:l.ShadowRoot,p=f!=null&&f.prototype?Object.getOwnPropertyDescriptor(f==null?void 0:f.prototype,"adoptedStyleSheets"):void 0;return u===null||u===-1||!f||!p?function(){}:(Object.defineProperty(r,"adoptedStyleSheets",{configurable:p.configurable,enumerable:p.enumerable,get:function(){var g;return(g=p.get)==null?void 0:g.call(this)},set:function(g){var y,_=(y=p.set)==null?void 0:y.call(this,g);if(u!==null&&u!==-1)try{t.adoptStyleSheets(g,u)}catch{}return _}}),nt(function(){Object.defineProperty(r,"adoptedStyleSheets",{configurable:p.configurable,enumerable:p.enumerable,get:p.get,set:p.set})}))}function NI(e,r){var n=e.styleDeclarationCb,t=e.mirror,a=e.ignoreCSSAttributes,s=e.stylesheetManager,l=r.win,u=l.CSSStyleDeclaration.prototype.setProperty;l.CSSStyleDeclaration.prototype.setProperty=new Proxy(u,{apply:nt(function(p,m,g){var y,_=g[0],w=g[1],C=g[2];if(a.has(_))return u.apply(m,[_,w,C]);var x=Yi((y=m.parentRule)==null?void 0:y.parentStyleSheet,t,s.styleMirror),S=x.id,k=x.styleId;return(S&&S!==-1||k&&k!==-1)&&n({id:S,styleId:k,set:{property:_,value:w,priority:C},index:ph(m.parentRule)}),p.apply(m,g)})});var f=l.CSSStyleDeclaration.prototype.removeProperty;return l.CSSStyleDeclaration.prototype.removeProperty=new Proxy(f,{apply:nt(function(p,m,g){var y,_=g[0];if(a.has(_))return f.apply(m,[_]);var w=Yi((y=m.parentRule)==null?void 0:y.parentStyleSheet,t,s.styleMirror),C=w.id,x=w.styleId;return(C&&C!==-1||x&&x!==-1)&&n({id:C,styleId:x,remove:{property:_},index:ph(m.parentRule)}),p.apply(m,g)})}),nt(function(){l.CSSStyleDeclaration.prototype.setProperty=u,l.CSSStyleDeclaration.prototype.removeProperty=f})}function jI(e){var r=e.mediaInteractionCb,n=e.blockClass,t=e.blockSelector,a=e.mirror,s=e.sampling,l=e.doc,u=nt(function(p){return su(nt(function(m){var g=wu(m);if(!(!g||an(g,n,t,!0))){var y=g.currentTime,_=g.volume,w=g.muted,C=g.playbackRate,x=g.loop;r({type:p,id:a.getId(g),currentTime:y,volume:_,muted:w,playbackRate:C,loop:x})}}),s.media||500)}),f=[nn("play",u(Yo.Play),l),nn("pause",u(Yo.Pause),l),nn("seeked",u(Yo.Seeked),l),nn("volumechange",u(Yo.VolumeChange),l),nn("ratechange",u(Yo.RateChange),l)];return nt(function(){f.forEach(function(p){return p()})})}function AI(e){var r=e.fontCb,n=e.doc,t=n.defaultView;if(!t)return function(){};var a=[],s=new WeakMap,l=t.FontFace;t.FontFace=function(p,m,g){var y=new l(p,m,g);return s.set(y,{family:p,buffer:typeof m!="string",descriptors:g,fontSource:typeof m=="string"?m:JSON.stringify(Array.from(new Uint8Array(m)))}),y};var u=Hs(n.fonts,"add",function(f){return function(p){return setTimeout(nt(function(){var m=s.get(p);m&&(r(m),s.delete(p))}),0),f.apply(this,[p])}});return a.push(function(){t.FontFace=l}),a.push(u),nt(function(){a.forEach(function(f){return f()})})}function RI(e){var r=e.doc,n=e.mirror,t=e.blockClass,a=e.blockSelector,s=e.selectionCb,l=!0,u=nt(function(){var f=r.getSelection();if(!(!f||l&&(f!=null&&f.isCollapsed))){l=f.isCollapsed||!1;for(var p=[],m=f.rangeCount||0,g=0;g<m;g++){var y=f.getRangeAt(g),_=y.startContainer,w=y.startOffset,C=y.endContainer,x=y.endOffset,S=an(_,t,a,!0)||an(C,t,a,!0);S||p.push({start:n.getId(_),startOffset:w,end:n.getId(C),endOffset:x})}s({ranges:p})}});return u(),nn("selectionchange",u)}function OI(e){var r=e.doc,n=e.customElementCb,t=r.defaultView;if(!t||!t.customElements)return function(){};var a=Hs(t.customElements,"define",function(s){return function(l,u,f){try{n({define:{name:l}})}catch{console.warn("Custom element callback failed for "+l)}return s.apply(this,[l,u,f])}});return a}function TI(e,r){var n=e.mutationCb,t=e.mousemoveCb,a=e.mouseInteractionCb,s=e.scrollCb,l=e.viewportResizeCb,u=e.inputCb,f=e.mediaInteractionCb,p=e.styleSheetRuleCb,m=e.styleDeclarationCb,g=e.canvasMutationCb,y=e.fontCb,_=e.selectionCb,w=e.customElementCb;e.mutationCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.mutation){var k;(k=r).mutation.apply(k,[].concat(x))}n.apply(void 0,[].concat(x))},e.mousemoveCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.mousemove){var k;(k=r).mousemove.apply(k,[].concat(x))}t.apply(void 0,[].concat(x))},e.mouseInteractionCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.mouseInteraction){var k;(k=r).mouseInteraction.apply(k,[].concat(x))}a.apply(void 0,[].concat(x))},e.scrollCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.scroll){var k;(k=r).scroll.apply(k,[].concat(x))}s.apply(void 0,[].concat(x))},e.viewportResizeCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.viewportResize){var k;(k=r).viewportResize.apply(k,[].concat(x))}l.apply(void 0,[].concat(x))},e.inputCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.input){var k;(k=r).input.apply(k,[].concat(x))}u.apply(void 0,[].concat(x))},e.mediaInteractionCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.mediaInteaction){var k;(k=r).mediaInteaction.apply(k,[].concat(x))}f.apply(void 0,[].concat(x))},e.styleSheetRuleCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.styleSheetRule){var k;(k=r).styleSheetRule.apply(k,[].concat(x))}p.apply(void 0,[].concat(x))},e.styleDeclarationCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.styleDeclaration){var k;(k=r).styleDeclaration.apply(k,[].concat(x))}m.apply(void 0,[].concat(x))},e.canvasMutationCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.canvasMutation){var k;(k=r).canvasMutation.apply(k,[].concat(x))}g.apply(void 0,[].concat(x))},e.fontCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.font){var k;(k=r).font.apply(k,[].concat(x))}y.apply(void 0,[].concat(x))},e.selectionCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.selection){var k;(k=r).selection.apply(k,[].concat(x))}_.apply(void 0,[].concat(x))},e.customElementCb=function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];if(r.customElement){var k;(k=r).customElement.apply(k,[].concat(x))}w.apply(void 0,[].concat(x))}}function II(e,r){r===void 0&&(r={});var n=e.doc.defaultView;if(!n)return function(){};TI(e,r);var t;e.recordDOM&&(t=w6(e,e.doc));var a=wI(e),s=SI(e),l=S6(e),u=EI(e,{win:n}),f=MI(e),p=jI(e),m=function(){},g=function(){},y=function(){},_=function(){};e.recordDOM&&(m=kI(e,{win:n}),g=E6(e,e.doc),y=NI(e,{win:n}),e.collectFonts&&(_=AI(e)));for(var w=RI(e),C=OI(e),x=[],S=ae(e.plugins),k;!(k=S()).done;){var j=k.value;x.push(j.observer(j.callback,n,j.options))}return nt(function(){Oa.forEach(function(O){return O.reset()}),t==null||t.disconnect(),a(),s(),l(),u(),f(),p(),m(),g(),y(),_(),w(),C(),x.forEach(function(O){return O()})})}function vf(e){return typeof window[e]<"u"}function yf(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var V_=(function(){function e(n){fe(this,"iframeIdToRemoteIdMap",new WeakMap),fe(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=n}var r=e.prototype;return r.getId=function(t,a,s,l){var u=s||this.getIdToRemoteIdMap(t),f=l||this.getRemoteIdToIdMap(t),p=u.get(a);return p||(p=this.generateIdFn(),u.set(a,p),f.set(p,a)),p},r.getIds=function(t,a){var s=this,l=this.getIdToRemoteIdMap(t),u=this.getRemoteIdToIdMap(t);return a.map(function(f){return s.getId(t,f,l,u)})},r.getRemoteId=function(t,a,s){var l=s||this.getRemoteIdToIdMap(t);if(typeof a!="number")return a;var u=l.get(a);return u||-1},r.getRemoteIds=function(t,a){var s=this,l=this.getRemoteIdToIdMap(t);return a.map(function(u){return s.getRemoteId(t,u,l)})},r.reset=function(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)},r.getIdToRemoteIdMap=function(t){var a=this.iframeIdToRemoteIdMap.get(t);return a||(a=new Map,this.iframeIdToRemoteIdMap.set(t,a)),a},r.getRemoteIdToIdMap=function(t){var a=this.iframeRemoteIdToIdMap.get(t);return a||(a=new Map,this.iframeRemoteIdToIdMap.set(t,a)),a},e})(),LI=(function(){function e(n){fe(this,"iframes",new WeakMap),fe(this,"crossOriginIframeMap",new WeakMap),fe(this,"crossOriginIframeMirror",new V_(Y3)),fe(this,"crossOriginIframeStyleMirror"),fe(this,"crossOriginIframeRootIdMap",new WeakMap),fe(this,"iframeContentDocumentMap",new WeakMap),fe(this,"iframeObserverCleanupMap",new WeakMap),fe(this,"mirror"),fe(this,"mutationCb"),fe(this,"wrappedEmit"),fe(this,"loadListener"),fe(this,"stylesheetManager"),fe(this,"recordCrossOriginIframes"),this.mutationCb=n.mutationCb,this.wrappedEmit=n.wrappedEmit,this.stylesheetManager=n.stylesheetManager,this.recordCrossOriginIframes=n.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new V_(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=n.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var r=e.prototype;return r.addIframe=function(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}
vendor: 10,190 bytes, line 143
143,r.getIframeContentDocument=function(t){return this.iframeContentDocumentMap.get(t)},r.setObserverCleanup=function(t,a){this.iframeObserverCleanupMap.set(t,a)},r.getObserverCleanup=function(t){return this.iframeObserverCleanupMap.get(t)},r.removeIframe=function(t){var a=this.iframeContentDocumentMap.get(t);a&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(a),this.mirror.removeNodeFromMap(a,!0)),this.iframes.delete(t),this.iframeContentDocumentMap.delete(t);var s=this.iframeObserverCleanupMap.get(t);if(s){try{s()}catch{}this.iframeObserverCleanupMap.delete(t)}},r.addLoadListener=function(t){this.loadListener=t},r.attachIframe=function(t,a){var s,l;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:a}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),t.contentDocument&&this.iframeContentDocumentMap.set(t,t.contentDocument),this.recordCrossOriginIframes&&((s=t.contentWindow)==null||s.addEventListener("message",this.handleMessage.bind(this))),(l=this.loadListener)==null||l.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))},r.handleMessage=function(t){var a=t;if(!(a.data.type!=="rrweb"||a.origin!==a.data.origin)){var s=t.source;if(s){var l=this.crossOriginIframeMap.get(t.source);if(l){var u=this.transformCrossOriginEvent(l,a.data.event);u&&this.wrappedEmit(u,a.data.isCheckout)}}}},r.transformCrossOriginEvent=function(t,a){var s=this,l;switch(a.type){case et.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(a.data.node,t);var u=a.data.node.id;return this.crossOriginIframeRootIdMap.set(t,u),this.patchRootIdOnNode(a.data.node,u),{timestamp:a.timestamp,type:et.IncrementalSnapshot,data:{source:$e.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:a.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case et.Meta:case et.Load:case et.DomContentLoaded:return!1;case et.Plugin:return a;case et.Custom:return this.replaceIds(a.data.payload,t,["id","parentId","previousId","nextId"]),a;case et.IncrementalSnapshot:switch(a.data.source){case $e.Mutation:return a.data.adds.forEach(function(f){s.replaceIds(f,t,["parentId","nextId","previousId"]),s.replaceIdOnNode(f.node,t);var p=s.crossOriginIframeRootIdMap.get(t);p&&s.patchRootIdOnNode(f.node,p)}),a.data.removes.forEach(function(f){s.replaceIds(f,t,["parentId","id"])}),a.data.attributes.forEach(function(f){s.replaceIds(f,t,["id"])}),a.data.texts.forEach(function(f){s.replaceIds(f,t,["id"])}),a;case $e.Drag:case $e.TouchMove:case $e.MouseMove:return a.data.positions.forEach(function(f){s.replaceIds(f,t,["id"])}),a;case $e.ViewportResize:return!1;case $e.MediaInteraction:case $e.MouseInteraction:case $e.Scroll:case $e.CanvasMutation:case $e.Input:return this.replaceIds(a.data,t,["id"]),a;case $e.StyleSheetRule:case $e.StyleDeclaration:return this.replaceIds(a.data,t,["id"]),this.replaceStyleIds(a.data,t,["styleId"]),a;case $e.Font:return a;case $e.Selection:return a.data.ranges.forEach(function(f){s.replaceIds(f,t,["start","end"])}),a;case $e.AdoptedStyleSheet:return this.replaceIds(a.data,t,["id"]),this.replaceStyleIds(a.data,t,["styleIds"]),(l=a.data.styles)==null||l.forEach(function(f){s.replaceStyleIds(f,t,["styleId"])}),a}}return!1},r.replace=function(t,a,s,l){for(var u=ae(l),f;!(f=u()).done;){var p=f.value;!Array.isArray(a[p])&&typeof a[p]!="number"||(Array.isArray(a[p])?a[p]=t.getIds(s,a[p]):a[p]=t.getId(s,a[p]))}return a},r.replaceIds=function(t,a,s){return this.replace(this.crossOriginIframeMirror,t,a,s)},r.replaceStyleIds=function(t,a,s){return this.replace(this.crossOriginIframeStyleMirror,t,a,s)},r.replaceIdOnNode=function(t,a){var s=this;this.replaceIds(t,a,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(function(l){s.replaceIdOnNode(l,a)})},r.patchRootIdOnNode=function(t,a){var s=this;t.type!==x6.Document&&!t.rootId&&(t.rootId=a),"childNodes"in t&&t.childNodes.forEach(function(l){s.patchRootIdOnNode(l,a)})},e})(),$I=(function(){function e(n){fe(this,"shadowDoms",new WeakSet),fe(this,"mutationCb"),fe(this,"scrollCb"),fe(this,"bypassOptions"),fe(this,"mirror"),fe(this,"restoreHandlers",[]),this.mutationCb=n.mutationCb,this.scrollCb=n.scrollCb,this.bypassOptions=n.bypassOptions,this.mirror=n.mirror,this.init()}var r=e.prototype;return r.init=function(){this.reset(),this.patchAttachShadow(Element,document)},r.addShadowRoot=function(t,a){var s=this;if(Lc(t)&&!this.shadowDoms.has(t)){this.shadowDoms.add(t);var l=w6(He({},this.bypassOptions,{doc:a,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push(function(){return l.disconnect()}),this.restoreHandlers.push(S6(He({},this.bypassOptions,{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout(function(){t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&s.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,s.mirror.getId(Xe.host(t))),s.restoreHandlers.push(E6({mirror:s.mirror,stylesheetManager:s.bypassOptions.stylesheetManager},t))},0)}},r.observeAttachShadow=function(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)},r.patchAttachShadow=function(t,a){var s=this;this.restoreHandlers.push(Hs(t.prototype,"attachShadow",function(l){return function(u){var f=l.call(this,u),p=Xe.shadowRoot(this);return p&&b6(this)&&s.addShadowRoot(p,a),f}}))},r.reset=function(){this.restoreHandlers.forEach(function(t){try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e})(),Xo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",DI=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var bf=0;bf<Xo.length;bf++)DI[Xo.charCodeAt(bf)]=bf;var UI=function(r){var n=new Uint8Array(r),t,a=n.length,s="";for(t=0;t<a;t+=3)s+=Xo[n[t]>>2],s+=Xo[(n[t]&3)<<4|n[t+1]>>4],s+=Xo[(n[t+1]&15)<<2|n[t+2]>>6],s+=Xo[n[t+2]&63];return a%3===2?s=s.substring(0,s.length-1)+"=":a%3===1&&(s=s.substring(0,s.length-2)+"=="),s},Y_=new Map;function PI(e,r){var n=Y_.get(e);return n||(n=new Map,Y_.set(e,n)),n.has(r)||n.set(r,[]),n.get(r)}var C6=function(e,r,n){if(!(!e||!(k6(e,r)||(typeof e>"u"?"undefined":Me(e))==="object"))){var t=e.constructor.name,a=PI(n,t),s=a.indexOf(e);return s===-1&&(s=a.length,a.push(e)),s}};function Ff(e,r,n){if(Ee(e,Array))return e.map(function(w){return Ff(w,r,n)});if(e===null)return e;if(Ee(e,Float32Array)||Ee(e,Float64Array)||Ee(e,Int32Array)||Ee(e,Uint32Array)||Ee(e,Uint8Array)||Ee(e,Uint16Array)||Ee(e,Int16Array)||Ee(e,Int8Array)||Ee(e,Uint8ClampedArray)){var t=e.constructor.name;return{rr_type:t,args:[Object.values(e)]}}else if(Ee(e,ArrayBuffer)){var a=e.constructor.name,s=UI(e);return{rr_type:a,base64:s}}else if(Ee(e,DataView)){var l=e.constructor.name;return{rr_type:l,args:[Ff(e.buffer,r,n),e.byteOffset,e.byteLength]}}else if(Ee(e,HTMLImageElement)){var u=e.constructor.name,f=e.src;return{rr_type:u,src:f}}else if(Ee(e,HTMLCanvasElement)){var p="HTMLImageElement",m=e.toDataURL();return{rr_type:p,src:m}}else if(Ee(e,ImageData)){var g=e.constructor.name;return{rr_type:g,args:[Ff(e.data,r,n),e.width,e.height]}}else if(k6(e,r)||(typeof e>"u"?"undefined":Me(e))==="object"){var y=e.constructor.name,_=C6(e,r,n);return{rr_type:y,index:_}}return e}var M6=function(e,r,n){return e.map(function(t){return Ff(t,r,n)})},k6=function(e,r){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"],t=n.filter(function(a){return typeof r[a]=="function"});return!!t.find(function(a){return Ee(e,r[a])})};function zI(e,r,n,t){for(var a=function(){var p=f.value;try{if(typeof r.CanvasRenderingContext2D.prototype[p]!="function")return"continue";var m=Hs(r.CanvasRenderingContext2D.prototype,p,function(y){return function(){for(var _=this,w=arguments.length,C=new Array(w),x=0;x<w;x++)C[x]=arguments[x];return an(this.canvas,n,t,!0)||setTimeout(function(){var S=M6(C,r,_);e(_.canvas,{type:ul["2D"],property:p,args:S})},0),y.apply(this,C)}});s.push(m)}catch{var g=Qh(r.CanvasRenderingContext2D.prototype,p,{set:function(w){e(this.canvas,{type:ul["2D"],property:p,args:[w],setter:!0})}});s.push(g)}},s=[],l=Object.getOwnPropertyNames(r.CanvasRenderingContext2D.prototype),u=ae(l),f;!(f=u()).done;)a();return function(){s.forEach(function(p){return p()})}}function BI(e){return e==="experimental-webgl"?"webgl":e}function K_(e,r,n,t){var a=[];try{var s=Hs(e.HTMLCanvasElement.prototype,"getContext",function(l){return function(u){for(var f=arguments.length,p=new Array(f>1?f-1:0),m=1;m<f;m++)p[m-1]=arguments[m];if(!an(this,r,n,!0)){var g=BI(u);if("__context"in this||(this.__context=g),t&&["webgl","webgl2"].includes(g))if(p[0]&&Me(p[0])==="object"){var y=p[0];y.preserveDrawingBuffer||(y.preserveDrawingBuffer=!0)}else p.splice(0,1,{preserveDrawingBuffer:!0})}return l.apply(this,[].concat([u],p))}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){a.forEach(function(l){return l()})}}function W_(e,r,n,t,a,s){for(var l=function(){var g=m.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(g))return"continue";try{if(typeof e[g]!="function")return"continue";var y=Hs(e,g,function(w){return function(){for(var C=arguments.length,x=new Array(C),S=0;S<C;S++)x[S]=arguments[S];var k=w.apply(this,x);if(C6(k,s,this),"tagName"in this.canvas&&!an(this.canvas,t,a,!0)){var j=M6(x,s,this),O={type:r,property:g,args:j};n(this.canvas,O)}return k}});u.push(y)}catch{var _=Qh(e,g,{set:function(x){n(this.canvas,{type:r,property:g,args:[x],setter:!0})}});u.push(_)}},u=[],f=Object.getOwnPropertyNames(e),p=ae(f),m;!(m=p()).done;)l();return u}function FI(e,r,n,t){var a,s=[];if((a=s).push.apply(a,[].concat(W_(r.WebGLRenderingContext.prototype,ul.WebGL,e,n,t,r))),typeof r.WebGL2RenderingContext<"u"){var l;(l=s).push.apply(l,[].concat(W_(r.WebGL2RenderingContext.prototype,ul.WebGL2,e,n,t,r)))}
143return function(){s.forEach(function(u){return u()})}}var N6="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
143hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",qI=function(e){return Uint8Array.from(atob(e),function(r){return r.charCodeAt(0)})},J_=typeof window<"u"&&window.Blob&&new Blob([qI(N6)],{type:"text/javascript;charset=utf-8"});function HI(e){var r;try{if(r=J_&&(window.URL||window.webkitURL).createObjectURL(J_),!r)throw"";var n=new Worker(r,{name:e==null?void 0:e.name});return n.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(r)}),n}catch{return new Worker("data:text/javascript;base64,"+N6,{name:e==null?void 0:e.name})}finally{r&&(window.URL||window.webkitURL).revokeObjectURL(r)}}var GI=(function(){function e(n){var t=this;fe(this,"pendingCanvasMutations",new Map),fe(this,"rafStamps",{latestId:0,invokeId:null}),fe(this,"mirror"),fe(this,"mutationCb"),fe(this,"resetObservers"),fe(this,"frozen",!1),fe(this,"locked",!1),fe(this,"processMutation",function(g,y){var _=t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId;(_||!t.rafStamps.invokeId)&&(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(g)||t.pendingCanvasMutations.set(g,[]),t.pendingCanvasMutations.get(g).push(y)});var a=n.sampling,s=a===void 0?"all":a,l=n.win,u=n.blockClass,f=n.blockSelector,p=n.recordCanvas,m=n.dataURLOptions;this.mutationCb=n.mutationCb,this.mirror=n.mirror,p&&s==="all"&&this.initCanvasMutationObserver(l,u,f),p&&typeof s=="number"&&this.initCanvasFPSObserver(s,l,u,f,{dataURLOptions:m})}var r=e.prototype;return r.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},r.freeze=function(){this.frozen=!0},r.unfreeze=function(){this.frozen=!1},r.lock=function(){this.locked=!0},r.unlock=function(){this.locked=!1},r.initCanvasFPSObserver=function(t,a,s,l,u){var f=this,p=K_(a,s,l,!0),m=new Map,g=new HI;g.onmessage=function(S){var k=S.data.id;if(m.set(k,!1),"base64"in S.data){var j=S.data,O=j.base64,$=j.type,T=j.width,D=j.height;f.mutationCb({id:k,type:ul["2D"],commands:[{property:"clearRect",args:[0,0,T,D]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:O}],type:$}]},0,0]}]})}};var y=1e3/t,_=0,w,C=function(){var S=[];return a.document.querySelectorAll("canvas").forEach(function(k){an(k,s,l,!0)||S.push(k)}),S},x=function(S){if(_&&S-_<y){w=requestAnimationFrame(x);return}_=S;var k=f;
vendor: 9,121 bytes, line 143
143C().forEach(Bh(function(j){var O,$,T,D;return Us(this,function(z){switch(z.label){case 0:return $=k.mirror.getId(j),m.get($)?[2]:j.width===0||j.height===0?[2]:(m.set($,!0),["webgl","webgl2"].includes(j.__context)&&(T=j.getContext(j.__context),((O=T==null?void 0:T.getContextAttributes())==null?void 0:O.preserveDrawingBuffer)===!1&&T.clear(T.COLOR_BUFFER_BIT)),[4,createImageBitmap(j)]);case 1:return D=z.sent(),g.postMessage({id:$,bitmap:D,width:j.width,height:j.height,dataURLOptions:u.dataURLOptions},[D]),[2]}})})),w=requestAnimationFrame(x)};w=requestAnimationFrame(x),this.resetObservers=function(){p(),cancelAnimationFrame(w)}},r.initCanvasMutationObserver=function(t,a,s){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var l=K_(t,a,s,!1),u=zI(this.processMutation.bind(this),t,a,s),f=FI(this.processMutation.bind(this),t,a,s);this.resetObservers=function(){l(),u(),f()}},r.startPendingCanvasMutationFlusher=function(){var t=this;requestAnimationFrame(function(){return t.flushPendingCanvasMutations()})},r.startRAFTimestamping=function(){var t=this,a=function(s){t.rafStamps.latestId=s,requestAnimationFrame(a)};requestAnimationFrame(a)},r.flushPendingCanvasMutations=function(){var t=this;this.pendingCanvasMutations.forEach(function(a,s){var l=t.mirror.getId(s);t.flushPendingCanvasMutationFor(s,l)}),requestAnimationFrame(function(){return t.flushPendingCanvasMutations()})},r.flushPendingCanvasMutationFor=function(t,a){if(!(this.frozen||this.locked)){var s=this.pendingCanvasMutations.get(t);if(!(!s||a===-1)){var l=s.map(function(f){f.type;var p=Ds(f,["type"]);return p}),u=s[0].type;this.mutationCb({id:a,type:u,commands:l}),this.pendingCanvasMutations.delete(t)}}},e})(),VI=(function(){function e(n){fe(this,"trackedLinkElements",new WeakSet),fe(this,"mutationCb"),fe(this,"adoptedStyleSheetCb"),fe(this,"styleMirror",new fI),this.mutationCb=n.mutationCb,this.adoptedStyleSheetCb=n.adoptedStyleSheetCb}var r=e.prototype;return r.attachLinkElement=function(t,a){"_cssText"in a.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:a.id,attributes:a.attributes}]}),this.trackLinkElement(t)},r.trackLinkElement=function(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))},r.adoptStyleSheets=function(t,a){var s,l=function(){var g=m.value,y=void 0;s.styleMirror.has(g)?y=s.styleMirror.getId(g):(y=s.styleMirror.add(g),f.push({styleId:y,rules:Array.from(g.rules||CSSRule,function(_,w){return{rule:H3(_,g.href),index:w}})})),u.styleIds.push(y)};if(t.length!==0){for(var u={id:a,styleIds:[]},f=[],p=ae(t),m;!(m=p()).done;)s=this,l();f.length>0&&(u.styles=f),this.adoptedStyleSheetCb(u)}},r.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},r.cleanupStylesheetsForRemovedNode=function(t){var a=this;try{if(t.nodeType===Node.DOCUMENT_NODE){var s=t;if(s.adoptedStyleSheets)for(var l=ae(s.adoptedStyleSheets),u;!(u=l()).done;){var f=u.value;this.styleMirror.remove(f)}}if(t.nodeName==="STYLE"){var p=t;p.sheet&&this.styleMirror.remove(p.sheet)}if(t.nodeName==="LINK"&&t.rel==="stylesheet"){var m=t;m.sheet&&this.styleMirror.remove(m.sheet)}t.childNodes&&t.childNodes.forEach(function(g){a.cleanupStylesheetsForRemovedNode(g)})}catch{}},r.trackStylesheetInLinkElement=function(t){},e})(),YI=(function(){function e(){fe(this,"nodeMap",new WeakMap),fe(this,"active",!1)}var r=e.prototype;return r.inOtherBuffer=function(t,a){var s=this.nodeMap.get(t);return s&&Array.from(s).some(function(l){return l!==a})},r.add=function(t,a){var s=this;this.active||(this.active=!0,requestAnimationFrame(function(){s.nodeMap=new WeakMap,s.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(a))},r.destroy=function(){},e})(),Yt,qf,Qm,mh=!1;try{if(Array.from([1],function(e){return e*2})[0]!==2){var Zm=document.createElement("iframe");document.body.appendChild(Zm),Array.from=((Z5=Zm.contentWindow)==null?void 0:Z5.Array.from)||Array.from,document.body.removeChild(Zm)}}catch(e){console.debug("Unable to override Array.from",e)}var sa=Kj();function is(e){e===void 0&&(e={});var r=e.emit,n=e.checkoutEveryNms,t=e.checkoutEveryNth,a=e.blockClass,s=a===void 0?"rr-block":a,l=e.blockSelector,u=l===void 0?null:l,f=e.ignoreClass,p=f===void 0?"rr-ignore":f,m=e.ignoreSelector,g=m===void 0?null:m,y=e.maskTextClass,_=y===void 0?"rr-mask":y,w=e.maskTextSelector,C=w===void 0?null:w,x=e.inlineStylesheet,S=x===void 0?!0:x,k=e.maskAllInputs,j=e.maskInputOptions,O=e.slimDOMOptions,$=e.maskInputFn,T=e.maskTextFn,D=e.hooks,z=e.packFn,J=e.sampling,de=J===void 0?{}:J,pe=e.dataURLOptions,ie=pe===void 0?{}:pe,ee=e.mousemoveWait,ce=e.recordDOM,ue=ce===void 0?!0:ce,U=e.recordCanvas,H=U===void 0?!1:U,Y=e.recordCrossOriginIframes,he=Y===void 0?!1:Y,ye=e.recordAfter,R=ye===void 0?e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load":ye,G=e.userTriggeredOnInput,K=G===void 0?!1:G,Z=e.collectFonts,le=Z===void 0?!1:Z,oe=e.inlineImages,ge=oe===void 0?!1:oe,Ce=e.plugins,Ue=e.keepIframeSrcFn,zt=Ue===void 0?function(){return!1}:Ue,Jt=e.ignoreCSSAttributes,Xt=Jt===void 0?new Set([]):Jt,ea=e.errorHandler;bI(ea);var Ot=he?window.parent===window:!0,Zr=!1;if(!Ot)try{window.parent.document&&(Zr=!1)}catch{Zr=!0}if(Ot&&!r)throw new Error("emit function is required");if(!Ot&&!Zr)return function(){};ee!==void 0&&de.mousemove===void 0&&(de.mousemove=ee),sa.reset();var Dr=k===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:j!==void 0?j:{password:!0},Yr=O===!0||O==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:O==="all",headMetaDescKeywords:O==="all",headTitleMutations:O==="all"}:O||{};dI();var Ur,Bt=0,kr=function(Te){for(var rt=ae(Ce||[]),me;!(me=rt()).done;){var Qe=me.value;Qe.eventProcessor&&(Te=Qe.eventProcessor(Te))}return z&&!Zr&&(Te=z(Te)),Te};Yt=function(Te,rt){var me,Qe=Te;if(Qe.timestamp=hh(),(me=Oa[0])!=null&&me.isFrozen()&&Qe.type!==et.FullSnapshot&&!(Qe.type===et.IncrementalSnapshot&&Qe.data.source===$e.Mutation)&&Oa.forEach(function(ta){return ta.unfreeze()}),Ot)r==null||r(kr(Qe),rt);else if(Zr){var xr={type:"rrweb",event:kr(Qe),origin:window.location.origin,isCheckout:rt};window.parent.postMessage(xr,"*")}if(Qe.type===et.FullSnapshot)Ur=Qe,Bt=0;else if(Qe.type===et.IncrementalSnapshot){if(Qe.data.source===$e.Mutation&&Qe.data.isAttachIframe)return;Bt++;var Ln=t&&Bt>=t,ba=n&&Qe.timestamp-Ur.timestamp>n;(Ln||ba)&&qf(!0)}};for(var Nr=function(Te){Yt({type:et.IncrementalSnapshot,data:He({source:$e.Mutation},Te)})},Qt=function(Te){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.Scroll},Te)})},sn=function(Te){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.CanvasMutation},Te)})},lr=function(Te){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.AdoptedStyleSheet},Te)})},en=new VI({mutationCb:Nr,adoptedStyleSheetCb:lr}),cr=new LI({mirror:sa,mutationCb:Nr,stylesheetManager:en,recordCrossOriginIframes:he,wrappedEmit:Yt}),ya=ae(Ce||[]),On;!(On=ya()).done;){var Tn=On.value;Tn.getMirror&&Tn.getMirror({nodeMirror:sa,crossOriginIframeMirror:cr.crossOriginIframeMirror,crossOriginIframeStyleMirror:cr.crossOriginIframeStyleMirror})}var jr=new YI;Qm=new GI({recordCanvas:H,mutationCb:sn,win:window,blockClass:s,blockSelector:u,mirror:sa,sampling:de.canvas,dataURLOptions:ie});var yn=new $I({mutationCb:Nr,scrollCb:Qt,bypassOptions:{blockClass:s,blockSelector:u,maskTextClass:_,maskTextSelector:C,inlineStylesheet:S,maskInputOptions:Dr,dataURLOptions:ie,maskTextFn:T,maskInputFn:$,recordCanvas:H,inlineImages:ge,sampling:de,slimDOMOptions:Yr,iframeManager:cr,stylesheetManager:en,canvasManager:Qm,keepIframeSrcFn:zt,processedNodeManager:jr},mirror:sa});qf=function(Te){if(Te===void 0&&(Te=!1),!!ue){Yt({type:et.Meta,data:{href:window.location.href,width:h6(),height:f6()}},Te),en.reset(),yn.init(),Oa.forEach(function(me){return me.lock()});var rt=yA(document,{mirror:sa,blockClass:s,blockSelector:u,maskTextClass:_,maskTextSelector:C,inlineStylesheet:S,maskAllInputs:Dr,maskTextFn:T,maskInputFn:$,slimDOM:Yr,dataURLOptions:ie,recordCanvas:H,inlineImages:ge,onSerialize:function(me){g6(me,sa)&&cr.addIframe(me),v6(me,sa)&&en.trackLinkElement(me),pg(me)&&yn.addShadowRoot(Xe.shadowRoot(me),document)},onIframeLoad:function(me,Qe){cr.attachIframe(me,Qe),yn.observeAttachShadow(me)},onStylesheetLoad:function(me,Qe){en.attachLinkElement(me,Qe)},keepIframeSrcFn:zt});if(!rt)return console.warn("Failed to snapshot the document");Yt({type:et.FullSnapshot,data:{node:rt,initialOffset:d6(window)}},Te),Oa.forEach(function(me){return me.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&en.adoptStyleSheets(document.adoptedStyleSheets,sa.getId(document))}};try{var Ar=[],In=function(Te){var rt;return nt(II)({mutationCb:Nr,mousemoveCb:function(me,Qe){return Yt({type:et.IncrementalSnapshot,data:{source:Qe,positions:me}})},mouseInteractionCb:function(me){return Yt({type:et.IncrementalSnapshot,data:
vendor: 27,816 bytes, lines 143-165
143He({source:$e.MouseInteraction},me)})},scrollCb:Qt,viewportResizeCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.ViewportResize},me)})},inputCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.Input},me)})},mediaInteractionCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.MediaInteraction},me)})},styleSheetRuleCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.StyleSheetRule},me)})},styleDeclarationCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.StyleDeclaration},me)})},canvasMutationCb:sn,fontCb:function(me){return Yt({type:et.IncrementalSnapshot,data:He({source:$e.Font},me)})},selectionCb:function(me){Yt({type:et.IncrementalSnapshot,data:He({source:$e.Selection},me)})},customElementCb:function(me){Yt({type:et.IncrementalSnapshot,data:He({source:$e.CustomElement},me)})},blockClass:s,ignoreClass:p,ignoreSelector:g,maskTextClass:_,maskTextSelector:C,maskInputOptions:Dr,inlineStylesheet:S,sampling:de,recordDOM:ue,recordCanvas:H,inlineImages:ge,userTriggeredOnInput:K,collectFonts:le,doc:Te,maskInputFn:$,maskTextFn:T,keepIframeSrcFn:zt,blockSelector:u,slimDOMOptions:Yr,dataURLOptions:ie,mirror:sa,iframeManager:cr,stylesheetManager:en,shadowDomManager:yn,processedNodeManager:jr,canvasManager:Qm,ignoreCSSAttributes:Xt,plugins:((rt=Ce==null?void 0:Ce.filter(function(me){return me.observer}))==null?void 0:rt.map(function(me){return{observer:me.observer,options:me.options,callback:function(Qe){return Yt({type:et.Plugin,data:{plugin:me.name,payload:Qe}})}}}))||[]},D)};cr.addLoadListener(function(Te){try{var rt=Te.contentDocument,me=In(rt);Ar.push(me);var Qe=cr.getObserverCleanup(Te);cr.setObserverCleanup(Te,function(){if(Qe)try{Qe()}catch{}try{me();var xr=Ar.indexOf(me);xr!==-1&&Ar.splice(xr,1),_I(rt)}catch{}})}catch(xr){console.warn(xr)}});var Ft=function(){qf(),Ar.push(In(document)),mh=!0};return document.readyState==="interactive"||document.readyState==="complete"?Ft():(Ar.push(nn("DOMContentLoaded",function(){Yt({type:et.DomContentLoaded,data:{}}),R==="DOMContentLoaded"&&Ft()})),Ar.push(nn("load",function(){Yt({type:et.Load,data:{}}),R==="load"&&Ft()},window))),function(){Ar.forEach(function(Te){try{Te()}catch(me){var rt=String(me).toLowerCase();rt.includes("cross-origin")||console.warn(me)}}),jr.destroy(),mh=!1,xI()}}catch(Te){console.warn(Te)}}is.addCustomEvent=function(e,r){if(!mh)throw new Error("please add custom event after start recording");Yt({type:et.Custom,data:{tag:e,payload:r}})};is.freezePage=function(){Oa.forEach(function(e){return e.freeze()})};is.takeFullSnapshot=function(e){if(!mh)throw new Error("please take full snapshot after start recording");qf(e)};is.mirror=sa;var X_;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(X_||(X_={}));is.addCustomEvent;is.freezePage;is.takeFullSnapshot;var Q_={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Z_={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},xf={},KI=function(){return!!globalThis.Zone};function kv(e){if(xf[e])return xf[e];var r=globalThis[e],n=r.prototype,t=e in Q_?Q_[e]:void 0,a=!!(t&&t.every(function(m){var g,y;return!!((y=(g=Object.getOwnPropertyDescriptor(n,m))==null?void 0:g.get)!=null&&y.toString().includes("[native code]"))})),s=e in Z_?Z_[e]:void 0,l=!!(s&&s.every(function(m){var g;return typeof n[m]=="function"&&((g=n[m])==null?void 0:g.toString().includes("[native code]"))}));if(a&&l&&!KI())return xf[e]=r.prototype,r.prototype;try{var u=document.createElement("iframe");document.body.appendChild(u);var f=u.contentWindow;if(!f)return r.prototype;var p=f[e].prototype;return document.body.removeChild(u),p?xf[e]=p:n}catch{return n}}var e1={};function ss(e,r,n){var t,a=e+"."+String(n);if(e1[a])return e1[a].call(r);var s=kv(e),l=(t=Object.getOwnPropertyDescriptor(s,n))==null?void 0:t.get;return l?(e1[a]=l,l.call(r)):r[n]}var t1={};function j6(e,r,n){var t=e+"."+String(n);if(t1[t])return t1[t].bind(r);var a=kv(e),s=a[n];return typeof s!="function"?r[n]:(t1[t]=s,s.bind(r))}function WI(e){return ss("Node",e,"childNodes")}function JI(e){return ss("Node",e,"parentNode")}function XI(e){return ss("Node",e,"parentElement")}function QI(e){return ss("Node",e,"textContent")}function ZI(e,r){return j6("Node",e,"contains")(r)}function e7(e){return j6("Node",e,"getRootNode")()}function t7(e){return!e||!("host"in e)?null:ss("ShadowRoot",e,"host")}function r7(e){return e.styleSheets}function n7(e){return!e||!("shadowRoot"in e)?null:ss("Element",e,"shadowRoot")}function a7(e,r){return ss("Element",e,"querySelector")(r)}function i7(e,r){return ss("Element",e,"querySelectorAll")(r)}function s7(){return kv("MutationObserver").constructor}function o7(e,r,n){try{if(!(r in e))return function(){};var t=e[r],a=n(t);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:t}})),e[r]=a,function(){e[r]=t}}catch{return function(){}}}var ew={childNodes:WI,parentNode:JI,parentElement:XI,textContent:QI,contains:ZI,getRootNode:e7,host:t7,styleSheets:r7,shadowRoot:n7,querySelector:a7,querySelectorAll:i7,mutationObserver:s7,patch:o7};function gg(e,r,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return gg(ew.parentNode(e),r);for(var t=e.classList.length;t--;){var a=e.classList[t];if(r.test(a))return!0}return gg(ew.parentNode(e),r)}function l7(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c7(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var n=function t(){return Ee(this,t)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:function(){return e[t]}})}),n}var Nv={exports:{}},jt=String,A6=function(){return{isColorSupported:!1,reset:jt,bold:jt,dim:jt,italic:jt,underline:jt,inverse:jt,hidden:jt,strikethrough:jt,black:jt,red:jt,green:jt,yellow:jt,blue:jt,magenta:jt,cyan:jt,white:jt,gray:jt,bgBlack:jt,bgRed:jt,bgGreen:jt,bgYellow:jt,bgBlue:jt,bgMagenta:jt,bgCyan:jt,bgWhite:jt}};Nv.exports=A6();Nv.exports.createColors=A6;var u7=Nv.exports,d7={},f7=Object.freeze(Object.defineProperty({__proto__:null,default:d7},Symbol.toStringTag,{value:"Module"})),ir=c7(f7),tw=u7,rw=ir,vg=(function(e){$t(r,e);function r(t,a,s,l,u,f){var p;return p=e.call(this,t)||this,p.name="CssSyntaxError",p.reason=t,u&&(p.file=u),l&&(p.source=l),f&&(p.plugin=f),typeof a<"u"&&typeof s<"u"&&(typeof a=="number"?(p.line=a,p.column=s):(p.line=a.line,p.column=a.column,p.endLine=s.line,p.endColumn=s.column)),p.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(p,r),p}var n=r.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(a){var s=this;if(!this.source)return"";var l=this.source;a==null&&(a=tw.isColorSupported),rw&&a&&(l=rw(l));var u=l.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,u.length),m=String(p).length,g,y;if(a){var _=tw.createColors(!0),w=_.bold,C=_.gray,x=_.red;g=function(S){return w(x(S))},y=function(S){return C(S)}}else g=y=function(S){return S};return u.slice(f,p).map(function(S,k){var j=f+1+k,O=" "+(" "+j).slice(-m)+" | ";if(j===s.line){var $=y(O.replace(/\d/g," "))+S.slice(0,s.column-1).replace(/[^\t]/g," ");return g(">")+y(O)+S+` 144 `+$+g("^")}return" "+y(O)+S}).join(` 145`)},n.toString=function(){var a=this.showSourceCode();return a&&(a=` 146 147`+a+` 148`),this.name+": "+this.message+a},r})(Jc(Error)),jv=vg;vg.default=vg;var os={};os.isClean=Symbol("isClean");os.my=Symbol("my");var nw={after:` 149`,beforeClose:` 150`,beforeComment:` 151`,beforeDecl:` 152`,beforeOpen:" ",beforeRule:` 153`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function h7(e){return e[0].toUpperCase()+e.slice(1)}var yg=(function(){function e(n){this.builder=n}var r=e.prototype;return r.atrule=function(t,a){var s="@"+t.name,l=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?s+=t.raws.afterName:l&&(s+=" "),t.nodes)this.block(t,s+l);else{var u=(t.raws.between||"")+(a?";":"");this.builder(s+l+u,t)}},r.beforeAfter=function(t,a){var s;t.type==="decl"?s=this.raw(t,null,"beforeDecl"):t.type==="comment"?s=this.raw(t,null,"beforeComment"):a==="before"?s=this.raw(t,null,"beforeRule"):s=this.raw(t,null,"beforeClose");for(var l=t.parent,u=0;l&&l.type!=="root";)u+=1,l=l.parent;if(s.includes(` 154`)){var f=this.raw(t,null,"indent");if(f.length)for(var p=0;p<u;p++)s+=f}return s},r.block=function(t,a){var s=this.raw(t,"between","beforeOpen");this.builder(a+s+"{",t,"start");var l;t.nodes&&t.nodes.length?(this.body(t),l=this.raw(t,"after")):l=this.raw(t,"after","emptyBody"),l&&this.builder(l),this.builder("}",t,"end")},r.body=function(t){for(var a=t.nodes.length-1;a>0&&t.nodes[a].type==="comment";)a-=1;for(var s=this.raw(t,"semicolon"),l=0;l<t.nodes.length;l++){var u=t.nodes[l],f=this.raw(u,"before");f&&this.builder(f),this.stringify(u,a!==l||s)}},r.comment=function(t){var a=this.raw(t,"left","commentLeft"),s=this.raw(t,"right","commentRight");this.builder("/*"+a+t.text+s+"*/",t)},r.decl=function(t,a){var s=this.raw(t,"between","colon"),l=t.prop+s+this.rawValue(t,"value");t.important&&(l+=t.raws.important||" !important"),a&&(l+=";"),this.builder(l,t)},r.document=function(t){this.body(t)},r.raw=function(t,a,s){var l;if(s||(s=a),a&&(l=t.raws[a],typeof l<"u"))return l;var u=t.parent;if(s==="before"&&(!u||u.type==="root"&&u.first===t||u&&u.type==="document"))return"";if(!u)return nw[s];var f=t.root();if(f.rawCache||(f.rawCache={}),typeof f.rawCache[s]<"u")return f.rawCache[s];if(s==="before"||s==="after")return this.beforeAfter(t,s);var p="raw"+h7(s);return this[p]?l=this[p](f,t):f.walk(function(m){if(l=m.raws[a],typeof l<"u")return!1}),typeof l>"u"&&(l=nw[s]),f.rawCache[s]=l,l},r.rawBeforeClose=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length>0&&typeof s.raws.after<"u")return a=s.raws.after,a.includes(` 155`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawBeforeComment=function(t,a){var s;return t.walkComments(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 156`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeDecl=function(t,a){var s;return t.walkDecls(function(l){if(typeof l.raws.before<"u")return s=l.raws.before,s.includes(` 157`)&&(s=s.replace(/[^\n]+$/,"")),!1}),typeof s>"u"?s=this.raw(a,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s},r.rawBeforeOpen=function(t){var a;return t.walk(function(s){if(s.type!=="decl"&&(a=s.raws.between,typeof a<"u"))return!1}),a},r.rawBeforeRule=function(t){var a;return t.walk(function(s){if(s.nodes&&(s.parent!==t||t.first!==s)&&typeof s.raws.before<"u")return a=s.raws.before,a.includes(` 158`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a},r.rawColon=function(t){var a;return t.walkDecls(function(s){if(typeof s.raws.between<"u")return a=s.raws.between.replace(/[^\s:]/g,""),!1}),a},r.rawEmptyBody=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length===0&&(a=s.raws.after,typeof a<"u"))return!1}),a},r.rawIndent=function(t){if(t.raws.indent)return t.raws.indent;var a;return t.walk(function(s){var l=s.parent;if(l&&l!==t&&l.parent&&l.parent===t&&typeof s.raws.before<"u"){var u=s.raws.before.split(` 159`);return a=u[u.length-1],a=a.replace(/\S/g,""),!1}}),a},r.rawSemicolon=function(t){var a;return t.walk(function(s){if(s.nodes&&s.nodes.length&&s.last.type==="decl"&&(a=s.raws.semicolon,typeof a<"u"))return!1}),a},r.rawValue=function(t,a){var s=t[a],l=t.raws[a];return l&&l.value===s?l.raw:s},r.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},r.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},r.stringify=function(t,a){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,a)},e})(),R6=yg;yg.default=yg;var p7=R6;function bg(e,r){var n=new p7(r);n.stringify(e)}var Zh=bg;bg.default=bg;var _f=os.isClean,m7=os.my,g7=jv,v7=R6,y7=Zh;function xg(e,r){var n=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t!=="proxyCache"){var a=e[t],s=typeof a>"u"?"undefined":Me(a);t==="parent"&&s==="object"?r&&(n[t]=r):t==="source"?n[t]=a:Array.isArray(a)?n[t]=a.map(function(l){return xg(l,n)}):(s==="object"&&a!==null&&(a=xg(a)),n[t]=a)}return n}var _g=(function(){function e(n){n===void 0&&(n={}),this.raws={},this[_f]=!1,this[m7]=!0;for(var t in n)if(t==="nodes"){this.nodes=[];for(var a=ae(n[t]),s;!(s=a()).done;){var l=s.value;typeof l.clone=="function"?this.append(l.clone()):this.append(l)}}else this[t]=n[t]}var r=e.prototype;return r.addToError=function(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){var a=this.source;t.stack=t.stack.replace(/\n\s{4}at /,"$&"+a.input.from+":"+a.start.line+":"+a.start.column+"$&")}return t},r.after=function(t){return this.parent.insertAfter(this,t),this},r.assign=function(t){t===void 0&&(t={});for(var a in t)this[a]=t[a];return this},r.before=function(t){return this.parent.insertBefore(this,t),this},r.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},r.clone=function(t){t===void 0&&(t={});var a=xg(this);for(var s in t)a[s]=t[s];return a},r.cloneAfter=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertAfter(this,a),a},r.cloneBefore=function(t){t===void 0&&(t={});var a=this.clone(t);return this.parent.insertBefore(this,a),a},r.error=function(t,a){if(a===void 0&&(a={}),this.source){var s=this.rangeBy(a),l=s.end,u=s.start;return this.source.input.error(t,{column:u.column,line:u.line},{column:l.column,line:l.line},a)}return new g7(t)},r.getProxyProcessor=function(){return{get:function(a,s){return s==="proxyOf"?a:s==="root"?function(){return a.root().toProxy()}:a[s]},set:function(a,s,l){return a[s]===l||(a[s]=l,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&a.markDirty()),!0}}},r.markDirty=function(){if(this[_f]){this[_f]=!1;for(var t=this;t=t.parent;)t[_f]=!1}},r.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},r.positionBy=function(t,a){var s=this.source.start;if(t.index)s=this.positionInside(t.index,a);else if(t.word){a=this.toString();var l=a.indexOf(t.word);l!==-1&&(s=this.positionInside(l,a))}return s},r.positionInside=function(t,a){for(var s=a||this.toString(),l=this.source.start.column,u=this.source.start.line,f=0;f<t;f++)s[f]===` 160`?(l=1,u+=1):l+=1;return{column:l,line:u}},r.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},r.rangeBy=function(t){var a={column:this.source.start.column,line:this.source.start.line},s=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:a.column+1,line:a.line};if(t.word){var l=this.toString(),u=l.indexOf(t.word);u!==-1&&(a=this.positionInside(u,l),s=this.positionInside(u+t.word.length,l))}else t.start?a={column:t.start.column,line:t.start.line}:t.index&&(a=this.positionInside(t.index)),t.end?s={column:t.end.column,line:t.end.line}:typeof t.endIndex=="number"?s=this.positionInside(t.endIndex):t.index&&(s=this.positionInside(t.index+1));return(s.line<a.line||s.line===a.line&&s.column<=a.column)&&(s={column:a.column+1,line:a.line}),{end:s,start:a}},r.raw=function(t,a){var s=new v7;return s.raw(this,t,a)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];if(this.parent){for(var l=this,u=!1,f=ae(a),p;!(p=f()).done;){var m=p.value;m===this?u=!0:u?(this.parent.insertAfter(l,m),l=m):this.parent.insertBefore(l,m)}u||this.remove()}return this},r.root=function(){for(var t=this;t.parent&&t.parent.type!=="document";)t=t.parent;return t},r.toJSON=function(t,a){var s={},l=a==null;a=a||new Map;var u=0;for(var f in this)if(Object.prototype.hasOwnProperty.call(this,f)&&!(f==="parent"||f==="proxyCache")){var p=this[f];if(Array.isArray(p))s[f]=p.map(function(g){return(typeof g>"u"?"undefined":Me(g))==="object"&&g.toJSON?g.toJSON(null,a):g});else if((typeof p>"u"?"undefined":Me(p))==="object"&&p.toJSON)s[f]=p.toJSON(null,a);else if(f==="source"){var m=a.get(p.input);m==null&&(m=u,a.set(p.input,u),u++),s[f]={end:p.end,inputId:m,start:p.start}}else s[f]=p}return l&&(s.inputs=[].concat(a.keys()).map(function(g){return g.toJSON()})),s},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(t){t===void 0&&(t=y7),t.stringify&&(t=t.stringify);var a="";return t(this,function(s){a+=s}),a},r.warn=function(t,a,s){var l={node:this};for(var u in s)l[u]=s[u];return t.warn(a,l)},Rt(e,[{key:"proxyOf",get:function(){return this}}]),e})(),e0=_g;_g.default=_g;var b7=e0,wg=(function(e){$t(r,e);function r(n){var t;return n&&typeof n.value<"u"&&typeof n.value!="string"&&(n=He({},n,{value:String(n.value)})),t=e.call(this,n)||this,t.type="decl",t}return Rt(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(b7),t0=wg;wg.default=wg;var x7="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",_7=function(e){e===void 0&&(e=21);for(var r="",n=e;n--;)r+=x7[Math.random()*64|0];return r},w7={nanoid:_7},aw=ir.SourceMapConsumer,iw=ir.SourceMapGenerator,S7=ir.existsSync,E7=ir.readFileSync,r1=ir.dirname,C7=ir.join;function M7(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var Sg=(function(){function e(n,t){if(t.map!==!1){this.loadAnnotation(n),this.inline=this.startWith(this.annotation,"data:");var a=t.map?t.map.prev:void 0,s=this.loadMap(t.from,a);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=r1(this.mapFile)),s&&(this.text=s)}}var r=e.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new aw(this.text)),this.consumerCache},r.decodeInline=function(t){var a=/^data:application\/json;charset=utf-?8;base64,/,s=/^data:application\/json;base64,/,l=/^data:application\/json;charset=utf-?8,/,u=/^data:application\/json,/;if(l.test(t)||u.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(a.test(t)||s.test(t))return M7(t.substr(RegExp.lastMatch.length));var f=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+f)},r.getAnnotationURL=function(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(t){return(typeof t>"u"?"undefined":Me(t))!=="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)},r.loadAnnotation=function(t){var a=t.match(/\/\*\s*# sourceMappingURL=/gm);if(a){var s=t.lastIndexOf(a.pop()),l=t.indexOf("*/",s);s>-1&&l>-1&&(this.annotation=this.getAnnotationURL(t.substring(s,l)))}},r.loadFile=function(t){if(this.root=r1(t),S7(t))return this.mapFile=t,E7(t,"utf-8").toString().trim()},r.loadMap=function(t,a){if(a===!1)return!1;if(a){if(typeof a=="string")return a;if(typeof a=="function"){var s=a(t);if(s){var l=this.loadFile(s);if(!l)throw new Error("Unable to load previous source map: "+s.toString());return l}}else{if(Ee(a,aw))return iw.fromSourceMap(a).toString();if(Ee(a,iw))return a.toString();if(this.isMap(a))return JSON.stringify(a);throw new Error("Unsupported previous source map format: "+a.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var u=this.annotation;return t&&(u=C7(r1(t),u)),this.loadFile(u)}}},r.startWith=function(t,a){return t?t.substr(0,a.length)===a:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e})(),O6=Sg;Sg.default=Sg;var k7=ir.SourceMapConsumer,N7=ir.SourceMapGenerator,sw=ir.fileURLToPath,wf=ir.pathToFileURL,Eg=ir.isAbsolute,Cg=ir.resolve,j7=w7.nanoid,n1=ir,ow=jv,A7=O6,a1=Symbol("fromOffsetCache"),R7=!!(k7&&N7),lw=!!(Cg&&Eg),gh=(function(){function e(n,t){if(t===void 0&&(t={}),n===null||typeof n>"u"||(typeof n>"u"?"undefined":Me(n))==="object"&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!lw||/^\w+:\/\//.test(t.from)||Eg(t.from)?this.file=t.from:this.file=Cg(t.from)),lw&&R7){var a=new A7(this.css,t);if(a.text){this.map=a;var s=a.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+j7(6)+">"),this.map&&(this.map.file=this.from)}var r=e.prototype;return r.error=function(t,a,s,l){l===void 0&&(l={});var u,f,p;if(a&&(typeof a>"u"?"undefined":Me(a))==="object"){var m=a,g=s;if(typeof m.offset=="number"){var y=this.fromOffset(m.offset);a=y.line,s=y.col}else a=m.line,s=m.column;if(typeof g.offset=="number"){var _=this.fromOffset(g.offset);f=_.line,p=_.col}else f=g.line,p=g.column}else if(!s){var w=this.fromOffset(a);a=w.line,s=w.col}var C=this.origin(a,s,f,p);return C?u=new ow(t,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,l.plugin):u=new ow(t,f===void 0?a:{column:s,line:a},f===void 0?s:{column:p,line:f},this.css,this.file,l.plugin),u.input={column:s,endColumn:p,endLine:f,line:a,source:this.css},this.file&&(wf&&(u.input.url=wf(this.file).toString()),u.input.file=this.file),u},r.fromOffset=function(t){var a,s;if(this[a1])s=this[a1];else{var l=this.css.split(` 161`);s=new Array(l.length);for(var u=0,f=0,p=l.length;f<p;f++)s[f]=u,u+=l[f].length+1;this[a1]=s}a=s[s.length-1];var m=0;if(t>=a)m=s.length-1;else for(var g=s.length-2,y;m<g;)if(y=m+(g-m>>1),t<s[y])g=y-1;else if(t>=s[y+1])m=y+1;else{m=y;break}return{col:t-s[m]+1,line:m+1}},r.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:Cg(this.map.consumer().sourceRoot||this.map.root||".",t)},r.origin=function(t,a,s,l){if(!this.map)return!1;var u=this.map.consumer(),f=u.originalPositionFor({column:a,line:t});if(!f.source)return!1;var p;typeof s=="number"&&(p=u.originalPositionFor({column:l,line:s}));var m;Eg(f.source)?m=wf(f.source):m=new URL(f.source,this.map.consumer().sourceRoot||wf(this.map.mapFile));var g={column:f.column,endColumn:p&&p.column,endLine:p&&p.line,line:f.line,url:m.toString()};if(m.protocol==="file:")if(sw)g.file=sw(m);else throw new Error("file: protocol is not available in this PostCSS build");var y=u.sourceContentFor(f.source);return y&&(g.source=y),g},r.toJSON=function(){for(var t={},a=0,s=["hasBOM","css","file","id"];a<s.length;a++){var l=s[a];this[l]!=null&&(t[l]=this[l])}return this.map&&(t.map=He({},this.map),t.map.consumerCache&&(t.map.consumerCache=void 0)),t},Rt(e,[{key:"from",get:function(){return this.file||this.id}}]),e})(),r0=gh;gh.default=gh;n1&&n1.registerInput&&n1.registerInput(gh);var T6=ir.SourceMapConsumer,Hf=ir.SourceMapGenerator,Gf=ir.dirname,I6=ir.relative,L6=ir.resolve,$6=ir.sep,cw=ir.pathToFileURL,O7=r0,T7=!!(T6&&Hf),I7=!!(Gf&&L6&&I6&&$6),L7=(function(){function e(n,t,a,s){this.stringify=n,this.mapOpts=a.map||{},this.root=t,this.opts=a,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var r=e.prototype;return r.addAnnotation=function(){var t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";var a=` 162`;this.css.includes(`\r 163`)&&(a=`\r 164`),this.css+=a+"/*# sourceMappingURL="+t+" */"},r.applyPrevMaps=function(){for(var t=ae(this.previous()),a;!(a=t()).done;){var s=a.value,l=this.toUrl(this.path(s.file)),u=s.root||Gf(s.file),f=void 0;this.mapOpts.sourcesContent===!1?(f=new T6(s.text),f.sourcesContent&&(f.sourcesContent=null)):f=s.consumer(),this.map.applySourceMap(f,l,this.toUrl(this.path(u)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var t,a=this.root.nodes.length-1;a>=0;a--)t=this.root.nodes[a],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(a);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),I7&&T7&&this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(a){t+=a}),[t]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=Hf.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new Hf({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},r.generateString=function(){var t=this;this.css="",this.map=new Hf({file:this.outputFile(),ignoreInvalidMapping:!0});var a=1,s=1,l="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},f,p;this.stringify(this.root,function(m,g,y){if(t.css+=m,g&&y!=="end"&&(u.generated.line=a,u.generated.column=s-1,g.source&&g.source.start?(u.source=t.sourcePath(g),u.original.line=g.source.start.line,u.original.column=g.source.start.column-1,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,t.map.addMapping(u))),f=m.match(/\n/g),f?(a+=f.length,p=m.lastIndexOf(` 165`),s=m.length-p):s+=m.length,g&&y!=="start"){var _=g.parent||{raws:{}},w=g.type==="decl"||g.type==="atrule"&&!g.nodes;(!w||g!==_.last||_.raws.semicolon)&&(g.source&&g.source.end?(u.source=t.sourcePath(g),u.original.line=g.source.end.line,u.original.column=g.source.end.column-1,u.generated.line=a,u.generated.column=s-2,t.map.addMapping(u)):(u.source=l,u.original.line=1,u.original.column=0,u.generated.line=a,u.generated.column=s-1,t.map.addMapping(u)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(t){return t.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(function(a){return a.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(t){return t.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;var a=this.memoizedPaths.get(t);if(a)return a;var s=this.opts.to?Gf(this.opts.to):".";
vendor: 4,226 bytes, line 165
165typeof this.mapOpts.annotation=="string"&&(s=Gf(L6(s,this.mapOpts.annotation)));var l=I6(s,t);return this.memoizedPaths.set(t,l),l},r.previous=function(){var t=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(s){if(s.source&&s.source.input.map){var l=s.source.input.map;t.previousMaps.includes(l)||t.previousMaps.push(l)}});else{var a=new O7(this.originalCSS,this.opts);a.map&&this.previousMaps.push(a.map)}return this.previousMaps},r.setSourcesContent=function(){var t=this,a={};if(this.root)this.root.walk(function(l){if(l.source){var u=l.source.input.from;if(u&&!a[u]){a[u]=!0;var f=t.usesFileUrls?t.toFileUrl(u):t.toUrl(t.path(u));t.map.setSourceContent(f,l.source.input.css)}}});else if(this.css){var s=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(s,this.css)}},r.sourcePath=function(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))},r.toBase64=function(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},r.toFileUrl=function(t){var a=this.memoizedFileURLs.get(t);if(a)return a;if(cw){var s=cw(t).toString();return this.memoizedFileURLs.set(t,s),s}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(t){var a=this.memoizedURLs.get(t);if(a)return a;$6==="\\"&&(t=t.replace(/\\/g,"/"));var s=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,s),s},e})(),D6=L7,$7=e0,Mg=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="comment",t}return r})($7),n0=Mg;Mg.default=Mg;var U6=os.isClean,P6=os.my,z6=t0,B6=n0,D7=e0,F6,Av,Rv,q6;function H6(e){return e.map(function(r){return r.nodes&&(r.nodes=H6(r.nodes)),delete r.source,r})}function G6(e){if(e[U6]=!1,e.proxyOf.nodes)for(var r=ae(e.proxyOf.nodes),n;!(n=r()).done;){var t=n.value;G6(t)}}var fi=(function(e){$t(r,e);function r(){return e.apply(this,arguments)||this}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];for(var u=ae(s),f;!(f=u()).done;)for(var p=f.value,m=this.normalize(p,this.last),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.push(_)}return this.markDirty(),this},n.cleanRaws=function(a){if(e.prototype.cleanRaws.call(this,a),this.nodes)for(var s=ae(this.nodes),l;!(l=s()).done;){var u=l.value;u.cleanRaws(a)}},n.each=function(a){if(this.proxyOf.nodes){for(var s=this.getIterator(),l,u;this.indexes[s]<this.proxyOf.nodes.length&&(l=this.indexes[s],u=a(this.proxyOf.nodes[l],l),u!==!1);)this.indexes[s]+=1;return delete this.indexes[s],u}},n.every=function(a){return this.nodes.every(a)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var a=this.lastEach;return this.indexes[a]=0,a},n.getProxyProcessor=function(){return{get:function(s,l){return l==="proxyOf"?s:s[l]?l==="each"||typeof l=="string"&&l.startsWith("walk")?function(){for(var u=arguments.length,f=new Array(u),p=0;p<u;p++)f[p]=arguments[p];var m;return(m=s)[l].apply(m,[].concat(f.map(function(g){return typeof g=="function"?function(y,_){return g(y.toProxy(),_)}:g})))}:l==="every"||l==="some"?function(u){return s[l](function(f){for(var p=arguments.length,m=new Array(p>1?p-1:0),g=1;g<p;g++)m[g-1]=arguments[g];return u.apply(void 0,[].concat([f.toProxy()],m))})}:l==="root"?function(){return s.root().toProxy()}:l==="nodes"?s.nodes.map(function(u){return u.toProxy()}):l==="first"||l==="last"?s[l].toProxy():s[l]:s[l]},set:function(s,l,u){return s[l]===u||(s[l]=u,(l==="name"||l==="params"||l==="selector")&&s.markDirty()),!0}}},n.index=function(a){return typeof a=="number"?a:(a.proxyOf&&(a=a.proxyOf),this.proxyOf.nodes.indexOf(a))},n.insertAfter=function(a,s){var l=this.index(a),u=this.normalize(s,this.proxyOf.nodes[l]).reverse();l=this.index(a);for(var f=ae(u),p;!(p=f()).done;){var m=p.value;this.proxyOf.nodes.splice(l+1,0,m)}var g;for(var y in this.indexes)g=this.indexes[y],l<g&&(this.indexes[y]=g+u.length);return this.markDirty(),this},n.insertBefore=function(a,s){var l=this.index(a),u=l===0?"prepe
165nd":!1,f=this.normalize(s,this.proxyOf.nodes[l],u).reverse();l=this.index(a);for(var p=ae(f),m;!(m=p()).done;){var g=m.value;this.proxyOf.nodes.splice(l,0,g)}var y;for(var _ in this.indexes)y=this.indexes[_],l<=y&&(this.indexes[_]=y+f.length);return this.markDirty(),this},n.normalize=function(a,s){var l=this;if(typeof a=="string")a=H6(F6(a).nodes);else if(typeof a>"u")a=[];else if(Array.isArray(a)){a=a.slice(0);for(var u=ae(a),f;!(f=u()).done;){var p=f.value;p.parent&&p.parent.removeChild(p,"ignore")}}else if(a.type==="root"&&this.type!=="document"){a=a.nodes.slice(0);for(var m=ae(a),g;!(g=m()).done;){var y=g.value;y.parent&&y.parent.removeChild(y,"ignore")}}else if(a.type)a=[a];else if(a.prop){if(typeof a.value>"u")throw new Error("Value field is missed in node creation");typeof a.value!="string"&&(a.value=String(a.value)),a=[new z6(a)]}else if(a.selector)a=[new Av(a)];else if(a.name)a=[new Rv(a)];else if(a.text)a=[new B6(a)];else throw new Error("Unknown node type in node creation");var _=a.map(function(w){return w[P6]||r.rebuild(w),w=w.proxyOf,w.parent&&w.parent.removeChild(w),w[U6]&&G6(w),typeof w.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(w.raws.before=s.raws.before.replace(/\S/g,"")),w.parent=l.proxyOf,w});return _},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];s=s.reverse();for(var u=ae(s),f;!(f=u()).done;){for(var p=f.value,m=this.normalize(p,this.first,"prepend").reverse(),g=ae(m),y;!(y=g()).done;){var _=y.value;this.proxyOf.nodes.unshift(_)}for(var w in this.indexes)this.indexes[w]=this.indexes[w]+m.length}return this.markDirty(),this},n.push=function(a){return a.parent=this,this.proxyOf.nodes.push(a),this},n.removeAll=function(){for(var a=ae(this.proxyOf.nodes),s;!(s=a()).done;){var l=s.value;l.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(a){a=this.index(a),this.proxyOf.nodes[a].parent=void 0,this.proxyOf.nodes.splice(a,1);var s;for(var l in this.indexes)s=this.indexes[l],s>=a&&(this.indexes[l]=s-1);return this.markDirty(),this},n.replaceValues=function(a,s,l){return l||(l=s,s={}),this.walkDecls(function(u){s.props&&!s.props.includes(u.prop)||s.fast&&!u.value.includes(s.fast)||(u.value=u.value.replace(a,l))}),this.markDirty(),this},n.some=function(a){return this.nodes.some(a)},n.walk=function(a){return this.each(function(s,l){var u;try{u=a(s,l)}catch(f){throw s.addToError(f)}return u!==!1&&s.walk&&(u=s.walk(a)),u})},n.walkAtRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="atrule"&&a.test(l.name))return s(l,u)}):this.walk(function(l,u){if(l.type==="atrule"&&l.name===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="atrule")return s(l,u)}))},n.walkComments=function(a){return this.walk(function(s,l){if(s.type==="comment")return a(s,l)})},n.walkDecls=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="decl"&&a.test(l.prop))return s(l,u)}):this.walk(function(l,u){if(l.type==="decl"&&l.prop===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="decl")return s(l,u)}))},n.walkRules=function(a,s){return s?Ee(a,RegExp)?this.walk(function(l,u){if(l.type==="rule"&&a.test(l.selector))return s(l,u)}):this.walk(function(l,u){if(l.type==="rule"&&l.selector===a)return s(l,u)}):(s=a,this.walk(function(l,u){if(l.type==="rule")return s(l,u)}))},Rt(r,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),r})(D7);fi.registerParse=function(e){F6=e};fi.registerRule=function(e){Av=e};fi.registerAtRule=function(e){Rv=e};fi.registerRoot=function(e){q6=e};var Gs=fi;fi.default=fi;fi.rebuild=function(e){e.type==="atrule"?Object.setPrototypeOf(e,Rv.prototype):e.type==="rule"?Object.setPrototypeOf(e,Av.prototype):e.type==="decl"?Object.setPrototypeOf(e,z6.prototype):e.type==="comment"?Object.setPrototypeOf(e,B6.prototype):e.type==="root"&&Object.setPrototypeOf(e,q6.prototype),e[P6]=!0,e.nodes&&e.nodes.forEach(function(r){fi.rebuild(r)})};var U7=Gs,V6,Y6,ou=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,He({type:"document"},t))||this,a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.toResult=function(a){a===void 0&&(a={});var s=new V6(new Y6,this,a);return s.stringify()},r})(U7);ou.registerLazyResult=function(e){V6=e};ou.registerProcessor=function(e){Y6=e};var Ov=ou;ou.default=ou;var kg=(function(){function e(n,t){if(t===void 0&&(t={}),this.type="warning",this.text=n,t.node&&t.node.source){var a=t.node.rangeBy(t);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(var s in t)this[s]=t[s]}
vendor: 29,194 bytes, lines 165-175
165var r=e.prototype;return r.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e})(),K6=kg;kg.default=kg;var P7=K6,Ng=(function(){function e(n,t,a){this.processor=n,this.messages=[],this.root=t,this.opts=a,this.css=void 0,this.map=void 0}var r=e.prototype;return r.toString=function(){return this.css},r.warn=function(t,a){a===void 0&&(a={}),a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);var s=new P7(t,a);return this.messages.push(s),s},r.warnings=function(){return this.messages.filter(function(t){return t.type==="warning"})},Rt(e,[{key:"content",get:function(){return this.css}}]),e})(),Tv=Ng;Ng.default=Ng;var i1=39,uw=34,Sf=92,dw=47,Ef=10,wc=32,Cf=12,Mf=9,kf=13,z7=91,B7=93,F7=40,q7=41,H7=123,G7=125,V7=59,Y7=42,K7=58,W7=64,Nf=/[\t\n\f\r "#'()/;[\\\]{}]/g,jf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,J7=/.[\r\n"'(/\\]/,fw=/[\da-f]/i,X7=function(r,n){n===void 0&&(n={});var t=r.css.valueOf(),a=n.ignoreErrors,s,l,u,f,p,m,g,y,_,w,C=t.length,x=0,S=[],k=[];function j(){return x}function O(z){throw r.error("Unclosed "+z,x)}function $(){return k.length===0&&x>=C}function T(z){if(k.length)return k.pop();if(!(x>=C)){var J=z?z.ignoreUnclosed:!1;switch(s=t.charCodeAt(x),s){case Ef:case wc:case Mf:case kf:case Cf:{l=x;do l+=1,s=t.charCodeAt(l);while(s===wc||s===Ef||s===Mf||s===kf||s===Cf);w=["space",t.slice(x,l)],x=l-1;break}case z7:case B7:case H7:case G7:case K7:case V7:case q7:{var de=String.fromCharCode(s);w=[de,de,x];break}case F7:{if(y=S.length?S.pop()[1]:"",_=t.charCodeAt(x+1),y==="url"&&_!==i1&&_!==uw&&_!==wc&&_!==Ef&&_!==Mf&&_!==Cf&&_!==kf){l=x;do{if(m=!1,l=t.indexOf(")",l+1),l===-1)if(a||J){l=x;break}else O("bracket");for(g=l;t.charCodeAt(g-1)===Sf;)g-=1,m=!m}while(m);w=["brackets",t.slice(x,l+1),x,l],x=l}else l=t.indexOf(")",x+1),f=t.slice(x,l+1),l===-1||J7.test(f)?w=["(","(",x]:(w=["brackets",f,x,l],x=l);break}case i1:case uw:{u=s===i1?"'":'"',l=x;do{if(m=!1,l=t.indexOf(u,l+1),l===-1)if(a||J){l=x+1;break}else O("string");for(g=l;t.charCodeAt(g-1)===Sf;)g-=1,m=!m}while(m);w=["string",t.slice(x,l+1),x,l],x=l;break}case W7:{Nf.lastIndex=x+1,Nf.test(t),Nf.lastIndex===0?l=t.length-1:l=Nf.lastIndex-2,w=["at-word",t.slice(x,l+1),x,l],x=l;break}case Sf:{for(l=x,p=!0;t.charCodeAt(l+1)===Sf;)l+=1,p=!p;if(s=t.charCodeAt(l+1),p&&s!==dw&&s!==wc&&s!==Ef&&s!==Mf&&s!==kf&&s!==Cf&&(l+=1,fw.test(t.charAt(l)))){for(;fw.test(t.charAt(l+1));)l+=1;t.charCodeAt(l+1)===wc&&(l+=1)}w=["word",t.slice(x,l+1),x,l],x=l;break}default:{s===dw&&t.charCodeAt(x+1)===Y7?(l=t.indexOf("*/",x+2)+1,l===0&&(a||J?l=t.length:O("comment")),w=["comment",t.slice(x,l+1),x,l],x=l):(jf.lastIndex=x+1,jf.test(t),jf.lastIndex===0?l=t.length-1:l=jf.lastIndex-2,w=["word",t.slice(x,l+1),x,l],S.push(w),x=l);break}}return x++,w}}function D(z){k.push(z)}return{back:D,endOfFile:$,nextToken:T,position:j}},W6=Gs,vh=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="atrule",a}var n=r.prototype;return n.append=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.append).call.apply(u,[].concat([this],s))},n.prepend=function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];var u;return this.proxyOf.nodes||(this.nodes=[]),(u=e.prototype.prepend).call.apply(u,[].concat([this],s))},r})(W6),Iv=vh;vh.default=vh;W6.registerAtRule(vh);var J6=Gs,X6,Q6,dl=(function(e){$t(r,e);function r(t){var a;return a=e.call(this,t)||this,a.type="root",a.nodes||(a.nodes=[]),a}var n=r.prototype;return n.normalize=function(a,s,l){var u=e.prototype.normalize.call(this,a);if(s){if(l==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(var f=ae(u),p;!(p=f()).done;){var m=p.value;m.raws.before=s.raws.before}}return u},n.removeChild=function(a,s){var l=this.index(a);return!s&&l===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[l].raws.before),e.prototype.removeChild.call(this,a)},n.toResult=function(a){a===void 0&&(a={});var s=new X6(new Q6,this,a);return s.stringify()},r})(J6);dl.registerLazyResult=function(e){X6=e};dl.registerProcessor=function(e){Q6=e};var Su=dl;dl.default=dl;J6.registerRoot(dl);var lu={comma:function(r){return lu.split(r,[","],!0)},space:function(r){var n=[" ",` 166`," "];return lu.split(r,n)},split:function(r,n,t){for(var a=[],s="",l=!1,u=0,f=!1,p="",m=!1,g=ae(r),y;!(y=g()).done;){var _=y.value;m?m=!1:_==="\\"?m=!0:f?_===p&&(f=!1):_==='"'||_==="'"?(f=!0,p=_):_==="("?u+=1:_===")"?u>0&&(u-=1):u===0&&n.includes(_)&&(l=!0),l?(s!==""&&a.push(s.trim()),s="",l=!1):s+=_}return(t||s!=="")&&a.push(s.trim()),a}},Z6=lu;lu.default=lu;var e4=Gs,Q7=Z6,yh=(function(e){$t(r,e);function r(n){var t;return t=e.call(this,n)||this,t.type="rule",t.nodes||(t.nodes=[]),t}return Rt(r,[{key:"selectors",get:function(){return Q7.comma(this.selector)},set:function(t){var a=this.selector?this.selector.match(/,\s*/):null,s=a?a[0]:","+this.raw("between","beforeOpen");this.selector=t.join(s)}}]),r})(e4),Lv=yh;yh.default=yh;e4.registerRule(yh);var Z7=t0,eL=X7,tL=n0,rL=Iv,nL=Su,hw=Lv,pw={empty:!0,space:!0};function aL(e){for(var r=e.length-1;r>=0;r--){var n=e[r],t=n[3]||n[2];if(t)return t}}var iL=(function(){function e(n){this.input=n,this.root=new nL,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:n,start:{column:1,line:1,offset:0}}}var r=e.prototype;return r.atrule=function(t){var a=new rL;a.name=t[1].slice(1),a.name===""&&this.unnamedAtrule(a,t),this.init(a,t[2]);for(var s,l,u,f=!1,p=!1,m=[],g=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),s=t[0],s==="("||s==="["?g.push(s==="("?")":"]"):s==="{"&&g.length>0?g.push("}"):s===g[g.length-1]&&g.pop(),g.length===0)if(s===";"){a.source.end=this.getPosition(t[2]),a.source.end.offset++,this.semicolon=!0;break}else if(s==="{"){p=!0;break}else if(s==="}"){if(m.length>0){for(u=m.length-1,l=m[u];l&&l[0]==="space";)l=m[--u];l&&(a.source.end=this.getPosition(l[3]||l[2]),a.source.end.offset++)}this.end(t);break}else m.push(t);else m.push(t);if(this.tokenizer.endOfFile()){f=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(a.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(a,"params",m),f&&(t=m[m.length-1],a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++,this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),p&&(a.nodes=[],this.current=a)},r.checkMissedSemicolon=function(t){var a=this.colon(t);if(a!==!1){for(var s=0,l,u=a-1;u>=0&&(l=t[u],!(l[0]!=="space"&&(s+=1,s===2)));u--);throw this.input.error("Missed semicolon",l[0]==="word"?l[3]+1:l[2])}},r.colon=function(t){for(var a=0,s,l,u,f=ae(t.entries()),p;!(p=f()).done;){var m=p.value,g=m[0],y=m[1];if(s=y,l=s[0],l==="("&&(a+=1),l===")"&&(a-=1),a===0&&l===":")if(!u)this.doubleColon(s);else{if(u[0]==="word"&&u[1]==="progid")continue;return g}u=s}return!1},r.comment=function(t){var a=new tL;this.init(a,t[2]),a.source.end=this.getPosition(t[3]||t[2]),a.source.end.offset++;var s=t[1].slice(2,-2);if(/^\s*$/.test(s))a.text="",a.raws.left=s,a.raws.right="";else{var l=s.match(/^(\s*)([^]*\S)(\s*)$/);a.text=l[2],a.raws.left=l[1],a.raws.right=l[3]}},r.createTokenizer=function(){this.tokenizer=eL(this.input)},r.decl=function(t,a){var s=new Z7;this.init(s,t[0][2]);var l=t[t.length-1];for(l[0]===";"&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(l[3]||l[2]||aL(t)),s.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){var u=t[0][0];if(u===":"||u==="space"||u==="comment")break;s.prop+=t.shift()[1]}s.raws.between="";for(var f;t.length;)if(f=t.shift(),f[0]===":"){s.raws.between+=f[1];break}else f[0]==="word"&&/\w/.test(f[1])&&this.unknownWord([f]),s.raws.between+=f[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));for(var p=[],m;t.length&&(m=t[0][0],!(m!=="space"&&m!=="comment"));)p.push(t.shift());this.precheckMissedSemicolon(t);for(var g=t.length-1;g>=0;g--){if(f=t[g],f[1].toLowerCase()==="!important"){s.important=!0;var y=this.stringFrom(t,g);y=this.spacesFromEnd(t)+y,y!==" !important"&&(s.raws.important=y);break}else if(f[1].toLowerCase()==="important"){for(var _=t.slice(0),w="",C=g;C>0;C--){var x=_[C][0];if(w.trim().indexOf("!")===0&&x!=="space")break;w=_.pop()[1]+w}w.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=w,t=_)}if(f[0]!=="space"&&f[0]!=="comment")break}var S=t.some(function(k){return k[0]!=="space"&&k[0]!=="comment"});S&&(s.raws.between+=p.map(function(k){return k[1]}).join(""),p=[]),this.raw(s,"value",p.concat(t),a),s.value.includes(":")&&!a&&this.checkMissedSemicolon(t)},r.doubleColon=function(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})},r.emptyRule=function(t){var a=new hw;this.init(a,t[2]),a.selector="",a.raws.between="",this.current=a},r.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)},r.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},r.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var a=this.current.nodes[this.current.nodes.length-1];a&&a.type==="rule"&&!a.raws.ownSemicolon&&(a.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(t){var a=this.input.fromOffset(t);return{column:a.col,line:a.line,offset:t}},r.init=function(t,a){this.current.push(t),t.source={input:this.input,start:this.getPosition(a)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)},r.other=function(t){for(var a=!1,s=null,l=!1,u=null,f=[],p=t[1].startsWith("--"),m=[],g=t;g;){if(s=g[0],m.push(g),s==="("||s==="[")u||(u=g),f.push(s==="("?")":"]");else if(p&&l&&s==="{")u||(u=g),f.push("}");else if(f.length===0)if(s===";")if(l){this.decl(m,p);return}else break;else if(s==="{"){this.rule(m);return}else if(s==="}"){this.tokenizer.back(m.pop()),a=!0;break}else s===":"&&(l=!0);else s===f[f.length-1]&&(f.pop(),f.length===0&&(u=null));g=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(a=!0),f.length>0&&this.unclosedBracket(u),a&&l){if(!p)for(;m.length&&(g=m[m.length-1][0],!(g!=="space"&&g!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,p)}else this.unknownWord(m)},r.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(t,a,s,l){for(var u,f,p=s.length,m="",g=!0,y,_,w=0;w<p;w+=1)u=s[w],f=u[0],f==="space"&&w===p-1&&!l?g=!1:f==="comment"?(_=s[w-1]?s[w-1][0]:"empty",y=s[w+1]?s[w+1][0]:"empty",!pw[_]&&!pw[y]?m.slice(-1)===","?g=!1:m+=u[1]:g=!1):m+=u[1];if(!g){var C=s.reduce(function(x,S){return x+S[1]},"");t.raws[a]={raw:C,value:m}}t[a]=m},r.rule=function(t){t.pop();var a=new hw;this.init(a,t[0][2]),a.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(a,"selector",t),this.current=a},r.spacesAndCommentsFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],!(a!=="space"&&a!=="comment"));)s=t.pop()[1]+s;return s},r.spacesAndCommentsFromStart=function(t){for(var a,s="";t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s+=t.shift()[1];return s},r.spacesFromEnd=function(t){for(var a,s="";t.length&&(a=t[t.length-1][0],a==="space");)s=t.pop()[1]+s;return s},r.stringFrom=function(t,a){for(var s="",l=a;l<t.length;l++)s+=t[l][1];return t.splice(a,t.length-a),s},r.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},r.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})},r.unexpectedClose=function(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})},r.unknownWord=function(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})},r.unnamedAtrule=function(t,a){throw this.input.error("At-rule without name",{offset:a[2]},{offset:a[2]+a[1].length})},e})(),sL=iL,oL=Gs,lL=sL,cL=r0;function bh(e,r){var n=new cL(e,r),t=new lL(n);try{t.parse()}catch(a){throw a}return t.root}var $v=bh;bh.default=bh;oL.registerParse(bh);var Aa=os.isClean,uL=os.my,dL=D6,fL=Zh,hL=Gs,pL=Ov,mw=Tv,mL=$v,gL=Su,vL={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},yL={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},bL={Once:!0,postcssPlugin:!0,prepare:!0},fl=0;function Sc(e){return(typeof e>"u"?"undefined":Me(e))==="object"&&typeof e.then=="function"}function t4(e){var r=!1,n=vL[e.type];return e.type==="decl"?r=e.prop.toLowerCase():e.type==="atrule"&&(r=e.name.toLowerCase()),r&&e.append?[n,n+"-"+r,fl,n+"Exit",n+"Exit-"+r]:r?[n,n+"-"+r,n+"Exit",n+"Exit-"+r]:e.append?[n,fl,n+"Exit"]:[n,n+"Exit"]}function gw(e){var r;return e.type==="document"?r=["Document",fl,"DocumentExit"]:e.type==="root"?r=["Root",fl,"RootExit"]:r=t4(e),{eventIndex:0,events:r,iterator:0,node:e,visitorIndex:0,visitors:[]}}function jg(e){return e[Aa]=!1,e.nodes&&e.nodes.forEach(function(r){return jg(r)}),e}var Ag={},hl=(function(){function e(n,t,a){var s=this;this.stringified=!1,this.processed=!1;var l;if((typeof t>"u"?"undefined":Me(t))==="object"&&t!==null&&(t.type==="root"||t.type==="document"))l=jg(t);else if(Ee(t,e)||Ee(t,mw))l=jg(t.root),t.map&&(typeof a.map>"u"&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=t.map);else{var u=mL;a.syntax&&(u=a.syntax.parse),a.parser&&(u=a.parser),u.parse&&(u=u.parse);try{l=u(t,a)}catch(f){this.processed=!0,this.error=f}l&&!l[uL]&&hL.rebuild(l)}this.result=new mw(n,l,a),this.helpers=He({},Ag,{postcss:Ag,result:this.result}),this.plugins=this.processor.plugins.map(function(f){return(typeof f>"u"?"undefined":Me(f))==="object"&&f.prepare?He({},f,f.prepare(s.result)):f})}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(t,a){var s=this.result.lastPlugin;try{if(a&&a.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=s.postcssPlugin,t.setMessage();else if(s.postcssVersion)var l,u,f,p,m}catch(g){console&&console.error&&console.error(g)}return t},r.prepareVisitors=function(){var t=this;this.listeners={};for(var a=function(m,g,y){t.listeners[g]||(t.listeners[g]=[]),t.listeners[g].push([m,y])},s=ae(this.plugins),l;!(l=s()).done;){var u=l.value;if((typeof u>"u"?"undefined":Me(u))==="object")for(var f in u){if(!yL[f]&&/^[A-Z]/.test(f))throw new Error("Unknown event "+f+" in "+u.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!bL[f])if(Me(u[f])==="object")for(var p in u[f])p==="*"?a(u,f,u[f][p]):a(u,f+"-"+p.toLowerCase(),u[f][p]);else typeof u[f]=="function"&&a(u,f,u[f])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var t=this;return Bh(function(){var a,s,l,u,f,p,m,g,y,_,w,C;return Us(this,function(x){switch(x.label){case 0:t.plugin=0,a=0,x.label=1;case 1:if(!(a<t.plugins.length))return[3,6];if(s=t.plugins[a],l=t.runOnRoot(s),!Sc(l))return[3,5];x.label=2;case 2:return x.trys.push([2,4,,5]),[4,l];case 3:return x.sent(),[3,5];case 4:throw u=x.sent(),t.handleError(u);case 5:return a++,[3,1];case 6:if(t.prepareVisitors(),!t.hasListener)return[3,18];f=t.result.root,x.label=7;case 7:if(f[Aa])return[3,14];f[Aa]=!0,p=[gw(f)],x.label=8;case 8:if(!(p.length>0))return[3,13];if(m=t.visitTick(p),!Sc(m))return[3,12];x.label=9;case 9:return x.trys.push([9,11,,12]),[4,m];case 10:return x.sent(),[3,12];case 11:throw g=x.sent(),y=p[p.length-1].node,t.handleError(g,y);case 12:return[3,8];case 13:return[3,7];case 14:if(!t.listeners.OnceExit)return[3,18];_=function(){var S,k,j,O,$;return Us(this,function(T){switch(T.label){case 0:S=C.value,k=S[0],j=S[1],t.result.lastPlugin=k,T.label=1;case 1:return T.trys.push([1,6,,7]),f.type!=="document"?[3,3]:(O=f.nodes.map(function(D){return j(D,t.helpers)}),[4,Promise.all(O)]);case 2:return T.sent(),[3,5];case 3:return[4,j(f,t.helpers)];case 4:T.sent(),T.label=5;case 5:return[3,7];case 6:throw $=T.sent(),t.handleError($);case 7:return[2]}})},w=ae(t.listeners.OnceExit),x.label=15;case 15:return(C=w()).done?[3,18]:[5,nv(_())];case 16:x.sent(),x.label=17;case 17:return[3,15];case 18:return t.processed=!0,[2,t.stringify()]}})})()},r.runOnRoot=function(t){var a=this;this.result.lastPlugin=t;try{if((typeof t>"u"?"undefined":Me(t))==="object"&&t.Once){if(this.result.root.type==="document"){var s=this.result.root.nodes.map(function(l){return t.Once(l,a.helpers)});return Sc(s[0])?Promise.all(s):s}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(l){throw this.handleError(l)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,a=fL;t.syntax&&(a=t.syntax.stringify),t.stringifier&&(a=t.stringifier),a.stringify&&(a=a.stringify);var s=new dL(a,this.result.root,this.result.opts),l=s.generate();return this.result.css=l[0],this.result.map=l[1],this.result},r.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t=ae(this.plugins),a;!(a=t()).done;){var s=a.value,l=this.runOnRoot(s);if(Sc(l))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var u=this.result.root;!u[Aa];)u[Aa]=!0,this.walkSync(u);if(this.listeners.OnceExit)if(u.type==="document")for(var f=ae(u.nodes),p;!(p=f()).done;){var m=p.value;this.visitSync(this.listeners.OnceExit,m)}else this.visitSync(this.listeners.OnceExit,u)}return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this.css},r.visitSync=function(t,a){for(var s=ae(t),l;!(l=s()).done;){var u=l.value,f=u[0],p=u[1];this.result.lastPlugin=f;var m=void 0;try{m=p(a,this.helpers)}catch(g){throw this.handleError(g,a.proxyOf)}if(a.type!=="root"&&a.type!=="document"&&!a.parent)return!0;if(Sc(m))throw this.getAsyncError()}},r.visitTick=function(t){var a=t[t.length-1],s=a.node,l=a.visitors;if(s.type!=="root"&&s.type!=="document"&&!s.parent){t.pop();return}if(l.length>0&&a.visitorIndex<l.length){var u=l[a.visitorIndex],f=u[0],p=u[1];a.visitorIndex+=1,a.visitorIndex===l.length&&(a.visitors=[],a.visitorIndex=0),this.result.lastPlugin=f;try{return p(s.toProxy(),this.helpers)}catch(w){throw this.handleError(w,s)}}if(a.iterator!==0){for(var m=a.iterator,g;g=s.nodes[s.indexes[m]];)if(s.indexes[m]+=1,!g[Aa]){g[Aa]=!0,t.push(gw(g));return}a.iterator=0,delete s.indexes[m]}for(var y=a.events;a.eventIndex<y.length;){var _=y[a.eventIndex];if(a.eventIndex+=1,_===fl){s.nodes&&s.nodes.length&&(s[Aa]=!0,a.iterator=s.getIterator());return}else if(this.listeners[_]){a.visitors=this.listeners[_];return}}t.pop()},r.walkSync=function(t){var a=this;t[Aa]=!0;for(var s=t4(t),l=ae(s),u;!(u=l()).done;){var f=u.value;if(f===fl)t.nodes&&t.each(function(m){m[Aa]||a.walkSync(m)});else{var p=this.listeners[f];if(p&&this.visitSync(p,t.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},Rt(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e})();hl.registerPostcss=function(e){Ag=e};var r4=hl;hl.default=hl;gL.registerLazyResult(hl);pL.registerLazyResult(hl);var xL=D6,_L=Zh,wL=$v,SL=Tv,Rg=(function(){function e(n,t,a){t=t.toString(),this.stringified=!1,this._processor=n,this._css=t,this._opts=a,this._map=void 0;var s,l=_L;this.result=new SL(this._processor,s,this._opts),this.result.css=t;var u=this;Object.defineProperty(this.result,"root",{get:function(){return u.root}});var f=new xL(l,s,this._opts,t);if(f.isMap()){var p=f.generate(),m=p[0],g=p[1];m&&(this.result.css=m),g&&(this.result.map=g)}else f.clearAnnotation(),this.result.css=f.css}var r=e.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(t){return this.async().catch(t)},r.finally=function(t){return this.async().then(t,t)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(t,a){return this.async().then(t,a)},r.toString=function(){return this._css},r.warnings=function(){return[]},Rt(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var t,a=wL;try{t=a(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=t,t}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e})(),EL=Rg;Rg.default=Rg;var CL=EL,ML=r4,kL=Ov,NL=Su,cu=(function(){function e(n){n===void 0&&(n=[]),this.version="8.4.38",this.plugins=this.normalize(n)}var r=e.prototype;return r.normalize=function(t){for(var a=[],s=ae(t),l;!(l=s()).done;){var u=l.value;if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),(typeof u>"u"?"undefined":Me(u))==="object"&&Array.isArray(u.plugins))a=a.concat(u.plugins);else if((typeof u>"u"?"undefined":Me(u))==="object"&&u.postcssPlugin)a.push(u);else if(typeof u=="function")a.push(u);else if(!((typeof u>"u"?"undefined":Me(u))==="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin")}return a},r.process=function(t,a){return a===void 0&&(a={}),!this.plugins.length&&!a.parser&&!a.stringifier&&!a.syntax?new CL(this,t,a):new ML(this,t,a)},r.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e})(),jL=cu;cu.default=cu;NL.registerProcessor(cu);kL.registerProcessor(cu);var AL=t0,RL=O6,OL=n0,TL=Iv,IL=r0,LL=Su,$L=Lv;function uu(e,r){if(Array.isArray(e))return e.map(function(g){return uu(g)});var n=e.inputs,t=Ds(e,["inputs"]);if(n){r=[];for(var a=ae(n),s;!(s=a()).done;){var l=s.value,u=He({},l,{__proto__:IL.prototype});u.map&&(u.map=He({},u.map,{__proto__:RL.prototype})),r.push(u)}}if(t.nodes&&(t.nodes=e.nodes.map(function(g){return uu(g,r)})),t.source){var f=t.source,p=f.inputId,m=Ds(f,["inputId"]);t.source=m,p!=null&&(t.source.input=r[p])}if(t.type==="root")return new LL(t);if(t.type==="decl")return new AL(t);if(t.type==="rule")return new $L(t);if(t.type==="comment")return new OL(t);if(t.type==="atrule")return new TL(t);throw new Error("Unknown node type: "+e.type)}var DL=uu;uu.default=uu;var UL=jv,n4=t0,PL=r4,zL=Gs,Dv=jL,BL=Zh,FL=DL,a4=Ov,qL=K6,i4=n0,s4=Iv,HL=Tv,GL=r0,VL=$v,YL=Z6,o4=Lv,l4=Su,KL=e0;function ht(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Dv(r)}ht.plugin=function(r,n){var t=!1;function a(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];console&&console.warn&&!t&&(t=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 167https://evilmartians.com/chronicles/postcss-8-plugin-migration`),nl.LANG&&nl.LANG.startsWith("cn")&&console.warn(r+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 168https://www.w3ctech.com/topic/2226`));var p=n.apply(void 0,[].concat(u));return p.postcssPlugin=r,p.postcssVersion=new Dv().version,p}var s;return Object.defineProperty(a,"postcss",{get:function(){return s||(s=a()),s}}),a.process=function(l,u,f){return ht([a(f)]).process(l,u)},a};ht.stringify=BL;ht.parse=VL;ht.fromJSON=FL;ht.list=YL;ht.comment=function(e){return new i4(e)};ht.atRule=function(e){return new s4(e)};ht.decl=function(e){return new n4(e)};ht.rule=function(e){return new o4(e)};ht.root=function(e){return new l4(e)};ht.document=function(e){return new a4(e)};ht.CssSyntaxError=UL;ht.Declaration=n4;ht.Container=zL;ht.Processor=Dv;ht.Document=a4;ht.Comment=i4;ht.Warning=qL;ht.AtRule=s4;ht.Result=HL;ht.Input=GL;ht.Rule=o4;ht.Root=l4;ht.Node=KL;PL.registerPostcss(ht);var WL=ht;ht.default=ht;var Pt=l7(WL);Pt.stringify;Pt.fromJSON;Pt.plugin;Pt.parse;Pt.list;Pt.document;Pt.comment;Pt.atRule;Pt.rule;Pt.decl;Pt.root;Pt.CssSyntaxError;Pt.Declaration;Pt.Container;Pt.Processor;Pt.Document;Pt.Comment;Pt.Warning;Pt.AtRule;Pt.Result;Pt.Input;Pt.Rule;Pt.Root;Pt.Node;var JL=Object.defineProperty,XL=function(e,r,n){return r in e?JL(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n},Af=function(e,r,n){return XL(e,(typeof r>"u"?"undefined":Me(r))!=="symbol"?r+"":r,n)};function QL(e,r,n){try{if(!(r in e))return function(){};var t=e[r],a=n(t);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:t}})),e[r]=a,function(){e[r]=t}}catch{return function(){}}}var Uo=(function(){function e(n){Af(this,"fileName"),Af(this,"functionName"),Af(this,"lineNumber"),Af(this,"columnNumber"),this.fileName=n.fileName||"",this.functionName=n.functionName||"",this.lineNumber=n.lineNumber,this.columnNumber=n.columnNumber}var r=e.prototype;return r.toString=function(){var t=this.lineNumber||"",a=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+t+":"+a+")":this.fileName+":"+t+":"+a},e})(),ZL=/(^|@)\S+:\d+/,vw=/^\s*at .*(\S+:\d+|\(native\))/m,e$=/^(eval@)?(\[native code])?$/,s1={parse:function(r){return r?typeof r.stacktrace<"u"||typeof r["opera#sourceloc"]<"u"?this.parseOpera(r):r.stack&&r.stack.match(vw)?this.parseV8OrIE(r):r.stack?this.parseFFOrSafari(r):(console.warn("[console-record-plugin]: Failed to parse error object:",r),[]):[]},extractLocation:function(r){if(r.indexOf(":")===-1)return[r];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/,t=n.exec(r.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: "+r);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(r){var n=r.stack.split(` 169`).filter(function(t){return!!t.match(vw)},this);return n.map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var a=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),s=a.match(/ (\((.+):(\d+):(\d+)\)$)/);a=s?a.replace(s[0],""):a;var l=a.split(/\s+/).slice(1),u=this.extractLocation(s?s[1]:l.pop()),f=l.join(" ")||void 0,p=["eval","<anonymous>"].indexOf(u[0])>-1?void 0:u[0];return new Uo({functionName:f,fileName:p,lineNumber:u[1],columnNumber:u[2]})},this)},parseFFOrSafari:function(r){var n=r.stack.split(` 170`).filter(function(t){return!t.match(e$)},this);return n.map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),t.indexOf("@")===-1&&t.indexOf(":")===-1)return new Uo({functionName:t});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,s=t.match(a),l=s&&s[1]?s[1]:void 0,u=this.extractLocation(t.replace(a,""));return new Uo({functionName:l,fileName:u[0],lineNumber:u[1],columnNumber:u[2]})},this)},parseOpera:function(r){return!r.stacktrace||r.message.indexOf(` 171`)>-1&&r.message.split(` 172`).length>r.stacktrace.split(` 173`).length?this.parseOpera9(r):r.stack?this.parseOpera11(r):this.parseOpera10(r)},parseOpera9:function(r){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,t=r.message.split(` 174`),a=[],s=2,l=t.length;s<l;s+=2){var u=n.exec(t[s]);u&&a.push(new Uo({fileName:u[2],lineNumber:parseFloat(u[1])}))}return a},parseOpera10:function(r){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,t=r.stacktrace.split(` 175`),a=[],s=0,l=t.length;s<l;s+=2){var u=n.exec(t[s]);u&&a.push(new Uo({functionName:u[3]||void 0,fileName:u[2],lineNumber:parseFloat(u[1])}))}return a},parseOpera11:function(r){var n=r.stack.split(`
176`).filter(function(t){return!!t.match(ZL)&&!t.match(/^Error created at/)},this);return n.map(function(t){var a=t.split("@"),s=this.extractLocation(a.pop()),l=a.shift()||"",u=l.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new Uo({functionName:u,fileName:s[0],lineNumber:s[1],columnNumber:s[2]})},this)}};function t$(e){if(!e||!e.outerHTML)return"";for(var r="";e.parentElement;){var n=e.localName;if(!n)break;n=n.toLowerCase();var t=e.parentElement,a=[];if(t.children&&t.children.length>0)for(var s=0;s<t.children.length;s++){var l=t.children[s];l.localName&&l.localName.toLowerCase&&l.localName.toLowerCase()===n&&a.push(l)}a.length>1&&(n+=":eq("+a.indexOf(e)+")"),r=n+(r?">"+r:""),e=t}return r}function Og(e){return Object.prototype.toString.call(e)==="[object Object]"}function c4(e,r){if(r===0)return!0;for(var n=Object.keys(e),t=ae(n),a;!(a=t()).done;){var s=a.value;if(Og(e[s])&&c4(e[s],r-1))return!0}return!1}function Po(e,r){var n={numOfKeysLimit:50,depthOfLimit:4};Object.assign(n,r);var t=[],a=[];return JSON.stringify(e,function(u,f){if(t.length>0){var p=t.indexOf(this);~p?t.splice(p+1):t.push(this),~p?a.splice(p,1/0,u):a.push(u),~t.indexOf(f)&&(t[0]===f?f="[Circular ~]":f="[Circular ~."+a.slice(0,t.indexOf(f)).join(".")+"]")}else t.push(f);if(f===null)return f;if(f===void 0)return"undefined";if(s(f))return l(f);if((typeof f>"u"?"undefined":Me(f))==="bigint")return f.toString()+"n";if(Ee(f,Event)){var m={};for(var g in f){var y=f[g];Array.isArray(y)?m[g]=t$(y.length?y[0]:null):m[g]=y}return m}else{if(Ee(f,Node))return Ee(f,HTMLElement)?f?f.outerHTML:"":f.nodeName;if(Ee(f,Error))return f.stack?f.stack+` 177End of stack for Error object`:f.name+": "+f.message}return f});function s(u){return!!(Og(u)&&Object.keys(u).length>n.numOfKeysLimit||typeof u=="function"||Og(u)&&c4(u,n.depthOfLimit))}function l(u){var f=u.toString();return n.stringLengthLimit&&f.length>n.stringLengthLimit&&(f=""+f.slice(0,n.stringLengthLimit)+"..."),f}}var yw={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function r$(e,r,n){var t=n?Object.assign({},yw,n):yw,a=t.logger;if(!a)return function(){};var s;typeof a=="string"?s=r[a]:s=a;var l=0,u=!1,f=[];if(t.level.includes("error")){var p=function(C){var x=C.message,S=C.error,k=s1.parse(S).map(function(O){return O.toString()}),j=[Po(x,t.stringifyOptions)];e({level:"error",trace:k,payload:j})};r.addEventListener("error",p),f.push(function(){r.removeEventListener("error",p)});var m=function(C){var x,S;Ee(C.reason,Error)?(x=C.reason,S=[Po("Uncaught (in promise) "+x.name+": "+x.message,t.stringifyOptions)]):(x=new Error,S=[Po("Uncaught (in promise)",t.stringifyOptions),Po(C.reason,t.stringifyOptions)]);var k=s1.parse(x).map(function(j){return j.toString()});e({level:"error",trace:k,payload:S})};r.addEventListener("unhandledrejection",m),f.push(function(){r.removeEventListener("unhandledrejection",m)})}for(var g=ae(t.level),y;!(y=g()).done;){var _=y.value;f.push(w(s,_))}return function(){f.forEach(function(C){return C()})};function w(C,x){var S=this;return C[x]?QL(C,x,function(k){var j=S;return function(){for(var O=arguments.length,$=new Array(O),T=0;T<O;T++)$[T]=arguments[T];if(k.apply(j,$),!(x==="assert"&&$[0])&&!u){u=!0;try{var D=s1.parse(new Error).map(function(de){return de.toString()}).splice(1),z=x==="assert"?$.slice(1):$,J=z.map(function(de){return Po(de,t.stringifyOptions)});l++,l<t.lengthThreshold?e({level:x,trace:D,payload:J}):l===t.lengthThreshold&&e({level:"warn",trace:[],payload:[Po("The number of log records reached the threshold.")]})}catch(de){k.apply(void 0,[].concat(["rrweb logger error:",de],$))}finally{u=!1}}}}):function(){}}}var n$="rrweb/console@1",a$=function(e){return{name:n$,observer:r$,options:e}},bw=re.setImmediate,Qi,Tg,Ig,u4=Object.prototype.toString,i$=typeof bw<"u"?function(r){return bw(r)}:setTimeout;try{Object.defineProperty({},"x",{}),Qi=function(r,n,t,a){return Object.defineProperty(r,n,{value:t,writable:!0,configurable:a!==!1}
vendor: 54,996 bytes, lines 177-183
177)}}catch{Qi=function(n,t,a){return n[t]=a,n}}Ig=(function(){var r,n,t;function a(s,l){this.fn=s,this.self=l,this.next=void 0}return{add:function(l,u){t=new a(l,u),n?n.next=t:r=t,n=t,t=void 0},drain:function(){var l=r;for(r=n=Tg=void 0;l;)l.fn.call(l.self),l=l.next}}})();function xh(e,r){Ig.add(e,r),Tg||(Tg=i$(Ig.drain))}function d4(e){var r,n=typeof e;return e!==null&&(n==="object"||n==="function")&&(r=e.then),typeof r=="function"?r:!1}function Uv(){for(var e=0;e<this.chain.length;e++)s$(this,this.state===1?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function s$(e,r,n){var t,a;try{r===!1?n.reject(e.msg):(r===!0?t=e.msg:t=r.call(void 0,e.msg),t===n.promise?n.reject(TypeError("Promise-chain cycle")):(a=d4(t))?a.call(t,n.resolve,n.reject):n.resolve(t))}catch(s){n.reject(s)}}function f4(e){var r,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(r=d4(e))?xh(function(){var t=new xw(n);try{r.call(e,function(){f4.apply(t,arguments)},function(){Dc.apply(t,arguments)})}catch(a){Dc.call(t,a)}}):(n.msg=e,n.state=1,n.chain.length>0&&xh(Uv,n))}catch(t){Dc.call(new xw(n),t)}}}function Dc(e){var r=this;r.triggered||(r.triggered=!0,r.def&&(r=r.def),r.msg=e,r.state=2,r.chain.length>0&&xh(Uv,r))}function h4(e,r,n,t){for(var a=0;a<r.length;a++)(function(l){e.resolve(r[l]).then(function(f){n(l,f)},t)})(a)}function xw(e){this.def=e,this.triggered=!1}function o$(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function ls(e){if(typeof e!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var r=new o$(this);this.then=function(t,a){var s={success:typeof t=="function"?t:!0,failure:typeof a=="function"?a:!1};return s.promise=new this.constructor(function(u,f){if(typeof u!="function"||typeof f!="function")throw TypeError("Not a function");s.resolve=u,s.reject=f}),r.chain.push(s),r.state!==0&&xh(Uv,r),s.promise},this.catch=function(t){return this.then(void 0,t)};try{e.call(void 0,function(t){f4.call(r,t)},function(t){Dc.call(r,t)})}catch(n){Dc.call(r,n)}}var p4=Qi({},"constructor",ls,!1);ls.prototype=p4;Qi(p4,"__NPO__",0,!1);Qi(ls,"resolve",function(r){var n=this;return r&&typeof r=="object"&&r.__NPO__===1?r:new n(function(a,s){if(typeof a!="function"||typeof s!="function")throw TypeError("Not a function");a(r)})});Qi(ls,"reject",function(r){return new this(function(t,a){if(typeof t!="function"||typeof a!="function")throw TypeError("Not a function");a(r)})});Qi(ls,"all",function(r){var n=this;return u4.call(r)!=="[object Array]"?n.reject(TypeError("Not an array")):r.length===0?n.resolve([]):new n(function(a,s){if(typeof a!="function"||typeof s!="function")throw TypeError("Not a function");var l=r.length,u=Array(l),f=0;h4(n,r,function(m,g){u[m]=g,++f===l&&a(u)},s)})});Qi(ls,"race",function(r){var n=this;return u4.call(r)!=="[object Array]"?n.reject(TypeError("Not an array")):new n(function(a,s){if(typeof a!="function"||typeof s!="function")throw TypeError("Not a function");h4(n,r,function(u,f){a(f)},s)})});var tt;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?tt=Promise:tt=ls;var vn={DEBUG:!1,LIB_VERSION:"2.75.0"},Uc=1440*60*1e3,o1=8*1e3,a0=Array.prototype,l$=Function.prototype,m4=Object.prototype,Wi=a0.slice,Eu=m4.toString,i0=m4.hasOwnProperty,gr=re.console,si=re.navigator,De=re.document,Ac=re.opera,_w=re.screen,Ra=si.userAgent,l1=l$.bind,ww=a0.forEach,Sw=a0.indexOf,Ew=a0.map,c$=Array.isArray,Lg={},M={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},qe={log:function(){if(vn.DEBUG&&!M.isUndefined(gr)&&gr)try{gr.log.apply(gr,arguments)}catch{M.each(arguments,function(r){gr.log(r)})}},warn:function(){if(vn.DEBUG&&!M.isUndefined(gr)&&gr){var e=["Mixpanel warning:"].concat(M.toArray(arguments));try{gr.warn.apply(gr,e)}catch{M.each(e,function(n){gr.warn(n)})}}},error:function(){if(vn.DEBUG&&!M.isUndefined(gr)&&gr){var e=["Mixpanel error:"].concat(M.toArray(arguments));try{gr.error.apply(gr,e)}catch{M.each(e,function(n){gr.error(n)})}}},critical:function(){if(!M.isUndefined(gr)&&gr){var e=["Mixpanel error:"].concat(M.toArray(arguments));try{gr.error.apply(gr,e)}catch{M.each(e,function(n){gr.error(n)})}}}},c1=function(e,r){return function(){return arguments[0]="["+r+"] "+arguments[0],e.apply(qe,arguments)}},Vs=function(e){return{log:c1(qe.log,e),error:c1(qe.error,e),critical:c1(qe.critical,e)}},du=function(e){return function(){try{return e.apply(this,arguments)}catch(r){qe.critical("Implementation error. Please turn on debug and contact [email protected]."),vn.DEBUG&&qe.critical(r)}}},g4=function(e){var r=e.prototype;for(var n in r)typeof r[n]=="function"&&(r[n]=du(r[n]))};M.bind=function(e,r){var n,t;if(l1&&e.bind===l1)return l1.apply(e,Wi.call(arguments,1));if(!M.isFunction(e))throw new TypeError;return n=Wi.call(arguments,2),t=function(){if(!(this instanceof t))return e.apply(r,n.concat(Wi.call(arguments)));var a={};a.prototype=e.prototype;var s=new a;a.prototype=null;var l=e.apply(s,n.concat(Wi.call(arguments)));return Object(l)===l?l:s},t};M.each=function(e,r,n){if(e!=null){if(ww&&e.forEach===ww)e.forEach(r,n);else if(e.length===+e.length){for(var t=0,a=e.length;t<a;t++)if(t in e&&r.call(n,e[t],t,e)===Lg)return}else for(var s in e)if(i0.call(e,s)&&r.call(n,e[s],s,e)===Lg)return}};M.extend=function(e){return M.each(Wi.call(arguments,1),function(r){for(var n in r)r[n]!==void 0&&(e[n]=r[n])}),e};M.isArray=c$||function(e){return Eu.call(e)==="[object Array]"};M.isFunction=function(e){return typeof e=="function"};M.isArguments=function(e){return!!(e&&i0.call(e,"callee"))};M.toArray=function(e){return e?e.toArray?e.toArray():M.isArray(e)||M.isArguments(e)?Wi.call(e):M.values(e):[]};M.map=function(e,r,n){if(Ew&&e.map===Ew)return e.map(r,n);var t=[];return M.each(e,function(a){t.push(r.call(n,a))}),t};M.keys=function(e){var r=[];return e===null||M.each(e,function(n,t){r[r.length]=t}),r};M.values=function(e){var r=[];return e===null||M.each(e,function(n){r[r.length]=n}),r};M.include=function(e,r){var n=!1;return e===null?n:Sw&&e.indexOf===Sw?e.indexOf(r)!=-1:(M.each(e,function(t){if(n||(n=t===r))return Lg}),n)};M.includes=function(e,r){return e.indexOf(r)!==-1};M.inherit=function(e,r){return e.prototype=new r,e.prototype.constructor=e,e.superclass=r.prototype,e};M.isObject=function(e){return e===Object(e)&&!M.isArray(e)};M.isEmptyObject=function(e){if(M.isObject(e)){for(var r in e)if(i0.call(e,r))return!1;return!0}return!1};M.isUndefined=function(e){return e===void 0};M.isString=function(e){return Eu.call(e)=="[object String]"};M.isDate=function(e){return Eu.call(e)=="[object Date]"};M.isNumber=function(e){return Eu.call(e)=="[object Number]"};M.isElement=function(e){return!!(e&&e.nodeType===1)};M.encodeDates=function(e){return M.each(e,function(r,n){M.isDate(r)?e[n]=M.formatDate(r):M.isObject(r)&&(e[n]=M.encodeDates(r))}),e};M.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()};M.formatDate=function(e){function r(n){return n<10?"0"+n:n}return e.getUTCFullYear()+"-"+r(e.getUTCMonth()+1)+"-"+r(e.getUTCDate())+"T"+r(e.getUTCHours())+":"+r(e.getUTCMinutes())+":"+r(e.getUTCSeconds())};M.strip_empty_properties=function(e){var r={};return M.each(e,function(n,t){M.isString(n)&&n.length>0&&(r[t]=n)}),r};M.truncate=function(e,r){var n;return typeof e=="string"?n=e.slice(0,r):M.isArray(e)?(n=[],M.each(e,function(t){n.push(M.truncate(t,r))})):M.isObject(e)?(n={},M.each(e,function(t,a){n[a]=M.truncate(t,r)})):n=e,n};M.JSONEncode=(function(){return function(e){var r=e,n=function(a){var s=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return s.lastIndex=0,s.test(a)?'"'+a.replace(s,function(u){var f=l[u];return typeof f=="string"?f:"\\u"+("0000"+u.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},t=function(a,s){var l="",u=" ",f=0,p="",m="",g=0,y=l,_=[],w=s[a];switch(w&&typeof w=="object"&&typeof w.toJSON=="function"&&(w=w.toJSON(a)),typeof w){case"string":return n(w);case"number":return isFinite(w)?String(w):"null";case"boolean":case"null":return String(w);case"object":if(!w)return"null";if(l+=u,_=[],Eu.apply(w)==="[object Array]"){for(g=w.length,f=0;f<g;f+=1)_[f]=t(f,w)||"null";return m=_.length===0?"[]":l?`[ 178`+l+_.join(`, 179`+l)+` 180`+y+"]":"["+_.join(",")+"]",l=y,m}for(p in w)i0.call(w,p)&&(m=t(p,w),m&&_.push(n(p)+(l?": ":":")+m));return m=_.length===0?"{}":l?"{"+_.join(",")+y+"}":"{"+_.join(",")+"}",l=y,m}};return t("",{"":r})}})();M.JSONDecode=(function(){var e,r,n={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` 181`,r:"\r",t:" "},t,a=function(_){var w=new SyntaxError(_);throw w.at=e,w.text=t,w},s=function(_){return _&&_!==r&&a("Expected '"+_+"' instead of '"+r+"'"),r=t.charAt(e),e+=1,r},l=function(){var _,w="";for(r==="-"&&(w="-",s("-"));r>="0"&&r<="9";)w+=r,s();if(r===".")for(w+=".";s()&&r>="0"&&r<="9";)w+=r;if(r==="e"||r==="E")for(w+=r,s(),(r==="-"||r==="+")&&(w+=r,s());r>="0"&&r<="9";)w+=r,s();if(_=+w,!isFinite(_))a("Bad number");else return _},u=function(){var _,w,C="",x;if(r==='"')for(;s();){if(r==='"')return s(),C;if(r==="\\")if(s(),r==="u"){for(x=0,w=0;w<4&&(_=parseInt(s(),16),!!isFinite(_));w+=1)x=x*16+_;C+=String.fromCharCode(x)}else if(typeof n[r]=="string")C+=n[r];else break;else C+=r}a("Bad string")},f=function(){for(;r&&r<=" ";)s()},p=function(){switch(r){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}a('Unexpected "'+r+'"')},m,g=function(){var _=[];if(r==="["){if(s("["),f(),r==="]")return s("]"),_;for(;r;){if(_.push(m()),f(),r==="]")return s("]"),_;s(","),f()}}a("Bad array")},y=function(){var _,w={};if(r==="{"){if(s("{"),f(),r==="}")return s("}"),w;for(;r;){if(_=u(),f(),s(":"),Object.hasOwnProperty.call(w,_)&&a('Duplicate key "'+_+'"'),w[_]=m(),f(),r==="}")return s("}"),w;s(","),f()}}a("Bad object")};return m=function(){switch(f(),r){case"{":return y();case"[":return g();case'"':return u();case"-":return l();default:return r>="0"&&r<="9"?l():p()}},function(_){var w;return t=_,e=0,r=" ",w=m(),f(),r&&a("Syntax error"),w}})();M.base64Encode=function(e){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n,t,a,s,l,u,f,p,m=0,g=0,y="",_=[];if(!e)return e;e=M.utf8Encode(e);do n=e.charCodeAt(m++),t=e.charCodeAt(m++),a=e.charCodeAt(m++),p=n<<16|t<<8|a,s=p>>18&63,l=p>>12&63,u=p>>6&63,f=p&63,_[g++]=r.charAt(s)+r.charAt(l)+r.charAt(u)+r.charAt(f);while(m<e.length);switch(y=_.join(""),e.length%3){case 1:y=y.slice(0,-2)+"==";break;case 2:y=y.slice(0,-1)+"=";break}return y};M.utf8Encode=function(e){e=(e+"").replace(/\r\n/g,` 182`).replace(/\r/g,` 183`);var r="",n,t,a=0,s;for(n=t=0,a=e.length,s=0;s<a;s++){var l=e.charCodeAt(s),u=null;l<128?t++:l>127&&l<2048?u=String.fromCharCode(l>>6|192,l&63|128):u=String.fromCharCode(l>>12|224,l>>6&63|128,l&63|128),u!==null&&(t>n&&(r+=e.substring(n,t)),r+=u,n=t=s+1)}return t>n&&(r+=e.substring(n,e.length)),r};M.UUID=function(){try{return re.crypto.randomUUID()}catch{for(var e=new Array(36),r=0;r<36;r++)e[r]=Math.floor(Math.random()*16);return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",M.map(e,function(t){return t.toString(16)}).join("")}};var Cw=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];M.isBlockedUA=function(e){var r;for(e=e.toLowerCase(),r=0;r<Cw.length;r++)if(e.indexOf(Cw[r])!==-1)return!0;return!1};M.HTTPBuildQuery=function(e,r){var n,t,a=[];return M.isUndefined(r)&&(r="&"),M.each(e,function(s,l){n=encodeURIComponent(s.toString()),t=encodeURIComponent(l),a[a.length]=t+"="+n}),a.join(r)};M.getQueryParam=function(e,r){r=r.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var n="[\\?&]"+r+"=([^&#]*)",t=new RegExp(n),a=t.exec(e);if(a===null||a&&typeof a[1]!="string"&&a[1].length)return"";var s=a[1];try{s=decodeURIComponent(s)}catch{qe.error("Skipping decoding for malformed query param: "+s)}return s.replace(/\+/g," ")};M.cookie={get:function(e){for(var r=e+"=",n=De.cookie.split(";"),t=0;t<n.length;t++){for(var a=n[t];a.charAt(0)==" ";)a=a.substring(1,a.length);if(a.indexOf(r)===0)return decodeURIComponent(a.substring(r.length,a.length))}return null},parse:function(e){var r;try{r=M.JSONDecode(M.cookie.get(e))||{}}catch{}return r},set_seconds:function(e,r,n,t,a,s,l){var u="",f="",p="";if(l)u="; domain="+l;else if(t){var m=Mw(De.location.hostname);u=m?"; domain=."+m:""}if(n){var g=new Date;g.setTime(g.getTime()+n*1e3),f="; expires="+g.toGMTString()}s&&(a=!0,p="; SameSite=None"),a&&(p+="; secure"),De.cookie=e+"="+encodeURIComponent(r)+f+"; path=/"+u+p},set:function(e,r,n,t,a,s,l){var u="",f="",p="";if(l)u="; domain="+l;else if(t){var m=Mw(De.location.hostname);u=m?"; domain=."+m:""}if(n){var g=new Date;g.setTime(g.getTime()+n*24*60*60*1e3),f="; expires="+g.toGMTString()}s&&(a=!0,p="; SameSite=None"),a&&(p+="; secure");var y=e+"="+encodeURIComponent(r)+f+"; path=/"+u+p;return De.cookie=y,y},remove:function(e,r,n){M.cookie.set(e,"",-1,r,!1,!1,n)}};var v4=function(e){var r=!0;try{var n="__mplss_"+Pv(8),t="xyz";e.setItem(n,t),e.getItem(n)!==t&&(r=!1),e.removeItem(n)}catch{r=!1}return r},u1=null,fu=function(e,r){return u1!==null&&!r?u1:u1=v4(e||re.localStorage)},d1=null,u$=function(e,r){return d1!==null&&!r?d1:d1=v4(e||re.sessionStorage)};function y4(e,r,n){var t=function(a){qe.error(r+" error: "+a)};return{is_supported:function(a){var s=n(e,a);return s||qe.error(r+" unsupported"),s},error:t,get:function(a){try{return e.getItem(a)}catch(s){t(s)}return null},parse:function(a){try{return M.JSONDecode(e.getItem(a))||{}}catch{}return null},set:function(a,s){try{e.setItem(a,s)}catch(l){t(l)}},remove:function(a){try{e.removeItem(a)}catch(s){t(s)}}}}var b4=null,x4=null;try{b4=re.localStorage,x4=re.sessionStorage}catch{}M.localStorage=y4(b4,"localStorage",fu);M.sessionStorage=y4(x4,"sessionStorage",u$);M.register_event=(function(){var e=function(t,a,s,l,u){if(!t){qe.error("No valid element provided to register_event");return}if(t.addEventListener&&!l)t.addEventListener(a,s,!!u);else{var f="on"+a,p=t[f];t[f]=r(t,s,p)}};function r(t,a,s){var l=function(u){if(u=u||n(re.event),!!u){var f=!0,p,m;return M.isFunction(s)&&(p=s(u)),m=a.call(t,u),(p===!1||m===!1)&&(f=!1),f}};return l}function n(t){return t&&(t.preventDefault=n.preventDefault,t.stopPropagation=n.stopPropagation),t}return n.preventDefault=function(){this.returnValue=!1},n.stopPropagation=function(){this.cancelBubble=!0},e})();var d$=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');M.dom_query=(function(){function e(a){return a.all?a.all:a.getElementsByTagName("*")}var r=/[\t\r\n]/g;function n(a,s){var l=" "+s+" ";return(" "+a.className+" ").replace(r," ").indexOf(l)>=0}function t(a){if(!De.getElementsByTagName)return[];var s=a.split(" "),l,u,f,p,m,g,y,_,w,C,x=[De];for(g=0;g<s.length;g++){if(l=s[g].replace(/^\s+/,"").replace(/\s+$/,""),l.indexOf("#")>-1){u=l.split("#"),f=u[0];var S=u[1],k=De.getElementById(S);if(!k||f&&k.nodeName.toLowerCase()!=f)return[];x=[k];continue}if(l.indexOf(".")>-1){u=l.split("."),f=u[0];var j=u[1];for(f||(f="*"),p=[],m=0,y=0;y<x.length;y++)for(f=="*"?w=e(x[y]):w=x[y].getElementsByTagName(f),_=0;_<w.length;_++)p[m++]=w[_];for(x=[],C=0,y=0;y<p.length;y++)p[y].className&&M.isString(p[y].className)&&n(p[y],j)&&(x[C++]=p[y]);continue}var O=l.match(d$);if(O){f=O[1];var $=O[2],T=O[3],D=O[4];for(f||(f="*"),p=[],m=0,y=0;y<x.length;y++)for(f=="*"?w=e(x[y]):w=x[y].getElementsByTagName(f),_=0;_<w.length;_++)p[m++]=w[_];x=[],C=0;var z;switch(T){case"=":z=function(J){return J.getAttribute($)==D};break;case"~":z=function(J){return J.getAttribute($).match(new RegExp("\\b"+D+"\\b"))};break;case"|":z=function(J){return J.getAttribute($).match(new RegExp("^"+D+"-?"))};break;case"^":z=function(J){return J.getAttribute($).indexOf(D)===0};break;case"$":z=function(J){return J.getAttribute($).lastIndexOf(D)==J.getAttribute($).length-D.length};break;case"*":z=function(J){return J.getAttribute($).indexOf(D)>-1};break;default:z=function(J){return J.getAttribute($)}}for(x=[],C=0,y=0;y<p.length;y++)z(p[y])&&(x[C++]=p[y]);continue}for(f=l,p=[],m=0,y=0;y<x.length;y++)for(w=x[y].getElementsByTagName(f),_=0;_<w.length;_++)p[m++]=w[_];x=p}return x}return function(a){return M.isElement(a)?[a]:M.isObject(a)&&!M.isUndefined(a.length)?a:t.call(this,a)}})();var f$=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],h$=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];M.info={campaignParams:function(e){var r="",n={};return M.each(f$,function(t){r=M.getQueryParam(De.URL,t),r.length?n[t]=r:e!==void 0&&(n[t]=e)}),n},clickParams:function(){var e="",r={};return M.each(h$,function(n){e=M.getQueryParam(De.URL,n),e.length&&(r[n]=e)}),r},marketingParams:function(){return M.extend(M.info.campaignParams(),M.info.clickParams())},searchEngine:function(e){return e.search("https?://(.*)google.([^/?]*)")===0?"google":e.search("https?://(.*)bing.com")===0?"bing":e.search("https?://(.*)yahoo.com")===0?"yahoo":e.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(e){var r=M.info.searchEngine(e),n=r!="yahoo"?"q":"p",t={};if(r!==null){t.$search_engine=r;var a=M.getQueryParam(e,n);a.length&&(t.mp_keyword=a)}return t},browser:function(e,r,n){return r=r||"",n||M.includes(e," OPR/")?M.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":M.includes(e,"IEMobile")||M.includes(e,"WPDesktop")?"Internet Explorer Mobile":M.includes(e,"SamsungBrowser/")?"Samsung Internet":M.includes(e,"Edge")||M.includes(e,"Edg/")?"Microsoft Edge":M.includes(e,"FBIOS")?"Facebook Mobile":M.includes(e,"Whale/")?"Whale Browser":M.includes(e,"Chrome")?"Chrome":M.includes(e,"CriOS")?"Chrome iOS":M.includes(e,"UCWEB")||M.includes(e,"UCBrowser")?"UC Browser":M.includes(e,"FxiOS")?"Firefox iOS":M.includes(r,"Apple")?M.includes(e,"Mobile")?"Mobile Safari":"Safari":M.includes(e,"Android")?"Android Mobile":M.includes(e,"Konqueror")?"Konqueror":M.includes(e,"Firefox")?"Firefox":M.includes(e,"MSIE")||M.includes(e,"Trident/")?"Internet Explorer":M.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,r,n){var t=M.info.browser(e,r,n),a={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/},s=a[t];if(s===void 0)return null;var l=e.match(s);return l?parseFloat(l[l.length-2]):null},os:function(){var e=Ra;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var r=e.split("/");return r.length>=3?r[2]:""},currentUrl:function(){return re.location.href},properties:function(e){return typeof e!="object"&&(e={}),M.extend(M.strip_empty_properties({$os:M.info.os(),$browser:M.info.browser(Ra,si.vendor,Ac),$referrer:De.referrer,$referring_domain:M.info.referringDomain(De.referrer),$device:M.info.device(Ra)}),{$current_url:M.info.currentUrl(),$browser_version:M.info.browserVersion(Ra,si.vendor,Ac),$screen_height:_w.height,$screen_width:_w.width,mp_lib:"web",$lib_version:vn.LIB_VERSION,$insert_id:Pv(),time:M.timestamp()/1e3},M.strip_empty_properties(e))},people_properties:function(){return M.extend(M.strip_empty_properties({$os:M.info.os(),$browser:M.info.browser(Ra,si.vendor,Ac)}),{$browser_version:M.info.browserVersion(Ra,si.vendor,Ac)})},mpPageViewProperties:function(){return M.strip_empty_properties({current_page_title:De.title,current_domain:re.location.hostname,current_url_path:re.location.pathname,current_url_protocol:re.location.protocol,current_url_search:re.location.search})}};var p$=function(e,r){var n=null,t=[];return function(a){var s=this;return t.push(a),n||(n=new tt(function(l){setTimeout(function(){var u=e.apply(s,[t]);n=null,t=[],l(u)},r)})),n}},Pv=function(e){var r=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?r.substring(0,e):r},_4=function(){var e=M.UUID().replace(/-/g,""),r=M.UUID().replace(/-/g,"").substring(0,16),n="01";return"00-"+e+"-"+r+"-"+n},m$=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,g$=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Mw=function(e){var r=g$,n=e.split("."),t=n[n.length-1];(t.length>4||t==="com"||t==="org")&&(r=m$);var a=e.match(r);return a?a[0]:""},v$=function(){var e=re.navigator.onLine;return M.isUndefined(e)||e},Xi=function(){},pl=null,_h=null;typeof JSON<"u"&&(pl=JSON.stringify,_h=JSON.parse);pl=pl||M.JSONEncode;_h=_h||M.JSONDecode;var y$=function(e,r,n){if(!re.CompressionStream)return!1;var t=M.info.browser(e,r,n),a=M.info.browserVersion(e,r,n);return!((t==="Safari"||t==="Mobile Safari")&&a>=16.4&&a<16.6)};M.info=M.info;M.info.browser=M.info.browser;M.info.browserVersion=M.info.browserVersion;M.info.device=M.info.device;M.info.properties=M.info.properties;M.isBlockedUA=M.isBlockedUA;M.isEmptyObject=M.isEmptyObject;M.isObject=M.isObject;M.JSONDecode=M.JSONDecode;M.JSONEncode=M.JSONEncode;M.toArray=M.toArray;M.NPO=ls;var b$="mixpanelBrowserDb",w4="mixpanelRecordingEvents",zv="mixpanelRecordingRegistry",x$=1,_$=[w4,zv],pa=function(e){this.dbPromise=null,this.storeName=e};pa.prototype._openDb=function(){return new tt(function(e,r){var n=re.indexedDB.open(b$,x$);n.onerror=function(){r(n.error)},n.onsuccess=function(){e(n.result)},n.onupgradeneeded=function(t){var a=t.target.result;_$.forEach(function(s){a.createObjectStore(s)})}})};pa.prototype.init=function(){return re.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof re.IDBDatabase?tt.resolve():tt.reject(e)})):tt.reject("indexedDB is not supported in this browser")};pa.prototype.isInitialized=function(){return!!this.dbPromise};pa.prototype.makeTransaction=function(e,r){var n=this.storeName,t=function(a){return new tt(function(s,l){var u=a.transaction(n,e);u.oncomplete=function(){s(u)},u.onabort=u.onerror=function(){l(u.error)},r(u.objectStore(n))})};return this.dbPromise.then(t).catch((function(a){return a&&a.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(t)):tt.reject(a)}).bind(this))};pa.prototype.setItem=function(e,r){return this.makeTransaction("readwrite",function(n){n.put(r,e)})};pa.prototype.getItem=function(e){var r;return this.makeTransaction("readonly",function(n){r=n.get(e)}).then(function(){return r.result})};pa.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(r){r.delete(e)})};pa.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(r){e=r.getAll()}).then(function(){return e.result})};var w$="__mp_opt_in_out_";function S$(e,r){C4(!0,e,r)}function E$(e,r){C4(!1,e,r)}function C$(e,r){return E4(e,r)==="1"}function S4(e,r){if(k$(r))return qe.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var n=E4(e,r)==="0";return n&&qe.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function cs(e){return qv(e,function(r){return this.get_config(r)})}function us(e){return qv(e,function(r){return this._get_config(r)})}function yl(e){return qv(e,function(r){return this._get_config(r)})}function M$(e,r){r=r||{},Bv(r).remove(Fv(e,r),!!r.crossSubdomainCookie,r.cookieDomain)}function Bv(e){return e=e||{},e.persistenceType==="localStorage"?M.localStorage:M.cookie}function Fv(e,r){return r=r||{},(r.persistencePrefix||w$)+e}function E4(e,r){return Bv(r).get(Fv(e,r))}function k$(e){if(e&&e.ignoreDnt)return!1;var r=e&&e.window||re,n=r.navigator||{},t=!1;return M.each([n.doNotTrack,n.msDoNotTrack,r.doNotTrack],function(a){M.includes([!0,1,"1","yes"],a)&&(t=!0)}),t}function C4(e,r,n){if(!M.isString(r)||!r.length){qe.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token");return}n=n||{},Bv(n).set(Fv(r,n),e?1:0,M.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})}function qv(e,r){return function(){var n=!1;try{var t=r.call(this,"token"),a=r.call(this,"ignore_dnt"),s=r.call(this,"opt_out_tracking_persistence_type"),l=r.call(this,"opt_out_tracking_cookie_prefix"),u=r.call(this,"window");t&&(n=S4(t,{ignoreDnt:a,persistenceType:s,persistencePrefix:l,window:u}))}catch(p){qe.error("Unexpected error when checking tracking opt-out status: "+p)}if(!n)return e.apply(this,arguments);var f=arguments[arguments.length-1];typeof f=="function"&&f(0)}}var N$=Vs("lock"),M4=function(e,r){r=r||{},this.storageKey=e,this.storage=r.storage||re.localStorage,this.pollIntervalMS=r.pollIntervalMS||100,this.timeoutMS=r.timeoutMS||2e3,this.promiseImpl=r.promiseImpl||tt};M4.prototype.withLock=function(e,r){var n=this.promiseImpl;return new n(M.bind(function(t,a){var s=r||new Date().getTime()+"|"+Math.random(),l=new Date().getTime(),u=this.storageKey,f=this.pollIntervalMS,p=this.timeoutMS,m=this.storage,g=u+":X",y=u+":Y",_=u+":Z",w=function(j){if(new Date().getTime()-l>p){N$.error("Timeout waiting for mutex on "+u+"; clearing lock. ["+s+"]"),m.removeItem(_),m.removeItem(y),S();return}setTimeout(function(){try{j()}catch(O){a(O)}},f*(Math.random()+.1))},C=function(j,O){j()?O():w(function(){C(j,O)})},x=function(){var j=m.getItem(y);return j&&j!==s?!1:(m.setItem(y,s),m.getItem(y)===s?!0:(fu(m,!0)||a(new Error("localStorage support dropped while acquiring lock")),!1))},S=function(){m.setItem(g,s),C(x,function(){if(m.getItem(g)===s){k();return}w(function(){if(m.getItem(y)!==s){S();return}C(function(){return!m.getItem(_)},k)})})},k=function(){m.setItem(_,"1");var j=function(){m.removeItem(_),m.getItem(y)===s&&m.removeItem(y),m.getItem(g)===s&&m.removeItem(g)};e().then(function(O){j(),t(O)}).catch(function(O){j(),a(O)})};try{if(fu(m,!0))S();else throw new Error("localStorage support check failed")}catch(j){a(j)}},this))};var bl=function(e){this.storage=e||re.localStorage};bl.prototype.init=function(){return tt.resolve()};bl.prototype.isInitialized=function(){return!0};bl.prototype.setItem=function(e,r){return new tt(M.bind(function(n,t){try{this.storage.setItem(e,pl(r))}catch(a){t(a)}n()},this))};bl.prototype.getItem=function(e){return new tt(M.bind(function(r,n){var t;try{t=_h(this.storage.getItem(e))}catch(a){n(a)}r(t)},this))};bl.prototype.removeItem=function(e){return new tt(M.bind(function(r,n){try{this.storage.removeItem(e)}catch(t){n(t)}r()},this))};var kw=Vs("batch"),La=function(e,r){r=r||{},this.storageKey=e,this.usePersistence=r.usePersistence,this.usePersistence&&(this.queueStorage=r.queueStorage||new bl,this.lock=new M4(e,{storage:r.sharedLockStorage||re.localStorage,timeoutMS:r.sharedLockTimeoutMS})),this.reportError=r.errorReporter||M.bind(kw.error,kw),this.pid=r.pid||null,this.memQueue=[],this.initialized=!1,r.enqueueThrottleMs?this.enqueuePersisted=p$(M.bind(this._enqueuePersisted,this),r.enqueueThrottleMs):this.enqueuePersisted=M.bind(function(n){return this._enqueuePersisted([n])},this)};La.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?tt.resolve():this.queueStorage.init().then(M.bind(function(){this.initialized=!0},this)).catch(M.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))};La.prototype.enqueue=function(e,r){var n={id:Pv(),flushAfter:new Date().getTime()+r*2,payload:e};return this.usePersistence?this.enqueuePersisted(n):(this.memQueue.push(n),tt.resolve(!0))};La.prototype._enqueuePersisted=function(e){var r=M.bind(function(){return this.ensureInit().then(M.bind(function(){return this.readFromStorage()},this)).then(M.bind(function(n){return this.saveToStorage(n.concat(e))},this)).then(M.bind(function(n){return n&&(this.memQueue=this.memQueue.concat(e)),n},this)).catch(M.bind(function(n){return this.reportError("Error enqueueing items",n,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(M.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this))};La.prototype.fillBatch=function(e){var r=this.memQueue.slice(0,e);return this.usePersistence&&r.length<e?this.ensureInit().then(M.bind(function(){return this.readFromStorage()},this)).then(M.bind(function(n){if(n.length){var t={};M.each(r,function(l){t[l.id]=!0});for(var a=0;a<n.length;a++){var s=n[a];if(new Date().getTime()>s.flushAfter&&!t[s.id]&&(s.orphaned=!0,r.push(s),r.length>=e))break}}return r},this)):tt.resolve(r)};var Nw=function(e,r){var n=[];return M.each(e,function(t){t.id&&!r[t.id]&&n.push(t)}),n};La.prototype.removeItemsByID=function(e){var r={};if(M.each(e,function(t){r[t]=!0}),this.memQueue=Nw(this.memQueue,r),this.usePersistence){var n=M.bind(function(){return this.ensureInit().then(M.bind(function(){return this.readFromStorage()},this)).then(M.bind(function(t){return t=Nw(t,r),this.saveToStorage(t)},this)).then(M.bind(function(){return this.readFromStorage()},this)).then(M.bind(function(t){for(var a=0;a<t.length;a++){var s=t[a];if(s.id&&r[s.id])throw new Error("Item not removed from storage")}return!0},this)).catch(M.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(n,this.pid).catch(M.bind(function(t){return this.reportError("Error acquiring storage lock",t),fu(this.lock.storage,!0)?!1:n().then(M.bind(function(a){return a||this.queueStorage.removeItem(this.storageKey).then(function(){return a})},this)).catch(M.bind(function(a){return this.reportError("Error clearing queue",a),!1},this))},this))}else return tt.resolve(!0)};var jw=function(e,r){var n=[];return M.each(e,function(t){var a=t.id;if(a in r){var s=r[a];s!==null&&(t.payload=s,n.push(t))}else n.push(t)}),n};La.prototype.updatePayloads=function(e){return this.memQueue=jw(this.memQueue,e),this.usePersistence?this.lock.withLock(M.bind(function(){return this.ensureInit().then(M.bind(function(){return this.readFromStorage()},this)).then(M.bind(function(n){return n=jw(n,e),this.saveToStorage(n)},this)).catch(M.bind(function(n){return this.reportError("Error updating items",e,n),!1},this))},this),this.pid).catch(M.bind(function(r){return this.reportError("Error acquiring storage lock",r),!1},this)):tt.resolve(!0)};La.prototype.readFromStorage=function(){return this.ensureInit().then(M.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(M.bind(function(e){return e&&(M.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(M.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))};La.prototype.saveToStorage=function(e){return this.ensureInit().then(M.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(M.bind(function(r){return this.reportError("Error saving queue",r),!1},this))};La.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(M.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):tt.resolve()};var j$=600*1e3,Pc=Vs("batch"),Zn=function(e,r){this.errorReporter=r.errorReporter,this.queue=new La(e,{errorReporter:M.bind(this.reportError,this),queueStorage:r.queueStorage,sharedLockStorage:r.sharedLockStorage,sharedLockTimeoutMS:r.sharedLockTimeoutMS,usePersistence:r.usePersistence,enqueueThrottleMs:r.enqueueThrottleMs}),this.libConfig=r.libConfig,this.sendRequest=r.sendRequestFunc,this.beforeSendHook=r.beforeSendHook,this.stopAllBatching=r.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=r.flushOnlyOnInterval||!1,this._flushPromise=null};Zn.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)};Zn.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Zn.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Zn.prototype.clear=function(){return this.queue.clear()};Zn.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Zn.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Zn.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(M.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Zn.prototype.sendRequestPromise=function(e,r){return new tt(M.bind(function(n){this.sendRequest(e,r,n)},this))};Zn.prototype.flush=function(e){if(this.requestInProgress)return Pc.log("Flush: Request already in progress"),tt.resolve();this.requestInProgress=!0,e=e||{};var r=this.libConfig.batch_request_timeout_ms,n=new Date().getTime(),t=this.batchSize;return this.queue.fillBatch(t).then(M.bind(function(a){var s=a.length===t,l=[],u={};if(M.each(a,function(g){var y=g.payload;if(this.beforeSendHook&&!g.orphaned&&(y=this.beforeSendHook(y)),y){y.event&&y.properties&&(y.properties=M.extend({},y.properties,{mp_sent_by_lib_version:vn.LIB_VERSION}));var _=!0,w=g.id;w?(this.itemIdsSentSuccessfully[w]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:g,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[w]}),_=!1):this.reportError("[dupe] found item with no ID",{item:g}),_&&l.push(y)}u[g.id]=y},this),l.length<1)return this.requestInProgress=!1,this.resetFlush(),tt.resolve();var f=M.bind(function(){return this.queue.removeItemsByID(M.map(a,function(g){return g.id})).then(M.bind(function(g){return M.each(a,M.bind(function(y){var _=y.id;_?(this.itemIdsSentSuccessfully[_]=this.itemIdsSentSuccessfully[_]||0,this.itemIdsSentSuccessfully[_]++,this.itemIdsSentSuccessfully[_]>5&&this.reportError("[dupe] item ID sent too many times",{item:y,batchSize:a.length,timesSent:this.itemIdsSentSuccessfully[_]})):this.reportError("[dupe] found item with no ID while removing",{item:y})},this)),g?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!s?(this.resetFlush(),tt.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),tt.resolve())},this))},this),p=M.bind(function(g){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(u);if(M.isObject(g)&&g.error==="timeout"&&new Date().getTime()-n>=r)return this.reportError("Network timeout; retrying"),this.flush();if(M.isObject(g)&&(g.httpStatusCode>=500||g.httpStatusCode===429||g.httpStatusCode<=0&&!v$()||g.error==="timeout")){var y=this.flushInterval*2;return g.retryAfter&&(y=parseInt(g.retryAfter,10)*1e3||y),y=Math.min(j$,y),this.reportError("Error; retry in "+y+" ms"),this.scheduleFlush(y),tt.resolve()}else if(M.isObject(g)&&g.httpStatusCode===413)if(a.length>1){var _=Math.max(1,Math.floor(t/2));return this.batchSize=Math.min(this.batchSize,_,a.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),tt.resolve()}else return this.reportError("Single-event request too large; dropping",a),this.resetBatchSize(),f();else return f()}catch(w){this.reportError("Error handling API response",w),this.resetFlush()}},this),m={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:r};return e.unloading&&(m.transport="sendBeacon"),Pc.log("MIXPANEL REQUEST:",l),this.sendRequestPromise(l,m).then(p)},this)).catch(M.bind(function(a){this.reportError("Error flushing request queue",a),this.resetFlush()},this))};Zn.prototype.reportError=function(e,r){if(Pc.error.apply(Pc.error,arguments),this.errorReporter)try{r instanceof Error||(r=new Error(e)),this.errorReporter(e,r)}catch(n){Pc.error(n)}};var Hv=function(e){var r=Date.now();return!e||r>e.maxExpires||r>e.idleExpires},A$=250,hu="change",hi="click",$g="hashchange",R$="input",Aw="load",Ji="mp_locationchange",Rw="popstate",s0="scrollend",Gv="scroll",O$="select",wh="submit",T$="toggle",Ow="visibilitychange",I$=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Tw=["mp-include"],Dg=["mp-no-track"],Iw=Dg.concat(["mp-sensitive"]),L$=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],$$={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},D$={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},U$={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Lw=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],P$=5,wt=Vs("autocapture");function Ug(e){for(var r={},n=k4(e).split(" "),t=0;t<n.length;t++){var a=n[t];a&&(r[a]=!0)}return r}function k4(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function z$(e){if(e.previousElementSibling)return e.previousElementSibling;do e=e.previousSibling;while(e&&!N4(e));return e}function $w(e,r,n,t,a,s){var l={$classes:k4(e).split(" "),$tag_name:e.tagName.toLowerCase()},u=e.id;u&&(l.$id=u),Vv(e,r,a,s)&&M.each(L$.concat(t),function(g){if(e.hasAttribute(g)&&!n[g]){var y=e.getAttribute(g);Sh(y)&&(l["$attr-"+g]=y)}});for(var f=1,p=1,m=e;m=z$(m);)f++,m.tagName===e.tagName&&p++;return l.$nth_child=f,l.$nth_of_type=p,l}function B$(e,r){var n=r.allowElementCallback,t=r.allowSelectors||[],a=r.blockAttrs||[],s=r.blockElementCallback,l=r.blockSelectors||[],u=r.captureTextContent||!1,f=r.captureExtraAttrs||[],p=r.capturedForHeatMap||!1,m={};M.each(a,function($){m[$]=!0});var g=null,y=typeof e.target>"u"?e.srcElement:e.target;if(j4(y)&&(y=y.parentNode),G$(y,e)&&Pg(y,e,n,t)&&!f1(y,e,s,l)){for(var _=[y],w=y;w.parentNode&&!Ta(w,"body");)_.push(w.parentNode),w=w.parentNode;var C=[],x,S=!1;if(M.each(_,function($){var T=Vv($,e,n,t);!m.href&&$.tagName.toLowerCase()==="a"&&(x=$.getAttribute("href"),x=T&&Sh(x)&&x),f1($,e,s,l)&&(S=!0),C.push($w($,e,m,f,n,t))},this),!S){var k=De.documentElement;if(g={$event_type:e.type,$host:re.location.host,$pathname:re.location.pathname,$elements:C,$el_attr__href:x,$viewportHeight:Math.max(k.clientHeight,re.innerHeight||0),$viewportWidth:Math.max(k.clientWidth,re.innerWidth||0),$pageHeight:De.body.offsetHeight||0,$pageWidth:De.body.offsetWidth||0},M.each(f,function($){if(!m[$]&&y.hasAttribute($)){var T=y.getAttribute($);Sh(T)&&(g["$el_attr__"+$]=T)}}),u&&(j=Dw(y,e,n,t),j&&j.length&&(g.$el_text=j)),e.type===hi&&(M.each(I$,function($){$ in e&&(g["$"+$]=e[$])}),p&&(g.$captured_for_heatmap=!0),y=F$(e)),u){var j=Dw(y,e,n,t);j&&j.length&&(g.$el_text=j)}if(y){if(!Pg(y,e,n,t)||f1(y,e,s,l))return null;var O=$w(y,e,m,f,n,t);g.$target=O,g.$el_classes=O.$classes,M.extend(g,M.strip_empty_properties({$el_id:O.$id,$el_tag_name:O.$tag_name}))}}}return g}function Dw(e,r,n,t){var a="";return Vv(e,r,n,t)&&e.childNodes&&e.childNodes.length&&M.each(e.childNodes,function(s){j4(s)&&s.textContent&&(a+=M.trim(s.textContent).split(/(\s+)/).filter(Sh).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),M.trim(a)}function F$(e){for(var r=e.target,n=e.composedPath(),t=0;t<n.length;t++){var a=n[t];if(Ta(a,"a")||Ta(a,"button")||Ta(a,"input")||Ta(a,"select")||a.getAttribute&&a.getAttribute("role")==="button"){r=a;break}if(a===r)break}return r}function Pg(e,r,n,t){if(n)try{if(!n(e,r))return!1}catch(l){return wt.critical("Error while checking element in allowElementCallback",l),!1}if(!t.length)return!0;for(var a=0;a<t.length;a++){var s=t[a];try{if(e.matches(s))return!0}catch(l){wt.critical("Error while checking selector: "+s,l)}}return!1}function f1(e,r,n,t){var a;if(n)try{if(n(e,r))return!0}catch(u){return wt.critical("Error while checking element in blockElementCallback",u),!0}if(t&&t.length)for(a=0;a<t.length;a++){var s=t[a];try{if(e.matches(s))return!0}catch(u){wt.critical("Error while checking selector: "+s,u)}}var l=Ug(e);for(a=0;a<Dg.length;a++)if(l[Dg[a]])return!0;return!1}function N4(e){return e&&e.nodeType===1}function Ta(e,r){return e&&e.tagName&&e.tagName.toLowerCase()===r.toLowerCase()}function j4(e){return e&&e.nodeType===3}function q$(){try{var e=De.createElement("div");return!!e.matches}catch{return!1}}function H$(){return typeof WeakSet<"u"}function G$(e,r){if(!e||Ta(e,"html")||!N4(e))return!1;var n=e.tagName.toLowerCase();switch(n){case"form":return r.type===wh;case"input":return["button","submit"].indexOf(e.getAttribute("type"))===-1?r.type===hu:r.type===hi;case"select":case"textarea":return r.type===hu;default:return r.type===hi}}function A4(e){var r=(e.name||e.id||"").toString().toLowerCase();if(typeof r=="string"){var n=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(n.test(r.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function Vv(e,r,n,t){var a;if(!Pg(e,r,n,t))return!1;for(var s=e;s.parentNode&&!Ta(s,"body");s=s.parentNode){var l=Ug(s);for(a=0;a<Iw.length;a++)if(l[Iw[a]])return!1}var u=Ug(e);for(a=0;a<Tw.length;a++)if(u[Tw[a]])return!0;if(Ta(e,"input")||Ta(e,"select")||Ta(e,"textarea")||e.getAttribute("contenteditable")==="true")return!1;var f=e.type||"";if(typeof f=="string")switch(f.toLowerCase()){case"hidden":return!1;case"password":return!1}return!A4(e)}function Sh(e){if(e===null||M.isUndefined(e))return!1;if(typeof e=="string"){e=M.trim(e);var r=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(r.test((e||"").replace(/[- ]/g,"")))return!1;var n=/(^\d{3}-?\d{2}-?\d{4}$)/;if(n.test(e))return!1}return!0}function R4(e){var r="onscrollend"in re,n=du(e),t=s0;if(!r){var a=null,s=100;n=du(function(){clearTimeout(a),a=setTimeout(e,s)}),t=Gv}return{listener:n,eventType:t}}function V$(e){for(var r=0;r<Lw.length;r++)if(e.hasAttribute(Lw[r]))return!0;return!1}function Y$(e){var r=e.getAttribute("role");if(!r)return!1;var n=r.trim().split(/\s+/)[0].toLowerCase();return $$[n]}function h1(e){var r=e.tagName.toLowerCase();return!!(r==="button"||r==="input"||r==="select"||r==="textarea"||r==="details"||r==="dialog"||e.isContentEditable||e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend||V$(e)||Y$(e)||r==="a"&&e.hasAttribute("href")||e.hasAttribute("tabindex"))}function O4(e){if(!e||!e.tagName)return!0;var r=e.tagName.toLowerCase();if(D$[r])return!0;if(h1(e))return!1;for(var n=e.parentElement,t=0;n&&t<P$;){if(h1(n))return!1;if(n.getRootNode&&n.getRootNode()!==De){var a=n.getRootNode();if(a.host&&h1(a.host))return!1}n=n.parentElement,t++}return!!U$[r]}function T4(e){return"composedPath"in e?e.composedPath():[]}function I4(e){var r=T4(e);return r&&r.length>0?r[0]:e.target||e.srcElement}var L4=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",K$="data-rr-is-password",W$=["password","email","tel","hidden"];function Rf(e){return e?Array.isArray(e)?e:[e]:[]}function J$(e){var r={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},n=e.get_config("record_mask_input_selector"),t=e.get_config("record_unmask_input_selector"),a=e.get_config("record_mask_all_inputs");r.input.maskingSelector=Rf(n).join(","),r.input.unmaskingSelector=Rf(t).join(","),a!==void 0&&(r.input.maskAll=a);var s=e.get_config("record_mask_text_selector"),l=e.get_config("record_unmask_text_selector"),u=e.get_config("record_mask_all_text"),f=e.get_config("record_mask_text_class"),p=Rf(s);if(f)if(f instanceof RegExp)r.text._legacyClassRegex=f;else{var m="."+f;p.indexOf(m)===-1&&p.push(m)}return r.text.maskingSelector=p.join(","),r.text.unmaskingSelector=Rf(l).join(","),u===void 0&&s!==void 0?r.text.maskAll=!1:u!==void 0&&(r.text.maskAll=u),r}function el(e,r){return r?!!e.closest(r):!1}function X$(e,r){var n=(e.getAttribute("type")||"").toLowerCase();if(W$.indexOf(n)!==-1)return!0;var t=(e.getAttribute("autocomplete")||"").toLowerCase();return t&&t!==""&&t!=="off"||e.hasAttribute(K$)||A4(e)?!0:r.input.maskAll?!el(e,r.input.unmaskingSelector):!!(el(e,r.input.maskingSelector)||el(e,L4))}function Q$(e,r){return e?r.text._legacyClassRegex&&gg(e,r.text._legacyClassRegex)?!0:r.text.maskAll?!el(e,r.text.unmaskingSelector):!!(el(e,r.text.maskingSelector)||el(e,L4)):!1}var tl=Vs("recorder"),Z$=re.CompressionStream,eD={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},tD=new Set([$e.MouseMove,$e.MouseInteraction,$e.Scroll,$e.ViewportResize,$e.Input,$e.TouchMove,$e.MediaInteraction,$e.Drag,$e.Selection]);function rD(e){return e.type===et.IncrementalSnapshot&&tD.has(e.data.source)}var yr=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Xi,this._onMaxLengthReached=e.onMaxLengthReached||Xi,this._onBatchSent=e.onBatchSent||Xi,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Uc,this.recordMinMs=0;var r=fu(e.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new pa(w4),this.batcher=new Zn(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:eD,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:r,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:A$,sharedLockTimeoutMS:10*1e3})};yr.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},r=this._mixpanel.get_property("$device_id");r&&(e.$device_id=r);var n=this._mixpanel.get_property("$user_id");return n&&(e.$user_id=n),e};yr.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch((function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}).bind(this)).then((function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then((function(){return this.queueStorage.removeItem(this.batcherKey)}).bind(this))}).bind(this))};yr.prototype.getConfig=function(e){return this._mixpanel.get_config(e)};yr.prototype.get_config=function(e){return this.getConfig(e)};yr.prototype.startRecording=function(e){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){tl.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Uc&&(this.recordMaxMs=Uc,tl.critical("record_max_ms cannot be greater than "+Uc+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=M.info.currentUrl(),this.replayStartUrl=M.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var r=(function(){clearTimeout(this.idleTimeoutId);var s=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,s),this.idleExpires=new Date().getTime()+s}).bind(this);r();var n=this.getConfig("record_block_selector");(n===""||n===null)&&(n=void 0);var t=J$(this._mixpanel);try{this._stopRecording=this._rrwebRecord({emit:(function(s){if(this.idleExpires&&this.idleExpires<s.timestamp){this._onIdleTimeout();return}rD(s)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),r()),this.__enqueuePromise=this.batcher.enqueue(s),(this.lastEventTimestamp===null||s.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=s.timestamp)}).bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:n,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(X$,t),maskTextFn:this._getMaskFn(Q$,t),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:this.getConfig("record_console")?[a$({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}})]:[]})}catch(s){this.reportError("Unexpected error when starting rrweb recording.",s)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var a=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),a)};yr.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(n){this.reportError("Error with rrweb stopRecording",n)}this._stopRecording=null}var r;return this.batcher.stopped?r=this.batcher.clear():e||(r=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),r};yr.prototype.isRrwebStopped=function(){return this._stopRecording===null};yr.prototype.flushEventsWithOptOut=function(e,r,n){var t=(function(a){a===0&&(this.stopRecording(),n({error:"Tracking has been opted out, stopping recording."}))}).bind(this);this._flushEvents(e,r,n,t)};yr.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(r){this.reportError("Error getting tab ID for serialization ",r),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}};yr.deserialize=function(e,r){var n=new yr(M.extend({},r,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:r.sharedLockStorage}));return n};yr.prototype._sendRequest=function(e,r,n,t){var a=(function(l,u){l.status===200&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=M.info.currentUrl()),this._onBatchSent(),t({status:0,httpStatusCode:l.status,responseBody:u,retryAfter:l.headers.get("Retry-After")})}).bind(this),s=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");re.fetch(s+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(r),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then(function(l){l.json().then(function(u){a(l,u)}).catch(function(u){t({error:u})})}).catch(function(l){t({error:l,httpStatusCode:0})})};yr.prototype._flushEvents=cs(function(e,r,n){var t=e.length;if(t>0){for(var a=this.replayId,s=1/0,l=-1/0,u=!1,f=0;f<t;f++)s=Math.min(s,e[f].timestamp),l=Math.max(l,e[f].timestamp),e[f].type===et.FullSnapshot&&(u=!0);if(this.seqNo===0){if(!u){n({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=s}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=s);var p=l-this.replayStartTime,m={$current_url:this.batchStartUrl,$lib_version:vn.LIB_VERSION,batch_start_time:s/1e3,mp_lib:"web",replay_id:a,replay_length_ms:p,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},g=JSON.stringify(e);if(Object.assign(m,this.getUserIdInfo()),y$(Ra,si.vendor,Ac)){var y=new Blob([g],{type:"application/json"}).stream(),_=y.pipeThrough(new Z$("gzip"));new Response(_).blob().then((function(w){m.format="gzip",this._sendRequest(a,m,w,n)}).bind(this))}else m.format="body",this._sendRequest(a,m,g,n)}});yr.prototype.reportError=function(e,r){tl.error.apply(tl.error,arguments);try{!r&&!(e instanceof Error)&&(e=new Error(e)),this.getConfig("error_reporter")(e,r)}catch(n){tl.error(n)}};yr.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};yr.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>o1?(tl.critical("record_min_ms cannot be greater than "+o1+"ms. Capping value."),o1):e};yr.prototype._getMaskFn=function(e,r){return(function(n,t){if(!n.trim().length)return"";var a=!0;try{a=e(t,r)}catch(l){this.reportError("Error checking if text should be masked, defaulting to masked",l)}if(a){var s=Math.min(n.length,1e4);return"*".repeat(s)}else return n}).bind(this)};
183var gi=function(e){this.idb=new pa(zv),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};gi.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};gi.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)};gi.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return tt.resolve();var r=e.tabId;return r?this.idb.init().then((function(){return this.idb.setItem(r,e)}).bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),tt.resolve())};gi.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}).bind(this)).then((function(e){return Hv(e)?null:e}).bind(this)).catch(this.handleError.bind(this)):tt.resolve(null)};gi.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};gi.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then((function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}).bind(this)).catch(this.handleError.bind(this))};gi.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):tt.resolve()};gi.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getAll()}).bind(this)).then((function(e){var r=e.filter(function(n){return Hv(n)}).map((function(n){var t=yr.deserialize(n,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return t.unloadPersistedData().then((function(){return this.idb.removeItem(n.tabId)}).bind(this)).catch(this.handleError.bind(this))}).bind(this));return tt.all(r)}).bind(this)).catch(this.handleError.bind(this)):tt.resolve([])};var zc=Vs("recorder"),vi=function(e,r,n){this.mixpanelInstance=e,this.rrwebRecord=r||is,this.sharedLockStorage=n,this.recordingRegistry=new gi({mixpanelInstance:this.mixpanelInstance,errorReporter:zc.error,sharedLockStorage:n}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};vi.prototype.startRecording=function(e){if(e=e||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){zc.log("Recording already in progress, skipping startRecording.");return}var r=(function(){zc.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),n=(function(){zc.log("Max recording length reached, stopping recording."),this.resetRecording()}).bind(this),t=(function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}).bind(this),a={mixpanelInstance:this.mixpanelInstance,onBatchSent:t,onIdleTimeout:r,onMaxLengthReached:n,replayId:M.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=yr.deserialize(e.activeSerializedRecording,a):this.activeRecording=new yr(a),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};vi.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then((function(){return this.recordingRegistry.clearActiveRecording()}).bind(this)).then((function(){this.stopRecordingInProgress=!1}).bind(this))};vi.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};vi.prototype._stopCurrentRecording=function(e,r){if(this.activeRecording){var n=this.activeRecording.stopRecording(e);return r&&(this.activeRecording=null),n}return tt.resolve()};vi.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),tt.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(r){return r&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:r}):e?this.startRecording({shouldStopBatcher:!1}):(zc.log("No resumable recording found."),null)}).bind(this))};vi.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};vi.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null};Object.defineProperty(vi.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});re[I1]=vi;
vendor: 9,543 bytes, line 183
183function nD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vf={exports:{}},aD=Vf.exports,Uw;function iD(){return Uw||(Uw=1,(function(e,r){(function(n,t){e.exports=t()})(aD,function(){Array.isArray||(Array.isArray=function(s){return Object.prototype.toString.call(s)==="[object Array]"});function n(s){for(var l=[],u=0,f=s.length;u<f;u++)l.indexOf(s[u])===-1&&l.push(s[u]);return l}var t={},a={"==":function(s,l){return s==l},"===":function(s,l){return s===l},"!=":function(s,l){return s!=l},"!==":function(s,l){return s!==l},">":function(s,l){return s>l},">=":function(s,l){return s>=l},"<":function(s,l,u){return u===void 0?s<l:s<l&&l<u},"<=":function(s,l,u){return u===void 0?s<=l:s<=l&&l<=u},"!!":function(s){return t.truthy(s)},"!":function(s){return!t.truthy(s)},"%":function(s,l){return s%l},log:function(s){return console.log(s),s},in:function(s,l){return!l||typeof l.indexOf>"u"?!1:l.indexOf(s)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(s,l,u){if(u<0){var f=String(s).substr(l);return f.substr(0,f.length+u)}return String(s).substr(l,u)},"+":function(){return Array.prototype.reduce.call(arguments,function(s,l){return parseFloat(s,10)+parseFloat(l,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(s,l){return parseFloat(s,10)*parseFloat(l,10)})},"-":function(s,l){return l===void 0?-s:s-l},"/":function(s,l){return s/l},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(s,l){return s.concat(l)},[])},var:function(s,l){var u=l===void 0?null:l,f=this;if(typeof s>"u"||s===""||s===null)return f;for(var p=String(s).split("."),m=0;m<p.length;m++)if(f==null||(f=f[p[m]],f===void 0))return u;return f},missing:function(){for(var s=[],l=Array.isArray(arguments[0])?arguments[0]:arguments,u=0;u<l.length;u++){var f=l[u],p=t.apply({var:f},this);(p===null||p==="")&&s.push(f)}return s},missing_some:function(s,l){var u=t.apply({missing:l},this);return l.length-u.length>=s?[]:u}};return t.is_logic=function(s){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&Object.keys(s).length===1},t.truthy=function(s){return Array.isArray(s)&&s.length===0?!1:!!s},t.get_operator=function(s){return Object.keys(s)[0]},t.get_values=function(s){return s[t.get_operator(s)]},t.apply=function(s,l){if(Array.isArray(s))return s.map(function(x){return t.apply(x,l)});if(!t.is_logic(s))return s;var u=t.get_operator(s),f=s[u],p,m,g,y,_;if(Array.isArray(f)||(f=[f]),u==="if"||u=="?:"){for(p=0;p<f.length-1;p+=2)if(t.truthy(t.apply(f[p],l)))return t.apply(f[p+1],l);return f.length===p+1?t.apply(f[p],l):null}else if(u==="and"){for(p=0;p<f.length;p+=1)if(m=t.apply(f[p],l),!t.truthy(m))return m;return m}else if(u==="or"){for(p=0;p<f.length;p+=1)if(m=t.apply(f[p],l),t.truthy(m))return m;return m}else{if(u==="filter")return y=t.apply(f[0],l),g=f[1],Array.isArray(y)?y.filter(function(x){return t.truthy(t.apply(g,x))}):[];if(u==="map")return y=t.apply(f[0],l),g=f[1],Array.isArray(y)?y.map(function(x){return t.apply(g,x)}):[];if(u==="reduce")return y=t.apply(f[0],l),g=f[1],_=typeof f[2]<"u"?t.apply(f[2],l):null,Array.isArray(y)?y.reduce(function(x,S){return t.apply(g,{current:S,accumulator:x})},_):_;if(u==="all"){if(y=t.apply(f[0],l),g=f[1],!Array.isArray(y)||!y.length)return!1;for(p=0;p<y.length;p+=1)if(!t.truthy(t.apply(g,y[p])))return!1;return!0}else if(u==="none"){if(y=t.apply(f[0],l),g=f[1],!Array.isArray(y)||!y.length)return!0;for(p=0;p<y.length;p+=1)if(t.truthy(t.apply(g,y[p])))return!1;return!0}else if(u==="some"){if(y=t.apply(f[0],l),g=f[1],!Array.isArray(y)||!y.length)return!1;for(p=0;p<y.length;p+=1)if(t.truthy(t.apply(g,y[p])))return!0;return!1}}if(f=f.map(function(x){return t.apply(x,l)}),a.hasOwnProperty(u)&&typeof a[u]=="function")return a[u].apply(l,f);if(u.indexOf(".")>0){var w=String(u).split("."),C=a;for(p=0;p<w.length;p++){if(!C.hasOwnProperty(w[p]))throw new Error("Unrecognized operation "+u+" (failed at "+w.slice(0,p+1).join(".")+")");C=C[w[p]]}return C.apply(l,f)}throw new Error("Unrecognized operation "+u)},t.uses_data=function(s){var l=[];if(t.is_logic(s)){var u=t.get_operator(s),f=s[u];Array.isArray(f)||(f=[f]),u==="var"?l.push(f[0]):f.forEach(function(p){l.push.apply(l,t.uses_data(p))})}return n(l)},t.add_operation=function(s,l){a[s]=l},t.rm_operation=function(s){delete a[s]},t.rule_like=function(s,l){if(l===s||l==="@")return!0;if(l==="number")return typeof s=="number";if(l==="string")return typeof s=="string";if(l==="array")return Array.isArray(s)&&!t.is_logic(s);if(t.is_logic(l)){if(t.is_logic(s)){var u=t.get_operator(l),f=t.get_operator(s);if(u==="@"||u===f)return t.rule_like(t.get_values(s,!1),t.get_values(l,!1))}return!1}if(Array.isArray(l))if(Array.isArray(s)){if(l.length!==s.length)return!1;for(var p=0;p<l.length;p+=1)if(!t.rule_like(s[p],l[p]))return!1;return!0}else return!1;return!1},t})})(Vf)),Vf.exports}var sD=iD(),oD=nD(sD),Eh=function(e,r){if(e==null)return e;if(typeof e=="string")return e.toLowerCase();if(Array.isArray(e))return e.map(function(s){return Eh(s,r)});if(e===Object(e)){var n={};for(var t in e)if(e.hasOwnProperty(t)){var a=r&&typeof t=="string"?t.toLowerCase():t;n[a]=Eh(e[t],r)}return n}else return e},lD=function(e){return Eh(e,!0)},cD=function(e){return Eh(e,!1)},uD=function(e,r,n){if(e!==n.event_name)return{matches:!1};var t=n.property_filters,a=!0;if(t&&!M.isEmptyObject(t))try{var s=lD(r||{}),l=cD(t);a=oD.apply(l,s)}catch(u){return{matches:!1,error:u.toString()}}return{matches:a}},$4={};$4.eventMatchesCriteria=uD;re[ca]=Promise.resolve($4);var dD=30,fD=1e3,hD=4,pD=!1;function D4(){this.clicks=[]}D4.prototype.isRageClick=function(e,r){r=r||{};var n=r.threshold_px||dD,t=r.timeout_ms||fD,a=r.click_count||hD,s=r.interactive_elements_only||pD;if(s){var l=I4(e);if(!l||O4(l))return!1}var u=Date.now(),f=e.pageX,p=e.pageY,m=this.clicks[this.clicks.length-1];if(m&&u-m.timestamp<t&&Math.sqrt(Math.pow(f-m.x,2)+Math.pow(p-m.y,2))<n){if(this.clicks.push({x:f,y:p,timestamp:u}),this.clicks.length>=a)return this.clicks=[],!0}else this.clicks=[{x:f,y:p,timestamp:u}];return!1};function xl(e,r){this.changeCallback=e||function(){},this.observerConfig=r,this.observedShadowRoots=null,this.shadowObservers=[]}xl.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return I4(e)};xl.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var r=T4(e),n=0;n<r.length;n++){var t=r[n];t&&t.shadowRoot&&this.observeShadowRoot(t.shadowRoot)}};xl.prototype.observeShadowRoot=function(e){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(e))){var r=this;try{this.observedShadowRoots.add(e);var n=new window.MutationObserver(function(){r.changeCallback()});n.observe(e,this.observerConfig),this.shadowObservers.push(n)}catch(t){wt.critical("Error while observing shadow root",t)}}};xl.prototype.start=function(){if(!this.observedShadowRoots){if(!H$()){wt.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};xl.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(r){wt.critical("Error while disconnecting shadow DOM observer",r)}this.shadowObservers=[],this.observedShadowRoots=null}};var mD=500,gD=[hu,R$,wh,O$,T$],vD=[s0],yD=[$g],Pw={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function $a(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}$a.prototype.addClick=function(e){var r=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return r||(r=e.target||e.srcElement),!r||O4(r)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:r,event:e,timestamp:Date.now()}),!0)};$a.prototype.trackClick=function(e,r){if(!this.isTracking)return!1;var n=this.addClick(e);return n&&this.triggerProcessing(r),n};$a.prototype.getDeadClicks=function(e){if(this.pendingClicks.length===0)return[];var r=e.timeout_ms,n=Date.now(),t=this.pendingClicks.slice();this.pendingClicks=[];for(var a=[],s=0;s<t.length;s++){var l=t[s];n-l.timestamp>=r?this.hasChangesAfter(l.timestamp)||a.push(l):this.pendingClicks.push(l)}return a};$a.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100};$a.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};$a.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))};$a.prototype.processRecursively=function(e){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var r=e.timeout_ms,n=this;this.processingTimeout=setTimeout(function(){if(n.processingActive){for(var t=n.getDeadClicks(e),a=0;a<t.length;a++)n.onDeadClickCallback(t[a].event);n.pendingClicks.length>0?n.processRecursively(e):n.processingActive=!1}},r)};$a.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;gD.forEach(function(n){var t=function(){e.recordChangeEvent()};document.addEventListener(n,t,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:n,handler:t,options:{capture:!0,passive:!0}})}
183),yD.forEach(function(n){var t=function(){e.recordChangeEvent()};window.addEventListener(n,t),e.eventListeners.push({target:window,event:n,handler:t})}),vD.forEach(function(n){var t=function(){e.recordChangeEvent()};window.addEventListener(n,t,{passive:!0}),e.eventListeners.push({target:window,event:n,handler:t,options:{passive:!0}})});var r=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",r),e.eventListeners.push({target:document,event:"selectionchange",handler:r}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,Pw)}catch(n){wt.critical("Error while setting up mutation observer",n)}if(window.customElements)try{this.shadowDOMObserver=new xl(function(){e.recordChangeEvent()},Pw),this.shadowDOMObserver.start()}catch(n){wt.critical("Error while setting up shadow DOM observer",n),this.shadowDOMObserver=null}}};$a.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var r=this.eventListeners[e];try{r.target.removeEventListener(r.event,r.handler,r.options)}catch(n){wt.critical("Error while removing event listener",n)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(n){wt.critical("Error while disconnecting mutation observer",n)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(n){wt.critical("Error while stopping shadow DOM observer",n)}this.shadowDOMObserver=null}}};var U4="autocapture",bD="track_pageview",P4="full-url",xD="url-with-path-and-query-string",_D="url-with-path",wD="allow_element_callback",z4="allow_selectors",B4="allow_url_regexes",F4="block_attrs",q4="block_element_callback",H4="block_selectors",G4="block_url_regexes",V4="capture_extra_attrs",Y4="capture_text_content",K4="scroll_capture_all",W4="scroll_depth_percent_checkpoints",Ch="click",Mh="dead_click",zg="input",J4="pageview",kh="rage_click",Bg="scroll",o0="page_leave",Fg="submit",br={};br[z4]=[];br[B4]=[];br[F4]=[];br[q4]=null;br[H4]=[];br[G4]=[];br[V4]=[];br[Y4]=!1;br[K4]=!1;br[W4]=[25,50,75,100];br[Ch]=!0;br[Mh]=!0;br[zg]=!0;br[J4]=P4;br[kh]=!0;br[Bg]=!0;br[o0]=!1;br[Fg]=!0;var pu={$mp_autocapture:!0},X4="$mp_click",Q4="$mp_dead_click",SD="$mp_input_change",Z4="$mp_rage_click",ED="$mp_scroll",CD="$mp_submit",MD="$mp_page_leave",sr=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};sr.prototype.init=function(){if(!q$()){wt.critical("Autocapture unavailable: missing required DOM APIs");return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()};sr.prototype.getFullConfig=function(){var e=this.mp.get_config(U4);return e?M.isObject(e)?M.extend({},br,e):br:{}};sr.prototype.getConfig=function(e){return this.getFullConfig()[e]};sr.prototype.currentUrlBlocked=function(){var e,r=M.info.currentUrl(),n=this.getConfig(B4)||[];if(n.length){var t=!1;for(e=0;e<n.length;e++){var a=n[e];try{if(r.match(a)){t=!0;break}}catch(l){return wt.critical("Error while checking block URL regex: "+a,l),!0}}if(!t)return!0}var s=this.getConfig(G4)||[];if(!s||!s.length)return!1;for(e=0;e<s.length;e++)try{if(r.match(s[e]))return!0}catch(l){return wt.critical("Error while checking block URL regex: "+s[e],l),!0}return!1};sr.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(U4)?this.getConfig(J4):this.mp.get_config(bD)};sr.prototype.trackDomEvent=function(e,r){if(!this.currentUrlBlocked()){var n=this.mp.is_recording_heatmap_data()&&(r===X4&&!this.getConfig(Ch)||r===Z4&&!this._getClickTrackingConfig(kh)||r===Q4&&!this._getClickTrackingConfig(Mh)),t=B$(e,{allowElementCallback:this.getConfig(wD),allowSelectors:this.getConfig(z4),blockAttrs:this.getConfig(F4),blockElementCallback:this.getConfig(q4),blockSelectors:this.getConfig(H4),captureExtraAttrs:this.getConfig(V4),captureTextContent:this.getConfig(Y4),captured
vendor: 37,062 bytes, line 183
183ForHeatMap:n});t&&(M.extend(t,pu),this.mp.track(r,t))}};sr.prototype.initPageListeners=function(){if(re.removeEventListener(Rw,this.listenerPopstate),re.removeEventListener($g,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(o0)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){re.dispatchEvent(new Event(Ji))},this.listenerHashchange=function(){re.dispatchEvent(new Event(Ji))},re.addEventListener(Rw,this.listenerPopstate),re.addEventListener($g,this.listenerHashchange);var e=re.history.pushState;typeof e=="function"&&(re.history.pushState=function(n,t,a){e.call(re.history,n,t,a),re.dispatchEvent(new Event(Ji))});var r=re.history.replaceState;typeof r=="function"&&(re.history.replaceState=function(n,t,a){r.call(re.history,n,t,a),re.dispatchEvent(new Event(Ji))})}};sr.prototype._getClickTrackingConfig=function(e){var r=this.getConfig(e);return r?r===!0?{}:typeof r=="object"?r:{}:null};sr.prototype._trackPageLeave=function(e,r,n){if(!this.hasTrackedScrollSession&&!(!this.getConfig(o0)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var t=Math.max(De.documentElement.clientHeight,re.innerHeight||0),a=Math.round(Math.max(this.maxScrollViewDepth-t,0)/(n-t)*100),s=Math.round(t/n*100);n<=t&&(a=100,s=100);var l=M.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:a,$fold_line_percentage:s,$scroll_height:n,$event_type:e.type,$current_url:r||M.info.currentUrl(),$viewportHeight:t,$viewportWidth:Math.max(De.documentElement.clientWidth,re.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},pu);this.mp.track(MD,l,{transport:"sendBeacon"})}};sr.prototype._initScrollDepthTracking=function(){if(re.removeEventListener(Gv,this.listenerScrollDepth),re.removeEventListener(s0,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){wt.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(De.documentElement.clientHeight,re.innerHeight||0);var e=(function(){if(!this.currentUrlBlocked()){var n=Math.max(De.documentElement.clientHeight,re.innerHeight||0)+re.scrollY;n>this.maxScrollViewDepth&&(this.maxScrollViewDepth=n),this.previousScrollHeight=De.body.scrollHeight}}).bind(this),r=R4(e);this.listenerScrollDepth=r.listener,re.addEventListener(r.eventType,this.listenerScrollDepth)}};sr.prototype.initClickTracking=function(){re.removeEventListener(hi,this.listenerClick),!(!this.getConfig(Ch)&&!this.mp.get_config("record_heatmap_data"))&&(wt.log("Initializing click tracking"),this.listenerClick=(function(e){!this.getConfig(Ch)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(e,X4)}).bind(this),re.addEventListener(hi,this.listenerClick))};sr.prototype.initDeadClickTracking=function(){var e=this._getClickTrackingConfig(Mh);if(!e&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}wt.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new $a((function(r){this.trackDomEvent(r,Q4)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(r){var n=this._getClickTrackingConfig(Mh);if(!(!n&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var t=n||{};t.timeout_ms||(t.timeout_ms=mD),this._deadClickTracker.trackClick(r,t)}}).bind(this),re.addEventListener(hi,this.listenerDeadClick))};sr.prototype.initInputTracking=function(){re.removeEventListener(hu,this.listenerChange),this.getConfig(zg)&&(wt.log("Initializing input tracking"),this.listenerChange=(function(e){this.getConfig(zg)&&this.trackDomEvent(e,SD)}).bind(this),re.addEventListener(hu,this.listenerChange))};sr.prototype.initPageviewTracking=function(){if(re.removeEventListener(Ji,this.listenerLocationchange),!!this.pageviewTrackingConfig()){wt.log("Initializing pageview tracking");var e="",r=!1;this.currentUrlBlocked()||(r=this.mp.track_pageview(pu)),r&&(e=M.info.currentUrl()),this.listenerLocationchange=du((function(){if(!this.currentUrlBlocked()){var n=M.info.currentUrl(),t=!1,a=n.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],s=this.pageviewTrackingConfig();if(s===P4?t=n!==e:s===xD?t=n.split("#")[0]!==e.split("#")[0]:s===_D&&(t=a),t){var l=this.mp.track_pageview(pu);l&&(e=n),a&&(this.lastScrollCheckpoint=0,wt.log("Path change: re-initializing scroll depth checkpoints"))}}}).bind(this)),re.addEventListener(Ji,this.listenerLocationchange)}};sr.prototype.initRageClickTracking=function(){re.removeEventListener(hi,this.listenerRageClick);var e=this._getClickTrackingConfig(kh);!e&&!this.mp.get_config("record_heatmap_data")||(wt.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new D4),this.listenerRageClick=(function(r){var n=this._getClickTrackingConfig(kh);!n&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(r,n)&&this.trackDomEvent(r,Z4)}).bind(this),re.addEventListener(hi,this.listenerRageClick))};sr.prototype.initScrollTracking=function(){if(re.removeEventListener(s0,this.listenerScroll),re.removeEventListener(Gv,this.listenerScroll),!!this.getConfig(Bg)){wt.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=(function(){if(this.getConfig(Bg)&&!this.currentUrlBlocked()){var n=this.getConfig(K4),t=(this.getConfig(W4)||[]).slice().sort(function(m,g){return m-g}),a=re.scrollY,s=M.extend({$scroll_top:a},pu);try{var l=De.body.scrollHeight,u=Math.round(a/(l-re.innerHeight)*100);if(s.$scroll_height=l,s.$scroll_percentage=u,u>this.lastScrollCheckpoint)for(var f=0;f<t.length;f++){var p=t[f];u>=p&&this.lastScrollCheckpoint<p&&(s.$scroll_checkpoint=p,this.lastScrollCheckpoint=p,n=!0)}}catch(m){wt.critical("Error while calculating scroll percentage",m)}n&&this.mp.track(ED,s)}}).bind(this),r=R4(e);this.listenerScroll=r.listener,re.addEventListener(r.eventType,this.listenerScroll)}};sr.prototype.initSubmitTracking=function(){re.removeEventListener(wh,this.listenerSubmit),this.getConfig(Fg)&&(wt.log("Initializing submit tracking"),this.listenerSubmit=(function(e){this.getConfig(Fg)&&this.trackDomEvent(e,CD)}).bind(this),re.addEventListener(wh,this.listenerSubmit))};sr.prototype.initPageLeaveTracking=function(){if(De.removeEventListener(Ow,this.listenerPageLeaveVisibilitychange),re.removeEventListener(Ji,this.listenerPageLeaveLocationchange),re.removeEventListener(Aw,this.listenerPageLoad),!(!this.getConfig(o0)&&!this.mp.get_config("record_heatmap_data"))){wt.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=M.info.currentUrl();this.listenerPageLoad=(function(){this.previousScrollHeight=De.body.scrollHeight}).bind(this),re.addEventListener(Aw,this.listenerPageLoad),this.listenerPageLeaveLocationchange=du((function(r){if(!this.currentUrlBlocked()){var n=M.info.currentUrl(),t=n!==e;t&&(this._trackPageLeave(r,e,this.previousScrollHeight),e=n,this.maxScrollViewDepth=Math.max(De.documentElement.clientHeight,re.innerHeight||0),this.previousScrollHeight=De.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),re.addEventListener(Ji,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(r){De.hidden&&this._trackPageLeave(r,e,this.previousScrollHeight)}).bind(this),De.addEventListener(Ow,this.listenerPageLeaveVisibilitychange)}};sr.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(re.removeEventListener(hi,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};g4(sr);var kD=function(e,r){return re[ca]&&typeof re[ca].then=="function"||(re[ca]=new Promise(function(n){e(r,n)}).then(function(){var n=re[ca];if(n&&typeof n.then=="function")return n;throw new Error("targeting failed to load")}).catch(function(n){throw delete re[ca],n})),re[ca]},Wt=Vs("flags"),Nh="flags",jh="context",qg={};qg[jh]={};var ND=function(e,r){return e+":"+r},jD=function(e){return e.split(":")[0]},Ie=function(e){this.fetch=re.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc,this.loadExtraBundle=e.loadExtraBundle||function(){},this.targetingSrc=e.targetingSrc||""};Ie.prototype.init=function(){if(!this.minApisSupported()){Wt.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={}};Ie.prototype.getFullConfig=function(){var e=this.getMpConfig(Nh);return e?M.isObject(e)?M.extend({},qg,e):qg:{}};Ie.prototype.getConfig=function(e){return this.getFullConfig()[e]};Ie.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Nh)};Ie.prototype.updateContext=function(e,r){if(!this.isSystemEnabled())return Wt.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var n=this.getMpConfig(Nh);M.isObject(n)||(n={});var t=r&&r.replace?{}:this.getConfig(jh);return n[jh]=M.extend({},t,e),this.setMpConfig(Nh,n),this.fetchFlags()};Ie.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Wt.error("Feature Flags not enabled"),!!this.flags};Ie.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty("distinct_id"),r=this.getMpProperty("$device_id"),n=_4();Wt.log("Fetching flags for distinct ID: "+e);var t=M.extend({distinct_id:e,device_id:r},this.getConfig(jh)),a=new URLSearchParams;a.set("context",JSON.stringify(t)),a.set("token",this.getMpConfig("token")),a.set("mp_lib","web"),a.set("$lib_version",vn.LIB_VERSION);var s=this.getFullApiRoute()+"?"+a.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(re,s,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:n}}).then((function(l){return this.markFetchComplete(),l.json().then((function(u){var f=u.flags;if(!f)throw new Error("No flags in API response");var p=new Map,m={};M.each(f,function(y,_){var w=!1,C=_+":";if(M.each(this.activatedFirstTimeEvents,function(S,k){k.startsWith(C)&&(w=!0)}),w){var x=this.flags&&this.flags.get(_);x&&p.set(_,x)}else p.set(_,{key:y.variant_key,value:y.variant_value,experiment_id:y.experiment_id,is_experiment_active:y.is_experiment_active,is_qa_tester:y.is_qa_tester})},this);var g=u.pending_first_time_events;g&&g.length>0&&M.each(g,function(y){var _=y.flag_key,w=ND(_,y.first_time_event_hash);this.activatedFirstTimeEvents[w]||(m[w]={flag_key:_,flag_id:y.flag_id,project_id:y.project_id,first_time_event_hash:y.first_time_event_hash,event_name:y.event_name,property_filters:y.property_filters,pending_variant:y.pending_variant})},this),this.activatedFirstTimeEvents&&M.each(this.activatedFirstTimeEvents,function(y,_){var w=jD(_);y&&!p.has(w)&&this.flags&&this.flags.has(w)&&p.set(w,this.flags.get(w))},this),this.flags=p,this.pendingFirstTimeEvents=m,this._traceparent=n,this._loadTargetingIfNeeded()}).bind(this)).catch((function(u){this.markFetchComplete(),Wt.error(u)}).bind(this))}).bind(this)).catch((function(l){this.markFetchComplete(),Wt.error(l)}).bind(this)),this.fetchPromise};Ie.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){Wt.error("Fetch in progress started time not set, cannot mark fetch complete");return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null};Ie.prototype._loadTargetingIfNeeded=function(){var e=!1;M.each(this.pendingFirstTimeEvents,function(r){r.property_filters&&!M.isEmptyObject(r.property_filters)&&(e=!0)}),e&&this.getTargeting().then(function(){Wt.log("targeting loaded for property filter evaluation")})};Ie.prototype.getTargeting=function(){return kD(this.loadExtraBundle.bind(this),this.targetingSrc).catch((function(e){Wt.error("Failed to load targeting: "+e)}).bind(this))};Ie.prototype.checkFirstTimeEvents=function(e,r){!this.pendingFirstTimeEvents||M.isEmptyObject(this.pendingFirstTimeEvents)||(re[ca]&&M.isFunction(re[ca].then)?re[ca].then((function(n){this._processFirstTimeEventCheck(e,r,n)}).bind(this)).catch((function(){this._processFirstTimeEventCheck(e,r,null)}).bind(this)):this._processFirstTimeEventCheck(e,r,null))};Ie.prototype._processFirstTimeEventCheck=function(e,r,n){M.each(this.pendingFirstTimeEvents,function(t,a){if(!this.activatedFirstTimeEvents[a]){var s=t.flag_key,l;if(!n&&t.property_filters&&!M.isEmptyObject(t.property_filters)){Wt.warn('Skipping event check for "'+s+'" - property filters require targeting library');return}if(!n)l={matches:e===t.event_name,error:null};else{var u={event_name:t.event_name,property_filters:t.property_filters};l=n.eventMatchesCriteria(e,r,u)}if(l.error){Wt.error('Error checking first-time event for flag "'+s+'": '+l.error);return}if(l.matches){Wt.log('First-time event matched for flag "'+s+'": '+e);var f={key:t.pending_variant.variant_key,value:t.pending_variant.variant_value,experiment_id:t.pending_variant.experiment_id,is_experiment_active:t.pending_variant.is_experiment_active};this.flags.set(s,f),this.activatedFirstTimeEvents[a]=!0,this.recordFirstTimeEvent(t.flag_id,t.project_id,t.first_time_event_hash)}}},this)};Ie.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute()+"/"+e+"/first-time-events"};Ie.prototype.recordFirstTimeEvent=function(e,r,n){var t=this.getMpProperty("distinct_id"),a=_4(),s=new URLSearchParams;s.set("mp_lib","web"),s.set("$lib_version",vn.LIB_VERSION);var l=this.getFirstTimeEventApiRoute(e)+"?"+s.toString(),u={distinct_id:t,project_id:r,first_time_event_hash:n};Wt.log("Recording first-time event for flag: "+e),this.fetch.call(re,l,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:a},body:JSON.stringify(u)}).catch(function(f){Wt.error("Failed to record first-time event for flag "+e+": "+f)})};Ie.prototype.getVariant=function(e,r){return this.fetchPromise?this.fetchPromise.then((function(){return this.getVariantSync(e,r)}).bind(this)).catch(function(n){return Wt.error(n),r}):new Promise(function(n){Wt.critical("Feature Flags not initialized"),n(r)})};Ie.prototype.getVariantSync=function(e,r){if(!this.areFlagsReady())return Wt.log("Flags not loaded yet"),r;var n=this.flags.get(e);return n?(this.trackFeatureCheck(e,n),n):(Wt.log('No flag found: "'+e+'"'),r)};Ie.prototype.getVariantValue=function(e,r){return this.getVariant(e,{value:r}).then(function(n){return n.value}).catch(function(n){return Wt.error(n),r})};Ie.prototype.getFeatureData=function(e,r){return Wt.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,r)};Ie.prototype.getVariantValueSync=function(e,r){return this.getVariantSync(e,{value:r}).value};Ie.prototype.isEnabled=function(e,r){return this.getVariantValue(e).then((function(){return this.isEnabledSync(e,r)}).bind(this)).catch(function(n){return Wt.error(n),r})};Ie.prototype.isEnabledSync=function(e,r){r=r||!1;var n=this.getVariantValueSync(e,r);return n!==!0&&n!==!1&&(Wt.error('Feature flag "'+e+'" value: '+n+" is not a boolean; returning fallback value: "+r),n=r),n};Ie.prototype.trackFeatureCheck=function(e,r){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var n={"Experiment name":e,"Variant name":r.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};r.experiment_id!=="undefined"&&(n.$experiment_id=r.experiment_id),r.is_experiment_active!=="undefined"&&(n.$is_experiment_active=r.is_experiment_active),r.is_qa_tester!=="undefined"&&(n.$is_qa_tester=r.is_qa_tester),this.track("$experiment_started",n)}};Ie.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};g4(Ie);Ie.prototype.are_flags_ready=Ie.prototype.areFlagsReady;Ie.prototype.get_variant=Ie.prototype.getVariant;Ie.prototype.get_variant_sync=Ie.prototype.getVariantSync;Ie.prototype.get_variant_value=Ie.prototype.getVariantValue;Ie.prototype.get_variant_value_sync=Ie.prototype.getVariantValueSync;Ie.prototype.is_enabled=Ie.prototype.isEnabled;Ie.prototype.is_enabled_sync=Ie.prototype.isEnabledSync;Ie.prototype.update_context=Ie.prototype.updateContext;Ie.prototype.get_feature_data=Ie.prototype.getFeatureData;Ie.prototype.getTargeting=Ie.prototype.getTargeting;var yi=function(){};yi.prototype.create_properties=function(){};yi.prototype.event_handler=function(){};yi.prototype.after_track_handler=function(){};yi.prototype.init=function(e){return this.mp=e,this};yi.prototype.track=function(e,r,n,t){var a=this,s=M.dom_query(e);if(s.length===0){qe.error("The DOM query ("+e+") returned 0 elements");return}return M.each(s,function(l){M.register_event(l,this.override_event,function(u){var f={},p=a.create_properties(n,this),m=a.mp.get_config("track_links_timeout");a.event_handler(u,this,f),window.setTimeout(a.track_callback(t,p,f,!0),m),a.mp.track(r,p,a.track_callback(t,p,f))})},this),!0};yi.prototype.track_callback=function(e,r,n,t){t=t||!1;var a=this;return function(){n.callback_fired||(n.callback_fired=!0,!(e&&e(t,r)===!1)&&a.after_track_handler(r,n,t))}};yi.prototype.create_properties=function(e,r){var n;return typeof e=="function"?n=e(r):n=M.extend({},e),n};var ml=function(){this.override_event="click"};M.inherit(ml,yi);ml.prototype.create_properties=function(e,r){var n=ml.superclass.create_properties.apply(this,arguments);return r.href&&(n.url=r.href),n};ml.prototype.event_handler=function(e,r,n){n.new_tab=e.which===2||e.metaKey||e.ctrlKey||r.target==="_blank",n.href=r.href,n.new_tab||e.preventDefault()};ml.prototype.after_track_handler=function(e,r){r.new_tab||setTimeout(function(){window.location=r.href},0)};var l0=function(){this.override_event="submit"};M.inherit(l0,yi);l0.prototype.event_handler=function(e,r,n){n.element=r,e.preventDefault()};l0.prototype.after_track_handler=function(e,r){setTimeout(function(){r.element.submit()},0)};var Zi="$set",gl="$set_once",ua="$unset",zs="$add",Ia="$append",Bs="$union",li="$remove",AD="$delete",eE={set_action:function(e,r){var n={},t={};return M.isObject(e)?M.each(e,function(a,s){this._is_reserved_property(s)||(t[s]=a)},this):t[e]=r,n[Zi]=t,n},unset_action:function(e){var r={},n=[];return M.isArray(e)||(e=[e]),M.each(e,function(t){this._is_reserved_property(t)||n.push(t)},this),r[ua]=n,r},set_once_action:function(e,r){var n={},t={};return M.isObject(e)?M.each(e,function(a,s){this._is_reserved_property(s)||(t[s]=a)},this):t[e]=r,n[gl]=t,n},union_action:function(e,r){var n={},t={};return M.isObject(e)?M.each(e,function(a,s){this._is_reserved_property(s)||(t[s]=M.isArray(a)?a:[a])},this):t[e]=M.isArray(r)?r:[r],n[Bs]=t,n},append_action:function(e,r){var n={},t={};return M.isObject(e)?M.each(e,function(a,s){this._is_reserved_property(s)||(t[s]=a)},this):t[e]=r,n[Ia]=t,n},remove_action:function(e,r){var n={},t={};return M.isObject(e)?M.each(e,function(a,s){this._is_reserved_property(s)||(t[s]=a)},this):t[e]=r,n[li]=t,n},delete_action:function(){var e={};return e[AD]="",e}},At=function(){};M.extend(At.prototype,eE);At.prototype._init=function(e,r,n){this._mixpanel=e,this._group_key=r,this._group_id=n};At.prototype.set=yl(function(e,r,n){var t=this.set_action(e,r);return M.isObject(e)&&(n=r),this._send_request(t,n)});At.prototype.set_once=yl(function(e,r,n){var t=this.set_once_action(e,r);return M.isObject(e)&&(n=r),this._send_request(t,n)});At.prototype.unset=yl(function(e,r){var n=this.unset_action(e);return this._send_request(n,r)});At.prototype.union=yl(function(e,r,n){M.isObject(e)&&(n=r);var t=this.union_action(e,r);return this._send_request(t,n)});At.prototype.delete=yl(function(e){var r=this.delete_action();return this._send_request(r,e)});At.prototype.remove=yl(function(e,r,n){var t=this.remove_action(e,r);return this._send_request(t,n)});At.prototype._send_request=function(e,r){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var n=M.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},r)};At.prototype._is_reserved_property=function(e){return e==="$group_key"||e==="$group_id"};At.prototype._get_config=function(e){return this._mixpanel.get_config(e)};At.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};At.prototype.remove=At.prototype.remove;At.prototype.set=At.prototype.set;At.prototype.set_once=At.prototype.set_once;At.prototype.union=At.prototype.union;At.prototype.unset=At.prototype.unset;At.prototype.toString=At.prototype.toString;var Pe=function(){};M.extend(Pe.prototype,eE);Pe.prototype._init=function(e){this._mixpanel=e};Pe.prototype.set=us(function(e,r,n){var t=this.set_action(e,r);return M.isObject(e)&&(n=r),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),t[Zi]=M.extend({},M.info.people_properties(),t[Zi]),this._send_request(t,n)});Pe.prototype.set_once=us(function(e,r,n){var t=this.set_once_action(e,r);return M.isObject(e)&&(n=r),this._send_request(t,n)});Pe.prototype.unset=us(function(e,r){var n=this.unset_action(e);return this._send_request(n,r)});Pe.prototype.increment=us(function(e,r,n){var t={},a={};return M.isObject(e)?(M.each(e,function(s,l){if(!this._is_reserved_property(l))if(isNaN(parseFloat(s))){qe.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else a[l]=s},this),n=r):(M.isUndefined(r)&&(r=1),a[e]=r),t[zs]=a,this._send_request(t,n)});Pe.prototype.append=us(function(e,r,n){M.isObject(e)&&(n=r);var t=this.append_action(e,r);return this._send_request(t,n)});Pe.prototype.remove=us(function(e,r,n){M.isObject(e)&&(n=r);var t=this.remove_action(e,r);return this._send_request(t,n)});Pe.prototype.union=us(function(e,r,n){M.isObject(e)&&(n=r);var t=this.union_action(e,r);return this._send_request(t,n)});Pe.prototype.track_charge=us(function(){qe.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});Pe.prototype.clear_charges=function(e){return this.set("$transactions",[],e)};Pe.prototype.delete_user=function(){if(!this._identify_called()){qe.error("mixpanel.people.delete_user() requires you to call identify() first");return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)};Pe.prototype.toString=function(){return this._mixpanel.toString()+".people"};Pe.prototype._send_request=function(e,r){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),t=this._mixpanel.get_property("$user_id"),a=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(e.$device_id=n),t&&(e.$user_id=t),a&&(e.$had_persisted_distinct_id=a);var s=M.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:s,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},r):(this._enqueue(e),M.isUndefined(r)||(this._get_config("verbose")?r({status:-1,error:null}):r(-1)),M.truncate(s,255))};Pe.prototype._get_config=function(e){return this._mixpanel.get_config(e)};Pe.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};Pe.prototype._enqueue=function(e){Zi in e?this._mixpanel.persistence._add_to_people_queue(Zi,e):gl in e?this._mixpanel.persistence._add_to_people_queue(gl,e):ua in e?this._mixpanel.persistence._add_to_people_queue(ua,e):zs in e?this._mixpanel.persistence._add_to_people_queue(zs,e):Ia in e?this._mixpanel.persistence._add_to_people_queue(Ia,e):li in e?this._mixpanel.persistence._add_to_people_queue(li,e):Bs in e?this._mixpanel.persistence._add_to_people_queue(Bs,e):qe.error("Invalid call to _enqueue():",e)};Pe.prototype._flush_one_queue=function(e,r,n,t){var a=this,s=M.extend({},this._mixpanel.persistence.load_queue(e)),l=s;!M.isUndefined(s)&&M.isObject(s)&&!M.isEmptyObject(s)&&(a._mixpanel.persistence._pop_from_people_queue(e,s),a._mixpanel.persistence.save(),t&&(l=t(s)),r.call(a,l,function(u,f){u===0&&a._mixpanel.persistence._add_to_people_queue(e,s),M.isUndefined(n)||n(u,f)}))};Pe.prototype._flush=function(e,r,n,t,a,s,l){var u=this;this._flush_one_queue(Zi,this.set,e),this._flush_one_queue(gl,this.set_once,t),this._flush_one_queue(ua,this.unset,s,function(x){return M.keys(x)}),this._flush_one_queue(zs,this.increment,r),this._flush_one_queue(Bs,this.union,a);var f=this._mixpanel.persistence.load_queue(Ia);if(!M.isUndefined(f)&&M.isArray(f)&&f.length)for(var p,m=function(x,S){x===0&&u._mixpanel.persistence._add_to_people_queue(Ia,p),M.isUndefined(n)||n(x,S)},g=f.length-1;g>=0;g--)f=this._mixpanel.persistence.load_queue(Ia),p=f.pop(),u._mixpanel.persistence.save(),M.isEmptyObject(p)||u.append(p,m);var y=this._mixpanel.persistence.load_queue(li);if(!M.isUndefined(y)&&M.isArray(y)&&y.length)for(var _,w=function(x,S){x===0&&u._mixpanel.persistence._add_to_people_queue(li,_),M.isUndefined(l)||l(x,S)},C=y.length-1;C>=0;C--)y=this._mixpanel.persistence.load_queue(li),_=y.pop(),u._mixpanel.persistence.save(),M.isEmptyObject(_)||u.remove(_,w)};Pe.prototype._is_reserved_property=function(e){return e==="$distinct_id"||e==="$token"||e==="$device_id"||e==="$user_id"||e==="$had_persisted_distinct_id"};Pe.prototype.set=Pe.prototype.set;Pe.prototype.set_once=Pe.prototype.set_once;Pe.prototype.unset=Pe.prototype.unset;Pe.prototype.increment=Pe.prototype.increment;Pe.prototype.append=Pe.prototype.append;Pe.prototype.remove=Pe.prototype.remove;Pe.prototype.union=Pe.prototype.union;Pe.prototype.track_charge=Pe.prototype.track_charge;Pe.prototype.clear_charges=Pe.prototype.clear_charges;Pe.prototype.delete_user=Pe.prototype.delete_user;Pe.prototype.toString=Pe.prototype.toString;var Yv="__mps",Kv="__mpso",Wv="__mpus",Jv="__mpa",Xv="__mpap",Qv="__mpr",Zv="__mpu",tE="$people_distinct_id",Ah="__alias",mu="__timers",RD=[Yv,Kv,Wv,Jv,Xv,Qv,Zv,tE,Ah,mu],Ve=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var r=e.persistence;r!=="cookie"&&r!=="localStorage"&&(qe.critical("Unknown persistence type "+r+"; falling back to cookie"),r=e.persistence="cookie"),r==="localStorage"&&M.localStorage.is_supported()?this.storage=M.localStorage:this.storage=M.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Ve.prototype.properties=function(){var e={};return this.load(),M.each(this.props,function(r,n){M.include(RD,n)||(e[n]=r)}),e};Ve.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=M.extend({},e))}};Ve.prototype.upgrade=function(){var e,r;this.storage===M.localStorage?(e=M.cookie.parse(this.name),M.cookie.remove(this.name),M.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===M.cookie&&(r=M.localStorage.parse(this.name),M.localStorage.remove(this.name),r&&this.register_once(r))};Ve.prototype.save=function(){this.disabled||this.storage.set(this.name,pl(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};Ve.prototype.load_prop=function(e){return this.load(),this.props[e]};Ve.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};Ve.prototype.clear=function(){this.remove(),this.props={}};Ve.prototype.register_once=function(e,r,n){return M.isObject(e)?(typeof r>"u"&&(r="None"),this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),M.each(e,function(t,a){(!this.props.hasOwnProperty(a)||this.props[a]===r)&&(this.props[a]=t)},this),this.save(),!0):!1};Ve.prototype.register=function(e,r){return M.isObject(e)?(this.expire_days=typeof r>"u"?this.default_expiry:r,this.load(),M.extend(this.props,e),this.save(),!0):!1};Ve.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())};Ve.prototype.update_search_keyword=function(e){this.register(M.info.searchInfo(e))};Ve.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:M.info.referringDomain(e)||"$direct"},"")};Ve.prototype.get_referrer_info=function(){return M.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};Ve.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)};Ve.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()};Ve.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())};Ve.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())};Ve.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())};Ve.prototype.get_cross_subdomain=function(){return this.cross_subdomain};Ve.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())};Ve.prototype._add_to_people_queue=function(e,r){var n=this._get_queue_key(e),t=r[e],a=this._get_or_create_queue(Zi),s=this._get_or_create_queue(gl),l=this._get_or_create_queue(ua),u=this._get_or_create_queue(zs),f=this._get_or_create_queue(Bs),p=this._get_or_create_queue(li,[]),m=this._get_or_create_queue(Ia,[]);n===Yv?(M.extend(a,t),this._pop_from_people_queue(zs,t),this._pop_from_people_queue(Bs,t),this._pop_from_people_queue(ua,t)):n===Kv?(M.each(t,function(g,y){y in s||(s[y]=g)}),this._pop_from_people_queue(ua,t)):n===Wv?M.each(t,function(g){M.each([a,s,u,f],function(y){g in y&&delete y[g]}),M.each(m,function(y){g in y&&delete y[g]}),l[g]=!0}):n===Jv?(M.each(t,function(g,y){y in a?a[y]+=g:(y in u||(u[y]=0),u[y]+=g)},this),this._pop_from_people_queue(ua,t)):n===Zv?(M.each(t,function(g,y){M.isArray(g)&&(y in f||(f[y]=[]),M.each(g,function(_){M.include(f[y],_)||f[y].push(_)}))}),this._pop_from_people_queue(ua,t)):n===Qv?(p.push(t),this._pop_from_people_queue(Ia,t)):n===Xv&&(m.push(t),this._pop_from_people_queue(ua,t)),qe.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),qe.log(r),this.save()};Ve.prototype._pop_from_people_queue=function(e,r){var n=this.props[this._get_queue_key(e)];M.isUndefined(n)||M.each(r,function(t,a){e===Ia||e===li?M.each(n,function(s){s[a]===t&&delete s[a]}):delete n[a]},this)};Ve.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))};Ve.prototype._get_queue_key=function(e){if(e===Zi)return Yv;if(e===gl)return Kv;if(e===ua)return Wv;if(e===zs)return Jv;if(e===Ia)return Xv;if(e===li)return Qv;if(e===Bs)return Zv;qe.error("Invalid queue:",e)};Ve.prototype._get_or_create_queue=function(e,r){var n=this._get_queue_key(e);return r=M.isUndefined(r)?{}:r,this.props[n]||(this.props[n]=r)};Ve.prototype.set_event_timer=function(e,r){var n=this.load_prop(mu)||{};n[e]=r,this.props[mu]=n,this.save()};Ve.prototype.remove_event_timer=function(e){var r=this.load_prop(mu)||{},n=r[e];return M.isUndefined(n)||(delete this.props[mu][e],this.save()),n};var Rh,ey=function(e,r){throw new Error(e+" not available in this build.")},Jr,Hg=0,OD=1,Jn="mixpanel",rE="base64",TD="json",ty="$device:",ID="strict",LD="fallback",$D="disabled",rl=re.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,nE=!rl&&Ra.indexOf("MSIE")===-1&&Ra.indexOf("Mozilla")===-1,Oh=null;si.sendBeacon&&(Oh=function(){return si.sendBeacon.apply(si,arguments)});var aE={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},Gg={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:aE,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:rE,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Xi,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Xi,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:1800*1e3,record_mask_inputs:!0,record_max_ms:Uc,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js",targeting_src:"https://cdn.mxpnl.com/libs/mixpanel-targeting.min.js",remote_settings_mode:$D},iE=!1,q=function(){},Vg=function(e,r,n){var t,a=n===Jn?Jr:Jr[n];if(a&&Rh===Hg)t=a;else{if(a&&!M.isArray(a)){qe.error("You have already initialized "+n);return}t=new q}if(t._cached_groups={},t._init(e,r,n),t.people=new Pe,t.people._init(t),!t.get_config("skip_first_touch_marketing")){var s=M.info.campaignParams(null),l={},u=!1;M.each(s,function(p,m){l["initial_"+m]=p,p&&(u=!0)}),u&&t.people.set_once(l)}vn.DEBUG=vn.DEBUG||t.get_config("debug");var f=Rh===Hg?"module":"snippet";return re.dispatchEvent(new re.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:t,source:f,token:e,name:n,info:M.info}})),!M.isUndefined(a)&&M.isArray(a)&&(t._execute_array.call(t.people,a.people),t._execute_array(a)),t};q.prototype.init=function(e,r,n){if(M.isUndefined(n)){this.report_error("You must name your new library: init(token, config, name)");return}if(n===Jn){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var t=Vg(e,r,n);return Jr[n]=t,t._loaded(),t};q.prototype._init=function(e,r,n){r=r||{},this.__loaded=!0,this.config={};var t={};if(!("api_payload_format"in r)){var a=r.api_host||Gg.api_host;a.match(/\.mixpanel\.com/)&&(t.api_payload_format=TD)}if(this.hooks={},this.set_config(M.extend({},Gg,t,r,{name:n,token:e,callback_fn:(n===Jn?n:Jn+"."+n)+"._jsc"})),this._jsc=Xi,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(!M.localStorage.is_supported(!0)||!rl)this._batch_requests=!1,qe.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),M.each(this.get_batcher_configs(),function(f){qe.log("Clearing batch queue "+f.queue_key),M.localStorage.remove(f.queue_key)});else if(this.init_batchers(),Oh&&re.addEventListener){var s=M.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);re.addEventListener("pagehide",function(f){f.persisted&&s()}),re.addEventListener("visibilitychange",function(){De.visibilityState==="hidden"&&s()})}}this.persistence=this.cookie=new Ve(this.config),this.unpersisted_superprops={},this._gdpr_init();var l=M.UUID();this.get_distinct_id()||this.register_once({distinct_id:ty+l,$device_id:l},""),this.flags=new Ie({getFullApiRoute:M.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:M.bind(this.get_config,this),setConfigFunc:M.bind(this.set_config,this),getPropertyFunc:M.bind(this.get_property,this),trackingFunc:M.bind(this.track,this),loadExtraBundle:ey,targetingSrc:this.get_config("targeting_src")}),this.flags.init(),this.flags=this.flags,this.autocapture=new sr(this),this.autocapture.init(),this._init_tab_id();var u=this.get_config("remote_settings_mode");u===ID||u===LD?this._fetch_remote_settings(u).then(M.bind(function(){this._check_and_start_session_recording()},this)):this._check_and_start_session_recording()};q.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))qe.log("Tab ID initialization skipped due to disable_persistence config");
183else if(M.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),r="mp_tab_id_"+e,n="mp_gen_new_tab_id_"+e;(M.sessionStorage.get(n)||!M.sessionStorage.get(r))&&M.sessionStorage.set(r,"$tab-"+M.UUID()),M.sessionStorage.set(n,"1"),this.tab_id=M.sessionStorage.get(r),re.addEventListener("beforeunload",function(){M.sessionStorage.remove(n)})}catch(t){this.report_error("Error initializing tab id",t)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};q.prototype.get_tab_id=function(){return this.tab_id||null};q.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return qe.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var e=new pa(zv),r=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(n){for(var t=0;t<n.length;t++)if(Hv(n[t])||n[t].tabId===r)return!0;return!1}).catch(M.bind(function(n){this.report_error("Error checking recording registry",n)},this))};q.prototype._check_and_start_session_recording=cs(function(e){if(!re.MutationObserver){qe.critical("Browser does not support MutationObserver; skipping session recording");return}var r=M.bind(function(t){var a=M.bind(function(){this._recorder=this._recorder||new re[I1](this),this._recorder.resumeRecording(t)},this);M.isUndefined(re[I1])?ey(this.get_config("recorder_src"),a):a()},this),n=this.get_config("record_sessions_percent")>0&&Math.random()*100<=this.get_config("record_sessions_percent");e||n?r(!0):this._should_load_recorder().then(function(t){t&&r(!1)})});q.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)};q.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()};q.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()};q.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()};q.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")};q.prototype.get_session_recording_properties=function(){var e={},r=this._get_session_replay_id();return r&&(e.$mp_replay_id=r),e};q.prototype.get_session_replay_url=function(){var e=null,r=this._get_session_replay_id();if(r){var n=M.HTTPBuildQuery({replay_id:r,distinct_id:this.get_distinct_id(),token:this.get_config("token")});e="https://mixpanel.com/projects/replay-redirect?"+n}return e};q.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null};q.prototype.__get_recorder=function(){return this._recorder};q.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=M.info.campaignParams(null);M.each(e,(function(r,n){this.unregister(n)}).bind(this))}};q.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(De.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(M.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(De.referrer)};q.prototype._dom_loaded=function(){M.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||M.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue};q.prototype._track_dom=function(e,r){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!iE)return this.__dom_loaded_queue.push([e,r]),!1;var n=new e().init(this);return n.track.apply(n,r)};q.prototype._prepare_callback=function(e,r){if(M.isUndefined(e))return null;if(rl){var n=function(l){e(l,r)};return n}else{var t=this._jsc,a=""+Math.floor(Math.random()*1e8),s=this.get_config("callback_fn")+"["+a+"]";return t[a]=function(l){delete t[a],e(l,r)},s}};q.prototype._send_request=function(e,r,n,t){var a=!0;if(nE)return this.__request_queue.push(arguments),a;var s={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
vendor: 3,081 bytes, line 183
183:this.get_config("verbose")},l=null;!t&&(M.isFunction(n)||typeof n=="string")&&(t=n,n=null),n=M.extend(s,n||{}),rl||(n.method="GET");var u=n.method==="POST",f=Oh&&u&&n.transport.toLowerCase()==="sendbeacon",p=n.verbose;r.verbose&&(p=!0),this.get_config("test")&&(r.test=1),p&&(r.verbose=1),this.get_config("img")&&(r.img=1),rl||(t?r.callback=t:(p||this.get_config("test"))&&(r.callback="(function(){})")),r.ip=this.get_config("ip")?1:0,r._=new Date().getTime().toString(),u&&(l="data="+encodeURIComponent(r.data),delete r.data),M.extend(r,this.get_config("api_extra_query_params")),e+="?"+M.HTTPBuildQuery(r);var m=this;if("img"in r){var g=De.createElement("img");g.src=e,De.body.appendChild(g)}else if(f){try{a=Oh(e,l)}catch(S){m.report_error(S),a=!1}try{t&&t(a?1:0)}catch(S){m.report_error(S)}}else if(rl)try{var y=new XMLHttpRequest;y.open(n.method,e,!0);var _=this.get_config("xhr_headers");if(u&&(_["Content-Type"]="application/x-www-form-urlencoded"),M.each(_,function(S,k){y.setRequestHeader(k,S)}),n.timeout_ms&&typeof y.timeout<"u"){y.timeout=n.timeout_ms;var w=new Date().getTime()}y.withCredentials=!0,y.onreadystatechange=function(){if(y.readyState===4)if(y.status===200){if(t)if(p){var S;try{S=M.JSONDecode(y.responseText)}catch(O){if(m.report_error(O),n.ignore_json_errors)S=y.responseText;else return}t(S)}else t(Number(y.responseText))}else{var k;if(y.timeout&&!y.status&&new Date().getTime()-w>=y.timeout?k="timeout":k="Bad HTTP status: "+y.status+" "+y.statusText,m.report_error(k),t)if(p){var j=y.responseHeaders||{};t({status:0,httpStatusCode:y.status,error:k,retryAfter:j["Retry-After"]})}else t(0)}},y.send(l)}catch(S){m.report_error(S),a=!1}else{var C=De.createElement("script");C.type="text/javascript",C.async=!0,C.defer=!0,C.src=e;var x=De.getElementsByTagName("script")[0];x.parentNode.insertBefore(C,x)}return a};q.prototype._fetch_remote_settings=function(e){var r=function(){e==="strict"&&l.set_config({record_sessions_percent:0})};if(!re.AbortController)return qe.critical("Remote settings unavailable: missing minimum required APIs"),r(),Promise.resolve();var n=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,t={$lib_version:vn.LIB_VERSION,mp_lib:"web",sdk_config:"1"},a=M.HTTPBuildQuery(t),s=n+"?"+a,l=this,u=new AbortController,f=setTimeout(function(){u.abort()},500),p={method:"GET",headers:{Authorization:"Basic "+btoa(l.get_config("token")+":")},signal:u.signal};return re.fetch(s,p).then(function(m){if(clearTimeout(f),!m.ok){qe.critical("Network response was not ok"),r();return}return m.json()}).then(function(m){if(m&&m.sdk_config&&m.sdk_config.config){var g=m.sdk_config.config,y={};M.each(g,function(_,w){Gg.hasOwnProperty(w)&&(y[w]=_)}),M.isEmptyObject(y)?(qe.critical("No valid config keys found in remote settings."),r()):l.set_config(y)}else r()}).catch(function(m){clearTimeout(f),qe.critical("Failed to fetch remote settings",m),r()})};q.prototype._execute_array=function(e){var r,n=[],t=[],a=[];M.each(e,function(l){l&&(r=l[0],M.isArray(r)?a.push(l):typeof l=="function"?l.call(this):M.isArray(l)&&r==="al
183ias"?n.push(l):M.isArray(l)&&r.indexOf("track")!==-1&&typeof this[r]=="function"?a.push(l):t.push(l))},this);var s=function(l,u){M.each(l,function(f){if(M.isArray(f[0])){var p=u;M.each(f,function(m){p=p[m[0]].apply(p,m.slice(1))})}else this[f[0]].apply(this,f.slice(1))},u)};s(n,this),s(t,this),s(a,this)};q.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};q.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs};q.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=M.bind(function(n){return new Zn(n.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:M.bind(function(t,a,s){var l=this.get_config("api_routes");this._send_request(this.get_api_host(n.api_name)+"/"+l[n.api_name],this._encode_data_for_request(t),a,this._prepare_callback(s,t))},this),beforeSendHook:M.bind(function(t){var a=this._run_hook("before_send_"+n.type,t);return a?a[0]:null},this),stopAllBatchingFunc:M.bind(this.stop_batch_senders,this),usePersistence:!0})},this),r=this.get_batcher_configs();this.request_batchers={events:e(r.events),people:e(r.people),groups:e(r.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};q.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,M.each(this.request_batchers,function(e){e.start()}))};q.prototype.stop_batch_senders=function(){this._batch_requests=!1,M.each(this.request_batchers,function(e){e.stop(),e.clear()})};q.prototype.push=function(e){this._execute_array([e])};q.prototype.disable=function(e){typeof e>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)};q.prototype._encode_data_for_request=function(e){var r=pl(e);return this.get_config("api_payload_format")===rE&&(r=M.base64Encode(r)),{data:r}};q.prototype._track_or_batch=function(e,r){var n=M.truncate(e.data,255),t=e.endpoint,a=e.batcher,s=e.should_send_immediately,l=e.send_request_options||{};r=r||Xi;var u=!0,f=M.bind(function(){return l.skip_hooks||(n=this._run_hook("before_send_"+e.type,n),n&&(n=n[0])),n?(qe.log("MIXPANEL REQUEST:"),qe.log(n),this._send_request(t,this._encode_data_for_request(n),l,this._prepare_callback(r,n))):null},this);return this._batch_requests&&!s?a.enqueue(n).then(function(p){p?r(1,n):f()}):u=f(),u&&n};q.prototype.track=cs(function(e,r,n,t){var a;if(!(n&&n.skip_hooks)){if(a=this._run_hook("before_track",e,r),a===null)return;e=a[0],r=a[1]}!t&&typeof n=="function"&&(t=n,n=null),n=n||{};var s=n.transport;s&&(n.transport=s);var l=n.send_immediately;if(typeof t!="function"&&(t=Xi),M.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){t(0);return}r=M.extend({},r),r.token=this.get_config("token");var u=this.persistence.remove_event_timer(e);if(!M.isUndefined(u)){var f=new Date().getTime()-u;r.$duration=parseFloat((f/1e3).toFixed(3))}this._set_default_superprops();var p=this.get_config("track_marketing")?M.info.marketingParams():{};r=M.extend({},M.info.properties({mp_loader:this.get_config("mp_loader")}),p,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),r);var m=this.get_config("property_blacklist");M.isArray(m)?M.each(m,function(y){delete r[y]}):this.report_error("Invalid value for property_blacklist config: "+m);var g={event:e,properties:r};return a=this._track_or_batch({type:"events",data:g,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:l,send_request_options:n},t),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,r),a});q.prototype.set_group=cs(function(e,r,n){M.isArray(r)||(r=[r]);var t={};return t[e]=r,this.register(t),this.people.set(e,r,n)});q.prototype.add_group=cs(function(e,r,n){var t=this.get_property(e),a={};return t===void 0?(a[e]=[r],this.register(a)):t.indexOf(r)===-1&&(t.push(r),a[e]=t,this.register(a)),this.people.union(e,r,n)});q.prototype.remove_group=cs(function(e,r,n){var t=this.get_property(e);if(t!==void 0){var a=t.indexOf(r);a>-1&&(t.splice(a,1),this.register({group_key:t})),t.length===0&&this.unregister(e)}return this.people.remove(e,r,n)});q.prototype.track_with_groups=cs(function(e,r,n,t){var a=M.extend({},r||{});return M.each(n,function(s,l){s!=null&&(a[l]=s)}),this.track(e,a,t)});q.prototype._create_map_key=function(e,r){return e+"_"+JSON.stringify(r)};q.prototype._remove_group_from_cache=function(e,r){delete this._cached_groups[this._create_map_key(e,r)]};q.prototype.get_group=function(e,r){var n=this._create_map_key(e,r),t=this._cached_groups[n];return(t===void 0||t._group_key!==e||t._group_id!==r)&&(t=new At,t._init(this,e,r),this._cached_groups[n]=t),t};q.prototype.track_pageview=cs(function(e,r){typeof e!="object"&&(e={}),r=r||{};var n=r.event_name||"$mp_web_page_view",t=M.extend(M.info.mpPageViewProperties(),M.info.campaignParams(),M.info.clickParams()),a=M.extend({},t,e);return this.track(n,a)});q.prototype.track_links=function(){return this._track_dom.call(this,ml,arguments)};q.prototype.track_forms=function(){return this._track_dom.call(this,l0,arguments)};q.prototype.time_event=function(e){if(M.isUndefined(e)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var DD={persistent:!0},ry=function(e){var r;return M.isObject(e)?r=e:M.isUndefined(e)?r={}:r={days:e},M.extend({},DD,r)};q.prototype.register=function(e,r){var n=this._run_hook("before_register",e,r);
vendor: 6,060 bytes, line 183
183if(n!==null){e=n[0],r=n[1];var t=ry(r);t.persistent?this.persistence.register(e,t.days):M.extend(this.unpersisted_superprops,e)}};q.prototype.register_once=function(e,r,n){var t=this._run_hook("before_register_once",e,r,n);if(t!==null){e=t[0],r=t[1],n=t[2];var a=ry(n);a.persistent?this.persistence.register_once(e,r,a.days):(typeof r>"u"&&(r="None"),M.each(e,function(s,l){(!this.unpersisted_superprops.hasOwnProperty(l)||this.unpersisted_superprops[l]===r)&&(this.unpersisted_superprops[l]=s)},this))}};q.prototype.unregister=function(e,r){var n=this._run_hook("before_unregister",e,r);n!==null&&(e=n[0],r=n[1],r=ry(r),r.persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])};q.prototype._register_single=function(e,r){var n={};n[e]=r,this.register(n)};q.prototype.identify=function(e,r,n,t,a,s,l,u){var f=this._run_hook("before_identify",e);if(f===null)return-1;e=f[0];var p=this.get_distinct_id();if(e&&p!==e){if(typeof e=="string"&&e.indexOf(ty)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var m=p;this.register_once({$had_persisted_distinct_id:!0,$device_id:m},"")}e!==p&&e!==this.get_property(Ah)&&(this.unregister(Ah),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(r,n,t,a,s,l,u),e!==p&&this.track("$identify",{distinct_id:e,$anon_distinct_id:p},{skip_hooks:!0}),e!==p&&this.flags.fetchFlags()};q.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=M.UUID();this.register_once({distinct_id:ty+e,$device_id:e},""),this._check_and_start_session_recording()};q.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};q.prototype.alias=function(e,r){if(e===this.get_property(tE))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return M.isUndefined(r)&&(r=this.get_distinct_id()),e!==r?(this._register_single(Ah,e),this.track("$create_alias",{alias:e,distinct_id:r},{skip_hooks:!0},function(){n.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)};q.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)};q.prototype.set_config=function(e){if(M.isObject(e)){M.extend(this.config,e);var r=e.batch_size;r&&M.each(this.request_batchers,function(n){n.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),vn.DEBUG=vn.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),M.isObject(e.hooks)&&(this.hooks={},M.each(e.hooks,function(n,t){if(M.isFunction(n))this.hooks[t]=[n];else if(M.isArray(n)){this.hooks[t]=[];for(var a=0;a<n.length;a++)M.isFunction(n[a])||qe.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(n[a])}else qe.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}};q.prototype.get_config=function(e){return this.config[e]};q.prototype._run_hook=function(e){var r=Wi.call(arguments,1);return M.each(this.hooks[e],function(n){if(r===null)return null;var t=n.apply(this,r);typeof t>"u"?(this.report_error(e+" hook did not return a valid value"),r=null):(M.isArray(t)||(t=[t]),r.splice.apply(r,[0,t.length].concat(t)))},this),r};q.prototype.get_property=function(e){return this.persistence.load_prop([e])};q.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")};q.prototype.toString=function(){var e=this.get_config("name");return e!==Jn&&(e=Jn+"."+e),e};q.prototype._event_is_disabled=function(e){return M.isBlockedUA(Ra)||this._flags.disable_all_events||M.include(this.__disabled_events,e)};q.prototype._gdpr_init=function(){var e=this.get_config("opt_out_tracking_persistence_type")==="localStorage";e&&M.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||M.cookie.get("mp_optout"))&&(M.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};q.prototype._gdpr_update_persistence=function(e){var r;if(e&&e.clear_persistence)r=!0;else if(e&&e.enable_persistence)r=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==r&&this.persistence.set_disabled(r),r?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};q.prototype._gdpr_call_func=function(e,r){return r=M.extend({track:M.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},r),M.localStorage.is_supported()||(r.persistence_type="cookie"),e(this.get_config("token"),{track:r.track,trackEventName:r.track_event_name,trackProperties:r.track_properties,persistenceType:r.persistence_type,persistencePrefix:r.cookie_prefix,cookieDomain:r.cookie_domain,cookieExpiration:r.cookie_expiration,crossSiteCookie
183:r.cross_site_cookie,crossSubdomainCookie:r.cross_subdomain_cookie,secureCookie:r.secure_cookie,ignoreDnt:r.ignore_dnt})};q.prototype.opt_in_tracking=function(e){e=M.extend({enable_persistence:!0},e),this._gdpr_call_func(S$,e),this._gdpr_update_persistence(e)};q.prototype.opt_out_tracking=function(e){e=M.extend({clear_persistence:!0,delete_user:!0},e),e.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(E$,e),this._gdpr_update_persistence(e)};q.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(C$,e)};q.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(S4,e)};q.prototype.clear_opt_in_out_tracking=function(e){e=M.extend({enable_persistence:!0},e),this._gdpr_call_func(M$,e),this._gdpr_update_persistence(e)};q.prototype.report_error=function(e,r){qe.error.apply(qe.error,arguments);try{!r&&!(e instanceof Error)&&(e=new Error(e)),this.get_config("error_reporter")(e,r)}catch(n){qe.error(n)}};q.prototype.add_hook=function(e,r){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(r)};q.prototype.remove_hook=function(e,r){var n;this.hooks[e]&&(n=this.hooks[e].indexOf(r),n!==-1?this.hooks[e].splice(n,1):qe.log("remove_hook failed. Matching hook was not found"))};q.prototype.init=q.prototype.init;q.prototype.reset=q.prototype.reset;q.prototype.disable=q.prototype.disable;q.prototype.time_event=q.prototype.time_event;q.prototype.track=q.prototype.track;q.prototype.track_links=q.prototype.track_links;q.prototype.track_forms=q.prototype.track_forms;q.prototype.track_pageview=q.prototype.track_pageview;q.prototype.register=q.prototype.register;q.prototype.register_once=q.prototype.register_once;q.prototype.unregister=q.prototype.unregister;q.prototype.identify=q.prototype.identify;q.prototype.alias=q.prototype.alias;q.prototype.name_tag=q.prototype.name_tag;q.prototype.set_config=q.prototype.set_config;q.prototype.get_config=q.prototype.get_config;q.prototype.get_api_host=q.prototype.get_api_host;q.prototype.get_property=q.prototype.get_property;q.prototype.get_distinct_id=q.prototype.get_distinct_id;q.prototype.toString=q.prototype.toString;q.prototype.opt_out_tracking=q.prototype.opt_out_tracking;q.prototype.opt_in_tracking=q.prototype.opt_in_tracking;q.prototype.has_opted_out_tracking=q.prototype.has_opted_out_tracking;q.prototype.has_opted_in_tracking=q.prototype.has_opted_in_tracking;q.prototype.clear_opt_in_out_tracking=q.prototype.clear_opt_in_out_tracking;q.prototype.get_group=q.prototype.get_group;q.prototype.set_group=q.prototype.set_group;q.prototype.add_group=q.prototype.add_group;q.prototype.remove_group=q.prototype.remove_group;q.prototype.add_hook=q.prototype.add_hook;q.prototype.remove_hook=q.prototype.remove_hook;q.prototype.track_with_groups=q.prototype.track_with_groups;q.prototype.start_batch_senders=q.prototype.start_batch_senders;q.prototype.stop_batch_senders=q.prototype.stop_batch_senders;q.prototype.start_session_recording=q.prototype.start_session_recording;q.prototype.stop_session_recording=q.prototype.stop_session_recording;q.prototype.pause_session_recording=q.prototype.pause_session_recording;q.prototype.resume_session_recording=q.prototype.resume_session_recording;q.prototype.get_session_recording_properties=q.prototype.get_session_recording_properties;q.prototype.get_session_replay_url=q.prototype.get_session_replay_url;q.prototype.get_tab_id=q.prototype.get_tab_id;q.prototype.DEFAULT_API_ROUTES=aE;q.prototype.__get_recorder=q.prototype.__get_recorder;Ve.prototype.properties=Ve.prototype.properties;Ve.prototype.update_search_keyword=Ve.prototype.update_search_keyword;Ve.prototype.update_referrer_info=Ve.prototype.update_referrer_info;Ve.prototype.get_cross_subdomain=Ve.prototype.get_cross_subdomain;Ve.prototype.clear=Ve.prototype.clear;var Qo={},UD=function(){M.each(Qo,function(e,r){r!==Jn&&(Jr[r]=e)}),Jr._=M},PD=function(){Jr.init=function(e,r,n){if(n)return Jr[n]||(Jr[n]=Qo[n]=Vg(e,r,n),Jr[n]._loaded()),Jr[n];var t=Jr;Qo[Jn]?t=Qo[Jn]:e&&(t=Vg(e,r,Jn),t._loaded(),Qo[Jn]=t),Jr=t,Rh===OD&&(re[Jn]=Jr),UD()}},zD=function(){function e(){e.done||(e.done=!0,iE=!0,nE=!1,M.each(Qo,function(t){t._dom_loaded()}))}function r(){try{De.documentElement.doScroll("left")}catch{setTimeout(r,1);return}e()}if(De.addEventListener)De.readyState==="complete"?e():De.addEventListener("DOMContentLoaded",e,!1);else if(De.attachEvent){De.attachEvent("onreadystatechange",e);var n=!1;try{n=re.frameElement===null}catch{}De.documentElement.doScroll&&n&&r()}M.register_event(re,"load",e,!0)};function BD(e){return ey=e,Rh=Hg,Jr=new q,PD(),Jr.init(),zD(),Jr}function FD(e,r){r()}var at=BD(FD);at.init("02a7451e5051d9685c4f17c2b13a4207",{autocapture:!1,record_sessions_percent:0});const sE=at;sE._check_and_start_session_recording=()=>{};(async()=>{for(let e=0;e<40;e++){if(sE._recorder){at.stop_session_recording();return}await new Promise(r=>setTimeout(r,250))}})();const qD={app_version:"v2"};function oE(){at.register(qD)}oE();const HD=at.reset.bind(at);at.reset=function(){HD(),oE()};const lE=N.createContext(void 0);function GD({children:e}){const[r,n]=N.useState(null),[t,a]=N.useState(null),[s,l]=N.useState(!0);N.useEffect(()=>{Xr.auth.getSession().then(({data:{session:g}})=>{a(g),n((g==null?void 0:g.user)??null),l(!1)});const{data:{subscription:m}}=Xr.auth.onAuthStateChange((g,y)=>{var _,w,C;if(a(y),n((y==null?void 0:y.user)??null),l(!1),y!=null&&y.user){at.identify(y.user.id),at.people.set({$email:y.user.email,$name:(_=y.user.user_metadata)==null?void 0:_.full_name,$created:y.user.created_at,auth_provider:(w=y.user.app_metadata)==null?void 0:w.provider});const x=y.user,S=(C=x.app_metadata)==null?void 0:C.provider,k=`mp_su_${x.id}`;S&&S!=="email"&&Date.now()-new Date(x.created_at).getTime()<300*1e3&&!localStorage.getItem(k)&&(localStorage.setItem(k,"1"),at.track("Sign Up",{method:S}))}else at.reset()});return()=>m.unsubscribe()},[]);const u=async()=>{const{error:m}=await Xr.auth.signInWithOAuth({provider:"google",options:{redirectTo:`${window.location.origin}/auth/callback`}});if(m)throw m},f=async m=>{const{error:g}=await Xr.auth.signInWithOtp({email:m,options:{emailRedirectTo:`${window.location.origin}/auth/callback`}});return{error:g}},p=async()=>{const{error:m}=await Xr.auth.signOut();if(m)throw m};return d.jsx(lE.Provider,{value:{user:r,session:t,loading:s,signInWithGoogle:u,signInWithEmail:f,signOut:p},children:e})}function Lr(){const e=N.useContext(lE);if(e===void 0)throw new Error("useAuth must be used within an AuthProvider");return e}const VD="modulepreload",YD=function(e){return"/"+e},zw={}
183,Bw=function(r,n,t){let a=Promise.resolve();if(n&&n.length>0){let l=function(p){return Promise.all(p.map(m=>Promise.resolve(m).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),f=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));a=l(n.map(p=>{if(p=YD(p),p in zw)return;zw[p]=!0;const m=p.endsWith(".css"),g=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${g}`))return;const y=document.createElement("link");if(y.rel=m?"stylesheet":VD,m||(y.as="script"),y.crossOrigin="",y.href=p,f&&y.setAttribute("nonce",f),document.head.appendChild(y),m)return new Promise((_,w)=>{y.addEventListener("load",_),y.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${p}`)))})}))}function s(l){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l}return a.then(l=>{for(const u of l||[])u.status==="rejected"&&s(u.reason);return r().catch(s)})};/** 184 * react-router v7.13.0 185 * 186 * Copyright (c) Remix Software Inc. 187 * 188 * This source code is licensed under the MIT license found in the 189 * LICENSE.md file in the root directory of this source tree. 190 * 191 * @license MIT 192 */var Fw="popstate";function KD(e={}){function r(t,a){let{pathname:s,search:l,hash:u}=t.location;return Yg("",{pathname:s,search:l,hash:u},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(t,a){return typeof a=="string"?a:gu(a)}return JD(r,n,null,e)}function Lt(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function Xn(e,r){if(!e){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function WD(){return Math.random().toString(36).substring(2,10)}function qw(e,r){return{usr:e.state,key:e.key,idx:r}}function Yg(e,r,n=null,t){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof r=="string"?_l(r):r,state:n,key:r&&r.key||t||WD()}}function gu({pathname:e="/",search:r="",hash:n=""}){return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function _l(e){let r={};if(e){let n=e.indexOf("#");n>=0&&(r.hash=e.substring(n),e=e.substring(0,n));let t=e.indexOf("?");t>=0&&(r.search=e.substring(t),e=e.substring(0,t)),e&&(r.pathname=e)}return r}function JD(e,r,n,t={}){let{window:a=document.defaultView,v5Compat:s=!1}=t,l=a.history,u="POP",f=null,p=m();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function m(){return(l.state||{idx:null}).idx}function g(){u="POP";let x=m(),S=x==null?null:x-p;p=x,f&&f({action:u,location:C.location,delta:S})}function y(x,S){u="PUSH";let k=Yg(C.location,x,S);p=m()+1;let j=qw(k,p),O=C.createHref(k);try{l.pushState(j,"",O)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;a.location.assign(O)}s&&f&&f({action:u,location:C.location,delta:1})}function _(x,S){u="REPLACE";let k=Yg(C.location,x,S);p=m();let j=qw(k,p),O=C.createHref(k);l.replaceState(j,"",O),s&&f&&f({action:u,location:C.location,delta:0})}function w(x){return XD(x)}let C={get action(){return u},get location(){return e(a,l)}
192,listen(x){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(Fw,g),f=x,()=>{a.removeEventListener(Fw,g),f=null}},createHref(x){return r(a,x)},createURL:w,encodeLocation(x){let S=w(x);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:y,replace:_,go(x){return l.go(x)}};return C}function XD(e,r=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),Lt(n,"No window.location.(origin|href) available to create URL");let t=typeof e=="string"?e:gu(e);return t=t.replace(/ $/,"%20"),!r&&t.startsWith("//")&&(t=n+t),new URL(t,n)}function cE(e,r,n="/"){return QD(e,r,n,!1)}function QD(e,r,n,t){let a=typeof r=="string"?_l(r):r,s=pi(a.pathname||"/",n);if(s==null)return null;let l=uE(e);ZD(l);let u=null;for(let f=0;u==null&&f<l.length;++f){let p=uU(s);u=lU(l[f],p,t)}return u}function uE(e,r=[],n=[],t="",a=!1){let s=(l,u,f=a,p)=>{let m={relativePath:p===void 0?l.path||"":p,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(t)&&f)return;Lt(m.relativePath.startsWith(t),`Absolute route path "${m.relativePath}" nested under path "${t}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(t.length)}let g=ci([t,m.relativePath]),y=n.concat(m);l.children&&l.children.length>0&&(Lt(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),uE(l.children,r,y,g,f)),!(l.path==null&&!l.index)&&r.push({path:g,score:sU(g,l.index),routesMeta:y})};return e.forEach((l,u)=>{var f;if(l.path===""||!((f=l.path)!=null&&f.includes("?")))s(l,u);else for(let p of dE(l.path))s(l,u,!0,p)}),r}function dE(e){let r=e.split("/");if(r.length===0)return[];let[n,...t]=r,a=n.endsWith("?"),s=n.replace(/\?$/,"");if(t.length===0)return a?[s,""]:[s];let l=dE(t.join("/")),u=[];return u.push(...l.map(f=>f===""?s:[s,f].join("/"))),a&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function ZD(e){e.sort((r,n)=>r.score!==n.score?n.score-r.score:oU(r.routesMeta.map(t=>t.childrenIndex),n.routesMeta.map(t=>t.childrenIndex)))}var eU=/^:[\w-]+$/,tU=3,rU=2,nU=1,aU=10,iU=-2,Hw=e=>e==="*";function sU(e,r){let n=e.split("/"),t=n.length;return n.some(Hw)&&(t+=iU),r&&(t+=rU),n.filter(a=>!Hw(a)).reduce((a,s)=>a+(eU.test(s)?tU:s===""?nU:aU),t)}function oU(e,r){return e.length===r.length&&e.slice(0,-1).every((t,a)=>t===r[a])?e[e.length-1]-r[r.length-1]:0}function lU(e,r,n=!1){let{routesMeta:t}=e,a={},s="/",l=[];for(let u=0;u<t.length;++u){let f=t[u],p=u===t.length-1,m=s==="/"?r:r.slice(s.length)||"/",g=Th({path:f.relativePath,caseSensitive:f.caseSensitive,end:p},m),y=f.route;if(!g&&p&&n&&!t[t.length-1].route.index&&(g=Th({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},m)),!g)return null;
192Object.assign(a,g.params),l.push({params:a,pathname:ci([s,g.pathname]),pathnameBase:pU(ci([s,g.pathnameBase])),route:y}),g.pathnameBase!=="/"&&(s=ci([s,g.pathnameBase]))}return l}function Th(e,r){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,t]=cU(e.path,e.caseSensitive,e.end),a=r.match(n);if(!a)return null;let s=a[0],l=s.replace(/(.)\/+$/,"$1"),u=a.slice(1);return{params:t.reduce((p,{paramName:m,isOptional:g},y)=>{if(m==="*"){let w=u[y]||"";l=s.slice(0,s.length-w.length).replace(/(.)\/+$/,"$1")}const _=u[y];return g&&!_?p[m]=void 0:p[m]=(_||"").replace(/%2F/g,"/"),p},{}),pathname:s,pathnameBase:l,pattern:e}}function cU(e,r=!1,n=!0){Xn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let t=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(t.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(t.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,r?void 0:"i"),t]}function uU(e){try{return e.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Xn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}function pi(e,r){if(r==="/")return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let n=r.endsWith("/")?r.length-1:r.length,t=e.charAt(n);return t&&t!=="/"?null:e.slice(n)||"/"}var dU=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function fU(e,r="/"){let{pathname:n,search:t="",hash:a=""}=typeof e=="string"?_l(e):e,s;return n?(n=n.replace(/\/\/+/g,"/"),n.startsWith("/")?s=Gw(n.substring(1),"/"):s=Gw(n,r)):s=r,{pathname:s,search:mU(t),hash:gU(a)}}function Gw(e,r){let n=r.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function p1(e,r,n,t){return`Cannot include a '${e}' character in a manually specified \`to.${r}\` field [${JSON.stringify(t)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function hU(e){return e.filter((r,n)=>n===0||r.route.path&&r.route.path.length>0)}function ny(e){let r=hU(e);return r.map((n,t)=>t===r.length-1?n.pathname:n.pathnameBase)}function ay(e,r,n,t=!1){let a;typeof e=="string"?a=_l(e):(a={...e},Lt(!a.pathname||!a.pathname.includes("?"),p1("?","pathname","search",a)),Lt(!a.pathname||!a.pathname.includes("#"),p1("#","pathname","hash",a)),Lt(!a.search||!a.search.includes("#"),p1("#","search","hash",a)));let s=e===""||a.pathname==="",l=s?"/":a.pathname,u;if(l==null)u=n;else{let g=r.length-1;if(!t&&l.startsWith("..")){let y=l.split("/");for(;y[0]==="..";)y.shift(),g-=1;a.pathname=y.join("/")}u=g>=0?r[g]:"/"}let f=fU(a,u),p=l&&l!=="/"&&l.endsWith("/"),m=(s||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(p||m)&&(f.pathname+="/"),f}var ci=e=>e.join("/").replace(/\/\/+/g,"/"),pU=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mU=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,gU=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,vU=class{constructor(e,r,n,t=!1){this.status=e,this.statusText=r||"",this.internal=t,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function yU(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function bU(e){return e.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var fE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hE(e,r){let n=e;if(typeof n!="string"||!dU.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let t=n,a=!1;if(fE)try{let s=new URL(window.location.href),l=n.startsWith("//")?new URL(s.protocol+n):new URL(n),u=pi(l.pathname,r);l.origin===s.origin&&u!=null?n=u+l.search+l.hash:a=!0}catch{Xn(!1,`<Link to="${n}">
192 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:t,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var pE=["POST","PUT","PATCH","DELETE"];new Set(pE);var xU=["GET",...pE];new Set(xU);var wl=N.createContext(null);wl.displayName="DataRouter";var c0=N.createContext(null);c0.displayName="DataRouterState";var _U=N.createContext(!1),mE=N.createContext({isTransitioning:!1});mE.displayName="ViewTransition";var wU=N.createContext(new Map);wU.displayName="Fetchers";var SU=N.createContext(null);SU.displayName="Await";var Rn=N.createContext(null);Rn.displayName="Navigation";var Cu=N.createContext(null);Cu.displayName="Location";var ma=N.createContext({outlet:null,matches:[],isDataRoute:!1});ma.displayName="Route";var iy=N.createContext(null);iy.displayName="RouteError";var gE="REACT_ROUTER_ERROR",EU="REDIRECT",CU="ROUTE_ERROR_RESPONSE";function MU(e){if(e.startsWith(`${gE}:${EU}:{`))try{let r=JSON.parse(e.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function kU(e){if(e.startsWith(`${gE}:${CU}:{`))try{let r=JSON.parse(e.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new vU(r.status,r.statusText,r.data)}catch{}}function NU(e,{relative:r}={}){Lt(Sl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:t}=N.useContext(Rn),{hash:a,pathname:s,search:l}=Mu(e,{relative:r}),u=s;return n!=="/"&&(u=s==="/"?n:ci([n,s])),t.createHref({pathname:u,search:l,hash:a})}function Sl(){return N.useContext(Cu)!=null}function ga(){return Lt(Sl(),"useLocation() may be used only in the context of a <Router> component."),N.useContext(Cu).location}var vE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function yE(e){N.useContext(Rn).static||N.useLayoutEffect(e)}function $r(){let{isDataRoute:e}=N.useContext(ma);return e?qU():jU()}function jU(){Lt(Sl(),"useNavigate() may be used only in the context of a <Router> component.");let e=N.useContext(wl),{basename:r,navigator:n}=N.useContext(Rn),{matches:t}=N.useContext(ma),{pathname:a}=ga(),s=JSON.stringify(ny(t)),l=N.useRef(!1);return yE(()=>{l.current=!0}),N.useCallback((f,p={})=>{if(Xn(l.current,vE),!l.current)return;if(typeof f=="number"){n.go(f);return}let m=ay(f,JSON.parse(s),a,p.relative==="path");e==null&&r!=="/"&&(m.pathname=m.pathname==="/"?r:ci([r,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[r,n,s,a,e])}var AU=N.createContext(null);function RU(e){let r=N.useContext(ma).outlet;return N.useMemo(()=>r&&N.createElement(AU.Provider,{value:e},r),[r,e])}function Mu(e,{relative:r}={}){let{matches:n}=N.useContext(ma),{pathname:t}=ga(),a=JSON.stringify(ny(n));return N.useMemo(()=>ay(e,JSON.parse(a),t,r==="path"),[e,a,t,r])}function OU(e,r){return bE(e,r)}function bE(e,r,n,t,a){var k;Lt(Sl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=N.useContext(Rn),{matches:l}=N.useContext(ma),u=l[l.length-1],f=u?u.params:{},p=u?u.pathname:"/",m=u?u.pathnameBase:"/",g=u&&u.route;{let j=g&&g.path||"";_E(p,!g||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${j}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 193 194Please change the parent <Route path="${j}"> to <Route path="${j==="/"?"*":`${j}/*`}">.`)}let y=ga(),_;if(r){let j=typeof r=="string"?_l(r):r;Lt(m==="/"||((k=j.pathname)==null?void 0:k.startsWith(m)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${j.pathname}" was given in the \`location\` prop.`),_=j}else _=y;let w=_.pathname||"/",C=w;if(m!=="/"){let j=m.replace(/^\//,"").split("/");C="/"+w.replace(/^\//,"").split("/").slice(j.length).join("/")}let x=cE(e,{pathname:C});Xn(g||x!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Xn(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let S=DU(x&&x.map(j=>Object.assign({},j,{params:Object.assign({},f,j.params),pathname:ci([m,s.encodeLocation?s.encodeLocation(j.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?m:ci([m,s.encodeLocation?s.encodeLocation(j.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),l,n,t,a);return r&&S?N.createElement(Cu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},S):S}function TU(){let e=FU(),r=yU(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,t="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:t},s={padding:"2px 4px",backgroundColor:t},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=N.createElement(N.Fragment,null,N.createElement("p",null,"ð¿ Hey developer ð"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:s},"ErrorBoundary")," or"," ",N.createElement("code",{style:s},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application
194Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},r),n?N.createElement("pre",{style:a},n):null,l)}var IU=N.createElement(TU,null),xE=class extends N.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){this.props.onError?this.props.onError(e,r):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=kU(e.digest);n&&(e=n)}let r=e!==void 0?N.createElement(ma.Provider,{value:this.props.routeContext},N.createElement(iy.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?N.createElement(LU,{error:e},r):r}};xE.contextType=_U;var m1=new WeakMap;function LU({children:e,error:r}){let{basename:n}=N.useContext(Rn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let t=MU(r.digest);if(t){let a=m1.get(r);if(a)throw a;let s=hE(t.location,n);if(fE&&!m1.get(r))if(s.isExternal||t.reloadDocument)window.location.href=s.absoluteURL||s.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:t.replace}));throw m1.set(r,l),l}return N.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s.absoluteURL||s.to}`})}}return e}function $U({routeContext:e,match:r,children:n}){let t=N.useContext(wl);return t&&t.static&&t.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(t.staticContext._deepestRenderedBoundaryId=r.route.id),N.createElement(ma.Provider,{value:e},n)}function DU(e,r=[],n=null,t=null,a=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(r.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=n==null?void 0:n.errors;if(l!=null){let m=s.findIndex(g=>g.route.id&&(l==null?void 0:l[g.route.id])!==void 0);Lt(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let u=!1,f=-1;if(n)for(let m=0;m<s.length;m++){let g=s[m];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(f=m),g.route.id){let{loaderData:y,errors:_}=n,w=g.route.loader&&!y.hasOwnProperty(g.route.id)&&(!_||_[g.route.id]===void 0);if(g.route.lazy||w){u=!0,f>=0?s=s.slice(0,f+1):s=[s[0]];break}}}let p=n&&t?(m,g)=>{var y,_;t(m,{location:n.location,params:((_=(y=n.matches)==null?void 0:y[0])==null?void 0:_.params)??{},unstable_pattern:bU(n.matches),errorInfo:g})}:void 0;return s.reduceRight((m,g,y)=>{let _,w=!1,C=null,x=null;n&&(_=l&&g.route.id?l[g.route.id]:void 0,C=g.route.errorElement||IU,u&&(f<0&&y===0?(_E("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,x=null):f===y&&(w=!0,x=g.route.hydrateFallbackElement||null)));let S=r.concat(s.slice(0,y+1)),k=()=>{let j;return _?j=C:w?j=x:g.route.Component?j=N.createElement(g.route.Component,null):g.route.element?j=g.route.element:j=m,N.createElement($U,{match:g,routeContext:{outlet:m,matches:S,isDataRoute:n!=null},children:j})};return n&&(g.route.ErrorBoundary||g.route.errorElement||y===0)?N.createElement(xE,{location:n.location,revalidation:n.revalidation,component:C,error:_,children:k(),routeContext:{outlet:null,matches:S,isDataRoute:!0},onError:p}):k()},null)}function sy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function UU(e){let r=N.useContext(wl);return Lt(r,sy(e)),r}function PU(e){let r=N.useContext(c0);return Lt(r,sy(e)),r}function zU(e){let r=N.useContext(ma);return Lt(r,sy(e)),r}function oy(e){let r=zU(e),n=r.matches[r.matches.length-1];return Lt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function BU(){return oy("useRouteId")}function FU(){var t;let e=N.useContext(iy),r=PU("useRouteError"),n=oy("useRouteError");return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function qU(){let{router:e}=UU("useNavigate"),r=oy("useNavigate"),n=N.useRef(!1);return yE(()=>{n.current=!0}),N.useCallback(async(a,s={})=>{Xn(n.current,vE),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:r,...s}))},[e,r])}var Vw={};function _E(e,r,n){!r&&!Vw[e]&&(Vw[e]=!0,Xn(!1,n))}N.memo(HU);function HU({routes:e,future:r,state:n,onError:t}){return bE(e,void 0,n,t,r)}function Rc({to:e,replace:r,state:n,relative:t}){Lt(Sl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=N.useContext(Rn);Xn(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=N.useContext(ma),{pathname:l}=ga(),u=$r(),f=ay(e,ny(s),l,t==="path"),p=JSON.stringify(f);return N.useEffect(()=>{u(JSON.parse(p),{replace:r,state:n,relative:t})},[u,p,t,r,n]),null}function wE(e){return RU(e.context)}function Er(e){Lt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function GU({basename:e="/",children:r=null,location:n,navigationType:t="POP",navigator:a,static:s=!1,unstable_useTransitions:l}){Lt(!Sl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),f=N.useMemo(()=>({basename:u,navigator:a,static:s,unstable_useTransitions:l,future:{}}),[u,a,s,l]);
194typeof n=="string"&&(n=_l(n));let{pathname:p="/",search:m="",hash:g="",state:y=null,key:_="default"}=n,w=N.useMemo(()=>{let C=pi(p,u);return C==null?null:{location:{pathname:C,search:m,hash:g,state:y,key:_},navigationType:t}},[u,p,m,g,y,_,t]);return Xn(w!=null,`<Router basename="${u}"> is not able to match the URL "${p}${m}${g}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:N.createElement(Rn.Provider,{value:f},N.createElement(Cu.Provider,{children:r,value:w}))}function VU({children:e,location:r}){return OU(Kg(e),r)}function Kg(e,r=[]){let n=[];return N.Children.forEach(e,(t,a)=>{if(!N.isValidElement(t))return;let s=[...r,a];if(t.type===N.Fragment){n.push.apply(n,Kg(t.props.children,s));return}Lt(t.type===Er,`[${typeof t.type=="string"?t.type:t.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Lt(!t.props.index||!t.props.children,"An index route cannot have child routes.");let l={id:t.props.id||s.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,middleware:t.props.middleware,loader:t.props.loader,action:t.props.action,hydrateFallbackElement:t.props.hydrateFallbackElement,HydrateFallback:t.props.HydrateFallback,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:t.props.hasErrorBoundary===!0||t.props.ErrorBoundary!=null||t.props.errorElement!=null,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(l.children=Kg(t.props.children,s)),n.push(l)}),n}var Yf="get",Kf="application/x-www-form-urlencoded";function u0(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function YU(e){return u0(e)&&e.tagName.toLowerCase()==="button"}function KU(e){return u0(e)&&e.tagName.toLowerCase()==="form"}function WU(e){return u0(e)&&e.tagName.toLowerCase()==="input"}function JU(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function XU(e,r){return e.button===0&&(!r||r==="_self")&&!JU(e)}function Wg(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,n)=>{let t=e[n];return r.concat(Array.isArray(t)?t.map(a=>[n,a]):[[n,t]])},[]))}function QU(e,r){let n=Wg(e);return r&&r.forEach((t,a)=>{n.has(a)||r.getAll(a).forEach(s=>{n.append(a,s)})}),n}var Of=null;function ZU(){if(Of===null)try{new FormData(document.createElement("form"),0),Of=!1}catch{Of=!0}return Of}var e9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function g1(e){return e!=null&&!e9.has(e)?(Xn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Kf}"`),null):e}function t9(e,r){let n,t,a,s,l;if(KU(e)){let u=e.getAttribute("action");t=u?pi(u,r):null,n=e.getAttribute("method")||Yf,a=g1(e.getAttribute("enctype"))||Kf,s=new FormData(e)}else if(YU(e)||WU(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||u.getAttribute("action");if(t=f?pi(f,r):null,n=e.getAttribute("formmethod")||u.getAttribute("method")||Yf,a=g1(e.getAttribute("formenctype"))||g1(u.getAttribute("enctype"))||Kf,s=new FormData(u,e),!ZU()){let{name:p,type:m,value:g}=e;if(m==="image"){let y=p?`${p}.`:"";s.append(`${y}x`,"0"),s.append(`${y}y`,"0")}else p&&s.append(p,g)}}else{if(u0(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Yf,t=null,a=Kf,l=e}return s&&a==="text/plain"&&(l=s,s=void 0),{action:t,method:n.toLowerCase(),encType:a,formData:s,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ly(e,r){if(e===!1||e===null||typeof e>"u")throw new Error(r)}function r9(e,r,n,t){let a=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${t}`:a.pathname=`${a.pathname}.${t}`:a.pathname==="/"?a.pathname=`_root.${t}`:r&&pi(a.pathname,r)==="/"?a.pathname=`${r.replace(/\/$/,"")}/_root.${t}`:a.pathname=`${a.pathname.replace(/\/$/,"")}.${t}`,a}async function n9(e,r){if(e.id in r)return r[e.id];try{let n=await import(e.module);return r[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.
194isSpaMode,window.location.reload(),new Promise(()=>{})}}function a9(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function i9(e,r,n){let t=await Promise.all(e.map(async a=>{let s=r.routes[a.route.id];if(s){let l=await n9(s,n);return l.links?l.links():[]}return[]}));return c9(t.flat(1).filter(a9).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function Yw(e,r,n,t,a,s){let l=(f,p)=>n[p]?f.route.id!==n[p].route.id:!0,u=(f,p)=>{var m;return n[p].pathname!==f.pathname||((m=n[p].route.path)==null?void 0:m.endsWith("*"))&&n[p].params["*"]!==f.params["*"]};return s==="assets"?r.filter((f,p)=>l(f,p)||u(f,p)):s==="data"?r.filter((f,p)=>{var g;let m=t.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(l(f,p)||u(f,p))return!0;if(f.route.shouldRevalidate){let y=f.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((g=n[0])==null?void 0:g.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function s9(e,r,{includeHydrateFallback:n}={}){return o9(e.map(t=>{let a=r.routes[t.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function o9(e){return[...new Set(e)]}function l9(e){let r={},n=Object.keys(e).sort();for(let t of n)r[t]=e[t];return r}function c9(e,r){let n=new Set;return new Set(r),e.reduce((t,a)=>{let s=JSON.stringify(l9(a));return n.has(s)||(n.add(s),t.push({key:s,link:a})),t},[])}function SE(){let e=N.useContext(wl);return ly(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function u9(){let e=N.useContext(c0);return ly(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var cy=N.createContext(void 0);cy.displayName="FrameworkContext";function EE(){let e=N.useContext(cy);return ly(e,"You must render this element inside a <HydratedRouter> element"),e}function d9(e,r){let n=N.useContext(cy),[t,a]=N.useState(!1),[s,l]=N.useState(!1),{onFocus:u,onBlur:f,onMouseEnter:p,onMouseLeave:m,onTouchStart:g}=r,y=N.useRef(null);N.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let C=S=>{S.forEach(k=>{l(k.isIntersecting)})},x=new IntersectionObserver(C,{threshold:.5});return y.current&&x.observe(y.current),()=>{x.disconnect()}}},[e]),N.useEffect(()=>{if(t){let C=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(C)}}},[t]);let _=()=>{a(!0)},w=()=>{a(!1),l(!1)};return n?e!=="intent"?[s,y,{}]:[s,y,{onFocus:Ec(u,_),onBlur:Ec(f,w),onMouseEnter:Ec(p,_),onMouseLeave:Ec(m,w),onTouchStart:Ec(g,_)}]:[!1,y,{}]}function Ec(e,r){return n=>{e&&e(n),n.defaultPrevented||r(n)}}function f9({page:e,...r}){let{router:n}=SE(),t=N.useMemo(()=>cE(n.routes,e,n.basename),[n.routes,e,n.basename]);return t?N.createElement(p9,{page:e,matches:t,...r}):null}function h9(e){let{manifest:r,routeModules:n}=EE(),[t,a]=N.useState([]);return N.useEffect(()=>{let s=!1;return i9(e,r,n).then(l=>{s||a(l)}),()=>{s=!0}},[e,r,n]),t}function p9({page:e,matches:r,...n}){let t=ga(),{future:a,manifest:s,routeModules:l}=EE(),{basename:u}=SE(),{loaderData:f,matches:p}=u9(),m=N.useMemo(()=>Yw(e,r,p,s,t,"data"),[e,r,p,s,t]),g=N.useMemo(()=>Yw(e,r,p,s,t,"assets"),[e,r,p,s,t]),y=N.useMemo(()=>{if(e===t.pathname+t.search+t.hash)return[];let C=new Set,x=!1;if(r.forEach(k=>{var O;let j=s.routes[k.route.id];!j||!j.hasLoader||(!m.some($=>$.route.id===k.route.id)&&k.route.id in f&&((O=l[k.route.id])!=null&&O.shouldRevalidate)||j.hasClientLoader?x=!0:C.add(k.route.id))}),C.size===0)return[];let S=r9(e,u,a.unstable_trailingSlashAwareDataRequests,"data");return x&&C.size>0&&S.searchParams.set("_routes",r.filter(k=>C.has(k.route.id)).map(k=>k.route.id).join(",")),[S.pathname+S.search]},[u,a.unstable_trailingSlashAwareDataRequests,f,t,s,m,r,e,l]),_=N.useMemo(()=>s9(g,s),[g,s]),w=h9(g);return N.createElement(N.Fragment,null,y.map(C=>N.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...n})),_.map(C=>N.createElement("link",{key:C,rel:"modulepreload",href:C,...n})),w.map(({key:C,link:x})=>N.createElement("link",{key:C,nonce:n.nonce,...x,crossOrigin:x.crossOrigin??n.crossOrigin})))}function m9(...e){return r=>{e.forEach(n=>{typeof n=="function"?n(r):n!=null&&(n.current=r)})}}var g9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{g9&&(window.__reactRouterVersion="7.13.0")}catch{}function v9({basename:e,children:r,unstable_useTransitions:n,window:t}){let a=N.useRef();a.current==null&&(a.current=KD({window:t,v5Compat:!0}));let s=a.current,[l,u]=N.useState({action:s.action,location:s.location}),f=N.useCallback(p=>{n===!1?u(p):N.startTransition(()=>u(p))},[n]);return N.useLayoutEffect(()=>s.listen(f),[s,f]),N.createElement(GU,{basename:e,children:r,location:l.location,navigationType:l.action,navigator:s,unstable_useTransitions:n})}var CE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,oi=N.forwardRef(function({onClick:r,discover:n="render",prefetch:t="none",relative:a,reloadDocument:s,replace:l,state:u,target:f,to:p,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y,..._},w){let{basename:C,unstable_useTransitions:x}=N.useContext(Rn),S=typeof p=="string"&&CE.test(p),k=hE(p,C);p=k.to;let j=NU(p,{relative:a}),[O,$,T]=d9(t,_),D=x9(p,{replace:l,state:u,target:f,preventScrollReset:m,relative:a,viewTransition:g,unstable_defaultShouldRevalidate:y,unstable_useTransitions:x});function z(de){r&&r(de),de.defaultPrevented||D(de)}let J=N.createElement("a",{..._,...T,href:k.absoluteURL||j,onClick:k.isExternal||s?r:z,ref:m9(w,$),target:f,"data-discover":!S&&n==="render"?"true":void 0});return O&&!S?N.createElement(N.Fragment,null,J,N.createElement(f9,{page:j})):J});oi.displayName="Link";var uy=N.forwardRef(function({"aria-current":r="page",caseSensitive:n=!1,className:t="",end:a=!1,style:s,to:l,viewTransition:u,children:f,...p},m){let g=Mu(l,{relative:p.relative}),y=ga(),_=N.useContext(c0),{navigator:w,basename:C}
194=N.useContext(Rn),x=_!=null&&C9(g)&&u===!0,S=w.encodeLocation?w.encodeLocation(g).pathname:g.pathname,k=y.pathname,j=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;n||(k=k.toLowerCase(),j=j?j.toLowerCase():null,S=S.toLowerCase()),j&&C&&(j=pi(j,C)||j);const O=S!=="/"&&S.endsWith("/")?S.length-1:S.length;let $=k===S||!a&&k.startsWith(S)&&k.charAt(O)==="/",T=j!=null&&(j===S||!a&&j.startsWith(S)&&j.charAt(S.length)==="/"),D={isActive:$,isPending:T,isTransitioning:x},z=$?r:void 0,J;typeof t=="function"?J=t(D):J=[t,$?"active":null,T?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let de=typeof s=="function"?s(D):s;return N.createElement(oi,{...p,"aria-current":z,className:J,ref:m,style:de,to:l,viewTransition:u},typeof f=="function"?f(D):f)});uy.displayName="NavLink";var y9=N.forwardRef(({discover:e="render",fetcherKey:r,navigate:n,reloadDocument:t,replace:a,state:s,method:l=Yf,action:u,onSubmit:f,relative:p,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y,..._},w)=>{let{unstable_useTransitions:C}=N.useContext(Rn),x=S9(),S=E9(u,{relative:p}),k=l.toLowerCase()==="get"?"get":"post",j=typeof u=="string"&&CE.test(u),O=$=>{if(f&&f($),$.defaultPrevented)return;$.preventDefault();let T=$.nativeEvent.submitter,D=(T==null?void 0:T.getAttribute("formmethod"))||l,z=()=>x(T||$.currentTarget,{fetcherKey:r,method:D,navigate:n,replace:a,state:s,relative:p,preventScrollReset:m,viewTransition:g,unstable_defaultShouldRevalidate:y});C&&n!==!1?N.startTransition(()=>z()):z()};return N.createElement("form",{ref:w,method:k,action:S,onSubmit:t?f:O,..._,"data-discover":!j&&e==="render"?"true":void 0})});y9.displayName="Form";function b9(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ME(e){let r=N.useContext(wl);return Lt(r,b9(e)),r}function x9(e,{target:r,replace:n,state:t,preventScrollReset:a,relative:s,viewTransition:l,unstable_defaultShouldRevalidate:u,unstable_useTransitions:f}={}){let p=$r(),m=ga(),g=Mu(e,{relative:s});return N.useCallback(y=>{if(XU(y,r)){y.preventDefault();let _=n!==void 0?n:gu(m)===gu(g),w=()=>p(e,{replace:_,state:t,preventScrollReset:a,relative:s,viewTransition:l,unstable_defaultShouldRevalidate:u});f?N.startTransition(()=>w()):w()}},[m,p,g,n,t,r,e,a,s,l,u,f])}function d0(e){Xn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=N.useRef(Wg(e)),n=N.useRef(!1),t=ga(),a=N.useMemo(()=>QU(t.search,n.current?null:r.current),[t.search]),s=$r(),l=N.useCallback((u,f)=>{const p=Wg(typeof u=="function"?u(new URLSearchParams(a)):u);n.current=!0,s("?"+p,f)},[s,a]);return[a,l]}var _9=0,w9=()=>`__${String(++_9)}__`;function S9(){let{router:e}=ME("useSubmit"),{basename:r}=N.useContext(Rn),n=BU(),t=e.fetch,a=e.navigate;return N.useCallback(async(s,l={})=>{let{action:u,method:f,encType:p,formData:m,body:g}=t9(s,r);if(l.navigate===!1){let y=l.fetcherKey||w9();await t(y,n,l.action||u,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:m,body:g,formMethod:l.method||f,formEncType:l.encType||p,flushSync:l.flushSync})}else await a(l.action||u,{unstable_defaultShouldRevalidate:l.unstable_defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:m,body:g,formMethod:l.method||f,formEncType:l.encType||p,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[t,a,r,n])}function E9(e,{relative:r}={}){let{basename:n}=N.useContext(Rn),t=N.useContext(ma);Lt(t,"useFormAction must be used inside a RouteContext");let[a]=t.matches.slice(-1),s={...Mu(e||".",{relative:r})},l=ga();if(e==null){s.search=l.search;let u=new URLSearchParams(s.search),f=u.getAll("index");if(f.some(m=>m==="")){u.delete("index"),f.filter(g=>g).forEach(g=>u.append("index",g));let m=u.toString();s.search=m?`?${m}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:ci([n,s.pathname])),gu(s)}function C9(e,{relative:r}={}){let n=N.useContext(mE);Lt(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:t}=ME("useViewTransitionState"),a=Mu(e,{relative:r});if(!n.isTransitioning)return!1;let s=pi(n.currentLocation.pathname,t)||n.currentLocation.pathname,l=pi(n.nextLocation.pathname,t)||n.nextLocation.pathname;return Th(a.pathname,l)!=null||Th(a.pathname,s)!=null}var M9=E3();const k9=S3(M9);function N9(e){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const j9=e=>{switch(e){case"success":return O9;case"info":return I9;case"warning":return T9;case"error":return L9;default:return null}},A9=Array(12).fill(0),R9=({visible:e,className:r})=>ne.createElement("div",{className:["sonner-loading-wrapper",r].filter(
vendor: 6,087 bytes, line 194
194Boolean).join(" "),"data-visible":e},ne.createElement("div",{className:"sonner-spinner"},A9.map((n,t)=>ne.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),O9=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),T9=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),I9=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),L9=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ne.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),$9=ne.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},ne.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ne.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),D9=()=>{const[e,r]=ne.useState(document.hidden);return ne.useEffect(()=>{const n=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Jg=1;class U9{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const n=this.subscribers.indexOf(r);this.subscribers.splice(n,1)}),this.publish=r=>{this.subscribers.forEach(n=>n(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var n;const{message:t,...a}=r,s=typeof(r==null?void 0:r.id)=="number"||((n=r.id)==null?void 0:n.length)>0?r.id:Jg++,l=this.toasts.find(f=>f.id===s),u=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),l?this.toasts=this.toasts.map(f=>f.id===s?(this.publish({...f,...r,id:s,title:t}),{...f,...r,id:s,dismissible:u,title:t}):f):this.addToast({title:t,...a,dismissible:u,id:s}),s},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:r,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(t=>t({id:n.id,dismiss:!0}))}),r),this.message=(r,n)=>this.create({...n,message:r}),this.error=(r,n)=>this.create({...n,message:r,type:"error"}),this.success=(r,n)=>this.create({...n,type:"success",message:r}),this.info=(r,n)=>this.create({...n,type:"info",message:r}),this.warning=(r,n)=>this.create({...n,type:"warning",message:r}),this.loading=(r,n)=>this.create({...n,type:"loading",message:r}),this.promise=(r,n)=>{if(!n)return;let t;n.loading!==void 0&&(t=this.create({...n,promise:r,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(r instanceof Function?r():r);let s=t!==void 0,l;const u=a.then(async p=>{if(l=["resolve",p],ne.isValidElement(p))s=!1,this.create({id:t,type:"default",message:p});else if(z9(p)&&!p.ok){s=!1;const g=typeof n.error=="function"?await n.error(`HTTP error! status: ${p.status}`):n.error,y=typeof n.description=="function"?await n.description(`HTTP error! status: ${p.status}`):n.description,w=typeof g=="object"&&!ne.isValidElement(g)?g:{message:g};this.create({id:t,type:"error",description:y,...w})}else if(p instanceof Error){s=!1;const g=typeof n.error=="function"?await n.error(p):n.error,y=typeof n.description=="function"?await n.description(p):n.description,w=typeof g=="object"&&!ne.isValidElement(g)?g:{message:g};this.create({id:t,type:"error",description:y,...w})}else if(n.success!==void 0){s=!1;const g=typeof n.success=="function"?await n.success(p):n.success,y=typeof n.description=="function"?await n.description(p):n.description,w=typeof g=="object"&&!ne.isValidElement(g)?g:{message:g};this.create({id:t,type:"success",description:y,...w})}}).catch(async p=>{if(l=["reject",p],n.error!==void 0){s=!1;const m=typeof n.error=="function"?await n.error(p):n.error,g=typeof n.description=="function"?await n.description(p):n.description,_=typeof m=="object"&&!ne.isValidElement(m)?m:{message:m};this.create({id:t,type:"error",description:g,..._})}}).finally(()=>{s&&(this.dismiss(t),t=void 0),n.finally==null||n.finally.call(n)}),f=()=>new Promise((p,m)=>u.then(()=>l[0]==="reject"?m(l[1]):p(l[1])).catch(m));return typeof t!="string"&&typeof t!="number"?{unwrap:f}:Object.assign(t,{unwrap:f})},this.custom=(r,n)=>{const t=(n==null?void 0:n.id)||Jg++;return this.create({jsx:r(t),id:t,...n}),t},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const gn=new U9,P9=(e,r)=>{const n=(r==null?void 0:r.id)||Jg++;return gn.addToast({title:e,...r,id:n}),n},z9=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",B9=P9,F9=()=>gn.toasts,q9=()=>gn.getActiveToasts(),rr=Object.assign(B9,{success:gn.success,info:gn.info,warning:gn.warning,error:gn.error,custom:gn.custom,message:gn.message,promise:gn.promise,dismiss:gn.dismiss,loading:gn.loading},{getHistory:F9,getToasts:q9});N9
vendor: 4,787 bytes, line 194
194("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,086 bytes, line 194
194left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 1,139 bytes, line 194
194Tf(e){return e.label!==void 0}const H9=3,G9="24px",V9="16px",Kw=4e3,Y9=356,K9=14,W9=45,J9=200;function Ca(...e){return e.filter(Boolean).join(" ")}function X9(e){const[r,n]=e.split("-"),t=[];return r&&t.push(r),n&&t.push(n),t}const Q9=e=>{var r,n,t,a,s,l,u,f,p;const{invert:m,toast:g,unstyled:y,interacting:_,setHeights:w,visibleToasts:C,heights:x,index:S,toasts:k,expanded:j,removeToast:O,defaultRichColors:$,closeButton:T,style:D,cancelButtonStyle:z,actionButtonStyle:J,className:de="",descriptionClassName:pe="",duration:ie,position:ee,gap:ce,expandByDefault:ue,classNames:U,icons:H,closeButtonAriaLabel:Y="Close toast"}=e,[he,ye]=ne.useState(null),[R,G]=ne.useState(null),[K,Z]=ne.useState(!1),[le,oe]=ne.useState(!1),[ge,Ce]=ne.useState(!1),[Ue,zt]=ne.useState(!1),[Jt,Xt]=ne.useState(!1),[ea,Ot]=ne.useState(0),[Zr,Dr]=ne.useState(0),Yr=ne.useRef(g.duration||ie||Kw),Ur=ne.useRef(null),Bt=ne.useRef(null),kr=S===0,Nr=S+1<=C,Qt=g.type,sn=g.dismissible!==!1,lr=g.className||"",en=g.descriptionClassName||"",cr=ne.useMemo(()=>x.findIndex(Oe=>Oe.toastId===g.id)||0,[x,g.id]),ya=ne.useMemo(()=>{var Oe;return(Oe=g.closeButton)!=null?Oe:T}
vendor: 8,082 bytes, line 194
194,[g.closeButton,T]),On=ne.useMemo(()=>g.duration||ie||Kw,[g.duration,ie]),Tn=ne.useRef(0),jr=ne.useRef(0),yn=ne.useRef(0),Ar=ne.useRef(null),[In,Ft]=ee.split("-"),Te=ne.useMemo(()=>x.reduce((Oe,bt,Ht)=>Ht>=cr?Oe:Oe+bt.height,0),[x,cr]),rt=D9(),me=g.invert||m,Qe=Qt==="loading";jr.current=ne.useMemo(()=>cr*ce+Te,[cr,Te]),ne.useEffect(()=>{Yr.current=On},[On]),ne.useEffect(()=>{Z(!0)},[]),ne.useEffect(()=>{const Oe=Bt.current;if(Oe){const bt=Oe.getBoundingClientRect().height;return Dr(bt),w(Ht=>[{toastId:g.id,height:bt,position:g.position},...Ht]),()=>w(Ht=>Ht.filter(_r=>_r.toastId!==g.id))}},[w,g.id]),ne.useLayoutEffect(()=>{if(!K)return;const Oe=Bt.current,bt=Oe.style.height;Oe.style.height="auto";const Ht=Oe.getBoundingClientRect().height;Oe.style.height=bt,Dr(Ht),w(_r=>_r.find(Et=>Et.toastId===g.id)?_r.map(Et=>Et.toastId===g.id?{...Et,height:Ht}:Et):[{toastId:g.id,height:Ht,position:g.position},..._r])},[K,g.title,g.description,w,g.id,g.jsx,g.action,g.cancel]);const xr=ne.useCallback(()=>{oe(!0),Ot(jr.current),w(Oe=>Oe.filter(bt=>bt.toastId!==g.id)),setTimeout(()=>{O(g)},J9)},[g,O,w,jr]);ne.useEffect(()=>{if(g.promise&&Qt==="loading"||g.duration===1/0||g.type==="loading")return;let Oe;return j||_||rt?(()=>{if(yn.current<Tn.current){const _r=new Date().getTime()-Tn.current;Yr.current=Yr.current-_r}yn.current=new Date().getTime()})():(()=>{Yr.current!==1/0&&(Tn.current=new Date().getTime(),Oe=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),xr()},Yr.current))})(),()=>clearTimeout(Oe)},[j,_,g,Qt,rt,xr]),ne.useEffect(()=>{g.delete&&(xr(),g.onDismiss==null||g.onDismiss.call(g,g))},[xr,g.delete]);function Ln(){var Oe;if(H!=null&&H.loading){var bt;return ne.createElement("div",{className:Ca(U==null?void 0:U.loader,g==null||(bt=g.classNames)==null?void 0:bt.loader,"sonner-loader"),"data-visible":Qt==="loading"},H.loading)}return ne.createElement(R9,{className:Ca(U==null?void 0:U.loader,g==null||(Oe=g.classNames)==null?void 0:Oe.loader),visible:Qt==="loading"})}const ba=g.icon||(H==null?void 0:H[Qt])||j9(Qt);var ta,bn;return ne.createElement("li",{tabIndex:0,ref:Bt,className:Ca(de,lr,U==null?void 0:U.toast,g==null||(r=g.classNames)==null?void 0:r.toast,U==null?void 0:U.default,U==null?void 0:U[Qt],g==null||(n=g.classNames)==null?void 0:n[Qt]),"data-sonner-toast":"","data-rich-colors":(ta=g.richColors)!=null?ta:$,"data-styled":!(g.jsx||g.unstyled||y),"data-mounted":K,"data-promise":!!g.promise,"data-swiped":Jt,"data-removed":le,"data-visible":Nr,"data-y-position":In,"data-x-position":Ft,"data-index":S,"data-front":kr,"data-swiping":ge,"data-dismissible":sn,"data-type":Qt,"data-invert":me,"data-swipe-out":Ue,"data-swipe-direction":R,"data-expanded":!!(j||ue&&K),"data-testid":g.testId,style:{"--index":S,"--toasts-before":S,"--z-index":k.length-S,"--offset":`${le?ea:jr.current}px`,"--initial-height":ue?"auto":`${Zr}px`,...D,...g.style},onDragEnd:()=>{Ce(!1),ye(null),Ar.current=null},onPointerDown:Oe=>{Oe.button!==2&&(Qe||!sn||(Ur.current=new Date,Ot(jr.current),Oe.target.setPointerCapture(Oe.pointerId),Oe.target.tagName!=="BUTTON"&&(Ce(!0),Ar.current={x:Oe.clientX,y:Oe.clientY})))},onPointerUp:()=>{var Oe,bt,Ht;if(Ue||!sn)return;Ar.current=null;const _r=Number(((Oe=Bt.current)==null?void 0:Oe.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),xa=Number(((bt=Bt.current)==null?void 0:bt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Et=new Date().getTime()-((Ht=Ur.current)==null?void 0:Ht.getTime()),Kr=he==="x"?_r:xa,se=Math.abs(Kr)/Et;if(Math.abs(Kr)>=W9||se>.11){Ot(jr.current),g.onDismiss==null||g.onDismiss.call(g,g),G(he==="x"?_r>0?"right":"left":xa>0?"down":"up"),xr(),zt(!0);return}else{var Ne,Be;(Ne=Bt.current)==null||Ne.style.setProperty("--swipe-amount-x","0px"),(Be=Bt.current)==null||Be.style.setProperty("--swipe-amount-y","0px")}Xt(!1),Ce(!1),ye(null)},onPointerMove:Oe=>{var bt,Ht,_r;if(!Ar.current||!sn||((bt=window.getSelection())==null?void 0:bt.toString().length)>0)return;const Et=Oe.clientY-Ar.current.y,Kr=Oe.clientX-Ar.current.x;var se;const Ne=(se=e.swipeDirections)!=null?se:X9(ee);!he&&(Math.abs(Kr)>1||Math.abs(Et)>1)&&ye(Math.abs(Kr)>Math.abs(Et)?"x":"y");let Be={x:0,y:0};const ur=Tt=>1/(1.5+Math.abs(Tt)/20);if(he==="y"){if(Ne.includes("top")||Ne.includes("bottom"))if(Ne.includes("top")&&Et<0||Ne.includes("bottom")&&Et>0)Be.y=Et;else{const Tt=Et*ur(Et);Be.y=Math.abs(Tt)<Math.abs(Et)?Tt:Et}}else if(he==="x"&&(Ne.includes("left")||Ne.includes("right")))if(Ne.includes("left")&&Kr<0||Ne.includes("right")&&Kr>0)Be.x=Kr;else{const Tt=Kr*ur(Kr);Be.x=Math.abs(Tt)<Math.abs(Kr)?Tt:Kr}(Math.abs(Be.x)>0||Math.abs(Be.y)>0)&&Xt(!0),(Ht=Bt.current)==null||Ht.style.setProperty("--swipe-amount-x",`${Be.x}px`),(_r=Bt.current)==null||_r.style.setProperty("--swipe-amount-y",`${Be.y}px`)}},ya&&!g.jsx&&Qt!=="loading"?ne.createElement("button",{"aria-label":Y,"data-disabled":Qe,"data-close-button":!0,onClick:Qe||!sn?()=>{}:()=>{xr(),g.onDismiss==null||g.onDismiss.call(g,g)},className:Ca(U==null?void 0:U.closeButton,g==null||(t=g.classNames)==null?void 0:t.closeButton)},(bn=H==null?void 0:H.close)!=null?bn:$9):null,(Qt||g.icon||g.promise)&&g.icon!==null&&((H==null?void 0:H[Qt])!==null||g.icon)?ne.createElement("div",{"data-icon":"",className:Ca(U==null?void 0:U.icon,g==null||(a=g.classNames)==null?void 0:a.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Ln():null,g.type!=="loading"?ba:null):null,ne.createElement("div",{"data-content":"",className:Ca(U==null?void 0:U.content,g==null||(s=g.classNames)==null?void 0:s.content)},ne.createElement("div",{"data-title":"",className:Ca(U==null?void 0:U.title,g==null||(l=g.classNames)==null?void 0:l.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?ne.createElement("div",{"data-description":"",className:Ca(pe,en,U==null?void 0:U.description,g==null||(u=g.classNames)==null?void 0:u.description)},typeof g.description=="function"?g.description():g.description):null),ne.isValidElement(g.cancel)?g.cancel:g.cancel&&Tf(g.cancel)?ne.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||z,onClick:Oe=>{Tf(g.cancel)&&sn&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,Oe),xr())},className:Ca(U==null?void 0:U.cancelButton,g==null||(f=g.classNames)==null?void 0:f.cancelButton)},g.cancel.label):null,ne.isValidElement(g.action)?g.action:g.action&&Tf(g.action)?ne.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||J,onClick:Oe=>{Tf(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,Oe),!Oe.defaultPrevented&&xr())},className:Ca(U==null?void 0:U.actionButton,g==null||(p=g.classNames)==null?void 0:p.actionButton)},g.action.label):null)};function Ww(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Z9(e,r){const n={};return[e,r].forEach((t,a)=>{const s=a===1,l=s?"--mobile-offset":"--offset",u=s?V9:G9;function f(p){["top","right","bottom","left"].forEach(m=>{n[`${l}-${m}`]=typeof p=="number"?`${p}px`:p})}typeof t=="number"||typeof t=="string"?f(t):typeof t=="object"?["top","right","bottom","left"].forEach(p=>{t[p]===void 0?n[`${l}-${p}`]=u:n[`${l}-${p}`]=typeof t[p]=="number"?`${t[p]}px`:t[p]}):f(u)}),n}const eP=ne.forwardRef(function(r,n){const{id:t,invert:a,position:s="bottom-right",hotkey:l=["altKey","KeyT"],expand:u,closeButton:f,className:p,offset:m,mobileOffset:g,theme:y="light",richColors:_,duration:w,style:C,visibleToasts:x=H9,toastOptions:S,dir:k=Ww(),gap:j=K9,icons:O,containerAriaLabel:$="Notifications"}=r,[T,D]=ne.useState([]),z=ne.useMemo(()=>t?T.filter(K=>K.toasterId===t):T.filter(K=>!K.toasterId),[T,t]),J=ne.useMemo(()=>Array.from(new Set([s].concat(z.filter(K=>K.position).map(K=>K.position)))),[z,s]),[de,pe]=ne.useState([]),[ie,ee]=ne.useState(!1),[ce,ue]=ne.useState(!1),[U,H]=ne.useState(y!=="system"?y:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
194k":"light"),Y=ne.useRef(null),he=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),ye=ne.useRef(null),R=ne.useRef(!1),G=ne.useCallback(K=>{D(Z=>{var le;return(le=Z.find(oe=>oe.id===K.id))!=null&&le.delete||gn.dismiss(K.id),Z.filter(({id:oe})=>oe!==K.id)})},[]);return ne.useEffect(()=>gn.subscribe(K=>{if(K.dismiss){requestAnimationFrame(()=>{D(Z=>Z.map(le=>le.id===K.id?{...le,delete:!0}:le))});return}setTimeout(()=>{k9.flushSync(()=>{D(Z=>{const le=Z.findIndex(oe=>oe.id===K.id);return le!==-1?[...Z.slice(0,le),{...Z[le],...K},...Z.slice(le+1)]:[K,...Z]})})})}),[T]),ne.useEffect(()=>{if(y!=="system"){H(y);return}if(y==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const K=window.matchMedia("(prefers-color-scheme: dark)");try{K.addEventListener("change",({matches:Z})=>{H(Z?"dark":"light")})}catch{K.addListener(({matches:le})=>{try{H(le?"dark":"light")}catch(oe){console.error(oe)}})}},[y]),ne.useEffect(()=>{T.length<=1&&ee(!1)},[T]),ne.useEffect(()=>{const K=Z=>{var le;if(l.every(Ce=>Z[Ce]||Z.code===Ce)){var ge;ee(!0),(ge=Y.current)==null||ge.focus()}Z.code==="Escape"&&(document.activeElement===Y.current||(le=Y.current)!=null&&le.contains(document.activeElement))&&ee(!1)};return document.addEventListener("keydown",K),()=>document.removeEventListener("keydown",K)},[l]),ne.useEffect(()=>{if(Y.current)return()=>{ye.current&&(ye.current.focus({preventScroll:!0}),ye.current=null,R.current=!1)}},[Y.current]),ne.createElement("section",{ref:n,"aria-label":`${$} ${he}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},J.map((K,Z)=>{var le;const[oe,ge]=K.split("-");return z.length?ne.createElement("ol",{key:K,dir:k==="auto"?Ww():k,tabIndex:-1,ref:Y,className:p,"data-sonner-toaster":!0,"data-sonner-theme":U,"data-y-position":oe,"data-x-position":ge,style:{"--front-toast-height":`${((le=de[0])==null?void 0:le.height)||0}px`,"--width":`${Y9}px`,"--gap":`${j}px`,...C,...Z9(m,g)},onBlur:Ce=>{R.current&&!Ce.currentTarget.contains(Ce.relatedTarget)&&(R.current=!1,ye.current&&(ye.current.focus({preventScroll:!0}),ye.current=null))},onFocus:Ce=>{Ce.target instanceof HTMLElement&&Ce.target.dataset.dismissible==="false"||R.current||(R.current=!0,ye.current=Ce.relatedTarget)},onMouseEnter:()=>ee(!0),onMouseMove:()=>ee(!0),onMouseLeave:()=>{ce||ee(!1)},onDragEnd:()=>ee(!1),onPointerDown:Ce=>{Ce.target instanceof HTMLElement&&Ce.target.dataset.dismissible==="false"||ue(!0)},onPointerUp:()=>ue(!1)},z.filter(Ce=>!Ce.position&&Z===0||Ce.position===K).map((Ce,Ue)=>{var zt,Jt;return ne.createElement(Q9,{key:Ce.id,icons:O,index:Ue,toast:Ce,defaultRichColors:_,duration:(zt=S==null?void 0:S.duration)!=null?zt:w,className:S==null?void 0:S.className,descriptionClassName:S==null?void 0:S.descriptionClassName,invert:a,visibleToasts:x,closeButton:(Jt=S==null?void 0:S.closeButton)!=null?Jt:f,interacting:ce,position:K,style:S==null?void 0:S.style,unstyled:S==null?void 0:S.unstyled,classNames:S==null?void 0:S.classNames,cancelButtonStyle:S==null?void 0:S.cancelButtonStyle,actionButtonStyle:S==null?void 0:S.actionButtonStyle,closeButtonAriaLabel:S==null?void 0:S.closeButtonAriaLabel,removeToast:G,toasts:z.filter(Xt=>Xt.position==Ce.position),heights:de.filter(Xt=>Xt.position==Ce.position),setHeights:pe,expandByDefault:u,gap:j,expanded:ie,swipeDirections:r.swipeDirections})})):null}))});function Jw(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function f0(...e){return r=>{let n=!1;const t=e.map(a=>{const s=Jw(a,r);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<t.length;a++){const s=t[a];typeof s=="function"?s():Jw(e[a],null)}}}}function vu(...e){return N.useCallback(f0(...e),e)}var tP=Symbol.for("react.lazy"),Ih=ev[" use ".trim().toString()];function rP(e){return typeof e=="object"&&e!==null&&"then"in e}function kE(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===tP&&"_payload"in e&&rP(e._payload)}function nP(e){const r=iP(e),n=N.forwardRef((t,a)=>{let{children:s,...l}=t;kE(s)&&typeof Ih=="function"&&(s=Ih(s._payload));const u=N.Children.toArray(s),f=u.find(oP);if(f){const p=f.props.children,m=u.map(g=>g===f?N.Children.count(p)>1?N.Children.only(null):N.isValidElement(p)?p.props.children:null:g);return d.jsx(r,{...l,ref:a,children:N.isValidElement(p)?N.cloneElement(p,void 0,m):null})}return d.jsx(r,{...l,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}var aP=nP("Slot");function iP(e){const r=N.forwardRef((n,t)=>{let{children:a,...s}=n;
vendor: 4,976 bytes, line 194
194if(kE(a)&&typeof Ih=="function"&&(a=Ih(a._payload)),N.isValidElement(a)){const l=cP(a),u=lP(s,a.props);return a.type!==N.Fragment&&(u.ref=t?f0(t,l):l),N.cloneElement(a,u)}return N.Children.count(a)>1?N.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var sP=Symbol("radix.slottable");function oP(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===sP}function lP(e,r){const n={...r};for(const t in r){const a=e[t],s=r[t];/^on[A-Z]/.test(t)?a&&s?n[t]=(...u)=>{const f=s(...u);return a(...u),f}:a&&(n[t]=a):t==="style"?n[t]={...a,...s}:t==="className"&&(n[t]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function cP(e){var t,a;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function NE(e){var r,n,t="";if(typeof e=="string"||typeof e=="number")t+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(n=NE(e[r]))&&(t&&(t+=" "),t+=n)}else for(n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function jE(){for(var e,r,n=0,t="",a=arguments.length;n<a;n++)(e=arguments[n])&&(r=NE(e))&&(t&&(t+=" "),t+=r);return t}const Xw=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Qw=jE,uP=(e,r)=>n=>{var t;if((r==null?void 0:r.variants)==null)return Qw(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:s}=r,l=Object.keys(a).map(p=>{const m=n==null?void 0:n[p],g=s==null?void 0:s[p];if(m===null)return null;const y=Xw(m)||Xw(g);return a[p][y]}),u=n&&Object.entries(n).reduce((p,m)=>{let[g,y]=m;return y===void 0||(p[g]=y),p},{}),f=r==null||(t=r.compoundVariants)===null||t===void 0?void 0:t.reduce((p,m)=>{let{class:g,className:y,..._}=m;return Object.entries(_).every(w=>{let[C,x]=w;return Array.isArray(x)?x.includes({...s,...u}[C]):{...s,...u}[C]===x})?[...p,g,y]:p},[]);return Qw(e,l,f,n==null?void 0:n.class,n==null?void 0:n.className)},dP=(e,r)=>{const n=new Array(e.length+r.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let t=0;t<r.length;t++)n[e.length+t]=r[t];return n},fP=(e,r)=>({classGroupId:e,validator:r}),AE=(e=new Map,r=null,n)=>({nextPart:e,validators:r,classGroupId:n}),Lh="-",Zw=[],hP="arbitrary..",pP=e=>{const r=gP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return mP(l);const u=l.split(Lh),f=u[0]===""&&u.length>1?1:0;return RE(u,f,r)},getConflictingClassGroupIds:(l,u)=>{if(u){const f=t[l],p=n[l];return f?p?dP(p,f):f:p||Zw}return n[l]||Zw}}},RE=(e,r,n)=>{if(e.length-r===0)return n.classGroupId;const a=e[r],s=n.nextPart.get(a);if(s){const p=RE(e,r+1,s);if(p)return p}const l=n.validators;if(l===null)return;const u=r===0?e.join(Lh):e.slice(r).join(Lh),f=l.length;for(let p=0;p<f;p++){const m=l[p];if(m.validator(u))return m.classGroupId}},mP=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),n=r.indexOf(":"),t=r.slice(0,n);return t?hP+t:void 0})(),gP=e=>{const{theme:r,classGroups:n}=e;return vP(n,r)},vP=(e,r)=>{const n=AE();for(const t in e){const a=e[t];dy(a,n,t,r)}return n},dy=(e,r,n,t)=>{const a=e.length;for(let s=0;s<a;s++){const l=e[s];yP(l,r,n,t)}},yP=(e,r,n,t)=>{if(typeof e=="string"){bP(e,r,n);return}if(typeof e=="function"){xP(e,r,n,t);return}_P(e,r,n,t)},bP=(e,r,n)=>{const t=e===""?r:OE(r,e);t.classGroupId=n},xP=(e,r,n,t)=>{if(wP(e)){dy(e(t),r,n,t);return}r.validators===null&&(r.validators=[]),r.validators.push(fP(n,e))},_P=(e,r,n,t)=>{const a=Object.entries(e),s=a.length;for(let l=0;l<s;l++){const[u,f]=a[l];dy(f,OE(r,u),n,t)}},OE=(e,r)=>{let n=e;const t=r.split(Lh),a=t.length;for(let s=0;s<a;s++){const l=t[s];let u=n.nextPart.get(l);u||(u=AE(),n.nextPart.set(l,u)),n=u}return n},wP=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,SP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,n=Object.create(null),t=Object.create(null);const a=(s,l)=>{n[s]=l,r++,r>e&&(r=0,t=n,n=Object.create(null))};return{get(s){let l=n[s];if(l!==void 0)return l;if((l=t[s])!==void 0)return a(s,l),l},set(s,l){s in n?n[s]=l:a(s,l)}}},Xg="!",e3=":",EP=[],t3=(e,r,n,t,a)=>({modifiers:e,hasImportantModifier:r,baseClassName:n,maybePostfixModifierPosition:t,isExternal:a}),CP=e=>{const{prefix:r,experimentalParseClassName:n}=e;let t=a=>{const s=[];let l=0,u=0,f=0,p;const m=a.length;for(let C=0;C<m;C++){const x=a[C];if(l===0&&u===0){if(x===e3){s.push(a.slice(f,C)),f=C+1;continue}if(x==="/"){p=C;continue}}x==="["?l++:x==="]"?l--:x==="("?u++:x===")"&&u--}const g=s.length===0?a:a.slice(f);let y=g,_=!1;g.endsWith(Xg)?(y=g.slice(0,-1),_=!0):g.startsWith(Xg)&&(y=g.slice(1),_=!0);const w=p&&p>f?p-f:void 0;return t3(s,_,y,w)};if(r){const a=r+e3,s=t;t=l=>l.startsWith(a)?s(l.slice(a.length)):t3(EP,!1,l,void 0,!0)}if(n){const a=t;t=s=>n({className:s,parseClassName:a})}return t},MP=e=>{const r=new Map;
vendor: 5,206 bytes, line 194
194return e.orderSensitiveModifiers.forEach((n,t)=>{r.set(n,1e6+t)}),n=>{const t=[];let a=[];for(let s=0;s<n.length;s++){const l=n[s],u=l[0]==="[",f=r.has(l);u||f?(a.length>0&&(a.sort(),t.push(...a),a=[]),t.push(l)):a.push(l)}return a.length>0&&(a.sort(),t.push(...a)),t}},kP=e=>({cache:SP(e.cacheSize),parseClassName:CP(e),sortModifiers:MP(e),...pP(e)}),NP=/\s+/,jP=(e,r)=>{const{parseClassName:n,getClassGroupId:t,getConflictingClassGroupIds:a,sortModifiers:s}=r,l=[],u=e.trim().split(NP);let f="";for(let p=u.length-1;p>=0;p-=1){const m=u[p],{isExternal:g,modifiers:y,hasImportantModifier:_,baseClassName:w,maybePostfixModifierPosition:C}=n(m);if(g){f=m+(f.length>0?" "+f:f);continue}let x=!!C,S=t(x?w.substring(0,C):w);if(!S){if(!x){f=m+(f.length>0?" "+f:f);continue}if(S=t(w),!S){f=m+(f.length>0?" "+f:f);continue}x=!1}const k=y.length===0?"":y.length===1?y[0]:s(y).join(":"),j=_?k+Xg:k,O=j+S;if(l.indexOf(O)>-1)continue;l.push(O);const $=a(S,x);for(let T=0;T<$.length;++T){const D=$[T];l.push(j+D)}f=m+(f.length>0?" "+f:f)}return f},AP=(...e)=>{let r=0,n,t,a="";for(;r<e.length;)(n=e[r++])&&(t=TE(n))&&(a&&(a+=" "),a+=t);return a},TE=e=>{if(typeof e=="string")return e;let r,n="";for(let t=0;t<e.length;t++)e[t]&&(r=TE(e[t]))&&(n&&(n+=" "),n+=r);return n},RP=(e,...r)=>{let n,t,a,s;const l=f=>{const p=r.reduce((m,g)=>g(m),e());return n=kP(p),t=n.cache.get,a=n.cache.set,s=u,u(f)},u=f=>{const p=t(f);if(p)return p;const m=jP(f,n);return a(f,m),m};return s=l,(...f)=>s(AP(...f))},OP=[],Sr=e=>{const r=n=>n[e]||OP;return r.isThemeGetter=!0,r},IE=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,LE=/^\((?:(\w[\w-]*):)?(.+)\)$/i,TP=/^\d+\/\d+$/,IP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LP=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,UP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,zo=e=>TP.test(e),Ge=e=>!!e&&!Number.isNaN(Number(e)),Hi=e=>!!e&&Number.isInteger(Number(e)),v1=e=>e.endsWith("%")&&Ge(e.slice(0,-1)),ti=e=>IP.test(e),PP=()=>!0,zP=e=>LP.test(e)&&!$P.test(e),$E=()=>!1,BP=e=>DP.test(e),FP=e=>UP.test(e),qP=e=>!be(e)&&!xe(e),HP=e=>El(e,PE,$E),be=e=>IE.test(e),Rs=e=>El(e,zE,zP),y1=e=>El(e,WP,Ge),r3=e=>El(e,DE,$E),GP=e=>El(e,UE,FP),If=e=>El(e,BE,BP),xe=e=>LE.test(e),Cc=e=>Cl(e,zE),VP=e=>Cl(e,JP),n3=e=>Cl(e,DE),YP=e=>Cl(e,PE),KP=e=>Cl(e,UE),Lf=e=>Cl(e,BE,!0),El=(e,r,n)=>{const t=IE.exec(e);return t?t[1]?r(t[1]):n(t[2]):!1},Cl=(e,r,n=!1)=>{const t=LE.exec(e);return t?t[1]?r(t[1]):n:!1},DE=e=>e==="position"||e==="percentage",UE=e=>e==="image"||e==="url",PE=e=>e==="length"||e==="size"||e==="bg-size",zE=e=>e==="length",WP=e=>e==="number",JP=e=>e==="family-name",BE=e=>e==="shadow",XP=()=>{const e=Sr("color"),r=Sr("font"),n=Sr("text"),t=Sr("font-weight"),a=Sr("tracking"),s=Sr("leading"),l=Sr("breakpoint"),u=Sr("container"),f=Sr("spacing"),p=Sr("radius"),m=Sr("shadow"),g=Sr("inset-shadow"),y=Sr("text-shadow"),_=Sr("drop-shadow"),w=Sr("blur"),C=Sr("perspective"),x=Sr("aspect"),S=Sr("ease"),k=Sr("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...O(),xe,be],T=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],z=()=>[xe,be,f],J=()=>[zo,"full","auto",...z()],de=()=>[Hi,"none","subgrid",xe,be],pe=()=>["auto",{span:["full",Hi,xe,be]},Hi,xe,be],ie=()=>[Hi,"auto",xe,be],ee=()=>["auto","min","max","fr",xe,be],ce=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ue=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...z()],H=()=>[zo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],Y=()=>[e,xe,be],he=()=>[...O(),n3,r3,{position:[xe,be]}],ye=()=>["no-repeat",{repeat:["","x","y","space","round"]}],R=()=>["auto","cover","contain",YP,HP,{size:[xe,be]}],G=()=>[v1,Cc,Rs],K=()=>["","none","full",p,xe,be],Z=()=>["",Ge,Cc,Rs],le=()=>["solid","dashed","dotted","double"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[Ge,v1,n3,r3],Ce=()=>["","none",w,xe,be],Ue=()=>["none",Ge,xe,be],zt=()=>["none",Ge,xe,be],Jt=()=>[Ge,xe,be],Xt=()=>[zo,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ti],breakpoint:[ti],color:[PP],container:[ti],"drop-shadow":[ti],ease:["in","out","in-out"],font:[qP],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ti],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ti],shadow:[ti],spacing:["px",Ge],text:[ti],"text-shadow":[ti],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",zo,be,xe,x]}
vendor: 14,331 bytes, line 194
194],container:["container"],columns:[{columns:[Ge,be,xe,u]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"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"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:J()}],"inset-x":[{"inset-x":J()}],"inset-y":[{"inset-y":J()}],start:[{start:J()}],end:[{end:J()}],top:[{top:J()}],right:[{right:J()}],bottom:[{bottom:J()}],left:[{left:J()}],visibility:["visible","invisible","collapse"],z:[{z:[Hi,"auto",xe,be]}],basis:[{basis:[zo,"full","auto",u,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ge,zo,"auto","initial","none",be]}],grow:[{grow:["",Ge,xe,be]}],shrink:[{shrink:["",Ge,xe,be]}],order:[{order:[Hi,"first","last","none",xe,be]}],"grid-cols":[{"grid-cols":de()}],"col-start-end":[{col:pe()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":de()}],"row-start-end":[{row:pe()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...ce(),"normal"]}],"justify-items":[{"justify-items":[...ue(),"normal"]}],"justify-self":[{"justify-self":["auto",...ue()]}],"align-content":[{content:["normal",...ce()]}],"align-items":[{items:[...ue(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ue(),{baseline:["","last"]}]}],"place-content":[{"place-content":ce()}],"place-items":[{"place-items":[...ue(),"baseline"]}],"place-self":[{"place-self":["auto",...ue()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[u,"screen",...H()]}],"min-w":[{"min-w":[u,"screen","none",...H()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,Cc,Rs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,xe,y1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",v1,be]}],"font-family":[{font:[VP,be,r]}],"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-fractions"],tracking:[{tracking:[a,xe,be]}],"line-clamp":[{"line-clamp":[Ge,"none",xe,y1]}],leading:[{leading:[s,...z()]}],"list-image":[{"list-image":["none",xe,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xe,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ge,"from-font","auto",xe,Rs]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Ge,"auto",xe,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xe,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:he()}],"bg-repeat":[{bg:ye()}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Hi,xe,be],radial:["",xe,be],conic:[Hi,xe,be]},KP,GP]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ge,xe,be]}],"outline-w":[{outline:["",Ge,Cc,Rs]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",m,Lf,If]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",g,Lf,If]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Ge,Rs]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",y,Lf,If]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Ge,xe,be]}],"mix-blend":[{"mix-blend":[...oe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[xe,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[Ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:he()}],"mask-repeat":[{mask:ye()}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xe,be]}],filter:[{filter:["","none",xe,be]}],blur:[{blur:Ce()}],brightness:[{brightness:[Ge,xe,be]}],contrast:[{contrast:[Ge,xe,be]}],"drop-shadow":[{"drop-shadow":["","none",_,Lf,If]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Ge,xe,be]}],"hue-rotate":[{"hue-rotate":[Ge,xe,be]}],invert:[{invert:["",Ge,xe,be]}],saturate:[{saturate:[Ge,xe,be]}],sepia:[{sepia:["",Ge,xe,be]}],"backdrop-filter":[{"backdrop-filter":["","none",xe,be]}],"backdrop-blur":[{"backdrop-blur":Ce()}],"backdrop-brightness":[{"backdrop-brightness":[Ge,xe,be]}],"backdrop-contrast":[{"backdrop-contrast":[Ge,xe,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ge,xe,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ge,xe,be]}],"backdrop-invert":[{"backdrop-invert":["",Ge,xe,be]}],"backdrop-opacity":[{"backdrop-opacity":[Ge,xe,be]}],"backdrop-saturate":[{"backdrop-saturate":[Ge,xe,be]}],"backdrop-sepia":[{"backdrop-sepia":["",Ge,xe,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xe,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ge,"initial",xe,be]}],ease:[{ease:["linear","initial",S,xe,be]}],delay:[{delay:[Ge,xe,be]}],animate:[{animate:["none",k,xe,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,xe,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Ue()}],"rotate-x":[{"rotate-x":Ue()}],"rotate-y":[{"rotate-y":Ue()}],"rotate-z":[{"rotate-z":Ue()}],scale:[{scale:zt()}],"scale-x":[{"scale-x":zt()}],"scale-y":[{"scale-y":zt()}],"scale-z":[{"scale-z":zt()}],"scale-3d":["scale-3d"],skew:[{skew:Jt()}],"skew-x":[{"skew-x":Jt()}],"skew-y":[{"skew-y":Jt()}],transform:[{transform:[xe,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Xt()}],"translate-x":[{"translate-x":Xt()}],"translate-y":[{"translate-y":Xt()}],"translate-z":[{"translate-z":Xt()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",xe,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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"]}
vendor: 4,693 bytes, line 194
194],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xe,be]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Ge,Cc,Rs,y1]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"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"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"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-x","border-w-y","border-w-s","border-w-e","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},QP=RP(XP);function St(...e){return QP(jE(e))}const ZP=uP("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function vt({className:e,variant:r="default",size:n="default",asChild:t=!1,...a}){const s=t?aP:"button";return d.jsx(s,{"data-slot":"button","data-variant":r,"data-size":n,className:St(ZP({variant:r,size:n,className:e})),...a}
vendor: 5,853 bytes, lines 194-249
194)}function ez({className:e="w-9 h-9"}){return d.jsxs("svg",{className:e,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("defs",{children:d.jsxs("linearGradient",{id:"logoGrad",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[d.jsx("stop",{offset:"0%",stopColor:"#6366f1"}),d.jsx("stop",{offset:"100%",stopColor:"#06b6d4"})]})}),d.jsx("path",{d:"M22 4a12 12 0 0 0 0 24",stroke:"url(#logoGrad)",strokeWidth:"4",strokeLinecap:"round",fill:"none"}),d.jsx("circle",{cx:"22",cy:"16",r:"4",fill:"url(#logoGrad)"})]})}function tz(){return d.jsx("header",{className:"sticky top-0 z-50 w-full bg-[#FAFAF8]/90 backdrop-blur-xl border-b border-[#E5E5E5]/60",children:d.jsxs("div",{className:"container flex h-16 items-center justify-between",children:[d.jsxs(oi,{to:"/",className:"flex items-center gap-3 group",children:[d.jsx(ez,{className:"w-10 h-10"}),d.jsx("span",{className:"font-bold text-xl logo-text tracking-tight",children:"echoloc"})]}),d.jsxs("nav",{className:"hidden md:flex items-center gap-8",children:[d.jsx("a",{href:"#examples",className:"text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"Examples"}),d.jsx("a",{href:"#demo",className:"text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"Demo"}),d.jsx("a",{href:"#anatomy",className:"text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"Anatomy"}),d.jsx("a",{href:"#pricing",className:"text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"Pricing"}),d.jsx("a",{href:"#faq",className:"text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"FAQ"}),d.jsxs(oi,{to:"/developers",className:"inline-flex items-center gap-1.5 text-sm font-semibold text-[#18181B] hover:text-[var(--accent)] transition-colors",children:["API",d.jsx("span",{className:"px-1.5 py-0.5 rounded text-[10px] font-bold font-mono-data tracking-wide",style:{background:"rgba(99,102,241,0.12)",color:"var(--accent)"},children:"docs"})]})]}),d.jsxs("div",{className:"flex items-center gap-4",children:[d.jsx(oi,{to:"/auth",className:"hidden md:block text-sm font-medium text-[#6B7280] hover:text-[#18181B] transition-colors",children:"Sign in"}),d.jsx(vt,{size:"sm",className:"bg-[#18181B] text-white hover:bg-[#18181B]/90 font-semibold rounded-xl px-5",asChild:!0,children:d.jsx(oi,{to:"/auth?mode=signup",children:"Get started"})})]})]})})}/** 195 * @license lucide-react v0.563.0 - ISC 196 * 197 * This source code is licensed under the ISC license. 198 * See the LICENSE file in the root directory of this source tree. 199 */const FE=(...e)=>e.filter((r,n,t)=>!!r&&r.trim()!==""&&t.indexOf(r)===n).join(" ").trim();/** 200 * @license lucide-react v0.563.0 - ISC 201 * 202 * This source code is licensed under the ISC license. 203 * See the LICENSE file in the root directory of this source tree. 204 */const rz=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** 205 * @license lucide-react v0.563.0 - ISC 206 * 207 * This source code is licensed under the ISC license. 208 * See the LICENSE file in the root directory of this source tree. 209 */const nz=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,n,t)=>t?t.toUpperCase():n.toLowerCase());/** 210 * @license lucide-react v0.563.0 - ISC 211 * 212 * This source code is licensed under the ISC license. 213 * See the LICENSE file in the root directory of this source tree. 214 */const a3=e=>{const r=nz(e);return r.charAt(0).toUpperCase()+r.slice(1)};/** 215 * @license lucide-react v0.563.0 - ISC 216 * 217 * This source code is licensed under the ISC license. 218 * See the LICENSE file in the root directory of this source tree. 219 */var az={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 220 * @license lucide-react v0.563.0 - ISC 221 * 222 * This source code is licensed under the ISC license. 223 * See the LICENSE file in the root directory of this source tree. 224 */const iz=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};/** 225 * @license lucide-react v0.563.0 - ISC 226 * 227 * This source code is licensed under the ISC license. 228 * See the LICENSE file in the root directory of this source tree. 229 */const sz=N.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:t,className:a="",children:s,iconNode:l,...u},f)=>N.createElement("svg",{ref:f,...az,width:r,height:r,stroke:e,strokeWidth:t?Number(n)*24/Number(r):n,className:FE("lucide",a),...!s&&!iz(u)&&{"aria-hidden":"true"},...u},[...l.map(([p,m])=>N.createElement(p,m)),...Array.isArray(s)?s:[s]]));/** 230 * @license lucide-react v0.563.0 - ISC 231 * 232 * This source code is licensed under the ISC license. 233 * See the LICENSE file in the root directory of this source tree. 234 */const Re=(e,r)=>{const n=N.forwardRef(({className:t,...a},s)=>N.createElement(sz,{ref:s,iconNode:r,className:FE(`lucide-${rz(a3(e))}`,`lucide-${e}`,t),...a}));return n.displayName=a3(e),n};/** 235 * @license lucide-react v0.563.0 - ISC 236 * 237 * This source code is licensed under the ISC license. 238 * See the LICENSE file in the root directory of this source tree. 239 */const oz=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],lz=Re("arrow-down",oz);/** 240 * @license lucide-react v0.563.0 - ISC 241 * 242 * This source code is licensed under the ISC license. 243 * See the LICENSE file in the root directory of this source tree. 244 */const cz=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],uz=Re("arrow-left",cz);/** 245 * @license lucide-react v0.563.0 - ISC 246 * 247 * This source code is licensed under the ISC license. 248 * See the LICENSE file in the root directory of this source tree. 249 */const dz=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],es=Re("arrow-right",dz);
249/** 250 * @license lucide-react v0.563.0 - ISC 251 * 252 * This source code is licensed under the ISC license. 253 * See the LICENSE file in the root directory of this source tree. 254 */const fz=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],hz=Re("arrow-up-down",fz);/** 255 * @license lucide-react v0.563.0 - ISC 256 * 257 * This source code is licensed under the ISC license. 258 * See the LICENSE file in the root directory of this source tree. 259 */const pz=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],mz=Re("arrow-up-right",pz);/** 260 * @license lucide-react v0.563.0 - ISC 261 * 262 * This source code is licensed under the ISC license. 263 * See the LICENSE file in the root directory of this source tree. 264 */const gz=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],vz=Re("arrow-up",gz);/** 265 * @license lucide-react v0.563.0 - ISC 266 * 267 * This source code is licensed under the ISC license. 268 * See the LICENSE file in the root directory of this source tree. 269 */const yz=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],ku=Re("bookmark",yz);/** 270 * @license lucide-react v0.563.0 - ISC 271 * 272 * This source code is licensed under the ISC license. 273 * See the LICENSE file in the root directory of this source tree. 274 */const bz=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],xz=Re("briefcase",bz);/** 275 * @license lucide-react v0.563.0 - ISC 276 * 277 * This source code is licensed under the ISC license. 278 * See the LICENSE file in the root directory of this source tree. 279 */const _z=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],wz=Re("building-2",_z);/** 280 * @license lucide-react v0.563.0 - ISC 281 * 282 * This source code is licensed under the ISC license. 283 * See the LICENSE file in the root directory of this source tree. 284 */const Sz=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],da=Re("check",Sz);/** 285 * @license lucide-react v0.563.0 - ISC 286 * 287 * This source code is licensed under the ISC license. 288 * See the LICENSE file in the root directory of this source tree. 289 */const Ez=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],qE=Re("chevron-down",Ez);/** 290 * @license lucide-react v0.563.0 - ISC 291 * 292 * This source code is licensed under the ISC license. 293 * See the LICENSE file in the root directory of this source tree. 294 */const Cz=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Mz=Re("chevron-left",Cz);/** 295 * @license lucide-react v0.563.0 - ISC 296 * 297 * This source code is licensed under the ISC license. 298 * See the LICENSE file in the root directory of this source tree. 299 */const kz=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],fy=Re("chevron-right",kz);/** 300 * @license lucide-react v0.563.0 - ISC 301 * 302 * This source code is licensed under the ISC license. 303 * See the LICENSE file in the root directory of this source tree. 304 */const Nz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],hy=Re("circle-check",Nz);/** 305 * @license lucide-react v0.563.0 - ISC 306 * 307 * This source code is licensed under the ISC license. 308 * See the LICENSE file in the root directory of this source tree. 309 */const jz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Az=Re("circle-question-mark",jz);/** 310 * @license lucide-react v0.563.0 - ISC 311 * 312 * This source code is licensed under the ISC license. 313 * See the LICENSE file in the root directory of this source tree. 314 */const Rz=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Oz=Re("circle-x",Rz);/** 315 * @license lucide-react v0.563.0 - ISC 316 * 317 * This source code is licensed under the ISC license. 318 * See the LICENSE file in the root directory of this source tree. 319 */const Tz=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],h0=Re("clock",Tz);/** 320 * @license lucide-react v0.563.0 - ISC 321 * 322 * This source code is licensed under the ISC license. 323 * See the LICENSE file in the root directory of this source tree. 324 */const Iz=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Lz=Re("copy",Iz);
324/** 325 * @license lucide-react v0.563.0 - ISC 326 * 327 * This source code is licensed under the ISC license. 328 * See the LICENSE file in the root directory of this source tree. 329 */const $z=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],py=Re("credit-card",$z);/** 330 * @license lucide-react v0.563.0 - ISC 331 * 332 * This source code is licensed under the ISC license. 333 * See the LICENSE file in the root directory of this source tree. 334 */const Dz=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ml=Re("download",Dz);/** 335 * @license lucide-react v0.563.0 - ISC 336 * 337 * This source code is licensed under the ISC license. 338 * See the LICENSE file in the root directory of this source tree. 339 */const Uz=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],my=Re("external-link",Uz);/** 340 * @license lucide-react v0.563.0 - ISC 341 * 342 * This source code is licensed under the ISC license. 343 * See the LICENSE file in the root directory of this source tree. 344 */const Pz=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Wf=Re("eye-off",Pz);/** 345 * @license lucide-react v0.563.0 - ISC 346 * 347 * This source code is licensed under the ISC license. 348 * See the LICENSE file in the root directory of this source tree. 349 */const zz=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Jf=Re("eye",zz);/** 350 * @license lucide-react v0.563.0 - ISC 351 * 352 * This source code is licensed under the ISC license. 353 * See the LICENSE file in the root directory of this source tree. 354 */const Bz=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],i3=Re("file-text",Bz);/** 355 * @license lucide-react v0.563.0 - ISC 356 * 357 * This source code is licensed under the ISC license. 358 * See the LICENSE file in the root directory of this source tree. 359 */const Fz=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Bc=Re("folder-plus",Fz);/** 360 * @license lucide-react v0.563.0 - ISC 361 * 362 * This source code is licensed under the ISC license. 363 * See the LICENSE file in the root directory of this source tree. 364 */const qz=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],HE=Re("key-round",qz);/** 365 * @license lucide-react v0.563.0 - ISC 366 * 367 * This source code is licensed under the ISC license. 368 * See the LICENSE file in the root directory of this source tree. 369 */const Hz=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],s3=Re("layers",Hz);/** 370 * @license lucide-react v0.563.0 - ISC 371 * 372 * This source code is licensed under the ISC license. 373 * See the LICENSE file in the root directory of this source tree. 374 */const Gz=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],p0=Re("linkedin",Gz);/** 375 * @license lucide-react v0.563.0 - ISC 376 * 377 * This source code is licensed under the ISC license. 378 * See the LICENSE file in the root directory of this source tree. 379 */const Vz=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],Yz=Re("list-plus",Vz);/** 380 * @license lucide-react v0.563.0 - ISC 381 * 382 * This source code is licensed under the ISC license. 383 * See the LICENSE file in the root directory of this source tree. 384 */const Kz=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],qt=Re("loader-circle",Kz);/** 385 * @license lucide-react v0.563.0 - ISC 386 * 387 * This source code is licensed under the ISC license. 388 * See the LICENSE file in the root directory of this source tree. 389 */const Wz=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
389],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],Jz=Re("log-in",Wz);/** 390 * @license lucide-react v0.563.0 - ISC 391 * 392 * This source code is licensed under the ISC license. 393 * See the LICENSE file in the root directory of this source tree. 394 */const Xz=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],Qz=Re("log-out",Xz);/** 395 * @license lucide-react v0.563.0 - ISC 396 * 397 * This source code is licensed under the ISC license. 398 * See the LICENSE file in the root directory of this source tree. 399 */const Zz=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],eB=Re("mail",Zz);/** 400 * @license lucide-react v0.563.0 - ISC 401 * 402 * This source code is licensed under the ISC license. 403 * See the LICENSE file in the root directory of this source tree. 404 */const tB=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],rB=Re("map-pin",tB);/** 405 * @license lucide-react v0.563.0 - ISC 406 * 407 * This source code is licensed under the ISC license. 408 * See the LICENSE file in the root directory of this source tree. 409 */const nB=[["path",{d:"M5 12h14",key:"1ays0h"}]],o3=Re("minus",nB);/** 410 * @license lucide-react v0.563.0 - ISC 411 * 412 * This source code is licensed under the ISC license. 413 * See the LICENSE file in the root directory of this source tree. 414 */const aB=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],iB=Re("pencil",aB);/** 415 * @license lucide-react v0.563.0 - ISC 416 * 417 * This source code is licensed under the ISC license. 418 * See the LICENSE file in the root directory of this source tree. 419 */const sB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],gy=Re("plus",sB);/** 420 * @license lucide-react v0.563.0 - ISC 421 * 422 * This source code is licensed under the ISC license. 423 * See the LICENSE file in the root directory of this source tree. 424 */const oB=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],lB=Re("quote",oB);/** 425 * @license lucide-react v0.563.0 - ISC 426 * 427 * This source code is licensed under the ISC license. 428 * See the LICENSE file in the root directory of this source tree. 429 */const cB=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],uB=Re("radar",cB);/** 430 * @license lucide-react v0.563.0 - ISC 431 * 432 * This source code is licensed under the ISC license. 433 * See the LICENSE file in the root directory of this source tree. 434 */const dB=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Qn=Re("search",dB);/** 435 * @license lucide-react v0.563.0 - ISC 436 * 437 * This source code is licensed under the ISC license. 438 * See the LICENSE file in the root directory of this source tree. 439 */const fB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],hB=Re("settings",fB);/** 440 * @license lucide-react v0.563.0 - ISC 441 * 442 * This source code is licensed under the ISC license. 443 * See the LICENSE file in the root directory of this source tree. 444 */const pB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}
444],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],mB=Re("sliders-horizontal",pB);/** 445 * @license lucide-react v0.563.0 - ISC 446 * 447 * This source code is licensed under the ISC license. 448 * See the LICENSE file in the root directory of this source tree. 449 */const gB=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],vB=Re("trash-2",gB);/** 450 * @license lucide-react v0.563.0 - ISC 451 * 452 * This source code is licensed under the ISC license. 453 * See the LICENSE file in the root directory of this source tree. 454 */const yB=[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]],bB=Re("trending-down",yB);/** 455 * @license lucide-react v0.563.0 - ISC 456 * 457 * This source code is licensed under the ISC license. 458 * See the LICENSE file in the root directory of this source tree. 459 */const xB=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],vy=Re("trending-up",xB);/** 460 * @license lucide-react v0.563.0 - ISC 461 * 462 * This source code is licensed under the ISC license. 463 * See the LICENSE file in the root directory of this source tree. 464 */const _B=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],wB=Re("triangle-alert",_B);/** 465 * @license lucide-react v0.563.0 - ISC 466 * 467 * This source code is licensed under the ISC license. 468 * See the LICENSE file in the root directory of this source tree. 469 */const SB=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],EB=Re("users",SB);/** 470 * @license lucide-react v0.563.0 - ISC 471 * 472 * This source code is licensed under the ISC license. 473 * See the LICENSE file in the root directory of this source tree. 474 */const CB=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ir=Re("x",CB);/** 475 * @license lucide-react v0.563.0 - ISC 476 * 477 * This source code is licensed under the ISC license. 478 * See the LICENSE file in the root directory of this source tree. 479 */const MB=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],GE=Re("zap",MB);function kB({className:e}){return d.jsx("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:d.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function NB(){return d.jsx("footer",{className:"py-16 mt-auto",style:{background:"#FAFAF8",borderTop:"1px solid #E5E5E5"},children:d.jsxs("div",{className:"container",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12 mb-12",children:[d.jsxs("div",{className:"md:col-span-2",children:[d.jsxs(oi,{to:"/",className:"flex items-center gap-2.5 mb-4",children:[d.jsxs("svg",{className:"w-8 h-8",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("defs",{children:d.jsxs("linearGradient",{id:"footerLogoGrad",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[d.jsx("stop",{offset:"0%",stopColor:"#6366f1"}),d.jsx("stop",{offset:"100%",stopColor:"#06b6d4"})]})}),d.jsx("path",{d:"M22 4a12 12 0 0 0 0 24",stroke:"url(#footerLogoGrad)",strokeWidth:"4",strokeLinecap:"round",fill:"none"}),d.jsx("circle",{cx:"22",cy:"16",r:"4",fill:"url(#footerLogoGrad)"})]}),d.jsx("span",{className:"font-bold text-lg",style:{color:"#18181B"},children:"echoloc.ai"})]}),d.jsx("p",{className:"max-w-xs mb-6 text-sm leading-relaxed",style:{color:"#6B7280"},children:"Company intelligence platform. Filter 1M+ companies by technology adoption, displacement, and growth signals. Built for B2B sales teams."}),d.jsxs("div",{className:"flex gap-3",children:[d.jsx("a",{href:"https://x.com/echolocai",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-lg flex items-center justify-center transition-colors",style:{background:"rgba(24,24,27,0.05)",color:"#6B7280"},children:d.jsx(kB,{className:"w-3.5 h-3.5"})}),d.jsx("a",{href:"https://linkedin.com/company/echoloc",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-lg flex items-center justify-center transition-colors",style:{background:"rgba(24,24,27,0.05)",color:"#6B7280"},children:d.jsx(p0,{className:"w-4 h-4"})})]})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-semibold mb-4",style:{color:"#18181B"},children:"Product"}),d.jsxs("ul",{className:"space-y-3",children:[d.jsx("li",{children:d.jsx("a",{href:"#examples",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Examples"})}),d.jsx("li",{children:d.jsx("a",{href:"#demo",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Demo"})}),d.jsx("li",{children:d.jsx("a",{href:"#anatomy",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Anatomy"})}),d.jsx("li",{children:d.jsx("a",{href:"#pricing",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Pricing"})}),d.jsx("li",{children:d.jsx("a",{href:"#faq",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"FAQ"})}),d.jsx("li",{children:d.jsx(oi,{to:"/developers",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"API Docs"})}),d.jsx("li",{children:d.jsx("a",{href:"/companies-using/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Browse Technologies"})}),d.jsx("li",{children:d.jsx("a",{href:"/company/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Browse Companies"})})]})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-semibold mb-4",style:{color:"#18181B"},children:"Company"}),d.jsxs("ul",{className:"space-y-3",children:[d.jsx("li",{children:d.jsx("a",{href:"/research/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Research"})}),d.jsx("li",{children:d.jsx("a",{href:"/about/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"About"})}),d.jsx("li",{children:d.jsx("a",{href:"/methodology/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Our Data & Methodology"})}),d.jsx("li",{children:d.jsx("a",{href:"/terms",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Terms of Service"})}),d.jsx("li",{children:d.jsx("a",{href:"/privacy",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Privacy Policy"})}),d.jsx("li",{children:d.jsx("a",{href:"/contact/",className:"text-sm transition-colors hover:opacity-80",style:{color:"#6B7280"},children:"Contact"})})]})]})]}),d.jsxs("div",{className:"pt-8 flex flex-col md:flex-row justify-between items-center gap-4",style:{borderTop:"1px solid #E5E5E5"}
479,children:[d.jsx("p",{className:"text-xs",style:{color:"#9CA3AF"},children:"© 2026 echoloc. All rights reserved."}),d.jsx("p",{className:"text-xs",style:{color:"#9CA3AF"},children:"Built from each company's digital footprint â job posts, website, news, and social signals"})]})]})})}function jB(){return d.jsxs("div",{className:"min-h-screen flex flex-col",children:[d.jsx(tz,{}),d.jsx("main",{className:"flex-1",children:d.jsx(wE,{})}),d.jsx(NB,{})]})}function AB({className:e="w-8 h-8"}){return d.jsxs("svg",{className:e,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("defs",{children:d.jsxs("linearGradient",{id:"appLogoGrad",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[d.jsx("stop",{offset:"0%",stopColor:"#6366f1"}),d.jsx("stop",{offset:"100%",stopColor:"#06b6d4"})]})}),d.jsx("path",{d:"M22 4a12 12 0 0 0 0 24",stroke:"url(#appLogoGrad)",strokeWidth:"4",strokeLinecap:"round",fill:"none"}),d.jsx("circle",{cx:"22",cy:"16",r:"4",fill:"url(#appLogoGrad)"})]})}function RB(){const e=$r(),r=n=>{n.preventDefault(),e("/app/search",{state:{reset:Date.now()}})};return d.jsx("header",{className:"sticky top-0 z-50 w-full bg-background/95 backdrop-blur-xl border-b border-border/40",children:d.jsx("div",{className:"flex h-14 items-center px-4 gap-6",children:d.jsxs("a",{href:"/app/search",onClick:r,className:"flex items-center gap-2.5 shrink-0",children:[d.jsx(AB,{className:"w-8 h-8"}),d.jsx("span",{className:"font-display font-bold text-lg tracking-tight hidden sm:block",children:"echoloc"})]})})})}const OB=[{to:"/app/search",icon:Qn,label:"Search"},{to:"/app/history",icon:h0,label:"History"},{to:"/app/saved",icon:ku,label:"Saved"},{to:"/app/api",icon:HE,label:"API"},{to:"/app/billing",icon:py,label:"Billing"},{to:"/app/settings",icon:hB,label:"Settings"}];function TB(){const[e,r]=N.useState(!1),n=$r(),t=e,a=async()=>{await Xr.auth.signOut(),n("/")};return d.jsxs("aside",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),className:St("hidden md:flex flex-col min-h-full border-r border-border bg-muted/20 transition-all duration-200",t?"w-48":"w-14"),children:[d.jsx("nav",{className:"flex-1 p-2 space-y-1",children:OB.map(({to:s,icon:l,label:u})=>d.jsxs(uy,{to:s,title:t?void 0:u,className:({isActive:f})=>St("flex items-center gap-3 px-3 py-2.5 rounded-lg transition-colors","text-muted-foreground hover:text-foreground hover:bg-muted/50",f&&"bg-accent/10 text-accent font-medium",!t&&"justify-center px-2"),children:[d.jsx(l,{className:"w-5 h-5 flex-shrink-0"}),t&&d.jsx("span",{className:"truncate text-sm",children:u})]},s))}),d.jsx("div",{className:"p-2 border-t border-border",children:d.jsxs("button",{onClick:a,title:t?void 0:"Logout",className:St("flex items-center gap-3 px-3 py-2.5 rounded-lg transition-colors w-full cursor-pointer","text-muted-foreground hover:text-foreground hover:bg-muted/50",!t&&"justify-center px-2"),children:[d.jsx(Qz,{className:"w-5 h-5 flex-shrink-0"}),t&&d.jsx("span",{className:"truncate text-sm",children:"Logout"})]})})]})}const IB=[{to:"/app/search",icon:Qn,label:"Search"},{to:"/app/history",icon:h0,label:"History"},{to:"/app/saved",icon:ku,label:"Saved"},{to:"/app/billing",icon:py,label:"Billing"}];function LB(){return d.jsx("nav",{className:"fixed bottom-0 left-0 right-0 z-50 md:hidden border-t border-border bg-background/95 backdrop-blur-xl",children:d.jsx("div",{className:"flex items-center justify-around h-14",style:{paddingBottom:"env(safe-area-inset-bottom)"},children:IB.map(({to:e,icon:r,label:n})=>d.jsxs(uy,{to:e,className:({isActive:t})=>St("flex flex-col items-center gap-0.5 px-3 py-1.5 text-[11px] transition-colors",t?"text-accent":"text-muted-foreground"),children:[d.jsx(r,{className:"w-5 h-5"}),d.jsx("span",{children:n})]},e))})})}function $B(){return d.jsxs("div",{className:"h-screen flex flex-col bg-background overflow-hidden",children:[d.jsx(RB,{}),d.jsxs("div",{className:"flex flex-1 min-h-0",children:[d.jsx(TB,{}),d.jsx("main",{className:"flex-1 overflow-auto pb-16 md:pb-0",children:d.jsx(wE,{})})]}),d.jsx(LB,{})]})}function Mc({children:e}){const{user:r,loading:n}=Lr(),t=ga();return n?d.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:d.jsxs("div",{className:"text-center space-y-4",children:[d.jsx(qt,{className:"w-8 h-8 text-accent animate-spin mx-auto"}),d.jsx("p",{className:"text-muted-foreground",children:"Loading..."})]})}):r?d.jsx(d.Fragment,{children:e}):d.jsx(Rc,{to:`/auth?returnTo=${encodeURIComponent(t.pathname+t.search)}`,replace:!0})}const or="https://api.echoloc.ai";async function DB(e){const r={};e&&(r.Authorization=`Bearer ${e}`);const n=await fetch(`${or}/api/user/subscription`,{headers:r});if(!n.ok)throw new Error(`Failed to get subscription: ${n.status}`);return n.json()}async function UB(e){const r=await fetch(`${or}/api/user/api-key`,{headers:{Authorization:`Bearer ${e}`}});if(!r.ok)throw new Error(`Failed to get API key: ${r.status}`);return r.json()}async function PB(e,r,n=1){const t=await fetch(`${or}/api/user/track-usage`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify({action:e,count:n})});if(!t.ok)throw new Error(`Failed to track usage: ${t.status}`);return t.json()}async function zB(e){const r=await fetch(`${or}/api/billing/create-checkout`,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!r.ok){const n=await r.json().catch(()=>({detail:"Checkout failed"}));throw new Error(n.detail||`Checkout failed: ${r.status}`)}return r.json()}async function BB(e){const r=await fetch(`${or}/api/billing/portal`,{headers:{Authorization:`Bearer ${e}`}});if(!r.ok){const n=await r.json().catch(()=>({detail:"Portal access failed"}));throw new Error(n.detail||`Portal access failed: ${r.status}`)}return r.json()}async function l3(e){const r=await fetch(`${or}/api/billing/sync`,{method:"POST",headers:{Authorization:`Bearer ${e}`}});if(!r.ok)throw new Error(`Sync failed: ${r.status}`);return r.json()}async function FB(e,r){var s,l,u,f,p,m,g,y;const n={};n.page=e.page||1,n.page_size=e.page_size||20,(s=e.technologies)!=null&&s.length&&(n.technologies=e.technologies),(l=e.roles)!=null&&l.length&&(n.roles=e.roles),(u=e.text_search)!=null&&u.length&&(n.text_search=e.text_search),(f=e.industry)!=null&&f.length&&(n.industry=e.industry),(p=e.country)!=null&&p.length&&(n.country=e.country),e.city&&(n.city=e.city),(m=e.company_type)!=null&&m.length&&(n.company_type=e.company_type),(g=e.hiring_velocity)!=null&&g.length&&(n.hiring_velocity=e.hiring_velocity),e.size_min!=null&&(n.size_min=e.size_min),e.size_max!=null&&(n.size_max=e.size_max),e.sort_by&&(n.sort_by=e.sort_by),e.sort_direction&&(n.sort_direction=e.sort_direction);const t={"Content-Type":"application/json"};r&&(t.Authorization=`Bearer ${r}`);const a=await fetch(`${or}/api/v2/search`,{method:"POST",headers:t,body:JSON.stringify(n)});if(!a.ok){let _="";try{_=((y=await a.json())==null?void 0:y.detail)||""}catch{}const w=new Error(_||`Search failed: ${a.status}`);throw w.status=a.status,w}return a.json()}async function VE(){const e=await fetch(`${or}/api/v2/facets`);if(!e.ok)throw new Error(`Failed to get facets: ${e.status}`);return e.json()}async function YE(e,r){const n=await fetch(`${or}/api/v2/export`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r}`},body:JSON.stringify(e)});if(!n.ok){const t=await n.json().catch(()=>({detail:"Export failed"}));throw new Error(t.detail||`Export failed: ${n.status}`)}return n.blob()}async function qB(e,r=50,n=0){const t=await fetch(`${or}/api/history/searches?limit=${r}&offset=${n}`,{headers:{Authorization:`Bearer ${e}`}});if(!t.ok)throw new Error(`Failed to get search history: ${t.status}`);return t.json()}async function HB(e){const r=await fetch(`${or}/api/history/searches/recent`,{headers:{Authorization:`Bearer ${e}`}});if(!r.ok)throw new Error(`Failed to get recent searches: ${r.status}`);return r.json()}async function GB(e,r=50,n=0){const t=await fetch(`${or}/api/history/exports?limit=${r}&offset=${n}`,{headers:{Authorization:`Bearer ${e}`}});if(!t.ok)throw new Error(`Failed to get export history: ${t.status}`);return t.json()}const bi=e=>({"Content-Type":"application/json",Authorization:`Bearer ${e}`});async function VB(e){const r=await fetch(`${or}/api/saved/lists`,{headers:bi(e)});if(!r.ok)throw new Error(`Failed to get saved lists: ${r.status}`);return r.json()}async function YB(e,r){const n=await fetch(`${or}/api/saved/lists`,{method:"POST",headers:bi(e),body:JSON.stringify({name:r})});if(!n.ok)throw new Error(`Failed to create list: ${n.status}`);return n.json()}async function KB(e,r,n){const t=await fetch(`${or}/api/saved/lists/${r}`,{method:"PUT",headers:bi(e),body:JSON.stringify({name:n})});if(!t.ok)throw new Error(`Failed to rename list: ${t.status}`);return t.json()}async function WB(e,r){const n=await fetch(`${or}/api/saved/lists/${r}`,{method:"DELETE",headers:bi(e)});if(!n.ok)throw new Error(`Failed to delete list: ${n.status}`)}async function KE(e,r,n=1,t=50){const a=await fetch(`${or}/api/saved/lists/${r}/companies?page=${n}&page_size=${t}`,{headers:bi(e)});if(!a.ok)throw new Error(`Failed to get companies: ${a.status}`);return a.json()}async function WE(e,r,n){const t=await fetch(`${or}/api/saved/companies`,{method:"POST",headers:bi(e),body:JSON.stringify({list_id:r,company_data:n})});if(!t.ok)throw new Error(`Failed to save company: ${t.status}`);return t.json()}async function JE(e,r,n){const t=await fetch(`${or}/api/saved/companies/bulk`,{method:"POST",headers:bi(e),body:JSON.stringify({list_id:r,companies:n})});if(!t.ok)throw new Error(`Failed to save companies: ${t.status}`);return t.json()}async function JB(e,r,n){const t=await fetch(`${or}/api/v2/save-from-search`,{method:"POST",headers:bi(e),body:JSON.stringify({list_id:r,...n})});if(!t.ok){const a=await t.json().catch(()=>({detail:"Failed to save"}));throw new Error(a.detail||`Failed to save: ${t.status}`)}return t.json()}async function XB(e,r){const n=await fetch(`${or}/api/saved/companies/${r}`,{method:"DELETE",headers:bi(e)});if(!n.ok)throw new Error(`Failed to delete company: ${n.status}`)}const QB=["Snowflake","SAP","Salesforce","Databricks","Kubernetes","LangChain"];function ZB({className:e}){const r=$r(),[n,t]=N.useState({}),a=N.useRef(!1);return N.useEffect(()=>{a.current||(a.current=!0,VE().then(s=>{const l={};for(const u of s.technologies||[])l[u.value]=u.count;t(l)}).catch(()=>{}))},[]),d.jsxs("div",{className:e,children:[d.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:QB.map(s=>d.jsxs("button",{onClick:()=>r(`/app/search?tech=${encodeURIComponent(s)}`),className:"group inline-flex items-baseline gap-1.5 px-3.5 py-2 rounded-full border text-sm font-medium transition-colors",style:{borderColor:"rgba(159,184,255,0.22)",color:"#C9D7FF",background:"rgba(159,184,255,0.05)"},onMouseEnter:l=>{l.currentTarget.style.borderColor="rgba(159,184,255,0.55)",l.currentTarget.style.background="rgba(159,184,255,0.10)"},onMouseLeave:l=>{l.currentTarget.style.borderColor="rgba(159,184,255,0.22)",l.currentTarget.style.background="rgba(159,184,255,0.05)"},children:[s,n[s]!=null&&d.jsx("span",{className:"font-mono-data text-[11px] tabular-nums",style:{color:"#5C74D8"}
479,children:n[s].toLocaleString()})]},s))}),d.jsxs(vt,{size:"lg",onClick:()=>r("/app/search"),className:"px-8 h-[3.25rem] text-base bg-accent hover:bg-accent/90 text-white font-semibold rounded-xl shadow-lg shadow-accent/30 transition-all hover:shadow-xl hover:shadow-accent/40 hover:scale-[1.02]",children:["Browse all companies",d.jsx(es,{className:"w-4 h-4 ml-2"})]})]})}const eF=`<svg style="width:100%;height:auto;display:block;overflow:visible" class="rs-sonar" viewBox="0 0 920 920" role="img" 480aria-label="Sonar chart: 1,273 companies with active AI build hiring signals, positioned by technology and company size"><style> 481:root{--rs-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace} 482.beam{transform-box:view-box;transform-origin:460px 460px;animation:rs-sweep 22s linear infinite} 483@keyframes rs-sweep{to{transform:rotate(360deg)}} 484.hud{font-family:var(--rs-mono);font-size:11px;fill:#5C74D8;letter-spacing:.12em} 485.slab{font-family:var(--rs-mono);font-size:14px;font-weight:700;fill:#C9D7FF;letter-spacing:.08em} 486.slab.s{font-size:11px;font-weight:600;fill:#8FA5E8} 487@media (prefers-reduced-motion:reduce){.beam{animation:none}} 488</style> 489<defs> 490<radialGradient id="rsBeam" cx="50%" cy="50%" r="50%" gradientUnits="objectBoundingBox"> 491<stop offset="12%" stop-color="#2C46FF" stop-opacity="0"/> 492<stop offset="100%" stop-color="#2C46FF" stop-opacity=".42"/> 493</radialGradient> 494<radialGradient id="rsVig" cx="50%" cy="50%" r="72%"> 495<stop offset="62%" stop-color="#0B1220" stop-opacity="0"/> 496<stop offset="100%" stop-color="#0B1220" stop-opacity=".9"/> 497</radialGradient> 498<filter id="rsGlow" x="-40%" y="-40%" width="180%" height="180%"><feGaussianBlur stdDeviation="2.4"/></filter> 499<style>.hud{font-family:var(--rs-mono);font-size:11px;fill:#5C74D8;letter-spacing:.12em} 500.slab{font-family:var(--rs-mono);font-size:14px;font-weight:700;fill:#C9D7FF;letter-spacing:.08em} 501.slab.s{font-size:11px;font-weight:600;fill:#8FA5E8}</style> 502</defs> 503<circle cx="460" cy="460" r="88" fill="none" stroke="#2C46FF" stroke-width="1" opacity="0.3"/><circle cx="460" cy="460" r="176" fill="none" stroke="#2C46FF" stroke-width="1" opacity="0.26"/><circle cx="460" cy="460" r="264" fill="none" stroke="#2C46FF" stroke-width="1" opacity="0.22"/><circle cx="460" cy="460" r="352" fill="none" stroke="#2C46FF" stroke-width="1" opacity="0.18"/><circle cx="460" cy="460" r="436" fill="none" stroke="#2C46FF" stroke-width="1" opacity="0.3"/><line x1="888" y1="460" x2="896" y2="460" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="873" y1="571" x2="881" y2="573" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="831" y1="674" x2="838" y2="678" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="763" y1="763" x2="768" y2="768" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="674" y1="831" x2="678" y2="838" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="571" y1="873" x2="573" y2="881" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="460" y1="888" x2="460" y2="896" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="349" y1="873" x2="347" y2="881" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="246" y1="831" x2="242" y2="838" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="157" y1="763" x2="152" y2="768" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="89" y1="674" x2="82" y2="678" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="47" y1="571" x2="39" y2="573" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="32" y1="460" x2="24" y2="460" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="47" y1="349" x2="39" y2="347" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="89" y1="246" x2="82" y2="242" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="157" y1="157" x2="152" y2="152" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="246" y1="89" x2="242" y2="82" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="349" y1="47" x2="347" y2="39" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="460" y1="32" x2="460" y2="24" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="571" y1="47" x2="573" y2="39" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="674" y1="89" x2="678" y2="82" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="763" y1="157" x2="768" y2="152" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="831" y1="246" x2="838" y2="242" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="873" y1="349" x2="881" y2="347" stroke="#2C46FF" stroke-width="1" opacity=".5"/><line x1="460" y1="24" x2="460" y2="896" stroke="#2C46FF" stroke-width="1" opacity=".12"/><line x1="24" y1="460" x2="896" y2="460" stroke="#2C46FF" stroke-width="1" opacity=".12"/> 504<g class="beam"><path d="M460 460 L671 79 A436 436 0 0 1 834 235 Z" fill="url(#rsBeam)"/><line x1="460" y1="460" x2="834" y2="235" stroke="#7D96E8" stroke-width="1.2" opacity=".55"/></g> 505<g id="rsBlips"><path d="M397 772m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M483 784m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M373 772m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M770 403m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M381 750m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M277 718m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M621 740m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M166 543m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M741 582m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M434 136m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M137 441m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M524 136m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M706 676m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M695 651m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M749 415m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M741 507m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M602 718m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M446 133m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M191 541m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M530 734m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M261 692m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M391 757m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M679 680m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M697 648m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M358 720m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M571 722m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M399 779m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M773 462m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M460 142m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M598 161m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M622 689m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M462 137m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M750 422m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M778 435m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M539 7
50572m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M438 769m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M684 636m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M655 236m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M546 201m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M470 751m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M760 441m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M590 738m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M750 428m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M724 389m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M733 543m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M769 410m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M416 782m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M520 155m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M487 140m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M635 216m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M584 710m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M370 723m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M729 358m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M627 688m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M387 735m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M738 379m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M741 388m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M677 273m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M736 577m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M540 167m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M680 673m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M593 176m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M303 685m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M364 751m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M234 295m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M643 230m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M629 685m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M307 170m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M663 676m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M391 752m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M430 777m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M436 146m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M402 764m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M668 657m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M664 260m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M762 449m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M612 220m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M357 744m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M716 578m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M709 654m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M262 240m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M752 557m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M171 503m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M696 278m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M632 189m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M162 437m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M146 479m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M509 788m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M770 508m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M765 463m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M590 744m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M557 153m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M373 726m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M662 216m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M756 417m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M415 747m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M781 460m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M321 204m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M605 184m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M401 771m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M683 256m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M737 397m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M419 760m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M765 439m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M764 385m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M666 694m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M747 488m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M657 669m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M185 362m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M322 754m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M769 574m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M189 361m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M754 583m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M459 135m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M491 181m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M607 714m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M195 637m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M314 191m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M685 632m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M265 718m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M187 534m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M286 709m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M537 164m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M454 165m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M489 178m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M337 710m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M550 181m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M407 165m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M638 681m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M537 179m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M592 706m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M140 511m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M429 748m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M730 404m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M756 397m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M195 617m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M241 698m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M602 184m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M372 758m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M145 556m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M242 235m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M625 696m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M763 373m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M404 740m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M661 220m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M366 164m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M414 765m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M461 138m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M619 220m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M633 735m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M667 251m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M503 762m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M750 390m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M227 691m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M698 277m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M701 238m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M469 159m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M645 253m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M745 477m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M756 572m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M755 526m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M738 538m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M681 239m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M653 677m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M653 237m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M430 162m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M654 255m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M430 179m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M771 532m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M372 759m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M675 658m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M353 736m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M520 176m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M721 364m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M759 578m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M532 147m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M161 331m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M768 530m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M664 644m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M731 586m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M653 238m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M479 170m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M654 686m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M401 777m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M664 653m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M221 236m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M202 657m
505-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M635 225m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M756 431m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M772 475m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M769 433m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M769 493m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M728 334m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M291 716m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M656 217m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M620 201m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M743 598m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M521 754m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M649 659m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M675 714m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M716 584m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M199 612m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M711 660m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M256 653m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M348 755m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M604 194m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M676 236m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M732 379m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M764 489m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M734 588m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M211 601m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M742 540m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M678 275m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M343 181m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M755 335m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M753 429m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M736 517m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M300 694m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M677 283m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M265 688m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M220 302m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M680 672m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M692 279m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M663 233m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M429 143m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M748 353m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M764 469m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M528 766m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M753 372m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M413 142m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M360 723m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M729 572m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M669 677m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M140 527m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M678 651m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M732 557m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M736 339m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M276 711m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M739 597m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M777 417m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M755 547m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M487 754m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M574 182m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M488 763m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M676 238m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M359 741m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M301 180m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M472 153m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M674 218m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M489 168m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M563 189m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M424 139m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M554 142m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M776 540m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M422 131m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M728 656m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M665 717m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M632 196m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M179 403m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M534 134m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M688 695m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0M542 146m-1.25 0a1.25 1.25 0 1 0 2.5 0a1.25 1.25 0 1 0 -2.5 0" fill="#9FB8FF" opacity="0.62"/><path d="M501 235m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M719 540m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M386 681m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M707 411m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M208 419m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M675 618m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M510 709m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M560 217m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M634 284m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M211 514m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M571 675m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M380 211m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M723 437m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M332 228m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M260 614m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M417 733m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M628 267m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M527 237m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M291 618m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M682 558m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M237 606m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M287 268m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M352 704m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M640 653m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M303 668m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M733 513m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M261 331m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M726 420m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M368 683m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M238 549m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M686 449m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M364 697m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M526 241m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M692 547m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M632 652m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M627 250m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M716 558m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M702 356m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M602 658m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M527 226m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M494 699m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M471 196m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M530 232m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M714 530m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M592
505655m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M471 199m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M689 363m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M726 422m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M621 258m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M419 682m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M608 286m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M703 579m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M247 312m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M211 366m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M304 677m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M339 245m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M438 221m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M563 698m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M491 234m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M682 559m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M400 702m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M464 189m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M360 674m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M442 223m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M701 395m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M699 391m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M511 211m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M643 635m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M248 579m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M696 353m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M731 422m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M507 197m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M621 283m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M594 271m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M348 698m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M210 357m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M279 276m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M593 274m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M695 386m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M464 224m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M568 226m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M604 280m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M701 490m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M674 381m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M695 517m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M696 363m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M530 722m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M620 296m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M668 551m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M244 555m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M729 441m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M617 666m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M257 600m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M282 635m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M695 446m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M684 536m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M722 517m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M685 414m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M466 204m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M691 500m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M479 224m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M351 686m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M710 355m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M477 207m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M450 207m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M704 487m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M692 528m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M721 405m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M289 253m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M561 666m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M731 415m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M705 376m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M417 190m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M470 195m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M437 699m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M591 683m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M566 683m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M477 210m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M604 281m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M707 518m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M700 346m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M229 350m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M675 284m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M508 209m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M729 476m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M423 696m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M725 396m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M232 308m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M533 239m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M528 238m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M487 721m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M279 628m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M707 411m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M588 268m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M619 644m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M592 230m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M242 332m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M552 237m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M699 490m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M435 701m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M605 695m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M630 300m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M433 206m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M270 646m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M418 202m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M514 684m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M668 362m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M571 674m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M446 205m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M373
505689m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M581 676m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M699 502m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M707 430m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M409 700m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M629 644m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M219 453m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M206 569m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M668 559m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M415 212m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M257 320m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M690 460m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M303 233m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M646 599m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M717 427m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M234 450m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M691 361m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M642 639m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M738 447m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M692 507m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M230 522m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M692 401m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M450 186m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M585 215m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M471 710m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M217 349m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M269 652m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M702 370m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M388 685m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M708 342m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M699 491m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M310 231m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M360 690m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M628 653m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M615 254m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M714 511m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M391 703m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M398 729m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M454 231m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M475 234m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M734 457m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M314 227m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M508 720m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M700 567m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M730 406m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M697 497m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M519 723m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M652 599m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M721 460m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M257 318m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M424 724m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M674 379m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M426 718m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M395 724m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M629 620m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M421 223m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M591 652m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M640 634m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M572 225m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M332 221m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M338 657m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M416 693m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M240 413m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M660 632m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M563 706m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M703 531m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M600 684m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M717 394m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M254 548m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M257 272m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M479 213m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M653 266m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M228 417m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M494 208m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M300 640m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M672 546m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M254 575m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M570 239m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M398 700m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M714 403m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M714 339m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M694 367m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M464 702m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M471 220m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M509 209m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M671 358m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M551 232m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M511 720m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M681 417m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M723 498m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M678 354m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M604 239m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M685 623m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M552 686m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M730 446m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M625 657m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M713 484m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0M500 193m-1.5 0a1.5 1.5 0 1 0 3.0 0a1.5 1.5 0 1 0 -3.0 0" fill="#9FB8FF" opacity="0.72"/><path d="M525 284m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M347 595m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M682 497m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M349 599m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M649 485m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M628 607m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M286 433m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M651 465m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M485 257m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M6
50574 467m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M423 648m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M337 325m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M431 297m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M617 513m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M345 630m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M628 379m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M647 370m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M483 654m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M418 626m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M302 403m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M253 491m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M671 407m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M627 500m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M645 374m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M358 311m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M547 288m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M366 657m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M577 303m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M309 533m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M229 470m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M259 548m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M291 504m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M556 325m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M520 606m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M606 329m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M662 475m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M662 395m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M440 300m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M494 252m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M656 394m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M411 676m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M645 397m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M336 321m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M322 364m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M428 263m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M659 437m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M660 453m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M537 312m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M387 282m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M392 650m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M658 366m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M531 249m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M322 307m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M370 645m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M588 576m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M670 538m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M572 305m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M568 269m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M556 251m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M428 283m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M417 640m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M650 512m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M540 645m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M560 262m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M382 281m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M471 621m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M547 312m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M439 649m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M626 521m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M573 633m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M300 413m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M564 318m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M558 297m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M267 487m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M486 279m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M529 282m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M398 666m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M532 290m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M339 317m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M535 308m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M475 281m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M662 559m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M622 579m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M410 658m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M506 242m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M488 238m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M247 416m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M509 644m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M518 297m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M664 383m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M482 241m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M532 287m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M473 275m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M588 558m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M304 322m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M652 534m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M432 675m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M458 278m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M635 373m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M6
50575 517m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M670 469m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M583 625m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M416 676m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M568 603m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M469 283m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M326 603m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M550 616m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M454 231m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M557 323m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M692 468m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M506 659m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M576 271m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M544 634m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M625 429m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M570 592m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M598 625m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M374 323m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M594 604m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M287 342m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M440 262m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M612 393m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M361 597m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M626 524m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M432 290m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M358 302m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M562 631m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M639 404m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M343 344m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M607 635m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M337 312m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M258 517m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M656 412m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M408 650m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M320 632m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M641 504m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M632 452m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M581 577m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M600 595m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M264 565m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M661 382m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M251 489m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M653 431m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M674 539m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M455 258m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M595 554m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M661 382m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M530 295m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M651 496m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M570 313m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M482 665m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M473 286m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M382 668m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M502 297m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M484 646m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M682 450m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M638 520m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M681 400m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M440 633m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M281 569m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M399 631m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M634 454m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M633 461m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M529 307m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M420 648m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M402 649m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M673 407m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M549 292m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M517 308m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M496 269m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M548 637m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M339 644m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M351 596m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M440 673m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M626 497m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M555 593m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M481 658m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M554 641m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M601 316m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M499 636m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M532 621m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M636 425m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M291 536m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M291 308m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M397 671m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M680 503m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M664 363m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M643 491m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M611 330m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M507 295m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M637 524m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M668 389m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M304 564m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M578 273m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M632 507m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M261 575m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M306 320m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M366 585m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M493 261m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M508 658m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M663 391m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M387 658m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M319 331m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M544 294m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M538 265m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M463 277m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M563 287m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M635 475m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M665 398m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M502 274m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M381 657m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M432 277m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M606 563m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M245 414m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M630 531m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M602 335m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M425 637m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M610 392m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M591 600m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M535 253m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M322
505616m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M603 570m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M271 453m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M567 285m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M551 600m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M660 464m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M481 637m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M575 607m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M461 286m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M376 663m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M451 286m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M429 651m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M434 272m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M269 504m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M319 305m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M551 655m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M504 271m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M435 287m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M278 389m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M517 259m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M602 317m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M616 301m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M434 262m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M335 340m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M661 379m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M543 282m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M657 386m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M670 491m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M464 281m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M636 501m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M606 621m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M560 652m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M269 488m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M656 485m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M629 313m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M429 287m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M592 319m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M497 274m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M621 521m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M618 521m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M590 281m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M321 635m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M546 308m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M315 560m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M426 273m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M494 279m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M544 275m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M659 505m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M585 345m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M678 479m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M675 489m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M604 286m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M497 254m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M313 372m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M580 641m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M672 437m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M647 478m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M675 397m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M671 421m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M434 639m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M629 524m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M627 420m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M598 607m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M500 290m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M290 445m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M265 385m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M661 497m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M591 630m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M326 613m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M516 663m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M574 319m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M635 597m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M538 256m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M436 293m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M664 526m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M666 438m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M596 344m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M593 325m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M523 304m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M662 481m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M586 289m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M662 529m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M620 457m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M609 614m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M265 575m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M303 392m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M663 430m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M450 290m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M627 519m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M650 415m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M364 605m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M578 347m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M633 386m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M579 627m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M547 282m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M638 419m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M638 547m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M562 275m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M654 534m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M623 299m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M294 395m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M255 495m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M639 425m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M582 347m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0M296 585m-1.8 0a1.8 1.8 0 1 0 3.6 0a1.8 1.8 0 1 0 -3.6 0" fill="#9FB8FF" opacity="0.8"/><path d="M371 370m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4
5050M359 575m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M485 329m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M350 394m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M566 543m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M507 312m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M298 437m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M605 507m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M524 314m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M324 498m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M610 426m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M321 453m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M365 525m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M545 599m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M377 545m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M546 363m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M500 352m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M529 583m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M542 370m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M555 565m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M307 487m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M557 383m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M612 446m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M444 332m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M509 583m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M525 313m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M540 575m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M457 351m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M344 523m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M530 321m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M424 613m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M348 528m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M564 349m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M608 504m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M477 325m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M474 611m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M436 327m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M508 353m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M501 335m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M604 414m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M611 437m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M539 343m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M582 520m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M541 329m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M569 367m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M512 343m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M515 338m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M333 457m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M470 343m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M545 551m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M529 354m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M441 307m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M575 486m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M540 342m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M487 303m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M363 564m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M585 446m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M465 326m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M531 375m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M528 355m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M504 340m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M538 322m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M338 516m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M354 538m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M546 355m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M339 445m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M549 368m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M585 456m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M525 319m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M366 356m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M390 560m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M323 433m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M568 414m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M572 416m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M533 586m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4
5050M474 593m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M558 378m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M293 454m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M335 554m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M568 545m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M549 337m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M530 559m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M489 340m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M589 360m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M329 531m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M506 356m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M584 362m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M598 493m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M549 336m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M480 315m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M345 411m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M568 428m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M578 361m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M605 413m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M592 492m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M451 339m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M340 354m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M611 519m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M571 413m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M561 555m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M557 551m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M610 398m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M342 408m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M578 566m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M531 320m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M528 559m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M507 337m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M416 610m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M508 350m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M529 570m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M563 407m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M595 439m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M572 440m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M348 518m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M487 583m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M598 437m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M447 309m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M391 338m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M513 312m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M406 612m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M592 399m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M474 581m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M356 502m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M348 454m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M528 567m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M364 553m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M573 336m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M464 310m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M513 330m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M590 400m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M438 611m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M348 513m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M496 318m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M511 308m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M399 588m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M595 503m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M327 412m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M493 328m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M491 308m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M301 466m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M525 568m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M439 348m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M331 485m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M479 315m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M577 507m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M461 338m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M358 359m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M399 346m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M576 441m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4
5050M579 500m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M605 453m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M542 594m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M609 433m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M500 615m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M530 607m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M315 435m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M392 357m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M563 346m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M534 334m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M379 332m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M459 333m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M547 561m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M608 457m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M468 313m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M597 455m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M445 310m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M479 581m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M370 559m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M535 348m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M527 578m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M507 309m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M372 545m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M542 322m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M531 564m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M470 606m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M467 582m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M600 446m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M512 575m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M568 428m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M332 541m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M565 349m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M495 343m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M566 351m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M519 581m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M605 474m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M321 533m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M610 488m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M342 531m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M379 373m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M542 378m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M590 487m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M349 408m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M543 345m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M314 497m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M540 567m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M353 507m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M595 430m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M604 513m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M330 409m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M482 566m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M576 364m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M504 346m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M344 409m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M340 437m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M599 445m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M589 417m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M525 566m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M606 476m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M392 600m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M536 335m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M512 326m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M554 389m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M453 347m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M484 339m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M581 446m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M588 494m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M370 530m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M503 330m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M330 496m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M302 508m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M537 328m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M556 350m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M317 451m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4
5050M340 519m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M569 351m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M339 554m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M391 565m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M371 366m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M345 490m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M490 341m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M549 370m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M558 355m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M521 580m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M602 412m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M377 590m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M380 575m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M503 323m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M567 552m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M524 551m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M559 578m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M520 328m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0M470 610m-2.2 0a2.2 2.2 0 1 0 4.4 0a2.2 2.2 0 1 0 -4.4 0" fill="#9FB8FF" opacity="0.9"/><path d="M450 383m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M567 467m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M347 446m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M478 532m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M516 522m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M449 376m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M508 393m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M387 434m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M507 360m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M399 521m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M384 432m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M539 379m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M468 345m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M437 566m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M380 431m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M558 421m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M490 522m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M530 509m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M365 515m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M362 512m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M484 372m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M476 367m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M384 413m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M363 517m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M531 538m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M448 370m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M427 384m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M552 498m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M403 520m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M558 462m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M370 511m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M500 531m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M517 536m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M518 396m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M519 389m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M390 507m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M554 441m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M451 355m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M446 366m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M506 547m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M500 534m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M531 441m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M537 468m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M464 364m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M483 377m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M356 451m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M365 418m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M540 515m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M473 563m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M471 357m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M416 517m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M515 551m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M359 502m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M382 508m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M533 397m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M489 380m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M389 373m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M412 513m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M372 398m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M526 538m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M443 353m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M505 378m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M506 366m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M469 553m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M483 544m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M404 532m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M558 472m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M462 563m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M392 509m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M535 403m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M377 450m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M515 364m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M509 520m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M397 525m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M367 455m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M399 399m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M386 449m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M525 385m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M501 388m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M378 432m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M417 391m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M375 506m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M362 479m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M389 414m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M535 454m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M349 443m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M551 420m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M544 386m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M495 396m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M566 437m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M477 381m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M458 383m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M494 360m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M545 434m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M519 521m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M515 517m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M503 401m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M384 482m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M397 556m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M381 500m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M507 545m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M524 521m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M394 547m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M561 498m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M505 364m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M482 390m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M531 404m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M530 378m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M542 425m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M554 426m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M417 388m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M373 433m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M465 367m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M543 478m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M379 512m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M499 383m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M373 509m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M377 518m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M367 416m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M544 428m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M367 509m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M472 547m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M483 543m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M361 441m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M538 496m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M519 416m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M360 520m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M394 497m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M385 512m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M482 388m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M396 392m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M380 403m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M536 539m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M520 387m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M527 392m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M374 494m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M546 395m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M562 421m
505-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M478 373m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M527 435m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M513 526m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M514 541m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M482 562m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M421 551m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M420 387m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M504 362m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M448 379m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M410 512m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M549 450m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M488 385m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M549 524m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M520 551m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M523 395m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M507 530m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M530 369m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M550 485m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M482 558m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M387 391m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M473 368m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M378 448m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M404 407m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M386 408m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M372 408m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M516 411m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M501 531m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M461 388m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M533 389m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M561 433m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M518 388m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M352 443m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M519 409m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M465 368m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M522 517m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M444 540m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M502 371m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M531 431m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M520 518m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M563 448m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M487 364m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M519 396m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M462 575m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M560 484m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M546 390m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M462 385m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M449 375m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M548 470m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M527 367m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M390 544m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M358 485m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M354 451m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M469 367m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M516 381m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M570 447m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M539 427m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M404 515m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M554 479m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M395 385m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0M475 352m-2.6 0a2.6 2.6 0 1 0 5.2 0a2.6 2.6 0 1 0 -5.2 0" fill="#9FB8FF" opacity="0.95"/><path d="M105 556m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M252 812m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M141 648m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M139 694m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M221 805m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M148 725m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M115 686m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M95 570m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M74 573m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M79 629m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M147 724m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M244 785m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M156 753m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M74 623m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M104 563m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M105 538m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M174 736m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M89 559m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M123 688m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M115 641m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M167 696m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M208 724m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M94 617m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M210 731m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M166 691m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M170 689m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M150 690m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M110 660m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M157 696m
505-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M98 559m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M45 534m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M126 700m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M219 789m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M174 771m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M123 711m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M135 726m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M178 749m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M108 540m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M229 782m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M99 580m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M218 737m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M120 685m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M264 777m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M166 740m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M73 588m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M205 760m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M121 698m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M119 706m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M75 628m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M117 625m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M130 696m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M174 682m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M52 541m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M72 630m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M236 768m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M263 813m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M78 640m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M202 710m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M259 760m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M212 791m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M136 698m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M75 530m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M193 766m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M192 760m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M176 768m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M118 604m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M100 520m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M152 706m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M280 774m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M124 672m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M95 597m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M145 644m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M193 780m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M248 772m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M137 682m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M131 723m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0M179 775m-1.3 0a1.3 1.3 0 1 0 2.6 0a1.3 1.3 0 1 0 -2.6 0" fill="#5C74D8" opacity=".5"/></g> 506<use href="#rsBlips" filter="url(#rsGlow)" opacity=".6"/> 507<text x="460" y="14" text-anchor="middle" class="hud">000</text><text x="460" y="916" text-anchor="middle" class="hud">180</text> 508<circle cx="526" cy="288" r="4.6" fill="#EAF1FF"/><circle cx="526" cy="288" r="8.5" fill="none" stroke="#9FB8FF" stroke-width="1" opacity=".55"/><line x1="526" y1="288" x2="593" y2="113" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="599" y="117" text-anchor="start" class="slab">RAG</text><circle cx="667" cy="457" r="4.6" fill="#EAF1FF"/><circle cx="667" cy="457" r="8.5" fill="none" stroke="#9FB8FF" stroke-width="1" opacity=".55"/><line x1="667" y1="457" x2="832" y2="454" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="838" y="458" text-anchor="start" class="slab">CURSOR</text><circle cx="587" cy="617" r="4.6" fill="#EAF1FF"/><circle cx="587" cy="617" r="8.5" fill="none" stroke="#9FB8FF" stroke-width="1" opacity=".55"/><line x1="587" y1="617" x2="694" y2="749" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="700" y="753" text-anchor="start" class="slab">LANGCHAIN</text><line x1="490" y1="654" x2="518" y2="828" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="524" y="832" text-anchor="start" class="slab s">LANGGRAPH</text><line x1="397" y1="693" x2="363" y2="819" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="357" y="823" text-anchor="end" class="slab s">N8N</text><line x1="336" y1="610" x2="224" y2="747" stroke="#7D96E8" stroke-width="1" opacity=".4"/><text x="218" y="751" text-anchor="end" class="slab s">MCP</text> 509<circle cx="460" cy="460" r="3" fill="none" stroke="#7D96E8" stroke-width="1" opacity=".7"/> 510<text x="16" y="874" class="hud">BEARING = TECHNOLOGY</text> 511<text x="16" y="890" class="hud">RANGE = COMPANY SIZE · CLOSER = LARGER</text> 512 513<text x="904" y="906" text-anchor="end" class="hud">LIVE DATASET</text> 514</svg>`,tF="#0B1220";function rF(){return d.jsxs("section",{id:"search",className:"relative overflow-hidden pt-14 pb-16 md:pt-16 md:pb-20 min-h-[calc(100vh-65px)] flex items-center",style:{background:tF}
514,children:[d.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 60% 55% at 22% 35%, rgba(63,70,229,0.16), transparent 62%),radial-gradient(ellipse 50% 60% at 85% 60%, rgba(44,70,255,0.10), transparent 65%)"}}),d.jsx("div",{className:"container relative z-10",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-14 lg:gap-8 items-center",children:[d.jsxs("div",{className:"lg:col-span-6",children:[d.jsxs("div",{className:"flex items-center gap-2.5 mb-8 animate-fade-up",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-400 animate-pulse"}),d.jsx("span",{className:"font-mono-data text-[11px] uppercase tracking-[0.18em]",style:{color:"#5C74D8"},children:"Company intelligence · beta"})]}),d.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-[3.6rem] font-[800] mb-6 leading-[1.05] tracking-[-0.03em] animate-fade-up animate-delay-100",style:{color:"#F5F7FB"},children:["Every job post",d.jsx("br",{}),d.jsx("span",{style:{color:"#9FB8FF"},children:"is a confession."})]}),d.jsx("p",{className:"text-lg md:text-xl mb-9 max-w-xl leading-relaxed animate-fade-up animate-delay-200",style:{color:"rgba(230,237,247,0.62)"},children:"What theyâre adopting. What theyâre ripping out. Where it hurts. Companies publish it all in their hiring â echoloc reads it and hands you the list of whoâs ready to buy."}),d.jsxs("div",{className:"max-w-xl animate-fade-up animate-delay-300",children:[d.jsx("div",{className:"font-mono-data text-[10px] uppercase tracking-[0.18em] mb-3",style:{color:"#5C74D8"},children:"Start from a technology"}),d.jsx(ZB,{}),d.jsxs("div",{className:"mt-5 flex items-center gap-2 text-xs font-mono-data pl-1",style:{color:"#5C74D8"},children:[d.jsx("span",{style:{color:"#C9D7FF"},className:"font-semibold",children:"1M+"}),d.jsx("span",{children:"companies · updated daily"})]})]})]}),d.jsx("div",{className:"lg:col-span-6 hidden lg:block animate-fade-up animate-delay-200",children:d.jsxs("a",{href:"/research/whos-building-with-ai-2026/",className:"block group max-w-[600px] mx-auto",children:[d.jsx("div",{dangerouslySetInnerHTML:{__html:eF}}),d.jsxs("div",{className:"text-center mt-2",children:[d.jsx("span",{className:"font-mono-data text-[11px] tracking-[0.16em]",style:{color:"#C9D7FF"},children:"EVERY DOT IS A REAL COMPANY"}),d.jsx("span",{className:"block font-mono-data text-[10px] mt-1.5 tracking-[0.08em] transition-colors group-hover:underline",style:{color:"#5C74D8"},children:"AI adopters on the radar â from our research â"})]})]})})]})})]})}const nF=[{tag:"ADOPTING",dot:"#059669",title:"Rolling it out right now.",copy:"Hiring to implement a tool â budget committed, team forming. The moment to show up.",chips:[{label:"Snowflake · adopting",tone:"adopting"},{label:"Financial Services",tone:"plain"}],href:"/app/search?tech=Snowflake%3Aadopting&industry=Financial+Services"},{tag:"REPLACING",dot:"#ea580c",title:"Leaving your competitor.",copy:"Hiring for the migration away from a vendor. The warmest cold call youâll ever make.",chips:[{label:"VMware · replacing",tone:"replacing"}],href:"/app/search?tech=VMware%3Areplacing"},{tag:"VELOCITY",dot:"#16a34a",title:"Scaling on your stack.",copy:"Runs your ecosystem â and hiring fast enough to feel the pain you solve.",chips:[{label:"Kubernetes",tone:"plain"},{label:"accelerating",tone:"velocity"}],href:"/app/search?tech=Kubernetes&velocity=accelerating"}],aF={adopting:"bg-emerald-50 text-emerald-700 border-emerald-200",replacing:"bg-orange-50 text-orange-700 border-orange-200",velocity:"bg-green-50 text-green-700 border-green-200",plain:"bg-white text-foreground/75 border-[#E5E5E5]"};function iF({row:e}){const r=$r();return d.jsxs("button",{onClick:()=>r(e.href),className:`group grid w-full items-center gap-x-6 gap-y-3 border-t border-[#E5E1D8] py-7 text-left transition-colors hover:bg-white/70 px-3 -mx-3 rounded-lg 515 grid-cols-1 md:[grid-template-columns:8.5rem_minmax(0,1fr)_auto_1.5rem]`,children:[d.jsxs("span",{className:"flex items-center gap-2 font-mono-data text-[11px] font-semibold tracking-[0.16em]",style:{color:e.dot},children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full",style:{background:e.dot}}),e.tag]}),d.jsxs("span",{className:"min-w-0",children:[d.jsx("span",{className:"block text-xl md:text-[1.35rem] font-bold tracking-[-0.015em] text-foreground mb-1",children:e.title}),d.jsx("span",{className:"block text-[14.5px] leading-relaxed text-muted-foreground",children:e.copy})]}),d.jsx("span",{className:"flex flex-wrap items-center gap-1.5 md:justify-end",children:e.chips.map(n=>d.jsx("span",{className:`px-2 py-0.5 rounded border text-[11.5px] font-mono-data whitespace-nowrap ${aF[n.tone]}`,children:n.label},n.label))}),d.jsx(es,{className:"hidden md:block w-4 h-4 text-muted-foreground
515/40 transition-all group-hover:text-accent group-hover:translate-x-1",strokeWidth:2.5})]})}function sF(){return d.jsx("section",{id:"examples",className:"py-16 md:py-24 relative overflow-hidden",children:d.jsxs("div",{className:"container relative",children:[d.jsxs("div",{className:"mb-12 max-w-3xl",children:[d.jsx("span",{className:"inline-block text-[11px] font-semibold tracking-[0.16em] text-accent font-mono-data mb-3",children:"SIGNALS"}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-[2.75rem] font-[800] tracking-[-0.03em] mb-4 text-foreground leading-[1.06]",children:["Not who they are.",d.jsx("br",{}),d.jsx("span",{className:"text-muted-foreground font-[600]",children:"What theyâre about to do."})]}),d.jsx("p",{className:"text-[15px] text-muted-foreground max-w-xl",children:"Firmographics tell you who a company is. Hiring tells you what itâs about to buy. Three signals technographics canât see â each one is a filter, each filter is a list."})]}),d.jsx("div",{className:"border-b border-[#E5E1D8]",children:nF.map(e=>d.jsx(iF,{row:e},e.tag))})]})})}const oF=[{name:"State Street",domain:"statestreet.com",industry:"Financial Services",location:"Boston, US",size:"10K+",kind:"pain",snippet:"identifying suspicious transaction activity",velocity:"accelerating",jobs_30d:164,jobs_total:333},{name:"Legal & General",domain:"legalandgeneral.com",industry:"Financial Services",location:"London, UK",size:"10K+",kind:"project",snippet:"tableau workbook migration to new snowflake server",velocity:"accelerating",jobs_30d:98,jobs_total:111},{name:"Commonwealth Bank",domain:"commbank.com.au",industry:"Financial Services",location:"Sydney, AU",size:"10K+",kind:"project",snippet:"modernisation of legacy environments",velocity:"accelerating",jobs_30d:122,jobs_total:152},{name:"Broadridge",domain:"broadridge.com",industry:"Financial Services",location:"New York, US",size:"10K+",kind:"pain",snippet:"modernizing mission-critical platforms",velocity:"accelerating",jobs_30d:93,jobs_total:223},{name:"Chubb",domain:"chubb.com",industry:"Insurance",location:"Zurich, CH",size:"10K+",kind:"pain",snippet:"reducing loss costs",velocity:"accelerating",jobs_30d:71,jobs_total:306},{name:"Jefferies",domain:"jefferies.com",industry:"Investment Banking",location:"New York, US",size:"5K+",kind:"project",snippet:"modernizing legacy systems",velocity:"accelerating",jobs_30d:69,jobs_total:169}],lF={accelerating:{label:"Accelerating",cls:"bg-emerald-50 text-emerald-700 border-emerald-200"},steady:{label:"Steady",cls:"bg-muted/50 text-foreground border-border"},decelerating:{label:"Decelerating",cls:"bg-orange-50 text-orange-700 border-orange-200"}},cF={pain:{label:"PAIN POINT",cls:"text-orange-600 bg-orange-50 border-orange-100"},project:{label:"PROJECT",cls:"text-accent bg-accent/8 border-accent/15"}};function uF(){return d.jsxs("span",{className:"inline-flex items-center px-1.5 py-px rounded border text-[10px] font-mono-data bg-emerald-50 text-emerald-700 border-emerald-200 flex-shrink-0 whitespace-nowrap",children:["Adopting ",d.jsx("span",{className:"font-semibold ml-1",children:"Snowflake"})]})}function dF({velocity:e,jobs:r,jobs30d:n}){const t=lF[e];return d.jsxs("div",{className:"flex flex-col items-start gap-1",children:[d.jsxs("span",{className:`inline-flex items-center gap-1 px-2 py-0.5 rounded border text-[11px] font-medium ${t.cls}`,children:[d.jsx(vy,{className:"w-3 h-3"}),t.label]}),d.jsxs("span",{className:"text-[11px] text-muted-foreground font-mono-data",children:[r," jobs ",d.jsxs("span",{className:"text-foreground",children:["· ",n," new"]})]})]})}function fF({domain:e,name:r}){const[n,t]=N.useState(!1);return!e||n?d.jsx("div",{className:"w-9 h-9 rounded-md bg-accent/10 flex items-center justify-center text-accent font-bold text-sm flex-shrink-0",children:r.charAt(0).toUpperCase()}):d.jsx("img",{src:`https://img.logo.dev/${e}?token=pk_cSvQDRHqQLmti5H_JKTNQg`,alt:"",className:"w-9 h-9 rounded-md bg-white border border-[#E5E5E5] object-contain flex-shrink-0",onError:()=>t(!0)})}function hF({c:e}){const r=cF[e.kind];return d.jsxs("div",{className:"flex items-start gap-3 min-w-0",children:[d.jsx(fF,{domain:e.domain,name:e.name}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-1.5 flex-wrap",children:[d.jsx("span",{className:"font-semibold text-sm text-foreground truncate",children:e.name}),d.jsx(uF,{}),d.jsx("span",{className:`inline-flex items-center px-1.5 py-px rounded border text-[9px] font-semibold tracking-[0.14em] font-mono-data flex-shrink-0 ${r.cls}`,children:r.label})]}),d.jsxs("div",{className:"flex items-start gap-1.5 text-[13px] leading-[1.45] text-muted-foreground",children:[d.jsx(lB,{className:"w-3 h-3 mt-[3px] flex-shrink-0 text-accent/40",strokeWidth:2.5}),d.jsx("span",{className:"italic line-clamp-2",children:e.snippet})]})]})]})}function pF(){const e=$r();return d.jsx("section",{id:"demo",className:"py-14 md:py-20 relative overflow-hidden",style:{background:"#F5F5F3"},children:d.jsxs("div",{className:"container relative",children:[d.jsxs("div",{className:"mb-12 max-w-3xl",children:[d.jsxs("span",{className:"inline-flex items-center gap-2 text-[11px] font-semibold tracking-[0.16em] font-mono-data text-accent mb-4",children:[d.jsx(hy,{className:"w-3.5 h-3.5"}),"EVIDENCE"]}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-[800] tracking-[-0.03em] mb-5 text-foreground leading-[1.08]",children:["Real companies. Real evidence.",d.jsx("br",{}),d.jsx("span",{className:"text-muted-foreground font-[600]",children:"Straight from their own hiring."})]}),d.jsx("p",{className:"text-lg text-muted-foreground",children:"Every profile carries the priorities and projects a company states in its hiring â so a technology f
515ilter comes back with proof attached, not just a logo grid. These rows are real, from a single filter set."})]}),d.jsxs("div",{className:"relative rounded-2xl bg-white border border-[#E5E5E5] overflow-hidden",style:{boxShadow:"0 24px 60px -24px oklch(0.52 0.28 270 / 0.18), 0 8px 20px -10px rgba(0,0,0,0.06)"},children:[d.jsxs("div",{className:"px-6 pt-4 pb-3 border-b border-[#F0EDE8] flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("div",{className:"text-[10px] font-semibold tracking-[0.16em] font-mono-data text-muted-foreground",children:"FILTERS"}),d.jsxs("div",{className:"flex items-center gap-1.5 mt-1",children:[d.jsx("span",{className:"px-1.5 py-0.5 rounded bg-emerald-50 text-emerald-700 border border-emerald-200 text-[11px] font-mono-data whitespace-nowrap",children:"Snowflake · adopting"}),d.jsx("span",{className:"px-1.5 py-0.5 rounded bg-[#FAFAF8] text-foreground/75 border border-[#E5E5E5] text-[11px] font-mono-data whitespace-nowrap",children:"Financial sector"})]})]}),d.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse"}),d.jsx("span",{className:"font-mono-data",children:"from the live dataset"})]})]}),d.jsxs("div",{className:"hidden md:grid px-6 py-2.5 text-[10px] font-semibold tracking-[0.14em] font-mono-data text-muted-foreground border-b border-[#F0EDE8] gap-5",style:{gridTemplateColumns:"minmax(0,2.2fr) minmax(0,0.95fr) minmax(0,0.95fr) minmax(0,0.75fr) minmax(0,0.55fr)"},children:[d.jsx("div",{children:"COMPANY · MATCH EVIDENCE"}),d.jsx("div",{children:"GROWTH"}),d.jsx("div",{children:"INDUSTRY"}),d.jsx("div",{children:"LOCATION"}),d.jsx("div",{children:"SIZE"})]}),d.jsx("div",{className:"divide-y divide-[#F0EDE8]",children:oF.map(r=>d.jsxs("div",{onClick:()=>e("/app/search?tech=Snowflake%3Aadopting&industry=Financial+Services,Banking,Insurance,Investment+Banking"),className:"px-6 py-4 md:grid md:items-start hover:bg-[#FAFAF8] cursor-pointer transition-colors gap-5",style:{gridTemplateColumns:"minmax(0,2.2fr) minmax(0,0.95fr) minmax(0,0.95fr) minmax(0,0.75fr) minmax(0,0.55fr)"},children:[d.jsx(hF,{c:r}),d.jsx("div",{className:"hidden md:block pt-0.5",children:d.jsx(dF,{velocity:r.velocity,jobs:r.jobs_total,jobs30d:r.jobs_30d})}),d.jsx("div",{className:"hidden md:block text-xs font-mono-data text-foreground min-w-0 pt-1 truncate",children:r.industry}),d.jsx("div",{className:"hidden md:block text-xs font-mono-data text-muted-foreground min-w-0 pt-1 truncate",children:r.location}),d.jsx("div",{className:"hidden md:block text-xs font-mono-data text-muted-foreground min-w-0 pt-1 truncate",children:r.size})]},r.name))}),d.jsx("div",{className:"px-6 py-3 border-t border-[#F0EDE8] text-xs text-muted-foreground",children:d.jsx("span",{className:"font-mono-data",children:"a slice of one filter set â click any row to open it live"})})]})]})})}const mF=[{title:"Who's Actually Building with AI in 2026",tagline:"The companies shipping AI to production â mapped from hiring evidence.",href:"/research/whos-building-with-ai-2026/",img:"/research/og/whos-building-with-ai-2026.png"},{title:"The Great SAP Migration, Measured",tagline:"Who's actually moving off ECC before the 2027 deadline â and who isn't.",href:"/research/great-sap-migration-2026/",img:"/research/og/great-sap-migration-2026.png"},{title:"The Displacement Index",tagline:"The technologies companies are actively leaving, direction-verified.",href:"/research/displacement-index-2026/",img:"/research/og/displacement-index-2026.png"}];function gF(){return d.jsxs("section",{className:"py-14 md:py-20 relative overflow-hidden",style:{background:"#0B1220",color:"#E6EDF7"},children:[d.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 70% 55% at 50% 0%, rgba(99,102,241,0.14), transparent 65%)"}}),d.jsxs("div",{className:"container relative",children:[d.jsxs("div",{className:"mb-10 md:mb-12 max-w-3xl",children:[d.jsx("span",{className:"inline-block text-[11px] font-semibold tracking-[0.16em] font-mono-data mb-3",style:{color:"#8b93f8"},children:"RESEARCH"}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-[2.75rem] font-[800] tracking-[-0.03em] mb-4 leading-[1.06]",style:{color:"#F5F7FB"},children:"We publish what the data shows."}),d.jsx("p",{className:"text-[15px] max-w-xl leading-relaxed",style:{color:"rgba(230,237,247,0.6)"},children:"Public reports built on the same dataset you're about to search. Read them, steal the charts, check our math."})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-5",children:mF.map(e=>d.jsxs("a",{href:e.href,className:"group rounded-2xl overflow-hidden border transition-all duration-300 hover:-translate-y-1",style:{borderColor:"rgba(230,237,247,0.12)",background:"rgba(230,237,247,0.03)"},children:[d.jsx("div",{className:"aspect-[1200/630] overflow-hidden",style:{background:"#0B1220"},children:d.jsx("img",{src:e.img,alt:"",loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"})}),d.jsxs("div",{className:"p-5",children:[d.jsx("h3",{className:"text-[16px] font-bold tracking-tight mb-1.5",style:{color:"#F5F7FB"},children:e.title}),d.jsx("p",{className:"text-[13px] leading-relaxed mb-3",style:{color:"rgba(230,237,247,0.55)"},children:e.tagline}),d.jsxs("span",{className:"inline-flex items-center gap-1.5 text-[13px] font-semibold",style:{color:"#8b93f8"},children:["Read the report",d.jsx(es,{className:"w-3.5 h-3.5 transition-transform group-hover:translate-x-1",strokeWidth:2.5})]})]})]},e.href))}),d.jsx("div",{className:"mt-8",children:d.jsxs("a",{href:"/research/",className:"inline-flex items-center gap-1.5 text-sm font-medium hover:underline",style:{color:"rgba(230,237,247,0.7)"},children:["All research",d.jsx(es,{className:"w-4 h-4",strokeWidth:2})]})})]})]})}const vF={accelerating:{label:"Accelerating",accent:"text-emerald-600",arrow:"â"},steady:{label:"Steady",accent:"text-muted-foreground",arrow:"â"},decelerating:{label:"Decelerating",accent:"text-orange-600",arrow:"â"},minimal:{label:"Minimal",accent:"text-muted-foreground",arrow:"·"}};function yF(e){const r=vF[e.hiring_velocity];return d.jsxs("div",{className:"rounded-2xl bg-white border border-[#
515E5E5E5] shadow-[0_1px_2px_rgba(0,0,0,0.04)]",style:{boxShadow:"0 20px 50px -20px oklch(0.52 0.28 270 / 0.18), 0 8px 20px -10px rgba(0,0,0,0.08)"},children:[d.jsxs("div",{className:"px-6 py-5 border-b border-[#F0EDE8] flex items-center gap-4",children:[d.jsx("img",{src:`https://img.logo.dev/${e.domain}?token=pk_cSvQDRHqQLmti5H_JKTNQg`,alt:"",className:"w-12 h-12 rounded-xl bg-white border border-[#E5E5E5] object-contain"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("h3",{className:"font-semibold text-lg text-foreground",children:e.name}),d.jsxs("div",{className:"text-xs text-muted-foreground font-mono-data mt-0.5",children:[e.industry," · ",e.location," · ",e.size]})]}),d.jsxs("div",{className:`flex items-center gap-1.5 text-sm font-medium ${r.accent}`,children:[d.jsx(vy,{className:"w-4 h-4"}),r.label]})]}),d.jsxs("div",{className:"divide-y divide-[#F0EDE8]",children:[d.jsx(Bo,{label:"ADOPTING",field:"tech_adopting",children:d.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.tech_adopting.map(n=>d.jsx("span",{className:"chip-ctx chip-ctx-adopting",children:d.jsx("span",{className:"font-medium",children:n})},n))})}),d.jsx(Bo,{label:"USING",field:"tech_using",children:d.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.tech_using.map(n=>d.jsx("span",{className:"chip-ctx chip-ctx-using",children:d.jsx("span",{className:"font-medium",children:n})},n))})}),e.tech_replacing&&e.tech_replacing.length>0&&d.jsx(Bo,{label:"REPLACING",field:"tech_replacing",children:d.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.tech_replacing.map(n=>d.jsx("span",{className:"chip-ctx chip-ctx-replacing",children:d.jsx("span",{className:"font-medium",children:n})},n))})}),d.jsx(Bo,{label:"BUILDING",field:"projects",children:d.jsx("ul",{className:"text-sm text-foreground space-y-1.5",children:e.projects.map(n=>d.jsxs("li",{className:"flex gap-2",children:[d.jsx("span",{className:"text-accent font-mono-data mt-0.5",children:"âº"}),d.jsx("span",{children:n})]},n))})}
515),d.jsx(Bo,{label:"HIRING",field:"notable_roles",children:d.jsx("div",{className:"text-sm text-foreground leading-relaxed",children:e.notable_roles.map((n,t)=>d.jsxs("span",{children:[n,t<e.notable_roles.length-1&&d.jsx("span",{className:"text-muted-foreground mx-1.5",children:"·"})]},n))})}),d.jsx(Bo,{label:"GROWTH",field:"hiring_velocity + jobs_last_30d",children:d.jsxs("div",{className:"text-sm text-foreground",children:[d.jsxs("span",{className:`${r.accent} font-medium`,children:[r.arrow," ",r.label]}),d.jsx("span",{className:"text-muted-foreground mx-2",children:"·"}),d.jsx("span",{className:"font-mono-data",children:e.jobs_30d})," ",d.jsx("span",{className:"text-muted-foreground",children:"jobs last 30d"}),d.jsx("span",{className:"text-muted-foreground mx-2",children:"·"}),d.jsx("span",{className:"font-mono-data",children:e.total_jobs})," ",d.jsx("span",{className:"text-muted-foreground",children:"open"})]})})]})]})}function Bo({label:e,field:r,children:n}){return d.jsxs("div",{className:"px-6 py-4 grid grid-cols-[90px_1fr] gap-5 items-start",children:[d.jsxs("div",{children:[d.jsx("div",{className:"text-[10px] font-semibold tracking-[0.12em] text-muted-foreground",children:e}),d.jsx("div",{className:"text-[9px] font-mono-data text-accent/60 mt-1 leading-tight",children:r})]}),d.jsx("div",{className:"min-w-0",children:n})]})}const bF=[{tag:"ADOPTING",title:"Rollout in progress",copy:"Technologies the company is actively implementing, extracted from hiring language and stated project work."},{tag:"USING",title:"Core stack",copy:"Production technologies currently in use. The baseline reality of how the company operates."},{tag:"BUILDING",title:"Active initiatives",copy:"Named projects and product bets from current job descriptions. Where engineering budget is flowing."},{tag:"HIRING",title:"Leadership gaps",copy:"Open senior & strategic positions that indicate budget authority and organizational priorities."},{tag:"GROWTH",title:"Momentum score",copy:"Recent hiring velocity and 30-day activity. A live indicator of expansion vs steady-state."}];function xF(){return d.jsxs("section",{id:"anatomy",className:"relative overflow-hidden py-14 md:py-20",style:{background:"#FAFAF8"},children:[d.jsx("div",{"aria-hidden":!0,className:"absolute inset-0 opacity-[0.035]",style:{backgroundImage:"linear-gradient(oklch(0.42 0.03 280) 1px, transparent 1px), linear-gradient(90deg, oklch(0.42 0.03 280) 1px, transparent 1px)",backgroundSize:"56px 56px"}}),d.jsxs("div",{className:"container relative",children:[d.jsxs("div",{className:"mb-10 md:mb-14 max-w-3xl",children:[d.jsx("span",{className:"inline-block text-[11px] font-semibold tracking-[0.16em] text-accent font-mono-data mb-4",children:"ANATOMY"}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-[800] tracking-[-0.03em] mb-5 text-foreground leading-[1.08]",children:["Every company, in one frame.",d.jsx("br",{}),d.jsx("span",{className:"text-muted-foreground font-[600]",children:"An x-ray of what theyâre doing."})]}),d.jsx("p",{className:"text-lg text-muted-foreground",children:"A company profile is more than firmographics. Itâs their stack, their rollouts, their active projects, their leadership gaps, and their hiring momentum â all in one view."})]}),d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[minmax(0,1fr)_minmax(0,420px)] gap-10 lg:gap-16 items-start",children:[d.jsx("div",{children:d.jsx(yF,{name:"Ramp",domain:"ramp.com",industry:"Financial Services",location:"New York",size:"500-1K",tech_adopting:["Snowflake","dbt","Fivetran"],tech_using:["Python","AWS","Postgres","React","Go"],tech_replacing:["Airflow"],projects:["Real-time risk analytics platform","Unified metric layer migration"],notable_roles:["VP of Data","Staff ML Engineer","Platform Eng Lead"],hiring_velocity:"accelerating",jobs_30d:312,total_jobs:847})}),d.jsxs("div",{className:"space-y-6",children:[bF.map((e,r)=>d.jsxs("div",{className:"animate-fade-up border-l-2 border-accent/20 pl-5 hover:border-accent transition-colors",style:{animationDelay:`${200+r*100}ms`},children:[d.jsxs("div",{className:"flex items-baseline gap-3 mb-1.5",children:[d.jsx("span",{className:"text-[10px] font-semibold tracking-[0.16em] text-accent font-mono-data",children:e.tag}),d.jsx("span",{className:"text-[10px] font-mono-data text-muted-foreground
515/60",children:"â field"})]}),d.jsx("h3",{className:"text-base font-semibold text-foreground mb-1",children:e.title}),d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.copy})]},e.tag)),d.jsx("div",{className:"pt-4 border-t border-border",children:d.jsxs("p",{className:"text-xs text-muted-foreground font-mono-data",children:[d.jsx("span",{className:"text-foreground",children:"1M+"})," companies  · ",d.jsx("span",{className:"text-foreground",children:"440K+"})," tech stacks  · ",d.jsx("span",{className:"text-foreground",children:"updated daily"})]})})]})]})]})]})}const c3="#0B1220",_F=[{name:"Free",description:"Get started with basic search",price:"$0",features:["Unlimited filtered searches","First 40 companies per search","Full company profiles","No exports or saved lists"],cta:"Get started",href:"/app/search",popular:!1},{name:"Standard",description:"Full company intelligence access",price:"$79",period:"/month",features:["Full result depth â every matching company","Technology filters with adoption context","Growth, size, location, industry filters","Export to CSV â up to 10,000 companies/month","Save companies to lists","Priority support"],cta:"Upgrade now",href:"/auth?mode=signup&returnTo=%2Fapp%2Fbilling",popular:!0}],wF=["Bulk data feeds â CSV or JSON","Custom slices: displacement lists, ICP cuts","REST API for enrichment at scale","Licensing for resale and products","Direct line to the team"];function SF(){return d.jsxs("div",{className:"relative rounded-2xl p-8 flex flex-col",style:{background:c3,color:"#E6EDF7"},children:[d.jsxs("div",{className:"mb-8",children:[d.jsx("p",{className:"font-mono-data text-[11px] font-semibold uppercase tracking-[0.16em] mb-2",style:{color:"#8b93f8"},children:"Data & API"}),d.jsx("div",{className:"flex items-baseline gap-1 mb-2",children:d.jsx("span",{className:"text-5xl font-bold",style:{color:"#F5F7FB"},children:"Custom"})}),d.jsx("p",{className:"text-sm",style:{color:"rgba(230,237,247,0.55)"},children:"For data teams, GTM platforms, and vendors buying the dataset itself"})]}),d.jsx("ul",{className:"space-y-4 mb-8",children:wF.map(e=>d.jsxs("li",{className:"flex items-center gap-3",children:[d.jsx("div",{className:"w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(139,147,248,0.18)"},children:d.jsx(da,{className:"w-3 h-3",style:{color:"#8b93f8"}})}),d.jsx("span",{className:"text-sm",children:e})]},e))}),d.jsxs("div",{className:"mt-auto",children:[d.jsx(vt,{asChild:!0,className:"w-full font-semibold h-12 rounded-xl",style:{background:"#F5F7FB",color:c3},children:d.jsx("a",{href:"mailto:[email protected]?subject=Data%20%26%20API",children:"Talk to us"})}),d.jsxs("a",{href:"/developers",className:"mt-4 inline-flex items-center gap-1.5 text-sm font-medium hover:underline",style:{color:"#8b93f8"},children:["Explore the API",d.jsx(es,{className:"w-3.5 h-3.5",strokeWidth:2.5})]})]})]})}function EF(){const e=$r();return d.jsx("section",{id:"pricing",className:"py-14 md:py-20 relative overflow-hidden",children:d.jsxs("div",{className:"container relative",children:[d.jsxs("div",{className:"mb-10 md:mb-14 max-w-3xl",children:[d.jsx("span",{className:"inline-block text-[11px] font-semibold tracking-[0.16em] text-accent font-mono-data mb-3",children:"PRICING"}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-[2.75rem] font-[800] tracking-[-0.03em] mb-4 text-foreground leading-[1.06]",children:["Simple, transparent pricing.",d.jsx("br",{}),d.jsx("span",{className:"text-muted-foreground font-[600]",children:"Start free. Scale when ready."})]})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-6xl items-stretch",children:[_F.map(r=>d.jsxs("div",{className:"relative rounded-2xl p-8 transition-all duration-300 flex flex-col",style:r.popular?{background:"#18181B",color:"#FAFAF8"}:{background:"#FFFFFF",border:"1px solid #E5E5E5"},children:[d.jsxs("div",{className:"mb-8",children:[d.jsx("p",{className:"text-sm font-semibold uppercase tracking-wide mb-2",style:{color:r.popular?"rgba(250,250,248,0.5)":"#6B7280"},children:r.name}),d.jsxs("div",{className:"flex items-baseline gap-1 mb-2",children:[d.jsx("span",{className:"text-5xl font-bold",children:r.price}),r.period&&d.jsx("span",{className:"text-xl",style:{color:r.popular?"rgba(250,250,248,0.5)":"#6B7280"},children:r.period})]}),d.jsx("p",{className:"text-sm",style:{color:r.popular?"rgba(250,250,248,0.5)":"#6B7280"},children:r.description})]}),d.jsx("ul",{className:"space-y-4 mb-8",children:r.features.map((n,t)=>d.jsxs("li",{className:"flex items-center gap-3",children:[d.jsx("div",{className:"w-5 h-5 rounded-full flex items-center justify-center flex-shrink-0",style:{background:r.popular?"var(--accent)":"rgba(99,102,241,0.12)"},children:d.jsx(da,{className:"w-3 h-3",style:{color:r.popular?"#fff":"var(--accent)"}})}),d.jsx("span",{className:"text-sm",children:n})]},t))}),d.jsx(vt,{onClick:()=>e(r.href),className:"w-full font-semibold h-12 rounded-xl mt-auto",style:r.popular?{background:"var(--accent)",color:"#fff"}:{background:"#18181B",color:"#fff"},children:r.cta})]},r.name)),d.jsx(SF,{})]})]})})}function yy(e,r=[]){let n=[];function t(s,l){const u=N.createContext(l),f=n.length;n=[...n,l];const p=g=>{var S;const{scope:y,children:_,...w}=g,C=((S=y==null?void 0:y[e])==null?void 0:S[f])||u,x=N.useMemo(()=>w,Object.values(w));return d.jsx(C.Provider,{value:x,children:_})};p.displayName=s+"Provider";function m(g,y){var C;const _=((C=y==null?void 0:y[e])==null?void 0:C[f])||u,w=N.useContext(_);if(w)return w;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${s}\``)}return[p,m]}const a=()=>{const s=n.map(l=>N.createContext(l));return function(u){const f=(u==null?void 0:u[e])||s;return N.useMemo(()=>({[`__scope${e}`]:{...u,[e]:f}}),[u,f])}};return a.scopeName=e,[t,CF(a,...r)]}function CF(...e){const r=e[0];if(e.length===1)return r;const n=()=>{const t=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const l=t.reduce((u,{useScope:f,scopeName:p})=>{const g=f(s)[`__scope${p}`];return{...u,...g}},{});return N.useMemo(()=>({[`__scope${r.scopeName}`]:l}),[l])}};return n.scopeName=r.scopeName,n}function u3(e){const r=MF(e),n=N.forwardRef((t,a)=>{const{children:s,...l}=t,u=N.Children.toArray(s),f=u.find(NF);if(f){const p=f.props.children,m=u.map(g=>g===f?N.Children.count(p)>1?N.Children.only(null):N.isValidElement(p)?p.props.children:null:g);return d.jsx(r,{...l,ref:a,children:N.isValidElement(p)?N.cloneElement(p,void 0,m):null})}return d.jsx(r,{...l,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function MF(e){const r=N.forwardRef((n,t)=>{const{children:a,...s}=n;
vendor: 7,945 bytes, line 515
515if(N.isValidElement(a)){const l=AF(a),u=jF(s,a.props);return a.type!==N.Fragment&&(u.ref=t?f0(t,l):l),N.cloneElement(a,u)}return N.Children.count(a)>1?N.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var kF=Symbol("radix.slottable");function NF(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===kF}function jF(e,r){const n={...r};for(const t in r){const a=e[t],s=r[t];/^on[A-Z]/.test(t)?a&&s?n[t]=(...u)=>{const f=s(...u);return a(...u),f}:a&&(n[t]=a):t==="style"?n[t]={...a,...s}:t==="className"&&(n[t]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function AF(e){var t,a;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function RF(e){const r=e+"CollectionProvider",[n,t]=yy(r),[a,s]=n(r,{collectionRef:{current:null},itemMap:new Map}),l=C=>{const{scope:x,children:S}=C,k=ne.useRef(null),j=ne.useRef(new Map).current;return d.jsx(a,{scope:x,itemMap:j,collectionRef:k,children:S})};l.displayName=r;const u=e+"CollectionSlot",f=u3(u),p=ne.forwardRef((C,x)=>{const{scope:S,children:k}=C,j=s(u,S),O=vu(x,j.collectionRef);return d.jsx(f,{ref:O,children:k})});p.displayName=u;const m=e+"CollectionItemSlot",g="data-radix-collection-item",y=u3(m),_=ne.forwardRef((C,x)=>{const{scope:S,children:k,...j}=C,O=ne.useRef(null),$=vu(x,O),T=s(m,S);return ne.useEffect(()=>(T.itemMap.set(O,{ref:O,...j}),()=>void T.itemMap.delete(O))),d.jsx(y,{[g]:"",ref:$,children:k})});_.displayName=m;function w(C){const x=s(e+"CollectionConsumer",C);return ne.useCallback(()=>{const k=x.collectionRef.current;if(!k)return[];const j=Array.from(k.querySelectorAll(`[${g}]`));return Array.from(x.itemMap.values()).sort((T,D)=>j.indexOf(T.ref.current)-j.indexOf(D.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:l,Slot:p,ItemSlot:_},w,t]}function XE(e,r,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e==null||e(a),n===!1||!a.defaultPrevented)return r==null?void 0:r(a)}}var yu=globalThis!=null&&globalThis.document?N.useLayoutEffect:()=>{},OF=ev[" useInsertionEffect ".trim().toString()]||yu;function by({prop:e,defaultProp:r,onChange:n=()=>{},caller:t}){const[a,s,l]=TF({defaultProp:r,onChange:n}),u=e!==void 0,f=u?e:a;{const m=N.useRef(e!==void 0);N.useEffect(()=>{const g=m.current;g!==u&&console.warn(`${t} is changing from ${g?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=u},[u,t])}const p=N.useCallback(m=>{var g;if(u){const y=IF(m)?m(e):m;y!==e&&((g=l.current)==null||g.call(l,y))}else s(m)},[u,e,s,l]);return[f,p]}function TF({defaultProp:e,onChange:r}){const[n,t]=N.useState(e),a=N.useRef(n),s=N.useRef(r);return OF(()=>{s.current=r},[r]),N.useEffect(()=>{var l;a.current!==n&&((l=s.current)==null||l.call(s,n),a.current=n)},[n,a]),[n,t,s]}function IF(e){return typeof e=="function"}function LF(e){const r=$F(e),n=N.forwardRef((t,a)=>{const{children:s,...l}=t,u=N.Children.toArray(s),f=u.find(UF);if(f){const p=f.props.children,m=u.map(g=>g===f?N.Children.count(p)>1?N.Children.only(null):N.isValidElement(p)?p.props.children:null:g);return d.jsx(r,{...l,ref:a,children:N.isValidElement(p)?N.cloneElement(p,void 0,m):null})}return d.jsx(r,{...l,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}function $F(e){const r=N.forwardRef((n,t)=>{const{children:a,...s}=n;if(N.isValidElement(a)){const l=zF(a),u=PF(s,a.props);return a.type!==N.Fragment&&(u.ref=t?f0(t,l):l),N.cloneElement(a,u)}return N.Children.count(a)>1?N.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var DF=Symbol("radix.slottable");function UF(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DF}function PF(e,r){const n={...r};for(const t in r){const a=e[t],s=r[t];/^on[A-Z]/.test(t)?a&&s?n[t]=(...u)=>{const f=s(...u);return a(...u),f}:a&&(n[t]=a):t==="style"?n[t]={...a,...s}:t==="className"&&(n[t]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function zF(e){var t,a;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var BF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Nu=BF.reduce((e,r)=>{const n=LF(`Primitive.${r}`),t=N.forwardRef((a,s)=>{const{asChild:l,...u}=a,f=l?n:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(f,{...u,ref:s})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{});function FF(e,r){return N.useReducer((n,t)=>r[n][t]??n,e)}var QE=e=>{const{present:r,children:n}=e,t=qF(r),a=typeof n=="function"?n({present:t.isPresent}):N.Children.only(n),s=vu(t.ref,HF(a));return typeof n=="function"||t.isPresent?N.cloneElement(a,{ref:s}):null};QE.displayName="Presence";function qF(e){const[r,n]=N.useState(),t=N.useRef(null),a=N.useRef(e),s=N.useRef("none"),l=e?"mounted":"unmounted",[u,f]=FF(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const p=$f(t.current);s.current=u==="mounted"?p:"none"},[u]),yu(()=>{const p=t.current,m=a.current;if(m!==e){const y=s.current,_=$f(p);e?f("MOUNT"):_==="none"||(p==null?void 0:p.display)==="none"?f("UNMOUNT"):f(m&&y!==_?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,f]),yu(()=>{if(r){let p;const m=r.ownerDocument.defaultView??window,g=_=>{const C=$f(t.current).includes(CSS.escape(_.animationName));if(_.target===r&&C&&(f("ANIMATION_END"),!a.current)){const x=r.style.animationFillMode;r.style.animationFillMode="forwards",p=m.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=x)})}},y=_=>{_.target===r&&(s.current=$f(t.current))};return r.addEventListener("animationstart",y),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{m.clearTimeout(p),r.removeEventListener("animationstart",y),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else f("ANIMATION_END")},[r,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:N.useCallback(p=>{t.current=p?getComputedStyle(p):null,n(p)},[])}}function $f(e){return(e==null?void 0:e.animationName)||"none"}function HF(e){var t,a;let r=(t=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:t.get,n=r&&"isReactWarning"in r&&r.isReactWarning;return n?e.ref:(r=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=r&&"isReactWarning"in r&&r.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var GF=ev[" useId ".trim().toString()]||(()=>{}),VF=0;function ZE(e){const[r,n]=N.useState(GF());return yu(()=>{n(t=>t??String(VF++))},[e]),r?`radix-${r}`:""}var m0="Collapsible",[YF,e8]=yy(m0),[KF,xy]=YF(m0),t8=N.forwardRef((e,r)=>{const{__scopeCollapsible:n,open:t,defaultOpen:a,disabled:s,onOpenChange:l,...u}=e,[f,p]=by({prop:t,defaultProp:a??!1,onChange:l,caller:m0});return d.jsx(KF,{scope:n,disabled:s,contentId:ZE(),open:f,onOpenToggle:N.useCallback(()=>p(m=>!m),[p]),children:d.jsx(Nu.div,{"data-state":wy(f),"data-disabled":s?"":void 0,...u,ref:r})})});t8.displayName=m0;var r8="CollapsibleTrigger",n8=N.forwardRef((e,r)=>{const{__scopeCollapsible:n,...t}=e,a=xy(r8,n);return d.jsx(Nu.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":wy(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...t,ref:r,onClick:XE(e.onClick,a.onOpenToggle)})});n8.displayName=r8;
515var _y="CollapsibleContent",a8=N.forwardRef((e,r)=>{const{forceMount:n,...t}=e,a=xy(_y,e.__scopeCollapsible);return d.jsx(QE,{present:n||a.open,children:({present:s})=>d.jsx(WF,{...t,ref:r,present:s})})});a8.displayName=_y;var WF=N.forwardRef((e,r)=>{const{__scopeCollapsible:n,present:t,children:a,...s}=e,l=xy(_y,n),[u,f]=N.useState(t),p=N.useRef(null),m=vu(r,p),g=N.useRef(0),y=g.current,_=N.useRef(0),w=_.current,C=l.open||u,x=N.useRef(C),S=N.useRef(void 0);return N.useEffect(()=>{const k=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(k)},[]),yu(()=>{const k=p.current;if(k){S.current=S.current||{transitionDuration:k.style.transitionDuration,animationName:k.style.animationName},k.style.transitionDuration="0s",k.style.animationName="none";const j=k.getBoundingClientRect();g.current=j.height,_.current=j.width,x.current||(k.style.transitionDuration=S.current.transitionDuration,k.style.animationName=S.current.animationName),f(t)}},[l.open,t]),d.jsx(Nu.div,{"data-state":wy(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!C,...s,ref:m,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:C&&a})});function wy(e){return e?"open":"closed"}var JF=t8,XF=n8,QF=a8,ZF=N.createContext(void 0);function eq(e){const r=N.useContext(ZF);return e||r||"ltr"}var va="Accordion",tq=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Sy,rq,nq]=RF(va),[g0]=yy(va,[nq,e8]),Ey=e8(),i8=ne.forwardRef((e,r)=>{const{type:n,...t}=e,a=t,s=t;return d.jsx(Sy.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?d.jsx(oq,{...s,ref:r}):d.jsx(sq,{...a,ref:r})})});i8.displayName=va;var[s8,aq]=g0(va),[o8,iq]=g0(va,{collapsible:!1}),sq=ne.forwardRef((e,r)=>{const{value:n,defaultValue:t,onValueChange:a=()=>{},collapsible:s=!1,...l}=e,[u,f]=by({prop:n,defaultProp:t??"",onChange:a,caller:va});return d.jsx(s8,{scope:e.__scopeAccordion,value:ne.useMemo(()=>u?[u]:[],[u]),onItemOpen:f,onItemClose:ne.useCallback(()=>s&&f(""),[s,f]),children:d.jsx(o8,{scope:e.__scopeAccordion,collapsible:s,children:d.jsx(l8,{...l,ref:r})})})}),oq=ne.forwardRef((e,r)=>{const{value:n,defaultValue:t,onValueChange:a=()=>{},...s}=e,[l,u]=by({prop:n,defaultProp:t??[],onChange:a,caller:va}),f=ne.useCallback(m=>u((g=[])=>[...g,m]),[u]),p=ne.useCallback(m=>u((g=[])=>g.filter(y=>y!==m)),[u]);return d.jsx(s8,{scope:e.__scopeAccordion,value:l,onItemOpen:f,onItemClose:p,children:d.jsx(o8,{scope:e.__scopeAccordion,collapsible:!0,children:d.jsx(l8,{...s,ref:r})})})}),[lq,v0]=g0(va),l8=ne.forwardRef((e,r)=>{const{__scopeAccordion:n,disabled:t,dir:a,orientation:s="vertical",...l}=e,u=ne.useRef(null),f=vu(u,r),p=rq(n),g=eq(a)==="ltr",y=XE(e.onKeyDown,_=>{var z;if(!tq.includes(_.key))return;const w=_.target,C=p().filter(J=>{var de;return!((de=J.ref.current)!=null&&de.disabled)}),x=C.findIndex(J=>J.ref.current===w),S=C.length;if(x===-1)return;_.preventDefault();let k=x;const j=0,O=S-1,$=()=>{k=x+1,k>O&&(k=j)},T=()=>{k=x-1,k<j&&(k=O)};switch(_.key){case"Home":k=j;break;case"End":k=O;break;case"ArrowRight":s==="horizontal"&&(g?$():T());break;case"ArrowDown":s==="vertical"&&$();break;case"ArrowLeft":s==="horizontal"&&(g?T():$());break;case"ArrowUp":s==="vertical"&&T();break}const D=k%S;(z=C[D].ref.current)==null||z.focus()});return d.jsx(lq,{scope:n,disabled:t,direction:a,orientation:s,children:d.jsx(Sy.Slot,{scope:n,children:d.jsx(Nu.div,{...l,"data-orientation":s,ref:f,onKeyDown:t?void 0:y})})})}),$h="AccordionItem",[cq,Cy]=g0($h),c8=ne.forwardRef((e,r)=>{const{__scopeAccordion:n,value:t,...a}=e,s=v0($h,n),l=aq($h,n),u=Ey(n),f=ZE(),p=t&&l.value.includes(t)||!1,m=s.disabled||e.disabled;return d.jsx(cq,{scope:n,open:p,disabled:m,triggerId:f,children:d.jsx(JF,{"data-orientation":s.orientation,"data-state":m8(p),...u,...a,ref:r,disabled:m,open:p,onOpenChange:g=>{g?l.onItemOpen(t):l.onItemClose(t)}})})});c8.displayName=$h;var u8="AccordionHeader",d8=ne.forwardRef((e,r)=>{const{__scopeAccordion:n,...t}=e,a=v0(va,n),s=Cy(u8,n);return d.jsx(Nu.h3,{"data-orientation":a.orientation,"data-state":m8(s.open),"data-disabled":s.disabled?"":void 0,...t,ref:r})});d8.displayName=u8;var Qg="AccordionTrigger",f8=ne.forwardRef((e,r)=>{const{__scopeAccordion:n,...t}=e,a=v0(va,n),s=Cy(Qg,n),l=iq(Qg,n),u=Ey(n);return d.jsx(Sy.ItemSlot,{scope:n,children:d.jsx(XF,{"aria-disabled":s.open&&!l.collapsible||void 0,"data-orientation":a.orientation,id:s.triggerId,...u,...t,ref:r})})});f8.displayName=Qg;var h8="AccordionContent",p8=ne.forwardRef((e,r)=>{const{__scopeAccordion:n,...t}=e,a=v0(va,n),s=Cy(h8,n),l=Ey(n);return d.jsx(QF,{role:"region","aria-labelledby":s.triggerId,"data-orientation":a.orientation,...l,...t,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});p8.displayName=h8;function m8(e){return e?"open":"closed"}var uq=i8,dq=c8,fq=d8,hq=f8,pq=p8;function mq({...e}){return d.jsx(uq,{"data-slot":"accordion",...e})}function gq({className:e,...r}){return d.jsx(dq,{"data-slot":"accordion-item",className:St("border-b last:border-b-0",e),...r})}function vq({className:e,children:r,...n}){return d.jsx(fq,{className:"flex",children:d.jsxs(hq,{"data-slot":"accordion-trigger",className:St("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 roun
515ded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...n,children:[r,d.jsx(qE,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function yq({className:e,children:r,...n}){return d.jsx(pq,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...n,children:d.jsx("div",{className:St("pt-0 pb-4",e),children:r})})}const bq=[{question:"What is echoloc?",answer:"A company intelligence platform. Filter 1M+ companies by the technologies they use â 440K+ with full extracted tech stacks â with adoption context (adopting, replacing, evaluating), hiring velocity, industry, size, and location. Built on live hiring activity, not stale firmographic lists."},{question:"How is this different from technographics?",answer:"Technographics tell you what a company already uses. echoloc adds context: whether theyâre adopting, replacing, or evaluating â plus active projects and hiring velocity. You see intent, not just state."},{question:"How fresh is the data?",answer:"Company profiles are refreshed daily from live hiring activity across thousands of sources. Each profile carries a last-updated timestamp."},{question:"Can I export results?",answer:"Yes on paid plans â full profiles to CSV including tech stack, adoption context, pain points, projects, and growth signals. Up to 10,000 companies per month. Need a bigger cut? Write to [email protected]."},{question:"Do I need to know exact technology names?",answer:"Start typing and the filter suggests from a live catalog of 3,000+ technologies with company counts â pick one and combine it with signal, industry, size, or location filters. No query syntax to learn."},{question:"What makes echoloc different from other tools?",answer:"Most tools tell you who a company is. echoloc tells you what theyâre actively doing â what theyâre rolling out, which platforms theyâre replacing, and where budget is flowing right now."}];function xq(){return d.jsx("section",{id:"faq",className:"py-14 md:py-20 relative overflow-hidden",children:d.jsx("div",{className:"container relative",children:d.jsxs("div",{className:"max-w-3xl",children:[d.jsxs("div",{className:"mb-10 md:mb-12",children:[d.jsxs("span",{className:"inline-flex items-center gap-2 text-[11px] font-semibold tracking-[0.16em] text-accent font-mono-data mb-3",children:[d.jsx(Az,{className:"w-3.5 h-3.5"}),"FAQ"]}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-[2.5rem] font-[800] tracking-[-0.03em] text-foreground leading-[1.08]",children:"Frequently asked questions"})]}),d.jsx(mq,{type:"single",collapsible:!0,className:"w-full space-y-3",children:bq.map((e,r)=>d.jsxs(gq,{value:`item-${r}`,className:"rounded-xl px-6 transition-colors",style:{border:"1px solid #E5E5E5"},children:[d.jsx(vq,{className:"text-left font-semibold text-lg py-6 hover:no-underline",style:{color:"#18181B"},children:e.question}),d.jsx(yq,{className:"text-base leading-relaxed pb-6",style:{color:"#6B7280"},children:e.answer})]},r))})]})})})}function _q(){return d.jsx("section",{className:"py-16 md:py-24 relative overflow-hidden",style:{background:"linear-gradient(180deg, #18181B 0%, #1a1a2e 100%)",color:"#F5F5F3"},children:d.jsx("div",{className:"container relative",children:d.jsxs("div",{className:"flex flex-col items-center text-center max-w-4xl mx-auto",children:[d.jsxs("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 text-white",children:["They already told you",d.jsx("br",{}),"what they need"]}),d.jsx("p",{className:"text-xl mb-10 max-w-2xl",style:{color:"rgba(255,255,255,0.5)"},children:"Itâs sitting in their job posts. Filter the confessions, check the evidence, export the list â before anyone else reads them."}),d.jsx(vt,{size:"lg",className:"px-10 h-14 text-lg font-semibold rounded-xl shadow-lg transition-all hover:scale-[1.02]",style:{background:"var(--accent)",color:"#fff"},asChild:!0,children:d.jsxs(oi,{to:"/app/search",children:["Try it free",d.jsx(es,{className:"w-5 h-5 ml-2"})]})}),d.jsx("p",{className:"text-sm mt-6",style:{color:"rgba(255,255,255,0.35)"},children:"No credit card required"})]})})})}function wq(){const e=$r(),{user:r}=Lr(),n=N.useRef((()=>{const t=window.location.hash,a=new URLSearchParams(window.location.search).has("code");return{isAuth:/access_token=|refresh_token=/.test(t)||a,isRecovery:/type=recovery/.test(t)}})());return N.useEffect(()=>{if(n.current.isRecovery){e("/auth?mode=reset_password",{replace:!0});return}n.current.isAuth&&r&&e("/app/search",{replace:!0})},[r,e]),d.jsxs(d.Fragment,{children:[d.jsx(rF,{}),d.jsx(sF,{}),d.jsx(pF,{}),d.jsx(xF,{}),d.jsx(gF,{}),d.jsx(EF,{}),d.jsx(xq,{}),d.jsx(_q,{})]})}function g8({currentPage:e,totalPages:r,onPageChange:n,className:t=""}){if(r<=1)return null;const s=(()=>{const u=[];u.push(1);const f=Math.max(2,e-1),p=Math.min(r-1,e+1);f>2&&u.push("ellipsis");for(let m=f;m<=p;m++)u.push(m);return p<r-1&&u.push("ellipsis"),r>1&&u.push(r),u})();return d.jsxs("div",{className:`flex items-center justify-center gap-1 ${t}`,children:[d.jsx(vt,{variant:"ghost",size:"sm",onClick:()=>n(e-1),disabled:e===1,className:"h-9 w-9 p-0",children:d.jsx(Mz,{className:"h-4 w-4"})}),s.map((l,u)=>{if(l==="ellipsis")return d.jsx("span",{className:"px-2 text-muted-foreground",children:"â¦"},`ellipsis-${u}`);const f=l===e;return d.jsx(vt,{variant:f?"default":"ghost",size:"sm",onClick:()=>n(l),className:`h-9 w-9 p-0 ${f?"bg-accent text-white hover:bg-accent/90":"text-muted-foreground hover:text-foreground"}`,children:l},l)}),d.jsx(vt,{variant:"ghost",size:"sm",onClick:()=>n(e+1),disabled:e===r,className:"h-9 w-9 p-0",children:d.jsx(fy,{className:"h-4 w-4"})})]})}const d3={accelerating:{icon:vy,label:"Accelerating",className:"text-green-600 bg-green-50"},steady:{icon:o3,label:"Steady",className:"text-blue-600 bg-blue-50"},decelerating:{icon:bB,label:"Decelerating",className:"text-orange-600 bg-orange-50"},minimal:{icon:o3,label:"Minimal",className:"text-gray-500 bg-gray-50"}};function Sq({velocity:e,jobs:r,jobs30d:n}){const t=d3[e||""]||d3.minimal,a=t.icon;return d.jsxs("div",{className:"flex flex-col items-start gap-0.5",children:[d.jsxs("span",{className:St("inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-xs font-medium",t.className),children:[d.jsx(a,{className:"w-3 h-3"}),t.label]}),d.jsxs("span",{className:"text-xs text-muted-foreground",children:[r," jobs",n>0&&d.jsxs("span",{className:"text-foreground",children:[" · ",n," new"]})]})]})}function Eq({logo:e,name:r,size:n="md"}){const[t,a]=N.useState(!1),s=n==="lg"?"w-12 h-12 rounded-lg text-lg":"w-8 h-8 rounded text-sm";return!e||t?d.jsx("div",{className:St("bg-accent/10 flex items-center justify-center text-accent font-bold flex-shrink-0",s),children:r.charAt(0).toUpperCase()}):d.jsx("img",{src:e,alt:"",className:St("bg-muted flex-shrink-0 object-contain",s),onError:()=>a(!0)})}const f3={adopting:"bg-green-50 text-green-700 border-green-200",replacing:"bg-orange-50 text-orange-700 border-orange-200",evaluating:"bg-blue-50 text-blue-700 border-blue-200",using:"bg-muted/50 text-foreground border-border"};function Cq({label:e,tech:r}){const n=f3[e.toLowerCase()]||f3.using;return d.jsxs("span",{className:St("inline-flex items-center gap-1 px-1.5 py-0.5 rounded border text-[11px] leading-tight",n),title:`${e}: ${r}`,children:[d.jsx("span",{className:"opacity-60 capitalize",children:e}),d.jsx("span",{className:"font-medium",children:r})]})}function Mq({highlights:e}){if(!e.length)return d.jsx("span",{className:"text-muted-foreground text-xs italic",children:"â"});const r=[],n=[];for(const t of e)if(t.type==="technology")for(const a of t.content.split(" · ")){const s=a.indexOf(": ");s!==-1&&r.push(d.jsx(Cq,{label:a.slice(0,s),tech:a.slice(s+2)},`t-${r.length}`))}else t.type==="role"?r.push(d.jsx("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded border border-accent/20 bg-accent/5 text-accent text-[11px] leading-tight font-medium",title:t.content,children:t.content},`r-${r.length}`)):n.push(t.content);return d.jsxs("div",{className:"space-y-1",children:[r.length>0&&d.jsx("div",{className:"flex flex-wrap gap-1",children:r.slice(0,6)}),n.slice(0,2).map((t,a)=>d.jsx("div",{className:"text-xs text-muted-foreground line-clamp-2",title:t,children:t},`tx-${a}`))]})}function kq(e,r){return!e&&!r?"â":e&&r?r>=1e4?`${(e/1e3).toFixed(0)}K+`:r>=1e3?`${(e/1e3).toFixed(0)}K-${(r/1e3).toFixed(0)}K`:`${e}-${r}`:e&&e>=1e3?`${(e/1e3).toFixed(0)}K+`:e?`${e}+`:`â¤${r}`}function Nq({results:e,lockedCount:r=0,totalCount:n,selectedIds:t=new Set,onSelectionChange:a,onSaveCompany:s,onRowClick:l,selectAll:u,onSelectAll:f,onDeselectAll:p,sortBy:m,sortDirection:g,onSortChange:y}){const[_,w]=N.useState(null),C=e,x=new Set(C.map(D=>D.company_id)),S=x.size>0&&[...x].every(D=>t.has(D)),k=[...x].some(D=>t.has(D)),j=()=>{u?(p==null||p(),a==null||a(new Set)):f==null||f()},O=D=>{const z=new Set(t);z.has(D)?z.delete(D):z.add(D),a==null||a(z)},$=D=>{m===D?y==null||y(D,g==="desc"?"asc":"desc"):y==null||y(D,"desc")},T=({field:D})=>m!==D?d.jsx(hz,{className:"w-3 h-3 opacity-40"}):g==="desc"?d.jsx(lz,{className:"w-3 h-3 text-accent"}):d.jsx(vz,{className:"w-3 h-3 text-accent"});return d.jsxs("div",{className:"w-full overflow-x-auto",children:[(u||k)&&d.jsx("div",{className:"text-xs text-muted-foreground mb-1.5 px-1",children:u?d.jsxs("span",{children:["All ",d.jsx("span",{className:"font-medium text-foreground",children:n.toLocaleStr
515ing()})," companies selected."," ",d.jsx("button",{onClick:()=>{p==null||p(),a==null||a(new Set)},className:"text-accent hover:underline",children:"Clear selection"})]}):d.jsxs("span",{children:[d.jsx("span",{className:"font-medium text-foreground",children:t.size})," selected."," ",d.jsxs("button",{onClick:()=>f==null?void 0:f(),className:"text-accent hover:underline",children:["Select all ",n.toLocaleString()]})]})}),d.jsxs("table",{className:"w-full text-sm table-fixed",style:{minWidth:"800px"},children:[d.jsxs("colgroup",{children:[d.jsx("col",{style:{width:"3%"}}),d.jsx("col",{style:{width:"33%"}}),d.jsx("col",{style:{width:"20%"}}),d.jsx("col",{style:{width:"14%"}}),d.jsx("col",{style:{width:"19%"}}),d.jsx("col",{style:{width:"7%"}}),d.jsx("col",{style:{width:"4%"}})]}),d.jsx("thead",{children:d.jsxs("tr",{className:"border-b border-border",children:[d.jsx("th",{className:"py-3 px-2 text-left",children:d.jsx("input",{type:"checkbox",checked:u||S,ref:D=>{D&&(D.indeterminate=k&&!S&&!u)},onChange:j,className:"w-4 h-4 rounded border-border accent-accent"})}),d.jsx("th",{className:"py-3 px-2 text-left text-xs font-medium text-muted-foreground tracking-wide",children:"Company"}),d.jsx("th",{className:"py-3 px-2 text-left text-xs font-medium text-muted-foreground tracking-wide",children:"Match"}),d.jsx("th",{className:"py-3 px-2 text-left text-xs font-medium text-muted-foreground tracking-wide",children:d.jsxs("button",{onClick:()=>$("total_active_jobs"),className:"flex items-center gap-1 hover:text-foreground",children:["Growth ",d.jsx(T,{field:"total_active_jobs"})]})}),d.jsx("th",{className:"py-3 px-2 text-left text-xs font-medium text-muted-foreground tracking-wide",children:"Location"}),d.jsx("th",{className:"py-3 px-2 text-left text-xs font-medium text-muted-foreground tracking-wide",children:d.jsxs("button",{onClick:()=>$("employees"),className:"flex items-center gap-1 hover:text-foreground",children:["Size ",d.jsx(T,{field:"employees"})]})}),d.jsx("th",{className:"py-3 px-2"})]})}),d.jsxs("tbody",{children:[C.map(D=>{const z=t.has(D.company_id)||u,J=_===D.company_id,de=[D.city,D.country].filter(Boolean).join(", ");return d.jsxs("tr",{className:St("border-b border-border/50 transition-colors cursor-pointer",z?"bg-accent/5":"hover:bg-muted/30"),onClick:()=>l==null?void 0:l(D),onMouseEnter:()=>w(D.company_id),onMouseLeave:()=>w(null),children:[d.jsx("td",{className:"py-3 px-2",onClick:pe=>pe.stopPropagation(),children:d.jsx("input",{type:"checkbox",checked:z,onChange:()=>O(D.company_id),onClick:pe=>pe.stopPropagation(),className:"w-4 h-4 rounded border-border accent-accent"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsxs("div",{className:"flex items-center gap-2.5",children:[d.jsx(Eq,{logo:D.logo,name:D.name}),d.jsxs("div",{className:"min-w-0 flex-1",children:[d.jsxs("div",{className:"flex items-center gap-1.5 min-w-0",children:[d.jsx("span",{className:"font-medium text-foreground truncate min-w-0",title:D.name,children:D.name}),D.domain&&d.jsx("a",{href:`https://${D.domain}`,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground/40 hover:text-foreground transition-colors flex-shrink-0",title:"Website",children:d.jsx(my,{className:"w-3 h-3"})}),D.linkedin_url&&d.jsx("a",{href:D.linkedin_url,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground/40 hover:text-[#0A66C2] transition-colors flex-shrink-0",title:"LinkedIn",children:d.jsx(p0,{className:"w-3 h-3"})})]}),d.jsxs("div",{className:"text-xs text-muted-foreground truncate",children:[D.domain,D.industry&&d.jsxs("span",{className:"ml-1.5 text-muted-foreground/60",children:["· ",D.industry]})]})]})]})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx(Mq,{highlights:D.match_highlights})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx(Sq,{velocity:D.hiring_velocity,jobs:D.total_active_jobs,jobs30d:D.jobs_last_30d})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("span",{className:"text-muted-foreground text-sm",children:de||"â"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("span",{className:"text-muted-foreground text-sm",children:kq(D.employees_range_min,D.employees_range_max)})}),d.jsx("td",{className:"py-3 px-2",onClick:pe=>pe.stopPropagation(),children:J&&s&&d.jsx("button",{onClick:pe=>{pe.stopPropagation(),s(D)},className:"text-muted-foreground hover:text-accent transition-colors",title:"Save company",children:d.jsx(ku,{className:"w-4 h-4"})})})]},D.company_id)}),r>0&&d.jsxs(d.Fragment,{children:[d.jsx("tr",{children:d.jsxs("td",{colSpan:7,className:"py-3 px-4 bg-muted/30 text-center text-sm text-muted-foreground",children:[n.toLocaleStr
515ing()," companies match your filters â the free plan shows the first 40. ",d.jsx("span",{className:"text-accent font-medium",children:"Upgrade to see all."})]})}),Array.from({length:Math.min(r,5)}).map((D,z)=>d.jsxs("tr",{className:"border-b border-border/50 select-none","aria-hidden":!0,children:[d.jsx("td",{className:"py-3 px-2",children:d.jsx("input",{type:"checkbox",disabled:!0,className:"w-4 h-4 opacity-30"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsxs("div",{className:"flex items-center gap-2.5",children:[d.jsx("div",{className:"w-8 h-8 rounded bg-muted/60"}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx("div",{className:"h-3 rounded bg-muted/60",style:{width:`${110+z*37%60}px`}}),d.jsx("div",{className:"h-2.5 rounded bg-muted/40",style:{width:`${80+z*23%50}px`}})]})]})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("div",{className:"h-4 w-24 rounded bg-muted/50"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("div",{className:"h-4 w-16 rounded bg-muted/50"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("div",{className:"h-3 w-20 rounded bg-muted/40"})}),d.jsx("td",{className:"py-3 px-2",children:d.jsx("div",{className:"h-3 w-8 rounded bg-muted/40"})}),d.jsx("td",{className:"py-3 px-2"})]},`locked-${z}`))]})]})]}),e.length===0&&r===0&&d.jsxs("div",{className:"py-16 text-center",children:[d.jsx("p",{className:"text-muted-foreground text-lg mb-2",children:"No companies found"}),d.jsx("p",{className:"text-muted-foreground/60 text-sm",children:"Try removing or broadening a filter"})]})]})}function jq({logo:e,name:r}){const[n,t]=N.useState(!1);return!e||n?d.jsx("div",{className:"w-12 h-12 rounded-lg bg-accent/10 flex items-center justify-center text-accent font-bold text-lg flex-shrink-0",children:r.charAt(0).toUpperCase()}):d.jsx("img",{src:e,alt:"",className:"w-12 h-12 rounded-lg bg-muted object-contain flex-shrink-0",onError:()=>t(!0)})}function Aq(e,r){return!e&&!r?"â":e&&r?r>=1e4?`${(e/1e3).toFixed(0)}K+`:r>=1e3?`${e.toLocaleString()}-${r.toLocaleString()}`:`${e}-${r}`:e?`${e.toLocaleString()}+`:`â¤${r==null?void 0:r.toLocaleString()}`}const h3={accelerating:"text-green-700 bg-green-50",steady:"text-blue-700 bg-blue-50",decelerating:"text-orange-700 bg-orange-50",minimal:"text-gray-600 bg-gray-50"};function Fo({title:e,icon:r,children:n}){return d.jsxs("div",{className:"py-4 border-b border-border last:border-0",children:[d.jsxs("h3",{className:"flex items-center gap-2 text-sm font-semibold text-foreground mb-3",children:[d.jsx(r,{className:"w-4 h-4 text-muted-foreground"}),e]}),n]})}function Rq({name:e,count:r,context:n}){const t={adopting:"border-green-300 bg-green-50 text-green-800",replacing:"border-orange-300 bg-orange-50 text-orange-800",evaluating:"border-blue-300 bg-blue-50 text-blue-800"},a=n&&t[n]?t[n]:"border-border bg-muted/50 text-foreground";return d.jsxs("span",{className:St("inline-flex items-center gap-1 px-2 py-0.5 rounded-md border text-xs",a),children:[e,r!=null&&r>1&&d.jsxs("span",{className:"text-[10px] opacity-60",children:["(",r,")"]})]})}function Oq({result:e,isOpen:r,onClose:n}){var y,_,w,C;if(N.useEffect(()=>{if(!r)return;const x=S=>{S.key==="Escape"&&n()};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[r,n]),!r||!e)return null;const t=[e.city,e.country].filter(Boolean).join(", "),a=e.technologies||[],s=a.slice(0,20),l=new Set((e.tech_adopting||[]).map(x=>x.toLowerCase())),u=new Set((e.tech_replacing||[]).map(x=>x.toLowerCase())),f=new Set((e.tech_evaluating||[]).map(x=>x.toLowerCase())),p=x=>{const S=x.toLowerCase();if(l.has(S))return"adopting";if(u.has(S))return"replacing";if(f.has(S))return"evaluating"},m=Object.entries(e.departments||{}).map(([x,S])=>({name:x,count:parseInt(S,10)||0})).sort((x,S)=>S.count-x.count),g=((y=m[0])==null?void 0:y.count)||1;return d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"fixed inset-0 z-50 bg-black/30 backdrop-blur-[2px]",onClick:n}),d.jsxs("div",{className:"fixed right-0 top-0 bottom-0 z-50 w-full max-w-2xl bg-background border-l border-border shadow-2xl overflow-y-auto animate-in slide-in-from-right duration-200",children:[d.jsxs("div",{className:"sticky top-0 bg-background/95 backdrop-blur-sm border-b border-border px-6 py-4 flex items-start gap-4",children:[d.jsx(jq,{logo:e.logo,name:e.name}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("h2",{className:"text-lg font-bold text-foreground truncate",children:e.name}),d.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground flex-wrap",children:[e.domain&&d.jsx("span",{children:e.domain}),e.industry&&d.jsxs("span",{children:["· ",e.industry]}),t&&d.jsxs("span",{className:"inline-flex items-center gap-1",children:["· ",d.jsx(rB,{className:"w-3 h-3"})," ",t]}),e.company_type&&d.jsxs("span",{children:["· ",e.company_type]})]}),d.jsxs("div",{className:"flex items-center gap-3 mt-1.5",children:[e.domain&&d.jsxs("a",{href:`https://${e.domain}`,target:"_blank",rel:"noopener noreferrer",onClick:()=>at.track("Company Link Click",{type:"website",company:e.name,company_id:e.company_id,domain:e.domain}),className:"inline-flex items-center gap-1 text-xs text-accent hover:underline",children:[d.jsx(my,{
515className:"w-3 h-3"})," Website"]}),e.linkedin_url&&d.jsxs("a",{href:e.linkedin_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>at.track("Company Link Click",{type:"linkedin",company:e.name,company_id:e.company_id,linkedin_url:e.linkedin_url}),className:"inline-flex items-center gap-1 text-xs text-[#0A66C2] hover:underline",children:[d.jsx(p0,{className:"w-3 h-3"})," LinkedIn"]})]})]}),d.jsx("button",{onClick:n,className:"p-1.5 rounded-lg hover:bg-muted/50 text-muted-foreground",children:d.jsx(Ir,{className:"w-5 h-5"})})]}),d.jsxs("div",{className:"px-6",children:[d.jsxs("div",{className:"grid grid-cols-4 gap-3 py-4 border-b border-border",children:[d.jsxs("div",{className:"text-center",children:[d.jsx("div",{className:"text-lg font-bold text-foreground",children:e.total_active_jobs}),d.jsx("div",{className:"text-[10px] text-muted-foreground uppercase tracking-wider",children:"Jobs"})]}),d.jsxs("div",{className:"text-center",children:[d.jsx("div",{className:"text-lg font-bold text-foreground",children:e.jobs_last_30d}),d.jsx("div",{className:"text-[10px] text-muted-foreground uppercase tracking-wider",children:"New/mo"})]}),d.jsxs("div",{className:"text-center",children:[d.jsx("div",{className:"text-lg font-bold text-foreground",children:Aq(e.employees_range_min,e.employees_range_max)}),d.jsx("div",{className:"text-[10px] text-muted-foreground uppercase tracking-wider",children:"Size"})]}),d.jsxs("div",{className:"text-center",children:[d.jsx("span",{className:St("inline-block px-2 py-0.5 rounded text-xs font-medium capitalize",h3[e.hiring_velocity||""]||h3.minimal),children:e.hiring_velocity||"minimal"}),d.jsx("div",{className:"text-[10px] text-muted-foreground uppercase tracking-wider mt-0.5",children:"Growth"})]})]}),e.short_description&&d.jsx(Fo,{title:"About",icon:wz,children:d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.short_description})}),s.length>0&&d.jsxs(Fo,{title:"Technology Stack",icon:s3,children:[d.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[s.map(([x,S])=>d.jsx(Rq,{name:x,count:S,context:p(x)},x)),a.length>20&&d.jsxs("span",{className:"text-xs text-muted-foreground self-center ml-1",children:["+",a.length-20," more"]})]}),d.jsxs("div",{className:"flex gap-3 mt-3 text-[10px] text-muted-foreground",children:[d.jsxs("span",{className:"flex items-center gap-1",children:[d.jsx("span",{className:"w-2 h-2 rounded bg-green-300"})," Adopting"]}),d.jsxs("span",{className:"flex items-center gap-1",children:[d.jsx("span",{className:"w-2 h-2 rounded bg-orange-300"})," Replacing"]}),d.jsxs("span",{className:"flex items-center gap-1",children:[d.jsx("span",{className:"w-2 h-2 rounded bg-blue-300"})," Evaluating"]}),d.jsxs("span",{className:"flex items-center gap-1",children:[d.jsx("span",{className:"w-2 h-2 rounded bg-border"})," Using"]})]})]}),m.length>0&&d.jsx(Fo,{title:"Hiring by Department",icon:EB,children:d.jsx("div",{className:"space-y-1.5",children:m.slice(0,8).map(({name:x,count:S})=>d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("span",{className:"text-xs text-muted-foreground w-24 truncate capitalize",children:x}),d.jsx("div",{className:"flex-1 h-4 bg-muted/30 rounded-sm overflow-hidden",children:d.jsx("div",{className:"h-full bg-accent/20 rounded-sm",style:{width:`${Math.max(4,S/g*100)}%`}})}),d.jsx("span",{className:"text-xs text-muted-foreground tabular-nums w-8 text-right",children:S})]},x))})}),(((_=e.notable_roles)==null?void 0:_.length)??0)>0&&d.jsx(Fo,{title:"Key Positions",icon:xz,children:d.jsx("div",{className:"flex flex-wrap gap-1.5",children:e.notable_roles.map(x=>d.jsx("span",{className:"px-2 py-0.5 rounded-md border border-border bg-muted/30 text-xs text-foreground",children:x},x))})}),(((w=e.pain_points)==null?void 0:w.length)??0)>0&&d.jsx(Fo,{title:"Pain Points",icon:wB,children:d.jsx("ul",{className:"space-y-1",children:e.pain_points.slice(0,8).map((x,S)=>d.jsxs("li",{className:"text-sm text-muted-foreground flex items-start gap-2",children:[d.jsx("span",{className:"text-accent mt-1",children:"·"}),x]},S))})}),(((C=e.projects)==null?void 0:C.length)??0)>0&&d.jsx(Fo,{title:"Projects",icon:s3,children:d.jsx("ul",{className:"space-y-1",children:e.projects.slice(0,8).map((x,S)=>d.jsxs("li",{className:"text-sm text-muted-foreground flex items-start gap-2",children:[d.jsx("span",{className:"text-accent mt-1",children:"·"}),x]},S))})}),d.jsx("div",{className:"h-8"})]})]})]})}function b1({label:e,addLabel:r,placeholder:n,selectedValues:t,availableOptions:a,currentCounts:s,onAdd:l,onRemove:u}){const[f,p]=N.useState(!1),[m,g]=N.useState(""),y=N.useRef(null),_=N.useRef(null),w=N.useMemo(()=>{const C=new Set(t.map(k=>k.toLowerCase())),x=m.trim().toLowerCase(),S=new Map;if(s)for(const k of s)S.set(k.value.toLowerCase(),k.count);return a.filter(k=>k.value&&!C.has(k.value.toLowerCase())).filter(k=>!x||k.value.toLowerCase().includes(x)).map(k=>{const j=s?S.get(k.value.toLowerCase())??0:k.count;return{value:k.value,count:j}}).sort((k,j)=>k.count===0&&j.count>0?1:j.count===0&&k.count>0?-1:j.count-k.count)},[a,s,t,m]);return N.useEffect(()=>{if(!f)return;const C=S=>{y.current&&!y.current.contains(S.target)&&p(!1)},x=S=>{S.key==="Escape"&&p(!1),S.key==="Enter"&&w.length>0&&(l(w[0].value),g(""))};return document.addEventListener("mousedown",C),document.addEventListener("keydown",x),setTimeout(()=>{var S;return(S=_.current)==null?void 0:S.focus()},0),()=>{document.removeEventListener("mousedown",C),document.removeEventListener("keydown",x)}},[f,w,l]),d.jsxs("div",{className:"border-b border-border pb-3 mb-3",children:[d.jsx("div",{className:"flex items-center justify-between mb-2",children:d.jsxs("span",{className:"text-sm font-medium text-foreground flex items-center gap-2",children:[e,t.length>0&&d.jsx("span",{className:"text-xs bg-accent/10 text-accent px-1.5 py-0.5 rounded-full",children:t.length})]})}),t.map(C=>d.jsx("div",{className:"flex items-center gap-1 mb-1.5",children:d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-accent/10 text-accent text-xs rounded-full max-w-full",children:[d.jsx("span",{className:"truncate",children:C}),d.jsx("button",{onClick:()=>u(C),className:"hover:text-accent/70 flex-shrink-0",children:d.jsx(Ir,{className:"w-3 h-3"})})]})},C)),d.jsxs("div",{className:"relative",ref:y,children:[d.jsxs("button",{onClick:()=>{p(C=>!C),g("")},className:"flex items-center gap-1 px-2 py-1 text-xs text-muted-foreground hover:text-foreground border border-dashed border-border rounded-md hover:border-accent/50 transition-colors",children:[d.jsx(gy,{className:"w-3 h-3"}),"Add ",r||e.toLowerCase()]}),f&&d.jsxs("div",{className:"absolute left-0 right-0 top-full mt-1 z-20 bg-background border border-border rounded-lg shadow-lg overflow-hidden",children:[d.jsxs("div",{className:"relative",children:[d.jsx(Qn,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground"}),d.jsx("input",{ref:_,type:"text",value:m,onChange:C=>g(C.target.value),placeholder:n||`Search ${e.toLowerCase()}...`,className:"w-full pl-8 pr-3 py-2 text-sm border-b border-border bg-transparent focus:outline-none"})]}),d.jsx("div",{className:"max-h-56 overflow-y-auto [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:bg-border/50 [&::-webkit-scrollbar-thumb]:rounded-full",children:w.length===0?d.jsx("div",{className:"px-3 py-2 text-xs text-muted-foreground",children:"No matches"}):w.map(({value:C,count:x})=>d.jsxs("button",{onClick:()=>{var S;l(C),g(""),(S=_.current)==null||S.focus()},className:`flex w-full items-center justify-between gap-2 px-3 py-1.5 text-sm hover:bg-muted/50 text-left ${x===0?"opacity-50":""}`,children:[d.jsx("span",{className:"truncate text-foreground",children:C}),d.jsx("span",{className:"text-xs text-muted-foreground tabular-nums flex-shrink-0",children:x===0?"â":x.toLocaleStr
515ing()})]},C))})]})]})]})}function p3({title:e,values:r,selected:n,onChange:t}){const[a,s]=N.useState(!0),[l,u]=N.useState(!1),f=n.some(y=>r.findIndex(w=>w.value===y)>=5),p=l||f?r:r.slice(0,5),m=r.length>5,g=y=>{n.includes(y)?t(n.filter(_=>_!==y)):t([...n,y])};return r.length===0?null:d.jsxs("div",{className:"border-b border-border pb-3 mb-3 last:border-0 last:mb-0 last:pb-0",children:[d.jsxs("button",{onClick:()=>s(!a),className:"flex items-center justify-between w-full text-sm font-medium text-foreground mb-2 hover:text-accent transition-colors",children:[d.jsxs("span",{className:"flex items-center gap-2",children:[e,n.length>0&&d.jsx("span",{className:"text-xs bg-accent/10 text-accent px-1.5 py-0.5 rounded-full",children:n.length})]}),a?d.jsx(qE,{className:"w-4 h-4"}):d.jsx(fy,{className:"w-4 h-4"})]}),a&&d.jsxs("div",{className:"space-y-1",children:[p.map(({value:y,count:_})=>d.jsxs("label",{className:"flex items-center gap-2 text-sm cursor-pointer group",children:[d.jsx("input",{type:"checkbox",checked:n.includes(y),onChange:()=>g(y),className:"w-4 h-4 rounded border-border accent-accent"}),d.jsx("span",{className:"flex-1 truncate text-muted-foreground group-hover:text-foreground transition-colors",children:y}),d.jsx("span",{className:"text-xs text-muted-foreground/60 tabular-nums",children:_.toLocaleString()})]},y)),m&&!f&&d.jsx("button",{onClick:()=>u(!l),className:"text-xs text-accent hover:underline mt-1.5 pl-6",children:l?"Show less":`Show ${r.length-5} more`})]})]})}const m3=[{label:"Any",min:void 0,max:void 0},{label:"1-50",min:1,max:50},{label:"51-200",min:51,max:200},{label:"201-1K",min:201,max:1e3},{label:"1K-10K",min:1e3,max:1e4},{label:"10K+",min:1e4,max:void 0}];function Tq({sizeMin:e,sizeMax:r,onChange:n}){const t=m3.findIndex(a=>a.min===e&&a.max===r);return d.jsxs("div",{className:"border-b border-border pb-3 mb-3",children:[d.jsx("div",{className:"text-sm font-medium text-foreground mb-2",children:"Company Size"}),d.jsx("div",{className:"flex flex-wrap gap-1",children:m3.map((a,s)=>d.jsx("button",{onClick:()=>n(a.min,a.max),className:`px-2 py-1 text-xs rounded-md border transition-colors ${t===s?"bg-accent text-white border-accent":"border-border text-muted-foreground hover:border-accent hover:text-foreground"}`,children:a.label},a.label))})]})}const Iq=[{value:"any",label:"Any"},{value:"using",label:"Using"},{value:"adopting",label:"Adopting"},{value:"replacing",label:"Replacing"},{value:"evaluating",label:"Evaluating"}];function Lq({activeTechs:e,availableOptions:r,currentCounts:n,context:t,onContextChange:a,onAdd:s,onRemove:l,dropdownOpen:u,setDropdownOpen:f,query:p,setQuery:m,wrapRef:g,inputRef:y}){const _=N.useMemo(()=>{const w=new Set(e.map(S=>S.name.toLowerCase())),C=p.trim().toLowerCase(),x=new Map;if(n)for(const S of n)x.set(S.value.toLowerCase(),S.count);return r.filter(S=>S.value&&!w.has(S.value.toLowerCase())).filter(S=>!C||S.value.toLowerCase().includes(C)).map(S=>{const k=n?x.get(S.value.toLowerCase())??0:S.count;return{value:S.value,count:k}}).sort((S,k)=>S.count===0&&k.count>0?1:k.count===0&&S.count>0?-1:k.count-S.count).slice(0,200)},[r,n,e,p]);return N.useEffect(()=>{if(!u)return;const w=x=>{g.current&&!g.current.contains(x.target)&&f(!1)},C=x=>{var S;if(x.key==="Escape"&&f(!1),x.key==="Enter"){const k=((S=_[0])==null?void 0:S.value)||p.trim();k&&s(k)}};return document.addEventListener("mousedown",w),document.addEventListener("keydown",C),setTimeout(()=>{var x;return(x=y.current)==null?void 0:x.focus()},0),()=>{document.removeEventListener("mousedown",w),document.removeEventListener("keydown",C)}},[u,_,p,s,f,g,y]),d.jsxs("div",{className:"rounded-xl border border-accent/30 bg-accent/[0.05] p-3 -mx-1 mb-4 shadow-[0_1px_8px_-2px_rgba(99,102,241,0.15)]",children:[d.jsxs("div",{className:"text-sm font-semibold text-foreground mb-2 flex items-center gap-2",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),"Technology",e.length>0&&d.jsx("span",{className:"text-xs bg-accent/15 text-accent px-1.5 py-0.5 rounded-full",children:e.length})]}),e.map((w,C)=>d.jsx("div",{className:"flex items-center gap-1 mb-1.5",children:d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-accent/10 text-accent text-xs rounded-full max-w-full",children:[d.jsx("span",{className:"truncate",children:w.name}),w.context!=="any"&&d.jsxs("span",{className:"text-accent/60 flex-shrink-0",children:[": ",w.context]}),d.jsx("button",{onClick:()=>l(C),className:"hover:text-accent/70 flex-shrink-0",children:d.jsx(Ir,{className:"w-3 h-3"})})]})},C)),d.jsxs("div",{className:"relative",ref:g,children:[d.jsxs("button",{onClick:()=>{f(!u),m("")},className:"flex w-full items-center justify-center gap-1.5 px-2 py-1.5 text-xs font-medium text-accent bg-accent/10 hover:bg-accent/15 border border-accent/30 rounded-md transition-colors",children:[d.jsx(gy,{className:"w-3.5 h-3.5"}),"Add technology"]}),u&&d.jsxs("div",{className:"absolute left-0 right-0 top-full mt-1 z-20 bg-background border border-border rounded-lg shadow-lg overflow-hidden",children:[d.jsxs("div",{className:"relative",children:[d.jsx(Qn,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground"}),d.jsx("input",{ref:y,type:"text",value:p,onChange:w=>m(w.target.value),placeholder:"Search technology...",className:"w-full pl-8 pr-3 py-2 text-sm border-b border-border bg-transparent focus:outline-none"})]}),d.jsx("div",{className:"max-h-56 overflow-y-auto [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:bg-border/50 [&::-webkit-scrollbar-thumb]:rounded-full",children:_.length===0?d.jsx("div",{className:"px-3 py-2 text-xs text-muted-foreground",children:p.trim()?`Press Enter to add "${p.trim()}"`:"No matches"}):_.map(({value:w,count:C})=>d.jsxs("button",{onClick:()=>s(w),className:`flex w-full items-center justify-between gap-2 px-3 py-1.5 text-sm hover:bg-muted/50 text-left ${C===0?"opacity-50":""}`,children:[d.jsx("span",{className:"truncate text-foreground",children:w}),d.jsx("span",{className:"text-xs text-muted-foreground tabular-nums flex-shrink-0",children:C.toLocaleStr
515ing()})]},w))})]})]}),d.jsx("div",{className:"flex flex-wrap gap-1 mt-2",children:Iq.map(w=>d.jsx("button",{onClick:()=>a(w.value),className:`px-2 py-0.5 text-xs rounded-md border transition-colors ${t===w.value?"bg-accent text-white border-accent":"border-border text-muted-foreground hover:border-accent"}`,children:w.label},w.value))})]})}function $q({activeFilters:e,facets:r,allFacets:n,onFilterChange:t,onClearAll:a,isOpen:s}){var T,D,z,J,de,pe,ie;const[l,u]=N.useState("any"),[f,p]=N.useState(!1),[m,g]=N.useState(""),y=N.useRef(null),_=N.useRef(null),[w,C]=N.useState("");if(!s)return null;const x=ee=>{t({...e,...ee})},S=ee=>{var U;const ce=ee.trim();if(!ce)return;const ue=e.technologies||[];ue.some(H=>H.name.toLowerCase()===ce.toLowerCase())||(x({technologies:[...ue,{name:ce,context:l}]}),g(""),(U=_.current)==null||U.focus())},k=ee=>{const ce=[...e.technologies||[]];ce.splice(ee,1),x({technologies:ce.length?ce:void 0})},j=()=>{const ee=w.trim();if(!ee)return;const ce=e.text_search||[];ce.some(ue=>ue.toLowerCase()===ee.toLowerCase())||(x({text_search:[...ce,ee]}),C(""))},O=ee=>{const ce=[...e.text_search||[]];ce.splice(ee,1),x({text_search:ce.length?ce:void 0})},$=!!((T=e.technologies)!=null&&T.length||(D=e.roles)!=null&&D.length||(z=e.text_search)!=null&&z.length||(J=e.industry)!=null&&J.length||(de=e.country)!=null&&de.length||(pe=e.company_type)!=null&&pe.length||(ie=e.hiring_velocity)!=null&&ie.length||e.size_min!=null||e.size_max!=null);return d.jsx("div",{className:"w-64 flex-shrink-0 border-r border-border bg-muted/10 self-start sticky top-0 max-h-screen overflow-y-auto [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:bg-border/50 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-transparent",children:d.jsxs("div",{className:"p-4 pb-8",children:[d.jsxs("div",{className:"flex items-center justify-between mb-4",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:"Filters"}),$&&d.jsx("button",{onClick:a||(()=>t({})),className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:"Clear all"})]}),d.jsx(Lq,{activeTechs:e.technologies||[],availableOptions:(n==null?void 0:n.technologies)||(r==null?void 0:r.technologies)||[],currentCounts:r==null?void 0:r.technologies,context:l,onContextChange:u,onAdd:S,onRemove:k,dropdownOpen:f,setDropdownOpen:p,query:m,setQuery:g,wrapRef:y,inputRef:_}),d.jsx(b1,{label:"Country (HQ)",addLabel:"country",placeholder:"Search country...",selectedValues:e.country||[],availableOptions:(n==null?void 0:n.country)||(r==null?void 0:r.country)||[],currentCounts:r==null?void 0:r.country,onAdd:ee=>x({country:[...e.country||[],ee]}),onRemove:ee=>{const ce=(e.country||[]).filter(ue=>ue!==ee);x({country:ce.length?ce:void 0})}}),d.jsx(b1,{label:"Industry",placeholder:"Search industry...",selectedValues:e.industry||[],availableOptions:(n==null?void 0:n.industry)||(r==null?void 0:r.industry)||[],currentCounts:r==null?void 0:r.industry,onAdd:ee=>x({industry:[...e.industry||[],ee]}),onRemove:ee=>{const ce=(e.industry||[]).filter(ue=>ue!==ee);x({industry:ce.length?ce:void 0})}}),d.jsx(Tq,{sizeMin:e.size_min,sizeMax:e.size_max,onChange:(ee,ce)=>x({size_min:ee,size_max:ce})}),d.jsx(b1,{label:"Key Positions",addLabel:"role",placeholder:"e.g. Data Engineer",selectedValues:e.roles||[],availableOptions:(n==null?void 0:n.roles)||(r==null?void 0:r.roles)||[],currentCounts:r==null?void 0:r.roles,onAdd:ee=>x({roles:[...e.roles||[],ee]}),onRemove:ee=>{const ce=(e.roles||[]).filter(ue=>ue!==ee);x({roles:ce.length?ce:void 0})}}),d.jsxs("div",{className:"border-b border-border pb-3 mb-3",children:[d.jsx("div",{className:"text-sm font-medium text-foreground mb-2",children:"Pain Points / Projects"}),(e.text_search||[]).map((ee,ce)=>d.jsx("div",{className:"flex items-center gap-1 mb-1.5",children:d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-purple-50 text-purple-700 text-xs rounded-full truncate max-w-full",children:['"',ee,'"',d.jsx("button",{onClick:()=>O(ce),className:"hover:text-purple-500 flex-shrink-0",children:d.jsx(Ir,{className:"w-3 h-3"})})]})},ce)),d.jsxs("div",{className:"flex gap-1",children:[d.jsx("input",{type:"text",value:w,onChange:ee=>C(ee.target.value),onKeyDown:ee=>
515ee.key==="Enter"&&j(),placeholder:"e.g. scaling data infrastructure",className:"flex-1 px-2 py-1 text-sm bg-background border border-border rounded-md focus:outline-none focus:border-accent"}),d.jsx("button",{onClick:j,disabled:!w.trim(),className:"p-1 text-muted-foreground hover:text-accent disabled:opacity-30",children:d.jsx(Qn,{className:"w-4 h-4"})})]})]}),d.jsx(p3,{title:"Growth",values:(r==null?void 0:r.hiring_velocity)||[],selected:e.hiring_velocity||[],onChange:ee=>x({hiring_velocity:ee.length?ee:void 0})}),d.jsx(p3,{title:"Company Type",values:((r==null?void 0:r.company_type)||[]).filter(ee=>ee.value&&ee.value.trim()!==""),selected:e.company_type||[],onChange:ee=>x({company_type:ee.length?ee:void 0})})]})})}function rn({className:e}){return d.jsx("div",{className:St("animate-pulse bg-muted/60 rounded",e)})}function Dq({rows:e=8,className:r}){return d.jsxs("div",{className:St("border border-border rounded-xl overflow-hidden bg-background",r),children:[d.jsxs("div",{className:"border-b border-border bg-muted/30 p-3 flex gap-4",children:[d.jsx(rn,{className:"w-4 h-4 rounded"}),d.jsx(rn,{className:"w-32 h-4"}),d.jsx(rn,{className:"w-24 h-4"}),d.jsx(rn,{className:"w-16 h-4"}),d.jsx(rn,{className:"w-20 h-4 hidden md:block"}),d.jsx(rn,{className:"w-24 h-4 hidden lg:block"})]}),Array.from({length:e}).map((n,t)=>d.jsxs("div",{className:St("p-3 flex gap-4 items-center border-b border-border last:border-b-0",t%2===0?"bg-background":"bg-muted/10"),style:{animationDelay:`${t*50}ms`},children:[d.jsx(rn,{className:"w-4 h-4 rounded shrink-0"}),d.jsxs("div",{className:"flex items-center gap-3 min-w-[180px]",children:[d.jsx(rn,{className:"w-10 h-10 rounded-lg shrink-0"}),d.jsxs("div",{className:"space-y-1.5",children:[d.jsx(rn,{className:"w-28 h-4"}),d.jsx(rn,{className:"w-20 h-3"})]})]}),d.jsx(rn,{className:"w-24 h-6 rounded-full"}),d.jsx(rn,{className:"w-8 h-6 rounded-md"}),d.jsx(rn,{className:"w-16 h-4 hidden md:block"}),d.jsx(rn,{className:"w-24 h-4 hidden lg:block"}),d.jsx(rn,{className:"w-20 h-4 hidden xl:block"})]},t))]})}function Uq(e=50,r=0){const{session:n}=Lr(),[t,a]=N.useState([]),[s,l]=N.useState(0),[u,f]=N.useState(!0),p=N.useCallback(async()=>{if(!(n!=null&&n.access_token)){f(!1);return}f(!0);try{const m=await qB(n.access_token,e,r);a(m.items),l(m.total)}catch(m){console.error("Failed to fetch search history:",m)}finally{f(!1)}},[n==null?void 0:n.access_token,e,r]);return N.useEffect(()=>{p()},[p]),{items:t,total:s,loading:u,refetch:p}}function Pq(){const{session:e}=Lr(),[r,n]=N.useState([]),[t,a]=N.useState(!0);return N.useEffect(()=>{if(!(e!=null&&e.access_token)){a(!1);return}HB(e.access_token).then(s=>n(s.items)).catch(s=>console.error("Failed to fetch recent searches:",s)).finally(()=>a(!1))},[e==null?void 0:e.access_token]),{items:r,loading:t}}function zq(e=50,r=0){const{session:n}=Lr(),[t,a]=N.useState([]),[s,l]=N.useState(0),[u,f]=N.useState(!0),p=N.useCallback(async()=>{if(!(n!=null&&n.access_token)){f(!1);return}f(!0);try{const m=await GB(n.access_token,e,r);a(m.items),l(m.total)}catch(m){console.error("Failed to fetch export history:",m)}finally{f(!1)}},[n==null?void 0:n.access_token,e,r]);return N.useEffect(()=>{p()},[p]),{items:t,total:s,loading:u,refetch:p}}function Xf(e,r){var t,a,s,l,u,f;const n={};return(t=e.technologies)!=null&&t.length&&(n.tech=e.technologies.map(p=>`${p.name}:${p.context}`).join(",")),(a=e.roles)!=null&&a.length&&(n.role=e.roles.join(",")),(s=e.text_search)!=null&&s.length&&(n.text=e.text_search.join("|")),(l=e.industry)!=null&&l.length&&(n.industry=e.industry.join(",")),(u=e.country)!=null&&u.length&&(n.country=e.country.join(",")),e.city&&(n.city=e.city),(f=e.hiring_velocity)!=null&&f.length&&(n.velocity=e.hiring_velocity.join(",")),e.size_min!=null&&e.size_max!=null?n.size=`${e.size_min}-${e.size_max}`:e.size_min!=null?n.size=`${e.size_min}-`:e.size_max!=null&&(n.size=`-${e.size_max}`),r>1&&(n.page=String(r)),n}function Bq(e){const r={},n=e.get("tech");n&&(r.technologies=n.split(",").filter(Boolean).map(m=>{const[g,y="any"]=m.split(":");return{name:g,context:y}}));const t=e.get("role");
515t&&(r.roles=t.split(",").filter(Boolean));const a=e.get("text");a&&(r.text_search=a.split("|"));const s=e.get("industry");s&&(r.industry=s.split(",").filter(Boolean));const l=e.get("country");l&&(r.country=l.split(",").filter(Boolean));const u=e.get("city");u&&(r.city=u);const f=e.get("velocity");f&&(r.hiring_velocity=f.split(",").filter(Boolean));const p=e.get("size");if(p){const[m,g]=p.split("-");m&&(r.size_min=parseInt(m,10)),g&&(r.size_max=parseInt(g,10))}return r}function v8(e){const r={},n=e.technologies;Array.isArray(n)&&n.length&&(r.technologies=n.filter(a=>!!a&&typeof a=="object"&&"name"in a).map(a=>({name:a.name,context:a.context||"any"})));const t=a=>Array.isArray(a)&&a.length&&a.every(s=>typeof s=="string")?a:void 0;return r.roles=t(e.roles),r.text_search=t(e.text_search),r.industry=t(e.industry),r.country=t(e.country),typeof e.city=="string"&&e.city&&(r.city=e.city),r.company_type=t(e.company_type),r.hiring_velocity=t(e.hiring_velocity),typeof e.size_min=="number"&&(r.size_min=e.size_min),typeof e.size_max=="number"&&(r.size_max=e.size_max),r}function y8(e){return`/app/search?${new URLSearchParams(Xf(v8(e),1)).toString()}`}function b8(e){var r,n,t,a,s,l,u;return!!((r=e.technologies)!=null&&r.length||(n=e.roles)!=null&&n.length||(t=e.text_search)!=null&&t.length||(a=e.industry)!=null&&a.length||(s=e.country)!=null&&s.length||(l=e.company_type)!=null&&l.length||(u=e.hiring_velocity)!=null&&u.length||e.size_min!=null||e.size_max!=null)}const Fq=[{label:"Adopting Snowflake",filters:{technologies:[{name:"Snowflake",context:"adopting"}]}},{label:"Replacing VMware",filters:{technologies:[{name:"VMware",context:"replacing"}]}},{label:"Evaluating Databricks",filters:{technologies:[{name:"Databricks",context:"evaluating"}]}},{label:"Building with LangChain",filters:{technologies:[{name:"LangChain",context:"any"}]}},{label:"SAP shops hiring fast",filters:{technologies:[{name:"SAP",context:"any"}],hiring_velocity:["accelerating"]}},{label:"US healthcare on AWS",filters:{technologies:[{name:"AWS",context:"any"}],industry:["Hospitals and Health Care"],country:["United States"]}}];function g3(e){const r=[];for(const[n,t]of Object.entries(e))if(Array.isArray(t)){for(const a of t)if(typeof a=="string")r.push(a);else if(a&&typeof a=="object"&&"name"in a){const s=a;r.push(s.context&&s.context!=="any"?`${s.name}: ${s.context}`:s.name)}}else typeof t=="string"?r.push(t):typeof t=="number"&&r.push(`${n}: ${t}`);return r}function qq(){const e=$r(),{user:r}=Lr(),{items:n,loading:t}=Pq();if(!r||t)return null;const a=n.filter(s=>g3(s.filters).length>0).slice(0,4);return a.length===0?null:d.jsxs("div",{className:"mt-3",children:[d.jsxs("div",{className:"flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground/70 mb-2",children:[d.jsx(h0,{className:"w-3 h-3"}),d.jsx("span",{children:"Recent"})]}),d.jsx("div",{className:"flex flex-wrap gap-2",children:a.map(s=>{const l=g3(s.filters);return d.jsxs("button",{onClick:()=>e(y8(s.filters)),className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs border border-border rounded-full text-muted-foreground hover:text-foreground hover:border-accent/50 transition-colors max-w-[320px]",title:l.join(" · "),children:[d.jsx("span",{className:"truncate",children:l.slice(0,3).join(" · ")}),d.jsx("span",{className:"text-muted-foreground/50 tabular-nums shrink-0",children:s.result_count.toLocaleString()})]},s.id)})})]})}function Hq({selectedCount:e,onExport:r,onAddToList:n,onClear:t,isExporting:a=!1}){return e===0?null:d.jsxs("div",{className:St("fixed bottom-20 md:bottom-6 left-1/2 -translate-x-1/2 z-50","flex items-center gap-4 px-6 py-3","bg-foreground text-background rounded-2xl shadow-2xl","animate-in slide-in-from-bottom-4 duration-300"),children:[d.jsxs("span",{className:"text-sm font-medium",children:[d.jsx("span",{className:"text-accent font-bold",children:e})," selected"]}),d.jsx("div",{className:"w-px h-6 bg-background/20"}),d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsxs(vt,{variant:"ghost",size:"sm",className:"h-8 gap-2 text-background/80 hover:text-background hover:bg-background/10",onClick:r,disabled:a,children:[a?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(Ml,{className:"w-4 h-4"}),a?"Exporting...":"Export"]}),d.jsxs(vt,{variant:"ghost",size:"sm",className:"h-8 gap-2 text-background/80 hover:text-background hover:bg-background/10",onClick:n,children:[d.jsx(Yz,{className:"w-4 h-4"}),"Add to list"]})]}),d.jsx("button",{onClick:t,className:"p-1.5 rounded-lg hover:bg-background/10 text-background/60 hover:text-background transition-colors",children:d.jsx(Ir,{className:"w-4 h-4"})})]})}function x8(){const{session:e}=Lr(),[r,n]=N.useState([]),[t,a]=N.useState(!1),s=N.useCallback(async()=>
515{if(e!=null&&e.access_token){a(!0);try{const p=await VB(e.access_token);n(p)}catch(p){console.error("Failed to fetch saved lists:",p)}finally{a(!1)}}},[e==null?void 0:e.access_token]);return N.useEffect(()=>{s()},[s]),{lists:r,loading:t,fetchLists:s,createList:async p=>{if(!(e!=null&&e.access_token))return null;const m=await YB(e.access_token,p);return await s(),m},renameList:async(p,m)=>{e!=null&&e.access_token&&(await KB(e.access_token,p,m),await s())},deleteList:async p=>{e!=null&&e.access_token&&(await WB(e.access_token,p),await s())}}}function Gq(e){const{session:r}=Lr(),[n,t]=N.useState([]),[a,s]=N.useState(0),[l,u]=N.useState(1),[f,p]=N.useState(!1),m=50;N.useEffect(()=>{u(1)},[e]);const g=N.useCallback(async S=>{if(!(r!=null&&r.access_token)||!e){t([]),s(0);return}p(!0);try{const k=S??l,j=await KE(r.access_token,e,k,m);t(j.companies),s(j.total)}catch(k){console.error("Failed to fetch companies:",k)}finally{p(!1)}},[r==null?void 0:r.access_token,e,l,m]);N.useEffect(()=>{g()},[g]);const y=S=>{u(S)},_=async S=>{!(r!=null&&r.access_token)||!e||(await WE(r.access_token,e,S),await g())},w=async S=>{if(!(r!=null&&r.access_token)||!e)return;const k=await JE(r.access_token,e,S);return await g(),k},C=async S=>{r!=null&&r.access_token&&(await XB(r.access_token,S),await g())},x=Math.ceil(a/m);return{companies:n,total:a,page:l,totalPages:x,pageSize:m,loading:f,fetchCompanies:g,goToPage:y,saveCompany:_,saveBulk:w,removeCompany:C}}function Vq(e,r){var t;const n=e.employees_range_min&&e.employees_range_max?`${e.employees_range_min}-${e.employees_range_max}`:e.employees_range_min?`${e.employees_range_min}+`:"";return{company_name:e.name,domain:e.domain||"",linkedin:((t=e.linkedin_url)==null?void 0:t.replace("https://www.linkedin.com/company/",""))||"",industry:e.industry||"",city:e.city||"",country:e.country||"",size:n,signal_type:"company_profile",jobs_count:e.total_active_jobs,saved_from_query:r||""}}function Yq({isOpen:e,onClose:r,companiesV2:n,query:t,searchParamsV2:a,totalCount:s}){var z;const l=(n||[]).map(J=>Vq(J,t)),u=(n==null?void 0:n.length)||0,f=((z=n==null?void 0:n[0])==null?void 0:z.name)||"",{session:p}=Lr(),{lists:m,loading:g,fetchLists:y,createList:_}=x8(),[w,C]=N.useState(""),[x,S]=N.useState(!1),[k,j]=N.useState(null),[O,$]=N.useState(!1);if(N.useEffect(()=>{e&&(y(),S(!1),C(""))},[e]),!e)return null;const T=async(J,de)=>{if(p!=null&&p.access_token){j(J);try{let pe=0,ie="single";if(a){const ee=await JB(p.access_token,J,{...a,query:t});pe=ee.saved,ie="search_v2",rr.success(`${ee.saved} companies saved to "${de}"`)}else u===1?(await WE(p.access_token,J,l[0]),pe=1,ie="single",rr.success(`${f} saved to "${de}"`)):(await JE(p.access_token,J,l),pe=u,ie="bulk",rr.success(`${u} companies saved to "${de}"`));at.track("Save to List",{list_id:J,list_name:de,count:pe,mode:ie,query:t}),r()}catch(pe){rr.error(pe instanceof Error?pe.message:"Failed to save")}finally{j(null)}}},D=async()=>{if(w.trim()){$(!0);try{const J=await _(w.trim());J&&(at.track("Create List",{list_name:J.name}),await T(J.id,J.name))}catch(J){rr.error(J instanceof Error?J.message:"Failed to create list")}finally{$(!1)}}};return d.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[d.jsx("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-sm",onClick:r}),d.jsxs("div",{className:"relative w-full max-w-md mx-4 bg-background border border-border rounded-2xl shadow-2xl overflow-hidden",children:[d.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-border",children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground",children:a?`Save all ${(s==null?void 0:s.toLocaleString())??""} companies`:u===1?`Save ${f}`:`Save ${u} companies`}),d.jsx("button",{onClick:r,className:"p-1.5 rounded-lg hover:bg-muted/50 text-muted-foreground hover:text-foreground transition-colors",children:d.jsx(Ir,{className:"w-5 h-5"})})]}),d.jsx("div",{className:"px-6 py-4 max-h-64 overflow-auto",children:g?d.jsx("div",{className:"flex items-center justify-center py-8",children:d.jsx(qt,{className:"w-5 h-5 animate-spin text-muted-foreground"})}):m.length===0&&!x?d.jsxs("div",{className:"text-center py-6",children:[d.jsx(Bc,{className:"w-10 h-10 mx-auto text-muted-foreground
515/40 mb-3"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"No lists yet. Create your first list to start saving companies."})]}):d.jsx("div",{className:"space-y-1",children:m.map(J=>d.jsxs("button",{onClick:()=>T(J.id,J.name),disabled:k!==null,className:"w-full flex items-center justify-between px-4 py-3 rounded-xl hover:bg-muted/50 transition-colors text-left group",children:[d.jsxs("div",{children:[d.jsx("div",{className:"font-medium text-foreground",children:J.name}),d.jsxs("div",{className:"text-xs text-muted-foreground",children:[J.company_count," ",J.company_count===1?"company":"companies"]})]}),k===J.id?d.jsx(qt,{className:"w-4 h-4 animate-spin text-accent"}):d.jsx(gy,{className:"w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]},J.id))})}),d.jsx("div",{className:"px-6 py-4 border-t border-border bg-muted/20",children:x?d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("input",{type:"text",value:w,onChange:J=>C(J.target.value),placeholder:"List name...",autoFocus:!0,onKeyDown:J=>{J.key==="Enter"&&D(),J.key==="Escape"&&S(!1)},className:"flex-1 h-10 px-3 rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-accent/30 focus:border-accent text-sm"}),d.jsx(vt,{size:"sm",className:"h-10 bg-accent hover:bg-accent/90 text-white",onClick:D,disabled:!w.trim()||O,children:O?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(da,{className:"w-4 h-4"})})]}):d.jsxs("button",{onClick:()=>S(!0),className:"flex items-center gap-2 text-sm text-accent hover:text-accent/80 font-medium transition-colors",children:[d.jsx(Bc,{className:"w-4 h-4"}),"Create new list"]})})]})]})}function Kq({isOpen:e,onClose:r,action:n="continue",returnUrl:t}){const{signInWithGoogle:a}=Lr();N.useEffect(()=>{const u=f=>{f.key==="Escape"&&r()};return e&&(document.addEventListener("keydown",u),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",u),document.body.style.overflow=""}},[e,r]);const s=N.useCallback(async()=>{try{t&&sessionStorage.setItem("authReturnUrl",t),await a()}catch(u){console.error("Google sign in failed:",u)}},[a,t]);if(!e)return null;const l={export:"export results",save:"save companies",continue:"continue"}[n]||n;return d.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[d.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:r}),d.jsxs("div",{className:"relative z-10 w-full max-w-md mx-4 bg-background border border-border rounded-2xl shadow-2xl animate-in fade-in zoom-in-95 duration-200",children:[d.jsx("button",{onClick:r,className:"absolute top-4 right-4 p-2 text-muted-foreground hover:text-foreground rounded-lg hover:bg-muted/50 transition-colors",children:d.jsx(Ir,{className:"w-5 h-5"})}),d.jsxs("div",{className:"p-8",children:[d.jsx("div",{className:"w-14 h-14 rounded-2xl bg-accent/10 flex items-center justify-center mx-auto mb-6",children:d.jsx(Jz,{className:"w-7 h-7 text-accent"})}),d.jsxs("h2",{className:"text-xl font-semibold text-center mb-2",children:["Sign in to ",l]}),d.jsxs("p",{className:"text-muted-foreground text-center text-sm mb-8",children:["Create a free account to unlock this feature.",d.jsx("br",{}),"No credit card required."]}),d.jsxs("div",{className:"space-y-3",children:[d.jsxs(vt,{onClick:s,className:"w-full h-12 bg-white hover:bg-gray-50 text-gray-900 border border-gray-200 shadow-sm",children:[d.jsxs("svg",{className:"w-5 h-5 mr-2",viewBox:"0 0 24 24",children:[d.jsx("path",{fill:"currentColor",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),d.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),d.jsx("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),d.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Continue with Google"]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute inset-0 flex items-center",children:d.jsx("div",{className:"w-full border-t border-border"})}),d.jsx("div",{className:"relative flex justify-center text-xs uppercase",children:d.jsx("span",{className:"bg-background px-2 text-muted-foreground",children:"or"})})]}),d.jsx(vt,{variant:"outline",onClick:()=>{t&&sessionStorage.setItem("authReturnUrl",t),window.location.href="/auth"},className:"w-full h-12",children:"Sign in with email"})]})]}),d.jsx("div",{className:"px-8 py-4 bg-muted/30 border-t border-border rounded-b-2xl",children:d.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"By continuing, you agree to our Terms of Service and Privacy Policy."})})]})]})}const Wq=["Full result depth â every matching company","Export to CSV","Save companies to lists","Priority support"];function Jq({isOpen:e,onClose:r,action:n="continue",checkResult:t}){const a=$r();if(N.useEffect(()=>{const f=p=>{p.key==="Escape"&&r()};return e&&(document.addEventListener("keydown",f),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",f),document.body.style.overflow=""}},[e,r]),N.useEffect(()=>{e&&at.track("Paywall Shown",{action:n,reason:t==null?void 0:t.reason})},[e]),!e)return null;const s=()=>{at.track("Paywall Upgrade Click",{action:n}),r(),a("/app/billing")};let l="Upgrade to continue",u="Unlock unlimited access with our Standard plan.";if((t==null?void 0:t.reason)==="limit_reached"&&t.limitInfo){const{used:f,limit:p}=t.limitInfo;l="You've reached your limit",u=`You've used ${f} of ${p} ${n}s this month.`}else(t==null?void 0:t.reason)==="feature_disabled"&&(l=`${n.charAt(0).toUpperCase()+n.slice(1)} is a premium feature`,u="Upgrade to Standard to unlock this feature.");return d.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[d.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:r}),d.jsxs("div",{className:"relative z-10 w-full max-w-lg mx-4 bg-background border border-border rounded-2xl shadow-2xl animate-in fade-in zoom-in-95 duration-200",children:[d.jsx("button",{onClick:r,className:"absolute top-4 right-4 p-2 text-muted-foreground hover:text-foreground rounded-lg hover:bg-muted/50 transition-colors",children:d.jsx(Ir,{className:"w-5 h-5"})}),d.jsxs("div",{className:"p-8",children:[d.jsx("div",{className:"w-14 h-14 roun
515ded-2xl bg-gradient-to-br from-amber-400 to-orange-500 flex items-center justify-center mx-auto mb-6 shadow-lg shadow-orange-500/25",children:d.jsx(GE,{className:"w-7 h-7 text-white"})}),d.jsx("h2",{className:"text-xl font-semibold text-center mb-2",children:l}),d.jsx("p",{className:"text-muted-foreground text-center text-sm mb-8",children:u}),d.jsxs("div",{className:"border border-accent/30 bg-accent/5 rounded-xl p-6 mb-6",children:[d.jsxs("div",{className:"flex items-baseline justify-between mb-4",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"font-semibold text-lg",children:"Standard"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"For growing teams"})]}),d.jsxs("div",{className:"text-right",children:[d.jsx("span",{className:"text-3xl font-bold",children:"$79"}),d.jsx("span",{className:"text-muted-foreground",children:"/mo"})]})]}),d.jsx("ul",{className:"space-y-2",children:Wq.map(f=>d.jsxs("li",{className:"flex items-center gap-2 text-sm",children:[d.jsx(da,{className:"w-4 h-4 text-accent shrink-0"}),d.jsx("span",{children:f})]},f))})]}),d.jsx(vt,{onClick:s,className:"w-full h-12 bg-accent hover:bg-accent/90 text-white font-medium",children:"Upgrade to Standard"}),d.jsx("p",{className:"text-xs text-muted-foreground text-center mt-4",children:"Cancel anytime. 14-day money-back guarantee."})]})]})]})}function Xq(e){return{plan:e.plan,searchesUsed:e.searches_used,searchesLimit:e.searches_limit,exportsUsed:e.exports_used,exportsLimit:e.exports_limit,resultsLimit:e.results_limit,canExport:e.can_export,canSave:e.can_save,currentPeriodEnd:e.current_period_end}}const v3={plan:"free",searchesUsed:0,searchesLimit:-1,exportsUsed:0,exportsLimit:0,resultsLimit:40,canExport:!1,canSave:!1};function _8(){const{session:e}=Lr(),[r,n]=N.useState(v3),[t,a]=N.useState(!0),[s,l]=N.useState(null),u=N.useCallback(async()=>{a(!0),l(null);try{const p=e==null?void 0:e.access_token,m=await DB(p),g=Xq(m);n(g),at.register({plan:g.plan}),e!=null&&e.user&&at.people.set({plan:g.plan})}catch(p){console.error("Failed to fetch subscription:",p),l(p instanceof Error?p.message:"Failed to fetch subscription"),n(v3)}finally{a(!1)}},[e==null?void 0:e.access_token]);N.useEffect(()=>{u()},[u]);const f=N.useCallback(()=>u(),[u]);return{subscription:r,loading:t,error:s,refetch:f,isAuthenticated:!!e}}function Qq(){const{session:e}=Lr(),{subscription:r,refetch:n,isAuthenticated:t}=_8(),a=N.useCallback(u=>{if(["export","save"].includes(u)&&!t)return{allowed:!1,reason:"auth_required"};switch(u){case"export":{if(!r.canExport)return{allowed:!1,reason:"feature_disabled"};const p=r.exportsLimit,m=r.exportsUsed;return p===-1?{allowed:!0,reason:"ok"}:m>=p?{allowed:!1,reason:"limit_reached",limitInfo:{used:m,limit:p,remaining:0}}:{allowed:!0,reason:"ok",limitInfo:{used:m,limit:p,remaining:p-m}}}case"save":return r.canSave?{allowed:!0,reason:"ok"}:{allowed:!1,reason:"feature_disabled"};default:return{allowed:!0,reason:"ok"}}},[r,t]),s=N.useCallback(async u=>{if(e!=null&&e.access_token)try{await PB(u,e.access_token),await n()}catch(f){console.error("Failed to track usage:",f)}},[e==null?void 0:e.access_token,n]),l=N.useCallback(()=>r.resultsLimit,[r.resultsLimit]);return{subscription:r,isAuthenticated:t,checkAction:a,trackActionUsage:s,getVisibleResultsLimit:l}}const Os=20,x1=60;function Zq(e,r){return e&&r?`${e.toLocaleString()}-${r.toLocaleString()}`:e?`${e.toLocaleString()}+`:r?`â¤${r.toLocaleString()}`:""}function eH({activeFilters:e,total:r,onRemoveTech:n,onRemoveRole:t,onRemoveTextSearch:a,onRemoveFilter:s,onRemoveCity:l,onRemoveSize:u,onRemoveCompanyType:f}){const p=e.technologies||[],m=e.roles||[],g=e.text_search||[],y=e.size_min!=null||e.size_max!=null;return b8(e)?d.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 text-sm",children:[p.map((_,w)=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-accent/10 text-accent rounded-full text-xs",children:[_.name,_.context!=="any"&&d.jsxs("span",{className:"text-accent/60",children:[": ",_.context]}),d.jsx("button",{onClick:()=>n(w),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`tech-${w}`)),m.map((_,w)=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-blue-50 text-blue-700 rounded-full text-xs",children:[_,d.jsx("button",{onClick:()=>t(w),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`role-${w}`)),g.map((_,w)=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-purple-50 text-purple-700 rounded-full text-xs",children:['"',_,'"',d.jsx("button",{onClick:()=>a(w),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`text-${w}`)),(e.industry||[]).map(_=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-muted text-muted-foreground rounded-full text-xs",children:[_,d.jsx("button",{onClick:()=>s("industry",_),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`ind-${_}`)),(e.country||[]).map(_=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-muted text-muted-foreground rounded-full text-xs",children:[_,d.jsx("button",{onClick:()=>s("country",_),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`co-${_}`)),e.city&&d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-muted text-muted-foreground rounded-full text-xs",children:[e.city,d.jsx("button",{onClick:l,children:d.jsx(Ir,{className:"w-3 h-3"})})]}),(e.hiring_velocity||[]).map(_=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-green-50 text-green-700 rounded-full text-xs capitalize",children:[_,d.jsx("button",{onClick:()=>s("hiring_velocity",_),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`vel-${_}`)),y&&d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-muted text-muted-foreground rounded-full text-xs",children:[Zq(e.size_min,e.size_max),d.jsx("button",{onClick:u,children:d.jsx(Ir,{className:"w-3 h-3"})})]}),(e.company_type||[]).map(_=>d.jsxs("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 bg-muted text-muted-foreground rounded-full text-xs",children:[_,d.jsx("button",{onClick:()=>f(_),children:d.jsx(Ir,{className:"w-3 h-3"})})]},`ct-${_}`)),d.jsxs("span",{className:"text-xs text-muted-foreground ml-1",children:[r.toLocaleStr
515ing()," companies"]})]}):d.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[d.jsx(mB,{className:"w-3.5 h-3.5"}),d.jsxs("span",{children:["Browsing ",d.jsx("span",{className:"font-semibold text-foreground",children:r.toLocaleString()})," companies â add filters to narrow down."]})]})}function tH({onPick:e}){return d.jsxs("div",{className:"mb-4",children:[d.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wider text-muted-foreground/70 mb-2",children:"Start from"}),d.jsx("div",{className:"flex flex-wrap gap-2",children:Fq.map(r=>d.jsx("button",{onClick:()=>{at.track("Preset Click",{preset:r.label}),e(r.filters)},className:"px-3 py-1.5 text-xs border border-border rounded-full text-muted-foreground hover:text-foreground hover:border-accent/50 transition-colors",children:r.label},r.label))}),d.jsx(qq,{})]})}function rH(){const[e,r]=d0(),n=$r(),t=ga(),{session:a}=Lr(),s=parseInt(e.get("page")||"1",10),[l,u]=N.useState([]),[f,p]=N.useState(),[m,g]=N.useState(),[y,_]=N.useState(0),[w,C]=N.useState(!0),[x,S]=N.useState(null),[k,j]=N.useState(!1),[O,$]=N.useState(!1),[T,D]=N.useState(()=>Bq(e)),[z,J]=N.useState(!0),[de,pe]=N.useState(new Set),[ie,ee]=N.useState(!1),[ce,ue]=N.useState(!1),[U,H]=N.useState(""),[Y,he]=N.useState("desc"),[ye,R]=N.useState(!1),[G,K]=N.useState([]),[Z,le]=N.useState(!1),[oe,ge]=N.useState(null),[Ce,Ue]=N.useState(!1),{getVisibleResultsLimit:zt,checkAction:Jt,isAuthenticated:Xt}=Qq(),[ea,Ot]=N.useState(!1),[Zr,Dr]=N.useState(!1),[Yr,Ur]=N.useState("export"),[Bt,kr]=N.useState(),Nr=N.useRef(0),Qt=N.useRef(null),sn=N.useRef({start:0,end:0}),lr=N.useRef(null),en=N.useRef(!1),cr=1e3,ya=Math.min(Math.ceil(y/Os),Math.ceil(cr/Os)),On=!b8(T),Tn=N.useMemo(()=>{const se=(s-1)*Os-sn.current.start;return l.slice(Math.max(0,se),se+Os)},[l,s]),jr=zt(),{visibleResults:yn,lockedCount:Ar}=N.useMemo(()=>{if(jr===-1)return{visibleResults:Tn,lockedCount:0};const se=(s-1)*Os,Ne=Math.max(0,jr-se),Be=Tn.slice(0,Ne),ur=Math.min(Os,Math.max(0,y-se))-Be.length;return{visibleResults:Be,lockedCount:Math.max(0,ur)}},[Tn,jr,s,y]),In=N.useCallback(async(se,Ne={})=>{var Tt,$n,xn,Pr,lt,dr,Dn;const Be=++Nr.current;(Tt=Qt.current)==null||Tt.abort();const ur=new AbortController;Qt.current=ur,C(!0),S(null);try{const Zt=await FB(se,a==null?void 0:a.access_token);if(Be!==Nr.current)return;u(Zt.results),_(Zt.total),p(Zt.facets||void 0),$(!!Zt.depth_capped),Zt.total===0&&rr.info("No companies match these filters â try broadening your search.");const ds=((se.page||1)-1)*(se.page_size||x1);sn.current={start:ds,end:ds+Zt.results.length};const Rr={};($n=se.technologies)!=null&&$n.length&&(Rr.filter_technologies=se.technologies.map(xi=>`${xi.name}:${xi.context}`)),(xn=se.roles)!=null&&xn.length&&(Rr.filter_roles=se.roles),(Pr=se.text_search)!=null&&Pr.length&&(Rr.filter_text_search=se.text_search),(lt=se.industry)!=null&<.length&&(Rr.filter_industry=se.industry),(dr=se.country)!=null&&dr.length&&(Rr.filter_country=se.country),se.city&&(Rr.filter_city=se.city),(Dn=se.hiring_velocity)!=null&&Dn.length&&(Rr.filter_hiring_velocity=se.hiring_velocity),se.size_min!=null&&(Rr.filter_size_min=se.size_min),se.size_max!=null&&(Rr.filter_size_max=se.size_max),se.sort_by&&(Rr.sort_by=se.sort_by,Rr.sort_direction=se.sort_direction);const ju=Ne.isPagination?"Pagination":Object.keys(Rr).length?"Search":"Browse";at.track(ju,{total_results:Zt.total,page:Ne.uiPage??se.page??1,...Rr})}catch(Zt){if(Be!==Nr.current)return;console.error("Search v2 failed:",Zt);const ds=Zt.status;if(at.track(Ne.isPagination?"Pagination Failed":"Search Failed",{status:ds,error:Zt instanceof Error?Zt.message:String(Zt)}),ds===429){const Rr=Zt instanceof Error?Zt.message:"";if(Rr.includes("fair-use")){S(Rr),u([]);return}j(!0),u([]);return}S(Zt instanceof Error?Zt.message:"Search failed"),u([])}finally{Be===Nr.current&&C(!1)}},[a==null?void 0:a.access_token]),Ft=N.useMemo(()=>JSON.stringify({...T,sortBy:U,sortDirection:Y,page:s}),[T,U,Y,s]),Te=N.useRef(null);N.useEffect(()=>{var Tt,$n,xn,Pr,lt,dr,Dn;if(Ft===Te.current)return;Te.current=Ft;
515const se=(s-1)*Os,Be={page:Math.floor(se/x1)+1,page_size:x1};(Tt=T.technologies)!=null&&Tt.length&&(Be.technologies=T.technologies),($n=T.roles)!=null&&$n.length&&(Be.roles=T.roles),(xn=T.text_search)!=null&&xn.length&&(Be.text_search=T.text_search),(Pr=T.industry)!=null&&Pr.length&&(Be.industry=T.industry),(lt=T.country)!=null&<.length&&(Be.country=T.country),T.city&&(Be.city=T.city),(dr=T.company_type)!=null&&dr.length&&(Be.company_type=T.company_type),(Dn=T.hiring_velocity)!=null&&Dn.length&&(Be.hiring_velocity=T.hiring_velocity),T.size_min!=null&&(Be.size_min=T.size_min),T.size_max!=null&&(Be.size_max=T.size_max),U&&(Be.sort_by=U,Be.sort_direction=Y);const ur=en.current;en.current=!1,In(Be,{isPagination:ur,uiPage:s})},[Ft]),N.useEffect(()=>{VE().then(g).catch(se=>console.error("Failed to load facets:",se))},[]),N.useEffect(()=>{var Ne;const se=(Ne=t.state)==null?void 0:Ne.reset;se&&se!==lr.current&&(lr.current=se,D({}),r({},{replace:!0}))},[t.state,r]);const rt=se=>{en.current=!0,r(Xf(T,se));const Ne=document.querySelector("main.overflow-auto");Ne&&(Ne.scrollTop=0)},me=N.useCallback(se=>{D(se),r(Xf(se,1),{replace:!0})},[r]),Qe=N.useCallback(()=>{pe(new Set),ee(!1),H(""),he("desc"),me({})},[me]),xr=(se,Ne)=>{H(se),he(Ne),r(Xf(T,1),{replace:!0})},Ln=se=>{const Ne=[...T.technologies||[]];Ne.splice(se,1),me({...T,technologies:Ne.length?Ne:void 0})},ba=se=>{const Ne=[...T.roles||[]];Ne.splice(se,1),me({...T,roles:Ne.length?Ne:void 0})},ta=se=>{const Ne=[...T.text_search||[]];Ne.splice(se,1),me({...T,text_search:Ne.length?Ne:void 0})},bn=(se,Ne)=>{const Be=T[se];if(Array.isArray(Be)){const ur=Be.filter(Tt=>Tt!==Ne);me({...T,[se]:ur.length?ur:void 0})}},Oe=se=>{ge(se),Ue(!0),at.track("View Details",{company:se.name,company_id:se.company_id,domain:se.domain,industry:se.industry})},bt=N.useMemo(()=>((T.technologies||[]).map(Ne=>Ne.name).join("-")||"companies").slice(0,30),[T.technologies]),Ht=async()=>{var Be;const Ne=(Be=(await Xr.auth.getSession()).data.session)==null?void 0:Be.access_token;if(!Ne){Ur("export"),Ot(!0);return}ee(!0),ue(!0);try{const ur={technologies:T.technologies,roles:T.roles,text_search:T.text_search,industry:T.industry,country:T.country,city:T.city,company_type:T.company_type,hiring_velocity:T.hiring_velocity,size_min:T.size_min,size_max:T.size_max},$n=await(await YE(ur,Ne)).text(),xn=Math.max(0,$n.split(` 516`).filter(Boolean).length-1),Pr=URL.createObjectURL(new Blob([$n],{type:"text/csv"})),lt=document.createElement("a");lt.href=Pr,lt.download=`echoloc-${bt}.csv`,document.body.appendChild(lt),lt.click(),document.body.removeChild(lt),URL.revokeObjectURL(Pr),xn<y?rr.success(`Exported the first ${xn.toLocaleString()} of ${y.toLocaleString()} companies (plan limit). Narrow the filters to get the rows that matter most.`):rr.success(`Exported ${xn.toLocaleString()} companies`),at.track("Export CSV",{type:"all",count:xn,total_matched:y}),at.people.increment("total_exports")}catch(ur){const Tt=ur instanceof Error?ur.message:"Export failed";Tt.includes("Standard plan")||Tt.includes("403")?(Ur("export"),kr({allowed:!1,reason:"plan_required"}),Dr(!0)):rr.error(Tt)}finally{ue(!1)}},_r=()=>{if(!Xt)return Ur("save"),Ot(!0),!1;const se=Jt("save");return se.allowed?!0:(Ur("save"),kr(se),Dr(!0),!1)},xa=se=>{_r()&&(le(!1),K([se]),R(!0),at.track("Save Company",{company:se.name,company_id:se.company_id}))},Et=()=>{if(_r())if(ie)le(!0),K(yn),R(!0);else{const se=yn.filter(Ne=>de.has(Ne.company_id));if(se.length===0)return;le(!1),K(se),R(!0)}},Kr=N.useMemo(()=>({technologies:T.technologies,roles:T.roles,text_search:T.text_search,industry:T.industry,country:T.country,city:T.city,company_type:T.company_type,hiring_velocity:T.hiring_velocity,size_min:T.size_min,size_max:T.size_max}),[T]);if(k&&(a!=null&&a.access_token)&&!w)return d.jsxs("div",{className:"container py-20 max-w-lg text-center",children:[d.jsx("div",{className:"w-14 h-14 rounded-2xl bg-accent/10 flex items-center justify-center mx-auto mb-6",children:d.jsx(Qn,{className:"w-7 h-7 text-accent"})}),d.jsx("h1",{className:"text-2xl font-bold mb-3",children:"You've used today's free searches"}),d.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:"The free plan includes a daily search budget â it resets tomorrow. Standard has unlimited searches, full result depth, CSV export and saved lists."}),d.jsx("div",{className:"flex items-center justify-center gap-3",children:d.jsx(vt,{className:"h-11 px-6 rounded-xl font-semibold",onClick:()=>{window.location.href="/app/billing"},children:"Upgrade to Standard"})})]});if(k&&!(a!=null&&a.access_token)&&!w){const se=encodeURIComponent(t.pathname+t.search);return d.jsxs("div",{className:"container py-20 max-w-lg text-center",children:[d.jsx("div",{className:"w-14 h-14 roun
516ded-2xl bg-accent/10 flex items-center justify-center mx-auto mb-6",children:d.jsx(Qn,{className:"w-7 h-7 text-accent"})}),d.jsx("h1",{className:"text-2xl font-bold mb-3",children:"You've used today's free searches"}),d.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:"Anonymous visitors get a limited number of searches per day. Create a free account to keep searching â unlimited searches, full company profiles, no card required."}),d.jsxs("div",{className:"flex items-center justify-center gap-3",children:[d.jsx(vt,{className:"h-11 px-6 rounded-xl font-semibold",onClick:()=>{window.location.href=`/auth?mode=signup&returnTo=${se}`},children:"Create a free account"}),d.jsx(vt,{variant:"outline",className:"h-11 px-6 rounded-xl",onClick:()=>{window.location.href=`/auth?returnTo=${se}`},children:"Sign in"})]})]})}return x&&!w?d.jsxs("div",{className:"container py-16 text-center",children:[d.jsx("h1",{className:"text-2xl font-bold mb-4 text-red-500",children:"Search failed"}),d.jsx("p",{className:"text-muted-foreground mb-6",children:x}),d.jsx(vt,{onClick:()=>{S(null),Te.current=null,Qe()},children:"Try again"})]}):d.jsxs("div",{className:"bg-background flex flex-col",children:[d.jsx("div",{className:"sticky top-0 z-40 bg-background/95 backdrop-blur-xl border-b border-border/40",children:d.jsxs("div",{className:"px-4 lg:px-6 py-3 flex items-center justify-between",children:[d.jsx(eH,{activeFilters:T,total:y,onRemoveTech:Ln,onRemoveRole:ba,onRemoveTextSearch:ta,onRemoveFilter:bn,onRemoveCity:()=>me({...T,city:void 0}),onRemoveSize:()=>me({...T,size_min:void 0,size_max:void 0}),onRemoveCompanyType:se=>bn("company_type",se)}),y>0&&d.jsxs("button",{onClick:Ht,disabled:ce,className:"inline-flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground hover:text-foreground border border-border rounded-lg hover:border-accent/50 transition-colors disabled:opacity-50 flex-shrink-0 ml-4",children:[ce?d.jsx(qt,{className:"w-3.5 h-3.5 animate-spin"}):d.jsx(Ml,{className:"w-3.5 h-3.5"}),"Export to CSV"]})]})}),d.jsxs("div",{className:"flex flex-1 min-h-0",children:[d.jsx($q,{activeFilters:T,facets:f,allFacets:m,onFilterChange:me,onClearAll:Qe,isLoading:w,isOpen:z}),d.jsx("div",{className:"flex-1",children:d.jsxs("div",{className:"px-6 lg:px-8 py-6",children:[On&&d.jsx(tH,{onPick:me}),O&&!w&&jr===-1&&d.jsxs("div",{className:"mb-4 rounded-lg border border-border bg-muted/40 px-4 py-3 text-sm text-muted-foreground",children:["You've reached the browsing depth for this search (first"," ",cr.toLocaleString()," companies). Narrow the filters to surface a different slice, or export the full list as CSV."]}),w?d.jsx(Dq,{rows:10}):d.jsx(Nq,{results:yn,lockedCount:Ar,totalCount:y,selectedIds:de,onSelectionChange:se=>{pe(se),se.size===0&&ee(!1)},onSaveCompany:xa,onRowClick:Oe,onExport:Ht,isExporting:ce,selectAll:ie,onSelectAll:()=>ee(!0),onDeselectAll:()=>{ee(!1),pe(new Set)},onToggleFilters:()=>J(!z),showFilters:z,sortBy:U,sortDirection:Y,onSortChange:xr}),ya>1&&!w&&d.jsxs("div",{className:"mt-8 flex items-center justify-between",children:[d.jsxs("p",{className:"text-sm text-muted-foreground",children:["Page ",s," of ",ya.toLocaleString()," · ",y.toLocaleString()," companies"]}),d.jsx(g8,{currentPage:s,totalPages:ya,onPageChange:rt})]})]})})]}),d.jsx(Hq,{selectedCount:ie?y:de.size,onExport:Ht,onAddToList:Et,onClear:()=>{ee(!1),pe(new Set)},isExporting:ce}),d.jsx(Yq,{isOpen:ye,onClose:()=>R(!1),companiesV2:G,query:"",searchParamsV2:Z?Kr:void 0,totalCount:y}),d.jsx(Oq,{result:oe,isOpen:Ce,onClose:()=>Ue(!1)}),d.jsx(Kq,{isOpen:ea,onClose:()=>Ot(!1),action:Yr,returnUrl:t.pathname+t.search}),d.jsx(Jq,{isOpen:Zr,onClose:()=>{Dr(!1),n("/app/search")},action:Yr,checkResult:Bt})]})}function w8(e){const r=new Date(e),t=new Date().getTime()-r.getTime(),a=Math.floor(t/6e4),s=Math.floor(t/36e5),l=Math.floor(t/864e5);return a<1?"just now":a<60?`${a}m ago`:s<24?`${s}h ago`:l<7?`${l}d ago`:r.toLocaleDateString("en-US",{month:"short",day:"numeric"})}function S8(e){const r=[];for(const[n,t]of Object.entries(e))if(Array.isArray(t)){for(const a of t)if(typeof a=="str
516ing")r.push(a);else if(a&&typeof a=="object"&&"name"in a){const s=a;r.push(s.context&&s.context!=="any"?`${s.name}: ${s.context}`:s.name)}}else typeof t=="string"?r.push(t):typeof t=="number"&&r.push(`${n}: ${t}`);return r.slice(0,4)}function nH(){const e=$r(),{items:r,total:n,loading:t}=Uq();return t?d.jsx("div",{className:"flex items-center justify-center py-16",children:d.jsx(qt,{className:"w-5 h-5 animate-spin text-muted-foreground"})}):r.length===0?d.jsxs("div",{className:"text-center py-16",children:[d.jsx(Qn,{className:"w-10 h-10 text-muted-foreground/40 mx-auto mb-3"}),d.jsx("p",{className:"text-muted-foreground",children:"No searches yet"}),d.jsx("p",{className:"text-sm text-muted-foreground/70 mt-1",children:"Your search history will appear here."})]}):d.jsxs("div",{children:[d.jsxs("div",{className:"text-xs text-muted-foreground mb-3",children:[n," searches"]}),d.jsx("div",{className:"border border-border rounded-xl overflow-hidden",children:r.map((a,s)=>{var u;const l=S8(a.filters);return d.jsxs("button",{onClick:()=>e(y8(a.filters)),className:St("flex items-center gap-4 w-full px-4 py-3 text-left hover:bg-muted/30 transition-colors group",s>0&&"border-t border-border"),children:[d.jsx(Qn,{className:"w-4 h-4 text-muted-foreground shrink-0"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:a.query||l.join(" · ")||"All companies"}),l.length>0&&d.jsx("div",{className:"flex gap-1 mt-1 flex-wrap",children:l.map((f,p)=>d.jsx("span",{className:"text-[11px] px-1.5 py-0.5 rounded bg-muted text-muted-foreground",children:f},p))})]}),((u=a.parsed_intent)==null?void 0:u.signal_type)&&a.parsed_intent.signal_type!=="TEXT_MATCH_IN_JOBS"&&d.jsx("span",{className:"text-[11px] px-2 py-0.5 rounded-full bg-accent/10 text-accent font-medium shrink-0 hidden sm:inline",children:a.parsed_intent.signal_type.replace(/_/g," ")}),d.jsxs("span",{className:"text-xs text-muted-foreground tabular-nums shrink-0 w-20 text-right",children:[a.result_count.toLocaleString()," results"]}),d.jsx("span",{className:"text-xs text-muted-foreground shrink-0 w-16 text-right hidden sm:block",children:w8(a.created_at)}),d.jsx(es,{className:"w-4 h-4 text-muted-foreground/40 group-hover:text-accent transition-colors shrink-0"})]},a.id)})})]})}function aH(){const{session:e}=Lr(),{items:r,total:n,loading:t}=zq(),[a,s]=N.useState(null),l=async u=>{if(e!=null&&e.access_token){s(u.id);try{const f=await YE(v8(u.filters),e.access_token),p=URL.createObjectURL(f),m=document.createElement("a");m.href=p,m.download=u.filename,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(p)}catch(f){console.error("Re-download failed:",f),rr.error(f instanceof Error?f.message:"Download failed")}finally{s(null)}}};return t?d.jsx("div",{className:"flex items-center justify-center py-16",children:d.jsx(qt,{className:"w-5 h-5 animate-spin text-muted-foreground"})}):r.length===0?d.jsxs("div",{className:"text-center py-16",children:[d.jsx(i3,{className:"w-10 h-10 text-muted-foreground/40 mx-auto mb-3"}),d.jsx("p",{className:"text-muted-foreground",children:"No exports yet"}),d.jsx("p",{className:"text-sm text-muted-foreground/70 mt-1",children:"Your export history will appear here."})]}):d.jsxs("div",{children:[d.jsxs("div",{className:"text-xs text-muted-foreground mb-3",children:[n," exports"]}),d.jsx("div",{className:"border border-border rounded-xl overflow-hidden",children:r.map((u,f)=>{const p=S8(u.filters),m=a===u.id;return d.jsxs("div",{className:St("flex items-center gap-4 px-4 py-3",f>0&&"border-t border-border"),children:[d.jsx(i3,{className:"w-4 h-4 text-muted-foreground shrink-0"}),d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:u.query}),d.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[d.jsx("span",{className:"text-[11px] text-muted-foreground",children:u.filename}),p.length>0&&d.jsx("div",{className:"flex gap-1",children:p.slice(0,2).map((g,y)=>d.jsx("span",{className:"text-[11px] px-1.5 py-0.5 rounded bg-muted text-muted-foreground",children:g},y))})]})]}),d.jsxs("span",{className:"text-xs text-muted-foreground tabular-nums shrink-0 w-16 text-right",children:[u.result_count.toLocaleStr
516ing()," rows"]}),d.jsx("span",{className:"text-xs text-muted-foreground shrink-0 w-16 text-right hidden sm:block",children:w8(u.created_at)}),d.jsxs("button",{onClick:()=>l(u),disabled:m,className:"flex items-center gap-1.5 px-3 py-1.5 text-xs font-medium rounded-lg border border-border hover:bg-muted/50 transition-colors disabled:opacity-50 shrink-0",children:[m?d.jsx(qt,{className:"w-3.5 h-3.5 animate-spin"}):d.jsx(Ml,{className:"w-3.5 h-3.5"}),"Download"]})]},u.id)})})]})}function iH(){const[e,r]=N.useState("searches");return d.jsxs("div",{className:"container py-8 max-w-4xl",children:[d.jsxs("div",{className:"mb-8",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[d.jsx(h0,{className:"w-6 h-6 text-accent"}),d.jsx("h1",{className:"font-display text-2xl font-bold text-foreground",children:"History"})]}),d.jsx("p",{className:"text-muted-foreground",children:"View your past searches and exports."})]}),d.jsxs("div",{className:"flex gap-1 mb-6 bg-muted/30 rounded-lg p-1 w-fit",children:[d.jsxs("button",{onClick:()=>r("searches"),className:St("px-4 py-2 text-sm font-medium rounded-md transition-colors",e==="searches"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:[d.jsx(Qn,{className:"w-4 h-4 inline-block mr-1.5 -mt-0.5"}),"Searches"]}),d.jsxs("button",{onClick:()=>r("exports"),className:St("px-4 py-2 text-sm font-medium rounded-md transition-colors",e==="exports"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:[d.jsx(Ml,{className:"w-4 h-4 inline-block mr-1.5 -mt-0.5"}),"Exports"]})]}),e==="searches"?d.jsx(nH,{}):d.jsx(aH,{})]})}const _1={free:[{name:"Unlimited filtered searches",included:!0},{name:"See first 40 companies per search",included:!0},{name:"Export to CSV",included:!1},{name:"Save companies to lists",included:!1},{name:"Priority support",included:!1}],standard:[{name:"Unlimited filtered searches",included:!0},{name:"Full result depth â every matching company",included:!0},{name:"Export to CSV â up to 10,000 companies/mo",included:!0},{name:"Save companies to lists",included:!0},{name:"Priority support",included:!0}]};function sH(){const[e]=d0(),{session:r}=Lr(),{subscription:n,loading:t,refetch:a}=_8(),[s,l]=N.useState(!1),[u,f]=N.useState(!1),[p,m]=N.useState(null),g=N.useRef(!1);N.useEffect(()=>{e.get("success")==="true"&&(r!=null&&r.access_token)?(g.current||(g.current=!0,at.track("Upgrade Complete")),l3(r.access_token).then(()=>{m({type:"success",text:"Payment successful! Your plan has been upgraded."}),a()}).catch(()=>{m({type:"success",text:"Payment successful! Activating your plan..."}),a()})):e.get("canceled")==="true"&&m({type:"error",text:"Payment was canceled. You can try again anytime."})},[e,r==null?void 0:r.access_token,a]),N.useEffect(()=>{at.track("View Billing",{current_plan:(n==null?void 0:n.plan)||"free"})},[]),N.useEffect(()=>{r!=null&&r.access_token&&l3(r.access_token).then(()=>a()).catch(()=>{})},[r==null?void 0:r.access_token]);const y=async()=>{if(r!=null&&r.access_token){at.track("Upgrade Start"),l(!0);try{const{checkout_url:x}=await zB(r.access_token);window.location.href=x}catch(x){console.error("Checkout error:",x),m({type:"error",text:x instanceof Error?x.message:"Failed to start checkout"}),l(!1)}}},_=async()=>{if(r!=null&&r.access_token){f(!0);try{const{portal_url:x}=await BB(r.access_token);window.location.href=x}catch(x){console.error("Portal error:",x),m({type:"error",text:x instanceof Error?x.message:"Failed to open billing portal"}),f(!1)}}},w=(n==null?void 0:n.plan)==="standard"||(n==null?void 0:n.plan)==="trial",C=w?_1.standard:_1.free;return d.jsxs("div",{className:"container py-8 max-w-4xl",children:[d.jsx("h1",{className:"text-2xl font-bold mb-2",children:"Billing & Subscription"}),d.jsx("p",{className:"text-muted-foreground mb-8",children:"Manage your subscription and billing details."}),p&&d.jsxs("div",{className:`mb-6 p-4 rounded-xl flex items-center gap-3 ${p.type==="success"?"bg-green-500/10 border border-green-500/20 text-green-600":"bg-red-500/10 border border-red-500/20 text-red-600"}`,children:[p.type==="success"?d.jsx(hy,{className:"w-5 h-5 shrink-0"}):d.jsx(Oz,{className:"w-5 h-5 shrink-0"}),d.jsx("span",{className:"text-sm",children:p.text})]}),d.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"border border-border rounded-2xl p-6 bg-muted/20",children:[d.jsxs("div",{className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold",children:"Current Plan"}),d.jsx("p",{className:"text-muted-foreground text-sm",children:w?"Standard":"Free"})]}),d.jsx("div",{className:`px-3 py-1 rounded-full text-xs font-medium ${w?"bg-accent/15 text-accent border border-accent/20":"bg-muted text-muted-foreground border border-border"}`,children:w?"Active":"Free tier"})]}),t?d.jsx("div",{className:"flex items-center justify-center py-8",children:d.jsx(qt,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):d.jsxs("div",{className:"space-y-4",children:[d.jsx("div",{children:d.jsxs("div",{className:"flex items-center justify-between text-sm",children:[d.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[d.jsx(Qn,{className:"w-4 h-4"}),"Filtered searches"]}),d.jsx("span",{className:"font-medium",children:"Unlimited"})]})}),d.jsx("div",{children:d.jsxs("div",{className:"flex items-center justify-between text-sm",children:[d.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[d.jsx(da,{className:"w-4 h-4"}),"Result depth"]}),d.jsx("span",{className:"font-medium",children:(n==null?void 0:n.resultsLimit)===-1?"All matches":d.jsxs("span",{children:["First ",(n==null?void 0:n.resultsLimit)??40," companies"]})})]})}),d.jsx("div",{children:d.jsxs("div",{className:"flex items-center justify-between text-sm mb-1.5",children:[d.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[d.jsx(Ml,{className:"w-4 h-4"}),"CSV exports"]}),d.jsx("span",{className:"font-medium",children:n!=null&&n.canExport?"up to 10,000 companies/mo":d.jsx("span",{className:"text-muted-foreground",children:"Not available"})})]})}),d.jsx("div",{children:d.jsxs("div",{className:"flex items-center justify-between text-sm",children:[d.jsxs("span",{className:"flex items-center gap-2 text-muted-foreground",children:[d.jsx(ku,{className:"w-4 h-4"}),"Save companies"]}),d.jsx("span",{className:"font-medium",children:n!=null&&n.canSave?d.jsx(da,{className:"w-4 h-4 text-accent"}):d.jsx("span",{className:"text-muted-foreground",children:"Not available"})})]})})]}),w&&d.jsxs(vt,{variant:"outline",className:"w-full mt-6 gap-2",onClick:_,disabled:u,children:[u?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(py,{className:"w-4 h-4"}),"Manage subscription",d.jsx(mz,{className:"w-4 h-4"})]})]}),!w&&d.jsxs("div",{className:"border border-accent/30 bg-accent/5 rounded-2xl p-6",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[d.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-amber-400 to-orange-500 flex items-center justify-center shadow-lg shadow-orange-500/25",children:d.jsx(GE,{className:"w-5 h-5 text-white"})}),d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold",children:"Standard"}),d.jsx("p",{className:"text-muted-foreground text-sm",children:"For growing teams"})]})]}),d.jsxs("div",{className:"mb-6",children:[d.jsx("span",{className:"text-3xl font-bold",children:"$79"}),d.jsx("span",{className:"text-muted-foreground",children:"/month"})]}),d.jsx("ul",{className:"space-y-3 mb-6",children:_1.standard.map(x=>d.jsxs("li",{className:"flex items-center gap-2 text-sm",children:[d.jsx(da,{className:"w-4 h-4 text-accent shrink-0"}),d.jsx("span",{children:x.name})]},x.name))}),d.jsxs(vt,{className:"w-full h-11 bg-accent hover:bg-accent/90 text-white font-medium",onClick:y,disabled:s||!r,children:[s?d.jsx(qt,{className:"w-4 h-4 animate-spin mr-2"}):null,r?"Upgrade to Standard":"Sign in to upgrade"]}),d.jsx("p",{className:"text-xs text-muted-foreground text-center mt-3",children:"Cancel anytime. 14-day money-back guarantee."})]}),w&&d.jsxs("div",{className:"border border-border rounded-2xl p-6 bg-background",children:[d.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Your Features"}),d.jsx("ul",{className:"space-y-3",children:C.map(x=>d.jsxs("li",{className:"flex items-center gap-2 text-sm",children:[x.included?d.jsx(da,{className:"w-4 h-4 text-accent shrink-0"}):d.jsx("span",{className:"w-4 h-4 shrink-0"}),d.jsx("span",{className:x.included?"":"text-muted-foreground",children:x.name})]},x.name))})]})]})]})}const oH={color:"#18181B",lineHeight:1.75,fontSize:"1rem"},lH={fontSize:"2.25rem",fontWeight:700,color:"#18181B",marginBottom:"0.5rem",lineHeight:1.2},ri={fontSize:"1.375rem",fontWeight:600,color:"#18181B",marginTop:"2.5rem",marginBottom:"0.75rem",lineHeight:1.3},Nn={marginBottom:"1rem",color:"#374151"},y3={paddingLeft:"1.5rem",marginBottom:"1rem",color:"#374151"},ni={marginBottom:"0.375rem",listStyleType:"disc"},b3={color:"#6366f1",textDecoration:"underline",textUnderlineOffset:"2px"};function cH(){return d.jsx("div",{style:{background:"#FAFAF8",paddingTop:"5rem",paddingBottom:"5rem"},children:d.jsx("div",{className:"container",style:{maxWidth:"48rem",marginInline:"auto"},children:d.jsxs("article",{style:oH,children:[d.jsx("h1",{style:lH,children:"Privacy Policy"}
516),d.jsx("p",{style:{color:"#9CA3AF",fontSize:"0.875rem",marginBottom:"2rem"},children:"Last updated: February 25, 2026"}),d.jsx("p",{style:Nn,children:'Echoloc ("we", "us", "our") operates the echoloc.ai website and API services. This policy explains what data we collect, why, and how we handle it.'}),d.jsx("h2",{style:ri,children:"What We Collect"}),d.jsxs("p",{style:Nn,children:[d.jsx("strong",{children:"Account data."})," When you sign up, we collect your name, email address, and company name. If you subscribe to a paid plan, Stripe processes your payment â we never store your credit card details."]}),d.jsxs("p",{style:Nn,children:[d.jsx("strong",{children:"Usage data."})," We collect basic analytics: pages visited, features used, API calls made. This helps us improve the product."]}),d.jsxs("p",{style:Nn,children:[d.jsx("strong",{children:"Cookies."})," We use essential cookies to keep you logged in and analytics cookies to understand usage patterns. No advertising cookies."]}),d.jsx("h2",{style:ri,children:"What We Don't Collect"}),d.jsx("p",{style:Nn,children:"We don't collect personal data from job postings. Our database contains publicly available business information derived from job listings â company names, job titles, technologies mentioned, and hiring signals. We do not store personal data of job applicants or candidates."}),d.jsx("h2",{style:ri,children:"How We Use Your Data"}),d.jsxs("ul",{style:y3,children:[d.jsx("li",{style:ni,children:"To provide and maintain our service"}),d.jsx("li",{style:ni,children:"To process payments"}),d.jsx("li",{style:ni,children:"To communicate with you about your account"}),d.jsx("li",{style:ni,children:"To improve the product"})]}),d.jsx("p",{style:Nn,children:"We don't sell your personal data. We don't share it with third parties except as needed to run the service (Stripe for payments, hosting providers for infrastru
516cture)."}),d.jsx("h2",{style:ri,children:"Data Retention"}),d.jsx("p",{style:Nn,children:"We keep your account data as long as your account is active. If you delete your account, we remove your personal data within 30 days. Anonymized usage analytics may be retained."}),d.jsx("h2",{style:ri,children:"Your Rights"}),d.jsx("p",{style:Nn,children:"Under GDPR, you have the right to:"}),d.jsxs("ul",{style:y3,children:[d.jsxs("li",{style:ni,children:[d.jsx("strong",{children:"Access"})," your personal data"]}),d.jsxs("li",{style:ni,children:[d.jsx("strong",{children:"Correct"})," inaccurate data"]}),d.jsxs("li",{style:ni,children:[d.jsx("strong",{children:"Delete"})," your account and personal data"]}),d.jsxs("li",{style:ni,children:[d.jsx("strong",{children:"Export"})," your data in a portable format"]}),d.jsxs("li",{style:ni,children:[d.jsx("strong",{children:"Object"})," to processing"]})]}),d.jsxs("p",{style:Nn,children:["To exercise any of these rights, email us at"," ",d.jsx("a",{href:"mailto:[email protected]",style:b3,children:"[email protected]"}),"."]}),d.jsx("h2",{style:ri,children:"Data Location"}),d.jsx("p",{style:Nn,children:"Our servers are located in the European Union. If data is transferred outside the EU, we ensure appropriate safeguards are in place."}),d.jsx("h2",{style:ri,children:"Security"}),d.jsx("p",{style:Nn,children:"We use industry-standard security measures including encryption in transit (TLS), encrypted storage, and access controls. No system is 100% secure, but we take reasonable steps to protect your data."}),d.jsx("h2",{style:ri,children:"Changes"}),d.jsx("p",{style:Nn,children:"We may update this policy from time to time. We'll notify you of significant changes via email."}),d.jsx("h2",{style:ri,children:"Contact"}),d.jsxs("p",{style:Nn,children:["Questions about this policy? Email"," ",d.jsx("a",{href:"mailto:[email protected]",style:b3,children:"[email protected]"}),"."]})]})})})}const uH={color:"#18181B",lineHeight:1.75,fontSize:"1rem"},dH={fontSize:"2.25rem",fontWeight:700,color:"#18181B",marginBottom:"0.5rem",lineHeight:1.2},hn={fontSize:"1.375rem",fontWeight:600,color:"#18181B",marginTop:"2.5rem",marginBottom:"0.75rem",lineHeight:1.3},Gr={marginBottom:"1rem",color:"#374151"},w1={paddingLeft:"1.5rem",marginBottom:"1rem",color:"#374151"},pn={marginBottom:"0.375rem",listStyleType:"disc"},fH={color:"#6366f1",textDecoration:"underline",textUnderlineOffset:"2px"};function hH(){return d.jsx("div",{style:{background:"#FAFAF8",paddingTop:"5rem",paddingBottom:"5rem"},children:d.jsx("div",{className:"container",style:{maxWidth:"48rem",marginInline:"auto"},children:d.jsxs("article",{style:uH,children:[d.jsx("h1",{style:dH,children:"Terms of Use"}),d.jsx("p",{style:{color:"#9CA3AF",fontSize:"0.875rem",marginBottom:"2rem"},children:"Last updated: February 25, 2026"}),d.jsx("p",{style:Gr,children:`These terms govern your use of Echoloc's website, application, and API services ("Service"). By using the Service, you agree to these terms.`}),d.jsx("h2",{style:hn,children:"What Echoloc Does"}),d.jsx("p",{style:Gr,children:"Echoloc provides business intelligence derived from publicly available job posting data. We aggregate, analyze, and enrich job posting information to generate hiring signals and buyer intent data for B2B sales and market research purposes."}),d.jsx("h2",{style:hn,children:"Your Account"}),d.jsx("p",{style:Gr,children:"You must provide accurate information when creating an account. You're responsible for keeping your login credentials secure. One account per person â don't share access unless you're on a team plan."}),d.jsx("h2",{style:hn,children:"Acceptable Use"}),d.jsx("p",{style:Gr,children:"You may use Echoloc data for:"}),d.jsxs("ul",{style:w1,children:[d.jsx("li",{style:pn,children:"B2B sales prospecting and lead generation"}),d.jsx("li",{style:pn,children:"Market research and competitive analysis"}),d.jsx("li",{style:pn,children:"Investment research"}),d.jsx("li",{style:pn,children:"Building products via our API (with an API subscription)"})]}),d.jsx("p",{style:Gr,children:"You may NOT:"}),d.jsxs("ul",{style:w1,children:[d.jsx("li",{style:pn,children:"Use the data to make employment decisions about individuals"}),d.jsx("li",{style:pn,children:"Scrape, resell, or redistribute raw data without an API agreement"}),d.jsx("li",{style:pn,children:"Attempt to identify or contact individual job applicants"}),d.jsx("li",{style:pn,children:"Use the service for any illegal purpose"}
516),d.jsx("li",{style:pn,children:"Reverse-engineer our systems or circumvent rate limits"}),d.jsx("li",{style:pn,children:"Access the service with bots, scripts, or other automated means outside our official API"})]}),d.jsx("h2",{style:hn,children:"Fair Use"}),d.jsx("p",{style:Gr,children:"Paid plans include unlimited filtered searches under fair use. Fair use reflects human research workflows and includes technical limits â currently a browsing depth of up to 1,000 companies per search, a daily search allowance, and a daily result-volume allowance â which no ordinary use of the product approaches. CSV exports are metered separately by your plan's monthly export credits. We may adjust these technical limits to protect the service, and may throttle or suspend accounts engaged in systematic bulk extraction. If you need the data at volume, that's what our API and licensing agreements are for: [email protected]."}),d.jsx("h2",{style:hn,children:"API Terms"}),d.jsx("p",{style:Gr,children:"If you access our data via API:"}),d.jsxs("ul",{style:w1,children:[d.jsx("li",{style:pn,children:"You must keep your API key confidential"}),d.jsx("li",{style:pn,children:"Usage is subject to rate limits per your plan"}),d.jsx("li",{style:pn,children:"You may integrate our data into your product (whitelabel) under your API agreement"}),d.jsx("li",{style:pn,children:"We may suspend access if usage significantly exceeds your plan limits after notice"})]}),d.jsx("h2",{style:hn,children:"Data Accuracy"}),d.jsx("p",{style:Gr,children:"We do our best to provide accurate, timely data, but we don't guarantee that job posting data is complete, current, or error-free. Job postings are sourced from publicly available information and may be outdated or removed. Use the data as one input in your decision-making, not as the sole basis."}),d.jsx("h2",{style:hn,children:"Payment and Billing"}),d.jsx("p",{style:Gr,children:"Paid plans are billed monthly or annually via Stripe. You can cancel anytime â your access continues until the end of the billing period. No refunds for partial periods. We may change pricing with 30 days notice."}),d.jsx("h2",{style:hn,children:"Intellectual Property"}),d.jsx("p",{style:Gr,children:"Our platform, algorithms, enrichment models, and aggregated datasets are our intellectual property. Your use of the Service doesn't transfer any ownership rights."}),d.jsx("p",{style:Gr,children:"You retain ownership of any data you upload or create using the Service."}),d.jsx("h2",{style:hn,children:"Limitation of Liability"}),d.jsx("p",{style:Gr,children:"To the maximum extent permitted by law, Echoloc's total liability is limited to the amount you paid us in the 12 months prior to the claim. We are not liable for indirect, incidental, or consequential damages, including lost profits or lost data."}),d.jsx("h2",{style:hn,children:"Service Availability"}),d.jsx("p",{style:Gr,children:"We aim for high availability but don't guarantee 100% uptime. We may perform maintenance with reasonable notice. We're not liable for downtime or service interruptions."}),d.jsx("h2",{style:hn,children:"Termination"}),d.jsx("p",{style:Gr,children:"You can close your account at any time. We may terminate or suspend your account if you violate these terms, with notice where practical. On termination, your right to use the Service ends and we may delete your account data after 30 days."}),d.jsx("h2",{style:hn,children:"Changes"}),d.jsx("p",{style:Gr,children:"We may update these terms. We'll notify you of material changes via email at least 14 days before they take effect. Continued use after changes means you accept the new terms."}),d.jsx("h2",{style:hn,children:"Governing Law"}),d.jsx("p",{style:Gr,children:"These terms are governed by the laws of Portugal. Any disputes will be resolved in the courts of Delaware, United States."}),d.jsx("h2",{style:hn,children:"Contact"}),d.jsxs("p",{style:Gr,children:["Questions? Email"," ",d.jsx("a",{href:"mailto:[email protected]",style:fH,children:"[email protected]"}),"."]})]})})})}const fa="https://api.echoloc.ai",S1="https://api.echoloc.ai/docs";function pH(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function E8(e){return pH(e).split(` 517`).map(r=>{const n=r.trimStart();return n.startsWith("#")||n.startsWith("//")?`<span class="tok-com">${r}</span>`:r.replace(/("(?:[^"\\]|\\.)*")/g,'<span class="tok-str">$1</span>')}).join(` 518`)}const mH=[{key:"curl",label:"cURL"},{key:"js",label:"JavaScript"},{key:"python",label:"Python"}];function Gi({samples:e,title:r}){var p;const n=mH.filter(m=>e[m.key]),[t,a]=N.useState(((p=n[0])==null?void 0:p.key)??"curl"),[s,l]=N.useState(!1),u=e[t]??"",f=async()=>{try{await navigator.clipboard.writeText(u),l(!0),setTimeout(()=>l(!1),1400)}catch{}};
518return d.jsxs("div",{className:"code-panel rounded-2xl overflow-hidden border",children:[d.jsxs("div",{className:"flex items-center justify-between px-3 pt-2.5 pb-0 gap-2",children:[d.jsx("div",{className:"flex items-center gap-1",children:n.map(m=>d.jsx("button",{onClick:()=>a(m.key),className:"px-2.5 py-1 rounded-md text-[12px] font-mono-data transition-colors",style:t===m.key?{background:"var(--accent)",color:"#fff"}:{color:"#9b9bb4"},children:m.label},m.key))}),d.jsx("button",{onClick:f,className:"flex items-center gap-1.5 px-2.5 py-1 rounded-md text-[11px] font-mono-data text-[#9b9bb4] hover:text-white transition-colors",children:s?d.jsxs(d.Fragment,{children:[d.jsx("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),"Copied"]}):d.jsxs(d.Fragment,{children:[d.jsxs("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:[d.jsx("rect",{x:"9",y:"9",width:"11",height:"11",rx:"2"}),d.jsx("path",{d:"M5 15V5a2 2 0 012-2h10"})]}),"Copy"]})})]}),r&&d.jsx("div",{className:"px-4 pt-1 pb-1 text-[11px] font-mono-data text-[#6b6b80]",children:r}),d.jsx("pre",{className:"px-4 pb-4 pt-2 overflow-x-auto text-[12.5px] leading-[1.7]",children:d.jsx("code",{className:"font-mono-data",dangerouslySetInnerHTML:{__html:E8(u)}})})]})}function kc({m:e}){const r=e==="GET"?{bg:"rgba(16,185,129,0.12)",fg:"#059669"}:{bg:"rgba(99,102,241,0.12)",fg:"#4f46e5"};return d.jsx("span",{className:"px-2 py-0.5 rounded-md text-[11px] font-bold font-mono-data",style:{background:r.bg,color:r.fg},children:e})}function Nc({children:e}){return d.jsx("code",{className:"font-mono-data text-[13px] text-foreground/90 break-all",children:e})}function Ma({rows:e,head:r="Parameter"}){return d.jsx("div",{className:"overflow-hidden rounded-xl border border-[#ECE9E3] my-4",children:d.jsxs("table",{className:"w-full text-left text-sm",children:[d.jsx("thead",{children:d.jsxs("tr",{className:"bg-[#F5F3EF] text-[11px] uppercase tracking-wider text-muted-foreground font-mono-data",children:[d.jsx("th",{className:"px-3.5 py-2 font-medium",children:r}),d.jsx("th",{className:"px-3.5 py-2 font-medium",children:"Type"}),d.jsx("th",{className:"px-3.5 py-2 font-medium",children:"Description"})]})}),d.jsx("tbody",{className:"divide-y divide-[#F0EDE8]",children:e.map(n=>d.jsxs("tr",{className:"align-top",children:[d.jsx("td",{className:"px-3.5 py-2.5 font-mono-data text-[12.5px] text-foreground whitespace-nowrap",children:n[0]}),d.jsx("td",{className:"px-3.5 py-2.5 font-mono-data text-[12px] text-accent whitespace-nowrap",children:n[1]}),d.jsx("td",{className:"px-3.5 py-2.5 text-[13px] text-muted-foreground leading-relaxed",children:n[2]})]},n[0]))})]})})}function ka({id:e,eyebrow:r,children:n}){return d.jsxs("div",{id:e,className:"scroll-mt-24",children:[r&&d.jsx("div",{className:"font-mono-data text-[11px] uppercase tracking-[0.16em] text-accent mb-1.5",children:r}),d.jsx("h2",{className:"text-2xl md:text-[1.75rem] font-bold tracking-tight",children:n})]})}const ha="YOUR_API_KEY",x3=`{ 519 "company_id": "3589", 520 "name": "Walgreens", 521 "domain": "walgreens.com", 522 "industry": "Retail Pharmacies", 523 "country": "United States", 524 "employees_range_min": 10001, 525 "hiring": { 526 "total_active_jobs": 9724, 527 "hiring_velocity": "accelerating" 528 }, 529 "technologies": [ 530 { "name": "AWS", "count": 12 }, 531 { "name": "Python", "count": 8 } 532 ], 533 "tech_using": ["AWS", "Python"] 534}`,gH={curl:`curl "${fa}/api/corporate/v1/companies?domain=walgreens.com" \\ 535 -H "X-API-Key: ${ha}"`,js:`const res = await fetch( 536 "${fa}/api/corporate/v1/companies?domain=walgreens.com", 537 { headers: { "X-API-Key": "${ha}" } } 538); 539const company = await res.json();`,python:`import requests 540 541res = requests.get( 542 "${fa}/api/corporate/v1/companies", 543 params={"domain": "walgreens.com"}, 544 headers={"X-API-Key": "${ha}"}, 545) 546company = res.json()`},vH={curl:`curl "${fa}/api/corporate/v1/companies/by-technologies" \\ 547 -H "X-API-Key: ${ha}" \\ 548 -H "Content-Type: application/json" \\ 549 -d '{ 550 "technologies": ["Stripe"], 551 "country": "United Kingdom", 552 "employees_min": 200, 553 "page": 1, 554 "page_size": 20 555 }'`,js:`const res = await fetch( 556 "${fa}/api/corporate/v1/companies/by-technologies", 557 { 558 method: "POST", 559 headers: { 560 "X-API-Key": "${ha}", 561 "Content-Type": "application/json", 562 }, 563 body: JSON.stringify({ 564 technologies: ["Stripe"], 565 country: "United Kingdom", 566 employees_min: 200, 567 page: 1, 568 page_size: 20, 569 }), 570 } 571); 572const { results, total } = await res.json();`,python:`import requests 573 574res = requests.post( 575 "${fa}/api/corporate/v1/companies/by-technologies", 576 headers={"X-API-Key": "${ha}"}, 577 json={ 578 "technologies": ["Stripe"], 579 "country": "United Kingdom", 580 "employees_min": 200, 581 "page": 1, 582 "page_size": 20, 583 }, 584) 585data = res.json()`},yH=`{ 586 "technologies": ["Python", "AWS"], 587 "match": "any", 588 "total": 91025, 589 "page": 1, 590 "page_size": 20, 591 "total_pages": 4552, 592 "results": [ 593 { 594 "company_id": "9123", 595 "name": "Agoda", 596 "domain": "agoda.com", 597 "country": "Thailand", 598 "usage_count": 1061, 599 "matched_technologies": ["Python", "AWS"], 600 "technologies": [ 601 { "name": "Python", "count": 800 }, 602 { "name": "AWS", "count": 261 } 603 ] 604 } 605 ] 606}`,bH={curl:`curl "${fa}/api/corporate/v1/technologies?page=1&page_size=50&sort=count" \\ 607 -H "X-API-Key: ${ha}"`,js:`const res = await fetch( 608 "${fa}/api/corporate/v1/technologies?page=1&page_size=50&sort=count", 609 { headers: { "X-API-Key": "${ha}" } } 610); 611const { technologies } = await res.json();`,python:`import requests 612 613res = requests.get( 614 "${fa}/api/corporate/v1/technologies", 615 params={"page": 1, "page_size": 50, "sort": "count"}, 616 headers={"X-API-Key": "${ha}"}, 617) 618catalog = res.json()`},xH=`{ 619 "total": 10612, 620 "page": 1, 621 "page_size": 50, 622 "total_pages": 213, 623 "sort": "count", 624 "technologies": [ 625 { "name": "Python", "company_count": 75665 }, 626 { "name": "AWS", "company_count": 54181 }, 627 { "name": "Power BI", "company_count": 51518 } 628 ] 629}`,_H={curl:`curl "${fa}/api/corporate/v1/companies?domain=stripe.com" \\ 630 -H "X-API-Key: ${ha}"`},wH=[{h:"Getting started",items:[["overview","Overview"],["auth","Authentication"],["mcp","MCP server"],["errors","Errors"],["pagination","Pagination"]]},{h:"Endpoints",items:[["get-company","Get a company"],["by-tech","Search by technology"],["list-tech","List technologies"],["catalogs","Countries & industries"]]},{h:"Reference",items:[["schemas","Schemas"]]}];function SH(){return d.jsxs("div",{style:{background:"#FAFAF8"},children:[d.jsxs("section",{className:"relative overflow-hidden border-b border-[#
630ECE9E3]",children:[d.jsx("div",{"aria-hidden":!0,className:"absolute inset-0",style:{background:"radial-gradient(ellipse 80% 70% at 75% 20%, oklch(0.62 0.20 270 / 0.10), transparent 60%)"}}),d.jsx("div",{className:"container relative z-10 pt-16 pb-14 md:pt-20 md:pb-16",children:d.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 items-center",children:[d.jsxs("div",{className:"lg:col-span-6",children:[d.jsxs("div",{className:"inline-flex items-center gap-2.5 px-3.5 py-1.5 rounded-full bg-foreground/[0.04] border border-foreground/[0.08] mb-6",children:[d.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-accent"}),d.jsx("span",{className:"font-mono-data text-[11px] uppercase tracking-[0.14em] text-foreground/70",children:"Developer API"}),d.jsx("span",{className:"px-1.5 py-0.5 rounded bg-foreground text-background font-bold text-[10px] font-mono-data",children:"v1"})]}),d.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-[3.4rem] font-[800] leading-[1.05] tracking-[-0.035em] mb-5",children:["The company",d.jsx("br",{}),"intelligence ",d.jsx("span",{style:{color:"var(--accent)"},children:"API"})]}),d.jsxs("p",{className:"text-lg text-muted-foreground leading-relaxed max-w-xl mb-8",children:["Programmatic access to a signal-rich technographic dataset â"," ",d.jsx("strong",{className:"text-foreground font-semibold",children:"360,000+ companies"}),","," ",d.jsx("strong",{className:"text-foreground font-semibold",children:"10,000+ technologies"}),", and the"," ",d.jsx("strong",{className:"text-foreground font-semibold",children:"direction of change"}),": what each company is adopting, evaluating, and replacing. A stable, versioned REST API for enrichment, ICP scoring, and intent."]}),d.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[d.jsx("a",{href:"/auth?mode=signup&returnTo=%2Fapp%2Fapi",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl bg-[#18181B] text-white font-semibold text-sm hover:bg-[#18181B]/90 transition-colors",children:"Get a free API key"}),d.jsxs("a",{href:S1,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl border border-[#E5E5E5] bg-white text-foreground font-semibold text-sm hover:border-foreground
630/30 transition-colors",children:["Interactive reference",d.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 17L17 7M17 7H9M17 7v8"})})]})]})]}),d.jsx("div",{className:"lg:col-span-6",children:d.jsxs("div",{className:"code-panel rounded-2xl overflow-hidden border shadow-2xl",style:{boxShadow:"0 40px 80px -28px oklch(0.52 0.28 270 / 0.30)"},children:[d.jsxs("div",{className:"flex items-center gap-1.5 px-4 py-3 border-b border-white/10",children:[d.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-white/20"}),d.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-white/20"}),d.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-white/20"}),d.jsx("span",{className:"ml-2 font-mono-data text-[11px] text-[#9b9bb4]",children:"GET /companies?domain=walgreens.com"})]}),d.jsx("pre",{className:"px-4 py-4 overflow-x-auto text-[12.5px] leading-[1.7]",children:d.jsx("code",{className:"font-mono-data",dangerouslySetInnerHTML:{__html:E8(x3)}})})]})})]})})]}),d.jsx("section",{className:"border-b border-[#ECE9E3]",children:d.jsx("div",{className:"container py-7",children:d.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6",children:[["440K+","companies with technographics"],["10,000+","technologies tracked"],["3","REST endpoints"],["Daily","data refresh"]].map(([e,r])=>d.jsxs("div",{children:[d.jsx("div",{className:"font-mono-data text-2xl md:text-3xl font-semibold text-foreground tracking-tight",children:e}),d.jsx("div",{className:"text-[13px] text-muted-foreground mt-0.5",children:r})]},r))})})}),d.jsx("section",{className:"border-b border-[#ECE9E3]",children:d.jsxs("div",{className:"container py-14",children:[d.jsxs("div",{className:"max-w-2xl mb-10",children:[d.jsx("div",{className:"font-mono-data text-[11px] uppercase tracking-[0.16em] text-accent mb-2",children:"What it's for"}),d.jsx("h2",{className:"text-2xl md:text-3xl font-bold tracking-tight mb-3",children:"Turn any domain into a sales signal"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"The same dataset that powers echoloc's product, exposed as clean JSON for server-to-server use. It goes beyond front-end tools detectable from websites â backend, data infrastructure, cloud, AI tooling, and business systems â and tracks the direction of change: what companies are adopting, evaluating, and replacing."})]}),d.jsx("div",{className:"grid md:grid-cols-3 gap-5",children:[{t:"Enrich your CRM",d:"Resolve any domain to firmographics, employee range, hiring activity, and a full technology stack â in one call."},{t:"Score intent & build lists",d:"Find every company using Snowflake, HubSpot, or any of 10,000+ technologies â ranked by usage. Each profile carries intent signals: what theyâre adopting, evaluating, and replacing."},{t:"Market analysis",d:"Query the technology catalog with company-counts to size markets, track adoption, and map the competitive landscape."}].map(e=>d.jsxs("div",{className:"rounded-2xl border border-[#ECE9E3] bg-white p-6",children:[d.jsx("h3",{className:"text-lg font-bold mb-2 tracking-tight",children:e.t}),d.jsx("p",{className:"text-[14px] text-muted-foreground leading-relaxed",children:e.d})]},e.t))})]})}),d.jsx("div",{className:"container py-14",children:d.jsxs("div",{className:"grid lg:grid-cols-12 gap-12",children:[d.jsx("aside",{className:"hidden lg:block lg:col-span-3",children:d.jsxs("nav",{className:"sticky top-24 space-y-6",children:[wH.map(e=>d.jsxs("div",{children:[d.jsx("div",{className:"font-mono-data text-[11px] uppercase tracking-[0.14em] text-muted-foreground/70 mb-2",children:e.h}),d.jsx("ul",{className:"space-y-1.5",children:e.items.map(([r,n])=>d.jsx("li",{children:d.jsx("a",{href:`#${r}`,className:"text-[14px] text-muted-foreground hover:text-accent transition-colors",children:n})},r))})]},e.h)),d.jsxs("a",{href:S1,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-[13px] font-medium text-accent hover:underline",children:["Open in Swagger",d.jsx("svg",{className:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 17L17 7M17 7H9M17 7v8"})})]})]})}),d.jsxs("main",{className:"lg:col-span-9 max-w-3xl",children:[d.jsxs("div",{id:"overview",className:"scroll-mt-24",children:[d.jsx(ka,{id:"overview-h",eyebrow:"Getting started",children:"Overview"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mt-4",children:"A stable, versioned REST API for server-to-server integrations. Responses are JSON. All endpoints live under the version prefix below."}),d.jsx(Ma,{head:"Detail",rows:[["Base URL","string",fa],["Version prefix","string","/api/corporate/v1"],["Content type","string","application/json"],["Interactive reference","url","api.echoloc.ai/docs (OpenAPI / Swagger)"]]})]}),d.jsxs("div",{className:"mt-14",children:[d.jsx(ka,{id:"auth",children:"Authentication"}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-4 mb-2",children:["Every request must include your key in the ",d.jsx("code",{className:"font-mono-data text-[13px] text-accent",children:"X-API-Key"})," header. A missing or invalid key returns ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"401 Unauthorized"}),". Two key tiers:"]}),d.jsxs("ul",{className:"text-muted-foreground leading-relaxed mb-2 space-y-2 list-disc pl-5",children:[d.jsxs("li",{children:[d.jsx("strong",{className:"text-foreground font-semibold",children:"Beta"})," â self-serve, free."," ",d.jsx("a",{href:"/auth?mode=signup&returnTo=%2Fapp%2Fapi",className:"text-accent hover:underline",children:"Sign up"})," ","and your key is waiting in the app under ",d.jsx("strong",{className:"text-foreground font-semibold",children:"API"}),". 100 requests per month, resets on the 1st â enough to evaluate the data. Over-limit requests return"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"429"}),"."]}),d.jsxs("li",{children:[d.jsx("strong",{className:"text-foreground font-semibold",children:"Production"})," â higher limits, bulk feeds, custom slices, licensing. Email"," ",d.jsx("a",{href:"mailto:[email protected]?subject=API%20production%20access",className:"text-accent hover:underline",children:"[email protected]"}),"."]})]}),d.jsx(Gi,{samples:_H})]}),d.jsxs("div",{className:"mt-14",children:[d.jsx(ka,{id:"mcp",children:"MCP server"}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-4 mb-2",children:["The same dataset is exposed as a remote"," ",d.jsx("a",{href:"https://modelcontextprotocol.io",target:"_blank",rel:"noopener noreferrer",className:"text-accent hover:underline",children:"Model Context Protocol"})," ","server, so AI assistants (Claude, Cursor, and any MCP client) can call it as native tools:"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"search_companies_by_technologies"}),","," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"get_company_by_domain"}),","," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"list_technologies"}),". Endpoint"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"https://api.echoloc.ai/mcp"})," (Streamable HTTP), same"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"X-API-Key"}
630)," auth and credits as the REST API. Registry name: ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"ai.echoloc/company-technographics"}),"."]}),d.jsx(Gi,{samples:{curl:`claude mcp add --transport http echoloc https://api.echoloc.ai/mcp \\ 631 --header "X-API-Key: ${ha}"`},title:"Add to Claude Code"})]}),d.jsxs("div",{className:"mt-14",children:[d.jsx(ka,{id:"errors",children:"Errors"}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-4",children:["Standard HTTP status codes, with a JSON body of the form"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:'{ "detail": "..." }'}),"."]}),d.jsx(Ma,{head:"Status",rows:[["400","Bad Request","Malformed request."],["401","Unauthorized","Missing or invalid X-API-Key."],["404","Not Found","No resource matched (e.g. no company for the domain)."],["422","Unprocessable","Validation failed (e.g. empty technologies, page_size out of range)."],["429","Too Many Requests","Beta key monthly limit reached â resets on the 1st, or upgrade via [email protected]."]]})]}),d.jsxs("div",{className:"mt-14",children:[d.jsx(ka,{id:"pagination",children:"Pagination"}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mt-4",children:["List endpoints accept ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"page"})," (1-based) and"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"page_size"}),", and return a consistent envelope around a"," ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"results"})," (or ",d.jsx("code",{className:"font-mono-data text-[13px]",children:"technologies"}),") array."]}),d.jsx(Ma,{head:"Field",rows:[["total","integer","Total matching records."],["page","integer","Current page."],["page_size","integer","Records per page."],["total_pages","integer","Total number of pages."]]})]}),d.jsxs("div",{className:"mt-16 pt-2",children:[d.jsx(ka,{id:"get-company",eyebrow:"Endpoint",children:"Get a company by domain"}),d.jsxs("div",{className:"flex items-center gap-2.5 mt-4 mb-3 p-3 rounded-xl bg-[#F5F3EF] border border-[#ECE9E3]",children:[d.jsx(kc,{m:"GET"}),d.jsx(Nc,{children:"/api/corporate/v1/companies"})]}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mb-2",children:"Resolves a domain to a single company. When several records share a domain, the most prominent one is returned (ranked by LinkedIn employee count, then followers)."}),d.jsx("h4",{className:"text-sm font-semibold mt-5 mb-1",children:"Query parameters"}),d.jsx(Ma,{rows:[["domain","string · required","Company domain. Any form is accepted and normalized server-side (scheme, www, path, query stripped; lowercased)."]]}),d.jsxs("p",{className:"text-[13px] text-muted-foreground leading-relaxed mb-4",children:["Not reduced to eTLD+1 â send the primary domain (",d.jsx("code",{className:"font-mono-data text-[12px]",children:"careers.stripe.com"})," won't match ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"stripe.com"}),")."]}),d.jsxs("div",{className:"grid md:grid-cols-2 gap-3 items-start",children:[d.jsx(Gi,{samples:gH,title:"Request"}),d.jsx(Gi,{samples:{curl:x3},title:"200 OK"})]})]}),d.jsxs("div",{className:"mt-16",children:[d.jsx(ka,{id:"by-tech",eyebrow:"Endpoint",children:"Search companies by technology"}),d.jsxs("div",{className:"flex items-center gap-2.5 mt-4 mb-3 p-3 rounded-xl bg-[#F5F3EF] border border-[#ECE9E3]",children:[d.jsx(kc,{m:"POST"}),d.jsx(Nc,{children:"/api/corporate/v1/companies/by-technologies"})]}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mb-2",children:"Returns companies that use the given technologies, ranked by total usage (descending). Names are matched case-insensitively."}),d.jsx("h4",{className:"text-sm font-semibold mt-5 mb-1",children:"Request body"}),d.jsx(Ma,{head:"Field",rows:[["technologies","string[] · required","Technology names to match (⥠1). Case-insensitive."],["match","string",'"any" (uses at least one â OR) or "all" (uses every one â AND). Default "any".'],["country","string",'Filter by exact country name, e.g. "United Kingdom". Valid values: GET /countries.'],["industry","string",'Filter by exact industry name, e.g. "Financial Services". Valid values: GET /industries.'],["employees_min","integer","Only companies whose size band overlaps [employees_min, employees_max]."],["employees_max","integer","Upper bound of the size filter. Both boun
631ds optional."],["exclude_agencies","boolean","Default true: staffing, outsourcing, consulting and agency industries are excluded so results are end-user companies. Pass false to include them. Ignored when industry is set."],["page","integer","Page number (⥠1). Default 1."],["page_size","integer","Results per page (1â100). Default 20."]]}),d.jsxs("p",{className:"text-[13px] text-muted-foreground mb-4",children:["Each result is a ",d.jsx("a",{href:"#schemas",className:"text-accent hover:underline",children:"Company"})," extended with"," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"usage_count"})," and"," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"matched_technologies"}),"."]}),d.jsxs("div",{className:"grid md:grid-cols-2 gap-3 items-start",children:[d.jsx(Gi,{samples:vH,title:"Request"}),d.jsx(Gi,{samples:{curl:yH},title:"200 OK"})]})]}),d.jsxs("div",{className:"mt-16",children:[d.jsx(ka,{id:"list-tech",eyebrow:"Endpoint",children:"List technologies"}),d.jsxs("div",{className:"flex items-center gap-2.5 mt-4 mb-3 p-3 rounded-xl bg-[#F5F3EF] border border-[#ECE9E3]",children:[d.jsx(kc,{m:"GET"}),d.jsx(Nc,{children:"/api/corporate/v1/technologies"})]}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-2",children:["The full catalog of technologies in the dataset (10,600+), paginated, with the number of companies using each. Use ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"search"})," to check how a technology is spelled in the taxonomy before filtering by it."]}),d.jsx("h4",{className:"text-sm font-semibold mt-5 mb-1",children:"Query parameters"}),d.jsx(Ma,{rows:[["page","integer","Page number (⥠1). Default 1."],["page_size","integer","Results per page (1â500). Default 50."],["sort","string",'"count" (most-used first) or "name" (alphabetical). Default "count".'],["search","string","Case-insensitive substring match on the technology name, most-used first."]]}),d.jsxs("div",{className:"grid md:grid-cols-2 gap-3 items-start mt-4",children:[d.jsx(Gi,{samples:bH,title:"Request"}),d.jsx(Gi,{samples:{curl:xH},title:"200 OK"})]})]}),d.jsxs("div",{className:"mt-16",children:[d.jsx(ka,{id:"catalogs",eyebrow:"Endpoint",children:"Countries & industries catalogs"}),d.jsxs("div",{className:"flex items-center gap-2.5 mt-4 mb-2 p-3 rounded-xl bg-[#F5F3EF] border border-[#ECE9E3]",children:[d.jsx(kc,{m:"GET"}),d.jsx(Nc,{children:"/api/corporate/v1/countries"})]}),d.jsxs("div",{className:"flex items-center gap-2.5 mb-3 p-3 rounded-xl bg-[#F5F3EF] border border-[#ECE9E3]",children:[d.jsx(kc,{m:"GET"}),d.jsx(Nc,{children:"/api/corporate/v1/industries"})]}),d.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-2",children:["Paginated catalogs of the exact values accepted by the ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"country"})," and"," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"industry"})," filters, each with a company count. Same query parameters as the technology catalog: ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"page"}),","," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"page_size"})," (⤠250),"," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"sort"}),' ("count" | "name").']}),d.jsx(ka,{id:"schemas",eyebrow:"Reference",children:"Schemas"}),d.jsx("h3",{className:"text-lg font-bold mt-6 mb-1 tracking-tight",children:"Company"}),d.jsx(Ma,{head:"Field",rows:[["company_id","string","Stable unique identifier."],["name","string","Company name."],["domain","string | null","Primary domain (lowercase, apex)."],["short_description","string | null","One-line company description."],["industry","string | null","Industry."],["company_type","string | null","e.g. Public Company, Privately Held."],["founded_year","string | null","Year founded."],["country / city","string | null","Location."],["employees_range_min/max","integer | null","Employee range bounds."],["linkedin_url","string | null","LinkedIn company page."],["hiring","HiringStats","Hiring activity (see below)."],["technologies","TechUsage[]","Full stack with usage counts."],["tech_using / adopting / replacing / evaluating","string[]","Technology lists by intent."]]}),d.jsx("h3",{className:"text-lg font-bold mt-8 mb-1 tracking-tight",children:"HiringStats"}),d.jsx(Ma,{head:"Field",rows:[["total_active_jobs","integer","Total open positions."],["jobs_last_7d / 30d / 90d","integer","Jobs posted in the window."],["hiring_velocity","string | null","Trend: accelerating, steady, decelerating, minimal."],["hiring_ratio","number | null","Recent vs. prior monthly average."],["departments / seniority","object","Map of bucket â open-role c
631ount."],["leadership_positions_count","integer","Open leadership roles."],["notable_roles","string[]","Notable open roles."]]}),d.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mt-8",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"text-lg font-bold mb-1 tracking-tight",children:"TechUsage"}),d.jsx(Ma,{head:"Field",rows:[["name","string","Technology name."],["count","integer","Signal frequency in hiring data."]]})]}),d.jsxs("div",{children:[d.jsx("h3",{className:"text-lg font-bold mb-1 tracking-tight",children:"Technology"}),d.jsx(Ma,{head:"Field",rows:[["name","string","Technology name."],["company_count","integer","Companies using it."]]})]})]}),d.jsxs("div",{className:"mt-8 rounded-xl border border-[#ECE9E3] bg-[#F5F3EF] p-4 text-[13px] text-muted-foreground leading-relaxed",children:[d.jsx("strong",{className:"text-foreground",children:"On counts."})," Usage counts (",d.jsx("code",{className:"font-mono-data text-[12px]",children:"count"}),","," ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"usage_count"}),", ",d.jsx("code",{className:"font-mono-data text-[12px]",children:"company_count"}),") reflect how frequently a technology appears in a company's hiring signals â not a simple in-use flag. The Corporate API does not exclude staffing / recruiting / IT-consulting companies."]})]})]})]})}),d.jsx("section",{className:"border-t border-[#ECE9E3]",children:d.jsxs("div",{className:"container py-16 text-center",children:[d.jsx("h2",{className:"text-3xl md:text-4xl font-[800] tracking-[-0.03em] mb-4",children:"Start building"}),d.jsx("p",{className:"text-muted-foreground max-w-lg mx-auto mb-8 leading-relaxed",children:"Sign up for a free beta key and pull your first company in under a minute â no sales call. Explore every endpoint live in the interactive reference."}),d.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[d.jsx("a",{href:"/auth?mode=signup&returnTo=%2Fapp%2Fapi",className:"px-6 py-3 rounded-xl bg-[#18181B] text-white font-semibold text-sm hover:bg-[#18181B]/90 transition-colors",children:"Get a free API key"}),d.jsxs("a",{href:S1,target:"_blank",rel:"noopener noreferrer",className:"px-6 py-3 rounded-xl border border-[#E5E5E5] bg-white text-foreground font-semibold text-sm hover:border-foreground
631/30 transition-colors inline-flex items-center gap-2",children:["Interactive reference",d.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,children:d.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 17L17 7M17 7H9M17 7v8"})})]})]})]})})]})}function _3({className:e="w-6 h-6"}){return d.jsxs("svg",{className:e,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("defs",{children:d.jsxs("linearGradient",{id:"authLogoGrad",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[d.jsx("stop",{offset:"0%",stopColor:"#6366f1"}),d.jsx("stop",{offset:"100%",stopColor:"#06b6d4"})]})}),d.jsx("path",{d:"M22 4a12 12 0 0 0 0 24",stroke:"url(#authLogoGrad)",strokeWidth:"4",strokeLinecap:"round",fill:"none"}),d.jsx("circle",{cx:"22",cy:"16",r:"4",fill:"url(#authLogoGrad)"})]})}function w3(){return d.jsxs("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",children:[d.jsx("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",fill:"#4285F4"}),d.jsx("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),d.jsx("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),d.jsx("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function EH(){const e=$r(),[r]=d0(),{user:n}=Lr(),t=r.get("returnTo")||"/app/search",a=r.get("mode"),s=a==="reset_password"?"reset_password":a==="signup"?"sign_up":"sign_in",[l,u]=N.useState(s),[f,p]=N.useState(""),[m,g]=N.useState(""),[y,_]=N.useState(""),[w,C]=N.useState(!1),[x,S]=N.useState(!1),[k,j]=N.useState(null),[O,$]=N.useState(""),[T,D]=N.useState(!1);if(N.useEffect(()=>{n&&l!=="reset_password"&&e(t,{replace:!0})},[n,e,t,l]),n&&l!=="reset_password")return null;const z=async()=>{j(null);const{error:H}=await Xr.auth.signInWithOAuth({provider:"google",options:{redirectTo:`${window.location.origin}/auth/callback?returnTo=${encodeURIComponent(t)}`}});H&&j(H.message)},J=async H=>{if(H.preventDefault(),!(!f||!m)){j(null),S(!0);try{const{data:Y,error:he}=await Xr.auth.signInWithPassword({email:f,password:m});!he&&Y.user&&at.track("Sign In",{method:"email"}),he&&(he.message==="Invalid login credentials"?j('Invalid email or password. If you signed up with Google, use "Continue with Google" above.'):he.message==="Email not confirmed"?j("Please confirm your email first. Check your inbox for the confirmation link."):j(he.message))}finally{S(!1)}}},de=async H=>{if(H.preventDefault(),!(!f||!m)){if(m.length<6){j("Password must be at least 6 characters.");return}j(null),S(!0);try{const{data:Y,error:he}=await Xr.auth.signUp({email:f,password:m,options:{emailRedirectTo:`${window.location.origin}/auth/callback?returnTo=${encodeURIComponent(t)}`}});if(he){j(he.message);return}if(Y.user&&Y.user.identities&&Y.user.identities.length===0){j('This email is already registered via Google. Use "Continue with Google" to sign in.');return}at.track("Sign Up",{method:"email"}),$("Check your email for the confirmation link to complete registration."),u("check_email")}finally{S(!1)}}},pe=async H=>{if(H.preventDefault(),!f){j("Enter your email address.");return}j(null),S(!0);try{const{error:Y}=await Xr.auth.resetPasswordForEmail(f,{redirectTo:`${window.location.origin}/auth/callback?returnTo=${encodeURIComponent(t)}`});if(Y){j(Y.message);return}$("Check your email for the password reset link."),u("check_email")}finally{S(!1)}},ie=async()=>{if(!f){j("Enter your email to receive a magic link.");return}j(null),S(!0);try{const{error:H}=await Xr.auth.signInWithOtp({email:f,options:{emailRedirectTo:`${window.location.origin}/auth/callback?returnTo=${encodeURIComponent(t)}`}});if(H){j(H.message);return}$("Check your email for the magic link."),u("check_email")}finally{S(!1)}},ee=async H=>{if(H.preventDefault(),!!m){if(m.length<6){j("Password must be at least 6 characters.");return}if(m!==y){j("Passwords do not match.");return}j(null),S(!0);try{const{error:Y}=await Xr.auth.updateUser({password:m});if(Y){j(Y.message);return}D(!0),setTimeout(()=>{e("/app/search",{replace:!0})},2e3)}finally{S(!1)}}},ce=H=>{u(H),j(null),g("")},ue="w-full h-11 px-3.5 rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground
631/60 focus:outline-none focus:ring-2 focus:ring-accent/30 focus:border-accent text-sm font-body transition-colors",U="block text-sm font-medium text-foreground mb-1.5";return d.jsxs("div",{className:"min-h-screen flex",children:[d.jsxs("div",{className:"hidden lg:flex lg:w-1/2 bg-primary relative overflow-hidden",children:[d.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary via-primary to-accent/20"}),d.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:`linear-gradient(to right, white 1px, transparent 1px), 632 linear-gradient(to bottom, white 1px, transparent 1px)`,backgroundSize:"60px 60px"}}),d.jsxs("div",{className:"relative z-10 flex flex-col justify-between p-12 text-primary-foreground",children:[d.jsx("div",{children:d.jsxs("a",{href:"/",className:"flex items-center gap-3 group",children:[d.jsx(_3,{className:"w-10 h-10"}),d.jsx("span",{className:"font-display text-2xl font-bold tracking-tight",children:"echoloc"})]})}),d.jsxs("div",{className:"space-y-8",children:[d.jsxs("h1",{className:"font-display text-5xl font-bold leading-tight",children:["Every job post",d.jsx("br",{}),d.jsx("span",{className:"text-accent",children:"is a confession."})]}),d.jsx("p",{className:"text-xl text-primary-foreground/70 max-w-md leading-relaxed",children:"See what 1,000,000+ companies are adopting, replacing and evaluating â measured from their own hiring, not surveys."})]}),d.jsx("div",{className:"text-sm text-primary-foreground/50",children:"Free to start · no card required"})]})]}),d.jsxs("div",{className:"flex-1 flex flex-col",children:[d.jsx("div",{className:"lg:hidden p-6 border-b border-border",children:d.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[d.jsx(_3,{className:"w-8 h-8"}),d.jsx("span",{className:"font-display text-xl font-bold",children:"echoloc"})]})}),d.jsx("div",{className:"p-6",children:d.jsxs(vt,{variant:"ghost",size:"sm",onClick:()=>e(-1),className:"gap-2 text-muted-foreground hover:text-foreground",children:[d.jsx(uz,{className:"w-4 h-4"}),"Back"]})}),d.jsx("div",{className:"flex-1 flex items-center justify-center p-6",children:d.jsxs("div",{className:"w-full max-w-sm space-y-6",children:[l==="check_email"&&d.jsxs("div",{className:"text-center space-y-4",children:[d.jsx("div",{className:"w-14 h-14 rounded-full bg-accent/10 flex items-center justify-center mx-auto",children:d.jsx(eB,{className:"w-7 h-7 text-accent"})}),d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground",children:"Check your email"}),d.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:O}),d.jsxs("p",{className:"text-muted-foreground/60 text-xs",children:["Didn't receive an email? Check your spam folder or"," ",d.jsx("button",{onClick:()=>ce("sign_in"),className:"text-accent hover:underline",children:"try again"}),"."]})]}),l==="sign_in"&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"text-center space-y-2",children:[d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Welcome back"}),d.jsx("p",{className:"text-muted-foreground",children:"Sign in to access your account"})]}),d.jsxs("button",{onClick:z,className:"w-full h-11 flex items-center justify-center gap-3 rounded-lg border border-border bg-background hover:bg-muted/50 text-foreground text-sm font-medium transition-colors",children:[d.jsx(w3,{}),"Continue with Google"]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute inset-0 flex items-center",children:d.jsx("div",{className:"w-full border-t border-border"})}),d.jsx("div",{className:"relative flex justify-center text-xs",children:d.jsx("span",{className:"bg-background px-3 text-muted-foreground",children:"or"})})]}),d.jsxs("form",{onSubmit:J,className:"space-y-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:U,children:"Email"}),d.jsx("input",{type:"email",value:f,onChange:H=>p(H.target.value),placeholder:"[email protected]",className:ue,autoComplete:"email",required:!0})]}),d.jsxs("div",{children:[d.jsxs("div",{className:"flex items-center justify-between mb-1.5",children:[d.jsx("label",{className:"text-sm font-medium text-foreground",children:"Password"}),d.jsx("button",{type:"button",onClick:()=>ce("forgot_password"),className:"text-xs text-accent hover:underline",children:"Forgot password?"})]}),d.jsxs("div",{className:"relative",children:[d.jsx("input",{type:w?"text":"password",value:m,onChange:H=>g(H.target.value),placeholder:"Your password",className:ue,autoComplete:"current-password",required:!0}),d.jsx("button",{type:"button",onClick:()=>C(!w),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",children:w?d.jsx(Wf,{className:"w-4 h-4"}):d.jsx(Jf,{className:"w-4 h-4"})})]})]}),k&&d.jsx("div",{className:"text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-lg px-3.5 py-2.5",children:k}),d.jsx(vt,{type:"submit",disabled:x,className:"w-full h-11 bg-accent hover:bg-accent/90 text-white font-medium",children:x?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):"Sign in"})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("button",{onClick:ie,disabled:x,className:"w-full text-center text-sm text-accent hover:underline disabled:opacity-50",children:"Send a magic link instead"}),d.jsxs("p",{className:"text-center text-sm text-muted-foreground",children:["Don't have an account?"," ",d.jsx("button",{onClick:()=>ce("sign_up"),className:"text-accent hover:underline font-medium",children:"Sign up"})]})]})]}),l==="sign_up"&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"text-center space-y-2",children:[d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Get started"}),d.jsx("p",{className:"text-muted-foreground",children:"Create your account to get started"})]}),d.jsxs("button",{onClick:z,className:"w-full h-11 flex items-center justify-center gap-3 rounded-lg border border-border bg-background hover:bg-muted/50 text-foreground text-sm font-medium transition-colors",children:[d.jsx(w3,{}),"Continue with Google"]}),d.jsxs("div",{className:"relative",children:[d.jsx("div",{className:"absolute inset-0 flex items-center",children:d.jsx("div",{className:"w-full border-t border-border"})}),d.jsx("div",{className:"relative flex justify-center text-xs",children:d.jsx("span",{className:"bg-background px-3 text-muted-foreground",children:"or"})})]}),d.jsxs("form",{onSubmit:de,className:"space-y-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:U,children:"Email"}),d.jsx("input",{type:"email",value:f,onChange:H=>p(H.target.value),placeholder:"[email protected]",className:ue,autoComplete:"email",required:!0})]}),d.jsxs("div",{children:[d.jsx("label",{className:U,children:"Password"}),d.jsxs("div",{className:"relative",children:[d.jsx("input",{type:w?"text":"password",value:m,onChange:H=>g(H.target.value),placeholder:"At least 6 characters",className:ue,autoComplete:"new-password",minLength:6,required:!0}),d.jsx("button",{type:"button",onClick:()=>C(!w),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",children:w?d.jsx(Wf,{className:"w-4 h-4"}):d.jsx(Jf,{className:"w-4 h-4"})})]})]}),k&&d.jsx("div",{className:"text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-lg px-3.5 py-2.5",children:k}),d.jsx(vt,{type:"submit",disabled:x,className:"w-full h-11 bg-accent hover:bg-accent/90 text-white font-medium",children:x?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):"Sign up"})]}),d.jsxs("p",{className:"text-center text-sm text-muted-foreground",children:["Already have an account?"," ",d.jsx("button",{onClick:()=>ce("sign_in"),className:"text-accent hover:underline font-medium",children:"Sign in"})]})]}),l==="forgot_password"&&d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"text-center space-y-2",children:[d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Reset password"}),d.jsx("p",{className:"text-muted-foreground",children:"Enter your email and we'll send you a reset link"})]}),d.jsxs("form",{onSubmit:pe,className:"space-y-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:U,children:"Email"}),d.jsx("input",{type:"email",value:f,onChange:H=>p(H.target.value),placeholder:"[email protected]",className:ue,autoComplete:"email",required:!0})]}),k&&d.jsx("div",{className:"text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-lg px-3.5 py-2.5",children:k}),d.jsx(vt,{type:"submit",disabled:x,className:"w-full h-11 bg-accent hover:bg-accent/90 text-white font-medium",children:x?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):"Send reset link"})]}),d.jsxs("p",{className:"text-center text-sm text-muted-foreground",children:["Remember your password?"," ",d.jsx("button",{onClick:()=>ce("sign_in"),className:"text-accent hover:underline font-medium",children:"Sign in"})]})]}),l==="reset_password"&&d.jsx(d.Fragment,{children:T?d.jsxs("div",{className:"text-center space-y-4",children:[d.jsx("div",{className:"w-14 h-14 roun
632ded-full bg-green-500/10 flex items-center justify-center mx-auto",children:d.jsx(hy,{className:"w-7 h-7 text-green-500"})}),d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground",children:"Password updated"}),d.jsx("p",{className:"text-muted-foreground text-sm",children:"Redirecting you to the app..."})]}):d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"text-center space-y-2",children:[d.jsx("h2",{className:"font-display text-3xl font-bold text-foreground",children:"Set new password"}),d.jsx("p",{className:"text-muted-foreground",children:"Enter your new password below"})]}),d.jsxs("form",{onSubmit:ee,className:"space-y-4",children:[d.jsxs("div",{children:[d.jsx("label",{className:U,children:"New password"}),d.jsxs("div",{className:"relative",children:[d.jsx("input",{type:w?"text":"password",value:m,onChange:H=>g(H.target.value),placeholder:"At least 6 characters",className:ue,autoComplete:"new-password",minLength:6,required:!0}),d.jsx("button",{type:"button",onClick:()=>C(!w),className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground transition-colors",children:w?d.jsx(Wf,{className:"w-4 h-4"}):d.jsx(Jf,{className:"w-4 h-4"})})]})]}),d.jsxs("div",{children:[d.jsx("label",{className:U,children:"Confirm password"}),d.jsx("input",{type:w?"text":"password",value:y,onChange:H=>_(H.target.value),placeholder:"Repeat your password",className:ue,autoComplete:"new-password",minLength:6,required:!0})]}),k&&d.jsx("div",{className:"text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-lg px-3.5 py-2.5",children:k}),d.jsx(vt,{type:"submit",disabled:x,className:"w-full h-11 bg-accent hover:bg-accent/90 text-white font-medium",children:x?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):"Update password"})]})]})}),l!=="check_email"&&l!=="reset_password"&&d.jsxs("p",{className:"text-center text-xs text-muted-foreground",children:["By signing in, you agree to our"," ",d.jsx("a",{href:"/terms",className:"text-accent hover:underline",children:"Terms of Service"})," ","and"," ",d.jsx("a",{href:"/privacy",className:"text-accent hover:underline",children:"Privacy Policy"})]})]})})]})]})}function CH(){const e=$r(),[r]=d0(),[n,t]=N.useState(null),a=r.get("returnTo")||"/app/search";return N.useEffect(()=>{const s=sessionStorage.getItem("supabase_recovery")==="true";s&&sessionStorage.removeItem("supabase_recovery"),(async()=>{try{const{data:u,error:f}=await Xr.auth.getSession();if(f){console.error("Auth callback error:",f),t(f.message);return}if(u.session){if(s){e("/auth?mode=reset_password",{replace:!0});return}e(a,{replace:!0})}else{const{data:{subscription:p}}=Xr.auth.onAuthStateChange((m,g)=>{m==="PASSWORD_RECOVERY"&&g?(p.unsubscribe(),e("/auth?mode=reset_password",{replace:!0})):m==="SIGNED_IN"&&g&&(p.unsubscribe(),s?e("/auth?mode=reset_password",{replace:!0}):e(a,{replace:!0}))});setTimeout(()=>{p.unsubscribe(),t("Authentication timed out. Please try again.")},1e4)}}catch(u){console.error("Auth callback error:",u),t("An unexpected error occurred")}})()},[e,a]),n?d.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:d.jsxs("div",{className:"text-center space-y-4",children:[d.jsx("div",{className:"w-12 h-12 rounded-xl bg-destructive/10 flex items-center justify-center mx-auto",children:d.jsx(uB,{className:"w-6 h-6 text-destructive"})}),d.jsx("h2",{className:"font-display text-xl font-semibold text-foreground",children:"Authentication failed"}),d.jsx("p",{className:"text-muted-foreground max-w-sm",children:n}),d.jsx("button",{onClick:()=>e("/auth"),className:"text-accent hover:underline text-sm",children:"Try again"})]})}):d.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:d.jsxs("div",{className:"text-center space-y-4",children:[d.jsx("div",{className:"w-12 h-12 rounded-xl bg-accent/10 flex items-center justify-center mx-auto",children:d.jsx(qt,{className:"w-6 h-6 text-accent animate-spin"})}),d.jsx("h2",{className:"font-display text-xl font-semibold text-foreground",children:"Signing you in..."}),d.jsx("p",{className:"text-muted-foreground",children:"Please wait while we complete authentication"})]})})}function Wn(e){if(e==null)return"";const r=String(e);return r.includes(",")||r.includes('"')||r.includes(` 633`)?`"${r.replace(/"/g,'""')}"`:r}function MH(e,r){if(e.length===0)return;const n=["Company","Domain","Website","LinkedIn","Signal Type","Jobs Count","City","Country","Company Size","Industry","Last Seen","Job Title"],t=e.map(p=>{var g;const m=p.evidence[0];return[Wn(p.company.name),Wn(p.company.domain),Wn(p.links.website),Wn(p.links.linkedin),Wn(p.signal.type),Wn(p.jobsCount),Wn(p.location.city),Wn(p.location.country),Wn(p.size),Wn(p.industry),Wn((g=p.freshness.lastSeen)==null?void 0:g.split("T")[0]),Wn(m==null?void 0:m.jobTitle)].join(",")}),a=[n.join(","),...t].join(` 634`),s=new Blob([a],{type:"text/csv;charset=utf-8;"}),l=URL.createObjectURL(s),u=document.createElement("a"),f=new Date().toISOString().split("T")[0];u.href=l,u.download=r||`echoloc-export-${f}.csv`,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(l)}const kH={TEXT_MATCH_IN_JOBS:"signal-keyword",ROLLOUT_MIGRATION:"signal-rollout",FIRST_HIRE:"signal-first-hire",HIRING_SPIKE:"signal-spike",GEO_EXPANSION:"signal-default"},NH={TEXT_MATCH_IN_JOBS:"Keyword",ROLLOUT_MIGRATION:"Rollout / Migration",FIRST_HIRE:"First Hire",HIRING_SPIKE:"Hiring Spike",GEO_EXPANSION:"Geo Expansion"};function jH(){const e=$r(),{session:r}=Lr(),{lists:n,loading:t,createList:a,renameList:s,deleteList:l}=x8(),[u,f]=N.useState(null),{companies:p,total:m,page:g,totalPages:y,loading:_,goToPage:w,removeCompany:C}=Gq(u),[x,S]=N.useState(""),[k,j]=N.useState(!1),[O,$]=N.useState(!1),[T,D]=N.useState(null),[z,J]=N.useState(""),[de,pe]=N.useState(null);!u&&n.length>0&&f(n[0].id);const ie=n.find(R=>R.id===u),ee=async()=>
634{if(x.trim()){$(!0);try{const R=await a(x.trim());R&&(f(R.id),rr.success(`List "${R.name}" created`)),S(""),j(!1)}catch(R){rr.error(R instanceof Error?R.message:"Failed to create list")}finally{$(!1)}}},ce=async R=>{if(z.trim())try{await s(R,z.trim()),rr.success("List renamed"),D(null)}catch(G){rr.error(G instanceof Error?G.message:"Failed to rename")}},ue=async(R,G)=>{if(confirm(`Delete "${G}" and all its companies?`))try{await l(R),u===R&&f(null),rr.success(`"${G}" deleted`)}catch(K){rr.error(K instanceof Error?K.message:"Failed to delete")}},U=async(R,G)=>{pe(R);try{await C(R),rr.success(`${G} removed`)}catch(K){rr.error(K instanceof Error?K.message:"Failed to remove")}finally{pe(null)}},[H,Y]=N.useState(!1),he=R=>({id:R.id,company:{name:R.company_data.company_name,domain:R.company_data.domain||""},signal:{type:R.company_data.signal_type||""},freshness:{daysAgo:0,lastSeen:R.created_at},location:{city:R.company_data.city||"",country:R.company_data.country||""},size:R.company_data.size||"",industry:R.company_data.industry||"",evidence:[],links:{linkedin:R.company_data.linkedin?`https://linkedin.com/company/${R.company_data.linkedin}`:void 0,website:R.company_data.domain?`https://${R.company_data.domain}`:void 0},relatedOpenings:[],jobsCount:R.company_data.jobs_count||0}),ye=async()=>{if(!(!ie||!u||!(r!=null&&r.access_token))){Y(!0);try{const R=[];let G=1;const K=200;for(;;){const le=await KE(r.access_token,u,G,K);if(R.push(...le.companies),R.length>=le.total||le.companies.length<K)break;G++}const Z=R.map(he);MH(Z,`echoloc-${ie.name}.csv`),rr.success(`Exported ${R.length} companies`)}catch(R){rr.error(R instanceof Error?R.message:"Export failed")}finally{Y(!1)}}};return d.jsx("div",{className:"w-full max-w-[1600px] mx-auto px-6 lg:px-8 py-8",children:d.jsxs("div",{className:"flex flex-col md:flex-row gap-8",children:[d.jsxs("div",{className:"md:w-64 flex-shrink-0",children:[d.jsxs("div",{className:"flex items-center justify-between mb-4",children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground",children:"Lists"}),d.jsx("button",{onClick:()=>j(!0),className:"p-1.5 rounded-lg hover:bg-muted/50 text-muted-foreground hover:text-foreground transition-colors",title:"New list",children:d.jsx(Bc,{className:"w-5 h-5"})})]}),k&&d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx("input",{type:"text",value:x,onChange:R=>S(R.target.value),placeholder:"List name...",autoFocus:!0,onKeyDown:R=>{R.key==="Enter"&&ee(),R.key==="Escape"&&j(!1)},className:"flex-1 h-9 px-3 rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-accent/30 text-sm"}),d.jsx("button",{onClick:ee,disabled:!x.trim()||O,className:"p-2 rounded-lg bg-accent text-white hover:bg-accent/90 disabled:opacity-50 transition-colors",children:O?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(da,{className:"w-4 h-4"})})]}),t?d.jsx("div",{className:"flex items-center justify-center py-8",children:d.jsx(qt,{className:"w-5 h-5 animate-spin text-muted-foreground"})}):n.length===0?d.jsxs("div",{className:"text-center py-8 px-4",children:[d.jsx(Bc,{className:"w-10 h-10 mx-auto text-muted-foreground/30 mb-3"}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"No lists yet. Save companies from search results to get started."})]}):d.jsx("div",{className:"space-y-1",children:n.map(R=>d.jsx("div",{className:"group",children:T===R.id?d.jsxs("div",{className:"flex items-center gap-1 px-3 py-2",children:[d.jsx("input",{type:"text",value:z,onChange:G=>J(G.target.value),autoFocus:!0,onKeyDown:G=>{G.key==="Enter"&&ce(R.id),G.key==="Escape"&&D(null)},className:"flex-1 h-7 px-2 rounded border border-border bg-background text-sm focus:outline-none focus:ring-1 focus:ring-accent/30"}),d.jsx("button",{onClick:()=>ce(R.id),className:"p-1 text-accent hover:text-accent/80",children:d.jsx(da,{className:"w-3.5 h-3.5"})})]}):d.jsxs("button",{onClick:()=>f(R.id),className:St("w-full flex items-center justify-between px-3 py-2.5 rounded-lg transition-colors text-left",u===R.id?"bg-accent/10 text-accent":"hover:bg-muted/50 text-foreground"),children:[d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("div",{className:"font-medium text-sm truncate",children:R.name}),d.jsxs("div",{className:"text-xs text-muted-foreground",children:[R.company_count," ",R.company_count===1?"company":"companies"]})]}),d.jsxs("div",{className:"flex items-center gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[d.jsx("button",{onClick:G=>{G.stopPropagation(),D(R.id),J(R.name)},className:"p-1 rounded hover:bg-muted/50 text-muted-foreground hover:text-foreground",children:d.jsx(iB,{className:"w-3.5 h-3.5"})}),d.jsx("button",{onClick:G=>{G.stopPropagation(),ue(R.id,R.name)},className:"p-1 rounded hover:bg-red-500/10 text-muted-foreground hover:text-red-500",children:d.jsx(vB,{className:"w-3.5 h-3.5"})})]}
634),u!==R.id&&d.jsx(fy,{className:"w-4 h-4 text-muted-foreground/50 ml-1"})]})},R.id))})]}),d.jsx("div",{className:"flex-1 min-w-0",children:ie?d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"flex items-center justify-between mb-6",children:[d.jsxs("div",{children:[d.jsx("h1",{className:"font-display text-2xl font-bold text-foreground",children:ie.name}),d.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[m.toLocaleString()," ",m===1?"company":"companies"]})]}),m>0&&d.jsxs(vt,{variant:"outline",size:"sm",className:"gap-2",onClick:ye,disabled:H,children:[H?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(Ml,{className:"w-4 h-4"}),H?"Exporting...":"Export CSV"]})]}),_?d.jsx("div",{className:"flex items-center justify-center py-16",children:d.jsx(qt,{className:"w-6 h-6 animate-spin text-muted-foreground"})}):m===0?d.jsxs("div",{className:"text-center py-16 border border-dashed border-border rounded-xl",children:[d.jsx("p",{className:"text-muted-foreground mb-2",children:"No companies in this list yet."}),d.jsx("p",{className:"text-sm text-muted-foreground",children:"Use the bookmark button on search results to save companies here."})]}):d.jsxs(d.Fragment,{children:[d.jsx(AH,{companies:p,deletingId:de,onRemove:U}),y>1&&d.jsxs("div",{className:"mt-6 flex items-center justify-between",children:[d.jsxs("p",{className:"text-sm text-muted-foreground",children:["Page ",g," of ",y," · ",m.toLocaleString()," companies"]}),d.jsx(g8,{currentPage:g,totalPages:y,onPageChange:R=>{w(R),window.scrollTo({top:0,behavior:"smooth"})}})]})]})]}):n.length===0&&!k?d.jsxs("div",{className:"flex flex-col items-center justify-center py-20 px-6 text-center",children:[d.jsx("div",{className:"w-16 h-16 rounded-2xl bg-accent/10 flex items-center justify-center mb-6",children:d.jsx(ku,{className:"w-8 h-8 text-accent"})}),d.jsx("h2",{className:"font-display text-2xl font-bold text-foreground mb-2",children:"Save companies for later"}),d.jsx("p",{className:"text-muted-foreground max-w-md mb-8",children:"Use the bookmark button on search results to save companies to lists. Organize prospects and export them anytime."}),d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsxs(vt,{onClick:()=>j(!0),className:"gap-2 bg-accent hover:bg-accent/90 text-white",children:[d.jsx(Bc,{className:"w-4 h-4"}),"Create your first list"]}),d.jsxs(vt,{variant:"outline",onClick:()=>e("/app/search"),className:"gap-2",children:[d.jsx(Qn,{className:"w-4 h-4"}),"Go to Search"]})]})]}):d.jsx("div",{className:"flex items-center justify-center py-16",children:d.jsx("p",{className:"text-muted-foreground",children:"Select a list to view companies"})})})]})})}function AH({companies:e,deletingId:r,onRemove:n}){return d.jsx("div",{className:"border border-border rounded-xl overflow-hidden",children:d.jsx("div",{className:"overflow-x-auto",children:d.jsxs("table",{className:"w-full text-sm",children:[d.jsx("thead",{children:d.jsxs("tr",{className:"border-b border-border bg-muted/30",children:[d.jsx("th",{className:"text-left p-3 font-semibold text-foreground",children:"Company"}),d.jsx("th",{className:"text-left p-3 font-semibold text-foreground hidden sm:table-cell",children:"Signal"}),d.jsx("th",{className:"text-left p-3 font-semibold text-foreground hidden md:table-cell",children:"Location"}),d.jsx("th",{className:"text-left p-3 font-semibold text-foreground hidden lg:table-cell",children:"Industry"}),d.jsx("th",{className:"text-left p-3 font-semibold text-foreground hidden md:table-cell",children:"Links"}),d.jsx("th",{className:"text-left p-3 font-semibold text-foreground hidden lg:table-cell",children:"Saved from"}),d.jsx("th",{className:"w-16 p-3"})]})}),d.jsx("tbody",{children:e.map(t=>{const a=t.company_data,s=a.domain?`https://img.logo.dev/${a.domain}?token=pk_cSvQDRHqQLmti5H_JKTNQg`:void 0;return d.jsxs("tr",{className:"border-b border-border/50 hover:bg-muted/20 transition-colors",children:[d.jsx("td",{className:"p-3",children:d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx("div",{className:"w-8 h-8 rounded-lg bg-muted/50 flex items-center justify-center overflow-hidden flex-shrink-0",children:s?d.jsx("img",{src:s,alt:a.company_name,className:"w-full h-full object-cover",onError:l=>{l.currentTarget.style.display="none"}}):d.jsx("span",{className:"text-xs font-bold text-muted-foreground",children:a.company_name.charAt(0)})}),d.jsxs("div",{children:[d.jsx("div",{className:"font-semibold text-foreground",children:a.company_name}),d.jsx("div",{className:"text-xs text-muted-foreground",children:a.domain})]})]})}),d.jsx("td",{className:"p-3 hidden sm:table-cell",children:a.signal_type&&d.jsx("span",{className:St("signal-badge whitespace-nowrap",kH[a.signal_type]||"signal-default"),children:NH[a.signal_type]||a.signal_type.replace(/_/g," ")})}),d.jsx("td",{className:"p-3 text-muted-foreground whitespace-nowrap hidden md:table-cell",children:[a.city,a.country].filter(
634Boolean).join(", ")}),d.jsx("td",{className:"p-3 text-muted-foreground hidden lg:table-cell",children:a.industry}),d.jsx("td",{className:"p-3 hidden md:table-cell",children:d.jsxs("div",{className:"flex items-center gap-2",children:[a.domain&&d.jsx("a",{href:`https://${a.domain}`,target:"_blank",rel:"noopener noreferrer",className:"p-1.5 rounded-md hover:bg-muted/50 text-muted-foreground hover:text-foreground transition-colors",children:d.jsx(my,{className:"w-4 h-4"})}),a.linkedin&&d.jsx("a",{href:`https://linkedin.com/company/${a.linkedin}`,target:"_blank",rel:"noopener noreferrer",className:"p-1.5 rounded-md hover:bg-muted/50 text-muted-foreground hover:text-foreground transition-colors",children:d.jsx(p0,{className:"w-4 h-4"})})]})}),d.jsx("td",{className:"p-3 text-xs text-muted-foreground hidden lg:table-cell max-w-[200px] truncate",children:a.saved_from_query}),d.jsx("td",{className:"p-3",children:d.jsx("button",{onClick:()=>n(t.id,a.company_name),disabled:r===t.id,className:"p-1.5 rounded-md hover:bg-red-500/10 text-muted-foreground hover:text-red-500 transition-colors disabled:opacity-50",title:"Remove",children:r===t.id?d.jsx(qt,{className:"w-4 h-4 animate-spin"}):d.jsx(Ir,{className:"w-4 h-4"})})})]},t.id)})})]})})})}const RH="https://api.echoloc.ai";function OH(e){return e.length<=16?e:`${e.slice(0,12)}${"â¢".repeat(20)}${e.slice(-4)}`}function TH(){const{session:e}=Lr(),[r,n]=N.useState(null),[t,a]=N.useState(!1),[s,l]=N.useState(!1),[u,f]=N.useState(!1);N.useEffect(()=>{e!=null&&e.access_token&&UB(e.access_token).then(y=>{n(y),at.track("API Key Viewed")}).catch(()=>a(!0))},[e==null?void 0:e.access_token]);const p=async()=>{r&&(await navigator.clipboard.writeText(r.key),f(!0),at.track("API Key Copied"),rr.success("API key copied"),setTimeout(()=>f(!1),2e3))},m=r?`curl "${RH}/api/corporate/v1/companies?domain=walgreens.com" \\ 635 -H "X-API-Key: ${s?r.key:"YOUR_API_KEY"}"`:"";if(t)return d.jsx("div",{className:"container py-12 max-w-2xl",children:d.jsx("p",{className:"text-muted-foreground",children:"Couldn't load your API key. Refresh the page or try again later."})});if(!r)return d.jsx("div",{className:"flex items-center justify-center py-24",children:d.jsx(qt,{className:"w-5 h-5 animate-spin text-muted-foreground"})});const g=Math.min(100,Math.round(r.credits_used/r.credits_limit*100));return d.jsxs("div",{className:"container py-12 max-w-2xl",children:[d.jsxs("div",{className:"flex items-center gap-2.5 mb-1.5",children:[d.jsx("h1",{className:"font-display text-3xl font-bold text-foreground",children:"API access"}),d.jsx("span",{className:"px-2 py-0.5 rounded-full text-[11px] font-semibold uppercase tracking-wide bg-accent/10 text-accent",children:"Beta"})]}),d.jsx("p",{className:"text-muted-foreground mb-8",children:"Query the echoloc dataset programmatically â company lookup by domain, search by technologies, and the full technology catalog."}),d.jsxs("div",{className:"rounded-xl border border-border bg-card p-5 mb-6",children:[d.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[d.jsx(HE,{className:"w-4 h-4 text-muted-foreground"}),d.jsx("span",{className:"text-sm font-semibold text-foreground",children:"Your beta key"})]}),d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx("code",{className:"flex-1 min-w-0 truncate rounded-lg bg-muted/60 px-3 py-2.5 font-mono text-[13px] text-foreground",children:s?r.key:OH(r.key)}),d.jsx("button",{onClick:()=>l(!s),title:s?"Hide key":"Reveal key",className:"p-2.5 rounded-lg border border-border text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",children:s?d.jsx(Wf,{className:"w-4 h-4"}):d.jsx(Jf,{className:"w-4 h-4"})}),d.jsx("button",{onClick:p,title:"Copy key",className:"p-2.5 rounded-lg border border-border text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",children:u?d.jsx(da,{className:"w-4 h-4 text-green-600"}):d.jsx(Lz,{className:"w-4 h-4"})})]}),d.jsxs("div",{className:"mt-4",children:[d.jsxs("div",{className:"flex items-baseline justify-between text-sm mb-1.5",children:[d.jsx("span",{className:"text-muted-foreground",children:"Usage this month"}),d.jsxs("span",{className:"font-medium text-foreground",children:[r.credits_used," / ",r.credits_limit," requests"]})]}),d.jsx("div",{className:"h-1.5 rounded-full bg-muted overflow-hidden",children:d.jsx("div",{className:St("h-full rounded-full transition-all",g>=90?"bg-orange-500":"bg-accent"),style:{width:`${g}%`}})}),d.jsxs("p",{className:"text-xs text-muted-foreground mt-1.5",children:["Beta keys include ",r.credits_limit," requests per month, reset on the 1st."]})]})]}),d.jsxs("div",{className:"rounded-xl border border-border bg-card p-5 mb-6",children:[d.jsx("h2",{className:"text-sm font-semibold text-foreground mb-3",children:"Try it now"}),d.jsx("pre",{className:"rounded-lg bg-[#18181B] text-[#E4E4E7] px-4 py-3 font-mono text-[12.5px] leading-relaxed overflow-x-auto",children:m}),d.jsxs("a",{href:"/developers",className:"mt-3 inline-flex items-center gap-1.5 text-sm font-medium text-accent hover:underline",children:["Full API documentation",d.jsx(es,{className:"w-3.5 h-3.5",strokeWidth:2.5})]})]}),d.jsxs("div",{className:"rounded-xl border border-dashed border-border p-5",children:[d.jsx("h2",{className:"text-sm font-semibold text-foreground mb-1",children:"Need production access?"}),d.jsxs("p",{className:"text-sm text-muted-foreground",children:["Production keys come with higher limits, bulk feeds, and custom data slices."," ",d.jsx("a",{href:"mailto:[email protected]?subject=API%20production%20access",className:"font-medium text-accent hover:underline",children:"Email [email protected]"})," ","and tell us what you're building."]})]})]})}function IH(){return d.jsxs(v9,{children:[d.jsx(eP,{position:"bottom-right",richColors:!0}),d.jsxs(VU,{children:[d.jsxs(Er,{path:"/",element:d.jsx(jB,{}),children:[d.jsx(Er,{index:!0,element:d.jsx(wq,{})}),d.jsx(Er,{path:"developers",element:d.jsx(SH,{})}),d.jsx(Er,{path:"privacy",element:d.jsx(cH,{})}),d.jsx(Er,{path:"terms",element:d.jsx(hH,{})})]}),d.jsx(Er,{path:"/auth",element:d.jsx(EH,{})}),d.jsx(Er,{path:"/auth/callback",element:d.jsx(CH,{})}),d.jsxs(Er,{path:"/app",element:d.jsx($B,{}),children:[d.jsx(Er,{path:"search",element:d.jsx(rH,{})}),d.jsx(Er,{path:"history",element:d.jsx(Mc,{children:d.jsx(iH,{})})}),d.jsx(Er,{path:"saved",element:d.jsx(Mc,{children:d.jsx(jH,{})})}),d.jsx(Er,{path:"api",element:d.jsx(Mc,{children:d.jsx(TH,{})})}),d.jsx(Er,{path:"billing",element:d.jsx(Mc,{children:d.jsx(sH,{})})}),d.jsx(Er,{path:"settings",element:d.jsx(Mc,{children:d.jsx(LH,{})})}),d.jsx(Er,{index:!0,element:d.jsx(Rc,{to:"/app/search",replace:!0})})]}),d.jsx(Er,{path:"/results",element:d.jsx(Rc,{to:"/app/search",replace:!0})}),d.jsx(Er,{path:"/billing",element:d.jsx(Rc,{to:"/app/billing",replace:!0})}),d.jsx(Er,{path:"*",element:d.jsx(Rc,{to:"/",replace:!0})})]})]})}function LH(){const e=$r(),[r,n]=N.useState(!1),[t,a]=N.useState(!1),s=async()=>{const{supabase:u}=await Bw(async()=>{const{supabase:f}=await Promise.resolve().then(()=>W5);return{supabase:f}},[]);await u.auth.signOut(),e("/")},l=async()=>{a(!0);try{const{supabase:u}=await Bw(async()=>{const{supabase:g}=await Promise.resolve().then(()=>W5);return{supabase:g}},void 0),{data:{session:f}}=await u.auth.getSession();if(!f)return;(await fetch("https://api.echoloc.ai/api/account",{method:"DELETE",headers:{Authorization:`Bearer ${f.access_token}`}})).ok&&(await u.auth.signOut(),e("/"))}finally{a(!1),n(!1)}};return d.jsxs("div",{className:"container py-12 max-w-lg",children:[d.jsx("h1",{className:"font-display text-3xl font-bold text-foreground mb-4",children:"Settings"}),d.jsxs("div",{className:"space-y-6",children:[d.jsx("button",{onClick:s,className:"flex items-center gap-2 px-4 py-2.5 rounded-lg border border-border text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",children:"Logout"}),d.jsx("hr",{className:"border-border"}),d.jsxs("div",{children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground mb-1",children:"Danger Zone"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Permanently delete your account and all associated data."}),r?d.jsxs("div",{className:"p-4 rounded-lg border border-red-300 bg-red-50/50 space-y-3",children:[d.jsx("p",{className:"text-sm text-red-700 font-medium",children:"This will permanently delete your account, search history, saved lists, and all data. This action cannot be undone."}),d.jsxs("div",{className:"flex gap-2",children:[d.jsx("button",{onClick:l,disabled:t,className:"px-4 py-2 rounded-lg bg-red-600 text-white hover:bg-red-700 disabled:opacity-50 transition-colors",children:t?"Deleting...":"Yes, delete my account"}),d.jsx("button",{onClick:()=>n(!1),className:"px-4 py-2 rounded-lg border border-border text-muted-foreground hover:bg-muted/50 transition-colors",children:"Cancel"})]})]}):d.jsx("button",{onClick:()=>n(!0),className:"px-4 py-2.5 rounded-lg border border-red-300 text-red-600 hover:bg-red-50 transition-colors",children:"Delete Account"})]})]})]})}qM.createRoot(document.getElementById("root")).render(d.jsx(N.StrictMode,{children:d.jsx(GD,{children:d.jsx(IH,{})})}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.