vendor: 5,808 bytes, lines 1-9
1var mv=e=>{throw TypeError(e)};var Od=(e,t,n)=>t.has(e)||mv("Cannot "+n);var q=(e,t,n)=>(Od(e,t,"read from private field"),n?n.call(e):t.get(e)),Se=(e,t,n)=>t.has(e)?mv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ge=(e,t,n,o)=>(Od(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),ht=(e,t,n)=>(Od(e,t,"access private method"),n);var bl=(e,t,n,o)=>({set _(a){ge(e,t,a,n)},get _(){return q(e,t,o)}});function lk(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in e)){const l=Object.getOwnPropertyDescriptor(o,a);l&&Object.defineProperty(e,a,l.get?l:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const l of a)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function n(a){const l={};return a.integrity&&(l.integrity=a.integrity),a.referrerPolicy&&(l.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?l.credentials="include":a.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(a){if(a.ep)return;a.ep=!0;const l=n(a);fetch(a.href,l)}})();function lp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _d={exports:{}},ga={},Dd={exports:{}},be={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its 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 hv;function ck(){if(hv)return be;hv=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function b(_){return _===null||typeof _!="object"?null:(_=y&&_[y]||_["@@iterator"],typeof _=="function"?_:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,S={};function E(_,$,me){this.props=_,this.context=$,this.refs=S,this.updater=me||k}E.prototype.isReactComponent={},E.prototype.setState=function(_,$){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,$,"setState")},E.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function T(){}T.prototype=E.prototype;function j(_,$,me){this.props=_,this.context=$,this.refs=S,this.updater=me||k}var R=j.prototype=new T;R.constructor=j,C(R,E.prototype),R.isPureReactComponent=!0;var N=Array.isArray,D=Object.prototype.hasOwnProperty,U={current:null},B={key:!0,ref:!0,__self:!0,__source:!0};function M(_,$,me){var he,ie={},de=null,Pe=null;if($!=null)for(he in $.ref!==void 0&&(Pe=$.ref),$.key!==void 0&&(de=""+$.key),$)D.call($,he)&&!B.hasOwnProperty(he)&&(ie[he]=$[he]);var ke=arguments.length-2;if(ke===1)ie.children=me;else if(1<ke){for(var ye=Array(ke),yt=0;yt<ke;yt++)ye[yt]=arguments[yt+2];ie.children=ye}if(_&&_.defaultProps)for(he in ke=_.defaultProps,ke)ie[he]===void 0&&(ie[he]=ke[he]);return{$$typeof:e,type:_,key:de,ref:Pe,props:ie,_owner:U.current}}function Y(_,$){return{$$typeof:e,type:_.type,key:$,ref:_.ref,props:_.props,_owner:_._owner}}function ve(_){return typeof _=="object"&&_!==null&&_.$$typeof===e}function ue(_){var $={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(me){return $[me]})}var Te=/\/+/g;function ze(_,$){return typeof _=="object"&&_!==null&&_.key!=null?ue(""+_.key):$.toString(36)}function _e(_,$,me,he,ie){var de=typeof _;(de==="undefined"||de==="boolean")&&(_=null);var Pe=!1;if(_===null)Pe=!0;else switch(de){case"string":case"number":Pe=!0;break;case"object":switch(_.$$typeof){case e:case t:Pe=!0}}if(Pe)return Pe=_,ie=ie(Pe),_=he===""?"."+ze(Pe,0):he,N(ie)?(me="",_!=null&&(me=_.replace(Te,"$&/")+"/"),_e(ie,$,me,"",function(yt){return yt})):ie!=null&&(ve(ie)&&(ie=Y(ie,me+(!ie.key||Pe&&Pe.key===ie.key?"":(""+ie.key).replace(Te,"$&/")+"/")+_)),$.push(ie)),1;if(Pe=0,he=he===""?".":he+":",N(_))for(var ke=0;ke<_.length;ke++){de=_[ke];var ye=he+ze(de,ke);Pe+=_e(de,$,me,ye,ie)}else if(ye=b(_),typeof ye=="function")for(_=ye.call(_),ke=0;!(de=_.next()).done;)de=de.value,ye=he+ze(de,ke++),Pe+=_e(de,$,me,ye,ie);else if(de==="object")throw $=String(_),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return Pe}function Qe(_,$,me){if(_==null)return _;var he=[],ie=0;return _e(_,he,"","",function(de){return $.call(me,de,ie++)}),he}function xe(_){if(_._status===-1){var $=_._result;$=$(),$.then(function(me){(_._status===0||_._status===-1)&&(_._status=1,_._result=me)},function(me){(_._status===0||_._status===-1)&&(_._status=2,_._result=me)}),_._status===-1&&(_._status=0,_._result=$)}if(_._status===1)return _._result.default;throw _._result}var ce={current:null},G={transition:null},re={ReactCurrentDispatcher:ce,ReactCurrentBatchConfig:G,ReactCurrentOwner:U};function F(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 5,646 bytes, lines 9-25
9return be.Children={map:Qe,forEach:function(_,$,me){Qe(_,function(){$.apply(this,arguments)},me)},count:function(_){var $=0;return Qe(_,function(){$++}),$},toArray:function(_){return Qe(_,function($){return $})||[]},only:function(_){if(!ve(_))throw Error("React.Children.only expected to receive a single React element child.");return _}},be.Component=E,be.Fragment=n,be.Profiler=a,be.PureComponent=j,be.StrictMode=o,be.Suspense=f,be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=re,be.act=F,be.cloneElement=function(_,$,me){if(_==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+_+".");var he=C({},_.props),ie=_.key,de=_.ref,Pe=_._owner;if($!=null){if($.ref!==void 0&&(de=$.ref,Pe=U.current),$.key!==void 0&&(ie=""+$.key),_.type&&_.type.defaultProps)var ke=_.type.defaultProps;for(ye in $)D.call($,ye)&&!B.hasOwnProperty(ye)&&(he[ye]=$[ye]===void 0&&ke!==void 0?ke[ye]:$[ye])}var ye=arguments.length-2;if(ye===1)he.children=me;else if(1<ye){ke=Array(ye);for(var yt=0;yt<ye;yt++)ke[yt]=arguments[yt+2];he.children=ke}return{$$typeof:e,type:_.type,key:ie,ref:de,props:he,_owner:Pe}},be.createContext=function(_){return _={$$typeof:c,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},_.Provider={$$typeof:l,_context:_},_.Consumer=_},be.createElement=M,be.createFactory=function(_){var $=M.bind(null,_);return $.type=_,$},be.createRef=function(){return{current:null}},be.forwardRef=function(_){return{$$typeof:d,render:_}},be.isValidElement=ve,be.lazy=function(_){return{$$typeof:g,_payload:{_status:-1,_result:_},_init:xe}},be.memo=function(_,$){return{$$typeof:m,type:_,compare:$===void 0?null:$}},be.startTransition=function(_){var $=G.transition;G.transition={};try{_()}finally{G.transition=$}},be.unstable_act=F,be.useCallback=function(_,$){return ce.current.useCallback(_,$)},be.useContext=function(_){return ce.current.useContext(_)},be.useDebugValue=function(){},be.useDeferredValue=function(_){return ce.current.useDeferredValue(_)},be.useEffect=function(_,$){return ce.current.useEffect(_,$)},be.useId=function(){return ce.current.useId()},be.useImperativeHandle=function(_,$,me){return ce.current.useImperativeHandle(_,$,me)},be.useInsertionEffect=function(_,$){return ce.current.useInsertionEffect(_,$)},be.useLayoutEffect=function(_,$){return ce.current.useLayoutEffect(_,$)},be.useMemo=function(_,$){return ce.current.useMemo(_,$)},be.useReducer=function(_,$,me){return ce.current.useReducer(_,$,me)},be.useRef=function(_){return ce.current.useRef(_)},be.useState=function(_){return ce.current.useState(_)},be.useSyncExternalStore=function(_,$,me){return ce.current.useSyncExternalStore(_,$,me)},be.useTransition=function(){return ce.current.useTransition()},be.version="18.3.1",be}var gv;function cp(){return gv||(gv=1,Dd.exports=ck()),Dd.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its 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 vv;function uk(){if(vv)return ga;vv=1;var e=cp(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(d,f,m){var g,y={},b=null,k=null;m!==void 0&&(b=""+m),f.key!==void 0&&(b=""+f.key),f.ref!==void 0&&(k=f.ref);for(g in f)o.call(f,g)&&!l.hasOwnProperty(g)&&(y[g]=f[g]);if(d&&d.defaultProps)for(g in f=d.defaultProps,f)y[g]===void 0&&(y[g]=f[g]);return{$$typeof:t,type:d,key:b,ref:k,props:y,_owner:a.current}}return ga.Fragment=n,ga.jsx=c,ga.jsxs=c,ga}var yv;function dk(){return yv||(yv=1,_d.exports=uk()),_d.exports}var h=dk(),x=cp();const je=lp(x),gc=lk({__proto__:null,default:je},[x]);var Sl={},Id={exports:{}},Mt={},Md={exports:{}},Ld={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its 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 xv;function fk(){return xv||(xv=1,(function(e){function t(G,re){var F=G.length;G.push(re);e:for(;0<F;){var _=F-1>>>1,$=G[_];if(0<a($,re))G[_]=re,G[F]=$,F=_;else break e}}function n(G){return G.length===0?null:G[0]}function o(G){if(G.length===0)return null;var re=G[0],F=G.pop();if(F!==re){G[0]=F;e:for(var _=0,$=G.length,me=$>>>1;_<me;){var he=2*(_+1)-1,ie=G[he],de=he+1,Pe=G[de];if(0>a(ie,F))de<$&&0>a(Pe,ie)?(G[_]=Pe,G[de]=F,_=de):(G[_]=ie,G[he]=F,_=he);else if(de<$&&0>a(Pe,F))G[_]=Pe,G[de]=F,_=de;else break e}}return re}function a(G,re){var F=G.sortIndex-re.sortIndex;return F!==0?F:G.id-re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],m=[],g=1,y=null,b=3,k=!1,C=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function R(G){for(var re=n(m);re!==null;){if(re.callback===null)o(m);else if(re.startTime<=G)o(m),re.sortIndex=re.expirationTime,t(f,re);else break;re=n(m)}}function N(G){if(S=!1,R(G),!C)if(n(f)!==null)C=!0,xe(D);else{var re=n(m);re!==null&&ce(N,re.startTime-G)}}function D(G,re){C=!1,S&&(S=!1,T(M),M=-1),k=!0;var F=b;
vendor: 49,000 bytes, lines 25-38
25try{for(R(re),y=n(f);y!==null&&(!(y.expirationTime>re)||G&&!ue());){var _=y.callback;if(typeof _=="function"){y.callback=null,b=y.priorityLevel;var $=_(y.expirationTime<=re);re=e.unstable_now(),typeof $=="function"?y.callback=$:y===n(f)&&o(f),R(re)}else o(f);y=n(f)}if(y!==null)var me=!0;else{var he=n(m);he!==null&&ce(N,he.startTime-re),me=!1}return me}finally{y=null,b=F,k=!1}}var U=!1,B=null,M=-1,Y=5,ve=-1;function ue(){return!(e.unstable_now()-ve<Y)}function Te(){if(B!==null){var G=e.unstable_now();ve=G;var re=!0;try{re=B(!0,G)}finally{re?ze():(U=!1,B=null)}}else U=!1}var ze;if(typeof j=="function")ze=function(){j(Te)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,Qe=_e.port2;_e.port1.onmessage=Te,ze=function(){Qe.postMessage(null)}}else ze=function(){E(Te,0)};function xe(G){B=G,U||(U=!0,ze())}function ce(G,re){M=E(function(){G(e.unstable_now())},re)}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(G){G.callback=null},e.unstable_continueExecution=function(){C||k||(C=!0,xe(D))},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(G){switch(b){case 1:case 2:case 3:var re=3;break;default:re=b}var F=b;b=re;try{return G()}finally{b=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(G,re){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var F=b;b=G;try{return re()}finally{b=F}},e.unstable_scheduleCallback=function(G,re,F){var _=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?_+F:_):F=_,G){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=F+$,G={id:g++,callback:re,priorityLevel:G,startTime:F,expirationTime:$,sortIndex:-1},F>_?(G.sortIndex=F,t(m,G),n(f)===null&&G===n(m)&&(S?(T(M),M=-1):S=!0,ce(N,F-_))):(G.sortIndex=$,t(f,G),C||k||(C=!0,xe(D))),G},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(G){var re=b;return function(){var F=b;b=re;try{return G.apply(this,arguments)}finally{b=F}}}})(Ld)),Ld}var wv;function pk(){return wv||(wv=1,Md.exports=fk()),Md.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its 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 bv;function mk(){if(bv)return Mt;bv=1;var e=cp(),t=pk();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,i=1;i<arguments.length;i++)s+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={};function l(r,s){c(r,s),c(r+"Capture",s)}function c(r,s){for(a[r]=s,r=0;r<s.length;r++)o.add(s[r])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,m=/^[: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]*$/,g={},y={};function b(r){return f.call(y,r)?!0:f.call(g,r)?!1:m.test(r)?y[r]=!0:(g[r]=!0,!1)}function k(r,s,i,u){if(i!==null&&i.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return u?!1:i!==null?!i.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function C(r,s,i,u){if(s===null||typeof s>"u"||k(r,s,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function S(r,s,i,u,p,v,w){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=i,this.propertyName=r,this.type=s,this.sanitizeURL=v,this.removeEmptyString=w}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){E[r]=new S(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];E[s]=new S(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){E[r]=new S(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){E[r]=new S(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){E[r]=new S(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){E[r]=new S(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){E[r]=new S(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){E[r]=new S(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){E[r]=new S(r,5,!1,r.toLowerCase(),null,!1,!1)});var T=/[\-:]([a-z])/g;function j(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var s=r.replace(T,j);E[s]=new S(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(T,j);E[s]=new S(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(T,j);E[s]=new S(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){E[r]=new S(r,1,!1,r.toLowerCase(),null,!1,!1)}),E.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){E[r]=new S(r,1,!1,r.toLowerCase(),null,!0,!0)});function R(r,s,i,u){var p=E.hasOwnProperty(s)?E[s]:null;(p!==null?p.type!==0:u||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(C(s,i,p,u)&&(i=null),u||p===null?b(s)&&(i===null?r.removeAttribute(s):r.setAttribute(s,""+i)):p.mustUseProperty?r[p.propertyName]=i===null?p.type===3?!1:"":i:(s=p.attributeName,u=p.attributeNamespace,i===null?r.removeAttribute(s):(p=p.type,i=p===3||p===4&&i===!0?"":""+i,u?r.setAttributeNS(u,s,i):r.setAttribute(s,i))))}var N=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,D=Symbol.for("react.element"),U=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),ve=Symbol.for("react.provider"),ue=Symbol.for("react.context"),Te=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Qe=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),G=Symbol.iterator;function re(r){return r===null||typeof r!="object"?null:(r=G&&r[G]||r["@@iterator"],typeof r=="function"?r:null)}var F=Object.assign,_;function $(r){if(_===void 0)try{throw Error()}catch(i){var s=i.stack.trim().match(/\n( *(at )?)/);_=s&&s[1]||""}return` 34`+_+r}var me=!1;function he(r,s){if(!r||me)return"";me=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(V){var u=V}Reflect.construct(r,[],s)}else{try{s.call()}catch(V){u=V}r.call(s.prototype)}else{try{throw Error()}catch(V){u=V}r()}}catch(V){if(V&&u&&typeof V.stack=="string"){for(var p=V.stack.split(` 35`),v=u.stack.split(` 36`),w=p.length-1,A=v.length-1;1<=w&&0<=A&&p[w]!==v[A];)A--;for(;1<=w&&0<=A;w--,A--)if(p[w]!==v[A]){if(w!==1||A!==1)do if(w--,A--,0>A||p[w]!==v[A]){var P=` 37`+p[w].replace(" at new "," at ");return r.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",r.displayName)),P}while(1<=w&&0<=A);break}}}finally{me=!1,Error.prepareStackTrace=i}return(r=r?r.displayName||r.name:"")?$(r):""}function ie(r){switch(r.tag){case 5:return $(r.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return r=he(r.type,!1),r;case 11:return r=he(r.type.render,!1),r;case 1:return r=he(r.type,!0),r;default:return""}}function de(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case B:return"Fragment";case U:return"Portal";case Y:return"Profiler";case M:return"StrictMode";case ze:return"Suspense";case _e:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ue:return(r.displayName||"Context")+".Consumer";case ve:return(r._context.displayName||"Context")+".Provider";case Te:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Qe:return s=r.displayName||null,s!==null?s:de(r.type)||"Memo";case xe:s=r._payload,r=r._init;try{return de(r(s))}catch{}}return null}function Pe(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(s);case 8:return s===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function ke(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ye(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function yt(r){var s=ye(r)?"checked":"value",i=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),u=""+r[s];if(!r.hasOwnProperty(s)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var p=i.get,v=i.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return p.call(this)},set:function(w){u=""+w,v.call(this,w)}}),Object.defineProperty(r,s,{enumerable:i.enumerable}),{getValue:function(){return u},setValue:function(w){u=""+w},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function qn(r){r._valueTracker||(r._valueTracker=yt(r))}function Hr(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var i=s.getValue(),u="";return r&&(u=ye(r)?r.checked?"true":"false":r.value),r=u,r!==i?(s.setValue(r),!0):!1}function rr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function or(r,s){var i=s.checked;return F({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??r._wrapperState.initialChecked})}function bm(r,s){var i=s.defaultValue==null?"":s.defaultValue,u=s.checked!=null?s.checked:s.defaultChecked;i=ke(s.value!=null?s.value:i),r._wrapperState={initialChecked:u,initialValue:i,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function Sm(r,s){s=s.checked,s!=null&&R(r,"checked",s,!1)}function qc(r,s){Sm(r,s);var i=ke(s.value),u=s.type;if(i!=null)u==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+i):r.value!==""+i&&(r.value=""+i);else if(u==="submit"||u==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?Fc(r,s.type,i):s.hasOwnProperty("defaultValue")&&Fc(r,s.type,ke(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function Em(r,s,i){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var u=s.type;if(!(u!=="submit"&&u!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,i||s===r.value||(r.value=s),r.defaultValue=s}i=r.name,i!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,i!==""&&(r.name=i)}function Fc(r,s,i){(s!=="number"||rr(r.ownerDocument)!==r)&&(i==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+i&&(r.defaultValue=""+i))}var js=Array.isArray;function Ro(r,s,i,u){if(r=r.options,s){s={};for(var p=0;p<i.length;p++)s["$"+i[p]]=!0;for(i=0;i<r.length;i++)p=s.hasOwnProperty("$"+r[i].value),r[i].selected!==p&&(r[i].selected=p),p&&u&&(r[i].defaultSelected=!0)}else{for(i=""+ke(i),s=null,p=0;p<r.length;p++){if(r[p].value===i){r[p].selected=!0,u&&(r[p].defaultSelected=!0);return}s!==null||r[p].disabled||(s=r[p])}s!==null&&(s.selected=!0)}}function Uc(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return F({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Cm(r,s){var i=s.value;if(i==null){if(i=s.children,s=s.defaultValue,i!=null){if(s!=null)throw Error(n(92));if(js(i)){if(1<i.length)throw Error(n(93));i=i[0]}s=i}s==null&&(s=""),i=s}r._wrapperState={initialValue:ke(i)}}function km(r,s){var i=ke(s.value),u=ke(s.defaultValue);i!=null&&(i=""+i,i!==r.value&&(r.value=i),s.defaultValue==null&&r.defaultValue!==i&&(r.defaultValue=i)),u!=null&&(r.defaultValue=""+u)}function Am(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function Tm(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Bc(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?Tm(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var pi,Pm=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,i,u,p){MSApp.execUnsafeLocalFunction(function(){return r(s,i,u,p)})}:r})(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(pi=pi||document.createElement("div"),pi.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=pi.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function Os(r,s){if(s){var i=r.firstChild;if(i&&i===r.lastChild&&i.nodeType===3){i.nodeValue=s;return}}r.textContent=s}var _s={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fE=["Webkit","ms","Moz","O"];Object.keys(_s).forEach(function(r){fE.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),_s[s]=_s[r]})});function Rm(r,s,i){return s==null||typeof s=="boolean"||s===""?"":i||typeof s!="number"||s===0||_s.hasOwnProperty(r)&&_s[r]?(""+s).trim():s+"px"}function Nm(r,s){r=r.style;for(var i in s)if(s.hasOwnProperty(i)){var u=i.indexOf("--")===0,p=Rm(i,s[i],u);i==="float"&&(i="cssFloat"),u?r.setProperty(i,p):r[i]=p}}var pE=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $c(r,s){if(s){if(pE[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(n(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(n(61))}if(s.style!=null&&typeof s.style!="object")throw Error(n(62))}}function Hc(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){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 Wc=null;function Kc(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Gc=null,No=null,jo=null;function jm(r){if(r=ta(r)){if(typeof Gc!="function")throw Error(n(280));var s=r.stateNode;s&&(s=Mi(s),Gc(r.stateNode,r.type,s))}}function Om(r){No?jo?jo.push(r):jo=[r]:No=r}function _m(){if(No){var r=No,s=jo;if(jo=No=null,jm(r),s)for(r=0;r<s.length;r++)jm(s[r])}}function Dm(r,s){return r(s)}function Im(){}var Qc=!1;function Mm(r,s,i){if(Qc)return r(s,i);Qc=!0;try{return Dm(r,s,i)}finally{Qc=!1,(No!==null||jo!==null)&&(Im(),_m())}}function Ds(r,s){var i=r.stateNode;if(i===null)return null;var u=Mi(i);if(u===null)return null;i=u[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(r=r.type,u=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!u;break e;default:r=!1}if(r)return null;if(i&&typeof i!="function")throw Error(n(231,s,typeof i));return i}var Yc=!1;if(d)try{var Is={};Object.defineProperty(Is,"passive",{get:function(){Yc=!0}}),window.addEventListener("test",Is,Is),window.removeEventListener("test",Is,Is)}catch{Yc=!1}function mE(r,s,i,u,p,v,w,A,P){var V=Array.prototype.slice.call(arguments,3);try{s.apply(i,V)}catch(W){this.onError(W)}}var Ms=!1,mi=null,hi=!1,Xc=null,hE={onError:function(r){Ms=!0,mi=r}};function gE(r,s,i,u,p,v,w,A,P){Ms=!1,mi=null,mE.apply(hE,arguments)}function vE(r,s,i,u,p,v,w,A,P){if(gE.apply(this,arguments),Ms){if(Ms){var V=mi;Ms=!1,mi=null}else throw Error(n(198));hi||(hi=!0,Xc=V)}}function Wr(r){var s=r,i=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(i=s.return),r=s.return;while(r)}return s.tag===3?i:null}function Lm(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function Vm(r){if(Wr(r)!==r)throw Error(n(188))}function yE(r){var s=r.alternate;if(!s){if(s=Wr(r),s===null)throw Error(n(188));return s!==r?null:r}for(var i=r,u=s;;){var p=i.return;if(p===null)break;var v=p.alternate;if(v===null){if(u=p.return,u!==null){i=u;continue}break}if(p.child===v.child){for(v=p.child;v;){if(v===i)return Vm(p),r;if(v===u)return Vm(p),s;v=v.sibling}throw Error(n(188))}if(i.return!==u.return)i=p,u=v;else{for(var w=!1,A=p.child;A;){if(A===i){w=!0,i=p,u=v;break}if(A===u){w=!0,u=p,i=v;break}A=A.sibling}if(!w){for(A=v.child;A;){if(A===i){w=!0,i=v,u=p;break}if(A===u){w=!0,u=v,i=p;break}A=A.sibling}if(!w)throw Error(n(189))}}if(i.alternate!==u)throw Error(n(190))}if(i.tag!==3)throw Error(n(188));return i.stateNode.current===i?r:s}function zm(r){return r=yE(r),r!==null?qm(r):null}function qm(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=qm(r);if(s!==null)return s;r=r.sibling}return null}var Fm=t.unstable_scheduleCallback,Um=t.unstable_cancelCallback,xE=t.unstable_shouldYield,wE=t.unstable_requestPaint,Ye=t.unstable_now,bE=t.unstable_getCurrentPriorityLevel,Jc=t.unstable_ImmediatePriority,Bm=t.unstable_UserBlockingPriority,gi=t.unstable_NormalPriority,SE=t.unstable_LowPriority,$m=t.unstable_IdlePriority,vi=null,An=null;function EE(r){if(An&&typeof An.onCommitFiberRoot=="function")try{An.onCommitFiberRoot(vi,r,void 0,(r.current.flags&128)===128)}catch{}}var un=Math.clz32?Math.clz32:AE,CE=Math.log,kE=Math.LN2;function AE(r){return r>>>=0,r===0?32:31-(CE(r)/kE|0)|0}var yi=64,xi=4194304;function Ls(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function wi(r,s){var i=r.pendingLanes;if(i===0)return 0;var u=0,p=r.suspendedLanes,v=r.pingedLanes,w=i&268435455;if(w!==0){var A=w&~p;A!==0?u=Ls(A):(v&=w,v!==0&&(u=Ls(v)))}else w=i&~p,w!==0?u=Ls(w):v!==0&&(u=Ls(v));if(u===0)return 0;if(s!==0&&s!==u&&(s&p)===0&&(p=u&-u,v=s&-s,p>=v||p===16&&(v&4194240)!==0))return s;if((u&4)!==0&&(u|=i&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=u;0<s;)i=31-un(s),p=1<<i,u|=r[i],s&=~p;return u}function TE(r,s){switch(r){case 1:case 2:case 4:return s+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function PE(r,s){for(var i=r.suspendedLanes,u=r.pingedLanes,p=r.expirationTimes,v=r.pendingLanes;0<v;){var w=31-un(v),A=1<<w,P=p[w];P===-1?((A&i)===0||(A&u)!==0)&&(p[w]=TE(A,s)):P<=s&&(r.expiredLanes|=A),v&=~A}}function Zc(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Hm(){var r=yi;return yi<<=1,(yi&4194240)===0&&(yi=64),r}function eu(r){for(var s=[],i=0;31>i;i++)s.push(r);return s}function Vs(r,s,i){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-un(s),r[s]=i}function RE(r,s){var i=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var u=r.eventTimes;for(r=r.expirationTimes;0<i;){var p=31-un(i),v=1<<p;s[p]=0,u[p]=-1,r[p]=-1,i&=~v}}function tu(r,s){var i=r.entangledLanes|=s;for(r=r.entanglements;i;){var u=31-un(i),p=1<<u;p&s|r[u]&s&&(r[u]|=s),i&=~p}}var Ne=0;function Wm(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Km,nu,Gm,Qm,Ym,ru=!1,bi=[],sr=null,ar=null,ir=null,zs=new Map,qs=new Map,lr=[],NE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Xm(r,s){switch(r){case"focusin":case"focusout":sr=null;break;case"dragenter":case"dragleave":ar=null;break;case"mouseover":case"mouseout":ir=null;break;case"pointerover":case"pointerout":zs.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":qs.delete(s.pointerId)}}function Fs(r,s,i,u,p,v){return r===null||r.nativeEvent!==v?(r={blockedOn:s,domEventName:i,eventSystemFlags:u,nativeEvent:v,targetContainers:[p]},s!==null&&(s=ta(s),s!==null&&nu(s)),r):(r.eventSystemFlags|=u,s=r.targetContainers,p!==null&&s.indexOf(p)===-1&&s.push(p),r)}function jE(r,s,i,u,p){switch(s){case"focusin":return sr=Fs(sr,r,s,i,u,p),!0;case"dragenter":return ar=Fs(ar,r,s,i,u,p),!0;case"mouseover":return ir=Fs(ir,r,s,i,u,p),!0;case"pointerover":var v=p.pointerId;return zs.set(v,Fs(zs.get(v)||null,r,s,i,u,p)),!0;case"gotpointercapture":return v=p.pointerId,qs.set(v,Fs(qs.get(v)||null,r,s,i,u,p)),!0}return!1}function Jm(r){var s=Kr(r.target);if(s!==null){var i=Wr(s);if(i!==null){if(s=i.tag,s===13){if(s=Lm(i),s!==null){r.blockedOn=s,Ym(r.priority,function(){Gm(i)});return}}else if(s===3&&i.stateNode.current.memoizedState.isDehydrated){r.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Si(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var i=su(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(i===null){i=r.nativeEvent;var u=new i.constructor(i.type,i);Wc=u,i.target.dispatchEvent(u),Wc=null}else return s=ta(i),s!==null&&nu(s),r.blockedOn=i,!1;s.shift()}return!0}function Zm(r,s,i){Si(r)&&i.delete(s)}function OE(){ru=!1,sr!==null&&Si(sr)&&(sr=null),ar!==null&&Si(ar)&&(ar=null),ir!==null&&Si(ir)&&(ir=null),zs.forEach(Zm),qs.forEach(Zm)}function Us(r,s){r.blockedOn===s&&(r.blockedOn=null,ru||(ru=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,OE)))}function Bs(r){function s(p){return Us(p,r)}if(0<bi.length){Us(bi[0],r);for(var i=1;i<bi.length;i++){var u=bi[i];u.blockedOn===r&&(u.blockedOn=null)}}for(sr!==null&&Us(sr,r),ar!==null&&Us(ar,r),ir!==null&&Us(ir,r),zs.forEach(s),qs.forEach(s),i=0;i<lr.length;i++)u=lr[i],u.blockedOn===r&&(u.blockedOn=null);for(;0<lr.length&&(i=lr[0],i.blockedOn===null);)Jm(i),i.blockedOn===null&&lr.shift()}var Oo=N.ReactCurrentBatchConfig,Ei=!0;function _E(r,s,i,u){var p=Ne,v=Oo.transition;Oo.transition=null;try{Ne=1,ou(r,s,i,u)}finally{Ne=p,Oo.transition=v}}function DE(r,s,i,u){var p=Ne,v=Oo.transition;Oo.transition=null;try{Ne=4,ou(r,s,i,u)}finally{Ne=p,Oo.transition=v}}function ou(r,s,i,u){if(Ei){var p=su(r,s,i,u);if(p===null)Su(r,s,u,Ci,i),Xm(r,u);else if(jE(p,r,s,i,u))u.stopPropagation();else if(Xm(r,u),s&4&&-1<NE.indexOf(r)){for(;p!==null;){var v=ta(p);if(v!==null&&Km(v),v=su(r,s,i,u),v===null&&Su(r,s,u,Ci,i),v===p)break;p=v}p!==null&&u.stopPropagation()}else Su(r,s,u,null,i)}}var Ci=null;function su(r,s,i,u){if(Ci=null,r=Kc(u),r=Kr(r),r!==null)if(s=Wr(r),s===null)r=null;else if(i=s.tag,i===13){if(r=Lm(s),r!==null)return r;r=null}else if(i===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return Ci=r,null}function eh(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(bE()){case Jc:return 1;case Bm:return 4;case gi:case SE:return 16;case $m:return 536870912;default:return 16}default:return 16}}var cr=null,au=null,ki=null;function th(){if(ki)return ki;var r,s=au,i=s.length,u,p="value"in cr?cr.value:cr.textContent,v=p.length;for(r=0;r<i&&s[r]===p[r];r++);var w=i-r;for(u=1;u<=w&&s[i-u]===p[v-u];u++);return ki=p.slice(r,1<u?1-u:void 0)}function Ai(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function Ti(){return!0}function nh(){return!1}function zt(r){function s(i,u,p,v,w){this._reactName=i,this._targetInst=p,this.type=u,this.nativeEvent=v,this.target=w,this.currentTarget=null;for(var A in r)r.hasOwnProperty(A)&&(i=r[A],this[A]=i?i(v):v[A]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Ti:nh,this.isPropagationStopped=nh,this}return F(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ti)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ti)},persist:function(){},isPersistent:Ti}),s}var _o={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},iu=zt(_o),$s=F({},_o,{view:0,detail:0}),IE=zt($s),lu,cu,Hs,Pi=F({},$s,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Hs&&(Hs&&r.type==="mousemove"?(lu=r.screenX-Hs.screenX,cu=r.screenY-Hs.screenY):cu=lu=0,Hs=r),lu)},movementY:function(r){return"movementY"in r?r.movementY:cu}}),rh=zt(Pi),ME=F({},Pi,{dataTransfer:0}),LE=zt(ME),VE=F({},$s,{relatedTarget:0}),uu=zt(VE),zE=F({},_o,{animationName:0,elapsedTime:0,pseudoElement:0}),qE=zt(zE),FE=F({},_o,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),UE=zt(FE),BE=F({},_o,{data:0}),oh=zt(BE),$E={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HE={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"},WE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function KE(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=WE[r])?!!s[r]:!1}function du(){return KE}var GE=F({},$s,{key:function(r){if(r.key){var s=$E[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Ai(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?HE[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(r){return r.type==="keypress"?Ai(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Ai(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),QE=zt(GE),YE=F({},Pi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sh=zt(YE),XE=F({},$s,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),JE=zt(XE),ZE=F({},_o,{propertyName:0,elapsedTime:0,pseudoElement:0}),eC=zt(ZE),tC=F({},Pi,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),nC=zt(tC),rC=[9,13,27,32],fu=d&&"CompositionEvent"in window,Ws=null;d&&"documentMode"in document&&(Ws=document.documentMode);var oC=d&&"TextEvent"in window&&!Ws,ah=d&&(!fu||Ws&&8<Ws&&11>=Ws),ih=" ",lh=!1;function ch(r,s){switch(r){case"keyup":return rC.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uh(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Do=!1;function sC(r,s){switch(r){case"compositionend":return uh(s);case"keypress":return s.which!==32?null:(lh=!0,ih);case"textInput":return r=s.data,r===ih&&lh?null:r;default:return null}}function aC(r,s){if(Do)return r==="compositionend"||!fu&&ch(r,s)?(r=th(),ki=au=cr=null,Do=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return ah&&s.locale!=="ko"?null:s.data;default:return null}}var iC={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 dh(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!iC[r.type]:s==="textarea"}function fh(r,s,i,u){Om(u),s=_i(s,"onChange"),0<s.length&&(i=new iu("onChange","change",null,i,u),r.push({event:i,listeners:s}))}var Ks=null,Gs=null;function lC(r){Nh(r,0)}function Ri(r){var s=zo(r);if(Hr(s))return r}function cC(r,s){if(r==="change")return s}var ph=!1;if(d){var pu;if(d){var mu="oninput"in document;if(!mu){var mh=document.createElement("div");mh.setAttribute("oninput","return;"),mu=typeof mh.oninput=="function"}pu=mu}else pu=!1;ph=pu&&(!document.documentMode||9<document.documentMode)}function hh(){Ks&&(Ks.detachEvent("onpropertychange",gh),Gs=Ks=null)}function gh(r){if(r.propertyName==="value"&&Ri(Gs)){var s=[];fh(s,Gs,r,Kc(r)),Mm(lC,s)}}function uC(r,s,i){r==="focusin"?(hh(),Ks=s,Gs=i,Ks.attachEvent("onpropertychange",gh)):r==="focusout"&&hh()}function dC(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Ri(Gs)}function fC(r,s){if(r==="click")return Ri(s)}function pC(r,s){if(r==="input"||r==="change")return Ri(s)}function mC(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var dn=typeof Object.is=="function"?Object.is:mC;function Qs(r,s){if(dn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var i=Object.keys(r),u=Object.keys(s);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var p=i[u];if(!f.call(s,p)||!dn(r[p],s[p]))return!1}return!0}function vh(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function yh(r,s){var i=vh(r);r=0;for(var u;i;){if(i.nodeType===3){if(u=r+i.textContent.length,r<=s&&u>=s)return{node:i,offset:s-r};r=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=vh(i)}}function xh(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?xh(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function wh(){for(var r=window,s=rr();s instanceof r.HTMLIFrameElement;){try{var i=typeof s.contentWindow.location.href=="string"}catch{i=!1}if(i)r=s.contentWindow;else break;s=rr(r.document)}return s}function hu(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function hC(r){var s=wh(),i=r.focusedElem,u=r.selectionRange;if(s!==i&&i&&i.ownerDocument&&xh(i.ownerDocument.documentElement,i)){if(u!==null&&hu(i)){if(s=u.start,r=u.end,r===void 0&&(r=s),"selectionStart"in i)i.selectionStart=s,i.selectionEnd=Math.min(r,i.value.length);else if(r=(s=i.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var p=i.textContent.length,v=Math.min(u.start,p);u=u.end===void 0?v:Math.min(u.end,p),!r.extend&&v>u&&(p=u,u=v,v=p),p=yh(i,v);var w=yh(i,u);p&&w&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==w.node||r.focusOffset!==w.offset)&&(s=s.createRange(),s.setStart(p.node,p.offset),r.removeAllRanges(),v>u?(r.addRange(s),r.extend(w.node,w.offset)):(s.setEnd(w.node,w.offset),r.addRange(s)))}}for(s=[],r=i;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<s.length;i++)r=s[i],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var gC=d&&"documentMode"in document&&11>=document.documentMode,Io=null,gu=null,Ys=null,vu=!1;function bh(r,s,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;vu||Io==null||Io!==rr(u)||(u=Io,"selectionStart"in u&&hu(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ys&&Qs(Ys,u)||(Ys=u,u=_i(gu,"onSelect"),0<u.length&&(s=new iu("onSelect","select",null,s,i),r.push({event:s,listeners:u}),s.target=Io)))}function Ni(r,s){var i={};return i[r.toLowerCase()]=s.toLowerCase(),i["Webkit"+r]="webkit"+s,i["Moz"+r]="moz"+s,i}var Mo={animationend:Ni("Animation","AnimationEnd"),animationiteration:Ni("Animation","AnimationIteration"),animationstart:Ni("Animation","AnimationStart"),transitionend:Ni("Transition","TransitionEnd")},yu={},Sh={};d&&(Sh=document.createElement("div").style,"AnimationEvent"in window||(delete Mo.animationend.animation,delete Mo.animationiteration.animation,delete Mo.animationstart.animation),"TransitionEvent"in window||delete Mo.transitionend.transition);function ji(r){if(yu[r])return yu[r];if(!Mo[r])return r;var s=Mo[r],i;for(i in s)if(s.hasOwnProperty(i)&&i in Sh)return yu[r]=s[i];return r}var Eh=ji("animationend"),Ch=ji("animationiteration"),kh=ji("animationstart"),Ah=ji("transitionend"),Th=new Map,Ph="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ur(r,s){Th.set(r,s),l(s,[r])}for(var xu=0;xu<Ph.length;xu++){var wu=Ph[xu],vC=wu.toLowerCase(),yC=wu[0].toUpperCase()+wu.slice(1);ur(vC,"on"+yC)}ur(Eh,"onAnimationEnd"),ur(Ch,"onAnimationIteration"),ur(kh,"onAnimationStart"),ur("dblclick","onDoubleClick"),ur("focusin","onFocus"),ur("focusout","onBlur"),ur(Ah,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xs="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(" "),xC=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xs));function Rh(r,s,i){var u=r.type||"unknown-event";r.currentTarget=i,vE(u,s,void 0,r),r.currentTarget=null}function Nh(r,s){s=(s&4)!==0;for(var i=0;i<r.length;i++){var u=r[i],p=u.event;u=u.listeners;e:{var v=void 0;if(s)for(var w=u.length-1;0<=w;w--){var A=u[w],P=A.instance,V=A.currentTarget;if(A=A.listener,P!==v&&p.isPropagationStopped())break e;Rh(p,A,V),v=P}else for(w=0;w<u.length;w++){if(A=u[w],P=A.instance,V=A.currentTarget,A=A.listener,P!==v&&p.isPropagationStopped())break e;Rh(p,A,V),v=P}}}if(hi)throw r=Xc,hi=!1,Xc=null,r}function Me(r,s){var i=s[Pu];i===void 0&&(i=s[Pu]=new Set);var u=r+"__bubble";i.has(u)||(jh(s,r,2,!1),i.add(u))}function bu(r,s,i){var u=0;s&&(u|=4),jh(i,r,u,s)}var Oi="_reactListening"+Math.random().toString(36).slice(2);function Js(r){if(!r[Oi]){r[Oi]=!0,o.forEach(function(i){i!=="selectionchange"&&(xC.has(i)||bu(i,!1,r),bu(i,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Oi]||(s[Oi]=!0,bu("selectionchange",!1,s))}}function jh(r,s,i,u){switch(eh(s)){case 1:var p=_E;break;case 4:p=DE;break;default:p=ou}i=p.bind(null,s,i,r),p=void 0,!Yc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(p=!0),u?p!==void 0?r.addEventListener(s,i,{capture:!0,passive:p}):r.addEventListener(s,i,!0):p!==void 0?r.addEventListener(s,i,{passive:p}):r.addEventListener(s,i,!1)}function Su(r,s,i,u,p){var v=u;if((s&1)===0&&(s&2)===0&&u!==null)e:for(;;){if(u===null)return;var w=u.tag;if(w===3||w===4){var A=u.stateNode.containerInfo;if(A===p||A.nodeType===8&&A.parentNode===p)break;if(w===4)for(w=u.return;w!==null;){var P=w.tag;if((P===3||P===4)&&(P=w.stateNode.containerInfo,P===p||P.nodeType===8&&P.parentNode===p))return;w=w.return}for(;A!==null;){if(w=Kr(A),w===null)return;if(P=w.tag,P===5||P===6){u=v=w;continue e}A=A.parentNode}}u=u.return}Mm(function(){var V=v,W=Kc(i),K=[];e:{var H=Th.get(r);if(H!==void 0){var X=iu,Z=r;switch(r){case"keypress":if(Ai(i)===0)break e;case"keydown":case"keyup":X=QE;break;case"focusin":Z="focus",X=uu;break;case"focusout":Z="blur",X=uu;break;case"beforeblur":case"afterblur":X=uu;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=rh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=LE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=JE;break;case Eh:case Ch:case kh:X=qE;break;case Ah:X=eC;break;case"scroll":X=IE;break;case"wheel":X=nC;break;case"copy":case"cut":case"paste":X=UE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=sh}var ne=(s&4)!==0,Xe=!ne&&r==="scroll",I=ne?H!==null?H+"Capture":null:H;ne=[];for(var O=V,L;O!==null;){L=O;var Q=L.stateNode;if(L.tag===5&&Q!==null&&(L=Q,I!==null&&(Q=Ds(O,I),Q!=null&&ne.push(Zs(O,Q,L)))),Xe)break;O=O.return}0<ne.length&&(H=new X(H,Z,null,i,W),K.push({event:H,listeners:ne}))}}if((s&7)===0){e:{if(H=r==="mouseover"||r==="pointerover",X=r==="mouseout"||r==="pointerout",H&&i!==Wc&&(Z=i.relatedTarget||i.fromElement)&&(Kr(Z)||Z[Fn]))break e;if((X||H)&&(H=W.window===W?W:(H=W.ownerDocument)?H.defaultView||H.parentWindow:window,X?(Z=i.relatedTarget||i.toElement,X=V,Z=Z?Kr(Z):null,Z!==null&&(Xe=Wr(Z),Z!==Xe||Z.tag!==5&&Z.tag!==6)&&(Z=null)):(X=null,Z=V),X!==Z)){if(ne=rh,Q="onMouseLeave",I="onMouseEnter",O="mouse",(r==="pointerout"||r==="pointerover")&&(ne=sh,Q="onPointerLeave",I="onPointerEnter",O="pointer"),Xe=X==null?H:zo(X),L=Z==null?H:zo(Z),H=new ne(Q,O+"leave",X,i,W),H.target=Xe,H.relatedTarget=L,Q=null,Kr(W)===V&&(ne=new ne(I,O+"enter",Z,i,W),ne.target=L,ne.relatedTarget=Xe,Q=ne),Xe=Q,X&&Z)t:{for(ne=X,I=Z,O=0,L=ne;L;L=Lo(L))O++;for(L=0,Q=I;Q;Q=Lo(Q))L++;for(;0<O-L;)ne=Lo(ne),O--;for(;0<L-O;)I=Lo(I),L--;for(;O--;){if(ne===I||I!==null&&ne===I.alternate)break t;ne=Lo(ne),I=Lo(I)}ne=null}else ne=null;X!==null&&Oh(K,H,X,ne,!1),Z!==null&&Xe!==null&&Oh(K,Xe,Z,ne,!0)}}e:{if(H=V?zo(V):window,X=H.nodeName&&H.nodeName.toLowerCase(),X==="select"||X==="input"&&H.type==="file")var oe=cC;else if(dh(H))if(ph)oe=pC;else{oe=dC;var se=uC}else(X=H.nodeName)&&X.toLowerCase()==="input"&&(H.type==="checkbox"||H.type==="radio")&&(oe=fC);if(oe&&(oe=oe(r,V))){fh(K,oe,i,W);break e}se&&se(r,H,V),r==="focusout"&&(se=H._wrapperState)&&se.controlled&&H.type==="number"&&Fc(H,"number",H.value)}switch(se=V?zo(V):window,r){case"focusin":(dh(se)||se.contentEditable==="true")&&(Io=se,gu=V,Ys=null);break;case"focusout":Ys=gu=Io=null;break;case"mousedown":vu=!0;break;case"contextmenu":case"mouseup":case"dragend":vu=!1,bh(K,i,W);break;case"selectionchange":if(gC)break;case"keydown":case"keyup":bh(K,i,W)}var ae;if(fu)e:{switch(r){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Do?ch(r,i)&&(pe="onCompositionEnd"):r==="keydown"&&i.keyCode===229&&(pe="onCompositionStart");pe&&(ah&&i.locale!=="ko"&&(Do||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Do&&(ae=th()):(cr=W,au="value"in cr?cr.value:cr.textContent,Do=!0)),se=_i(V,pe),0<se.length&&(pe=new oh(pe,r,null,i,W),K.push({event:pe,listeners:se}),ae?pe.data=ae:(ae=uh(i),ae!==null&&(pe.data=ae)))),(ae=oC?sC(r,i):aC(r,i))&&(V=_i(V,"onBeforeInput"),0<V.length&&(W=new oh("onBeforeInput","beforeinput",null,i,W),K.push({event:W,listeners:V}),W.data=ae))}Nh(K,s)})}function Zs(r,s,i){return{instance:r,listener:s,currentTarget:i}}function _i(r,s){for(var i=s+"Capture",u=[];r!==null;){var p=r,v=p.stateNode;p.tag===5&&v!==null&&(p=v,v=Ds(r,i),v!=null&&u.unshift(Zs(r,v,p)),v=Ds(r,s),v!=null&&u.push(Zs(r,v,p))),r=r.return}return u}function Lo(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Oh(r,s,i,u,p){for(var v=s._reactName,w=[];i!==null&&i!==u;){var A=i,P=A.alternate,V=A.stateNode;if(P!==null&&P===u)break;A.tag===5&&V!==null&&(A=V,p?(P=Ds(i,v),P!=null&&w.unshift(Zs(i,P,A))):p||(P=Ds(i,v),P!=null&&w.push(Zs(i,P,A)))),i=i.return}w.length!==0&&r.push({event:s,listeners:w})}var wC=/\r\n?/g,bC=/\u0000|\uFFFD/g;function _h(r){return(typeof r=="string"?r:""+r).replace(wC,` 38`).replace(bC,"")}function Di(r,s,i){if(s=_h(s),_h(r)!==s&&i)throw Error(n(425))}function Ii(){}var Eu=null,Cu=null;function ku(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Au=typeof setTimeout=="function"?setTimeout:void 0,SC=typeof clearTimeout=="function"?clearTimeout:void 0,Dh=typeof Promise=="function"?Promise:void 0,EC=typeof queueMicrotask=="function"?queueMicrotask:typeof Dh<"u"?function(r){return Dh.resolve(null).then(r).catch(CC)}:Au;function CC(r){setTimeout(function(){throw r})}function Tu(r,s){var i=s,u=0;do{var p=i.nextSibling;if(r.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"){if(u===0){r.removeChild(p),Bs(s);return}u--}else i!=="$"&&i!=="$?"&&i!=="$!"||u++;i=p}while(i);Bs(s)}function dr(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return r}function Ih(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var i=r.data;if(i==="$"||i==="$!"||i==="$?"){if(s===0)return r;s--}else i==="/$"&&s++}r=r.previousSibling}return null}var Vo=Math.random().toString(36).slice(2),Tn="__reactFiber$"+Vo,ea="__reactProps$"+Vo,Fn="__reactContainer$"+Vo,Pu="__reactEvents$"+Vo,kC="__reactListeners$"+Vo,AC="__reactHandles$"+Vo;function Kr(r){var s=r[Tn];if(s)return s;for(var i=r.parentNode;i;){if(s=i[Fn]||i[Tn]){if(i=s.alternate,s.child!==null||i!==null&&i.child!==null)for(r=Ih(r);r!==null;){if(i=r[Tn])return i;r=Ih(r)}return s}r=i,i=r.parentNode}return null}function ta(r){return r=r[Tn]||r[Fn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function zo(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Mi(r){return r[ea]||null}
vendor: 4,576 bytes, line 38
38var Ru=[],qo=-1;function fr(r){return{current:r}}function Le(r){0>qo||(r.current=Ru[qo],Ru[qo]=null,qo--)}function De(r,s){qo++,Ru[qo]=r.current,r.current=s}var pr={},xt=fr(pr),jt=fr(!1),Gr=pr;function Fo(r,s){var i=r.type.contextTypes;if(!i)return pr;var u=r.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===s)return u.__reactInternalMemoizedMaskedChildContext;var p={},v;for(v in i)p[v]=s[v];return u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=p),p}function Ot(r){return r=r.childContextTypes,r!=null}function Li(){Le(jt),Le(xt)}function Mh(r,s,i){if(xt.current!==pr)throw Error(n(168));De(xt,s),De(jt,i)}function Lh(r,s,i){var u=r.stateNode;if(s=s.childContextTypes,typeof u.getChildContext!="function")return i;u=u.getChildContext();for(var p in u)if(!(p in s))throw Error(n(108,Pe(r)||"Unknown",p));return F({},i,u)}function Vi(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||pr,Gr=xt.current,De(xt,r),De(jt,jt.current),!0}function Vh(r,s,i){var u=r.stateNode;if(!u)throw Error(n(169));i?(r=Lh(r,s,Gr),u.__reactInternalMemoizedMergedChildContext=r,Le(jt),Le(xt),De(xt,r)):Le(jt),De(jt,i)}var Un=null,zi=!1,Nu=!1;function zh(r){Un===null?Un=[r]:Un.push(r)}function TC(r){zi=!0,zh(r)}function mr(){if(!Nu&&Un!==null){Nu=!0;var r=0,s=Ne;try{var i=Un;for(Ne=1;r<i.length;r++){var u=i[r];do u=u(!0);while(u!==null)}Un=null,zi=!1}catch(p){throw Un!==null&&(Un=Un.slice(r+1)),Fm(Jc,mr),p}finally{Ne=s,Nu=!1}}return null}var Uo=[],Bo=0,qi=null,Fi=0,Yt=[],Xt=0,Qr=null,Bn=1,$n="";function Yr(r,s){Uo[Bo++]=Fi,Uo[Bo++]=qi,qi=r,Fi=s}function qh(r,s,i){Yt[Xt++]=Bn,Yt[Xt++]=$n,Yt[Xt++]=Qr,Qr=r;var u=Bn;r=$n;var p=32-un(u)-1;u&=~(1<<p),i+=1;var v=32-un(s)+p;if(30<v){var w=p-p%5;v=(u&(1<<w)-1).toString(32),u>>=w,p-=w,Bn=1<<32-un(s)+p|i<<p|u,$n=v+r}else Bn=1<<v|i<<p|u,$n=r}function ju(r){r.return!==null&&(Yr(r,1),qh(r,1,0))}function Ou(r){for(;r===qi;)qi=Uo[--Bo],Uo[Bo]=null,Fi=Uo[--Bo],Uo[Bo]=null;for(;r===Qr;)Qr=Yt[--Xt],Yt[Xt]=null,$n=Yt[--Xt],Yt[Xt]=null,Bn=Yt[--Xt],Yt[Xt]=null}var qt=null,Ft=null,qe=!1,fn=null;function Fh(r,s){var i=tn(5,null,null,0);i.elementType="DELETED",i.stateNode=s,i.return=r,s=r.deletions,s===null?(r.deletions=[i],r.flags|=16):s.push(i)}function Uh(r,s){switch(r.tag){case 5:var i=r.type;return s=s.nodeType!==1||i.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,qt=r,Ft=dr(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,qt=r,Ft=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(i=Qr!==null?{id:Bn,overflow:$n}:null,r.memoizedState={dehydrated:s,treeContext:i,retryLane:1073741824},i=tn(18,null,null,0),i.stateNode=s,i.return=r,r.child=i,qt=r,Ft=null,!0):!1;default:return!1}}function _u(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Du(r){if(qe){var s=Ft;if(s){var i=s;if(!Uh(r,s)){if(_u(r))throw Error(n(418));s=dr(i.nextSibling);var u=qt;s&&Uh(r,s)?Fh(u,i):(r.flags=r.flags&-4097|2,qe=!1,qt=r)}}else{if(_u(r))throw Error(n(418));r.flags=r.flags&-4097|2,qe=!1,qt=r}}}function Bh(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;qt=r}function Ui(r){if(r!==qt)return!1;if(!qe)return Bh(r),qe=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!ku(r.type,r.memoizedProps)),s&&(s=Ft)){if(_u(r))throw $h(),Error(n(418));for(;s;)Fh(r,s),s=dr(s.nextSibling)}if(Bh(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var i=r.data;if(i==="/$"){if(s===0){Ft=dr(r.nextSibling);break e}s--}else i!=="$"&&i!=="$!"&&i!=="$?"||s++}r=r.nextSibling}Ft=null}}else Ft=qt?dr(r.stateNode.nextSibling):null;return!0}function $h(){for(var r=Ft;r;)r=dr(r.nextSibling)}function $o(){Ft=qt=null,qe=!1}function Iu(r){fn===null?fn=[r]:fn.push(r)}var PC=N.ReactCurrentBatchConfig;function na(r,s,i){if(r=i.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(n(309));var u=i.stateNode}if(!u)throw Error(n(147,r));var p=u,v=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===v?s.ref:(s=function(w){var A=p.refs;w===null?delete A[v]:A[v]=w},s._stringRef=v,s)}if(typeof r!="string")throw Error(n(284));if(!i._owner)throw Error(n(290,r))}return r}function Bi(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function Hh(r){var s=r._init;return s(r._payload)}
vendor: 4,251 bytes, line 38
38function Wh(r){function s(I,O){if(r){var L=I.deletions;L===null?(I.deletions=[O],I.flags|=16):L.push(O)}}function i(I,O){if(!r)return null;for(;O!==null;)s(I,O),O=O.sibling;return null}function u(I,O){for(I=new Map;O!==null;)O.key!==null?I.set(O.key,O):I.set(O.index,O),O=O.sibling;return I}function p(I,O){return I=Sr(I,O),I.index=0,I.sibling=null,I}function v(I,O,L){return I.index=L,r?(L=I.alternate,L!==null?(L=L.index,L<O?(I.flags|=2,O):L):(I.flags|=2,O)):(I.flags|=1048576,O)}function w(I){return r&&I.alternate===null&&(I.flags|=2),I}function A(I,O,L,Q){return O===null||O.tag!==6?(O=Ad(L,I.mode,Q),O.return=I,O):(O=p(O,L),O.return=I,O)}function P(I,O,L,Q){var oe=L.type;return oe===B?W(I,O,L.props.children,Q,L.key):O!==null&&(O.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===xe&&Hh(oe)===O.type)?(Q=p(O,L.props),Q.ref=na(I,O,L),Q.return=I,Q):(Q=pl(L.type,L.key,L.props,null,I.mode,Q),Q.ref=na(I,O,L),Q.return=I,Q)}function V(I,O,L,Q){return O===null||O.tag!==4||O.stateNode.containerInfo!==L.containerInfo||O.stateNode.implementation!==L.implementation?(O=Td(L,I.mode,Q),O.return=I,O):(O=p(O,L.children||[]),O.return=I,O)}function W(I,O,L,Q,oe){return O===null||O.tag!==7?(O=oo(L,I.mode,Q,oe),O.return=I,O):(O=p(O,L),O.return=I,O)}function K(I,O,L){if(typeof O=="string"&&O!==""||typeof O=="number")return O=Ad(""+O,I.mode,L),O.return=I,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case D:return L=pl(O.type,O.key,O.props,null,I.mode,L),L.ref=na(I,null,O),L.return=I,L;case U:return O=Td(O,I.mode,L),O.return=I,O;case xe:var Q=O._init;return K(I,Q(O._payload),L)}if(js(O)||re(O))return O=oo(O,I.mode,L,null),O.return=I,O;Bi(I,O)}return null}function H(I,O,L,Q){var oe=O!==null?O.key:null;if(typeof L=="string"&&L!==""||typeof L=="number")return oe!==null?null:A(I,O,""+L,Q);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case D:return L.key===oe?P(I,O,L,Q):null;case U:return L.key===oe?V(I,O,L,Q):null;case xe:return oe=L._init,H(I,O,oe(L._payload),Q)}if(js(L)||re(L))return oe!==null?null:W(I,O,L,Q,null);Bi(I,L)}return null}function X(I,O,L,Q,oe){if(typeof Q=="string"&&Q!==""||typeof Q=="number")return I=I.get(L)||null,A(O,I,""+Q,oe);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case D:return I=I.get(Q.key===null?L:Q.key)||null,P(O,I,Q,oe);case U:return I=I.get(Q.key===null?L:Q.key)||null,V(O,I,Q,oe);case xe:var se=Q._init;return X(I,O,L,se(Q._payload),oe)}if(js(Q)||re(Q))return I=I.get(L)||null,W(O,I,Q,oe,null);Bi(O,Q)}return null}function Z(I,O,L,Q){for(var oe=null,se=null,ae=O,pe=O=0,ut=null;ae!==null&&pe<L.length;pe++){ae.index>pe?(ut=ae,ae=null):ut=ae.sibling;var Ae=H(I,ae,L[pe],Q);if(Ae===null){ae===null&&(ae=ut);break}r&&ae&&Ae.alternate===null&&s(I,ae),O=v(Ae,O,pe),se===null?oe=Ae:se.sibling=Ae,se=Ae,ae=ut}if(pe===L.length)return i(I,ae),qe&&Yr(I,pe),oe;if(ae===null){for(;pe<L.length;pe++)ae=K(I,L[pe],Q),ae!==null&&(O=v(ae,O,pe),se===null?oe=ae:se.sibling=ae,se=ae);return qe&&Yr(I,pe),oe}for(ae=u(I,ae);pe<L.length;pe++)ut=X(ae,I,pe,L[pe],Q),ut!==null&&(r&&ut.alternate!==null&&ae.delete(ut.key===null?pe:ut.key),O=v(ut,O,pe),se===null?oe=ut:se.sibling=ut,se=ut);return r&&ae.forEach(function(Er){return s(I,Er)}),qe&&Yr(I,pe),oe}function ne(I,O,L,Q){var oe=re(L);if(typeof oe!="function")throw Error(n(150));if(L=oe.call(L),L==null)throw Error(n(151));for(var se=oe=null,ae=O,pe=O=0,ut=null,Ae=L.next();ae!==null&&!Ae.done;pe++,Ae=L.next()){ae.index>pe?(ut=ae,ae=null):ut=ae.sibling;var Er=H(I,ae,Ae.value,Q);if(Er===null){ae===null&&(ae=ut);break}r&&ae&&Er.alternate===null&&s(I,ae),O=v(Er,O,pe),se===null?oe=Er:se.sibling=Er,se=Er,ae=ut}if(Ae.done)return i(I,ae),qe&&Yr(I,pe),oe;if(ae===null){for(;!Ae.done;pe++,Ae=L.next())Ae=K(I,Ae.value,Q),Ae!==null&&(O=v(Ae,O,pe),se===null?oe=Ae:se.sibling=Ae,se=Ae);return qe&&Yr(I,pe),oe}for(ae=u(I,ae);!Ae.done;pe++,Ae=L.next())Ae=X(ae,I,pe,Ae.value,Q),Ae!==null&&(r&&Ae.alternate!==null&&ae.delete(Ae.key===null?pe:Ae.key),O=v(Ae,O,pe),se===null?oe=Ae:se.sibling=Ae,se=Ae);return r&&ae.forEach(function(ik){return s(I,ik)}),qe&&Yr(I,pe),oe}function Xe(I,O,L,Q){if(typeof L=="object"&&L!==null&&L.type===B&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case D:e:{for(var oe=L.key,se=O;se!==null;
vendor: 7,529 bytes, line 38
38){if(se.key===oe){if(oe=L.type,oe===B){if(se.tag===7){i(I,se.sibling),O=p(se,L.props.children),O.return=I,I=O;break e}}else if(se.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===xe&&Hh(oe)===se.type){i(I,se.sibling),O=p(se,L.props),O.ref=na(I,se,L),O.return=I,I=O;break e}i(I,se);break}else s(I,se);se=se.sibling}L.type===B?(O=oo(L.props.children,I.mode,Q,L.key),O.return=I,I=O):(Q=pl(L.type,L.key,L.props,null,I.mode,Q),Q.ref=na(I,O,L),Q.return=I,I=Q)}return w(I);case U:e:{for(se=L.key;O!==null;){if(O.key===se)if(O.tag===4&&O.stateNode.containerInfo===L.containerInfo&&O.stateNode.implementation===L.implementation){i(I,O.sibling),O=p(O,L.children||[]),O.return=I,I=O;break e}else{i(I,O);break}else s(I,O);O=O.sibling}O=Td(L,I.mode,Q),O.return=I,I=O}return w(I);case xe:return se=L._init,Xe(I,O,se(L._payload),Q)}if(js(L))return Z(I,O,L,Q);if(re(L))return ne(I,O,L,Q);Bi(I,L)}return typeof L=="string"&&L!==""||typeof L=="number"?(L=""+L,O!==null&&O.tag===6?(i(I,O.sibling),O=p(O,L),O.return=I,I=O):(i(I,O),O=Ad(L,I.mode,Q),O.return=I,I=O),w(I)):i(I,O)}return Xe}var Ho=Wh(!0),Kh=Wh(!1),$i=fr(null),Hi=null,Wo=null,Mu=null;function Lu(){Mu=Wo=Hi=null}function Vu(r){var s=$i.current;Le($i),r._currentValue=s}function zu(r,s,i){for(;r!==null;){var u=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,u!==null&&(u.childLanes|=s)):u!==null&&(u.childLanes&s)!==s&&(u.childLanes|=s),r===i)break;r=r.return}}function Ko(r,s){Hi=r,Mu=Wo=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(_t=!0),r.firstContext=null)}function Jt(r){var s=r._currentValue;if(Mu!==r)if(r={context:r,memoizedValue:s,next:null},Wo===null){if(Hi===null)throw Error(n(308));Wo=r,Hi.dependencies={lanes:0,firstContext:r}}else Wo=Wo.next=r;return s}var Xr=null;function qu(r){Xr===null?Xr=[r]:Xr.push(r)}function Gh(r,s,i,u){var p=s.interleaved;return p===null?(i.next=i,qu(s)):(i.next=p.next,p.next=i),s.interleaved=i,Hn(r,u)}function Hn(r,s){r.lanes|=s;var i=r.alternate;for(i!==null&&(i.lanes|=s),i=r,r=r.return;r!==null;)r.childLanes|=s,i=r.alternate,i!==null&&(i.childLanes|=s),i=r,r=r.return;return i.tag===3?i.stateNode:null}var hr=!1;function Fu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qh(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Wn(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function gr(r,s,i){var u=r.updateQueue;if(u===null)return null;if(u=u.shared,(Ce&2)!==0){var p=u.pending;return p===null?s.next=s:(s.next=p.next,p.next=s),u.pending=s,Hn(r,i)}return p=u.interleaved,p===null?(s.next=s,qu(u)):(s.next=p.next,p.next=s),u.interleaved=s,Hn(r,i)}function Wi(r,s,i){if(s=s.updateQueue,s!==null&&(s=s.shared,(i&4194240)!==0)){var u=s.lanes;u&=r.pendingLanes,i|=u,s.lanes=i,tu(r,i)}}function Yh(r,s){var i=r.updateQueue,u=r.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var p=null,v=null;if(i=i.firstBaseUpdate,i!==null){do{var w={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};v===null?p=v=w:v=v.next=w,i=i.next}while(i!==null);v===null?p=v=s:v=v.next=s}else p=v=s;i={baseState:u.baseState,firstBaseUpdate:p,lastBaseUpdate:v,shared:u.shared,effects:u.effects},r.updateQueue=i;return}r=i.lastBaseUpdate,r===null?i.firstBaseUpdate=s:r.next=s,i.lastBaseUpdate=s}function Ki(r,s,i,u){var p=r.updateQueue;hr=!1;var v=p.firstBaseUpdate,w=p.lastBaseUpdate,A=p.shared.pending;if(A!==null){p.shared.pending=null;var P=A,V=P.next;P.next=null,w===null?v=V:w.next=V,w=P;var W=r.alternate;W!==null&&(W=W.updateQueue,A=W.lastBaseUpdate,A!==w&&(A===null?W.firstBaseUpdate=V:A.next=V,W.lastBaseUpdate=P))}if(v!==null){var K=p.baseState;w=0,W=V=P=null,A=v;do{var H=A.lane,X=A.eventTime;if((u&H)===H){W!==null&&(W=W.next={eventTime:X,lane:0,tag:A.tag,payload:A.payload,callback:A.callback,next:null});e:{var Z=r,ne=A;switch(H=s,X=i,ne.tag){case 1:if(Z=ne.payload,typeof Z=="function"){K=Z.call(X,K,H);break e}K=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=ne.payload,H=typeof Z=="function"?Z.call(X,K,H):Z,H==null)break e;K=F({},K,H);break e;case 2:hr=!0}}A.callback!==null&&A.lane!==0&&(r.flags|=64,H=p.effects,H===null?p.effects=[A]:H.push(A))}else X={eventTime:X,lane:H,tag:A.tag,payload:A.payload,callback:A.callback,next:null},W===null?(V=W=X,P=K):W=W.next=X,w|=H;if(A=A.next,A===null){if(A=p.shared.pending,A===null)break;H=A,A=H.next,H.next=null,p.lastBaseUpdate=H,p.shared.pending=null}}while(!0);if(W===null&&(P=K),p.baseState=P,p.firstBaseUpdate=V,p.lastBaseUpdate=W,s=p.shared.interleaved,s!==null){p=s;do w|=p.lane,p=p.next;while(p!==s)}else v===null&&(p.shared.lanes=0);eo|=w,r.lanes=w,r.memoizedState=K}}function Xh(r,s,i){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var u=r[s],p=u.callback;if(p!==null){if(u.callback=null,u=i,typeof p!="function")throw Error(n(191,p));p.call(u)}}}var ra={},Pn=fr(ra),oa=fr(ra),sa=fr(ra);function Jr(r){if(r===ra)throw Error(n(174));return r}function Uu(r,s){switch(De(sa,s),De(oa,r),De(Pn,ra),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:Bc(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=Bc(s,r)}Le(Pn),De(Pn,s)}function Go(){Le(Pn),Le(oa),Le(sa)}function Jh(r){Jr(sa.current);var s=Jr(Pn.current),i=Bc(s,r.type);s!==i&&(De(oa,r),De(Pn,i))}function Bu(r){oa.current===r&&(Le(Pn),Le(oa))}var Fe=fr(0);function Gi(r){for(var s=r;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var $u=[];function Hu(){for(var r=0;r<$u.length;r++)$u[r]._workInProgressVersionPrimary=null;$u.length=0}var Qi=N.ReactCurrentDispatcher,Wu=N.ReactCurrentBatchConfig,Zr=0,Ue=null,st=null,lt=null,Yi=!1,aa=!1,ia=0,RC=0;function wt(){throw Error(n(321))}function Ku(r,s){if(s===null)return!1;for(var i=0;i<s.length&&i<r.length;i++)if(!dn(r[i],s[i]))return!1;return!0}function Gu(r,s,i,u,p,v){if(Zr=v,Ue=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Qi.current=r===null||r.memoizedState===null?_C:DC,r=i(u,p),aa){v=0;do{if(aa=!1,ia=0,25<=v)throw Error(n(301));v+=1,lt=st=null,s.updateQueue=null,Qi.current=IC,r=i(u,p)}while(aa)}if(Qi.current=Zi,s=st!==null&&st.next!==null,Zr=0,lt=st=Ue=null,Yi=!1,s)throw Error(n(300));return r}function Qu(){var r=ia!==0;return ia=0,r}function Rn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?Ue.memoizedState=lt=r:lt=lt.next=r,lt}function Zt(){if(st===null){var r=Ue.alternate;r=r!==null?r.memoizedState:null}else r=st.next;var s=lt===null?Ue.memoizedState:lt.next;if(s!==null)lt=s,st=r;else{if(r===null)throw Error(n(310));st=r,r={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},lt===null?Ue.memoizedState=lt=r:lt=lt.next=r}return lt}function la(r,s){return typeof s=="function"?s(r):s}function Yu(r){var s=Zt(),i=s.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=r;var u=st,p=u.baseQueue,v=i.pending;if(v!==null){if(p!==null){var w=p.next;
vendor: 5,631 bytes, line 38
38p.next=v.next,v.next=w}u.baseQueue=p=v,i.pending=null}if(p!==null){v=p.next,u=u.baseState;var A=w=null,P=null,V=v;do{var W=V.lane;if((Zr&W)===W)P!==null&&(P=P.next={lane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),u=V.hasEagerState?V.eagerState:r(u,V.action);else{var K={lane:W,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};P===null?(A=P=K,w=u):P=P.next=K,Ue.lanes|=W,eo|=W}V=V.next}while(V!==null&&V!==v);P===null?w=u:P.next=A,dn(u,s.memoizedState)||(_t=!0),s.memoizedState=u,s.baseState=w,s.baseQueue=P,i.lastRenderedState=u}if(r=i.interleaved,r!==null){p=r;do v=p.lane,Ue.lanes|=v,eo|=v,p=p.next;while(p!==r)}else p===null&&(i.lanes=0);return[s.memoizedState,i.dispatch]}function Xu(r){var s=Zt(),i=s.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=r;var u=i.dispatch,p=i.pending,v=s.memoizedState;if(p!==null){i.pending=null;var w=p=p.next;do v=r(v,w.action),w=w.next;while(w!==p);dn(v,s.memoizedState)||(_t=!0),s.memoizedState=v,s.baseQueue===null&&(s.baseState=v),i.lastRenderedState=v}return[v,u]}function Zh(){}function eg(r,s){var i=Ue,u=Zt(),p=s(),v=!dn(u.memoizedState,p);if(v&&(u.memoizedState=p,_t=!0),u=u.queue,Ju(rg.bind(null,i,u,r),[r]),u.getSnapshot!==s||v||lt!==null&<.memoizedState.tag&1){if(i.flags|=2048,ca(9,ng.bind(null,i,u,p,s),void 0,null),ct===null)throw Error(n(349));(Zr&30)!==0||tg(i,s,p)}return p}function tg(r,s,i){r.flags|=16384,r={getSnapshot:s,value:i},s=Ue.updateQueue,s===null?(s={lastEffect:null,stores:null},Ue.updateQueue=s,s.stores=[r]):(i=s.stores,i===null?s.stores=[r]:i.push(r))}function ng(r,s,i,u){s.value=i,s.getSnapshot=u,og(s)&&sg(r)}function rg(r,s,i){return i(function(){og(s)&&sg(r)})}function og(r){var s=r.getSnapshot;r=r.value;try{var i=s();return!dn(r,i)}catch{return!0}}function sg(r){var s=Hn(r,1);s!==null&&gn(s,r,1,-1)}function ag(r){var s=Rn();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:r},s.queue=r,r=r.dispatch=OC.bind(null,Ue,r),[s.memoizedState,r]}function ca(r,s,i,u){return r={tag:r,create:s,destroy:i,deps:u,next:null},s=Ue.updateQueue,s===null?(s={lastEffect:null,stores:null},Ue.updateQueue=s,s.lastEffect=r.next=r):(i=s.lastEffect,i===null?s.lastEffect=r.next=r:(u=i.next,i.next=r,r.next=u,s.lastEffect=r)),r}function ig(){return Zt().memoizedState}function Xi(r,s,i,u){var p=Rn();Ue.flags|=r,p.memoizedState=ca(1|s,i,void 0,u===void 0?null:u)}function Ji(r,s,i,u){var p=Zt();u=u===void 0?null:u;var v=void 0;if(st!==null){var w=st.memoizedState;if(v=w.destroy,u!==null&&Ku(u,w.deps)){p.memoizedState=ca(s,i,v,u);return}}Ue.flags|=r,p.memoizedState=ca(1|s,i,v,u)}function lg(r,s){return Xi(8390656,8,r,s)}function Ju(r,s){return Ji(2048,8,r,s)}function cg(r,s){return Ji(4,2,r,s)}function ug(r,s){return Ji(4,4,r,s)}function dg(r,s){if(typeof s=="function")return r=r(),s(r),function(){s(null)};if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function fg(r,s,i){return i=i!=null?i.concat([r]):null,Ji(4,4,dg.bind(null,s,r),i)}function Zu(){}function pg(r,s){var i=Zt();s=s===void 0?null:s;var u=i.memoizedState;return u!==null&&s!==null&&Ku(s,u[1])?u[0]:(i.memoizedState=[r,s],r)}function mg(r,s){var i=Zt();s=s===void 0?null:s;var u=i.memoizedState;return u!==null&&s!==null&&Ku(s,u[1])?u[0]:(r=r(),i.memoizedState=[r,s],r)}function hg(r,s,i){return(Zr&21)===0?(r.baseState&&(r.baseState=!1,_t=!0),r.memoizedState=i):(dn(i,s)||(i=Hm(),Ue.lanes|=i,eo|=i,r.baseState=!0),s)}function NC(r,s){var i=Ne;Ne=i!==0&&4>i?i:4,r(!0);var u=Wu.transition;Wu.transition={};try{r(!1),s()}finally{Ne=i,Wu.transition=u}}function gg(){return Zt().memoizedState}function jC(r,s,i){var u=wr(r);if(i={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null},vg(r))yg(s,i);else if(i=Gh(r,s,i,u),i!==null){var p=Rt();gn(i,r,u,p),xg(i,s,u)}}function OC(r,s,i){var u=wr(r),p={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(vg(r))yg(s,p);else{var v=r.alternate;if(r.lanes===0&&(v===null||v.lanes===0)&&(v=s.lastRenderedReducer,v!==null))try{var w=s.lastRenderedState,A=v(w,i);if(p.hasEagerState=!0,p.eagerState=A,dn(A,w)){var P=s.interleaved;P===null?(p.next=p,qu(s)):(p.next=P.next,P.next=p),s.interleaved=p;return}}catch{}finally{}i=Gh(r,s,p,u),i!==null&&(p=Rt(),gn(i,r,u,p),xg(i,s,u))}}function vg(r){var s=r.alternate;return r===Ue||s!==null&&s===Ue}function yg(r,s){aa=Yi=!0;var i=r.pending;i===null?s.next=s:(s.next=i.next,i.next=s),r.pending=s}function xg(r,s,i){if((i&4194240)!==0){var u=s.lanes;u&=r.pendingLanes,i|=u,s.lanes=i,tu(r,i)}}var Zi={readContext:Jt,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useInsertionEffect:wt,useLayoutEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useMutableSource:wt,useSyncExternalStore:wt,useId:wt,unstable_isNewReconciler:!1},_C={readContext:Jt,useCallback:function(r,s){return Rn().memoizedState=[r,s===void 0?null:s],r},useContext:Jt,useEffect:lg,useImperativeHandle:function(r,s,i){return i=i!=null?i.concat([r]):null,Xi(4194308,4,dg.bind(null,s,r),i)},useLayoutEffect:function(r,s){return Xi(4194308,4,r,s)},useInsertionEffect:function(r,s){return Xi(4,2,r,s)},useMemo:function(r,s){var i=Rn();return s=s===void 0?null:s,r=r(),i.memoizedState=[r,s],r},useReducer:function(r,s,i){var u=Rn();return s=i!==void 0?i(s):s,u.memoizedState=u.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},u.queue=r,r=r.dispatch=jC.bind(null,Ue,r),[u.memoizedState,r]}
vendor: 4,428 bytes, lines 38-40
38,useRef:function(r){var s=Rn();return r={current:r},s.memoizedState=r},useState:ag,useDebugValue:Zu,useDeferredValue:function(r){return Rn().memoizedState=r},useTransition:function(){var r=ag(!1),s=r[0];return r=NC.bind(null,r[1]),Rn().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,i){var u=Ue,p=Rn();if(qe){if(i===void 0)throw Error(n(407));i=i()}else{if(i=s(),ct===null)throw Error(n(349));(Zr&30)!==0||tg(u,s,i)}p.memoizedState=i;var v={value:i,getSnapshot:s};return p.queue=v,lg(rg.bind(null,u,v,r),[r]),u.flags|=2048,ca(9,ng.bind(null,u,v,i,s),void 0,null),i},useId:function(){var r=Rn(),s=ct.identifierPrefix;if(qe){var i=$n,u=Bn;i=(u&~(1<<32-un(u)-1)).toString(32)+i,s=":"+s+"R"+i,i=ia++,0<i&&(s+="H"+i.toString(32)),s+=":"}else i=RC++,s=":"+s+"r"+i.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},DC={readContext:Jt,useCallback:pg,useContext:Jt,useEffect:Ju,useImperativeHandle:fg,useInsertionEffect:cg,useLayoutEffect:ug,useMemo:mg,useReducer:Yu,useRef:ig,useState:function(){return Yu(la)},useDebugValue:Zu,useDeferredValue:function(r){var s=Zt();return hg(s,st.memoizedState,r)},useTransition:function(){var r=Yu(la)[0],s=Zt().memoizedState;return[r,s]},useMutableSource:Zh,useSyncExternalStore:eg,useId:gg,unstable_isNewReconciler:!1},IC={readContext:Jt,useCallback:pg,useContext:Jt,useEffect:Ju,useImperativeHandle:fg,useInsertionEffect:cg,useLayoutEffect:ug,useMemo:mg,useReducer:Xu,useRef:ig,useState:function(){return Xu(la)},useDebugValue:Zu,useDeferredValue:function(r){var s=Zt();return st===null?s.memoizedState=r:hg(s,st.memoizedState,r)},useTransition:function(){var r=Xu(la)[0],s=Zt().memoizedState;return[r,s]},useMutableSource:Zh,useSyncExternalStore:eg,useId:gg,unstable_isNewReconciler:!1};function pn(r,s){if(r&&r.defaultProps){s=F({},s),r=r.defaultProps;for(var i in r)s[i]===void 0&&(s[i]=r[i]);return s}return s}function ed(r,s,i,u){s=r.memoizedState,i=i(u,s),i=i==null?s:F({},s,i),r.memoizedState=i,r.lanes===0&&(r.updateQueue.baseState=i)}var el={isMounted:function(r){return(r=r._reactInternals)?Wr(r)===r:!1},enqueueSetState:function(r,s,i){r=r._reactInternals;var u=Rt(),p=wr(r),v=Wn(u,p);v.payload=s,i!=null&&(v.callback=i),s=gr(r,v,p),s!==null&&(gn(s,r,p,u),Wi(s,r,p))},enqueueReplaceState:function(r,s,i){r=r._reactInternals;var u=Rt(),p=wr(r),v=Wn(u,p);v.tag=1,v.payload=s,i!=null&&(v.callback=i),s=gr(r,v,p),s!==null&&(gn(s,r,p,u),Wi(s,r,p))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var i=Rt(),u=wr(r),p=Wn(i,u);p.tag=2,s!=null&&(p.callback=s),s=gr(r,p,u),s!==null&&(gn(s,r,u,i),Wi(s,r,u))}};function wg(r,s,i,u,p,v,w){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(u,v,w):s.prototype&&s.prototype.isPureReactComponent?!Qs(i,u)||!Qs(p,v):!0}function bg(r,s,i){var u=!1,p=pr,v=s.contextType;return typeof v=="object"&&v!==null?v=Jt(v):(p=Ot(s)?Gr:xt.current,u=s.contextTypes,v=(u=u!=null)?Fo(r,p):pr),s=new s(i,v),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=el,r.stateNode=s,s._reactInternals=r,u&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=p,r.__reactInternalMemoizedMaskedChildContext=v),s}function Sg(r,s,i,u){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(i,u),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(i,u),s.state!==r&&el.enqueueReplaceState(s,s.state,null)}function td(r,s,i,u){var p=r.stateNode;p.props=i,p.state=r.memoizedState,p.refs={},Fu(r);var v=s.contextType;typeof v=="object"&&v!==null?p.context=Jt(v):(v=Ot(s)?Gr:xt.current,p.context=Fo(r,v)),p.state=r.memoizedState,v=s.getDerivedStateFromProps,typeof v=="function"&&(ed(r,s,v,i),p.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(s=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),s!==p.state&&el.enqueueReplaceState(p,p.state,null),Ki(r,i,p,u),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308)}function Qo(r,s){try{var i="",u=s;do i+=ie(u),u=u.return;while(u);var p=i}catch(v){p=` 39Error generating stack: `+v.message+` 40`+v.stack}return{value:r,source:s,stack:p,digest:null}}
vendor: 42,199 bytes, line 40
40function nd(r,s,i){return{value:r,source:null,stack:i??null,digest:s??null}}function rd(r,s){try{console.error(s.value)}catch(i){setTimeout(function(){throw i})}}var MC=typeof WeakMap=="function"?WeakMap:Map;function Eg(r,s,i){i=Wn(-1,i),i.tag=3,i.payload={element:null};var u=s.value;return i.callback=function(){il||(il=!0,yd=u),rd(r,s)},i}function Cg(r,s,i){i=Wn(-1,i),i.tag=3;var u=r.type.getDerivedStateFromError;if(typeof u=="function"){var p=s.value;i.payload=function(){return u(p)},i.callback=function(){rd(r,s)}}var v=r.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(i.callback=function(){rd(r,s),typeof u!="function"&&(yr===null?yr=new Set([this]):yr.add(this));var w=s.stack;this.componentDidCatch(s.value,{componentStack:w!==null?w:""})}),i}function kg(r,s,i){var u=r.pingCache;if(u===null){u=r.pingCache=new MC;var p=new Set;u.set(s,p)}else p=u.get(s),p===void 0&&(p=new Set,u.set(s,p));p.has(i)||(p.add(i),r=YC.bind(null,r,s,i),s.then(r,r))}function Ag(r){do{var s;if((s=r.tag===13)&&(s=r.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return r;r=r.return}while(r!==null);return null}function Tg(r,s,i,u,p){return(r.mode&1)===0?(r===s?r.flags|=65536:(r.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(s=Wn(-1,1),s.tag=2,gr(i,s,1))),i.lanes|=1),r):(r.flags|=65536,r.lanes=p,r)}var LC=N.ReactCurrentOwner,_t=!1;function Pt(r,s,i,u){s.child=r===null?Kh(s,null,i,u):Ho(s,r.child,i,u)}function Pg(r,s,i,u,p){i=i.render;var v=s.ref;return Ko(s,p),u=Gu(r,s,i,u,v,p),i=Qu(),r!==null&&!_t?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,Kn(r,s,p)):(qe&&i&&ju(s),s.flags|=1,Pt(r,s,u,p),s.child)}function Rg(r,s,i,u,p){if(r===null){var v=i.type;return typeof v=="function"&&!kd(v)&&v.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(s.tag=15,s.type=v,Ng(r,s,v,u,p)):(r=pl(i.type,null,u,s,s.mode,p),r.ref=s.ref,r.return=s,s.child=r)}if(v=r.child,(r.lanes&p)===0){var w=v.memoizedProps;if(i=i.compare,i=i!==null?i:Qs,i(w,u)&&r.ref===s.ref)return Kn(r,s,p)}return s.flags|=1,r=Sr(v,u),r.ref=s.ref,r.return=s,s.child=r}function Ng(r,s,i,u,p){if(r!==null){var v=r.memoizedProps;if(Qs(v,u)&&r.ref===s.ref)if(_t=!1,s.pendingProps=u=v,(r.lanes&p)!==0)(r.flags&131072)!==0&&(_t=!0);else return s.lanes=r.lanes,Kn(r,s,p)}return od(r,s,i,u,p)}function jg(r,s,i){var u=s.pendingProps,p=u.children,v=r!==null?r.memoizedState:null;if(u.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},De(Xo,Ut),Ut|=i;else{if((i&1073741824)===0)return r=v!==null?v.baseLanes|i:i,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,De(Xo,Ut),Ut|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=v!==null?v.baseLanes:i,De(Xo,Ut),Ut|=u}else v!==null?(u=v.baseLanes|i,s.memoizedState=null):u=i,De(Xo,Ut),Ut|=u;return Pt(r,s,p,i),s.child}function Og(r,s){var i=s.ref;(r===null&&i!==null||r!==null&&r.ref!==i)&&(s.flags|=512,s.flags|=2097152)}function od(r,s,i,u,p){var v=Ot(i)?Gr:xt.current;return v=Fo(s,v),Ko(s,p),i=Gu(r,s,i,u,v,p),u=Qu(),r!==null&&!_t?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,Kn(r,s,p)):(qe&&u&&ju(s),s.flags|=1,Pt(r,s,i,p),s.child)}function _g(r,s,i,u,p){if(Ot(i)){var v=!0;Vi(s)}else v=!1;if(Ko(s,p),s.stateNode===null)nl(r,s),bg(s,i,u),td(s,i,u,p),u=!0;else if(r===null){var w=s.stateNode,A=s.memoizedProps;w.props=A;var P=w.context,V=i.contextType;typeof V=="object"&&V!==null?V=Jt(V):(V=Ot(i)?Gr:xt.current,V=Fo(s,V));var W=i.getDerivedStateFromProps,K=typeof W=="function"||typeof w.getSnapshotBeforeUpdate=="function";K||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(A!==u||P!==V)&&Sg(s,w,u,V),hr=!1;var H=s.memoizedState;w.state=H,Ki(s,u,w,p),P=s.memoizedState,A!==u||H!==P||jt.current||hr?(typeof W=="function"&&(ed(s,i,W,u),P=s.memoizedState),(A=hr||wg(s,i,A,u,H,P,V))?(K||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(s.flags|=4194308)):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=u,s.memoizedState=P),w.props=u,w.state=P,w.context=V,u=A):(typeof w.componentDidMount=="function"&&(s.flags|=4194308),u=!1)}else{w=s.stateNode,Qh(r,s),A=s.memoizedProps,V=s.type===s.elementType?A:pn(s.type,A),w.props=V,K=s.pendingProps,H=w.context,P=i.contextType,typeof P=="object"&&P!==null?P=Jt(P):(P=Ot(i)?Gr:xt.current,P=Fo(s,P));var X=i.getDerivedStateFromProps;(W=typeof X=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(A!==K||H!==P)&&Sg(s,w,u,P),hr=!1,H=s.memoizedState,w.state=H,Ki(s,u,w,p);var Z=s.memoizedState;A!==K||H!==Z||jt.current||hr?(typeof X=="function"&&(ed(s,i,X,u),Z=s.memoizedState),(V=hr||wg(s,i,V,u,H,Z,P)||!1)?(W||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(u,Z,P),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(u,Z,P)),typeof w.componentDidUpdate=="function"&&(s.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof w.componentDidUpdate!="function"||A===r.memoizedProps&&H===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||A===r.memoizedProps&&H===r.memoizedState||(s.flags|=1024),s.memoizedProps=u,s.memoizedState=Z),w.props=u,w.state=Z,w.context=P,u=V):(typeof w.componentDidUpdate!="function"||A===r.memoizedProps&&H===r.memoizedState||(s.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||A===r.memoizedProps&&H===r.memoizedState||(s.flags|=1024),u=!1)}return sd(r,s,i,u,v,p)}function sd(r,s,i,u,p,v){Og(r,s);var w=(s.flags&128)!==0;if(!u&&!w)return p&&Vh(s,i,!1),Kn(r,s,v);u=s.stateNode,LC.current=s;var A=w&&typeof i.getDerivedStateFromError!="function"?null:u.render();return s.flags|=1,r!==null&&w?(s.child=Ho(s,r.child,null,v),s.child=Ho(s,null,A,v)):Pt(r,s,A,v),s.memoizedState=u.state,p&&Vh(s,i,!0),s.child}function Dg(r){var s=r.stateNode;s.pendingContext?Mh(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Mh(r,s.context,!1),Uu(r,s.containerInfo)}function Ig(r,s,i,u,p){return $o(),Iu(p),s.flags|=256,Pt(r,s,i,u),s.child}var ad={dehydrated:null,treeContext:null,retryLane:0};function id(r){return{baseLanes:r,cachePool:null,transitions:null}}function Mg(r,s,i){var u=s.pendingProps,p=Fe.current,v=!1,w=(s.flags&128)!==0,A;if((A=w)||(A=r!==null&&r.memoizedState===null?!1:(p&2)!==0),A?(v=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),De(Fe,p&1),r===null)return Du(s),r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((s.mode&1)===0?s.lanes=1:r.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(w=u.children,r=u.fallback,v?(u=s.mode,v=s.child,w={mode:"hidden",children:w},(u&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=w):v=ml(w,u,0,null),r=oo(r,u,i,null),v.return=s,r.return=s,v.sibling=r,s.child=v,s.child.memoizedState=id(i),s.memoizedState=ad,r):ld(s,w));if(p=r.memoizedState,p!==null&&(A=p.dehydrated,A!==null))return VC(r,s,w,u,A,p,i);if(v){v=u.fallback,w=s.mode,p=r.child,A=p.sibling;var P={mode:"hidden",children:u.children};return(w&1)===0&&s.child!==p?(u=s.child,u.childLanes=0,u.pendingProps=P,s.deletions=null):(u=Sr(p,P),u.subtreeFlags=p.subtreeFlags&14680064),A!==null?v=Sr(A,v):(v=oo(v,w,i,null),v.flags|=2),v.return=s,u.return=s,u.sibling=v,s.child=u,u=v,v=s.child,w=r.child.memoizedState,w=w===null?id(i):{baseLanes:w.baseLanes|i,cachePool:null,transitions:w.transitions},v.memoizedState=w,v.childLanes=r.childLanes&~i,s.memoizedState=ad,u}return v=r.child,r=v.sibling,u=Sr(v,{mode:"visible",children:u.children}),(s.mode&1)===0&&(u.lanes=i),u.return=s,u.sibling=null,r!==null&&(i=s.deletions,i===null?(s.deletions=[r],s.flags|=16):i.push(r)),s.child=u,s.memoizedState=null,u}function ld(r,s){return s=ml({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function tl(r,s,i,u){return u!==null&&Iu(u),Ho(s,r.child,null,i),r=ld(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function VC(r,s,i,u,p,v,w){if(i)return s.flags&256?(s.flags&=-257,u=nd(Error(n(422))),tl(r,s,w,u)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(v=u.fallback,p=s.mode,u=ml({mode:"visible",children:u.children},p,0,null),v=oo(v,p,w,null),v.flags|=2,u.return=s,v.return=s,u.sibling=v,s.child=u,(s.mode&1)!==0&&Ho(s,r.child,null,w),s.child.memoizedState=id(w),s.memoizedState=ad,v);if((s.mode&1)===0)return tl(r,s,w,null);if(p.data==="$!"){if(u=p.nextSibling&&p.nextSibling.dataset,u)var A=u.dgst;return u=A,v=Error(n(419)),u=nd(v,u,void 0),tl(r,s,w,u)}if(A=(w&r.childLanes)!==0,_t||A){if(u=ct,u!==null){switch(w&-w){case 4:p=2;break;case 16:p=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(u.suspendedLanes|w))!==0?0:p,p!==0&&p!==v.retryLane&&(v.retryLane=p,Hn(r,p),gn(u,r,p,-1))}return Cd(),u=nd(Error(n(421))),tl(r,s,w,u)}return p.data==="$?"?(s.flags|=128,s.child=r.child,s=XC.bind(null,r),p._reactRetry=s,null):(r=v.treeContext,Ft=dr(p.nextSibling),qt=s,qe=!0,fn=null,r!==null&&(Yt[Xt++]=Bn,Yt[Xt++]=$n,Yt[Xt++]=Qr,Bn=r.id,$n=r.overflow,Qr=s),s=ld(s,u.children),s.flags|=4096,s)}function Lg(r,s,i){r.lanes|=s;var u=r.alternate;u!==null&&(u.lanes|=s),zu(r.return,s,i)}function cd(r,s,i,u,p){var v=r.memoizedState;v===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:p}:(v.isBackwards=s,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=i,v.tailMode=p)}function Vg(r,s,i){var u=s.pendingProps,p=u.revealOrder,v=u.tail;if(Pt(r,s,u.children,i),u=Fe.current,(u&2)!==0)u=u&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Lg(r,i,s);else if(r.tag===19)Lg(r,i,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}u&=1}if(De(Fe,u),(s.mode&1)===0)s.memoizedState=null;else switch(p){case"forwards":for(i=s.child,p=null;i!==null;)r=i.alternate,r!==null&&Gi(r)===null&&(p=i),i=i.sibling;i=p,i===null?(p=s.child,s.child=null):(p=i.sibling,i.sibling=null),cd(s,!1,p,i,v);break;case"backwards":for(i=null,p=s.child,s.child=null;p!==null;){if(r=p.alternate,r!==null&&Gi(r)===null){s.child=p;break}r=p.sibling,p.sibling=i,i=p,p=r}cd(s,!0,i,null,v);break;case"together":cd(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function nl(r,s){(s.mode&1)===0&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function Kn(r,s,i){if(r!==null&&(s.dependencies=r.dependencies),eo|=s.lanes,(i&s.childLanes)===0)return null;if(r!==null&&s.child!==r.child)throw Error(n(153));if(s.child!==null){for(r=s.child,i=Sr(r,r.pendingProps),s.child=i,i.return=s;r.sibling!==null;)r=r.sibling,i=i.sibling=Sr(r,r.pendingProps),i.return=s;i.sibling=null}return s.child}function zC(r,s,i){switch(s.tag){case 3:Dg(s),$o();break;case 5:Jh(s);break;case 1:Ot(s.type)&&Vi(s);break;case 4:Uu(s,s.stateNode.containerInfo);break;case 10:var u=s.type._context,p=s.memoizedProps.value;De($i,u._currentValue),u._currentValue=p;break;case 13:if(u=s.memoizedState,u!==null)return u.dehydrated!==null?(De(Fe,Fe.current&1),s.flags|=128,null):(i&s.child.childLanes)!==0?Mg(r,s,i):(De(Fe,Fe.current&1),r=Kn(r,s,i),r!==null?r.sibling:null);De(Fe,Fe.current&1);break;case 19:if(u=(i&s.childLanes)!==0,(r.flags&128)!==0){if(u)return Vg(r,s,i);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),De(Fe,Fe.current),u)break;return null;case 22:case 23:return s.lanes=0,jg(r,s,i)}return Kn(r,s,i)}var zg,ud,qg,Fg;zg=function(r,s){for(var i=s.child;i!==null;){if(i.tag===5||i.tag===6)r.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===s)break;for(;i.sibling===null;){if(i.return===null||i.return===s)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ud=function(){},qg=function(r,s,i,u){var p=r.memoizedProps;if(p!==u){r=s.stateNode,Jr(Pn.current);var v=null;switch(i){case"input":p=or(r,p),u=or(r,u),v=[];break;case"select":p=F({},p,{value:void 0}),u=F({},u,{value:void 0}),v=[];break;case"textarea":p=Uc(r,p),u=Uc(r,u),v=[];break;default:typeof p.onClick!="function"&&typeof u.onClick=="function"&&(r.onclick=Ii)}$c(i,u);var w;i=null;for(V in p)if(!u.hasOwnProperty(V)&&p.hasOwnProperty(V)&&p[V]!=null)if(V==="style"){var A=p[V];for(w in A)A.hasOwnProperty(w)&&(i||(i={}),i[w]="")}else V!=="dangerouslySetInnerHTML"&&V!=="children"&&V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(a.hasOwnProperty(V)?v||(v=[]):(v=v||[]).push(V,null));for(V in u){var P=u[V];if(A=p!=null?p[V]:void 0,u.hasOwnProperty(V)&&P!==A&&(P!=null||A!=null))if(V==="style")if(A){for(w in A)!A.hasOwnProperty(w)||P&&P.hasOwnProperty(w)||(i||(i={}),i[w]="");for(w in P)P.hasOwnProperty(w)&&A[w]!==P[w]&&(i||(i={}),i[w]=P[w])}else i||(v||(v=[]),v.push(V,i)),i=P;else V==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,A=A?A.__html:void 0,P!=null&&A!==P&&(v=v||[]).push(V,P)):V==="children"?typeof P!="string"&&typeof P!="number"||(v=v||[]).push(V,""+P):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&(a.hasOwnProperty(V)?(P!=null&&V==="onScroll"&&Me("scroll",r),v||A===P||(v=[])):(v=v||[]).push(V,P))}i&&(v=v||[]).push("style",i);var V=v;(s.updateQueue=V)&&(s.flags|=4)}},Fg=function(r,s,i,u){i!==u&&(s.flags|=4)};function ua(r,s){if(!qe)switch(r.tailMode){case"hidden":s=r.tail;for(var i=null;s!==null;)s.alternate!==null&&(i=s),s=s.sibling;i===null?r.tail=null:i.sibling=null;break;case"collapsed":i=r.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:u.sibling=null}}function bt(r){var s=r.alternate!==null&&r.alternate.child===r.child,i=0,u=0;if(s)for(var p=r.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags&14680064,u|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=u,r.childLanes=i,s}function qC(r,s,i){var u=s.pendingProps;switch(Ou(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(s),null;case 1:return Ot(s.type)&&Li(),bt(s),null;case 3:return u=s.stateNode,Go(),Le(jt),Le(xt),Hu(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(Ui(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,fn!==null&&(bd(fn),fn=null))),ud(r,s),bt(s),null;case 5:Bu(s);var p=Jr(sa.current);if(i=s.type,r!==null&&s.stateNode!=null)qg(r,s,i,u,p),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!u){if(s.stateNode===null)throw Error(n(166));return bt(s),null}if(r=Jr(Pn.current),Ui(s)){u=s.stateNode,i=s.type;var v=s.memoizedProps;switch(u[Tn]=s,u[ea]=v,r=(s.mode&1)!==0,i){case"dialog":Me("cancel",u),Me("close",u);break;case"iframe":case"object":case"embed":Me("load",u);break;case"video":case"audio":for(p=0;p<Xs.length;p++)Me(Xs[p],u);break;case"source":Me("error",u);break;case"img":case"image":case"link":Me("error",u),Me("load",u);break;case"details":Me("toggle",u);break;case"input":bm(u,v),Me("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!v.multiple},Me("invalid",u);break;case"textarea":Cm(u,v),Me("invalid",u)}$c(i,v),p=null;for(var w in v)if(v.hasOwnProperty(w)){var A=v[w];w==="children"?typeof A=="string"?u.textContent!==A&&(v.suppressHydrationWarning!==!0&&Di(u.textContent,A,r),p=["children",A]):typeof A=="number"&&u.textContent!==""+A&&(v.suppressHydrationWarning!==!0&&Di(u.textContent,A,r),p=["children",""+A]):a.hasOwnProperty(w)&&A!=null&&w==="onScroll"&&Me("scroll",u)}switch(i){case"input":qn(u),Em(u,v,!0);break;case"textarea":qn(u),Am(u);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(u.onclick=Ii)}u=p,s.updateQueue=u,u!==null&&(s.flags|=4)}else{w=p.nodeType===9?p:p.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Tm(i)),r==="http://www.w3.org/1999/xhtml"?i==="script"?(r=w.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof u.is=="string"?r=w.createElement(i,{is:u.is}):(r=w.createElement(i),i==="select"&&(w=r,u.multiple?w.multiple=!0:u.size&&(w.size=u.size))):r=w.createElementNS(r,i),r[Tn]=s,r[ea]=u,zg(r,s,!1,!1),s.stateNode=r;e:{switch(w=Hc(i,u),i){case"dialog":Me("cancel",r),Me("close",r),p=u;break;case"iframe":case"object":case"embed":Me("load",r),p=u;break;case"video":case"audio":for(p=0;p<Xs.length;p++)Me(Xs[p],r);p=u;break;case"source":Me("error",r),p=u;break;case"img":case"image":case"link":Me("error",r),Me("load",r),p=u;break;case"details":Me("toggle",r),p=u;break;case"input":bm(r,u),p=or(r,u),Me("invalid",r);break;case"option":p=u;break;case"select":r._wrapperState={wasMultiple:!!u.multiple},p=F({},u,{value:void 0}),Me("invalid",r);break;case"textarea":Cm(r,u),p=Uc(r,u),Me("invalid",r);break;default:p=u}$c(i,p),A=p;for(v in A)if(A.hasOwnProperty(v)){var P=A[v];v==="style"?Nm(r,P):v==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&Pm(r,P)):v==="children"?typeof P=="string"?(i!=="textarea"||P!=="")&&Os(r,P):typeof P=="number"&&Os(r,""+P):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(a.hasOwnProperty(v)?P!=null&&v==="onScroll"&&Me("scroll",r):P!=null&&R(r,v,P,w))}switch(i){case"input":qn(r),Em(r,u,!1);break;case"textarea":qn(r),Am(r);break;case"option":u.value!=null&&r.setAttribute("value",""+ke(u.value));break;case"select":r.multiple=!!u.multiple,v=u.value,v!=null?Ro(r,!!u.multiple,v,!1):u.defaultValue!=null&&Ro(r,!!u.multiple,u.defaultValue,!0);break;default:typeof p.onClick=="function"&&(r.onclick=Ii)}switch(i){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return bt(s),null;case 6:if(r&&s.stateNode!=null)Fg(r,s,r.memoizedProps,u);else{if(typeof u!="string"&&s.stateNode===null)throw Error(n(166));if(i=Jr(sa.current),Jr(Pn.current),Ui(s)){if(u=s.stateNode,i=s.memoizedProps,u[Tn]=s,(v=u.nodeValue!==i)&&(r=qt,r!==null))switch(r.tag){case 3:Di(u.nodeValue,i,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Di(u.nodeValue,i,(r.mode&1)!==0)}v&&(s.flags|=4)}else u=(i.nodeType===9?i:i.ownerDocument).createTextNode(u),u[Tn]=s,s.stateNode=u}return bt(s),null;case 13:if(Le(Fe),u=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(qe&&Ft!==null&&(s.mode&1)!==0&&(s.flags&128)===0)$h(),$o(),s.flags|=98560,v=!1;else if(v=Ui(s),u!==null&&u.dehydrated!==null){if(r===null){if(!v)throw Error(n(318));if(v=s.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(n(317));v[Tn]=s}else $o(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;bt(s),v=!1}else fn!==null&&(bd(fn),fn=null),v=!0;if(!v)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=i,s):(u=u!==null,u!==(r!==null&&r.memoizedState!==null)&&u&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(Fe.current&1)!==0?at===0&&(at=3):Cd())),s.updateQueue!==null&&(s.flags|=4),bt(s),null);case 4:return Go(),ud(r,s),r===null&&Js(s.stateNode.containerInfo),bt(s),null;case 10:return Vu(s.type._context),bt(s),null;case 17:return Ot(s.type)&&Li(),bt(s),null;case 19:if(Le(Fe),v=s.memoizedState,v===null)return bt(s),null;if(u=(s.flags&128)!==0,w=v.rendering,w===null)if(u)ua(v,!1);else{if(at!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(w=Gi(r),w!==null){for(s.flags|=128,ua(v,!1),u=w.updateQueue,u!==null&&(s.updateQueue=u,s.flags|=4),s.subtreeFlags=0,u=i,i=s.child;i!==null;)v=i,r=u,v.flags&=14680066,w=v.alternate,w===null?(v.childLanes=0,v.lanes=r,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=w.childLanes,v.lanes=w.lanes,v.child=w.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=w.memoizedProps,v.memoizedState=w.memoizedState,v.updateQueue=w.updateQueue,v.type=w.type,r=w.dependencies,v.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),i=i.sibling;return De(Fe,Fe.current&1|2),s.child}r=r.sibling}v.tail!==null&&Ye()>Jo&&(s.flags|=128,u=!0,ua(v,!1),s.lanes=4194304)}else{if(!u)if(r=Gi(w),r!==null){if(s.flags|=128,u=!0,i=r.updateQueue,i!==null&&(s.updateQueue=i,s.flags|=4),ua(v,!0),v.tail===null&&v.tailMode==="hidden"&&!w.alternate&&!qe)return bt(s),null}else 2*Ye()-v.renderingStartTime>Jo&&i!==1073741824&&(s.flags|=128,u=!0,ua(v,!1),s.lanes=4194304);v.isBackwards?(w.sibling=s.child,s.child=w):(i=v.last,i!==null?i.sibling=w:s.child=w,v.last=w)}return v.tail!==null?(s=v.tail,v.rendering=s,v.tail=s.sibling,v.renderingStartTime=Ye(),s.sibling=null,i=Fe.current,De(Fe,u?i&1|2:i&1),s):(bt(s),null);case 22:case 23:return Ed(),u=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==u&&(s.flags|=8192),u&&(s.mode&1)!==0?(Ut&1073741824)!==0&&(bt(s),s.subtreeFlags&6&&(s.flags|=8192)):bt(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function FC(r,s){switch(Ou(s),s.tag){case 1:return Ot(s.type)&&Li(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Go(),Le(jt),Le(xt),Hu(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return Bu(s),null;case 13:if(Le(Fe),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));$o()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Le(Fe),null;case 4:return Go(),null;case 10:return Vu(s.type._context),null;case 22:case 23:return Ed(),null;case 24:return null;default:return null}}var rl=!1,St=!1,UC=typeof WeakSet=="function"?WeakSet:Set,J=null;function Yo(r,s){var i=r.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(u){$e(r,s,u)}else i.current=null}function dd(r,s,i){try{i()}catch(u){$e(r,s,u)}}var Ug=!1;function BC(r,s){if(Eu=Ei,r=wh(),hu(r)){if("selectionStart"in r)var i={start:r.selectionStart,end:r.selectionEnd};else e:{i=(i=r.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var p=u.anchorOffset,v=u.focusNode;u=u.focusOffset;try{i.nodeType,v.nodeType}catch{i=null;break e}var w=0,A=-1,P=-1,V=0,W=0,K=r,H=null;t:for(;;){for(var X;K!==i||p!==0&&K.nodeType!==3||(A=w+p),K!==v||u!==0&&K.nodeType!==3||(P=w+u),K.nodeType===3&&(w+=K.nodeValue.length),(X=K.firstChild)!==null;)H=K,K=X;for(;;){if(K===r)break t;if(H===i&&++V===p&&(A=w),H===v&&++W===u&&(P=w),(X=K.nextSibling)!==null)break;K=H,H=K.parentNode}K=X}i=A===-1||P===-1?null:{start:A,end:P}}else i=null}i=i||{start:0,end:0}}else i=null;for(Cu={focusedElem:r,selectionRange:i},Ei=!1,J=s;J!==null;)if(s=J,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,J=r;else for(;J!==null;){s=J;try{var Z=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(Z!==null){var ne=Z.memoizedProps,Xe=Z.memoizedState,I=s.stateNode,O=I.getSnapshotBeforeUpdate(s.elementType===s.type?ne:pn(s.type,ne),Xe);I.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var L=s.stateNode.containerInfo;L.nodeType===1?L.textContent="":L.nodeType===9&&L.documentElement&&L.removeChild(L.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Q){$e(s,s.return,Q)}if(r=s.sibling,r!==null){r.return=s.return,J=r;break}J=s.return}return Z=Ug,Ug=!1,Z}function da(r,s,i){var u=s.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var p=u=u.next;do{if((p.tag&r)===r){var v=p.destroy;p.destroy=void 0,v!==void 0&&dd(s,i,v)}p=p.next}while(p!==u)}}function ol(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var i=s=s.next;do{if((i.tag&r)===r){var u=i.create;i.destroy=u()}i=i.next}while(i!==s)}}function fd(r){var s=r.ref;if(s!==null){var i=r.stateNode;switch(r.tag){case 5:r=i;break;default:r=i}typeof s=="function"?s(r):s.current=r}}function Bg(r){var s=r.alternate;s!==null&&(r.alternate=null,Bg(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[Tn],delete s[ea],delete s[Pu],delete s[kC],delete s[AC])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function $g(r){return r.tag===5||r.tag===3||r.tag===4}function Hg(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||$g(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function pd(r,s,i){var u=r.tag;if(u===5||u===6)r=r.stateNode,s?i.nodeType===8?i.parentNode.insertBefore(r,s):i.insertBefore(r,s):(i.nodeType===8?(s=i.parentNode,s.insertBefore(r,i)):(s=i,s.appendChild(r)),i=i._reactRootContainer,i!=null||s.onclick!==null||(s.onclick=Ii));else if(u!==4&&(r=r.child,r!==null))for(pd(r,s,i),r=r.sibling;r!==null;)pd(r,s,i),r=r.sibling}function md(r,s,i){var u=r.tag;if(u===5||u===6)r=r.stateNode,s?i.insertBefore(r,s):i.appendChild(r);else if(u!==4&&(r=r.child,r!==null))for(md(r,s,i),r=r.sibling;r!==null;)md(r,s,i),r=r.sibling}var pt=null,mn=!1;function vr(r,s,i){for(i=i.child;i!==null;)Wg(r,s,i),i=i.sibling}function Wg(r,s,i){if(An&&typeof An.onCommitFiberUnmount=="function")try{An.onCommitFiberUnmount(vi,i)}catch{}switch(i.tag){case 5:St||Yo(i,s);case 6:var u=pt,p=mn;pt=null,vr(r,s,i),pt=u,mn=p,pt!==null&&(mn?(r=pt,i=i.stateNode,r.nodeType===8?r.parentNode.removeChild(i):r.removeChild(i)):pt.removeChild(i.stateNode));break;case 18:pt!==null&&(mn?(r=pt,i=i.stateNode,r.nodeType===8?Tu(r.parentNode,i):r.nodeType===1&&Tu(r,i),Bs(r)):Tu(pt,i.stateNode));break;case 4:u=pt,p=mn,pt=i.stateNode.containerInfo,mn=!0,vr(r,s,i),pt=u,mn=p;break;case 0:case 11:case 14:case 15:if(!St&&(u=i.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){p=u=u.next;do{var v=p,w=v.destroy;v=v.tag,w!==void 0&&((v&2)!==0||(v&4)!==0)&&dd(i,s,w),p=p.next}while(p!==u)}vr(r,s,i);break;case 1:if(!St&&(Yo(i,s),u=i.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=i.memoizedProps,u.state=i.memoizedState,u.componentWillUnmount()}catch(A){$e(i,s,A)}vr(r,s,i);break;case 21:vr(r,s,i);break;case 22:i.mode&1?(St=(u=St)||i.memoizedState!==null,vr(r,s,i),St=u):vr(r,s,i);break;default:vr(r,s,i)}}function Kg(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var i=r.stateNode;i===null&&(i=r.stateNode=new UC),s.forEach(function(u){var p=JC.bind(null,r,u);i.has(u)||(i.add(u),u.then(p,p))})}}function hn(r,s){var i=s.deletions;if(i!==null)for(var u=0;u<i.length;u++){var p=i[u];try{var v=r,w=s,A=w;e:for(;A!==null;){switch(A.tag){case 5:pt=A.stateNode,mn=!1;break e;case 3:pt=A.stateNode.containerInfo,mn=!0;break e;case 4:pt=A.stateNode.containerInfo,mn=!0;break e}A=A.return}if(pt===null)throw Error(n(160));Wg(v,w,p),pt=null,mn=!1;var P=p.alternate;P!==null&&(P.return=null),p.return=null}catch(V){$e(p,s,V)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Gg(s,r),s=s.sibling}function Gg(r,s){var i=r.alternate,u=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(hn(s,r),Nn(r),u&4){try{da(3,r,r.return),ol(3,r)}catch(ne){$e(r,r.return,ne)}try{da(5,r,r.return)}catch(ne){$e(r,r.return,ne)}}break;case 1:hn(s,r),Nn(r),u&512&&i!==null&&Yo(i,i.return);break;case 5:if(hn(s,r),Nn(r),u&512&&i!==null&&Yo(i,i.return),r.flags&32){var p=r.stateNode;try{Os(p,"")}catch(ne){$e(r,r.return,ne)}}if(u&4&&(p=r.stateNode,p!=null)){var v=r.memoizedProps,w=i!==null?i.memoizedProps:v,A=r.type,P=r.updateQueue;if(r.updateQueue=null,P!==null)try{A==="input"&&v.type==="radio"&&v.name!=null&&Sm(p,v),Hc(A,w);var V=Hc(A,v);for(w=0;w<P.length;w+=2){var W=P[w],K=P[w+1];W==="style"?Nm(p,K):W==="dangerouslySetInnerHTML"?Pm(p,K):W==="children"?Os(p,K):R(p,W,K,V)}switch(A){case"input":qc(p,v);break;case"textarea":km(p,v);break;case"select":var H=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!v.multiple;var X=v.value;X!=null?Ro(p,!!v.multiple,X,!1):H!==!!v.multiple&&(v.defaultValue!=null?Ro(p,!!v.multiple,v.defaultValue,!0):Ro(p,!!v.multiple,v.multiple?[]:"",!1))}p[ea]=v}catch(ne){$e(r,r.return,ne)}}break;case 6:if(hn(s,r),Nn(r),u&4){if(r.stateNode===null)throw Error(n(162));p=r.stateNode,v=r.memoizedProps;try{p.nodeValue=v}catch(ne){$e(r,r.return,ne)}}break;case 3:if(hn(s,r),Nn(r),u&4&&i!==null&&i.memoizedState.isDehydrated)try{Bs(s.containerInfo)}catch(ne){$e(r,r.return,ne)}break;case 4:hn(s,r),Nn(r);break;case 13:hn(s,r),Nn(r),p=r.child,p.flags&8192&&(v=p.memoizedState!==null,p.stateNode.isHidden=v,!v||p.alternate!==null&&p.alternate.memoizedState!==null||(vd=Ye())),u&4&&Kg(r);break;case 22:if(W=i!==null&&i.memoizedState!==null,r.mode&1?(St=(V=St)||W,hn(s,r),St=V):hn(s,r),Nn(r),u&8192){if(V=r.memoizedState!==null,(r.stateNode.isHidden=V)&&!W&&(r.mode&1)!==0)for(J=r,W=r.child;W!==null;){for(K=J=W;J!==null;){switch(H=J,X=H.child,H.tag){case 0:case 11:case 14:case 15:da(4,H,H.return);break;case 1:Yo(H,H.return);var Z=H.stateNode;if(typeof Z.componentWillUnmount=="function"){u=H,i=H.return;try{s=u,Z.props=s.memoizedProps,Z.state=s.memoizedState,Z.componentWillUnmount()}catch(ne){$e(u,i,ne)}}break;case 5:Yo(H,H.return);break;case 22:if(H.memoizedState!==null){Xg(K);continue}}X!==null?(X.return=H,J=X):Xg(K)}W=W.sibling}e:for(W=null,K=r;;){if(K.tag===5){if(W===null){W=K;try{p=K.stateNode,V?(v=p.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(A=K.stateNode,P=K.memoizedProps.style,w=P!=null&&P.hasOwnProperty("display")?P.display:null,A.style.display=Rm("display",w))}catch(ne){$e(r,r.return,ne)}}}else if(K.tag===6){if(W===null)try{K.stateNode.nodeValue=V?"":K.memoizedProps}catch(ne){$e(r,r.return,ne)}}else if((K.tag!==22&&K.tag!==23||K.memoizedState===null||K===r)&&K.child!==null){K.child.return=K,K=K.child;continue}if(K===r)break e;for(;K.sibling===null;){if(K.return===null||K.return===r)break e;W===K&&(W=null),K=K.return}W===K&&(W=null),K.sibling.return=K.return,K=K.sibling}}break;case 19:hn(s,r),Nn(r),u&4&&Kg(r);break;case 21:break;default:hn(s,r),Nn(r)}}function Nn(r){var s=r.flags;if(s&2){try{e:{for(var i=r.return;i!==null;){if($g(i)){var u=i;break e}i=i.return}throw Error(n(160))}switch(u.tag){case 5:var p=u.stateNode;u.flags&32&&(Os(p,""),u.flags&=-33);var v=Hg(r);md(r,v,p);break;case 3:case 4:var w=u.stateNode.containerInfo,A=Hg(r);pd(r,A,w);break;default:throw Error(n(161))}}catch(P){$e(r,r.return,P)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function $C(r,s,i){J=r,Qg(r)}function Qg(r,s,i){for(var u=(r.mode&1)!==0;J!==null;){var p=J,v=p.child;if(p.tag===22&&u){var w=p.memoizedState!==null||rl;if(!w){var A=p.alternate,P=A!==null&&A.memoizedState!==null||St;A=rl;var V=St;if(rl=w,(St=P)&&!V)for(J=p;J!==null;)w=J,P=w.child,w.tag===22&&w.memoizedState!==null?Jg(p):P!==null?(P.return=w,J=P):Jg(p);for(;v!==null;)J=v,Qg(v),v=v.sibling;J=p,rl=A,St=V}Yg(r)}else(p.subtreeFlags&8772)!==0&&v!==null?(v.return=p,J=v):Yg(r)}}function Yg(r){for(;J!==null;){var s=J;if((s.flags&8772)!==0){var i=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:St||ol(5,s);break;case 1:var u=s.stateNode;if(s.flags&4&&!St)if(i===null)u.componentDidMount();else{var p=s.elementType===s.type?i.memoizedProps:pn(s.type,i.memoizedProps);u.componentDidUpdate(p,i.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var v=s.updateQueue;v!==null&&Xh(s,v,u);break;case 3:var w=s.updateQueue;if(w!==null){if(i=null,s.child!==null)switch(s.child.tag){case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}Xh(s,w,i)}break;case 5:var A=s.stateNode;if(i===null&&s.flags&4){i=A;var P=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":P.autoFocus&&i.focus();break;case"img":P.src&&(i.src=P.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var V=s.alternate;if(V!==null){var W=V.memoizedState;if(W!==null){var K=W.dehydrated;K!==null&&Bs(K)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}St||s.flags&512&&fd(s)}catch(H){$e(s,s.return,H)}}if(s===r){J=null;break}if(i=s.sibling,i!==null){i.return=s.return,J=i;break}J=s.return}}function Xg(r){for(;J!==null;){var s=J;if(s===r){J=null;break}var i=s.sibling;if(i!==null){i.return=s.return,J=i;break}J=s.return}}function Jg(r){for(;J!==null;){var s=J;try{switch(s.tag){case 0:case 11:case 15:var i=s.return;try{ol(4,s)}catch(P){$e(s,i,P)}break;case 1:var u=s.stateNode;if(typeof u.componentDidMount=="function"){var p=s.return;try{u.componentDidMount()}catch(P){$e(s,p,P)}}var v=s.return;try{fd(s)}catch(P){$e(s,v,P)}break;case 5:var w=s.return;try{fd(s)}catch(P){$e(s,w,P)}}}catch(P){$e(s,s.return,P)}if(s===r){J=null;break}var A=s.sibling;if(A!==null){A.return=s.return,J=A;break}J=s.return}}var HC=Math.ceil,sl=N.ReactCurrentDispatcher,hd=N.ReactCurrentOwner,en=N.ReactCurrentBatchConfig,Ce=0,ct=null,tt=null,mt=0,Ut=0,Xo=fr(0),at=0,fa=null,eo=0,al=0,gd=0,pa=null,Dt=null,vd=0,Jo=1/0,Gn=null,il=!1,yd=null,yr=null,ll=!1,xr=null,cl=0,ma=0,xd=null,ul=-1,dl=0;function Rt(){return(Ce&6)!==0?Ye():ul!==-1?ul:ul=Ye()}function wr(r){return(r.mode&1)===0?1:(Ce&2)!==0&&mt!==0?mt&-mt:PC.transition!==null?(dl===0&&(dl=Hm()),dl):(r=Ne,r!==0||(r=window.event,r=r===void 0?16:eh(r.type)),r)}function gn(r,s,i,u){if(50<ma)throw ma=0,xd=null,Error(n(185));Vs(r,i,u),((Ce&2)===0||r!==ct)&&(r===ct&&((Ce&2)===0&&(al|=i),at===4&&br(r,mt)),It(r,u),i===1&&Ce===0&&(s.mode&1)===0&&(Jo=Ye()+500,zi&&mr()))}function It(r,s){var i=r.callbackNode;PE(r,s);var u=wi(r,r===ct?mt:0);if(u===0)i!==null&&Um(i),r.callbackNode=null,r.callbackPriority=0;else if(s=u&-u,r.callbackPriority!==s){if(i!=null&&Um(i),s===1)r.tag===0?TC(ev.bind(null,r)):zh(ev.bind(null,r)),EC(function(){(Ce&6)===0&&mr()}),i=null;else{switch(Wm(u)){case 1:i=Jc;break;case 4:i=Bm;break;case 16:i=gi;break;case 536870912:i=$m;break;default:i=gi}i=lv(i,Zg.bind(null,r))}r.callbackPriority=s,r.callbackNode=i}}function Zg(r,s){if(ul=-1,dl=0,(Ce&6)!==0)throw Error(n(327));var i=r.callbackNode;if(Zo()&&r.callbackNode!==i)return null;var u=wi(r,r===ct?mt:0);if(u===0)return null;if((u&30)!==0||(u&r.expiredLanes)!==0||s)s=fl(r,u);else{s=u;var p=Ce;Ce|=2;var v=nv();(ct!==r||mt!==s)&&(Gn=null,Jo=Ye()+500,no(r,s));do try{GC();break}catch(A){tv(r,A)}while(!0);Lu(),sl.current=v,Ce=p,tt!==null?s=0:(ct=null,mt=0,s=at)}if(s!==0){if(s===2&&(p=Zc(r),p!==0&&(u=p,s=wd(r,p))),s===1)throw i=fa,no(r,0),br(r,u),It(r,Ye()),i;if(s===6)br(r,u);else{if(p=r.current.alternate,(u&30)===0&&!WC(p)&&(s=fl(r,u),s===2&&(v=Zc(r),v!==0&&(u=v,s=wd(r,v))),s===1))throw i=fa,no(r,0),br(r,u),It(r,Ye()),i;switch(r.finishedWork=p,r.finishedLanes=u,s){case 0:case 1:throw Error(n(345));case 2:ro(r,Dt,Gn);break;case 3:if(br(r,u),(u&130023424)===u&&(s=vd+500-Ye(),10<s)){if(wi(r,0)!==0)break;if(p=r.suspendedLanes,(p&u)!==u){Rt(),r.pingedLanes|=r.suspendedLanes&p;break}r.timeoutHandle=Au(ro.bind(null,r,Dt,Gn),s);break}ro(r,Dt,Gn);break;case 4:if(br(r,u),(u&4194240)===u)break;for(s=r.eventTimes,p=-1;0<u;){var w=31-un(u);v=1<<w,w=s[w],w>p&&(p=w),u&=~v}if(u=p,u=Ye()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*HC(u/1960))-u,10<u){r.timeoutHandle=Au(ro.bind(null,r,Dt,Gn),u);break}ro(r,Dt,Gn);break;case 5:ro(r,Dt,Gn);break;default:throw Error(n(329))}}}return It(r,Ye()),r.callbackNode===i?Zg.bind(null,r):null}function wd(r,s){var i=pa;return r.current.memoizedState.isDehydrated&&(no(r,s).flags|=256),r=fl(r,s),r!==2&&(s=Dt,Dt=i,s!==null&&bd(s)),r}function bd(r){Dt===null?Dt=r:Dt.push.apply(Dt,r)}function WC(r){for(var s=r;;){if(s.flags&16384){var i=s.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var u=0;u<i.length;u++){var p=i[u],v=p.getSnapshot;p=p.value;try{if(!dn(v(),p))return!1}catch{return!1}}}if(i=s.child,s.subtreeFlags&16384&&i!==null)i.return=s,s=i;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function br(r,s){for(s&=~gd,s&=~al,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var i=31-un(s),u=1<<i;r[i]=-1,s&=~u}}function ev(r){if((Ce&6)!==0)throw Error(n(327));Zo();var s=wi(r,0);if((s&1)===0)return It(r,Ye()),null;var i=fl(r,s);if(r.tag!==0&&i===2){var u=Zc(r);u!==0&&(s=u,i=wd(r,u))}if(i===1)throw i=fa,no(r,0),br(r,s),It(r,Ye()),i;if(i===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,ro(r,Dt,Gn),It(r,Ye()),null}function Sd(r,s){var i=Ce;Ce|=1;try{return r(s)}finally{Ce=i,Ce===0&&(Jo=Ye()+500,zi&&mr())}}function to(r){xr!==null&&xr.tag===0&&(Ce&6)===0&&Zo();var s=Ce;Ce|=1;var i=en.transition,u=Ne;try{if(en.transition=null,Ne=1,r)return r()}finally{Ne=u,en.transition=i,Ce=s,(Ce&6)===0&&mr()}}function Ed(){Ut=Xo.current,Le(Xo)}function no(r,s){r.finishedWork=null,r.finishedLanes=0;var i=r.timeoutHandle;if(i!==-1&&(r.timeoutHandle=-1,SC(i)),tt!==null)for(i=tt.return;i!==null;){var u=i;switch(Ou(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&Li();break;case 3:Go(),Le(jt),Le(xt),Hu();break;case 5:Bu(u);break;case 4:Go();break;case 13:Le(Fe);break;case 19:Le(Fe);break;case 10:Vu(u.type._context);break;case 22:case 23:Ed()}i=i.return}if(ct=r,tt=r=Sr(r.current,null),mt=Ut=s,at=0,fa=null,gd=al=eo=0,Dt=pa=null,Xr!==null){for(s=0;s<Xr.length;s++)if(i=Xr[s],u=i.interleaved,u!==null){i.interleaved=null;var p=u.next,v=i.pending;if(v!==null){var w=v.next;v.next=p,u.next=w}i.pending=u}Xr=null}return r}function tv(r,s){do{var i=tt;try{if(Lu(),Qi.current=Zi,Yi){for(var u=Ue.memoizedState;u!==null;){var p=u.queue;p!==null&&(p.pending=null),u=u.next}Yi=!1}if(Zr=0,lt=st=Ue=null,aa=!1,ia=0,hd.current=null,i===null||i.return===null){at=1,fa=s,tt=null;break}e:{var v=r,w=i.return,A=i,P=s;if(s=mt,A.flags|=32768,P!==null&&typeof P=="object"&&typeof P.then=="function"){var V=P,W=A,K=W.tag;if((W.mode&1)===0&&(K===0||K===11||K===15)){var H=W.alternate;H?(W.updateQueue=H.updateQueue,W.memoizedState=H.memoizedState,W.lanes=H.lanes):(W.updateQueue=null,W.memoizedState=null)}var X=Ag(w);if(X!==null){X.flags&=-257,Tg(X,w,A,v,s),X.mode&1&&kg(v,V,s),s=X,P=V;var Z=s.updateQueue;if(Z===null){var ne=new Set;ne.add(P),s.updateQueue=ne}else Z.add(P);break e}else{if((s&1)===0){kg(v,V,s),Cd();break e}P=Error(n(426))}}else if(qe&&A.mode&1){var Xe=Ag(w);if(Xe!==null){(Xe.flags&65536)===0&&(Xe.flags|=256),Tg(Xe,w,A,v,s),Iu(Qo(P,A));break e}}v=P=Qo(P,A),at!==4&&(at=2),pa===null?pa=[v]:pa.push(v),v=w;do{switch(v.tag){case 3:v.flags|=65536,s&=-s,v.lanes|=s;var I=Eg(v,P,s);Yh(v,I);break e;case 1:A=P;var O=v.type,L=v.stateNode;if((v.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(yr===null||!yr.has(L)))){v.flags|=65536,s&=-s,v.lanes|=s;var Q=Cg(v,A,s);Yh(v,Q);break e}}v=v.return}while(v!==null)}ov(i)}catch(oe){s=oe,tt===i&&i!==null&&(tt=i=i.return);continue}break}while(!0)}function nv(){var r=sl.current;return sl.current=Zi,r===null?Zi:r}function Cd(){(at===0||at===3||at===2)&&(at=4),ct===null||(eo&268435455)===0&&(al&268435455)===0||br(ct,mt)}function fl(r,s){var i=Ce;Ce|=2;var u=nv();(ct!==r||mt!==s)&&(Gn=null,no(r,s));do try{KC();break}catch(p){tv(r,p)}while(!0);if(Lu(),Ce=i,sl.current=u,tt!==null)throw Error(n(261));return ct=null,mt=0,at}function KC(){for(;tt!==null;)rv(tt)}function GC(){for(;tt!==null&&!xE();)rv(tt)}function rv(r){var s=iv(r.alternate,r,Ut);r.memoizedProps=r.pendingProps,s===null?ov(r):tt=s,hd.current=null}function ov(r){var s=r;do{var i=s.alternate;if(r=s.return,(s.flags&32768)===0){if(i=qC(i,s,Ut),i!==null){tt=i;return}}else{if(i=FC(i,s),i!==null){i.flags&=32767,tt=i;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{at=6,tt=null;return}}if(s=s.sibling,s!==null){tt=s;return}tt=s=r}while(s!==null);at===0&&(at=5)}function ro(r,s,i){var u=Ne,p=en.transition;try{en.transition=null,Ne=1,QC(r,s,i,u)}finally{en.transition=p,Ne=u}return null}function QC(r,s,i,u){do Zo();while(xr!==null);if((Ce&6)!==0)throw Error(n(327));i=r.finishedWork;var p=r.finishedLanes;if(i===null)return null;if(r.finishedWork=null,r.finishedLanes=0,i===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var v=i.lanes|i.childLanes;if(RE(r,v),r===ct&&(tt=ct=null,mt=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||ll||(ll=!0,lv(gi,function(){return Zo(),null})),v=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||v){v=en.transition,en.transition=null;var w=Ne;Ne=1;var A=Ce;Ce|=4,hd.current=null,BC(r,i),Gg(i,r),hC(Cu),Ei=!!Eu,Cu=Eu=null,r.current=i,$C(i),wE(),Ce=A,Ne=w,en.transition=v}else r.current=i;if(ll&&(ll=!1,xr=r,cl=p),v=r.pendingLanes,v===0&&(yr=null),EE(i.stateNode),It(r,Ye()),s!==null)for(u=r.onRecoverableError,i=0;i<s.length;i++)p=s[i],u(p.value,{componentStack:p.stack,digest:p.digest});if(il)throw il=!1,r=yd,yd=null,r;return(cl&1)!==0&&r.tag!==0&&Zo(),v=r.pendingLanes,(v&1)!==0?r===xd?ma++:(ma=0,xd=r):ma=0,mr(),null}function Zo(){if(xr!==null){var r=Wm(cl),s=en.transition,i=Ne;try{if(en.transition=null,Ne=16>r?16:r,xr===null)var u=!1;else{if(r=xr,xr=null,cl=0,(Ce&6)!==0)throw Error(n(331));var p=Ce;for(Ce|=4,J=r.current;J!==null;){var v=J,w=v.child;if((J.flags&16)!==0){var A=v.deletions;if(A!==null){for(var P=0;P<A.length;P++){var V=A[P];for(J=V;J!==null;){var W=J;switch(W.tag){case 0:case 11:case 15:da(8,W,v)}var K=W.child;if(K!==null)K.return=W,J=K;else for(;J!==null;){W=J;var H=W.sibling,X=W.return;if(Bg(W),W===V){J=null;break}if(H!==null){H.return=X,J=H;break}J=X}}}var Z=v.alternate;if(Z!==null){var ne=Z.child;if(ne!==null){Z.child=null;do{var Xe=ne.sibling;ne.sibling=null,ne=Xe}while(ne!==null)}}J=v}}
vendor: 4,083 bytes, line 40
40if((v.subtreeFlags&2064)!==0&&w!==null)w.return=v,J=w;else e:for(;J!==null;){if(v=J,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:da(9,v,v.return)}var I=v.sibling;if(I!==null){I.return=v.return,J=I;break e}J=v.return}}var O=r.current;for(J=O;J!==null;){w=J;var L=w.child;if((w.subtreeFlags&2064)!==0&&L!==null)L.return=w,J=L;else e:for(w=O;J!==null;){if(A=J,(A.flags&2048)!==0)try{switch(A.tag){case 0:case 11:case 15:ol(9,A)}}catch(oe){$e(A,A.return,oe)}if(A===w){J=null;break e}var Q=A.sibling;if(Q!==null){Q.return=A.return,J=Q;break e}J=A.return}}if(Ce=p,mr(),An&&typeof An.onPostCommitFiberRoot=="function")try{An.onPostCommitFiberRoot(vi,r)}catch{}u=!0}return u}finally{Ne=i,en.transition=s}}return!1}function sv(r,s,i){s=Qo(i,s),s=Eg(r,s,1),r=gr(r,s,1),s=Rt(),r!==null&&(Vs(r,1,s),It(r,s))}function $e(r,s,i){if(r.tag===3)sv(r,r,i);else for(;s!==null;){if(s.tag===3){sv(s,r,i);break}else if(s.tag===1){var u=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(yr===null||!yr.has(u))){r=Qo(i,r),r=Cg(s,r,1),s=gr(s,r,1),r=Rt(),s!==null&&(Vs(s,1,r),It(s,r));break}}s=s.return}}function YC(r,s,i){var u=r.pingCache;u!==null&&u.delete(s),s=Rt(),r.pingedLanes|=r.suspendedLanes&i,ct===r&&(mt&i)===i&&(at===4||at===3&&(mt&130023424)===mt&&500>Ye()-vd?no(r,0):gd|=i),It(r,s)}function av(r,s){s===0&&((r.mode&1)===0?s=1:(s=xi,xi<<=1,(xi&130023424)===0&&(xi=4194304)));var i=Rt();r=Hn(r,s),r!==null&&(Vs(r,s,i),It(r,i))}function XC(r){var s=r.memoizedState,i=0;s!==null&&(i=s.retryLane),av(r,i)}function JC(r,s){var i=0;switch(r.tag){case 13:var u=r.stateNode,p=r.memoizedState;p!==null&&(i=p.retryLane);break;case 19:u=r.stateNode;break;default:throw Error(n(314))}u!==null&&u.delete(s),av(r,i)}var iv;iv=function(r,s,i){if(r!==null)if(r.memoizedProps!==s.pendingProps||jt.current)_t=!0;else{if((r.lanes&i)===0&&(s.flags&128)===0)return _t=!1,zC(r,s,i);_t=(r.flags&131072)!==0}else _t=!1,qe&&(s.flags&1048576)!==0&&qh(s,Fi,s.index);switch(s.lanes=0,s.tag){case 2:var u=s.type;nl(r,s),r=s.pendingProps;var p=Fo(s,xt.current);Ko(s,i),p=Gu(null,s,u,r,p,i);var v=Qu();return s.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Ot(u)?(v=!0,Vi(s)):v=!1,s.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Fu(s),p.updater=el,s.stateNode=p,p._reactInternals=s,td(s,u,r,i),s=sd(null,s,u,!0,v,i)):(s.tag=0,qe&&v&&ju(s),Pt(null,s,p,i),s=s.child),s;case 16:u=s.elementType;e:{switch(nl(r,s),r=s.pendingProps,p=u._init,u=p(u._payload),s.type=u,p=s.tag=ek(u),r=pn(u,r),p){case 0:s=od(null,s,u,r,i);break e;case 1:s=_g(null,s,u,r,i);break e;case 11:s=Pg(null,s,u,r,i);break e;case 14:s=Rg(null,s,u,pn(u.type,r),i);break e}throw Error(n(306,u,""))}return s;case 0:return u=s.type,p=s.pendingProps,p=s.elementType===u?p:pn(u,p),od(r,s,u,p,i);case 1:return u=s.type,p=s.pendingProps,p=s.elementType===u?p:pn(u,p),_g(r,s,u,p,i);case 3:e:{if(Dg(s),r===null)throw Error(n(387));u=s.pendingProps,v=s.memoizedState,p=v.element,Qh(r,s),Ki(s,u,null,i);var w=s.memoizedState;if(u=w.element,v.isDehydrated)if(v={element:u,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},s.updateQueue.baseState=v,s.memoizedState=v,s.flags&256){p=Qo(Error(n(423)),s),s=Ig(r,s,u,i,p);break e}else if(u!==p){p=Qo(Error(n(424)),s),s=Ig(r,s,u,i,p);break e}else for(Ft=dr(s.stateNode.containerInfo.firstChild),qt=s,qe=!0,fn=null,i=Kh(s,null,u,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if($o(),u===p){s=Kn(r,s,i);break e}Pt(r,s,u,i)}s=s.child}return s;case 5:return Jh(s),r===null&&Du(s),u=s.type,p=s.pendingProps,v=r!==null?r.memoizedProps:null,w=p.children,ku(u,p)?w=null:v!==null&&ku(u,v)&&(s.flags|=32),Og(r,s),Pt(r,s,w,i),s.child;case 6:return r===null&&Du(s),null;case 13:return Mg(r,s,i);case 4:return Uu(s,s.stateNode.containerInfo),u=s.pendingProps,r===null?s.child=Ho(s,null,u,i):Pt(r,s,u,i),s.child;case 11:return u=s.type,p=s.pendingProps,p=s.elementType===u?p:pn(u,p),Pg(r,s,u,p,i);
vendor: 10,686 bytes, line 40
40case 7:return Pt(r,s,s.pendingProps,i),s.child;case 8:return Pt(r,s,s.pendingProps.children,i),s.child;case 12:return Pt(r,s,s.pendingProps.children,i),s.child;case 10:e:{if(u=s.type._context,p=s.pendingProps,v=s.memoizedProps,w=p.value,De($i,u._currentValue),u._currentValue=w,v!==null)if(dn(v.value,w)){if(v.children===p.children&&!jt.current){s=Kn(r,s,i);break e}}else for(v=s.child,v!==null&&(v.return=s);v!==null;){var A=v.dependencies;if(A!==null){w=v.child;for(var P=A.firstContext;P!==null;){if(P.context===u){if(v.tag===1){P=Wn(-1,i&-i),P.tag=2;var V=v.updateQueue;if(V!==null){V=V.shared;var W=V.pending;W===null?P.next=P:(P.next=W.next,W.next=P),V.pending=P}}v.lanes|=i,P=v.alternate,P!==null&&(P.lanes|=i),zu(v.return,i,s),A.lanes|=i;break}P=P.next}}else if(v.tag===10)w=v.type===s.type?null:v.child;else if(v.tag===18){if(w=v.return,w===null)throw Error(n(341));w.lanes|=i,A=w.alternate,A!==null&&(A.lanes|=i),zu(w,i,s),w=v.sibling}else w=v.child;if(w!==null)w.return=v;else for(w=v;w!==null;){if(w===s){w=null;break}if(v=w.sibling,v!==null){v.return=w.return,w=v;break}w=w.return}v=w}Pt(r,s,p.children,i),s=s.child}return s;case 9:return p=s.type,u=s.pendingProps.children,Ko(s,i),p=Jt(p),u=u(p),s.flags|=1,Pt(r,s,u,i),s.child;case 14:return u=s.type,p=pn(u,s.pendingProps),p=pn(u.type,p),Rg(r,s,u,p,i);case 15:return Ng(r,s,s.type,s.pendingProps,i);case 17:return u=s.type,p=s.pendingProps,p=s.elementType===u?p:pn(u,p),nl(r,s),s.tag=1,Ot(u)?(r=!0,Vi(s)):r=!1,Ko(s,i),bg(s,u,p),td(s,u,p,i),sd(null,s,u,!0,r,i);case 19:return Vg(r,s,i);case 22:return jg(r,s,i)}throw Error(n(156,s.tag))};function lv(r,s){return Fm(r,s)}function ZC(r,s,i,u){this.tag=r,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tn(r,s,i,u){return new ZC(r,s,i,u)}function kd(r){return r=r.prototype,!(!r||!r.isReactComponent)}function ek(r){if(typeof r=="function")return kd(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Te)return 11;if(r===Qe)return 14}return 2}function Sr(r,s){var i=r.alternate;return i===null?(i=tn(r.tag,s,r.key,r.mode),i.elementType=r.elementType,i.type=r.type,i.stateNode=r.stateNode,i.alternate=r,r.alternate=i):(i.pendingProps=s,i.type=r.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=r.flags&14680064,i.childLanes=r.childLanes,i.lanes=r.lanes,i.child=r.child,i.memoizedProps=r.memoizedProps,i.memoizedState=r.memoizedState,i.updateQueue=r.updateQueue,s=r.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},i.sibling=r.sibling,i.index=r.index,i.ref=r.ref,i}function pl(r,s,i,u,p,v){var w=2;if(u=r,typeof r=="function")kd(r)&&(w=1);else if(typeof r=="string")w=5;else e:switch(r){case B:return oo(i.children,p,v,s);case M:w=8,p|=8;break;case Y:return r=tn(12,i,s,p|2),r.elementType=Y,r.lanes=v,r;case ze:return r=tn(13,i,s,p),r.elementType=ze,r.lanes=v,r;case _e:return r=tn(19,i,s,p),r.elementType=_e,r.lanes=v,r;case ce:return ml(i,p,v,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case ve:w=10;break e;case ue:w=9;break e;case Te:w=11;break e;case Qe:w=14;break e;case xe:w=16,u=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=tn(w,i,s,p),s.elementType=r,s.type=u,s.lanes=v,s}function oo(r,s,i,u){return r=tn(7,r,u,s),r.lanes=i,r}function ml(r,s,i,u){return r=tn(22,r,u,s),r.elementType=ce,r.lanes=i,r.stateNode={isHidden:!1},r}function Ad(r,s,i){return r=tn(6,r,null,s),r.lanes=i,r}function Td(r,s,i){return s=tn(4,r.children!==null?r.children:[],r.key,s),s.lanes=i,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function tk(r,s,i,u,p){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Pd(r,s,i,u,p,v,w,A,P){return r=new tk(r,s,i,A,P),s===1?(s=1,v===!0&&(s|=8)):s=0,v=tn(3,null,null,s),r.current=v,v.stateNode=r,v.memoizedState={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fu(v),r}function nk(r,s,i){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:u==null?null:""+u,children:r,containerInfo:s,implementation:i}}function cv(r){if(!r)return pr;r=r._reactInternals;e:{if(Wr(r)!==r||r.tag!==1)throw Error(n(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Ot(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(r.tag===1){var i=r.type;if(Ot(i))return Lh(r,i,s)}return s}function uv(r,s,i,u,p,v,w,A,P){return r=Pd(i,u,!0,r,p,v,w,A,P),r.context=cv(null),i=r.current,u=Rt(),p=wr(i),v=Wn(u,p),v.callback=s??null,gr(i,v,p),r.current.lanes=p,Vs(r,p,u),It(r,u),r}function hl(r,s,i,u){var p=s.current,v=Rt(),w=wr(p);return i=cv(i),s.context===null?s.context=i:s.pendingContext=i,s=Wn(v,w),s.payload={element:r},u=u===void 0?null:u,u!==null&&(s.callback=u),r=gr(p,s,w),r!==null&&(gn(r,p,w,v),Wi(r,p,w)),w}function gl(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function dv(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var i=r.retryLane;r.retryLane=i!==0&&i<s?i:s}}function Rd(r,s){dv(r,s),(r=r.alternate)&&dv(r,s)}function rk(){return null}var fv=typeof reportError=="function"?reportError:function(r){console.error(r)};function Nd(r){this._internalRoot=r}vl.prototype.render=Nd.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));hl(r,s,null,null)},vl.prototype.unmount=Nd.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;to(function(){hl(null,r,null,null)}),s[Fn]=null}};function vl(r){this._internalRoot=r}vl.prototype.unstable_scheduleHydration=function(r){if(r){var s=Qm();r={blockedOn:null,target:r,priority:s};for(var i=0;i<lr.length&&s!==0&&s<lr[i].priority;i++);lr.splice(i,0,r),i===0&&Jm(r)}};function jd(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function yl(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function pv(){}function ok(r,s,i,u,p){if(p){if(typeof u=="function"){var v=u;u=function(){var V=gl(w);v.call(V)}}var w=uv(s,u,r,0,null,!1,!1,"",pv);return r._reactRootContainer=w,r[Fn]=w.current,Js(r.nodeType===8?r.parentNode:r),to(),w}for(;p=r.lastChild;)r.removeChild(p);if(typeof u=="function"){var A=u;u=function(){var V=gl(P);A.call(V)}}var P=Pd(r,0,!1,null,null,!1,!1,"",pv);return r._reactRootContainer=P,r[Fn]=P.current,Js(r.nodeType===8?r.parentNode:r),to(function(){hl(s,P,i,u)}),P}function xl(r,s,i,u,p){var v=i._reactRootContainer;if(v){var w=v;if(typeof p=="function"){var A=p;p=function(){var P=gl(w);A.call(P)}}hl(s,w,r,p)}else w=ok(i,s,r,p,u);return gl(w)}Km=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var i=Ls(s.pendingLanes);i!==0&&(tu(s,i|1),It(s,Ye()),(Ce&6)===0&&(Jo=Ye()+500,mr()))}break;case 13:to(function(){var u=Hn(r,1);if(u!==null){var p=Rt();gn(u,r,1,p)}}),Rd(r,1)}},nu=function(r){if(r.tag===13){var s=Hn(r,134217728);if(s!==null){var i=Rt();gn(s,r,134217728,i)}Rd(r,134217728)}},Gm=function(r){if(r.tag===13){var s=wr(r),i=Hn(r,s);if(i!==null){var u=Rt();gn(i,r,s,u)}Rd(r,s)}},Qm=function(){return Ne},Ym=function(r,s){var i=Ne;try{return Ne=r,s()}finally{Ne=i}},Gc=function(r,s,i){switch(s){case"input":if(qc(r,i),s=i.name,i.type==="radio"&&s!=null){for(i=r;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<i.length;s++){var u=i[s];if(u!==r&&u.form===r.form){var p=Mi(u);if(!p)throw Error(n(90));Hr(u),qc(u,p)}}}break;case"textarea":km(r,i);break;case"select":s=i.value,s!=null&&Ro(r,!!i.multiple,s,!1)}},Dm=Sd,Im=to;var sk={usingClientEntryPoint:!1,Events:[ta,zo,Mi,Om,_m,Sd]},ha={findFiberByHostInstance:Kr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ak={bundleType:ha.bundleType,version:ha.version,rendererPackageName:ha.rendererPackageName,rendererConfig:ha.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=zm(r),r===null?null:r.stateNode},findFiberByHostInstance:ha.findFiberByHostInstance||rk,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var wl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wl.isDisabled&&wl.supportsFiber)try{vi=wl.inject(ak),An=wl}catch{}}return Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sk,Mt.createPortal=function(r,s){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!jd(s))throw Error(n(200));return nk(r,s,null,i)},Mt.createRoot=function(r,s){if(!jd(r))throw Error(n(299));var i=!1,u="",p=fv;return s!=null&&(s.unstable_strictMode===!0&&(i=!0),s.identifierPrefix!==void 0&&(u=s.identifierPrefix),s.onRecoverableError!==void 0&&(p=s.onRecoverableError)),s=Pd(r,1,!1,null,null,i,!1,u,p),r[Fn]=s.current,Js(r.nodeType===8?r.parentNode:r),new Nd(s)},Mt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=zm(s),r=r===null?null:r.stateNode,r},Mt.flushSync=function(r){return to(r)},Mt.hydrate=function(r,s,i){if(!yl(s))throw Error(n(200));return xl(null,r,s,!0,i)},Mt.hydrateRoot=function(r,s,i){if(!jd(r))throw Error(n(405));var u=i!=null&&i.hydratedSources||null,p=!1,v="",w=fv;if(i!=null&&(i.unstable_strictMode===!0&&(p=!0),i.identifierPrefix!==void 0&&(v=i.identifierPrefix),i.onRecoverableError!==void 0&&(w=i.onRecoverableError)),s=uv(s,null,r,1,i??null,p,!1,v,w),r[Fn]=s.
40current,Js(r),u)for(r=0;r<u.length;r++)i=u[r],p=i._getVersion,p=p(i._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[i,p]:s.mutableSourceEagerHydrationData.push(i,p);return new vl(s)},Mt.render=function(r,s,i){if(!yl(s))throw Error(n(200));return xl(null,r,s,!1,i)},Mt.unmountComponentAtNode=function(r){if(!yl(r))throw Error(n(40));return r._reactRootContainer?(to(function(){xl(null,null,r,!1,function(){r._reactRootContainer=null,r[Fn]=null})}),!0):!1},Mt.unstable_batchedUpdates=Sd,Mt.unstable_renderSubtreeIntoContainer=function(r,s,i,u){if(!yl(i))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return xl(r,s,i,!1,u)},Mt.version="18.3.1-next-f1338f8080-20240426",Mt}var Sv;function Px(){if(Sv)return Id.exports;Sv=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(t){console.error(t)}}return e(),Id.exports=mk(),Id.exports}var Ev;function hk(){if(Ev)return Sl;Ev=1;var e=Px();return Sl.createRoot=e.createRoot,Sl.hydrateRoot=e.hydrateRoot,Sl}var gk=hk();const vk=lp(gk),yk=20,xk=1e6,Zn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Vd=0;function wk(){return Vd=(Vd+1)%Number.MAX_VALUE,Vd.toString()}const zd=new Map,Cv=e=>{if(zd.has(e))return;const t=setTimeout(()=>{zd.delete(e),Ra({type:Zn.REMOVE_TOAST,toastId:e})},xk);zd.set(e,t)},bk=(e,t)=>{switch(t.type){case Zn.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,yk)};case Zn.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};
40case Zn.DISMISS_TOAST:{const{toastId:n}=t;return n?Cv(n):e.toasts.forEach(o=>{Cv(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,open:!1}:o)}}case Zn.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},zl=[];let ql={toasts:[]};function Ra(e){ql=bk(ql,e),zl.forEach(t=>{t(ql)})}function Sk({...e}){const t=wk(),n=a=>Ra({type:Zn.UPDATE_TOAST,toast:{...a,id:t}}),o=()=>Ra({type:Zn.DISMISS_TOAST,toastId:t});return Ra({type:Zn.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:a=>{a||o()}}}),{id:t,dismiss:o,update:n}}function Ek(){const[e,t]=x.useState(ql);return x.useEffect(()=>(zl.push(t),()=>{const n=zl.indexOf(t);n>-1&&zl.splice(n,1)}),[e]),{...e,toast:Sk,dismiss:n=>Ra({type:Zn.DISMISS_TOAST,toastId:n})}}function Rx(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Rx(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Nx(){for(var e,t,n=0,o="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Rx(e))&&(o&&(o+=" "),o+=t);return o}const kv=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Av=Nx,up=(e,t)=>n=>{var o;if((t==null?void 0:t.variants)==null)return Av(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:l}=t,c=Object.keys(a).map(m=>{const g=n==null?void 0:n[m],y=l==null?void 0:l[m];if(g===null)return null;const b=kv(g)||kv(y);return a[m][b]}),d=n&&Object.entries(n).reduce((m,g)=>{let[y,b]=g;return b===void 0||(m[y]=b),m},{}),f=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((m,g)=>{let{class:y,className:b,...k}=g;return Object.entries(k).every(C=>{let[S,E]=C;return Array.isArray(E)?E.includes({...l,...d}[S]):{...l,...d}[S]===E})?[...m,y,b]:m},[]);return Av(e,c,f,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const Ck=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),jx=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var kk={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"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const Ak=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:c,...d},f)=>x.createElement("svg",{ref:f,...kk,width:t,height:t,stroke:e,strokeWidth:o?Number(n)*24/Number(t):n,className:jx("lucide",a),...d},[...c.map(([m,g])=>x.createElement(m,g)),...Array.isArray(l)?l:[l]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Re=(e,t)=>{const n=x.forwardRef(({className:o,...a},l)=>x.createElement(Ak,{ref:l,iconNode:t,className:jx(`lucide-${Ck(e)}`,o),...a}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const Tk=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Tv=Re("ArrowLeft",Tk);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const Pk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],xs=Re("ArrowRight",Pk);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Rk=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Nk=Re("ChartColumn",Rk);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const jk=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ok=Re("Check",jk);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const _k=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Dk=Re("ChevronDown",_k);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Ik=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Mk=Re("ChevronLeft",Ik);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const Lk=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ox=Re("ChevronRight",Lk);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const Vk=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],zk=Re("CircleCheck",Vk);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const qk=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],Fk=Re("DollarSign",qk);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const Uk=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Bk=Re("GitBranch",Uk);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const $k=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Hk=Re("House",$k);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const Wk=[["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"}]],Kk=Re("Layers",Wk);/** 121 * @license lucide-react v0.475.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Gk=[["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"}]],Qk=Re("MapPin",Gk);/** 126 * @license lucide-react v0.475.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Yk=[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]],Xk=Re("Megaphone",Yk);/** 131 * @license lucide-react v0.475.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const Jk=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],Zk=Re("Menu",Jk);/** 136 * @license lucide-react v0.475.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const eA=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],tA=Re("MessageCircle",eA);/** 141 * @license lucide-react v0.475.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const nA=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],rA=Re("MessageSquare",nA);/** 146 * @license lucide-react v0.475.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const oA=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],sA=Re("Monitor",oA);/** 151 * @license lucide-react v0.475.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const aA=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Pv=Re("Package",aA);/** 156 * @license lucide-react v0.475.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const iA=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],lA=Re("Palette",iA);/** 161 * @license lucide-react v0.475.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const cA=[["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"}]],uA=Re("Quote",cA);/** 166 * @license lucide-react v0.475.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const dA=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],fA=Re("Server",dA);/** 171 * @license lucide-react v0.475.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const pA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 4,557 bytes, lines 175-215
175y:"oel41y"}]],mA=Re("Shield",pA);/** 176 * @license lucide-react v0.475.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const hA=[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]],gA=Re("ShoppingBag",hA);/** 181 * @license lucide-react v0.475.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const vA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],yA=Re("Tag",vA);/** 186 * @license lucide-react v0.475.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],wA=Re("Target",xA);/** 191 * @license lucide-react v0.475.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const bA=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],SA=Re("Truck",bA);/** 196 * @license lucide-react v0.475.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const EA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],CA=Re("Users",EA);/** 201 * @license lucide-react v0.475.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const kA=[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]],AA=Re("Warehouse",kA);/** 206 * @license lucide-react v0.475.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const TA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],dp=Re("X",TA);/** 211 * @license lucide-react v0.475.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const PA=[["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"}]],RA=Re("Zap",PA),NA=(e,t)=>{const n=new Array(e.length+t.length);for(let o=0;o<e.length;o++)n[o]=e[o];for(let o=0;o<t.length;o++)n[e.length+o]=t[o];return n},jA=(e,t)=>({classGroupId:e,validator:t}),_x=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Zl="-",Rv=[],OA="arbitrary..",_A=e=>{const t=IA(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return DA(c);const d=c.split(Zl),f=d[0]===""&&d.length>1?1:0;return Dx(d,f,t)},getConflictingClassGroupIds:(c,d)=>{if(d){const f=o[c],m=n[c];return f?m?NA(m,f):f:m||Rv}return n[c]||Rv}}},Dx=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const a=e[t],l=n.nextPart.get(a);if(l){const m=Dx(e,t+1,l);if(m)return m}const c=n.validators;if(c===null)return;const d=t===0?e.join(Zl):e.slice(t).join(Zl),f=c.length;for(let m=0;m<f;m++){const g=c[m];if(g.validator(d))return g.classGroupId}},DA=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),o=t.slice(0,n);return o?OA+o:void 0})(),IA=e=>{const{theme:t,classGroups:n}=e;return MA(n,t)},MA=(e,t)=>{const n=_x();for(const o in e){const a=e[o];fp(a,n,o,t)}return n},fp=(e,t,n,o)=>{const a=e.length;for(let l=0;l<a;l++){const c=e[l];LA(c,t,n,o)}},LA=(e,t,n,o)=>
vendor: 4,187 bytes, line 215
215{if(typeof e=="string"){VA(e,t,n);return}if(typeof e=="function"){zA(e,t,n,o);return}qA(e,t,n,o)},VA=(e,t,n)=>{const o=e===""?t:Ix(t,e);o.classGroupId=n},zA=(e,t,n,o)=>{if(FA(e)){fp(e(o),t,n,o);return}t.validators===null&&(t.validators=[]),t.validators.push(jA(n,e))},qA=(e,t,n,o)=>{const a=Object.entries(e),l=a.length;for(let c=0;c<l;c++){const[d,f]=a[c];fp(f,Ix(t,d),n,o)}},Ix=(e,t)=>{let n=e;const o=t.split(Zl),a=o.length;for(let l=0;l<a;l++){const c=o[l];let d=n.nextPart.get(c);d||(d=_x(),n.nextPart.set(c,d)),n=d}return n},FA=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,UA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),o=Object.create(null);const a=(l,c)=>{n[l]=c,t++,t>e&&(t=0,o=n,n=Object.create(null))};return{get(l){let c=n[l];if(c!==void 0)return c;if((c=o[l])!==void 0)return a(l,c),c},set(l,c){l in n?n[l]=c:a(l,c)}}},wf="!",Nv=":",BA=[],jv=(e,t,n,o,a)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:o,isExternal:a}),$A=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=a=>{const l=[];let c=0,d=0,f=0,m;const g=a.length;for(let S=0;S<g;S++){const E=a[S];if(c===0&&d===0){if(E===Nv){l.push(a.slice(f,S)),f=S+1;continue}if(E==="/"){m=S;continue}}E==="["?c++:E==="]"?c--:E==="("?d++:E===")"&&d--}const y=l.length===0?a:a.slice(f);let b=y,k=!1;y.endsWith(wf)?(b=y.slice(0,-1),k=!0):y.startsWith(wf)&&(b=y.slice(1),k=!0);const C=m&&m>f?m-f:void 0;return jv(l,k,b,C)};if(t){const a=t+Nv,l=o;o=c=>c.startsWith(a)?l(c.slice(a.length)):jv(BA,!1,c,void 0,!0)}if(n){const a=o;o=l=>n({className:l,parseClassName:a})}return o},HA=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,o)=>{t.set(n,1e6+o)}),n=>{const o=[];let a=[];for(let l=0;l<n.length;l++){const c=n[l],d=c[0]==="[",f=t.has(c);d||f?(a.length>0&&(a.sort(),o.push(...a),a=[]),o.push(c)):a.push(c)}return a.length>0&&(a.sort(),o.push(...a)),o}},WA=e=>({cache:UA(e.cacheSize),parseClassName:$A(e),sortModifiers:HA(e),..._A(e)}),KA=/\s+/,GA=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:a,sortModifiers:l}=t,c=[],d=e.trim().split(KA);let f="";for(let m=d.length-1;m>=0;m-=1){const g=d[m],{isExternal:y,modifiers:b,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:S}=n(g);if(y){f=g+(f.length>0?" "+f:f);continue}let E=!!S,T=o(E?C.substring(0,S):C);if(!T){if(!E){f=g+(f.length>0?" "+f:f);continue}if(T=o(C),!T){f=g+(f.length>0?" "+f:f);continue}E=!1}const j=b.length===0?"":b.length===1?b[0]:l(b).join(":"),R=k?j+wf:j,N=R+T;if(c.indexOf(N)>-1)continue;c.push(N);const D=a(T,E);for(let U=0;U<D.length;++U){const B=D[U];c.push(R+B)}f=g+(f.length>0?" "+f:f)}return f},QA=(...e)=>{let t=0,n,o,a="";for(;t<e.length;)(n=e[t++])&&(o=Mx(n))&&(a&&(a+=" "),a+=o);return a},Mx=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Mx(e[o]))&&(n&&(n+=" "),n+=t);return n},YA=(e,...t)=>{let n,o,a,l;const c=f=>{const m=t.reduce((g,y)=>y(g),e());return n=WA(m),o=n.cache.get,a=n.cache.set,l=d,d(f)},d=f=>{const m=o(f);if(m)return m;const g=GA(f,n);return a(f,g),g};return l=c,(...f)=>l(QA(...f))},XA=[],it=e=>{const t=n=>n[e]||XA;return t.isThemeGetter=!0,t},Lx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Vx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,JA=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ZA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eT=/\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$/,tT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,nT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Cr=e=>JA.test(e),we=e=>!!e&&!Number.isNaN(Number(e)),kr=e=>!!e&&Number.isInteger(Number(e)),qd=e=>e.endsWith("%")&&we(e.slice(0,-1)),Qn=e=>ZA.test(e),zx=()=>!0,oT=e=>eT.test(e)&&!tT.test(e),pp=()=>!1,sT=e=>nT.test(e),aT=e=>rT.test(e),iT=e=>!ee(e)&&!te(e),lT=e=>Fr(e,Ux,pp),ee=e=>Lx.test(e),so=e=>Fr(e,Bx,oT),Ov=e=>Fr(e,gT,we),cT=e=>Fr(e,Hx,zx),uT=e=>Fr(e,$x,pp),_v=e=>Fr(e,qx,pp),dT=e=>Fr(e,Fx,aT),El=e=>Fr(e,Wx,sT),te=e=>Vx.test(e),va=e=>Ao(e,Bx),fT=e=>Ao(e,$x),Dv=e=>Ao(e,qx),pT=e=>Ao(e,Ux),mT=e=>Ao(e,Fx),Cl=e=>Ao(e,Wx,!0),hT=e=>
vendor: 4,246 bytes, line 215
215Ao(e,Hx,!0),Fr=(e,t,n)=>{const o=Lx.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Ao=(e,t,n=!1)=>{const o=Vx.exec(e);return o?o[1]?t(o[1]):n:!1},qx=e=>e==="position"||e==="percentage",Fx=e=>e==="image"||e==="url",Ux=e=>e==="length"||e==="size"||e==="bg-size",Bx=e=>e==="length",gT=e=>e==="number",$x=e=>e==="family-name",Hx=e=>e==="number"||e==="weight",Wx=e=>e==="shadow",vT=()=>{const e=it("color"),t=it("font"),n=it("text"),o=it("font-weight"),a=it("tracking"),l=it("leading"),c=it("breakpoint"),d=it("container"),f=it("spacing"),m=it("radius"),g=it("shadow"),y=it("inset-shadow"),b=it("text-shadow"),k=it("drop-shadow"),C=it("blur"),S=it("perspective"),E=it("aspect"),T=it("ease"),j=it("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...N(),te,ee],U=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],M=()=>[te,ee,f],Y=()=>[Cr,"full","auto",...M()],ve=()=>[kr,"none","subgrid",te,ee],ue=()=>["auto",{span:["full",kr,te,ee]},kr,te,ee],Te=()=>[kr,"auto",te,ee],ze=()=>["auto","min","max","fr",te,ee],_e=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Qe=()=>["start","end","center","stretch","center-safe","end-safe"],xe=()=>["auto",...M()],ce=()=>[Cr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],G=()=>[Cr,"screen","full","dvw","lvw","svw","min","max","fit",...M()],re=()=>[Cr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...M()],F=()=>[e,te,ee],_=()=>[...N(),Dv,_v,{position:[te,ee]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",pT,lT,{size:[te,ee]}],he=()=>[qd,va,so],ie=()=>["","none","full",m,te,ee],de=()=>["",we,va,so],Pe=()=>["solid","dashed","dotted","double"],ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>[we,qd,Dv,_v],yt=()=>["","none",C,te,ee],qn=()=>["none",we,te,ee],Hr=()=>["none",we,te,ee],rr=()=>[we,te,ee],or=()=>[Cr,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Qn],breakpoint:[Qn],color:[zx],container:[Qn],"drop-shadow":[Qn],ease:["in","out","in-out"],font:[iT],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Qn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Qn],shadow:[Qn],spacing:["px",we],text:[Qn],"text-shadow":[Qn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Cr,ee,te,E]}],container:["container"],columns:[{columns:[we,ee,te,d]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"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:D()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{"inset-s":Y(),start:Y()}],end:[{"inset-e":Y(),end:Y()}],"inset-bs":[{"inset-bs":Y()}],"inset-be":[{"inset-be":Y()}],top:[{top:Y()}
vendor: 4,784 bytes, line 215
215],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[kr,"auto",te,ee]}],basis:[{basis:[Cr,"full","auto",d,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[we,Cr,"auto","initial","none",ee]}],grow:[{grow:["",we,te,ee]}],shrink:[{shrink:["",we,te,ee]}],order:[{order:[kr,"first","last","none",te,ee]}],"grid-cols":[{"grid-cols":ve()}],"col-start-end":[{col:ue()}],"col-start":[{"col-start":Te()}],"col-end":[{"col-end":Te()}],"grid-rows":[{"grid-rows":ve()}],"row-start-end":[{row:ue()}],"row-start":[{"row-start":Te()}],"row-end":[{"row-end":Te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ze()}],"auto-rows":[{"auto-rows":ze()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[..._e(),"normal"]}],"justify-items":[{"justify-items":[...Qe(),"normal"]}],"justify-self":[{"justify-self":["auto",...Qe()]}],"align-content":[{content:["normal",..._e()]}],"align-items":[{items:[...Qe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Qe(),{baseline:["","last"]}]}],"place-content":[{"place-content":_e()}],"place-items":[{"place-items":[...Qe(),"baseline"]}],"place-self":[{"place-self":["auto",...Qe()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pbs:[{pbs:M()}],pbe:[{pbe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:xe()}],mx:[{mx:xe()}],my:[{my:xe()}],ms:[{ms:xe()}],me:[{me:xe()}],mbs:[{mbs:xe()}],mbe:[{mbe:xe()}],mt:[{mt:xe()}],mr:[{mr:xe()}],mb:[{mb:xe()}],ml:[{ml:xe()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:ce()}],"inline-size":[{inline:["auto",...G()]}],"min-inline-size":[{"min-inline":["auto",...G()]}],"max-inline-size":[{"max-inline":["none",...G()]}],"block-size":[{block:["auto",...re()]}],"min-block-size":[{"min-block":["auto",...re()]}],"max-block-size":[{"max-block":["none",...re()]}],w:[{w:[d,"screen",...ce()]}],"min-w":[{"min-w":[d,"screen","none",...ce()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...ce()]}],h:[{h:["screen","lh",...ce()]}],"min-h":[{"min-h":["screen","lh","none",...ce()]}],"max-h":[{"max-h":["screen","lh",...ce()]}],"font-size":[{text:["base",n,va,so]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,hT,cT]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",qd,ee]}],"font-family":[{font:[fT,uT,t]}],"font-features":[{"font-features":[ee]}],"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,te,ee]}],"line-clamp":[{"line-clamp":[we,"none",te,Ov]}],leading:[{leading:[l,...M()]}],"list-image":[{"list-image":["none",te,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[we,"from-font","auto",te,so]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[we,"auto",te,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,ee]}],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",te,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kr,te,ee],radial:["",te,ee],conic:[kr,te,ee]},mT,dT]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:he()}
vendor: 7,403 bytes, line 215
215],"gradient-via-pos":[{via:he()}],"gradient-to-pos":[{to:he()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:ie()}],"rounded-s":[{"rounded-s":ie()}],"rounded-e":[{"rounded-e":ie()}],"rounded-t":[{"rounded-t":ie()}],"rounded-r":[{"rounded-r":ie()}],"rounded-b":[{"rounded-b":ie()}],"rounded-l":[{"rounded-l":ie()}],"rounded-ss":[{"rounded-ss":ie()}],"rounded-se":[{"rounded-se":ie()}],"rounded-ee":[{"rounded-ee":ie()}],"rounded-es":[{"rounded-es":ie()}],"rounded-tl":[{"rounded-tl":ie()}],"rounded-tr":[{"rounded-tr":ie()}],"rounded-br":[{"rounded-br":ie()}],"rounded-bl":[{"rounded-bl":ie()}],"border-w":[{border:de()}],"border-w-x":[{"border-x":de()}],"border-w-y":[{"border-y":de()}],"border-w-s":[{"border-s":de()}],"border-w-e":[{"border-e":de()}],"border-w-bs":[{"border-bs":de()}],"border-w-be":[{"border-be":de()}],"border-w-t":[{"border-t":de()}],"border-w-r":[{"border-r":de()}],"border-w-b":[{"border-b":de()}],"border-w-l":[{"border-l":de()}],"divide-x":[{"divide-x":de()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":de()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Pe(),"hidden","none"]}],"divide-style":[{divide:[...Pe(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...Pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[we,te,ee]}],"outline-w":[{outline:["",we,va,so]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",g,Cl,El]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",y,Cl,El]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:de()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[we,so]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":de()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",b,Cl,El]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[we,te,ee]}],"mix-blend":[{"mix-blend":[...ke(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ke()}],"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":[we]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[te,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":N()}],"mask-image-conic-pos":[{"mask-conic":[we]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,ee]}],filter:[{filter:["","none",te,ee]}],blur:[{blur:yt()}],brightness:[{brightness:[we,te,ee]}],contrast:[{contrast:[we,te,ee]}],"drop-shadow":[{"drop-shadow":["","none",k,Cl,El]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",we,te,ee]}],"hue-rotate":[{"hue-rotate":[we,te,ee]}],invert:[{invert:["",we,te,ee]}],saturate:[{saturate:[we,te,ee]}],sepia:[{sepia:["",we,te,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",te,ee]}],"backdrop-blur":[{"backdrop-blur":yt()}],"backdrop-brightness":[{"backdrop-brightness":[we,te,ee]}],"backdrop-contrast":[{"backdrop-contrast":[we,te,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",we,te,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[we,te,ee]}],"backdrop-invert":[{"backdrop-invert":["",we,te,ee]}],"backdrop-opacity":[{"backdrop-opacity":[we,te,ee]}],"backdrop-saturate":[{"backdrop-saturate":[we,te,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",we,te,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[we,"initial",te,ee]}],ease:[{ease:["linear","initial",T,te,ee]}],delay:[{delay:[we,te,ee]}],animate:[{animate:["none",j,te,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,te,ee]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:qn()}],"rotate-x":[{"rotate-x":qn()}],"rotate-y":[{"rotate-y":qn()}],"rotate-z":[{"rotate-z":qn()}],scale:[{scale:Hr()}],"scale-x":[{"scale-x":Hr()}],"scale-y":[{"scale-y":Hr()}],"scale-z":[{"scale-z":Hr()}],"scale-3d":["scale-3d"],skew:[{skew:rr()}],"skew-x":[{"skew-x":rr()}],"skew-y":[{"skew-y":rr()}],transform:[{transform:[te,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:or()}],"translate-x":[{"translate-x":or()}],"translate-y":[{"translate-y":or()}],"translate-z":[{"translate-z":or()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}
vendor: 6,955 bytes, line 215
215],"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",te,ee]}],"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":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mbs":[{"scroll-mbs":M()}],"scroll-mbe":[{"scroll-mbe":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pbs":[{"scroll-pbs":M()}],"scroll-pbe":[{"scroll-pbe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","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",te,ee]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[we,va,so,Ov]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},yT=YA(vT);function Ie(...e){return yT(Nx(e))}const Kx=x.forwardRef(({...e},t)=>h.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));Kx.displayName="ToastProvider";const Gx=x.forwardRef(({...e},t)=>h.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));Gx.displayName="ToastViewport";const xT=up("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Qx=x.forwardRef(({className:e,variant:t,...n},o)=>h.jsx("div",{ref:o,className:Ie(xT({variant:t}),e),...n}));Qx.displayName="Toast";const wT=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));wT.displayName="ToastAction";const Yx=x.forwardRef(({className:e,...t},n)=>h.jsx("button",{ref:n,className:Ie("absolute right-2 top-2 rounded-md p-1 text-foreground
215/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:h.jsx(dp,{className:"h-4 w-4"})}));Yx.displayName="ToastClose";const Xx=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("text-sm font-semibold",e),...t}));Xx.displayName="ToastTitle";const Jx=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("text-sm opacity-90",e),...t}));Jx.displayName="ToastDescription";function bT(){const{toasts:e}=Ek();return h.jsxs(Kx,{children:[e.map(function({id:t,title:n,description:o,action:a,...l}){return h.jsxs(Qx,{...l,children:[h.jsxs("div",{className:"grid gap-1",children:[n&&h.jsx(Xx,{children:n}),o&&h.jsx(Jx,{children:o})]}),a,h.jsx(Yx,{})]},t)}),h.jsx(Gx,{})]})}var vc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ho,Rr,ds,xx,ST=(xx=class extends vc{constructor(){super();Se(this,ho);Se(this,Rr);Se(this,ds);ge(this,ds,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){q(this,Rr)||this.setEventListener(q(this,ds))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,Rr))==null||t.call(this),ge(this,Rr,void 0))}setEventListener(t){var n;ge(this,ds,t),(n=q(this,Rr))==null||n.call(this),ge(this,Rr,t(o=>{typeof o=="boolean"?this.setFocused(o):this.onFocus()}))}setFocused(t){q(this,ho)!==t&&(ge(this,ho,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof q(this,ho)=="boolean"?q(this,ho):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ho=new WeakMap,Rr=new WeakMap,ds=new WeakMap,xx),Zx=new ST,ET={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Nr,ip,wx,CT=(wx=class{constructor(){Se(this,Nr,ET);Se(this,ip,!1)}setTimeoutProvider(e){ge(this,Nr,e)}setTimeout(e,t){return q(this,Nr).setTimeout(e,t)}clearTimeout(e){q(this,Nr).clearTimeout(e)}setInterval(e,t){return q(this,Nr).setInterval(e,t)}clearInterval(e){q(this,Nr).clearInterval(e)}},Nr=new WeakMap,ip=new WeakMap,wx),bf=new CT;function kT(e){setTimeout(e,0)}var AT=typeof window>"u"||"Deno"in globalThis;function xn(){}function TT(e,t){return typeof e=="function"?e(t):e}function PT(e){return typeof e=="number"&&e>=0&&e!==1/0}function RT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Sf(e,t){return typeof e=="function"?e(t):e}function NT(e,t){return typeof e=="function"?e(t):e}function Iv(e,t){const{type:n="all",exact:o,fetchStatus:a,predicate:l,queryKey:c,stale:d}=e;if(c){if(o){if(t.queryHash!==mp(c,t.options))return!1}else if(!Va(t.queryKey,c))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||a&&a!==t.state.fetchStatus||l&&!l(t))}function Mv(e,t){const{exact:n,status:o,predicate:a,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(n){if(La(t.options.mutationKey)!==La(l))return!1}else if(!Va(t.options.mutationKey,l))return!1}return!(o&&t.state.status!==o||a&&!a(t))}function mp(e,t){return((t==null?void 0:t.queryKeyHashFn)||La)(e)}function La(e){return JSON.stringify(e,(t,n)=>Ef(n)?Object.keys(n).sort().reduce((o,a)=>(o[a]=n[a],o),{}):n)}function Va(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Va(e[n],t[n])):!1}var jT=Object.prototype.hasOwnProperty;function ew(e,t,n=0){if(e===t)return e;if(n>500)return t;const o=Lv(e)&&Lv(t);if(!o&&!(Ef(e)&&Ef(t)))return t;const l=(o?e:Object.keys(e)).length,c=o?t:Object.keys(t),d=c.length,f=o?new Array(d):{};let m=0;for(let g=0;g<d;g++){const y=o?g:c[g],b=e[y],k=t[y];if(b===k){f[y]=b,(o?g<l:jT.call(e,y))&&m++;continue}if(b===null||k===null||typeof b!="object"||typeof k!="object"){f[y]=k;continue}const C=ew(b,k,n+1);f[y]=C,C===b&&m++}return l===d&&m===l?e:f}function Lv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ef(e){if(!Vv(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Vv(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Vv(e){return Object.prototype.toString.call(e)==="[object Object]"}function OT(e){return new Promise(t=>{bf.setTimeout(t,e)})}function _T(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ew(e,t):t}function DT(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function IT(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var hp=Symbol();function tw(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===hp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function MT(e,t,n){let o=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??(a=t()),o||(o=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}var nw=(()=>{let e=()=>AT;return{isServer(){return e()},setIsServer(t){e=t}}})();function LT(){let e,t;const n=new Promise((a,l)=>{e=a,t=l});n.status="pending",n.catch(()=>{});function o(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{o({status:"fulfilled",value:a}),e(a)},n.reject=a=>{o({status:"rejected",reason:a}),t(a)},n}var VT=kT;function zT(){let e=[],t=0,n=d=>{d()},o=d=>{d()},a=VT;const l=d=>{t?e.push(d):a(()=>{n(d)})},c=()=>{const d=e;e=[],d.length&&a(()=>{o(()=>{d.forEach(f=>{n(f)})})})};return{batch:d=>{let f;t++;try{f=d()}finally{t--,t||c()}return f},batchCalls:d=>(...f)=>{l(()=>{d(...f)})},schedule:l,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{o=d},setScheduler:d=>{a=d}}}var Nt=zT(),fs,jr,ps,bx,qT=(bx=class extends vc{constructor(){super();Se(this,fs,!0);Se(this,jr);Se(this,ps);ge(this,ps,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),o=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",o,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",o)}}})}onSubscribe(){q(this,jr)||this.setEventListener(q(this,ps))}onUnsubscribe(){var t;this.hasListeners()||((t=q(this,jr))==null||t.call(this),ge(this,jr,void 0))}setEventListener(t){var n;ge(this,ps,t),(n=q(this,jr))==null||n.call(this),ge(this,jr,t(this.setOnline.bind(this)))}setOnline(t){q(this,fs)!==t&&(ge(this,fs,t),this.listeners.forEac
215h(o=>{o(t)}))}isOnline(){return q(this,fs)}},fs=new WeakMap,jr=new WeakMap,ps=new WeakMap,bx),ec=new qT;function FT(e){return Math.min(1e3*2**e,3e4)}function rw(e){return(e??"online")==="online"?ec.isOnline():!0}var Cf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function ow(e){let t=!1,n=0,o;const a=LT(),l=()=>a.status!=="pending",c=S=>{var E;if(!l()){const T=new Cf(S);b(T),(E=e.onCancel)==null||E.call(e,T)}},d=()=>{t=!0},f=()=>{t=!1},m=()=>Zx.isFocused()&&(e.networkMode==="always"||ec.isOnline())&&e.canRun(),g=()=>rw(e.networkMode)&&e.canRun(),y=S=>{l()||(o==null||o(),a.resolve(S))},b=S=>{l()||(o==null||o(),a.reject(S))},k=()=>new Promise(S=>{var E;o=T=>{(l()||m())&&S(T)},(E=e.onPause)==null||E.call(e)}).then(()=>{var S;o=void 0,l()||(S=e.onContinue)==null||S.call(e)}),C=()=>{if(l())return;let S;const E=n===0?e.initialPromise:void 0;try{S=E??e.fn()}catch(T){S=Promise.reject(T)}Promise.resolve(S).then(y).catch(T=>{var U;if(l())return;const j=e.retry??(nw.isServer()?0:3),R=e.retryDelay??FT,N=typeof R=="function"?R(n,T):R,D=j===!0||typeof j=="number"&&n<j||typeof j=="function"&&j(n,T);if(t||!D){b(T);return}n++,(U=e.onFail)==null||U.call(e,n,T),OT(N).then(()=>m()?void 0:k()).then(()=>{t?b(T):C()})})};return{promise:a,status:()=>a.status,cancel:c,continue:()=>(o==null||o(),a),cancelRetry:d,continueRetry:f,canStart:g,start:()=>(g()?C():k().then(C),a)}}var go,Sx,sw=(Sx=class{constructor(){Se(this,go)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),PT(this.gcTime)&&ge(this,go,bf.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(nw.isServer()?1/0:300*1e3))}clearGcTimeout(){q(this,go)!==void 0&&(bf.clearTimeout(q(this,go)),ge(this,go,void 0))}},go=new WeakMap,Sx),vo,ms,an,yo,ft,Ya,xo,Bt,aw,Yn,Ex,UT=(Ex=class extends sw{constructor(t){super();Se(this,Bt);Se(this,vo);Se(this,ms);Se(this,an);Se(this,yo);Se(this,ft);Se(this,Ya);Se(this,xo);ge(this,xo,!1),ge(this,Ya,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,yo,t.client),ge(this,an,q(this,yo).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,vo,qv(this.options)),this.state=t.state??q(this,vo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=q(this,ft))==null?void 0:t.promise}setOptions(t){if(this.options={...q(this,Ya),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=qv(this.options);n.data!==void 0&&(this.setState(zv(n.data,n.dataUpdatedAt)),ge(this,vo,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&q(this,an).remove(this)}setData(t,n){const o=_T(this.state.data,t,this.options);return ht(this,Bt,Yn).call(this,{data:o,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),o}setState(t,n){ht(this,Bt,Yn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var o,a;const n=(o=q(this,ft))==null?void 0:o.promise;return(a=q(this,ft))==null||a.cancel(t),n?n.then(xn).catch(xn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return q(this,vo)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>NT(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===hp||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Sf(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!RT(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(o=>o.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=q(this,ft))==null||n.continue()}onOnline(){var n;const t=this.observers.find(o=>o.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=q(this,ft))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),q(this,an).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(q(this,ft)&&(q(this,xo)||ht(this,Bt,aw).call(this)?q(this,ft).cancel({revert:!0}):q(this,ft).cancelRetry()),this.scheduleGc()),q(this,an).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ht(this,Bt,Yn).call(this,{type:"invalidate"})}async fetch(t,n){var f,m,g,y,b,k,C,S,E,T,j,R;
215if(this.state.fetchStatus!=="idle"&&((f=q(this,ft))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(q(this,ft))return q(this,ft).continueRetry(),q(this,ft).promise}if(t&&this.setOptions(t),!this.options.queryFn){const N=this.observers.find(D=>D.options.queryFn);N&&this.setOptions(N.options)}const o=new AbortController,a=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(ge(this,xo,!0),o.signal)})},l=()=>{const N=tw(this.options,n),U=(()=>{const B={client:q(this,yo),queryKey:this.queryKey,meta:this.meta};return a(B),B})();return ge(this,xo,!1),this.options.persister?this.options.persister(N,U,this):N(U)},d=(()=>{const N={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:q(this,yo),state:this.state,fetchFn:l};return a(N),N})();(m=this.options.behavior)==null||m.onFetch(d,this),ge(this,ms,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=d.fetchOptions)==null?void 0:g.meta))&&ht(this,Bt,Yn).call(this,{type:"fetch",meta:(y=d.fetchOptions)==null?void 0:y.meta}),ge(this,ft,ow({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:N=>{N instanceof Cf&&N.revert&&this.setState({...q(this,ms),fetchStatus:"idle"}),o.abort()},onFail:(N,D)=>{ht(this,Bt,Yn).call(this,{type:"failed",failureCount:N,error:D})},onPause:()=>{ht(this,Bt,Yn).call(this,{type:"pause"})},onContinue:()=>{ht(this,Bt,Yn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const N=await q(this,ft).start();if(N===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(N),(k=(b=q(this,an).config).onSuccess)==null||k.call(b,N,this),(S=(C=q(this,an).config).onSettled)==null||S.call(C,N,this.state.error,this),N}catch(N){if(N instanceof Cf){if(N.silent)return q(this,ft).promise;if(N.revert){if(this.state.data===void 0)throw N;return this.state.data}}throw ht(this,Bt,Yn).call(this,{type:"error",error:N}),(T=(E=q(this,an).config).onError)==null||T.call(E,N,this),(R=(j=q(this,an).config).onSettled)==null||R.call(j,this.state.data,N,this),N}finally{this.scheduleGc()}}},vo=new WeakMap,ms=new WeakMap,an=new WeakMap,yo=new WeakMap,ft=new WeakMap,Ya=new WeakMap,xo=new WeakMap,Bt=new WeakSet,aw=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Yn=function(t){const n=o=>{switch(t.type){case"failed":return{...o,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...o,fetchStatus:"paused"};case"continue":return{...o,fetchStatus:"fetching"};case"fetch":return{...o,...BT(o.data,this.options),fetchMeta:t.meta??null};case"success":const a={...o,...zv(t.data,t.dataUpdatedAt),dataUpdateCount:o.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ge(this,ms,t.manual?a:void 0),a;case"error":const l=t.error;return{...o,error:l,errorUpdateCount:o.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:o.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...o,isInvalidated:!0};case"setState":return{...o,...t.state}}};this.state=n(this.state),Nt.batch(()=>{this.observers.forEach(o=>{o.onQueryUpdate()}),q(this,an).notify({query:this,type:"updated",action:t})})},Ex);function BT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:rw(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zv(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function qv(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}function Fv(e){return{onFetch:(t,n)=>{var g,y,b,k,C;const o=t.options,a=(b=(y=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:b.direction,l=((k=t.state.data)==null?void 0:k.pages)||[],c=((C=t.state.data)==null?void 0:C.pageParams)||[];let d={pages:[],pageParams:[]},f=0;const m=async()=>{let S=!1;const E=R=>{MT(R,()=>t.signal,()=>S=!0)},T=tw(t.options,t.fetchOptions),j=async(R,N,D)=>
vendor: 4,295 bytes, line 215
215{if(S)return Promise.reject();if(N==null&&R.pages.length)return Promise.resolve(R);const B=(()=>{const ue={client:t.client,queryKey:t.queryKey,pageParam:N,direction:D?"backward":"forward",meta:t.options.meta};return E(ue),ue})(),M=await T(B),{maxPages:Y}=t.options,ve=D?IT:DT;return{pages:ve(R.pages,M,Y),pageParams:ve(R.pageParams,N,Y)}};if(a&&l.length){const R=a==="backward",N=R?$T:Uv,D={pages:l,pageParams:c},U=N(o,D);d=await j(D,U,R)}else{const R=e??l.length;do{const N=f===0?c[0]??o.initialPageParam:Uv(o,d);if(f>0&&N==null)break;d=await j(d,N),f++}while(f<R)}return d};t.options.persister?t.fetchFn=()=>{var S,E;return(E=(S=t.options).persister)==null?void 0:E.call(S,m,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=m}}}function Uv(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function $T(e,{pages:t,pageParams:n}){var o;return t.length>0?(o=e.getPreviousPageParam)==null?void 0:o.call(e,t[0],t,n[0],n):void 0}var Xa,jn,Et,wo,On,Ar,Cx,HT=(Cx=class extends sw{constructor(t){super();Se(this,On);Se(this,Xa);Se(this,jn);Se(this,Et);Se(this,wo);ge(this,Xa,t.client),this.mutationId=t.mutationId,ge(this,Et,t.mutationCache),ge(this,jn,[]),this.state=t.state||WT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){q(this,jn).includes(t)||(q(this,jn).push(t),this.clearGcTimeout(),q(this,Et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,jn,q(this,jn).filter(n=>n!==t)),this.scheduleGc(),q(this,Et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){q(this,jn).length||(this.state.status==="pending"?this.scheduleGc():q(this,Et).remove(this))}continue(){var t;return((t=q(this,wo))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,d,f,m,g,y,b,k,C,S,E,T,j,R,N,D,U,B;const n=()=>{ht(this,On,Ar).call(this,{type:"continue"})},o={client:q(this,Xa),meta:this.options.meta,mutationKey:this.options.mutationKey};ge(this,wo,ow({fn:()=>this.options.mutationFn?this.options.mutationFn(t,o):Promise.reject(new Error("No mutationFn found")),onFail:(M,Y)=>{ht(this,On,Ar).call(this,{type:"failed",failureCount:M,error:Y})},onPause:()=>{ht(this,On,Ar).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>q(this,Et).canRun(this)}));const a=this.state.status==="pending",l=!q(this,wo).canStart();try{if(a)n();else{ht(this,On,Ar).call(this,{type:"pending",variables:t,isPaused:l}),q(this,Et).config.onMutate&&await q(this,Et).config.onMutate(t,this,o);const Y=await((d=(c=this.options).onMutate)==null?void 0:d.call(c,t,o));Y!==this.state.context&&ht(this,On,Ar).call(this,{type:"pending",context:Y,variables:t,isPaused:l})}const M=await q(this,wo).start();return await((m=(f=q(this,Et).config).onSuccess)==null?void 0:m.call(f,M,t,this.state.context,this,o)),await((y=(g=this.options).onSuccess)==null?void 0:y.call(g,M,t,this.state.context,o)),await((k=(b=q(this,Et).config).onSettled)==null?void 0:k.call(b,M,null,this.state.variables,this.state.context,this,o)),await((S=(C=this.options).onSettled)==null?void 0:S.call(C,M,null,t,this.state.context,o)),ht(this,On,Ar).call(this,{type:"success",data:M}),M}catch(M){try{await((T=(E=q(this,Et).config).onError)==null?void 0:T.call(E,M,t,this.state.context,this,o))}catch(Y){Promise.reject(Y)}try{await((R=(j=this.options).onError)==null?void 0:R.call(j,M,t,this.state.context,o))}catch(Y){Promise.reject(Y)}try{await((D=(N=q(this,Et).config).onSettled)==null?void 0:D.call(N,void 0,M,this.state.variables,this.state.context,this,o))}catch(Y){Promise.reject(Y)}try{await((B=(U=this.options).onSettled)==null?void 0:B.call(U,void 0,M,t,this.state.context,o))}catch(Y){Promise.reject(Y)}throw ht(this,On,Ar).call(this,{type:"error",error:M}),M}finally{q(this,Et).runNext(this)}}},Xa=new WeakMap,jn=new WeakMap,Et=new WeakMap,wo=new WeakMap,On=new WeakSet,Ar=function(t){const n=o=>{switch(t.type){case"failed":return{...o,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...o,isPaused:!0};case"continue":return{...o,isPaused:!1};
215case"pending":return{...o,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...o,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...o,data:void 0,error:t.error,failureCount:o.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Nt.batch(()=>{q(this,jn).forEach(o=>{o.onMutationUpdate(t)}),q(this,Et).notify({mutation:this,type:"updated",action:t})})},Cx);function WT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jn,wn,Ja,kx,KT=(kx=class extends vc{constructor(t={}){super();Se(this,Jn);Se(this,wn);Se(this,Ja);this.config=t,ge(this,Jn,new Set),ge(this,wn,new Map),ge(this,Ja,0)}build(t,n,o){const a=new HT({client:t,mutationCache:this,mutationId:++bl(this,Ja)._,options:t.defaultMutationOptions(n),state:o});return this.add(a),a}add(t){q(this,Jn).add(t);const n=kl(t);if(typeof n=="string"){const o=q(this,wn).get(n);o?o.push(t):q(this,wn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(q(this,Jn).delete(t)){const n=kl(t);if(typeof n=="string"){const o=q(this,wn).get(n);if(o)if(o.length>1){const a=o.indexOf(t);a!==-1&&o.splice(a,1)}else o[0]===t&&q(this,wn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=kl(t);if(typeof n=="string"){const o=q(this,wn).get(n),a=o==null?void 0:o.find(l=>l.state.status==="pending");return!a||a===t}else return!0}runNext(t){var o;const n=kl(t);if(typeof n=="string"){const a=(o=q(this,wn).get(n))==null?void 0:o.find(l=>
vendor: 7,464 bytes, lines 215-224
215l!==t&&l.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Nt.batch(()=>{q(this,Jn).forEach(t=>{this.notify({type:"removed",mutation:t})}),q(this,Jn).clear(),q(this,wn).clear()})}getAll(){return Array.from(q(this,Jn))}find(t){const n={exact:!0,...t};return this.getAll().find(o=>Mv(n,o))}findAll(t={}){return this.getAll().filter(n=>Mv(t,n))}notify(t){Nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Nt.batch(()=>Promise.all(t.map(n=>n.continue().catch(xn))))}},Jn=new WeakMap,wn=new WeakMap,Ja=new WeakMap,kx);function kl(e){var t;return(t=e.options.scope)==null?void 0:t.id}var _n,Ax,GT=(Ax=class extends vc{constructor(t={}){super();Se(this,_n);this.config=t,ge(this,_n,new Map)}build(t,n,o){const a=n.queryKey,l=n.queryHash??mp(a,n);let c=this.get(l);return c||(c=new UT({client:t,queryKey:a,queryHash:l,options:t.defaultQueryOptions(n),state:o,defaultOptions:t.getQueryDefaults(a)}),this.add(c)),c}add(t){q(this,_n).has(t.queryHash)||(q(this,_n).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=q(this,_n).get(t.queryHash);n&&(t.destroy(),n===t&&q(this,_n).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Nt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return q(this,_n).get(t)}getAll(){return[...q(this,_n).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(o=>Iv(n,o))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(o=>Iv(t,o)):n}notify(t){Nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Nt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Nt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},_n=new WeakMap,Ax),He,Or,_r,hs,gs,Dr,vs,ys,Tx,QT=(Tx=class{constructor(e={}){Se(this,He);Se(this,Or);Se(this,_r);Se(this,hs);Se(this,gs);Se(this,Dr);Se(this,vs);Se(this,ys);ge(this,He,e.queryCache||new GT),ge(this,Or,e.mutationCache||new KT),ge(this,_r,e.defaultOptions||{}),ge(this,hs,new Map),ge(this,gs,new Map),ge(this,Dr,0)}mount(){bl(this,Dr)._++,q(this,Dr)===1&&(ge(this,vs,Zx.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,He).onFocus())})),ge(this,ys,ec.subscribe(async e=>{e&&(await this.resumePausedMutations(),q(this,He).onOnline())})))}unmount(){var e,t;bl(this,Dr)._--,q(this,Dr)===0&&((e=q(this,vs))==null||e.call(this),ge(this,vs,void 0),(t=q(this,ys))==null||t.call(this),ge(this,ys,void 0))}isFetching(e){return q(this,He).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return q(this,Or).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=q(this,He).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=q(this,He).build(this,t),o=n.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Sf(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return q(this,He).findAll(e).map(({queryKey:t,state:n})=>{const o=n.data;return[t,o]})}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),a=q(this,He).get(o.queryHash),l=a==null?void 0:a.state.data,c=TT(t,l);if(c!==void 0)return q(this,He).build(this,o).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return Nt.batch(()=>q(this,He).findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=q(this,He).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=q(this,He);Nt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=q(this,He);return Nt.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},o=Nt.batch(()=>q(this,He).findAll(e).map(a=>a.cancel(n)));return Promise.all(o).then(xn).catch(xn)}invalidateQueries(e,t={}){return Nt.batch(()=>(q(this,He).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},o=Nt.batch(()=>q(this,He).findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let l=a.fetch(void 0,n);return n.throwOnError||(l=l.catch(xn)),a.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(o).then(xn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=q(this,He).build(this,t);return n.isStaleByTime(Sf(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(xn).catch(xn)}fetchInfiniteQuery(e){return e.behavior=Fv(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(xn).catch(xn)}ensureInfiniteQueryData(e){return e.behavior=Fv(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ec.isOnline()?q(this,Or).resumePausedMutations():Promise.resolve()}getQueryCache(){return q(this,He)}getMutationCache(){return q(this,Or)}getDefaultOptions(){return q(this,_r)}setDefaultOptions(e){ge(this,_r,e)}setQueryDefaults(e,t){q(this,hs).set(La(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...q(this,hs).values()],n={};return t.forEach(o=>{Va(e,o.queryKey)&&Object.assign(n,o.defaultOptions)}),n}setMutationDefaults(e,t){q(this,gs).set(La(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...q(this,gs).values()],n={};return t.forEach(o=>{Va(e,o.mutationKey)&&Object.assign(n,o.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...q(this,_r).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=mp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===hp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...q(this,_r).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){q(this,He).clear(),q(this,Or).clear()}},He=new WeakMap,Or=new WeakMap,_r=new WeakMap,hs=new WeakMap,gs=new WeakMap,Dr=new WeakMap,vs=new WeakMap,ys=new WeakMap,Tx),YT=x.createContext(void 0),XT=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(YT.Provider,{value:e,children:t}));const JT=new QT({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var iw=Px();const ZT=lp(iw);/** 216 * @remix-run/router v1.23.2 217 * 218 * Copyright (c) Remix Software Inc. 219 * 220 * This source code is licensed under the MIT license found in the 221 * LICENSE.md file in the root directory of this source tree. 222 * 223 * @license MIT 224 */function za(){return za=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},za.apply(this,arguments)}var Ir;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Ir||(Ir={}));const Bv="popstate";function eP(e){e===void 0&&(e={});function t(o,a){let{pathname:l,search:c,hash:d}=o.location;return kf("",{pathname:l,search:c,hash:d},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}
vendor: 11,685 bytes, lines 224-233
224function n(o,a){return typeof a=="string"?a:tc(a)}return nP(t,n,null,e)}function ot(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function gp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tP(){return Math.random().toString(36).substr(2,8)}function $v(e,t){return{usr:e.state,key:e.key,idx:t}}function kf(e,t,n,o){return n===void 0&&(n=null),za({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ks(t):t,{state:n,key:t&&t.key||o||tP()})}function tc(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function ks(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function nP(e,t,n,o){o===void 0&&(o={});let{window:a=document.defaultView,v5Compat:l=!1}=o,c=a.history,d=Ir.Pop,f=null,m=g();m==null&&(m=0,c.replaceState(za({},c.state,{idx:m}),""));function g(){return(c.state||{idx:null}).idx}function y(){d=Ir.Pop;let E=g(),T=E==null?null:E-m;m=E,f&&f({action:d,location:S.location,delta:T})}function b(E,T){d=Ir.Push;let j=kf(S.location,E,T);m=g()+1;let R=$v(j,m),N=S.createHref(j);try{c.pushState(R,"",N)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(N)}l&&f&&f({action:d,location:S.location,delta:1})}function k(E,T){d=Ir.Replace;let j=kf(S.location,E,T);m=g();let R=$v(j,m),N=S.createHref(j);c.replaceState(R,"",N),l&&f&&f({action:d,location:S.location,delta:0})}function C(E){let T=a.location.origin!=="null"?a.location.origin:a.location.href,j=typeof E=="string"?E:tc(E);return j=j.replace(/ $/,"%20"),ot(T,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,T)}let S={get action(){return d},get location(){return e(a,c)},listen(E){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(Bv,y),f=E,()=>{a.removeEventListener(Bv,y),f=null}},createHref(E){return t(a,E)},createURL:C,encodeLocation(E){let T=C(E);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:b,replace:k,go(E){return c.go(E)}};return S}var Hv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hv||(Hv={}));function rP(e,t,n){return n===void 0&&(n="/"),oP(e,t,n)}function oP(e,t,n,o){let a=typeof t=="string"?ks(t):t,l=vp(a.pathname||"/",n);if(l==null)return null;let c=lw(e);sP(c);let d=null;for(let f=0;d==null&&f<c.length;++f){let m=gP(l);d=mP(c[f],m)}return d}function lw(e,t,n,o){t===void 0&&(t=[]),n===void 0&&(n=[]),o===void 0&&(o="");let a=(l,c,d)=>{let f={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};f.relativePath.startsWith("/")&&(ot(f.relativePath.startsWith(o),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(o.length));let m=Mr([o,f.relativePath]),g=n.concat(f);l.children&&l.children.length>0&&(ot(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),lw(l.children,t,g,m)),!(l.path==null&&!l.index)&&t.push({path:m,score:fP(m,l.index),routesMeta:g})};return e.forEach((l,c)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))a(l,c);else for(let f of cw(l.path))a(l,c,f)}),t}function cw(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,a=n.endsWith("?"),l=n.replace(/\?$/,"");if(o.length===0)return a?[l,""]:[l];let c=cw(o.join("/")),d=[];return d.push(...c.map(f=>f===""?l:[l,f].join("/"))),a&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function sP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pP(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}const aP=/^:[\w-]+$/,iP=3,lP=2,cP=1,uP=10,dP=-2,Wv=e=>e==="*";function fP(e,t){let n=e.split("/"),o=n.length;return n.some(Wv)&&(o+=dP),t&&(o+=lP),n.filter(a=>!Wv(a)).reduce((a,l)=>a+(aP.test(l)?iP:l===""?cP:uP),o)}function pP(e,t){return e.length===t.length&&e.slice(0,-1).every((o,a)=>o===t[a])?e[e.length-1]-t[t.length-1]:0}function mP(e,t,n){let{routesMeta:o}=e,a={},l="/",c=[];for(let d=0;d<o.length;++d){let f=o[d],m=d===o.length-1,g=l==="/"?t:t.slice(l.length)||"/",y=uw({path:f.relativePath,caseSensitive:f.caseSensitive,end:m},g),b=f.route;if(!y)return null;Object.assign(a,y.params),c.push({params:a,pathname:Mr([l,y.pathname]),pathnameBase:bP(Mr([l,y.pathnameBase])),route:b}),y.pathnameBase!=="/"&&(l=Mr([l,y.pathnameBase]))}return c}function uw(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=hP(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let l=a[0],c=l.replace(/(.)\/+$/,"$1"),d=a.slice(1);return{params:o.reduce((m,g,y)=>{let{paramName:b,isOptional:k}=g;if(b==="*"){let S=d[y]||"";c=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const C=d[y];return k&&!C?m[b]=void 0:m[b]=(C||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:c,pattern:e}}function hP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),gp(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 o=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f)=>(o.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),o]}function gP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return gp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function vp(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}const vP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yP=e=>vP.test(e);function xP(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:a=""}=typeof e=="string"?ks(e):e,l;if(n)if(yP(n))l=n;else{if(n.includes("//")){let c=n;n=n.replace(/\/\/+/g,"/"),gp(!1,"Pathnames cannot have embedded double slashes - normalizing "+(c+" -> "+n))}n.startsWith("/")?l=Kv(n.substring(1),"/"):l=Kv(n,t)}else l=t;return{pathname:l,search:SP(o),hash:EP(a)}}function Kv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Fd(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. 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 wP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function dw(e,t){let n=wP(e);return t?n.map((o,a)=>a===n.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function fw(e,t,n,o){o===void 0&&(o=!1);let a;typeof e=="string"?a=ks(e):(a=za({},e),ot(!a.pathname||!a.pathname.includes("?"),Fd("?","pathname","search",a)),ot(!a.pathname||!a.pathname.includes("#"),Fd("#","pathname","hash",a)),ot(!a.search||!a.search.includes("#"),Fd("#","search","hash",a)));let l=e===""||a.pathname==="",c=l?"/":a.pathname,d;if(c==null)d=n;else{let y=t.length-1;if(!o&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),y-=1;a.pathname=b.join("/")}d=y>=0?t[y]:"/"}let f=xP(a,d),m=c&&c!=="/"&&c.endsWith("/"),g=(l||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(m||g)&&(f.pathname+="/"),f}const Mr=e=>e.join("/").replace(/\/\/+/g,"/"),bP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),SP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,EP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function CP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const pw=["post","put","patch","delete"];new Set(pw);const kP=["get",...pw];new Set(kP);/** 225 * React Router v6.30.3 226 * 227 * Copyright (c) Remix Software Inc. 228 * 229 * This source code is licensed under the MIT license found in the 230 * LICENSE.md file in the root directory of this source tree. 231 * 232 * @license MIT 233 */function qa(){return qa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},qa.apply(this,arguments)}const yp=x.createContext(null),AP=x.createContext(null),To=x.createContext(null),yc=x.createContext(null),Ur=x.createContext({outlet:null,matches:[],isDataRoute:!1}),mw=x.createContext(null);function TP(e,t){let{relative:n}=t===void 0?{}:t;Za()||ot(!1);let{basename:o,navigator:a}=x.useContext(To),{hash:l,pathname:c,search:d}=gw(e,{relative:n}),f=c;return o!=="/"&&(f=c==="/"?o:Mr([o,c])),a.createHref({pathname:f,search:d,hash:l})}function Za(){return x.useContext(yc)!=null}function Br(){return Za()||ot(!1),x.useContext(yc).location}function hw(e){x.useContext(To).static||x.useLayoutEffect(e)}function PP(){let{isDataRoute:e}=x.useContext(Ur);return e?UP():RP()}function RP(){Za()||ot(!1);let e=x.useContext(yp),{basename:t,future:n,navigator:o}=x.useContext(To),{matches:a}=x.useContext(Ur),{pathname:l}=Br(),c=JSON.stringify(dw(a,n.v7_relativeSplatPath)),d=x.useRef(!1);return hw(()=>{d.current=!0}),x.useCallback(function(m,g){if(g===void 0&&(g={}),!d.current)return;if(typeof m=="number"){o.go(m);return}let y=fw(m,JSON.parse(c),l,g.relative==="path");e==null&&t!=="/"&&(y.pathname=y.pathname==="/"?t:Mr([t,y.pathname])),(g.replace?o.replace:o.push)(y,g.state,g)},[t,o,c,l,e])}function NP(){let{matches:e}=x.useContext(Ur),t=e[e.length-1];return t?t.params:{}}function gw(e,t){let{relative:n}=t===void 0?{}:t,{future:o}=x.useContext(To),{matches:a}=x.useContext(Ur),{pathname:l}=Br(),c=JSON.stringify(dw(a,o.v7_relativeSplatPath));return x.useMemo(()=>fw(e,JSON.parse(c),l,n==="path"),[e,c,l,n])}function jP(e,t){return OP(e,t)}function OP(e,t,n,o){Za()||ot(!1);let{navigator:a}=x.useContext(To),{matches:l}=x.useContext(Ur),c=l[l.length-1],d=c?c.params:{};c&&c.pathname;let f=c?c.pathnameBase:"/";c&&c.route;let m=Br(),g;if(t){var y;let E=typeof t=="string"?ks(t):t;f==="/"||(y=E.pathname)!=null&&y.startsWith(f)||ot(!1),g=E}else g=m;let b=g.pathname||"/",k=b;if(f!=="/"){let E=f.replace(/^\//,"").split("/");k="/"+b.replace(/^\//,"").split("/").slice(E.length).join("/")}let C=rP(e,{pathname:k}),S=LP(C&&C.map(E=>Object.assign({},E,{params:Object.assign({},d,E.params),pathname:Mr([f,a.encodeLocation?a.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?f:Mr([f,a.encodeLocation?a.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),l,n,o);return t&&S?x.createElement(yc.Provider,{value:{location:qa({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Ir.Pop}},S):S}function _P(){let e=FP(),t=CP(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application
233Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:a},n):null,null)}const DP=x.createElement(_P,null);class IP extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Ur.Provider,{value:this.props.routeContext},x.createElement(mw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function MP(e){let{routeContext:t,match:n,children:o}=e,a=x.useContext(yp);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Ur.Provider,{value:t},o)}function LP(e,t,n,o){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),o===void 0&&(o=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=o)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let c=e,d=(a=n)==null?void 0:a.errors;if(d!=null){let g=c.findIndex(y=>y.route.id&&(d==null?void 0:d[y.route.id])!==void 0);g>=0||ot(!1),c=c.slice(0,Math.min(c.length,g+1))}let f=!1,m=-1;if(n&&o&&o.v7_partialHydration)for(let g=0;g<c.length;g++){let y=c[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(m=g),y.route.id){let{loaderData:b,errors:k}=n,C=y.route.loader&&b[y.route.id]===void 0&&(!k||k[y.route.id]===void 0);if(y.route.lazy||C){f=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}return c.reduceRight((g,y,b)=>{let k,C=!1,S=null,E=null;n&&(k=d&&y.route.id?d[y.route.id]:void 0,S=y.route.errorElement||DP,f&&(m<0&&b===0?(BP("route-fallback"),C=!0,E=null):m===b&&(C=!0,E=y.route.hydrateFallbackElement||null)));let T=t.concat(c.slice(0,b+1)),j=()=>{let R;return k?R=S:C?R=E:y.route.Component?R=x.createElement(y.route.Component,null):y.route.element?R=y.route.element:R=g,x.createElement(MP,{match:y,routeContext:{outlet:g,matches:T,isDataRoute:n!=null},children:R})};return n&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?x.createElement(IP,{location:n.location,revalidation:n.revalidation,component:S,error:k,children:j(),routeContext:{outlet:null,matches:T,isDataRoute:!0}}):j()},null)}var vw=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(vw||{}),yw=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(yw||{});function VP(e){let t=x.useContext(yp);return t||ot(!1),t}function zP(e){let t=x.useContext(AP);return t||ot(!1),t}function qP(e){let t=x.useContext(Ur);return t||ot(!1),t}function xw(e){let t=qP(),n=t.matches[t.matches.length-1];return n.route.id||ot(!1),n.route.id}function FP(){var e;let t=x.useContext(mw),n=zP(),o=xw();return t!==void 0?t:(e=n.errors)==null?void 0:e[o]}function UP(){let{router:e}=VP(vw.UseNavigateStable),t=xw(yw.UseNavigateStable),n=x.useRef(!1);return hw(()=>{n.current=!0}),x.useCallback(function(a,l){l===void 0&&(l={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,qa({fromRouteId:t},l)))},[e,t])}const Gv={};function BP(e,t,n){Gv[e]||(Gv[e]=!0)}function $P(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function vn(e){ot(!1)}function HP(e){let{basename:t="/",children:n=null,location:o,navigationType:a=Ir.Pop,navigator:l,static:c=!1,future:d}=e;Za()&&ot(!1);let f=t.replace(/^\/*/,"/"),m=x.useMemo(()=>({basename:f,navigator:l,static:c,future:qa({v7_relativeSplatPath:!1},d)}),[f,d,l,c]);
233typeof o=="string"&&(o=ks(o));let{pathname:g="/",search:y="",hash:b="",state:k=null,key:C="default"}=o,S=x.useMemo(()=>{let E=vp(g,f);return E==null?null:{location:{pathname:E,search:y,hash:b,state:k,key:C},navigationType:a}},[f,g,y,b,k,C,a]);return S==null?null:x.createElement(To.Provider,{value:m},x.createElement(yc.Provider,{children:n,value:S}))}function WP(e){let{children:t,location:n}=e;return jP(Af(t),n)}new Promise(()=>{});function Af(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(o,a)=>{if(!x.isValidElement(o))return;let l=[...t,a];if(o.type===x.Fragment){n.push.apply(n,Af(o.props.children,l));return}o.type!==vn&&ot(!1),!o.props.index||!o.props.children||ot(!1);let c={id:o.props.id||l.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=Af(o.props.children,l)),n.push(c)}),n}/** 234 * React Router DOM v6.30.3 235 * 236 * Copyright (c) Remix Software Inc. 237 * 238 * This source code is licensed under the MIT license found in the 239 * LICENSE.md file in the root directory of this source tree. 240 * 241 * @license MIT 242 */function Tf(){return Tf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Tf.apply(this,arguments)}function KP(e,t){if(e==null)return{};var n={},o=Object.keys(e),a,l;for(l=0;l<o.length;l++)a=o[l],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function GP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function QP(e,t){return e.button===0&&(!t||t==="_self")&&!GP(e)}const YP=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],XP="6";try{window.__reactRouterVersion=XP}catch{}const JP="startTransition",Qv=gc[JP];function ZP(e){let{basename:t,children:n,future:o,window:a}=e,l=x.useRef();l.current==null&&(l.current=eP({window:a,v5Compat:!0}));let c=l.current,[d,f]=x.useState({action:c.action,location:c.location}),{v7_startTransition:m}=o||{},g=x.useCallback(y=>{m&&Qv?Qv(()=>f(y)):f(y)},[f,m]);return x.useLayoutEffect(()=>c.listen(g),[c,g]),x.useEffect(()=>$P(o),[o]),x.createElement(HP,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:c,future:o})}const eR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$t=x.forwardRef(function(t,n){let{onClick:o,relative:a,reloadDocument:l,replace:c,state:d,target:f,to:m,preventScrollReset:g,viewTransition:y}=t,b=KP(t,YP),{basename:k}=x.useContext(To),C,S=!1;if(typeof m=="string"&&tR.test(m)&&(C=m,eR))try{let R=new URL(window.location.href),N=m.startsWith("//")?new URL(R.protocol+m):new URL(m),D=vp(N.pathname,k);N.origin===R.origin&&D!=null?m=D+N.search+N.hash:S=!0}catch{}let E=TP(m,{relative:a}),T=nR(m,{replace:c,state:d,target:f,preventScrollReset:g,relative:a,viewTransition:y});function j(R){o&&o(R),R.defaultPrevented||T(R)}return x.createElement("a",Tf({},b,{href:C||E,onClick:S||l?o:j,ref:n,target:f}))});var Yv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yv||(Yv={}));var Xv;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xv||(Xv={}));function nR(e,t){let{target:n,replace:o,state:a,preventScrollReset:l,relative:c,viewTransition:d}=t===void 0?{}
vendor: 33,122 bytes, lines 242-250
242:t,f=PP(),m=Br(),g=gw(e,{relative:c});return x.useCallback(y=>{if(QP(y,n)){y.preventDefault();let b=o!==void 0?o:tc(m)===tc(g);f(e,{replace:b,state:a,preventScrollReset:l,relative:c,viewTransition:d})}},[m,f,g,o,a,n,e,l,c,d])}const xp=x.createContext({});function xc(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const wc=x.createContext(null),Fa=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class rR extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function oR({children:e,isPresent:t}){const n=x.useId(),o=x.useRef(null),a=x.useRef({width:0,height:0,top:0,left:0}),{nonce:l}=x.useContext(Fa);return x.useInsertionEffect(()=>{const{width:c,height:d,top:f,left:m}=a.current;if(t||!o.current||!c||!d)return;o.current.dataset.motionPopId=n;const g=document.createElement("style");return l&&(g.nonce=l),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(` 243 [data-motion-pop-id="${n}"] { 244 position: absolute !important; 245 width: ${c}px !important; 246 height: ${d}px !important; 247 top: ${f}px !important; 248 left: ${m}px !important; 249 } 250 `),()=>{document.head.removeChild(g)}},[t]),h.jsx(rR,{isPresent:t,childRef:o,sizeRef:a,children:x.cloneElement(e,{ref:o})})}const sR=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:l,mode:c})=>{const d=xc(aR),f=x.useId(),m=x.useCallback(y=>{d.set(y,!0);for(const b of d.values())if(!b)return;o&&o()},[d,o]),g=x.useMemo(()=>({id:f,initial:t,isPresent:n,custom:a,onExitComplete:m,register:y=>(d.set(y,!1),()=>d.delete(y))}),l?[Math.random(),m]:[n,m]);return x.useMemo(()=>{d.forEach((y,b)=>d.set(b,!1))},[n]),x.useEffect(()=>{!n&&!d.size&&o&&o()},[n]),c==="popLayout"&&(e=h.jsx(oR,{isPresent:n,children:e})),h.jsx(wc.Provider,{value:g,children:e})};function aR(){return new Map}function ww(e=!0){const t=x.useContext(wc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:a}=t,l=x.useId();x.useEffect(()=>{e&&a(l)},[e]);const c=x.useCallback(()=>e&&o&&o(l),[l,o,e]);return!n&&o?[!1,c]:[!0]}const Al=e=>e.key||"";function Jv(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const wp=typeof window<"u",bw=wp?x.useLayoutEffect:x.useEffect,bp=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:a=!0,mode:l="sync",propagate:c=!1})=>{const[d,f]=ww(c),m=x.useMemo(()=>Jv(e),[e]),g=c&&!d?[]:m.map(Al),y=x.useRef(!0),b=x.useRef(m),k=xc(()=>new Map),[C,S]=x.useState(m),[E,T]=x.useState(m);bw(()=>{y.current=!1,b.current=m;for(let N=0;N<E.length;N++){const D=Al(E[N]);g.includes(D)?k.delete(D):k.get(D)!==!0&&k.set(D,!1)}},[E,g.length,g.join("-")]);const j=[];if(m!==C){let N=[...m];for(let D=0;D<E.length;D++){const U=E[D],B=Al(U);g.includes(B)||(N.splice(D,0,U),j.push(U))}l==="wait"&&j.length&&(N=j),T(Jv(N)),S(m);return}const{forceRender:R}=x.useContext(xp);return h.jsx(h.Fragment,{children:E.map(N=>{const D=Al(N),U=c&&!d?!1:m===E||g.includes(D),B=()=>{if(k.has(D))k.set(D,!0);else return;let M=!0;k.forEach(Y=>{Y||(M=!1)}),M&&(R==null||R(),T(b.current),c&&(f==null||f()),o&&o())};return h.jsx(sR,{isPresent:U,initial:!y.current||n?void 0:!1,custom:U?void 0:t,presenceAffectsLayout:a,mode:l,onExitComplete:U?void 0:B,children:N},D)})})},Ht=e=>e;let Sw=Ht;function Sp(e){let t;return()=>(t===void 0&&(t=e()),t)}const ws=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o},er=e=>e*1e3,tr=e=>e/1e3,iR={useManualTiming:!1};function lR(e){let t=new Set,n=new Set,o=!1,a=!1;const l=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function d(m){l.has(m)&&(f.schedule(m),e()),m(c)}const f={schedule:(m,g=!1,y=!1)=>{const k=y&&o?t:n;return g&&l.add(m),k.has(m)||k.add(m),m},cancel:m=>{n.delete(m),l.delete(m)},process:m=>{if(c=m,o){a=!0;return}o=!0,[t,n]=[n,t],t.forEach(d),t.clear(),o=!1,a&&(a=!1,f.process(m))}};return f}const Tl=["read","resolveKeyframes","update","preRender","render","postRender"],cR=40;function Ew(e,t){let n=!1,o=!0;const a={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=Tl.reduce((T,j)=>(T[j]=lR(l),T),{}),{read:d,resolveKeyframes:f,update:m,preRender:g,render:y,postRender:b}=c,k=()=>{const T=performance.now();n=!1,a.delta=o?1e3/60:Math.max(Math.min(T-a.timestamp,cR),1),a.timestamp=T,a.isProcessing=!0,d.process(a),f.process(a),m.process(a),g.process(a),y.process(a),b.process(a),a.isProcessing=!1,n&&t&&(o=!1,e(k))},C=()=>{n=!0,o=!0,a.isProcessing||e(k)};return{schedule:Tl.reduce((T,j)=>{const R=c[j];return T[j]=(N,D=!1,U=!1)=>(n||C(),R.schedule(N,D,U)),T},{}),cancel:T=>{for(let j=0;j<Tl.length;j++)c[Tl[j]].cancel(T)},state:a,steps:c}}const{schedule:Ve,cancel:Vr,state:vt,steps:Ud}=Ew(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ht,!0),Cw=x.createContext({strict:!1}),Zv={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},bs={};for(const e in Zv)bs[e]={isEnabled:t=>Zv[e].some(n=>!!t[n])};function uR(e){for(const t in e)bs[t]={...bs[t],...e[t]}}const dR=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dR.has(e)}let kw=e=>!nc(e);function Aw(e){e&&(kw=t=>t.startsWith("on")?!nc(t):e(t))}try{Aw(require("@emotion/is-prop-valid").default)}catch{}function fR(e,t,n){const o={};for(const a in e)a==="values"&&typeof e.values=="object"||(kw(a)||n===!0&&nc(a)||!t&&!nc(a)||e.draggable&&a.startsWith("onDrag"))&&(o[a]=e[a]);return o}function pR({children:e,isValidProp:t,...n}){t&&Aw(t),n={...x.useContext(Fa),...n},n.isStatic=xc(()=>n.isStatic);const o=x.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return h.jsx(Fa.Provider,{value:o,children:e})}function mR(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...o)=>e(...o);return new Proxy(n,{get:(o,a)=>a==="create"?e:(t.has(a)||t.set(a,e(a)),t.get(a))})}const bc=x.createContext({});function Ua(e){return typeof e=="string"||Array.isArray(e)}function Sc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Ep=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Cp=["initial",...Ep];function Ec(e){return Sc(e.animate)||Cp.some(t=>Ua(e[t]))}function Tw(e){return!!(Ec(e)||e.variants)}function hR(e,t){if(Ec(e)){const{initial:n,animate:o}=e;return{initial:n===!1||Ua(n)?n:void 0,animate:Ua(o)?o:void 0}}return e.inherit!==!1?t:{}}function gR(e){const{initial:t,animate:n}=hR(e,x.useContext(bc));return x.useMemo(()=>({initial:t,animate:n}),[ey(t),ey(n)])}function ey(e){return Array.isArray(e)?e.join(" "):e}const vR=Symbol.for("motionComponentSymbol");function ss(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function yR(e,t,n){return x.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):ss(n)&&(n.current=o))},[t])}const kp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),xR="framerAppearId",Pw="data-"+kp(xR),{schedule:Ap}=Ew(queueMicrotask,!1),Rw=x.createContext({});function wR(e,t,n,o,a){var l,c;const{visualElement:d}=x.useContext(bc),f=x.useContext(Cw),m=x.useContext(wc),g=x.useContext(Fa).reducedMotion,y=x.useRef(null);o=o||f.renderer,!y.current&&o&&(y.current=o(e,{visualState:t,parent:d,props:n,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g}));const b=y.current,k=x.useContext(Rw);b&&!b.projection&&a&&(b.type==="html"||b.type==="svg")&&bR(y.current,n,a,k);const C=x.useRef(!1);x.useInsertionEffect(()=>{b&&C.current&&b.update(n,m)});const S=n[Pw],E=x.useRef(!!S&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,S))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,S)));return bw(()=>{b&&(C.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),Ap.render(b.render),E.current&&b.animationState&&b.animationState.animateChanges())}),x.useEffect(()=>{b&&(!E.current&&b.animationState&&b.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var T;(T=window.MotionHandoffMarkAsComplete)===null||T===void 0||T.call(window,S)}),E.current=!1))}),b}function bR(e,t,n,o){const{layoutId:a,layout:l,drag:c,dragConstraints:d,layoutScroll:f,layoutRoot:m}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Nw(e.parent)),e.projection.setOptions({layoutId:a,layout:l,alwaysMeasureLayout:!!c||d&&ss(d),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:o,layoutScroll:f,layoutRoot:m})}function Nw(e){if(e)return e.options.allowProjection!==!1?e.projection:Nw(e.parent)}function SR({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){var l,c;e&&uR(e);function d(m,g){let y;const b={...x.useContext(Fa),...m,layoutId:ER(m)},{isStatic:k}=b,C=gR(m),S=o(m,k);if(!k&&wp){CR();const E=kR(b);y=E.MeasureLayout,C.visualElement=wR(a,S,b,t,E.ProjectionNode)}return h.jsxs(bc.Provider,{value:C,children:[y&&C.visualElement?h.jsx(y,{visualElement:C.visualElement,...b}):null,n(a,m,yR(S,C.visualElement,g),S,k,C.visualElement)]})}d.displayName=`motion.${typeof a=="string"?a:`create(${(c=(l=a.displayName)!==null&&l!==void 0?l:a.name)!==null&&c!==void 0?c:""})`}`;const f=x.forwardRef(d);return f[vR]=a,f}function ER({layoutId:e}){const t=x.useContext(xp).id;return t&&e!==void 0?t+"-"+e:e}function CR(e,t){x.useContext(Cw).strict}function kR(e){const{drag:t,layout:n}=bs;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const AR=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Tp(e){return typeof e!="string"||e.includes("-")?!1:!!(AR.indexOf(e)>-1||/[A-Z]/u.test(e))}function ty(e){const t=[{},{}];return e==null||e.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Pp(e,t,n,o){if(typeof t=="function"){const[a,l]=ty(o);t=t(n!==void 0?n:e.custom,a,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[a,l]=ty(o);t=t(n!==void 0?n:e.custom,a,l)}return t}const Pf=e=>Array.isArray(e),TR=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),PR=e=>Pf(e)?e[e.length-1]||0:e,At=e=>!!(e&&e.getVelocity);function Fl(e){const t=At(e)?e.get():e;return TR(t)?t.toValue():t}function RR({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},o,a,l){const c={latestValues:NR(o,a,l,e),renderState:t()};return n&&(c.onMount=d=>n({props:o,current:d,...c}),c.onUpdate=d=>n(d)),c}const jw=e=>(t,n)=>{const o=x.useContext(bc),a=x.useContext(wc),l=()=>RR(e,t,o,a);return n?l():xc(l)};function NR(e,t,n,o){const a={},l=o(e,{});for(const b in l)a[b]=Fl(l[b]);let{initial:c,animate:d}=e;const f=Ec(e),m=Tw(e);t&&m&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let g=n?n.initial===!1:!1;g=g||c===!1;const y=g?d:c;if(y&&typeof y!="boolean"&&!Sc(y)){const b=Array.isArray(y)?y:[y];for(let k=0;k<b.length;k++){const C=Pp(e,b[k]);if(C){const{transitionEnd:S,transition:E,...T}=C;for(const j in T){let R=T[j];if(Array.isArray(R)){const N=g?R.length-1:0;R=R[N]}R!==null&&(a[j]=R)}for(const j in S)a[j]=S[j]}}}return a}const As=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Po=new Set(As),Ow=e=>t=>typeof t=="string"&&t.startsWith(e),_w=Ow("--"),jR=Ow("var(--"),Rp=e=>jR(e)?OR.test(e.split("/*")[0].trim()):!1,OR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Dw=(e,t)=>t&&typeof e=="number"?t.transform(e):e,nr=(e,t,n)=>n>t?t:n<e?e:n,Ts={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ba={...Ts,transform:e=>nr(0,1,e)},Pl={...Ts,default:1},ei=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tr=ei("deg"),In=ei("%"),le=ei("px"),_R=ei("vh"),DR=ei("vw"),ny={...In,parse:e=>In.parse(e)/100,transform:e=>In.transform(e*100)},IR={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,radius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,backgroundPositionX:le,backgroundPositionY:le},MR={rotate:Tr,rotateX:Tr,rotateY:Tr,rotateZ:Tr,scale:Pl,scaleX:Pl,scaleY:Pl,scaleZ:Pl,skew:Tr,skewX:Tr,skewY:Tr,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:Ba,originX:ny,originY:ny,originZ:le},ry={...Ts,transform:Math.round},Np={...IR,...MR,zIndex:ry,size:le,fillOpacity:Ba,strokeOpacity:Ba,numOctaves:ry},LR={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VR=As.length;function zR(e,t,n){let o="",a=!0;for(let l=0;l<VR;l++){const c=As[l],d=e[c];if(d===void 0)continue;let f=!0;if(typeof d=="number"?f=d===(c.startsWith("scale")?1:0):f=parseFloat(d)===0,!f||n){const m=Dw(d,Np[c]);if(!f){a=!1;const g=LR[c]||c;o+=`${g}(${m}) `}n&&(t[c]=m)}}return o=o.trim(),n?o=n(t,a?"":o):a&&(o="none"),o}function jp(e,t,n){const{style:o,vars:a,transformOrigin:l}=e;let c=!1,d=!1;for(const f in t){const m=t[f];if(Po.has(f)){c=!0;continue}else if(_w(f)){a[f]=m;continue}else{const g=Dw(m,Np[f]);f.startsWith("origin")?(d=!0,l[f]=g):o[f]=g}}if(t.transform||(c||n?o.transform=zR(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:f="50%",originY:m="50%",originZ:g=0}=l;o.transformOrigin=`${f} ${m} ${g}`}}const qR={offset:"stroke-dashoffset",array:"stroke-dasharray"},FR={offset:"strokeDashoffset",array:"strokeDasharray"};function UR(e,t,n=1,o=0,a=!0){e.pathLength=1;const l=a?qR:FR;e[l.offset]=le.transform(-o);const c=le.transform(t),d=le.transform(n);e[l.array]=`${c} ${d}`}function oy(e,t,n){return typeof e=="string"?e:le.transform(t+n*e)}function BR(e,t,n){const o=oy(t,e.x,e.width),a=oy(n,e.y,e.height);return`${o} ${a}`}function Op(e,{attrX:t,attrY:n,attrScale:o,originX:a,originY:l,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...m},g,y){if(jp(e,m,y),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:b,style:k,dimensions:C}=e;b.transform&&(C&&(k.transform=b.transform),delete b.transform),C&&(a!==void 0||l!==void 0||k.transform)&&(k.transformOrigin=BR(C,a!==void 0?a:.5,l!==void 0?l:.5)),t!==void 0&&(b.x=t),n!==void 0&&(b.y=n),o!==void 0&&(b.scale=o),c!==void 0&&UR(b,c,d,f,!1)}const _p=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Iw=()=>({..._p(),attrs:{}}),Dp=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Mw(e,{style:t,vars:n},o,a){Object.assign(e.style,t,a&&a.getProjectionStyles(o));for(const l in n)e.style.setProperty(l,n[l])}const Lw=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Vw(e,t,n,o){Mw(e,t,void 0,o);for(const a in t.attrs)e.setAttribute(Lw.has(a)?a:kp(a),t.attrs[a])}const rc={};function $R(e){Object.assign(rc,e)}function zw(e,{layout:t,layoutId:n}){return Po.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!rc[e]||e==="opacity")}function Ip(e,t,n){var o;const{style:a}=e,l={};for(const c in a)(At(a[c])||t.style&&At(t.style[c])||zw(c,e)||((o=n==null?void 0:n.getValue(c))===null||o===void 0?void 0:o.liveStyle)!==void 0)&&(l[c]=a[c]);return l}function qw(e,t,n){const o=Ip(e,t,n);for(const a in e)if(At(e[a])||At(t[a])){const l=As.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;o[l]=e[a]}return o}function HR(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const sy=["x","y","width","height","cx","cy","r"],WR={useVisualState:jw({scrapeMotionValuesFromProps:qw,createRenderState:Iw,onUpdate:({props:e,prevProps:t,current:n,renderState:o,latestValues:a})=>{if(!n)return;let l=!!e.drag;if(!l){for(const d in a)if(Po.has(d)){l=!0;break}}if(!l)return;let c=!t;if(t)for(let d=0;d<sy.length;d++){const f=sy[d];e[f]!==t[f]&&(c=!0)}c&&Ve.read(()=>{HR(n,o),Ve.render(()=>{Op(o,a,Dp(n.tagName),e.transformTemplate),Vw(n,o)})})}})},KR={useVisualState:jw({scrapeMotionValuesFromProps:Ip,createRenderState:_p})};function Fw(e,t,n){for(const o in t)!At(t[o])&&!zw(o,n)&&(e[o]=t[o])}function GR({transformTemplate:e},t){return x.useMemo(()=>{const n=_p();return jp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function QR(e,t){const n=e.style||{},o={};return Fw(o,n,e),Object.assign(o,GR(e,t)),o}function YR(e,t){const n={},o=QR(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}function XR(e,t,n,o){const a=x.useMemo(()=>{const l=Iw();return Op(l,t,Dp(o),e.transformTemplate),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};Fw(l,e.style,e),a.style={...l,...a.style}}return a}function JR(e=!1){return(n,o,a,{latestValues:l},c)=>{const f=(Tp(n)?XR:YR)(o,l,c,n),m=fR(o,typeof n=="string",e),g=n!==x.Fragment?{...m,...f,ref:a}:{},{children:y}=o,b=x.useMemo(()=>At(y)?y.get():y,[y]);return x.createElement(n,{...g,children:b})}}function ZR(e,t){return function(o,{forwardMotionProps:a}={forwardMotionProps:!1}){const c={...Tp(o)?WR:KR,preloadedFeatures:e,useRender:JR(a),createVisualElement:t,Component:o};return SR(c)}}function Uw(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function Cc(e,t,n){const o=e.getProps();return Pp(o,t,n!==void 0?n:o.custom,e)}const eN=Sp(()=>window.ScrollTimeline!==void 0);class tN{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=n}attachTimeline(t,n){const o=this.animations.map(a=>{if(eN()&&a.attachTimeline)return a.attachTimeline(t);if(typeof n=="function")return n(a)});return()=>{o.forEach((a,l)=>{a&&a(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class nN extends tN{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Mp(e,t){return e?e[t]||e.default||e:void 0}const Rf=2e4;function Bw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<Rf;)t+=n,o=e.next(t);return t>=Rf?1/0:t}function Lp(e){return typeof e=="function"}function ay(e,t){e.timeline=t,e.onfinish=null}const Vp=e=>Array.isArray(e)&&typeof e[0]=="number",rN={linearEasing:void 0};function oN(e,t){const n=Sp(e);return()=>{var o;return(o=rN[t])!==null&&o!==void 0?o:n()}}const oc=oN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$w=(e,t,n=10)=>{let o="";const a=Math.max(Math.round(t/n),2);for(let l=0;l<a;l++)o+=e(ws(0,a-1,l))+", ";return`linear(${o.substring(0,o.length-2)})`};function Hw(e){return!!(typeof e=="function"&&oc()||!e||typeof e=="string"&&(e in Nf||oc())||Vp(e)||Array.isArray(e)&&e.every(Hw))}const Ea=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,Nf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ea([0,.65,.55,1]),circOut:Ea([.55,0,1,.45]),backIn:Ea([.31,.01,.66,-.59]),backOut:Ea([.33,1.53,.69,.99])};function Ww(e,t){if(e)return typeof e=="function"&&oc()?$w(e,t):Vp(e)?Ea(e):Array.isArray(e)?e.map(n=>Ww(n,t)||Nf.easeOut):Nf[e]}const yn={x:!1,y:!1};function Kw(){return yn.x||yn.y}function sN(e,t,n){var o;if(e instanceof Element)return[e];if(typeof e=="string"){let a=document;const l=(o=void 0)!==null&&o!==void 0?o:a.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}function Gw(e,t){const n=sN(e),o=new AbortController,a={passive:!0,...t,signal:o.signal};return[n,a,()=>o.abort()]}function iy(e){return t=>{t.pointerType==="touch"||Kw()||e(t)}}function aN(e,t,n={}){const[o,a,l]=Gw(e,n),c=iy(d=>{const{target:f}=d,m=t(d);if(typeof m!="function"||!f)return;const g=iy(y=>{m(y),f.removeEventListener("pointerleave",g)});f.addEventListener("pointerleave",g,a)});return o.forEach(d=>{d.addEventListener("pointerenter",c,a)}),l}const Qw=(e,t)=>t?e===t?!0:Qw(e,t.parentElement):!1,zp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,iN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function lN(e){return iN.has(e.tagName)||e.tabIndex!==-1}const Ca=new WeakSet;function ly(e){return t=>{t.key==="Enter"&&e(t)}}function Bd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cN=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=ly(()=>{if(Ca.has(n))return;Bd(n,"down");const a=ly(()=>{Bd(n,"up")}),l=()=>Bd(n,"cancel");n.addEventListener("keyup",a,t),n.addEventListener("blur",l,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function cy(e){return zp(e)&&!Kw()}function uN(e,t,n={}){const[o,a,l]=Gw(e,n),c=d=>{const f=d.currentTarget;if(!cy(d)||Ca.has(f))return;Ca.add(f);const m=t(d),g=(k,C)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",b),!(!cy(k)||!Ca.has(f))&&(Ca.delete(f),typeof m=="function"&&m(k,{success:C}))},y=k=>{g(k,n.useGlobalTarget||Qw(f,k.target))},b=k=>{g(k,!1)};window.addEventListener("pointerup",y,a),window.addEventListener("pointercancel",b,a)};return o.forEach(d=>{!lN(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(n.useGlobalTarget?window:d).addEventListener("pointerdown",c,a),d.addEventListener("focus",m=>cN(m,a),a)}),l}function dN(e){return e==="x"||e==="y"?yn[e]?null:(yn[e]=!0,()=>{yn[e]=!1}):yn.x||yn.y?null:(yn.x=yn.y=!0,()=>{yn.x=yn.y=!1})}const Yw=new Set(["width","height","top","left","right","bottom",...As]);let Ul;function fN(){Ul=void 0}const Mn={now:()=>(Ul===void 0&&Mn.set(vt.isProcessing||iR.useManualTiming?vt.timestamp:performance.now()),Ul),set:e=>{Ul=e,queueMicrotask(fN)}};function qp(e,t){e.indexOf(t)===-1&&e.push(t)}function Fp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Up{constructor(){this.subscriptions=[]}add(t){return qp(this.subscriptions,t),()=>Fp(this.subscriptions,t)}notify(t,n,o){const a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](t,n,o);else for(let l=0;l<a;l++){const c=this.subscriptions[l];c&&c(t,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Xw(e,t){return t?e*(1e3/t):0}const uy=30,pN=e=>!isNaN(parseFloat(e));class mN{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,a=!0)=>{const l=Mn.now();this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),a&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Mn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=pN(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Up);const o=this.events[t].add(n);return t==="change"?()=>{o(),Ve.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uy)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,uy);return Xw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function $a(e,t){return new mN(e,t)}function hN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$a(n))}function gN(e,t){const n=Cc(e,t);let{transitionEnd:o={},transition:a={},...l}=n||{};l={...l,...o};for(const c in l){const d=PR(l[c]);hN(e,c,d)}}function vN(e){return!!(At(e)&&e.add)}function jf(e,t){const n=e.getValue("willChange");if(vN(n))return n.add(t)}function Jw(e){return e.props[Pw]}const Zw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,yN=1e-7,xN=12;function wN(e,t,n,o,a){let l,c,d=0;do c=t+(n-t)/2,l=Zw(c,o,a)-e,l>0?n=c:t=c;while(Math.abs(l)>yN&&++d<xN);return c}function ti(e,t,n,o){if(e===t&&n===o)return Ht;const a=l=>wN(l,0,1,e,n);return l=>l===0||l===1?l:Zw(a(l),t,o)}const eb=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tb=e=>t=>1-e(1-t),nb=ti(.33,1.53,.69,.99),Bp=tb(nb),rb=eb(Bp),ob=e=>(e*=2)<1?.5*Bp(e):.5*(2-Math.pow(2,-10*(e-1))),$p=e=>1-Math.sin(Math.acos(e)),sb=tb($p),ab=eb($p),ib=e=>/^0[^.\s]+$/u.test(e);function bN(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ib(e):!0}const Na=e=>Math.round(e*1e5)/1e5,Hp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function SN(e){return e==null}const EN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wp=(e,t)=>n=>!!(typeof n=="string"&&EN.test(n)&&n.startsWith(e)||t&&!SN(n)&&Object.prototype.hasOwnProperty.call(n,t)),lb=(e,t,n)=>o=>{if(typeof o!="string")return o;const[a,l,c,d]=o.match(Hp);return{[e]:parseFloat(a),[t]:parseFloat(l),[n]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},CN=e=>nr(0,255,e),$d={...Ts,transform:e=>Math.round(CN(e))},po={test:Wp("rgb","red"),parse:lb("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+$d.transform(e)+", "+$d.transform(t)+", "+$d.transform(n)+", "+Na(Ba.transform(o))+")"};function kN(e){let t="",n="",o="",a="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),a=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),a=e.substring(4,5),t+=t,n+=n,o+=o,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:a?parseInt(a,16)/255:1}}const Of={test:Wp("#"),parse:kN,transform:po.transform},as={test:Wp("hsl","hue"),parse:lb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+In.transform(Na(t))+", "+In.transform(Na(n))+", "+Na(Ba.transform(o))+")"},Ct={test:e=>po.test(e)||Of.test(e)||as.test(e),parse:e=>po.test(e)?po.parse(e):as.test(e)?as.parse(e):Of.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?po.transform(e):as.transform(e)},AN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function TN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Hp))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(AN))===null||n===void 0?void 0:n.length)||0)>0}const cb="number",ub="color",PN="var",RN="var(",dy="${}",NN=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ha(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},a=[];let l=0;const d=t.replace(NN,f=>(Ct.test(f)?(o.color.push(l),a.push(ub),n.push(Ct.parse(f))):f.startsWith(RN)?(o.var.push(l),a.push(PN),n.push(f)):(o.number.push(l),a.push(cb),n.push(parseFloat(f))),++l,dy)).split(dy);return{values:n,split:d,indexes:o,types:a}}function db(e){return Ha(e).values}function fb(e){const{split:t,types:n}=Ha(e),o=t.length;return a=>{let l="";for(let c=0;c<o;c++)if(l+=t[c],a[c]!==void 0){const d=n[c];d===cb?l+=Na(a[c]):d===ub?l+=Ct.transform(a[c]):l+=a[c]}return l}}const jN=e=>typeof e=="number"?0:e;function ON(e){const t=db(e);return fb(e)(t.map(jN))}const zr={test:TN,parse:db,createTransformer:fb,getAnimatableNone:ON},_N=new Set(["brightness","contrast","saturate","opacity"]);function DN(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Hp)||[];if(!o)return e;const a=n.replace(o,"");let l=_N.has(t)?1:0;return o!==n&&(l*=100),t+"("+l+a+")"}const IN=/\b([a-z-]*)\(.*?\)/gu,_f={...zr,getAnimatableNone:e=>{const t=e.match(IN);return t?t.map(DN).join(" "):e}},MN={...Np,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:_f,WebkitFilter:_f},Kp=e=>MN[e];function pb(e,t){let n=Kp(e);return n!==_f&&(n=zr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const LN=new Set(["auto","none","0"]);function VN(e,t,n){let o=0,a;for(;o<e.length&&!a;){const l=e[o];typeof l=="string"&&!LN.has(l)&&Ha(l).values.length&&(a=e[o]),o++}if(a&&n)for(const l of t)e[l]=pb(n,a)}const fy=e=>e===Ts||e===le,py=(e,t)=>parseFloat(e.split(", ")[t]),my=(e,t)=>(n,{transform:o})=>{if(o==="none"||!o)return 0;const a=o.match(/^matrix3d\((.+)\)$/u);if(a)return py(a[1],t);{const l=o.match(/^matrix\((.+)\)$/u);return l?py(l[1],e):0}},zN=new Set(["x","y","z"]),qN=As.filter(e=>!zN.has(e));function FN(e){const t=[];return qN.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Ss={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:my(4,13),y:my(5,14)};Ss.translateX=Ss.x;Ss.translateY=Ss.y;const bo=new Set;let Df=!1,If=!1;function mb(){if(If){const e=Array.from(bo).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const a=FN(o);a.length&&(n.set(o,a),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const a=n.get(o);a&&a.forEach(([l,c])=>{var d;(d=o.getValue(l))===null||d===void 0||d.set(c)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}
vendor: 8,025 bytes, line 250
250If=!1,Df=!1,bo.forEach(e=>e.complete()),bo.clear()}function hb(){bo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(If=!0)})}function UN(){hb(),mb()}class Gp{constructor(t,n,o,a,l,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=a,this.element=l,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(bo.add(this),Df||(Df=!0,Ve.read(hb),Ve.resolveKeyframes(mb))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:a}=this;for(let l=0;l<t.length;l++)if(t[l]===null)if(l===0){const c=a==null?void 0:a.get(),d=t[t.length-1];if(c!==void 0)t[0]=c;else if(o&&n){const f=o.readValue(n,d);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=d),a&&c===void 0&&a.set(t[0])}else t[l]=t[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),bo.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,bo.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const gb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),BN=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $N(e){const t=BN.exec(e);if(!t)return[,];const[,n,o,a]=t;return[`--${n??o}`,a]}function vb(e,t,n=1){const[o,a]=$N(e);if(!o)return;const l=window.getComputedStyle(t).getPropertyValue(o);if(l){const c=l.trim();return gb(c)?parseFloat(c):c}return Rp(a)?vb(a,t,n+1):a}const yb=e=>t=>t.test(e),HN={test:e=>e==="auto",parse:e=>e},xb=[Ts,le,In,Tr,DR,_R,HN],hy=e=>xb.find(yb(e));class wb extends Gp{constructor(t,n,o,a,l){super(t,n,o,a,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let f=0;f<t.length;f++){let m=t[f];if(typeof m=="string"&&(m=m.trim(),Rp(m))){const g=vb(m,n.current);g!==void 0&&(t[f]=g),f===t.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Yw.has(o)||t.length!==2)return;const[a,l]=t,c=hy(a),d=hy(l);if(c!==d)if(fy(c)&&fy(d))for(let f=0;f<t.length;f++){const m=t[f];typeof m=="string"&&(t[f]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let a=0;a<t.length;a++)bN(t[a])&&o.push(a);o.length&&VN(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ss[o](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const a=n[n.length-1];a!==void 0&&t.getValue(o,a).jump(a,!1)}measureEndState(){var t;const{element:n,name:o,unresolvedKeyframes:a}=this;if(!n||!n.current)return;const l=n.getValue(o);l&&l.jump(this.measuredOrigin,!1);const c=a.length-1,d=a[c];a[c]=Ss[o](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([f,m])=>{n.getValue(f).set(m)}),this.resolveNoneKeyframes()}}const gy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zr.test(e)||e==="0")&&!e.startsWith("url("));function WN(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function KN(e,t,n,o){const a=e[0];if(a===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],c=gy(a,t),d=gy(l,t);return!c||!d?!1:WN(e)||(n==="spring"||Lp(n))&&o}const GN=e=>e!==null;function kc(e,{repeat:t,repeatType:n="loop"},o){const a=e.filter(GN),l=t&&n!=="loop"&&t%2===1?0:a.length-1;return!l||o===void 0?a[l]:o}const QN=40;class bb{constructor({autoplay:t=!0,delay:n=0,type:o="keyframes",repeat:a=0,repeatDelay:l=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Mn.now(),this.options={autoplay:t,delay:n,type:o,repeat:a,repeatDelay:l,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>QN?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&UN(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Mn.now(),this.hasAttemptedResolve=!0;const{name:o,type:a,velocity:l,delay:c,onComplete:d,onUpdate:f,isGenerator:m}=this.options;if(!m&&!KN(t,o,a,l))if(c)this.options.duration=0;else{f&&f(kc(t,this.options,n)),d&&d(),this.resolveFinishedPromise();return}const g=this.initPlayback(t,n);g!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...g},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Be=(e,t,n)=>e+(t-e)*n;function Hd(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function YN({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let a=0,l=0,c=0;if(!t)a=l=c=n;else{const d=n<.5?n*(1+t):n+t-n*t,f=2*n-d;a=Hd(f,d,e+1/3),l=Hd(f,d,e),c=Hd(f,d,e-1/3)}return{red:Math.round(a*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:o}}function sc(e,t){return n=>n>0?t:e}const Wd=(e,t,n)=>{const o=e*e,a=n*(t*t-o)+o;return a<0?0:Math.sqrt(a)},XN=[Of,po,as],JN=e=>XN.find(t=>t.test(e));function vy(e){const t=JN(e);if(!t)return!1;let n=t.parse(e);return t===as&&(n=YN(n)),n}const yy=(e,t)=>{const n=vy(e),o=vy(t);if(!n||!o)return sc(e,t);const a={...n};return l=>(a.red=Wd(n.red,o.red,l),a.green=Wd(n.green,o.green,l),a.blue=Wd(n.blue,o.blue,l),a.alpha=Be(n.alpha,o.alpha,l),po.transform(a))},ZN=(e,t)=>n=>t(e(n)),ni=(...e)=>e.reduce(ZN),Mf=new Set(["none","hidden"]);function ej(e,t){return Mf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function tj(e,t){return n=>Be(e,t,n)}function Qp(e){return typeof e=="number"?tj:typeof e=="string"?Rp(e)?sc:Ct.test(e)?yy:oj:Array.isArray(e)?Sb:typeof e=="object"?Ct.test(e)?yy:nj:sc}function Sb(e,t){const n=[...e],o=n.length,a=e.map((l,c)=>Qp(l)(l,t[c]));return l=>{for(let c=0;c<o;c++)n[c]=a[c](l);return n}}function nj(e,t){const n={...e,...t},o={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(o[a]=Qp(e[a])(e[a],t[a]));return a=>{for(const l in o)n[l]=o[l](a);return n}}function rj(e,t){var n;const o=[],a={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){const c=t.types[l],d=e.indexes[c][a[c]],f=(n=e.values[d])!==null&&n!==void 0?n:0;o[l]=f,a[c]++}return o}const oj=(e,t)=>{const n=zr.createTransformer(t),o=Ha(e),a=Ha(t);return o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length?Mf.has(e)&&!a.values.length||Mf.has(t)&&!o.values.length?ej(e,t):ni(Sb(rj(o,a),a.values),n):sc(e,t)};function Eb(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Be(e,t,n):Qp(e)(e,t)}const sj=5;function Cb(e,t,n){const o=Math.max(t-sj,0);return Xw(n-e(o),t-o)}const We={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Kd=.001;function aj({duration:e=We.duration,bounce:t=We.bounce,velocity:n=We.velocity,mass:o=We.mass}){let a,l,c=1-t;c=nr(We.minDamping,We.maxDamping,c),e=nr(We.minDuration,We.maxDuration,tr(e)),c<1?(a=m=>{const g=m*c,y=g*e,b=g-n,k=Lf(m,c),C=Math.exp(-y);return Kd-b/k*C},l=m=>{const y=m*c*e,b=y*n+n,k=Math.pow(c,2)*Math.pow(m,2)*e,C=Math.exp(-y),S=Lf(Math.pow(m,2),c);return(-a(m)+Kd>0?-1:1)*((b-k)*C)/S}):(a=m=>{const g=Math.exp(-m*e),y=(m-n)*e+1;return-Kd+g*y},l=m=>{const g=Math.exp(-m*e),y=(n-m)*(e*e);return g*y});const d=5/e,f=lj(a,l,d);if(e=er(e),isNaN(f))return{stiffness:We.stiffness,damping:We.damping,duration:e};{const m=Math.pow(f,2)*o;return{stiffness:m,damping:c*2*Math.sqrt(o*m),duration:e}}}const ij=12;
vendor: 23,480 bytes, line 250
250function lj(e,t,n){let o=n;for(let a=1;a<ij;a++)o=o-e(o)/t(o);return o}function Lf(e,t){return e*Math.sqrt(1-t*t)}const cj=["duration","bounce"],uj=["stiffness","damping","mass"];function xy(e,t){return t.some(n=>e[n]!==void 0)}function dj(e){let t={velocity:We.velocity,stiffness:We.stiffness,damping:We.damping,mass:We.mass,isResolvedFromDuration:!1,...e};if(!xy(e,uj)&&xy(e,cj))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),a=o*o,l=2*nr(.05,1,1-(e.bounce||0))*Math.sqrt(a);t={...t,mass:We.mass,stiffness:a,damping:l}}else{const n=aj(e);t={...t,...n,mass:We.mass},t.isResolvedFromDuration=!0}return t}function kb(e=We.visualDuration,t=We.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:a}=n;const l=n.keyframes[0],c=n.keyframes[n.keyframes.length-1],d={done:!1,value:l},{stiffness:f,damping:m,mass:g,duration:y,velocity:b,isResolvedFromDuration:k}=dj({...n,velocity:-tr(n.velocity||0)}),C=b||0,S=m/(2*Math.sqrt(f*g)),E=c-l,T=tr(Math.sqrt(f/g)),j=Math.abs(E)<5;o||(o=j?We.restSpeed.granular:We.restSpeed.default),a||(a=j?We.restDelta.granular:We.restDelta.default);let R;if(S<1){const D=Lf(T,S);R=U=>{const B=Math.exp(-S*T*U);return c-B*((C+S*T*E)/D*Math.sin(D*U)+E*Math.cos(D*U))}}else if(S===1)R=D=>c-Math.exp(-T*D)*(E+(C+T*E)*D);else{const D=T*Math.sqrt(S*S-1);R=U=>{const B=Math.exp(-S*T*U),M=Math.min(D*U,300);return c-B*((C+S*T*E)*Math.sinh(M)+D*E*Math.cosh(M))/D}}const N={calculatedDuration:k&&y||null,next:D=>{const U=R(D);if(k)d.done=D>=y;else{let B=0;S<1&&(B=D===0?er(C):Cb(R,D,U));const M=Math.abs(B)<=o,Y=Math.abs(c-U)<=a;d.done=M&&Y}return d.value=d.done?c:U,d},toString:()=>{const D=Math.min(Bw(N),Rf),U=$w(B=>N.next(D*B).value,D,30);return D+"ms "+U}};return N}function wy({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:c,min:d,max:f,restDelta:m=.5,restSpeed:g}){const y=e[0],b={done:!1,value:y},k=M=>d!==void 0&&M<d||f!==void 0&&M>f,C=M=>d===void 0?f:f===void 0||Math.abs(d-M)<Math.abs(f-M)?d:f;let S=n*t;const E=y+S,T=c===void 0?E:c(E);T!==E&&(S=T-y);const j=M=>-S*Math.exp(-M/o),R=M=>T+j(M),N=M=>{const Y=j(M),ve=R(M);b.done=Math.abs(Y)<=m,b.value=b.done?T:ve};let D,U;const B=M=>{k(b.value)&&(D=M,U=kb({keyframes:[b.value,C(b.value)],velocity:Cb(R,M,b.value),damping:a,stiffness:l,restDelta:m,restSpeed:g}))};return B(0),{calculatedDuration:null,next:M=>{let Y=!1;return!U&&D===void 0&&(Y=!0,N(M),B(M)),D!==void 0&&M>=D?U.next(M-D):(!Y&&N(M),b)}}}const fj=ti(.42,0,1,1),pj=ti(0,0,.58,1),Ab=ti(.42,0,.58,1),mj=e=>Array.isArray(e)&&typeof e[0]!="number",hj={linear:Ht,easeIn:fj,easeInOut:Ab,easeOut:pj,circIn:$p,circInOut:ab,circOut:sb,backIn:Bp,backInOut:rb,backOut:nb,anticipate:ob},by=e=>{if(Vp(e)){Sw(e.length===4);const[t,n,o,a]=e;return ti(t,n,o,a)}else if(typeof e=="string")return hj[e];return e};function gj(e,t,n){const o=[],a=n||Eb,l=e.length-1;for(let c=0;c<l;c++){let d=a(e[c],e[c+1]);if(t){const f=Array.isArray(t)?t[c]||Ht:t;d=ni(f,d)}o.push(d)}return o}function vj(e,t,{clamp:n=!0,ease:o,mixer:a}={}){const l=e.length;if(Sw(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=gj(t,o,a),f=d.length,m=g=>{if(c&&g<e[0])return t[0];let y=0;if(f>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const b=ws(e[y],e[y+1],g);return d[y](b)};return n?g=>m(nr(e[0],e[l-1],g)):m}function yj(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const a=ws(0,t,o);e.push(Be(n,1,a))}}function xj(e){const t=[0];return yj(t,e.length-1),t}function wj(e,t){return e.map(n=>n*t)}function bj(e,t){return e.map(()=>t||Ab).splice(0,e.length-1)}function ac({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const a=mj(o)?o.map(by):by(o),l={done:!1,value:t[0]},c=wj(n&&n.length===t.length?n:xj(t),e),d=vj(c,t,{ease:Array.isArray(a)?a:bj(t,a)});return{calculatedDuration:e,next:f=>(l.value=d(f),l.done=f>=e,l)}}const Sj=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ve.update(t,!0),stop:()=>Vr(t),now:()=>vt.isProcessing?vt.timestamp:Mn.now()}},Ej={decay:wy,inertia:wy,tween:ac,keyframes:ac,spring:kb},Cj=e=>e/100;class Yp extends bb{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:o,element:a,keyframes:l}=this.options,c=(a==null?void 0:a.KeyframeResolver)||Gp,d=(f,m)=>this.onKeyframesResolved(f,m);this.resolver=new c(l,d,n,o,a),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l,velocity:c=0}=this.options,d=Lp(n)?n:Ej[n]||ac;let f,m;d!==ac&&typeof t[0]!="number"&&(f=ni(Cj,Eb(t[0],t[1])),t=[0,100]);const g=d({...this.options,keyframes:t});l==="mirror"&&(m=d({...this.options,keyframes:[...t].reverse(),velocity:-c})),g.calculatedDuration===null&&(g.calculatedDuration=Bw(g));const{calculatedDuration:y}=g,b=y+a,k=b*(o+1)-a;return{generator:g,mirroredGenerator:m,mapPercentToKeyframes:f,calculatedDuration:y,resolvedDuration:b,totalDuration:k}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:o}=this;if(!o){const{keyframes:M}=this.options;return{done:!0,value:M[M.length-1]}}const{finalKeyframe:a,generator:l,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:f,calculatedDuration:m,totalDuration:g,resolvedDuration:y}=o;if(this.startTime===null)return l.next(0);const{delay:b,repeat:k,repeatType:C,repeatDelay:S,onUpdate:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-g/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const T=this.currentTime-b*(this.speed>=0?1:-1),j=this.speed>=0?T<0:T>g;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let R=this.currentTime,N=l;if(k){const M=Math.min(this.currentTime,g)/y;let Y=Math.floor(M),ve=M%1;!ve&&M>=1&&(ve=1),ve===1&&Y--,Y=Math.min(Y,k+1),!!(Y%2)&&(C==="reverse"?(ve=1-ve,S&&(ve-=S/y)):C==="mirror"&&(N=c)),R=nr(0,1,ve)*y}const D=j?{done:!1,value:f[0]}:N.next(R);d&&(D.value=d(D.value));let{done:U}=D;!j&&m!==null&&(U=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return B&&a!==void 0&&(D.value=kc(f,this.options,a)),E&&E(D.value),B&&this.finish(),D}get duration(){const{resolved:t}=this;return t?tr(t.calculatedDuration):0}get time(){return tr(this.currentTime)}set time(t){t=er(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=tr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=Sj,onPlay:n,startTime:o}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),n&&n();const a=this.driver.now();this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=a):this.startTime=o??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const kj=new Set(["opacity","clipPath","filter","transform"]);function Aj(e,t,n,{delay:o=0,duration:a=300,repeat:l=0,repeatType:c="loop",ease:d="easeInOut",times:f}={}){const m={[t]:n};f&&(m.offset=f);const g=Ww(d,a);return Array.isArray(g)&&(m.easing=g),e.animate(m,{delay:o,duration:a,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal"})}const Tj=Sp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ic=10,Pj=2e4;function Rj(e){return Lp(e.type)||e.type==="spring"||!Hw(e.ease)}function Nj(e,t){const n=new Yp({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let o={done:!1,value:e[0]};const a=[];let l=0;for(;!o.done&&l<Pj;)o=n.sample(l),a.push(o.value),l+=ic;return{times:void 0,keyframes:a,duration:l-ic,ease:"linear"}}const Tb={anticipate:ob,backInOut:rb,circInOut:ab};function jj(e){return e in Tb}class Sy extends bb{constructor(t){super(t);const{name:n,motionValue:o,element:a,keyframes:l}=this.options;this.resolver=new wb(l,(c,d)=>this.onKeyframesResolved(c,d),n,o,a),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:o=300,times:a,ease:l,type:c,motionValue:d,name:f,startTime:m}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof l=="string"&&oc()&&jj(l)&&(l=Tb[l]),Rj(this.options)){const{onComplete:y,onUpdate:b,motionValue:k,element:C,...S}=this.options,E=Nj(t,S);t=E.keyframes,t.length===1&&(t[1]=t[0]),o=E.duration,a=E.times,l=E.ease,c="keyframes"}const g=Aj(d.owner.current,f,t,{...this.options,duration:o,times:a,ease:l});return g.startTime=m??this.calcStartTime(),this.pendingTimeline?(ay(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:y}=this.options;d.set(kc(t,this.options,n)),y&&y(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:o,times:a,type:c,ease:l,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return tr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return tr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:o}=n;o.currentTime=er(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:o}=n;o.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Ht;const{animation:o}=n;ay(o,t)}return Ht}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:o,duration:a,type:l,ease:c,times:d}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:g,onComplete:y,element:b,...k}=this.options,C=new Yp({...k,keyframes:o,duration:a,type:l,ease:c,times:d,isGenerator:!0}),S=er(this.time);m.setWithVelocity(C.sample(S-ic).value,C.sample(S).value,ic)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:o,repeatDelay:a,repeatType:l,damping:c,type:d}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:m}=n.owner.getProps();return Tj()&&o&&kj.has(o)&&!f&&!m&&!a&&l!=="mirror"&&c!==0&&d!=="inertia"}}const Oj={type:"spring",stiffness:500,damping:25,restSpeed:10},_j=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Dj={type:"keyframes",duration:.8},Ij={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mj=(e,{keyframes:t})=>t.length>2?Dj:Po.has(e)?e.startsWith("scale")?_j(t[1]):Oj:Ij;function Lj({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:a,repeat:l,repeatType:c,repeatDelay:d,from:f,elapsed:m,...g}){return!!Object.keys(g).length}const Xp=(e,t,n,o={},a,l)=>c=>{const d=Mp(o,e)||{},f=d.delay||o.delay||0;let{elapsed:m=0}=o;m=m-er(f);let g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-m,onUpdate:b=>{t.set(b),d.onUpdate&&d.onUpdate(b)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:l?void 0:a};Lj(d)||(g={...g,...Mj(e,g)}),g.duration&&(g.duration=er(g.duration)),g.repeatDelay&&(g.repeatDelay=er(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(y=!0)),y&&!l&&t.get()!==void 0){const b=kc(g.keyframes,d);if(b!==void 0)return Ve.update(()=>{g.onUpdate(b),g.onComplete()}),new nN([])}return!l&&Sy.supports(g)?new Sy(g):new Yp(g)};function Vj({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function Pb(e,t,{delay:n=0,transitionOverride:o,type:a}={}){var l;let{transition:c=e.getDefaultTransition(),transitionEnd:d,...f}=t;o&&(c=o);const m=[],g=a&&e.animationState&&e.animationState.getState()[a];for(const y in f){const b=e.getValue(y,(l=e.latestValues[y])!==null&&l!==void 0?l:null),k=f[y];if(k===void 0||g&&Vj(g,y))continue;const C={delay:n,...Mp(c||{},y)};let S=!1;if(window.MotionHandoffAnimation){const T=Jw(e);if(T){const j=window.MotionHandoffAnimation(T,y,Ve);j!==null&&(C.startTime=j,S=!0)}}jf(e,y),b.start(Xp(y,b,k,e.shouldReduceMotion&&Yw.has(y)?{type:!1}:C,e,S));const E=b.animation;E&&m.push(E)}return d&&Promise.all(m).then(()=>{Ve.update(()=>{d&&gN(e,d)})}),m}function Vf(e,t,n={}){var o;const a=Cc(e,t,n.type==="exit"?(o=e.presenceContext)===null||o===void 0?void 0:o.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(l=n.transitionOverride);const c=a?()=>Promise.all(Pb(e,a,n)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:b}=l;return zj(e,t,g+m,y,b,n)}:()=>Promise.resolve(),{when:f}=l;if(f){const[m,g]=f==="beforeChildren"?[c,d]:[d,c];return m().then(()=>g())}else return Promise.all([c(),d(n.delay)])}function zj(e,t,n=0,o=0,a=1,l){const c=[],d=(e.variantChildren.size-1)*o,f=a===1?(m=0)=>m*o:(m=0)=>d-m*o;return Array.from(e.variantChildren).sort(qj).forEach((m,g)=>{m.notify("AnimationStart",t),c.push(Vf(m,t,{...l,delay:n+f(g)}).then(()=>m.notify("AnimationComplete",t)))}),Promise.all(c)}function qj(e,t){return e.sortNodePosition(t)}function Fj(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const a=t.map(l=>Vf(e,l,n));o=Promise.all(a)}else if(typeof t=="string")o=Vf(e,t,n);else{const a=typeof t=="function"?Cc(e,t,n.custom):t;o=Promise.all(Pb(e,a,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}const Uj=Cp.length;function Rb(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Rb(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Uj;n++){const o=Cp[n],a=e.props[o];(Ua(a)||a===!1)&&(t[o]=a)}return t}const Bj=[...Ep].reverse(),$j=Ep.length;function Hj(e){return t=>Promise.all(t.map(({animation:n,options:o})=>Fj(e,n,o)))}function Wj(e){let t=Hj(e),n=Ey(),o=!0;const a=f=>(m,g)=>{var y;const b=Cc(e,g,f==="exit"?(y=e.presenceContext)===null||y===void 0?void 0:y.custom:void 0);if(b){const{transition:k,transitionEnd:C,...S}=b;m={...m,...S,...C}}return m};function l(f){t=f(e)}function c(f){const{props:m}=e,g=Rb(e.parent)||{},y=[],b=new Set;let k={},C=1/0;for(let E=0;E<$j;E++){const T=Bj[E],j=n[T],R=m[T]!==void 0?m[T]:g[T],N=Ua(R),D=T===f?j.isActive:null;D===!1&&(C=E);let U=R===g[T]&&R!==m[T]&&N;if(U&&o&&e.manuallyAnimateOnMount&&(U=!1),j.protectedKeys={...k},!j.isActive&&D===null||!R&&!j.prevProp||Sc(R)||typeof R=="boolean")continue;const B=Kj(j.prevProp,R);let M=B||T===f&&j.isActive&&!U&&N||E>C&&N,Y=!1;const ve=Array.isArray(R)?R:[R];let ue=ve.reduce(a(T),{});D===!1&&(ue={});const{prevResolvedValues:Te={}}=j,ze={...Te,...ue},_e=ce=>{M=!0,b.has(ce)&&(Y=!0,b.delete(ce)),j.needsAnimating[ce]=!0;const G=e.getValue(ce);G&&(G.liveStyle=!1)};for(const ce in ze){const G=ue[ce],re=Te[ce];if(k.hasOwnProperty(ce))continue;let F=!1;Pf(G)&&Pf(re)?F=!Uw(G,re):F=G!==re,F?G!=null?_e(ce):b.add(ce):G!==void 0&&b.has(ce)?_e(ce):j.protectedKeys[ce]=!0}j.prevProp=R,j.prevResolvedValues=ue,j.isActive&&(k={...k,...ue}),o&&e.blockInitialAnimation&&(M=!1),M&&(!(U&&B)||Y)&&y.push(...ve.map(ce=>({animation:ce,options:{type:T}})))}if(b.size){const E={};b.forEach(T=>{const j=e.getBaseTarget(T),R=e.getValue(T);R&&(R.liveStyle=!0),E[T]=j??null}),y.push({animation:E})}let S=!!y.length;return o&&(m.initial===!1||m.initial===m.animate)&&!e.manuallyAnimateOnMount&&(S=!1),o=!1,S?t(y):Promise.resolve()}function d(f,m){var g;if(n[f].isActive===m)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(b=>{var k;return(k=b.animationState)===null||k===void 0?void 0:k.setActive(f,m)}),n[f].isActive=m;const y=c(f);for(const b in n)n[b].protectedKeys={};return y}return{animateChanges:c,setActive:d,setAnimateFunction:l,getState:()=>n,reset:()=>{n=Ey(),o=!0}}}function Kj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Uw(t,e):!1}function ao(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ey(){return{animate:ao(!0),whileInView:ao(),whileHover:ao(),whileTap:ao(),whileDrag:ao(),whileFocus:ao(),exit:ao()}}class $r{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Gj extends $r{constructor(t){super(t),t.animationState||(t.animationState=Wj(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Sc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Qj=0;class Yj extends $r{constructor(){super(...arguments),this.id=Qj++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const a=this.node.animationState.setActive("exit",!t);n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const Xj={animation:{Feature:Gj},exit:{Feature:Yj}};function Wa(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function ri(e){return{point:{x:e.pageX,y:e.pageY}}}const Jj=e=>t=>zp(t)&&e(t,ri(t));function ja(e,t,n,o){return Wa(e,t,Jj(n),o)}const Cy=(e,t)=>Math.abs(e-t);function Zj(e,t){const n=Cy(e.x,t.x),o=Cy(e.y,t.y);return Math.sqrt(n**2+o**2)}class Nb{constructor(t,n,{transformPagePoint:o,contextWindow:a,dragSnapToOrigin:l=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Qd(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,k=Zj(y.offset,{x:0,y:0})>=3;if(!b&&!k)return;const{point:C}=y,{timestamp:S}=vt;this.history.push({...C,timestamp:S});const{onStart:E,onMove:T}=this.handlers;b||(E&&E(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,y)},this.handlePointerMove=(y,b)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=Gd(b,this.transformPagePoint),Ve.update(this.updatePoint,!0)},this.handlePointerUp=(y,b)=>{this.end();const{onEnd:k,onSessionEnd:C,resumeAnimation:S}=this.handlers;if(this.dragSnapToOrigin&&S&&S(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=Qd(y.type==="pointercancel"?this.lastMoveEventInfo:Gd(b,this.transformPagePoint),this.history);this.startEvent&&k&&k(y,E),C&&C(y,E)},!zp(t))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=o,this.contextWindow=a||window;const c=ri(t),d=Gd(c,this.transformPagePoint),{point:f}=d,{timestamp:m}=vt;this.history=[{...f,timestamp:m}];const{onSessionStart:g}=n;g&&g(t,Qd(d,this.history)),this.removeListeners=ni(ja(this.contextWindow,"pointermove",this.handlePointerMove),ja(this.contextWindow,"pointerup",this.handlePointerUp),ja(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vr(this.updatePoint)}}function Gd(e,t){return t?{point:t(e.point)}:e}function ky(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Qd({point:e},t){return{point:e,delta:ky(e,jb(t)),offset:ky(e,eO(t)),velocity:tO(t,.1)}}function eO(e){return e[0]}function jb(e){return e[e.length-1]}function tO(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const a=jb(e);for(;n>=0&&(o=e[n],!(a.timestamp-o.timestamp>er(t)));)n--;if(!o)return{x:0,y:0};const l=tr(a.timestamp-o.timestamp);if(l===0)return{x:0,y:0};const c={x:(a.x-o.x)/l,y:(a.y-o.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const Ob=1e-4,nO=1-Ob,rO=1+Ob,_b=.01,oO=0-_b,sO=0+_b;function Gt(e){return e.max-e.min}function aO(e,t,n){return Math.abs(e-t)<=n}function Ay(e,t,n,o=.5){e.origin=o,e.originPoint=Be(t.min,t.max,e.origin),e.scale=Gt(n)/Gt(t),e.translate=Be(n.min,n.max,e.origin)-e.originPoint,(e.scale>=nO&&e.scale<=rO||isNaN(e.scale))&&(e.scale=1),(e.translate>=oO&&e.translate<=sO||isNaN(e.translate))&&(e.translate=0)}function Oa(e,t,n,o){Ay(e.x,t.x,n.x,o?o.originX:void 0),Ay(e.y,t.y,n.y,o?o.originY:void 0)}function Ty(e,t,n){e.min=n.min+t.min,e.max=e.min+Gt(t)}function iO(e,t,n){Ty(e.x,t.x,n.x),Ty(e.y,t.y,n.y)}function Py(e,t,n){e.min=t.min-n.min,e.max=e.min+Gt(t)}function _a(e,t,n){Py(e.x,t.x,n.x),Py(e.y,t.y,n.y)}function lO(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?Be(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?Be(n,e,o.max):Math.min(e,n)),e}function Ry(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function cO(e,{top:t,left:n,bottom:o,right:a}){return{x:Ry(e.x,n,a),y:Ry(e.y,t,o)}}function Ny(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function uO(e,t){return{x:Ny(e.x,t.x),y:Ny(e.y,t.y)}}function dO(e,t){let n=.5;const o=Gt(e),a=Gt(t);return a>o?n=ws(t.min,t.max-o,e.min):o>a&&(n=ws(e.min,e.max-a,t.min)),nr(0,1,n)}function fO(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const zf=.35;function pO(e=zf){return e===!1?e=0:e===!0&&(e=zf),{x:jy(e,"left","right"),y:jy(e,"to
250p","bottom")}}function jy(e,t,n){return{min:Oy(e,t),max:Oy(e,n)}}function Oy(e,t){return typeof e=="number"?e:e[t]||0}const _y=()=>({translate:0,scale:1,origin:0,originPoint:0}),is=()=>({x:_y(),y:_y()}),Dy=()=>({min:0,max:0}),Je=()=>({x:Dy(),y:Dy()});function on(e){return[e("x"),e("y")]}function Db({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function mO({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function hO(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function Yd(e){return e===void 0||e===1}function qf({scale:e,scaleX:t,scaleY:n}){return!Yd(e)||!Yd(t)||!Yd(n)}function lo(e){return qf(e)||Ib(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ib(e){return Iy(e.x)||Iy(e.y)}function Iy(e){return e&&e!=="0%"}function lc(e,t,n){const o=e-n,a=t*o;return n+a}function My(e,t,n,o,a){return a!==void 0&&(e=lc(e,a,o)),lc(e,n,o)+t}function Ff(e,t=0,n=1,o,a){e.min=My(e.min,t,n,o,a),e.max=My(e.max,t,n,o,a)}function Mb(e,{x:t,y:n}){Ff(e.x,t.translate,t.scale,t.originPoint),Ff(e.y,n.translate,n.scale,n.originPoint)}const Ly=.999999999999,Vy=1.0000000000001;function gO(e,t,n,o=!1){const a=n.length;if(!a)return;t.x=t.y=1;let l,c;for(let d=0;d<a;d++){l=n[d],c=l.projectionDelta;const{visualElement:f}=l.options;f&&f.props.style&&f.props.style.display==="contents"||(o&&l.options.layoutScroll&&l.scroll&&l!==l.root&&cs(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,Mb(e,c)),o&&lo(l.latestValues)&&cs(e,l.latestValues))}t.x<Vy&&t.x>Ly&&(t.x=1),t.y<Vy&&t.y>Ly&&(t.y=1)}function ls(e,t){e.min=e.min+t,e.max=e.max+t}function zy(e,t,n,o,a=.5){const l=Be(e.min,e.max,a);Ff(e,t,n,l,o)}function cs(e,t){zy(e.x,t.x,t.scaleX,t.scale,t.originX),zy(e.y,t.y,t.scaleY,t.scale,t.originY)}function Lb(e,t){return Db(hO(e.getBoundingClientRect(),t))}function vO(e,t,n){const o=Lb(e,n),{scroll:a}=t;return a&&(ls(o.x,a.offset.x),ls(o.y,a.offset.y)),o}const Vb=({current:e})=>e?e.ownerDocument.defaultView:null,yO=new WeakMap;class xO{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Je(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const a=g=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ri(g).point)},l=(g,y)=>{const{drag:b,dragPropagation:k,onDragStart:C}=this.getProps();if(b&&!k&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dN(b),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),on(E=>{let T=this.getAxisMotionValue(E).get()||0;if(In.test(T)){const{projection:j}=this.visualElement;if(j&&j.layout){const R=j.layout.layoutBox[E];R&&(T=Gt(R)*(parseFloat(T)/100))}}this.originPoint[E]=T}),C&&Ve.postRender(()=>C(g,y)),jf(this.visualElement,"transform");const{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},c=(g,y)=>{const{dragPropagation:b,dragDirectionLock:k,onDirectionLock:C,onDrag:S}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:E}=y;if(k&&this.currentDirection===null){this.currentDirection=wO(E),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",y.point,E),this.updateAxis("y",y.point,E),this.visualElement.render(),S&&S(g,y)},d=(g,y)=>this.stop(g,y),f=()=>on(g=>{var y;return this.getAnimationState(g)==="paused"&&((y=this.getAxisMotionValue(g).animation)===null||y===void 0?void 0:y.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new Nb(t,{onSessionStart:a,onStart:l,onMove:c,onSessionEnd:d,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:Vb(this.visualElement)})}stop(t,n){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:a}=n;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&Ve.postRender(()=>l(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:a}=this.getProps();if(!o||!Rl(t,a,this.currentDirection))return;const l=this.getAxisMotionValue(t);let c=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(c=lO(c,this.constraints[t],this.elastic[t])),l.set(c)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:o}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,l=this.constraints;n&&ss(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&a?this.constraints=cO(a.layoutBox,n):this.constraints=!1,this.elastic=pO(o),l!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&on(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=fO(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ss(t))return!1;const o=t.current,{projection:a}=this.visualElement;if(!a||!a.layout)return!1;const l=vO(o,a.root,this.visualElement.getTransformPagePoint());let c=uO(a.layout.layoutBox,l);if(n){const d=n(mO(c));this.hasMutatedConstraints=!!d,d&&(c=Db(d))}return c}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:a,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},m=on(g=>{if(!Rl(g,n,this.currentDirection))return;let y=f&&f[g]||{};c&&(y={min:0,max:0});const b=a?200:1e6,k=a?40:1e7,C={type:"inertia",velocity:o?t[g]:0,bounceStiffness:b,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...l,...y};return this.startAxisValueAnimation(g,C)});return Promise.all(m).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return jf(this.visualElement,t),o.start(Xp(t,o,0,n,this.visualElement,!1))}stopAnimation(){on(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){on(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),a=o[n];return a||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){on(n=>{const{drag:o}=this.getProps();if(!Rl(n,o,this.currentDirection))return;const{projection:a}=this.visualElement,l=this.getAxisMotionValue(n);if(a&&a.layout){const{min:c,max:d}=a.layout.layoutBox[n];l.set(t[n]-Be(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!ss(n)||!o||!this.constraints)return;this.stopAnimation();const a={x:0,y:0};on(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const f=d.get();a[c]=dO({min:f,max:f},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),on(c=>{if(!Rl(c,t,null))return;const d=this.getAxisMotionValue(c),{min:f,max:m}=this.constraints[c];d.set(Be(f,m,a[c]))})}addListeners(){if(!this.visualElement.current)return;yO.set(this.visualElement,this);const t=this.visualElement.current,n=ja(t,"pointerdown",f=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(f)}),o=()=>{const{dragConstraints:f}=this.getProps();ss(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:a}=this.visualElement,l=a.addEventListener("measure",o);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),Ve.read(o);const c=Wa(window,"resize",()=>this.scalePositionWithinConstraints()),d=a.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:m})=>{this.isDragging&&m&&(on(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=f[g].translate,y.set(y.get()+f[g].translate))}),this.visualElement.render())}));return()=>{c(),n(),l(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:a=!1,dragConstraints:l=!1,dragElastic:c=zf,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:l,dragElastic:c,dragMomentum:d}}}function Rl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function wO(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class bO extends $r{constructor(t){super(t),this.removeGroupControls=Ht,this.removeListeners=Ht,this.controls=new xO(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ht}unmount(){this.removeGroupControls(),this.removeListeners()}}const qy=e=>(t,n)=>{e&&Ve.postRender(()=>e(t,n))};class SO extends $r{constructor(){super(...arguments),this.removePointerDownListener=Ht}onPointerDown(t){this.session=new Nb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Vb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:a}=this.node.getProps();return{onSessionStart:qy(t),onStart:qy(n),onMove:o,onEnd:(l,c)=>{delete this.session,a&&Ve.postRender(()=>a(l,c))}}}mount(){this.removePointerDownListener=ja(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Bl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Fy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ya={correct:(e,t)=>
vendor: 27,673 bytes, line 250
250{if(!t.target)return e;if(typeof e=="string")if(le.test(e))e=parseFloat(e);else return e;const n=Fy(e,t.target.x),o=Fy(e,t.target.y);return`${n}% ${o}%`}},EO={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,a=zr.parse(e);if(a.length>5)return o;const l=zr.createTransformer(e),c=typeof a[0]!="number"?1:0,d=n.x.scale*t.x,f=n.y.scale*t.y;a[0+c]/=d,a[1+c]/=f;const m=Be(d,f,.5);return typeof a[2+c]=="number"&&(a[2+c]/=m),typeof a[3+c]=="number"&&(a[3+c]/=m),l(a)}};class CO extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:a}=this.props,{projection:l}=t;$R(kO),l&&(n.group&&n.group.add(l),o&&o.register&&a&&o.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),Bl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:a,isPresent:l}=this.props,c=o.projection;return c&&(c.isPresent=l,a||t.layoutDependency!==n||n===void 0?c.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?c.promote():c.relegate()||Ve.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Ap.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:a}=t;a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),o&&o.deregister&&o.deregister(a))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function zb(e){const[t,n]=ww(),o=x.useContext(xp);return h.jsx(CO,{...e,layoutGroup:o,switchLayoutGroup:x.useContext(Rw),isPresent:t,safeToRemove:n})}const kO={borderRadius:{...ya,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ya,borderTopRightRadius:ya,borderBottomLeftRadius:ya,borderBottomRightRadius:ya,boxShadow:EO};function AO(e,t,n){const o=At(e)?e:$a(e);return o.start(Xp("",o,t,n)),o.animation}function TO(e){return e instanceof SVGElement&&e.tagName!=="svg"}const PO=(e,t)=>e.depth-t.depth;class RO{constructor(){this.children=[],this.isDirty=!1}add(t){qp(this.children,t),this.isDirty=!0}remove(t){Fp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(PO),this.isDirty=!1,this.children.forEach(t)}}function NO(e,t){const n=Mn.now(),o=({timestamp:a})=>{const l=a-n;l>=t&&(Vr(o),e(l-t))};return Ve.read(o,!0),()=>Vr(o)}const qb=["TopLeft","TopRight","BottomLeft","BottomRight"],jO=qb.length,Uy=e=>typeof e=="string"?parseFloat(e):e,By=e=>typeof e=="number"||le.test(e);function OO(e,t,n,o,a,l){a?(e.opacity=Be(0,n.opacity!==void 0?n.opacity:1,_O(o)),e.opacityExit=Be(t.opacity!==void 0?t.opacity:1,0,DO(o))):l&&(e.opacity=Be(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,o));for(let c=0;c<jO;c++){const d=`border${qb[c]}Radius`;let f=$y(t,d),m=$y(n,d);if(f===void 0&&m===void 0)continue;f||(f=0),m||(m=0),f===0||m===0||By(f)===By(m)?(e[d]=Math.max(Be(Uy(f),Uy(m),o),0),(In.test(m)||In.test(f))&&(e[d]+="%")):e[d]=m}(t.rotate||n.rotate)&&(e.rotate=Be(t.rotate||0,n.rotate||0,o))}function $y(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const _O=Fb(0,.5,sb),DO=Fb(.5,.95,Ht);function Fb(e,t,n){return o=>o<e?0:o>t?1:n(ws(e,t,o))}function Hy(e,t){e.min=t.min,e.max=t.max}function nn(e,t){Hy(e.x,t.x),Hy(e.y,t.y)}function Wy(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ky(e,t,n,o,a){return e-=t,e=lc(e,1/n,o),a!==void 0&&(e=lc(e,1/a,o)),e}function IO(e,t=0,n=1,o=.5,a,l=e,c=e){if(In.test(t)&&(t=parseFloat(t),t=Be(c.min,c.max,t/100)-c.min),typeof t!="number")return;let d=Be(l.min,l.max,o);e===l&&(d-=t),e.min=Ky(e.min,t,n,d,a),e.max=Ky(e.max,t,n,d,a)}function Gy(e,t,[n,o,a],l,c){IO(e,t[n],t[o],t[a],t.scale,l,c)}const MO=["x","scaleX","originX"],LO=["y","scaleY","originY"];function Qy(e,t,n,o){Gy(e.x,t,MO,n?n.x:void 0,o?o.x:void 0),Gy(e.y,t,LO,n?n.y:void 0,o?o.y:void 0)}function Yy(e){return e.translate===0&&e.scale===1}function Ub(e){return Yy(e.x)&&Yy(e.y)}function Xy(e,t){return e.min===t.min&&e.max===t.max}function VO(e,t){return Xy(e.x,t.x)&&Xy(e.y,t.y)}function Jy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Bb(e,t){return Jy(e.x,t.x)&&Jy(e.y,t.y)}function Zy(e){return Gt(e.x)/Gt(e.y)}function e0(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class zO{constructor(){this.members=[]}add(t){qp(this.members,t),t.scheduleRender()}remove(t){if(Fp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(a=>t===a);if(n===0)return!1;let o;for(let a=n;a>=0;a--){const l=this.members[a];if(l.isPresent!==!1){o=l;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:a}=t.options;a===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function qO(e,t,n){let o="";const a=e.x.translate/t.x,l=e.y.translate/t.y,c=(n==null?void 0:n.z)||0;if((a||l||c)&&(o=`translate3d(${a}px, ${l}px, ${c}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:m,rotate:g,rotateX:y,rotateY:b,skewX:k,skewY:C}=n;m&&(o=`perspective(${m}px) ${o}`),g&&(o+=`rotate(${g}deg) `),y&&(o+=`rotateX(${y}deg) `),b&&(o+=`rotateY(${b}deg) `),k&&(o+=`skewX(${k}deg) `),C&&(o+=`skewY(${C}deg) `)}const d=e.x.scale*t.x,f=e.y.scale*t.y;return(d!==1||f!==1)&&(o+=`scale(${d}, ${f})`),o||"none"}const co={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ka=typeof window<"u"&&window.MotionDebug!==void 0,Xd=["","X","Y","Z"],FO={visibility:"hidden"},t0=1e3;let UO=0;function Jd(e,t,n,o){const{latestValues:a}=t;a[e]&&(n[e]=a[e],t.setStaticValue(e,0),o&&(o[e]=0))}function $b(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Jw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:a,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ve,!(a||l))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&$b(o)}function Hb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:a}){return class{constructor(c={},d=t==null?void 0:t()){this.id=UO++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ka&&(co.totalNodes=co.resolvedTargetDeltas=co.recalculatedProjection=0),this.nodes.forEach(HO),this.nodes.forEach(YO),this.nodes.forEach(XO),this.nodes.forEach(WO),ka&&window.MotionDebug.record(co)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new RO)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Up),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const f=this.eventHandlers.get(c);f&&f.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=TO(c),this.instance=c;const{layoutId:f,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(m||f)&&(this.isLayoutDirty=!0),e){let y;const b=()=>this.root.updateBlockedByResize=!1;e(c,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=NO(b,250),Bl.hasAnimatedSinceResize&&(Bl.hasAnimatedSinceResize=!1,this.nodes.forEach(r0))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&g&&(f||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:b,hasRelativeTargetChanged:k,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||g.getDefaultTransition()||n2,{onLayoutAnimationStart:E,onLayoutAnimationComplete:T}=g.getProps(),j=!this.targetLayout||!Bb(this.targetLayout,C)||k,R=!b&&k;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||R||b&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,R);const N={...Mp(S,"layout"),onPlay:E,onComplete:T};(g.shouldReduceMotion||this.options.layoutRoot)&&(N.delay=0,N.type=!1),this.startAnimation(N)}else b||r0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(JO),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$b(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:d,layout:f}=this.options;if(d===void 0&&!f)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(n0);return}this.isUpdating||this.nodes.forEach(GO),this.isUpdating=!1,this.nodes.forEach(QO),this.nodes.forEach(BO),this.nodes.forEach($O),this.clearAllSnapshots();const d=Mn.now();vt.delta=nr(0,1e3/60,d-vt.timestamp),vt.timestamp=d,vt.isProcessing=!0,Ud.update.process(vt),Ud.preRender.process(vt),Ud.render.process(vt),vt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ap.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(KO),this.sharedNodes.forEach(ZO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ve.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ve.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Je(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const f=o(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!a)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Ub(this.projectionDelta),f=this.getTransformTemplate(),m=f?f(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;c&&(d||lo(this.latestValues)||g)&&(a(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let f=this.removeElementScroll(d);return c&&(f=this.removeTransform(f)),r2(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return Je();const f=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(o2))){const{scroll:g}=this.root;g&&(ls(f.x,g.offset.x),ls(f.y,g.offset.y))}return f}removeElementScroll(c){var d;const f=Je();if(nn(f,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return f;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:y,options:b}=g;g!==this.root&&y&&b.layoutScroll&&(y.wasRoot&&nn(f,c),ls(f.x,y.offset.x),ls(f.y,y.offset.y))}return f}applyTransform(c,d=!1){const f=Je();nn(f,c);for(let m=0;m<this.path.length;m++){const g=this.path[m];!d&&g.options.layoutScroll&&g.scroll&&g!==g.root&&cs(f,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),lo(g.latestValues)&&cs(f,g.latestValues)}return lo(this.latestValues)&&cs(f,this.latestValues),f}removeTransform(c){const d=Je();nn(d,c);for(let f=0;f<this.path.length;f++){const m=this.path[f];if(!m.instance||!lo(m.latestValues))continue;qf(m.latestValues)&&m.updateSnapshot();const g=Je(),y=m.measurePageBox();nn(g,y),Qy(d,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return lo(this.latestValues)&&Qy(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==vt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:b}=this.options;if(!(!this.layout||!(y||b))){if(this.resolvedRelativeTargetAt=vt.timestamp,!this.targetDelta&&!this.relativeTarget){const k=this.getClosestProjectingParent();k&&k.layout&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Je(),this.relativeTargetOrigin=Je(),_a(this.relativeTargetOrigin,this.layout.layoutBox,k.layout.layoutBox),nn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Je(),this.targetWithTransforms=Je()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nn(this.target,this.layout.layoutBox),Mb(this.target,this.targetDelta)):nn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const k=this.getClosestProjectingParent();k&&!!k.resumingFrom==!!this.resumingFrom&&!k.options.layoutScroll&&k.target&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Je(),this.relativeTargetOrigin=Je(),_a(this.relativeTargetOrigin,this.target,k.target),nn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ka&&co.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||qf(this.parent.latestValues)||Ib(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),f=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===vt.timestamp&&(m=!1),m)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;nn(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,k=this.treeScale.y;gO(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Je());const{target:C}=d;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wy(this.prevProjectionDelta.x,this.projectionDelta.x),Wy(this.prevProjectionDelta.y,this.projectionDelta.y)),Oa(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==k||!e0(this.projectionDelta.x,this.prevProjectionDelta.x)||!e0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C)),ka&&co.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=is(),this.projectionDelta=is(),this.projectionDeltaWithTransform=is()}setAnimationOrigin(c,d=!1){const f=this.snapshot,m=f?f.latestValues:{},g={...this.latestValues},y=is();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const b=Je(),k=f?f.source:void 0,C=this.layout?this.layout.source:void 0,S=k!==C,E=this.getStack(),T=!E||E.members.length<=1,j=!!(S&&!T&&this.options.crossfade===!0&&!this.path.some(t2));this.animationProgress=0;let R;this.mixTargetDelta=N=>{const D=N/1e3;o0(y.x,c.x,D),o0(y.y,c.y,D),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(_a(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),e2(this.relativeTarget,this.relativeTargetOrigin,b,D),R&&VO(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=Je()),nn(R,this.relativeTarget)),S&&(this.animationValues=g,OO(g,m,this.latestValues,D,j,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ve.update(()=>{Bl.hasAnimatedSinceResize=!0,this.currentAnimation=AO(0,t0,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(t0),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:f,layout:m,latestValues:g}=c;if(!(!d||!f||!m)){if(this!==c&&this.layout&&m&&Wb(this.options.animationType,this.layout.layoutBox,m.layoutBox)){f=this.target||Je();const y=Gt(this.layout.layoutBox.x);f.x.min=c.target.x.min,f.x.max=f.x.min+y;const b=Gt(this.layout.layoutBox.y);f.y.min=c.target.y.min,f.y.max=f.y.min+b}nn(d,f),cs(d,g),Oa(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new zO),this.sharedNodes.get(c).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:f}={}){const m=this.getStack();m&&m.promote(this,f),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:f}=c;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(d=!0),!d)return;const m={};f.z&&Jd("z",c,m,this.animationValues);for(let g=0;g<Xd.length;g++)Jd(`rotate${Xd[g]}`,c,m,this.animationValues),Jd(`skew${Xd[g]}`,c,m,this.animationValues);c.render();for(const g in m)c.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);c.scheduleRender()}getProjectionStyles(c){var d,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return FO;const m={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=Fl(c==null?void 0:c.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none",m;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=Fl(c==null?void 0:c.pointerEvents)||""),this.hasProjected&&!lo(this.latestValues)&&(S.transform=g?g({},""):"none",this.hasProjected=!1),S}const b=y.animationValues||y.latestValues;this.applyTransformsToTarget(),m.transform=qO(this.projectionDeltaWithTransform,this.treeScale,b),g&&(m.transform=g(b,m.transform));const{x:k,y:C}=this.projectionDelta;m.transformOrigin=`${k.origin*100}% ${C.origin*100}% 0`,y.animationValues?m.opacity=y===this?(f=(d=b.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:m.opacity=y===this?b.opacity!==void 0?b.opacity:"":b.opacityExit!==void 0?b.opacityExit:0;for(const S in rc){if(b[S]===void 0)continue;const{correct:E,applyTo:T}=rc[S],j=m.transform==="none"?b[S]:E(b[S],y);if(T){const R=T.length;for(let N=0;N<R;N++)m[T[N]]=j}else m[S]=j}return this.options.layoutId&&(m.pointerEvents=y===this?Fl(c==null?void 0:c.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(n0),this.root.sharedNodes.clear()}}}function BO(e){e.updateLayout()}function $O(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:a}=e.layout,{animationType:l}=e.options,c=n.source!==e.layout.source;l==="size"?on(y=>{const b=c?n.measuredBox[y]:n.layoutBox[y],k=Gt(b);b.min=o[y].min,b.max=b.min+k}):Wb(l,n.layoutBox,o)&&on(y=>{const b=c?n.measuredBox[y]:n.layoutBox[y],k=Gt(o[y]);b.max=b.min+k,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+k)});const d=is();Oa(d,o,n.layoutBox);const f=is();c?Oa(f,e.applyTransform(a,!0),n.measuredBox):Oa(f,o,n.layoutBox);const m=!Ub(d);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:b,layout:k}=y;if(b&&k){const C=Je();_a(C,n.layoutBox,b.layoutBox);const S=Je();_a(S,o,k.layoutBox),Bb(C,S)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=C,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:o,snapshot:n,delta:f,layoutDelta:d,hasLayoutChanged:m,hasRelativeTargetChanged:g})}else if(e.isLead()){const{onExitComplete:o}=e.options;o&&o()}e.options.transition=void 0}function HO(e){ka&&co.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function WO(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function KO(e){e.clearSnapshot()}function n0(e){e.clearMeasurements()}function GO(e){e.isLayoutDirty=!1}function QO(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function YO(e){e.resolveTargetDelta()}function XO(e){e.calcProjection()}
vendor: 5,738 bytes, line 250
250function JO(e){e.resetSkewAndRotation()}function ZO(e){e.removeLeadSnapshot()}function o0(e,t,n){e.translate=Be(t.translate,0,n),e.scale=Be(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function s0(e,t,n,o){e.min=Be(t.min,n.min,o),e.max=Be(t.max,n.max,o)}function e2(e,t,n,o){s0(e.x,t.x,n.x,o),s0(e.y,t.y,n.y,o)}function t2(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const n2={duration:.45,ease:[.4,0,.1,1]},a0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),i0=a0("applewebkit/")&&!a0("chrome/")?Math.round:Ht;function l0(e){e.min=i0(e.min),e.max=i0(e.max)}function r2(e){l0(e.x),l0(e.y)}function Wb(e,t,n){return e==="position"||e==="preserve-aspect"&&!aO(Zy(t),Zy(n),.2)}function o2(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const s2=Hb({attachResizeListener:(e,t)=>Wa(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zd={current:void 0},Kb=Hb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zd.current){const e=new s2({});e.mount(window),e.setOptions({layoutScroll:!0}),Zd.current=e}return Zd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),a2={pan:{Feature:SO},drag:{Feature:bO,ProjectionNode:Kb,MeasureLayout:zb}};function c0(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const a="onHover"+n,l=o[a];l&&Ve.postRender(()=>l(t,ri(t)))}class i2 extends $r{mount(){const{current:t}=this.node;t&&(this.unmount=aN(t,n=>(c0(this.node,n,"Start"),o=>c0(this.node,o,"End"))))}unmount(){}}class l2 extends $r{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ni(Wa(this.node.current,"focus",()=>this.onFocus()),Wa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function u0(e,t,n){const{props:o}=e;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const a="onTap"+(n==="End"?"":n),l=o[a];l&&Ve.postRender(()=>l(t,ri(t)))}class c2 extends $r{mount(){const{current:t}=this.node;t&&(this.unmount=uN(t,n=>(u0(this.node,n,"Start"),(o,{success:a})=>u0(this.node,o,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Uf=new WeakMap,ef=new WeakMap,u2=e=>{const t=Uf.get(e.target);t&&t(e)},d2=e=>{e.forEach(u2)};function f2({root:e,...t}){const n=e||document;ef.has(n)||ef.set(n,{});const o=ef.get(n),a=JSON.stringify(t);return o[a]||(o[a]=new IntersectionObserver(d2,{root:e,...t})),o[a]}function p2(e,t,n){const o=f2(t);return Uf.set(e,n),o.observe(e),()=>{Uf.delete(e),o.unobserve(e)}}const m2={some:0,all:1};class h2 extends $r{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:a="some",once:l}=t,c={root:n?n.current:void 0,rootMargin:o,threshold:typeof a=="number"?a:m2[a]},d=f=>{const{isIntersecting:m}=f;if(this.isInView===m||(this.isInView=m,l&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),b=m?g:y;b&&b(f)};return p2(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(g2(t,n))&&this.startObserver()}unmount(){}}function g2({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const v2={inView:{Feature:h2},tap:{Feature:c2},focus:{Feature:l2},hover:{Feature:i2}},y2={layout:{ProjectionNode:Kb,MeasureLayout:zb}},Bf={current:null},Gb={current:!1};function x2(){if(Gb.current=!0,!!wp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Bf.current=e.matches;e.addListener(t),t()}else Bf.current=!1}const w2=[...xb,Ct,zr],b2=e=>w2.find(yb(e)),d0=new WeakMap;function S2(e,t,n){for(const o in t){const a=t[o],l=n[o];if(At(a))e.addValue(o,a);else if(At(l))e.addValue(o,$a(a,{owner:e}));else if(l!==a)if(e.hasValue(o)){const c=e.getValue(o);c.liveStyle===!0?c.jump(a):c.hasAnimated||c.set(a)}else{const c=e.getStaticValue(o);e.addValue(o,$a(c!==void 0?c:a,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const f0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class E2{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:a,blockInitialAnimation:l,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Gp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const k=Mn.now();this.renderScheduledAt<k&&(this.renderScheduledAt=k,Ve.render(this.render,!1,!0))};
vendor: 10,294 bytes, line 250
250const{latestValues:f,renderState:m,onUpdate:g}=c;this.onUpdate=g,this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=m,this.parent=t,this.props=n,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=a,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=Ec(n),this.isVariantNode=Tw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...b}=this.scrapeMotionValuesFromProps(n,{},this);for(const k in b){const C=b[k];f[k]!==void 0&&At(C)&&C.set(f[k],!1)}}mount(t){this.current=t,d0.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),Gb.current||x2(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Bf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){d0.delete(this.current),this.projection&&this.projection.unmount(),Vr(this.notifyUpdate),Vr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=Po.has(t),a=n.on("change",d=>{this.latestValues[t]=d,this.props.onUpdate&&Ve.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{a(),l(),c&&c(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in bs){const n=bs[t];if(!n)continue;const{isEnabled:o,Feature:a}=n;if(!this.features[t]&&a&&o(this.props)&&(this.features[t]=new a(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;o<f0.length;o++){const a=f0[o];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);const l="on"+a,c=t[l];c&&(this.propEventSubscriptions[a]=this.on(a,c))}this.prevMotionValues=S2(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=$a(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){var o;let a=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(o=this.getBaseTargetFromProps(this.props,t))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,t,this.options);return a!=null&&(typeof a=="string"&&(gb(a)||ib(a))?a=parseFloat(a):!b2(a)&&zr.test(n)&&(a=pb(t,n)),this.setBaseTarget(t,At(a)?a.get():a)),At(a)?a.get():a}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:o}=this.props;let a;if(typeof o=="string"||typeof o=="object"){const c=Pp(this.props,o,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);c&&(a=c[t])}if(o&&a!==void 0)return a;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!At(l)?l:this.initialValues[t]!==void 0&&a===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Up),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Qb extends E2{constructor(){super(...arguments),this.KeyframeResolver=wb}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;At(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function C2(e){return window.getComputedStyle(e)}class k2 extends Qb{constructor(){super(...arguments),this.type="html",this.renderInstance=Mw}readValueFromInstance(t,n){if(Po.has(n)){const o=Kp(n);return o&&o.default||0}else{const o=C2(t),a=(_w(n)?o.getPropertyValue(n):o[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Lb(t,n)}build(t,n,o){jp(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Ip(t,n,o)}}class A2 extends Qb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Je}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Po.has(n)){const o=Kp(n);return o&&o.default||0}return n=Lw.has(n)?n:kp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return qw(t,n,o)}build(t,n,o){Op(t,n,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,o,a){Vw(t,n,o,a)}mount(t){this.isSVGTag=Dp(t.tagName),super.mount(t)}}const T2=(e,t)=>Tp(e)?new A2(t):new k2(t,{allowProjection:e!==x.Fragment}),P2=ZR({...Xj,...v2,...a2,...y2},T2),nt=mR(P2);function p0(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function oi(...e){return t=>{let n=!1;const o=e.map(a=>{const l=p0(a,t);return!n&&typeof l=="function"&&(n=!0),l});if(n)return()=>{for(let a=0;a<o.length;a++){const l=o[a];typeof l=="function"?l():p0(e[a],null)}}}}function Qt(...e){return x.useCallback(oi(...e),e)}var R2=Symbol.for("react.lazy"),cc=gc[" use ".trim().toString()];function N2(e){return typeof e=="object"&&e!==null&&"then"in e}function Yb(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===R2&&"_payload"in e&&N2(e._payload)}function Xb(e){const t=O2(e),n=x.forwardRef((o,a)=>{let{children:l,...c}=o;Yb(l)&&typeof cc=="function"&&(l=cc(l._payload));const d=x.Children.toArray(l),f=d.find(D2);if(f){const m=f.props.children,g=d.map(y=>y===f?x.Children.count(m)>1?x.Children.only(null):x.isValidElement(m)?m.props.children:null:y);return h.jsx(t,{...c,ref:a,children:x.isValidElement(m)?x.cloneElement(m,void 0,g):null})}return h.jsx(t,{...c,ref:a,children:l})});return n.displayName=`${e}.Slot`,n}var j2=Xb("Slot");function O2(e){const t=x.forwardRef((n,o)=>{let{children:a,...l}=n;if(Yb(a)&&typeof cc=="function"&&(a=cc(a._payload)),x.isValidElement(a)){const c=M2(a),d=I2(l,a.props);return a.type!==x.Fragment&&(d.ref=o?oi(o,c):c),x.cloneElement(a,d)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var _2=Symbol("radix.slottable");function D2(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_2}function I2(e,t){const n={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?n[o]=(...d)=>{const f=l(...d);return a(...d),f}:a&&(n[o]=a):o==="style"?n[o]={...a,...l}:o==="className"&&(n[o]=[a,l].filter(Boolean).join(" "))}return{...e,...n}}function M2(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const L2=up("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ze=x.forwardRef(({className:e,variant:t,size:n,asChild:o=!1,...a},l)=>{const c=o?j2:"button";return h.jsx(c,{className:Ie(L2({variant:t,size:n,className:e})),ref:l,...a})});Ze.displayName="Button";const Wt=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("rounded-xl border bg-card text-card-foreground shadow",e),...t}));
250Wt.displayName="Card";const V2=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("flex flex-col space-y-1.5 p-6",e),...t}));V2.displayName="CardHeader";const z2=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("font-semibold leading-none tracking-tight",e),...t}));z2.displayName="CardTitle";const q2=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("text-sm text-muted-foreground",e),...t}));q2.displayName="CardDescription";const Kt=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("p-6 pt-0",e),...t}));Kt.displayName="CardContent";const F2=x.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ie("flex items-center p-6 pt-0",e),...t}));F2.displayName="CardFooter";const m0=[{label:"Soluções",href:"#solucoes"},{label:"Funcionalidades",href:"#funcionalidades"},{label:"Clientes",href:"#clientes"},{label:"Integrações",href:"#integracoes"}];function Jb(){const{pathname:e}=Br(),[t,n]=x.useState(!1),[o,a]=x.useState(!1),l=e==="/",c=d=>l?d:`/${d}`;return x.useEffect(()=>{const d=()=>n(window.scrollY>20);return window.addEventListener("scroll",d),()=>window.removeEventListener("scroll",d)},[]),x.useEffect(()=>{a(!1)},[e]),x.useEffect(()=>{if(!o)return;const d=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=d}},[o]),h.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${t?"bg-background/90 backdrop-blur-xl shadow-sm border-b border-border/50":"bg-transparent"}`,"aria-label":"Navegação principal",children:[h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[h.jsx($t,{to:"/",className:"flex items-center","aria-label":"Vtrina - página inicial",children:h.jsx("img",{src:"/assets/external/vtrina-logo-alterada.png",alt:"Vtrina",className:"h-7 w-auto object-contain"})}),h.jsx("div",{className:"hidden lg:flex items-center gap-6",children:m0.map(d=>h.jsx("a",{href:c(d.href),className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:d.label},d.label))}),h.jsx("div",{className:"hidden lg:block",children:h.jsx(Ze,{asChild:!0,className:"bg-primary hover:bg-primary/90 text-primary-foreground rounded-lg px-6",children:h.jsx("a",{href:c("#contato"),children:"Solicite uma demo"})})}),h.jsx("button",{className:"inline-flex h-11 w-11 items-center justify-center rounded-lg text-foreground transition-colors hover:bg-muted lg:hidden",onClick:()=>a(!o),"aria-label":o?"Fechar menu":"Abrir menu","aria-expanded":o,"aria-controls":"mobile-nav",children:o?h.jsx(dp,{className:"w-6 h-6"}):h.jsx(Zk,{className:"w-6 h-6"})})]})}),h.jsx(bp,{children:o&&h.jsxs(h.Fragment,{children:[h.jsx(nt.button,{type:"button","aria-label":"Fechar menu",initial:{opacity:0}
250,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[45] bg-black/30 lg:hidden",onClick:()=>a(!1)}),h.jsx(nt.div,{id:"mobile-nav",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},className:"fixed inset-x-0 top-16 z-[50] max-h-[calc(100vh-4rem)] overflow-y-auto border-b border-border bg-background px-4 py-4 md:top-20 md:max-h-[calc(100vh-5rem)] lg:hidden",children:h.jsxs("div",{className:"space-y-2",children:[m0.map(d=>h.jsx("a",{href:c(d.href),className:"block rounded-md px-3 py-3 text-base font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",onClick:()=>a(!1),children:d.label},d.label)),h.jsx(Ze,{asChild:!0,className:"mt-3 w-full bg-primary hover:bg-primary/90 text-primary-foreground rounded-lg",children:h.jsx("a",{href:c("#contato"),onClick:()=>a(!1),children:"Solicite uma demo"})})]})})]})})]})}const Da="vtrina_cookie_consent_v1",U2="vtrina:cookie-consent-updated",$f=1,Ke=Object.freeze({NECESSARY:"necessary",ANALYTICS:"analytics",MARKETING:"marketing"}),h0=Object.freeze({[Ke.NECESSARY]:!0,[Ke.ANALYTICS]:!1,[Ke.MARKETING]:!1});function Zb(){return typeof window<"u"}function Jp(e={}){return{[Ke.NECESSARY]:!0,[Ke.ANALYTICS]:!!(e!=null&&e[Ke.ANALYTICS]),[Ke.MARKETING]:!!(e!=null&&e[Ke.MARKETING])}}function B2(e){return!e||typeof e!="object"||e.version!==$f?null:{version:$f,source:e.source||"preferences",updatedAt:e.updatedAt||null,preferences:Jp(e.preferences)}}function g0(){if(!Zb())return null;try{const e=window.localStorage.getItem(Da);if(!e)return null;const t=JSON.parse(e),n=B2(t);return n||(window.localStorage.removeItem(Da),null)}catch{return window.localStorage.removeItem(Da),null}}function $2({preferences:e,source:t="preferences"}){if(!Zb())return null;const n={version:$f,source:t,updatedAt:new Date().toISOString(),preferences:Jp(e)};return window.localStorage.setItem(Da,JSON.stringify(n)),n}function e1(e,t){return t===Ke.NECESSARY?!0:!!(e!=null&&e[t])}const H2=new Set([Ke.ANALYTICS,Ke.MARKETING]),Hf=new Map,Wf=new Set;function Zp(){return typeof window<"u"&&typeof document<"u"}function W2({id:e,src:t,async:n=!0,defer:o=!1,target:a="head"}){if(!Zp())return null;const l=document.querySelector(`script[data-consent-script-id="${e}"]`);if(l)return l;const c=document.createElement("script");return c.src=t,c.async=n,c.defer=o,c.type="text/javascript",c.dataset.consentScriptId=e,(a==="body"?document.body:document.head).appendChild(c),c}function K2(){return null}const G2=[K2()].filter(Boolean);function Q2(e){if(!(e!=null&&e.id))throw new Error("Consent script precisa ter um id único.");if(!H2.has(e.category))throw new Error(`Categoria inválida para consent script: ${e.category}`);return Hf.set(e.id,e),()=>{Hf.delete(e.id),Wf.delete(e.id)}}function Y2(e){var t;if(Zp())for(const n of Hf.values()){const o=e1(e,n.category);if(o&&!Wf.has(n.id))try{(t=n.load)==null||t.call(n,e),Wf.add(n.id)}catch(a){console.error(`[cookie-consent] Falha ao carregar script ${n.id}:`,a)}if(typeof n.onConsentChange=="function")try{n.onConsentChange(o,e)}catch(a){console.error(`[cookie-consent] Falha ao atualizar script ${n.id}:`,a)}}}for(const e of G2)Q2(e);Zp()&&W2({id:"rdstation-loader",src:"https://d335luupugsy2.cloudfront.net/js/loader-scripts/62e2e928-bbf1-4d16-a5e6-cfc3c0d7e168-loader.js",async:!0,target:"body"});const t1=x.createContext(null),X2=Object.freeze({[Ke.NECESSARY]:!0,[Ke.ANALYTICS]:!0,[Ke.MARKETING]:!0}),J2=Object.freeze({[Ke.NECESSARY]:!0,[Ke.ANALYTICS]:!1,[Ke.MARKETING]:!1});function Z2(e){typeof window>"u"||window.dispatchEvent(new CustomEvent(U2,{detail:e}))}function e_({children:e}){const[t,n]=x.useState(!1),[o,a]=x.useState(!1),[l,c]=x.useState(h0),[d,f]=x.useState(null),[m,g]=x.useState(null),[y,b]=x.useState(!1);x.useEffect(()=>{const D=g0();D&&(a(!0),c(D.preferences),f(D.source),g(D.updatedAt)),n(!0)},[]),x.useEffect(()=>{if(typeof window>"u")return;const D=U=>{if(U.key!==Da)return;const B=g0();if(!B){a(!1),c(h0),f(null),g(null);return}a(!0),c(B.preferences),f(B.source),g(B.updatedAt)};return window.addEventListener("storage",D),()=>{window.removeEventListener("storage",D)}},[]),x.useEffect(()=>{!t||!o||(Y2(l),Z2({preferences:l,source:d,updatedAt:m}))},[o,t,l,d,m]);const k=x.useCallback((D,U)=>{const B=Jp(D),M=$2({preferences:B,source:U});c(B),a(!0),f((M==null?void 0:M.source)||U),g((M==null?void 0:M.updatedAt)||new Date().toISOString()),b(!1)},[]),C=x.useCallback(()=>{k(X2,"accept_all")},[k]),S=x.useCallback(()=>{k(J2,"reject_non_essential")},[k]),E=x.useCallback(D=>{k(D,"preferences")},[k]),T=x.useCallback(()=>{b(!0)},[]),j=x.useCallback(()=>{b(!1)},[]),R=x.useCallback(D=>D===Ke.NECESSARY?!0:o?e1(l,D):!1,[o,l]),N=x.useMemo(()=>({isReady:t,hasChoice:o,preferences:l,source:d,updatedAt:m,isBannerVisible:t&&!o,isPreferencesOpen:y,acceptAll:C,rejectNonEssential:S,savePreferences:E,openPreferences:T,closePreferences:j,canUseCategory:R}),[C,R,j,o,y,t,T,l,S,E,d,m]);return h.jsx(t1.Provider,{value:N,children:e})}function Ac(){const e=x.useContext(t1);if(!e)throw new Error("useCookieConsent deve ser usado dentro de CookieConsentProvider.");return e}function n1(){const{pathname:e}=Br(),{openPreferences:t}=Ac(),n=e==="/",o=c=>n?c:`/${c}`,a=[{label:"Soluções",href:"#solucoes"},{label:"Funcionalidades",href:"#funcionalidades"},{label:"Clientes",href:"#clientes"},{label:"Integrações",href:"#integracoes"},{label:"Contato",href:"#contato"}],l=[{label:"Termos de uso",to:"/termos-de-uso"},{label:"PolÃtica de privacidade",to:"/politica-de-privacidade"}];return h.jsx("footer",{className:"bg-foreground py-12",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs("div",{className:"grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3",children:[h.jsxs("div",{className:"space-y-3",children:[h.jsx("img",{src:"/assets/external/vtrina-logo-alterada.png",alt:"
250Vtrina",loading:"lazy",decoding:"async",className:"h-10 w-auto object-contain brightness-0 invert"}),h.jsx("p",{className:"text-sm text-background/55",children:"Plataforma para gestão integrada de canais de vendas digitais."})]}),h.jsxs("div",{className:"space-y-3",children:[h.jsx("p",{className:"text-sm font-semibold text-background",children:"Home"}),h.jsx("div",{className:"flex flex-col gap-2",children:a.map(c=>h.jsx("a",{href:o(c.href),className:"rounded-sm py-1 text-sm text-background/60 transition-colors hover:text-background",children:c.label},c.label))})]}),h.jsxs("div",{className:"space-y-3",children:[h.jsx("p",{className:"text-sm font-semibold text-background",children:"JurÃdico"}),h.jsxs("div",{className:"flex flex-col gap-2",children:[l.map(c=>h.jsx($t,{to:c.to,className:"rounded-sm py-1 text-sm text-background/60 transition-colors hover:text-background",children:c.label},c.label)),h.jsx("button",{type:"button",onClick:t,className:"rounded-sm py-1 text-left text-sm text-background/60 transition-colors hover:text-background",children:"Preferências de cookies"})]})]})]}),h.jsx("div",{className:"mt-8 border-t border-background/15 pt-6",children:h.jsxs("p",{className:"text-sm text-background/40",children:["© ",new Date().getFullYear()," Vtrina. Todos os direitos reservados."]})})]})})}function qr({children:e}){return h.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[h.jsx("a",{href:"#conteudo-principal",className:"sr-only focus:not-sr-only focus:absolute focus:left-3 focus:top-3 focus:z-[60] focus:rounded-md focus:bg-background focus:px-3 focus:py-2 focus:text-sm focus:font-medium focus:text-foreground",children:"Ir para o conteúdo principal"}),h.jsx("header",{children:h.jsx(Jb,{})}),h.jsx("main",{id:"conteudo-principal",className:"pt-16 md:pt-20",children:e}),h.jsx(n1,{})]})}function Ge({children:e}){return h.jsx("div",{className:"mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-8",children:e})}function Ps({eyebrow:e,title:t,description:n,ctaLabel:o="Fale conosco",ctaHref:a="/#contato"}){return h.jsx("section",{"aria-label":t,className:"border-b border-border bg-muted/30 py-14 md:py-20",children:h.jsx(Ge,{children:h.jsxs("div",{className:"max-w-3xl space-y-5",children:[e?h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-primary",children:e}):null,h.jsx("h1",{className:"text-3xl font-semibold leading-tight text-foreground md:text-5xl",children:t}),n?h.jsx("p",{className:"text-base text-muted-foreground md:text-lg",children:n}):null,h.jsx("div",{className:"pt-2",children:a.startsWith("/")?h.jsx(Ze,{asChild:!0,className:"w-full sm:w-auto",children:h.jsx($t,{to:a,children:o})}):h.jsx(Ze,{asChild:!0,className:"w-full sm:w-auto",children:h.jsx("a",{href:a,target:"_blank",rel:"noreferrer",children:o})})})]})})})}function cn({eyebrow:e,title:t,description:n}){return h.jsxs("div",{className:"mb-8 max-w-3xl space-y-3 md:mb-10",children:[e?h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-primary",children:e}):null,h.jsx("h2",{className:"text-2xl font-semibold text-foreground md:text-3xl",children:t}),n?h.jsx("p",{className:"text-base text-muted-foreground",children:n}):null]})}function uc({items:e,columns:t=3}){const n=t===2?"md:grid-cols-2":t===4?"md:grid-cols-2 xl:grid-cols-4":"md:grid-cols-2 xl:grid-cols-3";return h.jsx("div",{className:`grid gap-4 ${n}`,children:e.map(o=>h.jsx(Wt,{className:"border-border/70",children:h.jsxs(Kt,{className:"space-y-2 p-5",children:[h.jsx("h3",{className:"text-base font-semibold text-foreground",children:o.title}),h.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground",children:o.description})]})},o.title))})}function v0({items:e}){return h.jsx("ul",{className:"space-y-3",children:e.map(t=>h.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground md:text-base",children:[h.jsx(zk,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary"}),h.jsx("span",{children:t})]},t))})}function r1({items:e}){return h.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:e.map(t=>h.jsx(Wt,{className:"border-border/70",children:h.jsxs(Kt,{className:"space-y-4 p-5",children:[h.jsxs("p",{className:"text-sm leading-relaxed text-muted-foreground",children:["â",t.quote,"â"]}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-semibold text-foreground",children:t.author}),h.jsx("p",{className:"text-xs text-muted-foreground",children:t.role})]})]})},`${t.author}-${t.role}`))})}function Es({title:e,description:t,ctaLabel:n="Fale conosco",ctaHref:o="/#contato"}){return h.jsx(Wt,{className:"border-primary/30 bg-primary/5",children:h.jsxs(Kt,{className:"flex flex-col gap-4 p-6 md:flex-row md:items-center md:justify-between",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx("h3",{className:"text-lg font-semibold text-foreground",children:e}),t?h.jsx("p",{className:"text-sm text-muted-foreground",children:t}):null]}),o.startsWith("/")?h.jsx(Ze,{asChild:!0,className:"w-full md:w-auto",children:h.jsx($t,{to:o,children:n})}):h.jsx(Ze,{asChild:!0,className:"w-full md:w-auto",children:h.jsx("a",{href:o,target:"_blank",rel:"noreferrer",children:n})})]})})}const tf={},fo="Vtrina",t_="Vtrina é o hub de integrações para marketplace e e-commerce com gestão unificada de canais, pedidos, catálogo e operação digital.",n_="https://vtrina.com",r_="/assets/external/home-hero-generated.png",o_=/^https?:\/\//i,s_=/\/+$/;function o1(e){return e.replace(s_,"")}function em(){const e=typeof import.meta<"u"?tf==null?void 0:tf.VITE_SITE_URL:void 0;return o1(e||n_)}function dc(){const e=em();if(typeof window>"u")return e;const t=o1(window.location.origin);return/^(localhost|127\.0\.0\.1)$/.test(window.location.hostname)?e:t}function tm(e="/"){if(!e)return dc();if(o_.test(e))return e;const t=e.startsWith("/")?e:`/${e}`;return`${dc()}${t}`}function s1(e){if(e){const t=e.split("#")[0].split("?")[0];return tm(t||"/")}return typeof window<"u"?`${dc()}${window.location.pathname}`:dc()}function a_({name:e,description:t,canonicalPath:n}){return{"@context":"https://schema.org","@type":"WebPage",name:e,description:t,inLanguage:"pt-BR",url:s1(n)}}function i_(){return{"@context":"https://schema.org","@type":"Organization",name:fo,url:em(),logo:tm("/assets/external/vtrina-logo-alterada.png")}}function l_(){return{"@context":"https://schema.org","@type":"WebSite",name:fo,inLanguage:"pt-BR",url:em()}}function dt({attr:e,key:t,content:n}){if(!n&&n!=="")return;let o=document.head.querySelector(`meta[${e}="${t}"]`);o||(o=document.createElement("meta"),o.setAttribute(e,t),o.setAttribute("data-seo-managed","true"),document.head.appendChild(o)),o.setAttribute("content",n)}function y0({attr:e,key:t}){const n=document.head.querySelector(`meta[${e}="${t}"]`);n&&n.remove()}function c_(e){let t=document.head.querySelector('link[rel="canonical"]');t||(t=document.createElement("link"),t.setAttribute("rel","canonical"),t.setAttribute("data-seo-managed","true"),document.head.appendChild(t)),t.setAttribute("href",e)}function u_(e,t){let n=document.head.querySelector(`script[type="application/ld+json"][data-seo-id="${e}"]`);n||(n=document.createElement("script"),n.type="application/ld+json",n.setAttribute("data-seo-id",e),n.setAttribute("data-seo-managed","true"),document.head.appendChild(n)),n.textContent=JSON.stringify(t)}function x0(){document.head.querySelectorAll('script[type="application/ld+json"][data-seo-managed="true"]').forEach(e
250=>e.remove())}function zn({title:e,description:t,canonicalPath:n,ogType:o="website",noindex:a=!1,image:l,imageAlt:c,keywords:d,publishedTime:f,modifiedTime:m,structuredData:g}){x.useEffect(()=>{const y=t||t_,b=e?`${e} | ${fo}`:fo,k=s1(n),C=tm(l||r_);return document.title=b,dt({attr:"name",key:"description",content:y}),dt({attr:"name",key:"keywords",content:d||""}),dt({attr:"name",key:"author",content:fo}),dt({attr:"name",key:"robots",content:a?"noindex, nofollow, noarchive":"index, follow, max-image-preview:large"}),dt({attr:"property",key:"og:title",content:document.title}),dt({attr:"property",key:"og:description",content:y}),dt({attr:"property",key:"og:type",content:o}),dt({attr:"property",key:"og:url",content:k}),dt({attr:"property",key:"og:site_name",content:fo}),dt({attr:"property",key:"og:locale",content:"pt_BR"}),dt({attr:"property",key:"og:image",content:C}),dt({attr:"property",key:"og:image:alt",content:c||e||fo}),dt({attr:"name",key:"twitter:card",content:"summary_large_image"}),dt({attr:"name",key:"twitter:title",content:document.title}),dt({attr:"name",key:"twitter:description",content:y}),dt({attr:"name",key:"twitter:image",content:C}),o==="article"?(dt({attr:"property",key:"article:published_time",content:f||""}),dt({attr:"property",key:"article:modified_time",content:m||f||""})):(y0({attr:"property",key:"article:published_time"}),y0({attr:"property",key:"article:modified_time"})),c_(k),x0(),g&&(Array.isArray(g)?g:[g]).forEach((E,T)=>{u_(`schema-${T}`,E)}),()=>{x0()}},[e,t,n,o,a,l,c,d,f,m,g])}const d_=[{label:"Conhecer as soluções",description:"Entenda como o Vtrina apoia sua operação digital.",href:"/#solucoes"},{label:"Explorar integrações",description:"Veja os canais e marketplaces compatÃveis.",href:"/#integracoes"},{label:"Acessar artigos e materiais",description:"Conteúdos para apoiar decisões e crescimento.",to:"/artigos-downloads"},{label:"Conhecer parceiros",description:"Confira o modelo de parceria da Vtrina.",to:"/parceiros"}];function f_(e){try{return decodeURIComponent(e||"/")}catch{return e||"/"}}function p_(){const{pathname:e}=Br(),t=f_(e);return zn({title:"Página não encontrada",description:"A página solicitada não foi encontrada. Volte para a home ou fale com o time da Vtrina.",canonicalPath:"/",noindex:!0}),x.useEffect(()=>{window.scrollTo({top:0,behavior:"auto"})},[]),h.jsx(qr,{children:h.jsxs("section",{className:"relative flex min-h-[calc(100svh-4rem)] items-center overflow-hidden border-b border-border bg-gradient-to-br from-primary/5 via-background to-accent/30 py-14 md:min-h-[calc(100svh-5rem)] md:py-20",children:[h.jsx("div",{className:"pointer-events-none absolute -left-16 top-8 h-56 w-56 rounded-full bg-primary/10 blur-3xl md:h-72 md:w-72"}),h.jsx("div",{className:"pointer-events-none absolute -right-20 bottom-0 h-64 w-64 rounded-full bg-accent/30 blur-3xl md:h-80 md:w-80"}),h.jsx(Ge,{children:h.jsxs("div",{className:"relative z-10 mx-auto grid max-w-5xl gap-6 lg:grid-cols-[1.3fr_0.9fr] lg:items-center",children:[h.jsxs("div",{className:"space-y-6",children:[h.jsxs("div",{className:"space-y-3",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-primary",children:"Erro 404"}),h.jsx("p",{className:"text-6xl font-semibold leading-none tracking-tight text-primary/20 md:text-7xl",children:"404"}),h.jsx("h1",{className:"text-3xl font-semibold leading-tight text-foreground md:text-5xl",children:"Ops! Não encontramos esta página"}),h.jsx("p",{className:"max-w-2xl text-base leading-relaxed text-muted-foreground md:text-lg",children:"A página que você tentou acessar não existe, foi removida ou teve seu endereço alterado."})]}),h.jsxs("p",{className:"inline-flex max-w-full items-center gap-2 rounded-md border border-border bg-card px-3 py-2 text-sm text-muted-foreground",children:["Endereço consultado:",h.jsx("span",{className:"truncate font-medium text-foreground",children:t})]}),h.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[h.jsx(Ze,{asChild:!0,size:"lg",className:"w-full rounded-lg sm:w-auto",children:h.jsxs($t,{to:"/",children:[h.jsx(Hk,{className:"h-4 w-4"}),"Voltar para a página inicial"]})}),h.jsx(Ze,{asChild:!0,variant:"outline",size:"lg",className:"w-full rounded-lg border-border sm:w-auto",children:h.jsxs("a",{href:"/#contato",children:[h.jsx(tA,{className:"h-4 w-4"}),"Falar com nosso time"]})})]})]}),h.jsx(Wt,{className:"border-border/70 bg-card/95 shadow-sm",children:h.jsxs(Kt,{className:"space-y-5 p-5 sm:p-6",children:[h.jsx("h2",{className:"text-lg font-semibold text-foreground",children:"Acesse também"}),h.jsx("ul",{className:"space-y-2",children:d_.map(n=>h.jsx("li",{children:n.to?h.jsx($t,{to:n.to,className:"group block rounded-lg border border-border/80 bg-background/70 p-3 transition-colors hover:border-primary/30 hover:bg-accent/30",children:h.jsxs("div",{className:"flex items-start justify-between gap-2",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx("p",{className:"text-sm font-medium text-foreground",children:n.label}),h.jsx("p",{className:"text-sm text-muted-foreground",children:n.description})]}),h.jsx(xs,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary transition-transform group-hover:translate-x-0.5"})]})}):h.jsx("a",{href:n.href,className:"group block rounded-lg border border-border/80 bg-background/70 p-3 transition-colors hover:border-primary/30 hover:bg-accent/30",children:h.jsxs("div",{className:"flex items-start justify-between gap-2",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsx("p",{className:"text-sm font-medium text-foreground",children:n.label}),h.jsx("p",{className:"text-sm text-muted-foreground",children:n.description})]}),h.jsx(xs,{className:"mt-0.5 h-4 w-4 shrink-0 text-primary transition-transform group-hover:translate-x-0.5"})]})})},n.label))})]})})]})})]})})}function a1(e,t){return function(){return e.apply(t,arguments)}}const{toString:m_}=Object.prototype,{getPrototypeOf:nm}=Object,{iterator:Tc,toStringTag:i1}=Symbol,Pc=(e=>t=>{const n=m_.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),En=e=>(e=e.toLowerCase(),t=>Pc(t)===e),Rc=e=>t=>typeof t===e,{isArray:Rs}=Array,Cs=Rc("undefined");function si(e){return e!==null&&!Cs(e)&&e.constructor!==null&&!Cs(e.constructor)&&Lt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const l1=En("ArrayBuffer");function h_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&l1(e.buffer),t}const g_=Rc("string"),Lt=Rc("function"),c1=Rc("number"),ai=e=>e!==null&&typeof e=="object",v_=e=>e===!0||e===!1,$l=e=>{if(Pc(e)!=="object")return!1;const t=nm(e);
vendor: 14,272 bytes, lines 250-251
250return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(i1 in e)&&!(Tc in e)},y_=e=>{if(!ai(e)||si(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},x_=En("Date"),w_=En("File"),b_=e=>!!(e&&typeof e.uri<"u"),S_=e=>e&&typeof e.getParts<"u",E_=En("Blob"),C_=En("FileList"),k_=e=>ai(e)&&Lt(e.pipe);function A_(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const w0=A_(),b0=typeof w0.FormData<"u"?w0.FormData:void 0,T_=e=>{let t;return e&&(b0&&e instanceof b0||Lt(e.append)&&((t=Pc(e))==="formdata"||t==="object"&&Lt(e.toString)&&e.toString()==="[object FormData]"))},P_=En("URLSearchParams"),[R_,N_,j_,O_]=["ReadableStream","Request","Response","Headers"].map(En),__=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ii(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,a;if(typeof e!="object"&&(e=[e]),Rs(e))for(o=0,a=e.length;o<a;o++)t.call(null,e[o],o,e);else{if(si(e))return;const l=n?Object.getOwnPropertyNames(e):Object.keys(e),c=l.length;let d;for(o=0;o<c;o++)d=l[o],t.call(null,e[d],d,e)}}function u1(e,t){if(si(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o=n.length,a;for(;o-- >0;)if(a=n[o],t===a.toLowerCase())return a;return null}const mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,d1=e=>!Cs(e)&&e!==mo;function Kf(){const{caseless:e,skipUndefined:t}=d1(this)&&this||{},n={},o=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=e&&u1(n,l)||l;$l(n[c])&&$l(a)?n[c]=Kf(n[c],a):$l(a)?n[c]=Kf({},a):Rs(a)?n[c]=a.slice():(!t||!Cs(a))&&(n[c]=a)};for(let a=0,l=arguments.length;a<l;a++)arguments[a]&&ii(arguments[a],o);return n}const D_=(e,t,n,{allOwnKeys:o}={})=>(ii(t,(a,l)=>{n&&Lt(a)?Object.defineProperty(e,l,{value:a1(a,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,l,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:o}),e),I_=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),M_=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},L_=(e,t,n,o)=>{let a,l,c;const d={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),l=a.length;l-- >0;)c=a[l],(!o||o(c,e,t))&&!d[c]&&(t[c]=e[c],d[c]=!0);e=n!==!1&&nm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},V_=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},z_=e=>{if(!e)return null;if(Rs(e))return e;let t=e.length;if(!c1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},q_=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&nm(Uint8Array)),F_=(e,t)=>{const o=(e&&e[Tc]).call(e);let a;for(;(a=o.next())&&!a.done;){const l=a.value;t.call(e,l[0],l[1])}},U_=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},B_=En("HTMLFormElement"),$_=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,a){return o.toUpperCase()+a}),S0=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),H_=En("RegExp"),f1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};ii(n,(a,l)=>{let c;(c=t(a,l,e))!==!1&&(o[l]=c||a)}),Object.defineProperties(e,o)},W_=e=>{f1(e,(t,n)=>{if(Lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Lt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},K_=(e,t)=>{const n={},o=a=>{a.forEach(l=>{n[l]=!0})};return Rs(e)?o(e):o(String(e).split(t)),n},G_=()=>{},Q_=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Y_(e){return!!(e&&Lt(e.append)&&e[i1]==="FormData"&&e[Tc])}const X_=e=>{const t=new Array(10),n=(o,a)=>{if(ai(o)){if(t.indexOf(o)>=0)return;if(si(o))return o;if(!("toJSON"in o)){t[a]=o;const l=Rs(o)?[]:{};return ii(o,(c,d)=>{const f=n(c,a+1);!Cs(f)&&(l[d]=f)}),t[a]=void 0,l}}return o};return n(e,0)},J_=En("AsyncFunction"),Z_=e=>e&&(ai(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),p1=((e,t)=>e?setImmediate:t?((n,o)=>(mo.addEventListener("message",({source:a,data:l})=>{a===mo&&l===n&&o.length&&o.shift()()},!1),a=>{o.push(a),mo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Lt(mo.postMessage)),eD=typeof queueMicrotask<"u"?queueMicrotask.bind(mo):typeof process<"u"&&process.nextTick||p1,tD=e=>e!=null&&Lt(e[Tc]),z={isArray:Rs,isArrayBuffer:l1,isBuffer:si,isFormData:T_,isArrayBufferView:h_,isString:g_,isNumber:c1,isBoolean:v_,isObject:ai,isPlainObject:$l,isEmptyObject:y_,isReadableStream:R_,isRequest:N_,isResponse:j_,isHeaders:O_,isUndefined:Cs,isDate:x_,isFile:w_,isReactNativeBlob:b_,isReactNative:S_,isBlob:E_,isRegExp:H_,isFunction:Lt,isStream:k_,isURLSearchParams:P_,isTypedArray:q_,isFileList:C_,forEach:ii,merge:Kf,extend:D_,trim:__,stripBOM:I_,inherits:M_,toFlatObject:L_,kindOf:Pc,kindOfTest:En,endsWith:V_,toArray:z_,forEachEntry:F_,matchAll:U_,isHTMLForm:B_,hasOwnProperty:S0,hasOwnProp:S0,reduceDescriptors:f1,freezeMethods:W_,toObjectSet:K_,toCamelCase:$_,noop:G_,toFiniteNumber:Q_,findKey:u1,global:mo,isContextDefined:d1,isSpecCompliantForm:Y_,toJSONObject:X_,isAsyncFn:J_,isThenable:Z_,setImmediate:p1,asap:eD,isIterable:tD};let fe=class m1 extends Error{static from(t,n,o,a,l,c){const d=new m1(t.message,n||t.code,o,a,l);return d.cause=t,d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),c&&Object.assign(d,c),d}constructor(t,n,o,a,l){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),o&&(this.config=o),a&&(this.request=a),l&&(this.response=l,this.status=l.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}};fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";fe.ERR_BAD_OPTION="ERR_BAD_OPTION";fe.ECONNABORTED="ECONNABORTED";fe.ETIMEDOUT="ETIMEDOUT";fe.ERR_NETWORK="ERR_NETWORK";fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";fe.ERR_DEPRECATED="ERR_DEPRECATED";fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";fe.ERR_CANCELED="ERR_CANCELED";fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";fe.ERR_INVALID_URL="ERR_INVALID_URL";const nD=null;function Gf(e){return z.isPlainObject(e)||z.isArray(e)}function h1(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function nf(e,t,n){return e?e.concat(t).map(function(a,l){return a=h1(a),!n&&l?"["+a+"]":a}).join(n?".":""):t}function rD(e){return z.isArray(e)&&!e.some(Gf)}const oD=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Nc(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,E){return!z.isUndefined(E[S])});const o=n.metaTokens,a=n.visitor||g,l=n.dots,c=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(a))throw new TypeError("visitor must be a function");function m(C){if(C===null)return"";if(z.isDate(C))return C.toISOString();if(z.isBoolean(C))return C.toString();if(!f&&z.isBlob(C))throw new fe("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(C)||z.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function g(C,S,E){let T=C;if(z.isReactNative(t)&&z.isReactNativeBlob(C))return t.append(nf(E,S,l),m(C)),!1;if(C&&!E&&typeof C=="object"){if(z.endsWith(S,"{}"))S=o?S:S.slice(0,-2),C=JSON.stringify(C);else if(z.isArray(C)&&rD(C)||(z.isFileList(C)||z.endsWith(S,"[]"))&&(T=z.toArray(C)))return S=h1(S),T.forEach(function(R,N){!(z.isUndefined(R)||R===null)&&t.append(c===!0?nf([S],N,l):c===null?S:S+"[]",m(R))}),!1}return Gf(C)?!0:(t.append(nf(E,S,l),m(C)),!1)}const y=[],b=Object.assign(oD,{defaultVisitor:g,convertValue:m,isVisitable:Gf});function k(C,S){if(!z.isUndefined(C)){if(y.indexOf(C)!==-1)throw Error("Circular reference detected in "+S.join("."));y.push(C),z.forEach(C,function(T,j){(!(z.isUndefined(T)||T===null)&&a.call(t,T,z.isString(j)?j.trim():j,S,b))===!0&&k(T,S?S.concat(j):[j])}),y.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return k(e),t}function E0(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function rm(e,t){this._pairs=[],e&&Nc(e,this,t)}const g1=rm.prototype;g1.append=function(t,n){this._pairs.push([t,n])};g1.toString=function(t){const n=t?function(o){return t.call(this,o,E0)}:E0;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function sD(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function v1(e,t,n){if(!t)return e;const o=n&&n.encode||sD,a=z.isFunction(n)?{serialize:n}:n,l=a&&a.serialize;let c;if(l?c=l(t,a):c=z.isURLSearchParams(t)?t.toString():new rm(t,a).toString(o),c){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class C0{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(o){o!==null&&t(o)})}}const om={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},aD=typeof URLSearchParams<"u"?URLSearchParams:rm,iD=typeof FormData<"u"?FormData:null,lD=typeof Blob<"u"?Blob:null,cD={isBrowser:!0,classes:{URLSearchParams:aD,FormData:iD,Blob:lD},protocols:["http","https","file","blob","url","data"]},sm=typeof window<"u"&&typeof document<"u",Qf=typeof navigator=="object"&&navigator||void 0,uD=sm&&(!Qf||["ReactNative","NativeScript","NS"].indexOf(Qf.product)<0),dD=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",fD=sm&&window.location.href||"http://localhost",pD=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sm,hasStandardBrowserEnv:uD,hasStandardBrowserWebWorkerEnv:dD,navigator:Qf,origin:fD},Symbol.toStringTag,{value:"Module"})),kt={...pD,...cD};function mD(e,t){return Nc(e,new kt.classes.URLSearchParams,{visitor:function(n,o,a,l){return kt.isNode&&z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...t})}function hD(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gD(e){const t={},n=Object.keys(e);let o;const a=n.length;let l;for(o=0;o<a;o++)l=n[o],t[l]=e[l];return t}function y1(e){function t(n,o,a,l){let c=n[l++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),f=l>=n.length;return c=!c&&z.isArray(a)?a.length:c,f?(z.hasOwnProp(a,c)?a[c]=[a[c],o]:a[c]=o,!d):((!a[c]||!z.isObject(a[c]))&&(a[c]=[]),t(n,o,a[c],l)&&z.isArray(a[c])&&(a[c]=gD(a[c])),!d)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(o,a)=>{t(hD(o),a,n,0)}),n}return null}function vD(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const li={transitional:om,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",a=o.indexOf("application/json")>-1,l=z.isObject(t);if(l&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return a?JSON.stringify(y1(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(l){if(o.indexOf("application/x-www-form-urlencoded")>-1)return mD(t,this.formSerializer).toString();if((d=z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Nc(d?{"files[]":t}:t,f&&new f,this.formSerializer)}}return l||a?(n.setContentType("application/json",!1),vD(t)):t}],transformResponse:[function(t){const n=this.transitional||li.transitional,o=n&&n.forcedJSONParsing,a=this.responseType==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(o&&!this.responseType||a)){const c=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(d){if(c)throw d.name==="SyntaxError"?fe.from(d,fe.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kt.classes.FormData,Blob:kt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{li.headers[e]={}});const yD=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xD=e=>{const t={};let n,o,a;return e&&e.split(` 251`).forEach(function(c){a=c.indexOf(":"),n=c.substring(0,a).trim().toLowerCase(),o=c.substring(a+1).trim(),!(!n||t[n]&&yD[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},k0=Symbol("internals"),wD=e=>!/[\r\n]/.test(e);function x1(e,t){if(!(e===!1||e==null)){if(z.isArray(e)){e.forEach(n=>x1(n,t));return}if(!wD(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}}function xa(e){return e&&String(e).trim().toLowerCase()}function bD(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(n!==10&&n!==13)break;t-=1}return t===e.length?e:e.slice(0,t)}function Hl(e){return e===!1||e==null?e:z.isArray(e)?e.map(Hl):bD(String(e))}function SD(e){const t=Object.create(null),n=/([^\s,;
251=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const ED=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function rf(e,t,n,o,a){if(z.isFunction(o))return o.call(this,t,n);if(a&&(t=n),!!z.isString(t)){if(z.isString(o))return t.indexOf(o)!==-1;if(z.isRegExp(o))return o.test(t)}}function CD(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function kD(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(a,l,c){return this[o].call(this,t,a,l,c)},configurable:!0})})}let Vt=class{constructor(t){t&&this.set(t)}set(t,n,o){const a=this;function l(d,f,m){const g=xa(f);if(!g)throw new Error("header name must be a non-empty string");const y=z.findKey(a,g);(!y||a[y]===void 0||m===!0||m===void 0&&a[y]!==!1)&&(x1(d,f),a[y||f]=Hl(d))}const c=(d,f)=>z.forEach(d,(m,g)=>l(m,g,f));if(z.isPlainObject(t)||t instanceof this.constructor)c(t,n);else if(z.isString(t)&&(t=t.trim())&&!ED(t))c(xD(t),n);else if(z.isObject(t)&&z.isIterable(t)){let d={},f,m;for(const g of t){if(!z.isArray(g))throw TypeError("Object iterator must return a key-value pair");d[m=g[0]]=(f=d[m])?z.isArray(f)?[...f,g[1]]:[f,g[1]]:g[1]}c(d,n)}else t!=null&&l(n,t,o);return this}get(t,n){if(t=xa(t),t){const o=z.findKey(this,t);if(o){const a=this[o];if(!n)return a;if(n===!0)return SD(a);if(z.isFunction(n))return n.call(this,a,o);if(z.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=xa(t),t){const o=z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||rf(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let a=!1;function l(c){if(c=xa(c),c){const d=z.findKey(o,c);d&&(!n||rf(o,o[d],d,n))&&(delete o[d],a=!0)}}return z.isArray(t)?t.forEach(l):l(t),a}clear(t){const n=Object.keys(this);let o=n.length,a=!1;for(;o--;){const l=n[o];(!t||rf(this,this[l],l,t,!0))&&(delete this[l],a=!0)}return a}normalize(t){const n=this,o={};return z.forEach(this,(a,l)=>{const c=z.findKey(o,l);if(c){n[c]=Hl(a),delete n[l];return}const d=t?CD(l):String(l).trim();d!==l&&delete n[l],n[d]=Hl(a),o[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(o,a)=>{o!=null&&o!==!1&&(n[a]=t&&z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 252`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(a=>o.set(a)),o}static accessor(t){const o=(this[k0]=this[k0]={accessors:{}}).accessors,a=this.prototype;function l(c){const d=xa(c);o[d]||(kD(a,c),o[d]=!0)}return z.isArray(t)?t.forEach(l):l(t),this}};Vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Vt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});z.freezeMethods(Vt);function of(e,t){const n=this||li,o=t||n,a=Vt.from(o.headers);let l=o.data;return z.forEach(e,function(d){l=d.call(n,l,a.normalize(),t?t.status:void 0)}),a.normalize(),l}function w1(e){return!!(e&&e.__CANCEL__)}let ci=class extends fe{constructor(t,n,o){super(t??"canceled",fe.ERR_CANCELED,n,o),this.name="CanceledError",this.__CANCEL__=!0}};function b1(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function AD(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function TD(e,t){e=e||10;const n=new Array(e),o=new Array(e);let a=0,l=0,c;return t=t!==void 0?t:1e3,function(f){const m=Date.now(),g=o[l];c||(c=m),n[a]=f,o[a]=m;let y=l,b=0;for(;y!==a;)b+=n[y++],y=y%e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),m-c<t)return;const k=g&&m-g;return k?Math.round(b*1e3/k):void 0}}function PD(e,t){let n=0,o=1e3/t,a,l;const c=(m,g=Date.now())=>{n=g,a=null,l&&(clearTimeout(l),l=null),e(...m)};return[(...m)=>{const g=Date.now(),y=g-n;y>=o?c(m,g):(a=m,l||(l=setTimeout(()=>{l=null,c(a)},o-y)))},()=>a&&c(a)]}const fc=(e,t,n=3)=>{let o=0;const a=TD(50,250);return PD(l=>{const c=l.loaded,d=l.lengthComputable?l.total:void 0,f=c-o,m=a(f),g=c<=d;o=c;const y={loaded:c,total:d,progress:d?c/d:void 0,bytes:f,rate:m||void 0,estimated:m&&d&&g?(d-c)/m:void 0,event:l,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(y)},n)},A0=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},T0=e=>(...t)=>z.asap(()=>e(...t)),RD=kt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,kt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(kt.origin),kt.navigator&&/(msie|trident)/i.test(kt.navigator.userAgent)):()=>!0,ND=kt.hasStandardBrowserEnv?{write(e,t,n,o,a,l,c){if(typeof document>"u")return;const d=[`${e}=${encodeURIComponent(t)}`];z.isNumber(n)&&d.push(`expires=${new Date(n).toUTCString()}`),z.isString(o)&&d.push(`path=${o}`),z.isString(a)&&d.push(`domain=${a}`),l===!0&&d.push("secure"),z.isString(c)&&d.push(`SameSite=${c}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function jD(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function OD(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function S1(e,t,n){let o=!jD(t);return e&&(o||n==!1)?OD(e,t):t}const P0=e=>e instanceof Vt?{...e}:e;
vendor: 14,183 bytes, lines 252-258
252function Eo(e,t){t=t||{};const n={};function o(m,g,y,b){return z.isPlainObject(m)&&z.isPlainObject(g)?z.merge.call({caseless:b},m,g):z.isPlainObject(g)?z.merge({},g):z.isArray(g)?g.slice():g}function a(m,g,y,b){if(z.isUndefined(g)){if(!z.isUndefined(m))return o(void 0,m,y,b)}else return o(m,g,y,b)}function l(m,g){if(!z.isUndefined(g))return o(void 0,g)}function c(m,g){if(z.isUndefined(g)){if(!z.isUndefined(m))return o(void 0,m)}else return o(void 0,g)}function d(m,g,y){if(y in t)return o(m,g);if(y in e)return o(void 0,m)}const f={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(m,g,y)=>a(P0(m),P0(g),y,!0)};return z.forEach(Object.keys({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const y=z.hasOwnProp(f,g)?f[g]:a,b=y(e[g],t[g],g);z.isUndefined(b)&&y!==d||(n[g]=b)}),n}const E1=e=>{const t=Eo({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:l,headers:c,auth:d}=t;if(t.headers=c=Vt.from(c),t.url=v1(S1(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),z.isFormData(n)){if(kt.hasStandardBrowserEnv||kt.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(z.isFunction(n.getHeaders)){const f=n.getHeaders(),m=["content-type","content-length"];Object.entries(f).forEach(([g,y])=>{m.includes(g.toLowerCase())&&c.set(g,y)})}}if(kt.hasStandardBrowserEnv&&(o&&z.isFunction(o)&&(o=o(t)),o||o!==!1&&RD(t.url))){const f=a&&l&&ND.read(l);f&&c.set(a,f)}return t},_D=typeof XMLHttpRequest<"u",DD=_D&&function(e){return new Promise(function(n,o){const a=E1(e);let l=a.data;const c=Vt.from(a.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:m}=a,g,y,b,k,C;function S(){k&&k(),C&&C(),a.cancelToken&&a.cancelToken.unsubscribe(g),a.signal&&a.signal.removeEventListener("abort",g)}let E=new XMLHttpRequest;E.open(a.method.toUpperCase(),a.url,!0),E.timeout=a.timeout;function T(){if(!E)return;const R=Vt.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),D={data:!d||d==="text"||d==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:R,config:e,request:E};b1(function(B){n(B),S()},function(B){o(B),S()},D),E=null}"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(T)},E.onabort=function(){E&&(o(new fe("Request aborted",fe.ECONNABORTED,e,E)),E=null)},E.onerror=function(N){const D=N&&N.message?N.message:"Network Error",U=new fe(D,fe.ERR_NETWORK,e,E);U.event=N||null,o(U),E=null},E.ontimeout=function(){let N=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const D=a.transitional||om;a.timeoutErrorMessage&&(N=a.timeoutErrorMessage),o(new fe(N,D.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,E)),E=null},l===void 0&&c.setContentType(null),"setRequestHeader"in E&&z.forEach(c.toJSON(),function(N,D){E.setRequestHeader(D,N)}),z.isUndefined(a.withCredentials)||(E.withCredentials=!!a.withCredentials),d&&d!=="json"&&(E.responseType=a.responseType),m&&([b,C]=fc(m,!0),E.addEventListener("progress",b)),f&&E.upload&&([y,k]=fc(f),E.upload.addEventListener("progress",y),E.upload.addEventListener("loadend",k)),(a.cancelToken||a.signal)&&(g=R=>{E&&(o(!R||R.type?new ci(null,e,E):R),E.abort(),E=null)},a.cancelToken&&a.cancelToken.subscribe(g),a.signal&&(a.signal.aborted?g():a.signal.addEventListener("abort",g)));const j=AD(a.url);if(j&&kt.protocols.indexOf(j)===-1){o(new fe("Unsupported protocol "+j+":",fe.ERR_BAD_REQUEST,e));return}E.send(l||null)})},ID=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,a;const l=function(m){if(!a){a=!0,d();const g=m instanceof Error?m:this.reason;o.abort(g instanceof fe?g:new ci(g instanceof Error?g.message:g))}};let c=t&&setTimeout(()=>{c=null,l(new fe(`timeout of ${t}ms exceeded`,fe.ETIMEDOUT))},t);const d=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(l):m.removeEventListener("abort",l)}),e=null)};e.forEach(m=>m.addEventListener("abort",l));const{signal:f}=o;return f.unsubscribe=()=>z.asap(d),f}},MD=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,a;for(;o<n;)a=o+t,yield e.slice(o,a),o=a},LD=async function*(e,t){for await(const n of VD(e))yield*MD(n,t)},VD=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},R0=(e,t,n,o)=>{const a=LD(e,t);let l=0,c,d=f=>{c||(c=!0,o&&o(f))};return new ReadableStream({async pull(f){try{const{done:m,value:g}=await a.next();if(m){d(),f.close();return}let y=g.byteLength;if(n){let b=l+=y;n(b)}f.enqueue(new Uint8Array(g))}catch(m){throw d(m),m}},cancel(f){return d(f),a.return()}},{highWaterMark:2})},N0=64*1024,{isFunction:Nl}=z,zD=(({Request:e,Response:t})=>({Request:e,Response:t}))(z.global),{ReadableStream:j0,TextEncoder:O0}=z.global,_0=(e,...t)=>{try{return!!e(...t)}catch{return!1}},qD=e=>{e=z.merge.call({skipUndefined:!0},zD,e);const{fetch:t,Request:n,Response:o}=e,a=t?Nl(t):typeof fetch=="function",l=Nl(n),c=Nl(o);if(!a)return!1;const d=a&&Nl(j0),f=a&&(typeof O0=="function"?(C=>S=>C.encode(S))(new O0):async C=>new Uint8Array(await new n(C).arrayBuffer())),m=l&&d&&_0(()=>{let C=!1;const S=new j0,E=new n(kt.origin,{body:S,method:"POST",get duplex(){return C=!0,"half"}}).headers.has("Content-Type");return S.cancel(),C&&!E}),g=c&&d&&_0(()=>z.isReadableStream(new o("").body)),y={stream:g&&(C=>C.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(C=>{!y[C]&&(y[C]=(S,E)=>{let T=S&&S[C];if(T)return T.call(S);throw new fe(`Response type '${C}' is not supported`,fe.ERR_NOT_SUPPORT,E)})});const b=async C=>{if(C==null)return 0;if(z.isBlob(C))return C.size;if(z.isSpecCompliantForm(C))return(await new n(kt.origin,{method:"POST",body:C}).arrayBuffer()).byteLength;if(z.isArrayBufferView(C)||z.isArrayBuffer(C))return C.byteLength;if(z.isURLSearchParams(C)&&(C=C+""),z.isString(C))return(await f(C)).byteLength},k=async(C,S)=>{const E=z.toFiniteNumber(C.getContentLength());return E??b(S)};return async C=>{let{url:S,method:E,data:T,signal:j,cancelToken:R,timeout:N,onDownloadProgress:D,onUploadProgress:U,responseType:B,headers:M,withCredentials:Y="same-origin",fetchOptions:ve}=E1(C),ue=t||fetch;B=B?(B+"").toLowerCase():"text";let Te=ID([j,R&&R.toAbortSignal()],N),ze=null;const _e=Te&&Te.unsubscribe&&(()=>{Te.unsubscribe()});let Qe;try{if(U&&m&&E!=="get"&&E!=="head"&&(Qe=await k(M,T))!==0){let _=new n(S,{method:"POST",body:T,duplex:"half"}),$;if(z.isFormData(T)&&($=_.headers.get("content-type"))&&M.setContentType($),_.body){const[me,he]=A0(Qe,fc(T0(U)));T=R0(_.body,N0,me,he)}}z.isString(Y)||(Y=Y?"include":"omit");const xe=l&&"credentials"in n.prototype,ce={...ve,signal:Te,method:E.toUpperCase(),headers:M.normalize().toJSON(),body:T,duplex:"half",credentials:xe?Y:void 0};ze=l&&new n(S,ce);let G=await(l?ue(ze,ve):ue(S,ce));const re=g&&(B==="stream"||B==="response");if(g&&(D||re&&_e)){const _={};["status","statusText","headers"].forEach(ie=>{_[ie]=G[ie]});const $=z.toFiniteNumber(G.headers.get("content-length")),[me,he]=D&&A0($,fc(T0(D),!0))||[];G=new o(R0(G.body,N0,me,()=>{he&&he(),_e&&_e()}),_)}B=B||"text";let F=await y[z.findKey(y,B)||"text"](G,C);return!re&&_e&&_e(),await new Promise((_,$)=>{b1(_,$,{data:F,headers:Vt.from(G.headers),status:G.status,statusText:G.statusText,config:C,request:ze})})}catch(xe){throw _e&&_e(),xe&&xe.name==="TypeError"&&/Load failed|fetch/i.test(xe.message)?Object.assign(new fe("Network Error",fe.ERR_NETWORK,C,ze,xe&&xe.response),{cause:xe.cause||xe}):fe.from(xe,xe&&xe.code,C,ze,xe&&xe.response)}}},FD=new Map,C1=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:a}=t,l=[o,a,n];let c=l.length,d=c,f,m,g=FD;for(;d--;)f=l[d],m=g.get(f),m===void 0&&g.set(f,m=d?new Map:qD(t)),g=m;return m};C1();const am={http:nD,xhr:DD,fetch:{get:C1}};z.forEach(am,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const D0=e=>`- ${e}`,UD=e=>z.isFunction(e)||e===null||e===!1;function BD(e,t){e=z.isArray(e)?e:[e];const{length:n}=e;let o,a;const l={};for(let c=0;c<n;c++){o=e[c];let d;if(a=o,!UD(o)&&(a=am[(d=String(o)).toLowerCase()],a===void 0))throw new fe(`Unknown adapter '${d}'`);if(a&&(z.isFunction(a)||(a=a.get(t))))break;l[d||"#"+c]=a}if(!a){const c=Object.entries(l).map(([f,m])=>`adapter ${f} `+(m===!1?"is not supported by the environment":"is not available in the build"));let d=n?c.length>1?`since : 253`+c.map(D0).join(` 254`):" "+D0(c[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return a}const k1={getAdapter:BD,adapters:am};function sf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ci(null,e)}function I0(e){return sf(e),e.headers=Vt.from(e.headers),e.data=of.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),k1.getAdapter(e.adapter||li.adapter,e)(e).then(function(o){return sf(e),o.data=of.call(e,e.transformResponse,o),o.headers=Vt.from(o.headers),o},function(o){return w1(o)||(sf(e),o&&o.response&&(o.response.data=of.call(e,e.transformResponse,o.response),o.response.headers=Vt.from(o.response.headers))),Promise.reject(o)})}const A1="1.15.0",jc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jc[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const M0={};jc.transitional=function(t,n,o){function a(l,c){return"[Axios v"+A1+"] Transitional option '"+l+"'"+c+(o?". "+o:"")}return(l,c,d)=>{if(t===!1)throw new fe(a(c," has been removed"+(n?" in "+n:"")),fe.ERR_DEPRECATED);return n&&!M0[c]&&(M0[c]=!0,console.warn(a(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,c,d):!0}};jc.spelling=function(t){return(n,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function $D(e,t,n){if(typeof e!="object")throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const l=o[a],c=t[l];if(c){const d=e[l],f=d===void 0||c(d,l,e);if(f!==!0)throw new fe("option "+l+" must be "+f,fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new fe("Unknown option "+l,fe.ERR_BAD_OPTION)}}const Wl={assertOptions:$D,validators:jc},rn=Wl.validators;let So=class{constructor(t){this.defaults=t||{},this.interceptors={request:new C0,response:new C0}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const l=(()=>{if(!a.stack)return"";const c=a.stack.indexOf(` 255`);return c===-1?"":a.stack.slice(c+1)})();try{if(!o.stack)o.stack=l;else if(l){const c=l.indexOf(` 256`),d=c===-1?-1:l.indexOf(` 257`,c+1),f=d===-1?"":l.slice(d+1);String(o.stack).endsWith(f)||(o.stack+=` 258`+l)}}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Eo(this.defaults,n);const{transitional:o,paramsSerializer:a,headers:l}=n;o!==void 0&&Wl.assertOptions(o,{silentJSONParsing:rn.transitional(rn.boolean),forcedJSONParsing:rn.transitional(rn.boolean),clarifyTimeoutError:rn.transitional(rn.boolean),legacyInterceptorReqResOrdering:rn.transitional(rn.boolean)},!1),a!=null&&(z.isFunction(a)?n.paramsSerializer={serialize:a}:Wl.assertOptions(a,{encode:rn.function,serialize:rn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Wl.assertOptions(n,{baseUrl:rn.spelling("baseURL"),withXsrfToken:rn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=l&&z.merge(l.common,l[n.method]);l&&z.forEach(["delete","get","head","post","put","patch","common"],C=>{delete l[C]}),n.headers=Vt.concat(c,l);const d=[];let f=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen=="function"&&S.runWhen(n)===!1)return;f=f&&S.synchronous;const E=n.transitional||om;E&&E.legacyInterceptorReqResOrdering?d.unshift(S.fulfilled,S.rejected):d.push(S.fulfilled,S.rejected)});const m=[];this.interceptors.response.forEach(function(S){m.push(S.fulfilled,S.rejected)});let g,y=0,b;if(!f){const C=[I0.bind(this),void 0];for(C.unshift(...d),C.push(...m),b=C.length,g=Promise.resolve(n);y<b;)g=g.then(C[y++],C[y++]);return g}b=d.length;let k=n;for(;y<b;){const C=d[y++],S=d[y++];try{k=C(k)}catch(E){S.call(this,E);break}}try{g=I0.call(this,k)}catch(C){return Promise.reject(C)}for(y=0,b=m.length;y<b;)g=g.then(m[y++],m[y++]);return g}getUri(t){t=Eo(this.defaults,t);const n=S1(t.baseURL,t.url,t.allowAbsoluteUrls);return v1(n,t.params,t.paramsSerializer)}};z.forEach(["delete","get","head","options"],function(t){So.prototype[t]=function(n,o){return this.request(Eo(o||{},{method:t,url:n,data:(o||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(o){return function(l,c,d){return this.request(Eo(d||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}So.prototype[t]=n(),So.prototype[t+"Form"]=n(!0)});let HD=class T1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const o=this;this.promise.then(a=>{if(!o._listeners)return;let l=o._listeners.length;for(;l-- >0;)o._listeners[l](a);o._listeners=null}),this.promise.then=a=>{let l;const c=new Promise(d=>{o.subscribe(d),l=d}).then(a);return c.cancel=function(){o.unsubscribe(l)},c},t(function(l,c,d){o.reason||(o.reason=new ci(l,c,d),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
258subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new T1(function(a){t=a}),cancel:t}}};function WD(e){return function(n){return e.apply(null,n)}}function KD(e){return z.isObject(e)&&e.isAxiosError===!0}const Yf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Yf).forEach(([e,t])=>{Yf[t]=e});function P1(e){const t=new So(e),n=a1(So.prototype.request,t);return z.extend(n,So.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return P1(Eo(e,a))},n}const et=P1(li);et.Axios=So;et.CanceledError=ci;et.CancelToken=HD;et.isCancel=w1;et.VERSION=A1;et.toFormData=Nc;et.AxiosError=fe;et.Cancel=et.CanceledError;et.all=function(t){return Promise.all(t)};et.spread=WD;et.isAxiosError=KD;et.mergeConfig=Eo;et.AxiosHeaders=Vt;et.formToJSON=e=>y1(z.isHTMLForm(e)?new FormData(e):e);et.getAdapter=k1.getAdapter;et.HttpStatusCode=Yf;et.default=et;const{Axios:rz,AxiosError:oz,CanceledError:sz,isCancel:az,CancelToken:iz,VERSION:lz,all:cz,Cancel:uz,isAxiosError:dz,spread:fz,toFormData:pz,AxiosHeaders:mz,HttpStatusCode:hz,formToJSON:gz,getAdapter:vz,mergeConfig:yz}=et,GD=typeof window>"u",L0=!GD&&window.self!==window.top,af=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),gt=[];for(let e=0;e<256;++e)gt.push((e+256).toString(16).slice(1));function QD(e,t=0){return(gt[e[t+0]]+gt[e[t+1]]+gt[e[t+2]]+gt[e[t+3]]+"-"+gt[e[t+4]]+gt[e[t+5]]+"-"+gt[e[t+6]]+gt[e[t+7]]+"-"+gt[e[t+8]]+gt[e[t+9]]+"-"+gt[e[t+10]]+gt[e[t+11]]+gt[e[t+12]]+gt[e[t+13]]+gt[e[t+14]]+gt[e[t+15]]).toLowerCase()}let lf;const YD=new Uint8Array(16);function XD(){if(!lf){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");lf=crypto.getRandomValues.bind(crypto)}return lf(YD)}const JD=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),V0={randomUUID:JD};function ZD(e,t,n){var a;e=e||{};const o=e.random??((a=e.rng)==null?void 0:a.call(e))??XD();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=o[6]&15|64,o[8]=o[8]&63|128,QD(o)}function eI(e,t,n){return V0.randomUUID&&!e?V0.randomUUID():ZD(e)}class tI extends Error{constructor(t,n,o,a,l){super(t),this.name="Base44Error",this.status=n,this.code=o,this.data=a,this.originalError=l}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function Aa({baseURL:e,headers:t={},token:n,interceptResponses:o=!0,onError:a}){const l=et.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return n&&(l.defaults.headers.common.Authorization=`Bearer ${n}`),l.interceptors.request.use(c=>{typeof window<"u"&&c.headers.set("X-Origin-URL",window.location.href);const d=eI();if(c.requestId=d,L0)try{window.parent.postMessage({type:"api-request-start",requestId:d,data:{url:e+c.url,method:c.method,body:c.data instanceof FormData?"[FormData object]":c.data}},"*")}catch{}return c}),o&&l.interceptors.response.use(c=>{var d;const f=(d=c.config)===null||d===void 0?void 0:d.requestId;try{L0&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:c.status,response:c.data}},"*")}catch{}return c.data},c=>{var d,f,m,g,y,b,k,C;const S=((f=(d=c.response)===null||d===void 0?void 0:d.data)===null||f===void 0?void 0:f.message)||((g=(m=c.response)===null||m===void 0?void 0:m.data)===null||g===void 0?void 0:g.detail)||c.message,E=new tI(S,(y=c.response)===null||y===void 0?void 0:y.status,(k=(b=c.response)===null||b===void 0?void 0:b.data)===null||k===void 0?void 0:k.code,(C=c.response)===null||C===void 0?void 0:C.data,c);return a==null||a(E),Promise.reject(E)}),l}function z0(e){const{axios:t,appId:n,getSocket:o}=e;return new Proxy({},{get(a,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return rI(t,n,l,o)}})}function nI(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function rI(e,t,n,o){const a=`/apps/${t}/entities/${n}`;return{async list(l,c,d,f){const m={};return l&&(m.sort=l),c&&(m.limit=c),d&&(m.skip=d),f&&(m.fields=Array.isArray(f)?f.join(","):f),e.get(a,{params:m})},async filter(l,c,d,f,m){const g={q:JSON.stringify(l)};return c&&(g.sort=c),d&&(g.limit=d),f&&(g.skip=f),m&&(g.fields=Array.isArray(m)?m.join(","):m),e.get(a,{params:g})},async get(l){return e.get(`${a}/${l}`)},async create(l){return e.post(a,l)},async update(l,c){return e.put(`${a}/${l}`,c)},async delete(l){return e.delete(`${a}/${l}`)},async deleteMany(l){return e.delete(a,{data:l})},async bulkCreate(l){return e.post(`${a}/bulk`,l)},async updateMany(l,c){return e.patch(`${a}/update-many`,{query:l,data:c})},async bulkUpdate(l){return e.put(`${a}/bulk`,l)},async importEntities(l){const c=new FormData;return c.append("file",l,l.name),e.post(`${a}/import`,c,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(l){const c=`entities:${t}:${n}`;return o().subscribeToRoom(c,{update_model:m=>{const g=nI(m.data);if(g)try{l(g)}catch(y){console.error("[Base44 SDK] Subscription callback error:",y)}}})}}}function oI(e,t){return{async call(n,o,a){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(o!=null&&o.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:l,queryParams:c,...d}=a??{},f={...d,...l&&{path_params:l},...c&&{query_params:c}};return await e.post(`/apps/${t}/integrations/custom/${n}/${o}`,f)}}}function q0(e,t){const n=oI(e,t);return new Proxy({},{get(o,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return a==="custom"?n:new Proxy({},{get(l,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return async d=>
258{if(typeof d=="string")throw new Error(`Integration ${c} must receive an object with named parameters, received: ${d}`);let f,m;return d instanceof FormData||d&&Object.values(d).some(g=>g instanceof File)?(f=new FormData,Object.keys(d).forEach(g=>{d[g]instanceof File?f.append(g,d[g],d[g].name):typeof d[g]=="object"&&d[g]!==null?f.append(g,JSON.stringify(d[g])):f.append(g,d[g])}),m="multipart/form-data"):(f=d,m="application/json"),a==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${c}`,f||d,{headers:{"Content-Type":m}}):e.post(`/apps/${t}/integration-endpoints/installable/${a}/integration-endpoints/${c}`,f||d,{headers:{"Content-Type":m}})}}})}})}function sI(e,t,n,o){return{async me(){return e.get(`/apps/${n}/entities/User/me`)},async updateMe(a){return e.put(`/apps/${n}/entities/User/me`,a)},redirectToLogin(a){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const l=a?new URL(a,window.location.origin).toString():window.location.href,c=`${o.appBaseUrl}/login?from_url=${encodeURIComponent(l)}`;window.location.href=c},loginWithProvider(a,l="/"){const c=new URL(l,window.location.origin).toString(),d=`app_id=${n}&from_url=${encodeURIComponent(c)}`;let f;a==="sso"?f=`/apps/${n}/auth/sso/login`:f=`/apps/auth${a==="google"?"":`/${a}`}/login`;const m=`${o.appBaseUrl}/api${f}?${d}`;window.location.href=m},logout(a){if(delete e.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(d){console.error("Failed to remove token from localStorage:",d)}const l=a||window.location.href,c=`${o.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(l)}`;window.location.href=c}},setToken(a,l=!0){if(a&&(e.defaults.headers.common.Authorization=`Bearer ${a}`,t.defaults.headers.common.Authorization=`Bearer ${a}`,l&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",a),window.localStorage.setItem("token",a)}catch(c){console.error("Failed to save token to localStorage:",c)}},async loginViaEmailPassword(a,l,c){var d;try{const f=await e.post(`/apps/${n}/auth/login`,{email:a,password:l,...c&&{turnstile_token:c}}),{access_token:m,user:g}=f;return m&&this.setToken(m),{access_token:m,user:g}}catch(f){throw((d=f.response)===null||d===void 0?void 0:d.status)===401&&await this.logout(),f}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(a,l){return e.post(`/apps/${n}/users/invite-user`,{user_email:a,role:l})},register(a){return e.post(`/apps/${n}/auth/register`,a)},verifyOtp({email:a,otpCode:l}){return e.post(`/apps/${n}/auth/verify-otp`,{email:a,otp_code:l})},resendOtp(a){return e.post(`/apps/${n}/auth/resend-otp`,{email:a})},resetPasswordRequest(a){return e.post(`/apps/${n}/auth/reset-password-request`,{email:a})},resetPassword({resetToken:a,newPassword:l}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:a,new_password:l})},changePassword({userId:a,currentPassword:l,newPassword:c}){return e.post(`/apps/${n}/auth/change-password`,{user_id:a,current_password:l,new_password:c})}}}function aI(e,t){return{async getAccessToken(n){const o=`/apps/${t}/auth/sso/accesstoken/${n}`;return e.get(o)}}}function iI(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${n}`)).access_token},async getConnection(n){var o;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const l=await e.get(`/apps/${t}/external-auth/tokens/${n}`);return{accessToken:l.access_token,connectionConfig:(o=l.connection_config)!==null&&o!==void 0?o:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${n}/token`)).access_token}}}function lI(e,t){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${n}/initiate`)).redirect_url}
258,async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${n}`)}}}function Ka(e={}){const{storageKey:t="base44_access_token",paramName:n="access_token",saveToStorage:o=!0,removeFromUrl:a=!0}=e;let l=null;if(typeof window<"u"&&window.location)try{const c=new URLSearchParams(window.location.search);if(l=c.get(n),l){if(o&&cI(l,{storageKey:t}),a){c.delete(n);const d=`${window.location.pathname}${c.toString()?`?${c.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}return l}}catch(c){console.error("Error retrieving token from URL:",c)}if(typeof window<"u"&&window.localStorage)try{return l=window.localStorage.getItem(t),l}catch(c){console.error("Error retrieving token from local storage:",c)}return null}function cI(e,t){const{storageKey:n="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(n,e),window.localStorage.setItem("token",e),!0}catch(o){return console.error("Error saving token to local storage:",o),!1}}function F0(e,t,n){const o=(l,c)=>l?`${String(l).replace(/\/$/,"")}${c}`:c,a=l=>{const c=new Headers;if(n!=null&&n.getAuthHeaders){const d=n.getAuthHeaders();Object.entries(d).forEach(([f,m])=>{m!=null&&c.set(f,String(m))})}return l&&new Headers(l).forEach((d,f)=>{c.set(f,d)}),c};return{async invoke(l,c){if(typeof c=="string")throw new Error(`Function ${l} must receive an object with named parameters, received: ${c}`);let d,f;return c instanceof FormData||c&&Object.values(c).some(m=>m instanceof File)?(d=new FormData,Object.keys(c).forEach(m=>{c[m]instanceof File?d.append(m,c[m],c[m].name):typeof c[m]=="object"&&c[m]!==null?d.append(m,JSON.stringify(c[m])):d.append(m,c[m])}),f="multipart/form-data"):(d=c,f="application/json"),e.post(`/apps/${t}/functions/${l}`,d||c,{headers:{"Content-Type":f}})},async fetch(l,c={}){const f=`/functions${l.startsWith("/")?l:`/${l}`}`,m=a(c.headers),g={...c,headers:m};return await fetch(o(n==null?void 0:n.baseURL,f),g)}}}function U0({axios:e,getSocket:t,appId:n,serverUrl:o,token:a}){const l=`/apps/${n}/agents`,c={},d=()=>e.get(`${l}/conversations`),f=S=>e.get(`${l}/conversations/${S}`);return{getConversations:d,getConversation:f,listConversations:S=>e.get(`${l}/conversations`,{params:S}),createConversation:S=>e.post(`${l}/conversations`,S),addMessage:async(S,E)=>e.post(`${l}/conversations/v2/${S.id}/messages`,E),subscribeToConversation:(S,E)=>{const T=`/agent-conversations/${S}`,j=t(),R=f(S).then(N=>(c[S]=N,N));return j.subscribeToRoom(T,{connect:()=>{},update_model:async({data:N})=>{const D=JSON.parse(N);if(D._message){await R;const U=D._message,B=c[S];if(B){const M=B.messages||[],Y=M.findIndex(ue=>ue.id===U.id),ve=Y!==-1?M.map((ue,Te)=>Te===Y?U:ue):[...M,U];c[S]={...B,messages:ve},E==null||E(c[S])}}}})},getWhatsAppConnectURL:S=>{const E=`${o}/api/apps/${n}/agents/${encodeURIComponent(S)}/whatsapp`,T=a??Ka();return T?`${E}?token=${T}`:E},getTelegramConnectURL:S=>{const E=`${o}/api/apps/${n}/agents/${encodeURIComponent(S)}/telegram`,T=a??Ka();return T?`${E}?token=${T}`:E}}}function B0(e,t){const n=`/app-logs/${t}`;return{async logUserInApp(o){await e.post(`${n}/log-user-in-app/${o}`)},async fetchLogs(o={}){return await e.get(n,{params:o})},async getStats(o={}){return await e.get(`${n}/stats`,{params:o})}}}function uI(e,t){return{async inviteUser(n,o){if(o!=="user"&&o!=="admin")throw new Error(`Invalid role: "${o}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:n,role:o})}}}const Vn=Object.create(null);Vn.open="0";Vn.close="1";Vn.ping="2";Vn.pong="3";Vn.message="4";Vn.upgrade="5";Vn.noop="6";const Kl=Object.create(null);Object.keys(Vn).forEach(e=>{Kl[Vn[e]]=e});const Xf={type:"error",data:"parser error"},R1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",N1=typeof ArrayBuffer=="function",j1=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,im=({type:e,data:t},n,o)=>R1&&t instanceof Blob?n?o(t):$0(t,o):N1&&(t instanceof ArrayBuffer||j1(t))?n?o(t):$0(new Blob([t]),o):o(Vn[e]+(t||"")),$0=(e,t)=>{const n=new FileReader;return n.onload=function(){const o=n.result.split(",")[1];t("b"+(o||""))},n.readAsDataURL(e)};function H0(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let cf;function dI(e,t){if(R1&&e.data instanceof Blob)return e.data.arrayBuffer().then(H0).then(t);if(N1&&(e.data instanceof ArrayBuffer||j1(e.data)))return t(H0(e.data));im(e,!1,n=>{cf||(cf=new TextEncoder),t(cf.encode(n))})}const W0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
258+/",Ta=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<W0.length;e++)Ta[W0.charCodeAt(e)]=e;const fI=e=>{let t=e.length*.75,n=e.length,o,a=0,l,c,d,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const m=new ArrayBuffer(t),g=new Uint8Array(m);for(o=0;o<n;o+=4)l=Ta[e.charCodeAt(o)],c=Ta[e.charCodeAt(o+1)],d=Ta[e.charCodeAt(o+2)],f=Ta[e.charCodeAt(o+3)],g[a++]=l<<2|c>>4,g[a++]=(c&15)<<4|d>>2,g[a++]=(d&3)<<6|f&63;return m},pI=typeof ArrayBuffer=="function",lm=(e,t)=>{if(typeof e!="string")return{type:"message",data:O1(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:mI(e.substring(1),t)}:Kl[n]?e.length>1?{type:Kl[n],data:e.substring(1)}:{type:Kl[n]}:Xf},mI=(e,t)=>{if(pI){const n=fI(e);return O1(n,t)}else return{base64:!0,data:e}},O1=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},_1="�",hI=(e,t)=>{const n=e.length,o=new Array(n);let a=0;e.forEach((l,c)=>{im(l,!1,d=>{o[c]=d,++a===n&&t(o.join(_1))})})},gI=(e,t)=>{const n=e.split(_1),o=[];for(let a=0;a<n.length;a++){const l=lm(n[a],t);if(o.push(l),l.type==="error")break}return o};function vI(){return new TransformStream({transform(e,t){dI(e,n=>{const o=n.length;let a;if(o<126)a=new Uint8Array(1),new DataView(a.buffer).setUint8(0,o);else if(o<65536){a=new Uint8Array(3);const l=new DataView(a.buffer);l.setUint8(0,126),l.setUint16(1,o)}else{a=new Uint8Array(9);const l=new DataView(a.buffer);l.setUint8(0,127),l.setBigUint64(1,BigInt(o))}e.data&&typeof e.data!="string"&&(a[0]|=128),t.enqueue(a),t.enqueue(n)})}})}let uf;function jl(e){return e.reduce((t,n)=>t+n.length,0)}function Ol(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let o=0;for(let a=0;a<t;a++)n[a]=e[0][o++],o===e[0].length&&(e.shift(),o=0);return e.length&&o<e[0].length&&(e[0]=e[0].slice(o)),n}function yI(e,t){uf||(uf=new TextDecoder);const n=[];let o=0,a=-1,l=!1;return new TransformStream({transform(c,d){for(n.push(c);;){if(o===0){if(jl(n)<1)break;const f=Ol(n,1);l=(f[0]&128)===128,a=f[0]&127,a<126?o=3:a===126?o=1:o=2}else if(o===1){if(jl(n)<2)break;const f=Ol(n,2);a=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),o=3}else if(o===2){if(jl(n)<8)break;const f=Ol(n,8),m=new DataView(f.buffer,f.byteOffset,f.length),g=m.getUint32(0);if(g>Math.pow(2,21)-1){d.enqueue(Xf);break}a=g*Math.pow(2,32)+m.getUint32(4),o=3}else{if(jl(n)<a)break;const f=Ol(n,a);d.enqueue(lm(l?f:uf.decode(f),t)),o=0}if(a===0||a>e){d.enqueue(Xf);break}}}})}const D1=4;function rt(e){if(e)return xI(e)}function xI(e){for(var t in rt.prototype)e[t]=rt.prototype[t];return e}rt.prototype.on=rt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};rt.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};rt.prototype.off=rt.prototype.removeListener=rt.prototype.removeAllListeners=rt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var o,a=0;a<n.length;a++)if(o=n[a],o===t||o.fn===t){n.splice(a,1);break}return n.length===0&&delete this._callbacks["$"+e],this};rt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(n){n=n.slice(0);for(var o=0,a=n.length;o<a;++o)n[o].apply(this,t)}return this};rt.prototype.emitReserved=rt.prototype.emit;rt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};rt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Oc=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),ln=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),wI="arraybuffer";function I1(e,...t){return t.reduce((n,o)=>(e.hasOwnProperty(o)&&(n[o]=e[o]),n),{})}const bI=ln.setTimeout,SI=ln.clearTimeout;function _c(e,t){t.useNativeTimers?(e.setTimeoutFn=bI.bind(ln),e.clearTimeoutFn=SI.bind(ln)):(e.setTimeoutFn=ln.setTimeout.bind(ln),e.clearTimeoutFn=ln.clearTimeout.bind(ln))}const EI=1.33;function CI(e){return typeof e=="string"?kI(e):Math.ceil((e.byteLength||e.size)*EI)}function kI(e){let t=0,n=0;for(let o=0,a=e.length;o<a;o++)t=e.charCodeAt(o),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(o++,n+=4);return n}function M1(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function AI(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function TI(e){let t={},n=e.split("&");for(let o=0,a=n.length;o<a;o++){let l=n[o].split("=");
vendor: 6,261 bytes, line 258
258t[decodeURIComponent(l[0])]=decodeURIComponent(l[1])}return t}class PI extends Error{constructor(t,n,o){super(t),this.description=n,this.context=o,this.type="TransportError"}}class cm extends rt{constructor(t){super(),this.writable=!1,_c(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,o){return super.emitReserved("error",new PI(t,n,o)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=lm(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=AI(t);return n.length?"?"+n:""}}class RI extends cm{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let o=0;this._polling&&(o++,this.once("pollComplete",function(){--o||n()})),this.writable||(o++,this.once("drain",function(){--o||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=o=>{if(this.readyState==="opening"&&o.type==="open"&&this.onOpen(),o.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(o)};gI(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,hI(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=M1()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let L1=!1;try{L1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const NI=L1;function jI(){}class OI extends RI{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let o=location.port;o||(o=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||o!==t.port}}doWrite(t,n){const o=this.request({method:"POST",data:t});o.on("success",n),o.on("error",(a,l)=>{this.onError("xhr post error",a,l)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,o)=>{this.onError("xhr poll error",n,o)}),this.pollXhr=t}}class Ln extends rt{constructor(t,n,o){super(),this.createRequest=t,_c(this,o),this._opts=o,this._method=o.method||"GET",this._uri=n,this._data=o.data!==void 0?o.data:null,this._create()}_create(){var t;const n=I1(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const o=this._xhr=this.createRequest(n);try{o.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){o.setDisableHeaderCheck&&o.setDisableHeaderCheck(!0);for(let a in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(a)&&o.setRequestHeader(a,this._opts.extraHeaders[a])}}catch{}if(this._method==="POST")try{o.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{o.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(o),"withCredentials"in o&&(o.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(o.timeout=this._opts.requestTimeout),o.onreadystatechange=()=>{var a;o.readyState===3&&((a=this._opts.cookieJar)===null||a===void 0||a.parseCookies(o.getResponseHeader("set-cookie"))),o.readyState===4&&(o.status===200||o.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof o.status=="number"?o.status:0)},0))},o.send(this._data)}catch(a){this.setTimeoutFn(()=>{this._onError(a)},0);return}typeof document<"u"&&(this._index=Ln.requestsCount++,Ln.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=jI,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ln.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ln.requestsCount=0;Ln.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",K0);else if(typeof addEventListener=="function"){const e="onpagehide"in ln?"pagehide":"unload";addEventListener(e,K0,!1)}}function K0(){for(let e in Ln.requests)Ln.requests.hasOwnProperty(e)&&Ln.requests[e].abort()}const _I=(function(){const e=V1({xdomain:!1});return e&&e.responseType!==null})();class DI extends OI{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=_I&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Ln(V1,this.uri(),t)}}function V1(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||NI))return new XMLHttpRequest}catch{}if(!t)try{return new ln[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const z1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class II extends cm{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,o=z1?{}:I1(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(o.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,o)}catch(a){return this.emitReserved("error",a)}
vendor: 9,515 bytes, line 258
258this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const o=t[n],a=n===t.length-1;im(o,this.supportsBinary,l=>{try{this.doWrite(o,l)}catch{}a&&Oc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=M1()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const df=ln.WebSocket||ln.MozWebSocket;class MI extends II{createSocket(t,n,o){return z1?new df(t,n,o):n?new df(t,n):new df(t)}doWrite(t,n){this.ws.send(n)}}class LI extends cm{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=yI(Number.MAX_SAFE_INTEGER,this.socket.binaryType),o=t.readable.pipeThrough(n).getReader(),a=vI();a.readable.pipeTo(t.writable),this._writer=a.writable.getWriter();const l=()=>{o.read().then(({done:d,value:f})=>{d||(this.onPacket(f),l())}).catch(d=>{})};l();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const o=t[n],a=n===t.length-1;this._writer.write(o).then(()=>{a&&Oc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const VI={websocket:MI,webtransport:LI,polling:DI},zI=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,qI=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Jf(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),o=e.indexOf("]");n!=-1&&o!=-1&&(e=e.substring(0,n)+e.substring(n,o).replace(/:/g,";")+e.substring(o,e.length));let a=zI.exec(e||""),l={},c=14;for(;c--;)l[qI[c]]=a[c]||"";return n!=-1&&o!=-1&&(l.source=t,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=FI(l,l.path),l.queryKey=UI(l,l.query),l}function FI(e,t){const n=/\/{2,9}/g,o=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&o.splice(0,1),t.slice(-1)=="/"&&o.splice(o.length-1,1),o}function UI(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(o,a,l){a&&(n[a]=l)}),n}const Zf=typeof addEventListener=="function"&&typeof removeEventListener=="function",Gl=[];Zf&&addEventListener("offline",()=>{Gl.forEach(e=>e())},!1);class Lr extends rt{constructor(t,n){if(super(),this.binaryType=wI,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const o=Jf(t);n.hostname=o.host,n.secure=o.protocol==="https"||o.protocol==="wss",n.port=o.port,o.query&&(n.query=o.query)}else n.host&&(n.hostname=Jf(n.host).host);_c(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(o=>{const a=o.prototype.name;this.transports.push(a),this._transportsByName[a]=o}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=TI(this.opts.query)),Zf&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Gl.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=D1,n.transport=t,this.id&&(n.sid=this.id);const o=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](o)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&Lr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Lr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let o=0;o<this.writeBuffer.length;o++){const a=this.writeBuffer[o].data;if(a&&(n+=CI(a)),o>0&&n>this._maxPayload)return this.writeBuffer.slice(0,o);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Oc(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,o){return this._sendPacket("message",t,n,o),this}send(t,n,o){return this._sendPacket("message",t,n,o),this}_sendPacket(t,n,o,a){if(typeof n=="function"&&(a=n,n=void 0),typeof o=="function"&&(a=o,o=null),this.readyState==="closing"||this.readyState==="closed")return;o=o||{},o.compress=o.compress!==!1;const l={type:t,data:n,options:o};this.emitReserved("packetCreate",l),this.writeBuffer.push(l),a&&this.once("flush",a),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},o=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?o():t()}):this.upgrading?o():t()),this}_onError(t){if(Lr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Zf&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const o=Gl.
vendor: 11,292 bytes, line 258
258indexOf(this._offlineEventListener);o!==-1&&Gl.splice(o,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Lr.protocol=D1;class BI extends Lr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),o=!1;Lr.priorWebsocketSuccess=!1;const a=()=>{o||(n.send([{type:"ping",data:"probe"}]),n.once("packet",y=>{if(!o)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Lr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{o||this.readyState!=="closed"&&(g(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const b=new Error("probe error");b.transport=n.name,this.emitReserved("upgradeError",b)}}))};function l(){o||(o=!0,g(),n.close(),n=null)}const c=y=>{const b=new Error("probe error: "+y);b.transport=n.name,l(),this.emitReserved("upgradeError",b)};function d(){c("transport closed")}function f(){c("socket closed")}function m(y){n&&y.name!==n.name&&l()}const g=()=>{n.removeListener("open",a),n.removeListener("error",c),n.removeListener("close",d),this.off("close",f),this.off("upgrading",m)};n.once("open",a),n.once("error",c),n.once("close",d),this.once("close",f),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{o||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let o=0;o<t.length;o++)~this.transports.indexOf(t[o])&&n.push(t[o]);return n}}let $I=class extends BI{constructor(t,n={}){const o=typeof t=="object"?t:n;(!o.transports||o.transports&&typeof o.transports[0]=="string")&&(o.transports=(o.transports||["polling","websocket","webtransport"]).map(a=>VI[a]).filter(a=>!!a)),super(t,o)}};function HI(e,t="",n){let o=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),o=Jf(e)),o.port||(/^(http|ws)$/.test(o.protocol)?o.port="80":/^(http|ws)s$/.test(o.protocol)&&(o.port="443")),o.path=o.path||"/";const l=o.host.indexOf(":")!==-1?"["+o.host+"]":o.host;return o.id=o.protocol+"://"+l+":"+o.port+t,o.href=o.protocol+"://"+l+(n&&n.port===o.port?"":":"+o.port),o}const WI=typeof ArrayBuffer=="function",KI=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,q1=Object.prototype.toString,GI=typeof Blob=="function"||typeof Blob<"u"&&q1.call(Blob)==="[object BlobConstructor]",QI=typeof File=="function"||typeof File<"u"&&q1.call(File)==="[object FileConstructor]";function um(e){return WI&&(e instanceof ArrayBuffer||KI(e))||GI&&e instanceof Blob||QI&&e instanceof File}function Ql(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,o=e.length;n<o;n++)if(Ql(e[n]))return!0;return!1}if(um(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Ql(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Ql(e[n]))return!0;return!1}function YI(e){const t=[],n=e.data,o=e;return o.data=ep(n,t),o.attachments=t.length,{packet:o,buffers:t}}function ep(e,t){if(!e)return e;if(um(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let o=0;o<e.length;o++)n[o]=ep(e[o],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=ep(e[o],t));return n}return e}function XI(e,t){return e.data=tp(e.data,t),delete e.attachments,e}function tp(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=tp(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=tp(e[n],t));return e}const JI=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Ee;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(Ee||(Ee={}));class ZI{constructor(t){this.replacer=t}encode(t){return(t.type===Ee.EVENT||t.type===Ee.ACK)&&Ql(t)?this.encodeAsBinary({type:t.type===Ee.EVENT?Ee.BINARY_EVENT:Ee.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===Ee.BINARY_EVENT||t.type===Ee.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=YI(t),o=this.encodeAsString(n.packet),a=n.buffers;return a.unshift(o),a}}class dm extends rt{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const o=n.type===Ee.BINARY_EVENT;o||n.type===Ee.BINARY_ACK?(n.type=o?Ee.EVENT:Ee.ACK,this.reconstructor=new eM(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(um(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const o={type:Number(t.charAt(0))};if(Ee[o.type]===void 0)throw new Error("unknown packet type "+o.type);if(o.type===Ee.BINARY_EVENT||o.type===Ee.BINARY_ACK){const l=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const c=t.substring(l,n);if(c!=Number(c)||t.charAt(n)!=="-")throw new Error("Illegal attachments");const d=Number(c);if(!tM(d)||d<0)throw new Error("Illegal attachments");if(d>this.opts.maxAttachments)throw new Error("too many attachments");o.attachments=d}if(t.charAt(n+1)==="/"){const l=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););o.nsp=t.substring(l,n)}else o.nsp="/";const a=t.charAt(n+1);if(a!==""&&Number(a)==a){const l=n+1;for(;++n;){const c=t.charAt(n);if(c==null||Number(c)!=c){--n;break}if(n===t.length)break}o.id=Number(t.substring(l,n+1))}if(t.charAt(++n)){const l=this.tryParse(t.substr(n));if(dm.isPayloadValid(o.type,l))o.data=l;else throw new Error("invalid payload")}return o}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case Ee.CONNECT:return G0(n);case Ee.DISCONNECT:return n===void 0;case Ee.CONNECT_ERROR:return typeof n=="string"||G0(n);case Ee.EVENT:case Ee.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&JI.indexOf(n[0])===-1);case Ee.ACK:case Ee.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class eM{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=XI(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const tM=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};function G0(e){return Object.prototype.toString.call(e)==="[object Object]"}const nM=Object.freeze(Object.defineProperty({__proto__:null,Decoder:dm,Encoder:ZI,get PacketType(){return Ee}},Symbol.toStringTag,{value:"Module"}));function bn(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const rM=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class F1 extends rt{constructor(t,n,o){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,o&&o.auth&&(this.auth=o.auth),this._opts=Object.assign({},o),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[bn(t,"open",this.onopen.bind(this)),bn(t,"packet",this.onpacket.bind(this)),bn(t,"error",this.onerror.bind(this)),bn(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var o,a,l;if(rM.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const c={type:Ee.EVENT,data:n};if(c.options={},c.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const g=this.ids++,y=n.pop();this._registerAckCallback(g,y),c.id=g}const d=(a=(o=this.io.engine)===null||o===void 0?void 0:o.transport)===null||a===void 0?void 0:a.writable,f=this.connected&&!(!((l=this.io.engine)===null||l===void 0)&&l._hasPingExpired());return this.flags.volatile&&!d||(f?(this.notifyOutgoingListeners(c),this.packet(c)):this.sendBuffer.push(c)),this.flags={},this}_registerAckCallback(t,n){var o;const a=(o=this.flags.timeout)!==null&&o!==void 0?o:this._opts.ackTimeout;if(a===void 0){this.acks[t]=n;return}const l=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===t&&this.sendBuffer.splice(d,1);n.call(this,new Error("operation has timed out"))},a),c=(...d)=>{this.io.clearTimeoutFn(l),n.apply(this,d)};c.withError=!0,this.acks[t]=c}emitWithAck(t,...n){return new Promise((o,a)=>{const l=(c,d)=>c?a(c):o(d);l.withError=!0,n.push(l),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const o={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((a,...l)=>(this._queue[0],a!==null?o.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(a)):(this._queue.shift(),n&&n(null,...l)),o.pending=!1,this._drainQueue())),this._queue.push(o),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:Ee.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 7,087 bytes, line 258
258_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(o=>String(o.id)===t)){const o=this.acks[t];delete this.acks[t],o.withError&&o.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case Ee.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Ee.EVENT:case Ee.BINARY_EVENT:this.onevent(t);break;case Ee.ACK:case Ee.BINARY_ACK:this.onack(t);break;case Ee.DISCONNECT:this.ondisconnect();break;case Ee.CONNECT_ERROR:this.destroy();const o=new Error(t.data.message);o.data=t.data.data,this.emitReserved("connect_error",o);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const o of n)o.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let o=!1;return function(...a){o||(o=!0,n.packet({type:Ee.ACK,id:t,data:a}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ee.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let o=0;o<n.length;o++)if(t===n[o])return n.splice(o,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let o=0;o<n.length;o++)if(t===n[o])return n.splice(o,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const o of n)o.apply(this,t.data)}}}function Ns(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ns.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};Ns.prototype.reset=function(){this.attempts=0};Ns.prototype.setMin=function(e){this.ms=e};Ns.prototype.setMax=function(e){this.max=e};Ns.prototype.setJitter=function(e){this.jitter=e};class np extends rt{constructor(t,n){var o;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,_c(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((o=n.randomizationFactor)!==null&&o!==void 0?o:.5),this.backoff=new Ns({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const a=n.parser||nM;this.encoder=new a.Encoder,this.decoder=new a.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new $I(this.uri,this.opts);const n=this.engine,o=this;this._readyState="opening",this.skipReconnect=!1;const a=bn(n,"open",function(){o.onopen(),t&&t()}),l=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),t?t(d):this.maybeReconnectOnOpen()},c=bn(n,"error",l);if(this._timeout!==!1){const d=this._timeout,f=this.setTimeoutFn(()=>{a(),l(new Error("timeout")),n.close()},d);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(a),this.subs.push(c),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(bn(t,"ping",this.onping.bind(this)),bn(t,"data",this.ondata.bind(this)),bn(t,"error",this.onerror.bind(this)),bn(t,"close",this.onclose.bind(this)),bn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Oc(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let o=this.nsps[t];return o?this._autoConnect&&!o.active&&o.connect():(o=new F1(this,t,n),this.nsps[t]=o),o}_destroy(t){const n=Object.keys(this.nsps);for(const o of n)if(this.nsps[o].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let o=0;o<n.length;o++)this.engine.write(n[o],t.options)}
258cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var o;this.cleanup(),(o=this.engine)===null||o===void 0||o.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const o=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(a=>{a?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",a)):t.onreconnect()}))},n);this.opts.autoUnref&&o.unref(),this.subs.push(()=>{this.clearTimeoutFn(o)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const wa={};function Yl(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=HI(e,t.path||"/socket.io"),o=n.source,a=n.id,l=n.path,c=wa[a]&&l in wa[a].nsps,d=t.forceNew||t["force new connection"]||t.multiplex===!1||c;let f;return d?f=new np(o,t):(wa[a]||(wa[a]=new np(o,t)),f=wa[a]),n.query&&!t.query&&(t.query=n.queryKey),f.socket(n.path,t)}Object.assign(Yl,{Manager:np,Socket:F1,io:Yl,connect:Yl});function Q0(e,t){var n;const o=Yl(e.serverUrl,{path:e.mountPath,transports:e.transports,query:{app_id:e.appId,token:(n=e.token)!==null&&n!==void 0?n:Ka()}});return o.on("connect",async()=>{var a;return console.log("connect",o.id),(a=t.connect)===null||a===void 0?void 0:a.call(t)}),o.on("update_model",async a=>{var l;return(l=t.update_model)===null||l===void 0?void 0:l.call(t,a)}),o.on("error",async a=>{var l;return(l=t.error)===null||l===void 0?void 0:l.call(t,a)}),o.on("connect_error",async a=>{var l;return console.error("connect_error",a),(l=t.error)===null||l===void 0?void 0:l.call(t,a)}),o}function oM({config:e}){let t={...e};const n={},o={connect:async()=>{const k=[];Object.keys(n).forEach(C=>{f(C);const S=y(C);S==null||S.forEach(({connect:E})=>{const T=async()=>E==null?void 0:E();k.push(T())})}),await Promise.all(k)},update_model:async k=>{const S=y(k.room).map(E=>{var T;return(T=E.update_model)===null||T===void 0?void 0:T.call(E,k)});await Promise.all(S)},error:async k=>{console.error("error",k);const C=Object.values(n).flat().map(S=>{var E;return(E=S.error)===null||E===void 0?void 0:E.call(S,k)});await Promise.all(C)}};let a=Q0(e,o);function l(){c()}function c(){a&&a.disconnect()}function d(k){l(),t={...t,...k},a=Q0(t,o)}function f(k){a.emit("join",k)}function m(k){a.emit("leave",k)}async function g(k,C){var S;const E=JSON.stringify(C);return(S=o.update_model)===null||S===void 0?void 0:S.call(o,{room:k,data:E})}function y(k){return n[k]}return{socket:a,subscribeToRoom:(k,C)=>(n[k]||(f(k),n[k]=[]),n[k].push(C),()=>{var S,E;n[k]=(E=(S=n[k])===null||S===void 0?void 0:S.filter(T=>T!==C))!==null&&E!==void 0?E:[],n[k].length===0&&m(k)}),updateConfig:d,updateModel:g,disconnect:c}}const ba=typeof window<"u"?window:{base44SharedInstances:{}};function sM(e,t){return ba.base44SharedInstances||(ba.base44SharedInstances={}),ba.base44SharedInstances[e]||(ba.base44SharedInstances[e]={instance:t()}),ba.base44SharedInstances[e].instance}const aM="__user_heartbeat_event__",iM="__initialization_event__",lM="__session_duration_event__",Y0="analytics-enable",X0="base44_analytics_session_id",cM={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},uM="analytics",Oe=sM(uM,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...cM,...yM()}})),dM=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:o})=>{var a;const{maxQueueSize:l,throttleTime:c,batchSize:d}=Oe.config;if(!(!((a=Oe.config)===null||a===void 0)&&a.enabled))return{track:()=>{},cleanup:()=>{}};let f;const m=`${t}/api/apps/${n}/analytics/track/batch`,g=async R=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:R}})},y=R=>{try{const N=JSON.stringify({events:R}),D=new Blob([N],{type:"application/json"});return typeof navigator>"u"||N.length>6e4||!navigator.sendBeacon(m,D)}catch{return!1}},b=async(R,N={})=>
258{if(R.length===0)return;const D=await vM(o),U=R.map(gM(D));try{(!N.isBeacon||!y(U))&&await g(U)}catch{}},k=()=>{Z0(b,{throttleTime:c,batchSize:d})},C=R=>{if(Oe.requestsQueue.length>=l)return;const N=hM();Oe.requestsQueue.push({...R,...N}),k()},S=()=>{Z0(b,{throttleTime:c,batchSize:d}),f=ex(C),pM()},E=()=>{J0(),f==null||f(),mM(C);const R=Oe.requestsQueue.splice(0);b(R,{isBeacon:!0})},T=()=>{typeof window>"u"||(document.visibilityState==="hidden"?E():document.visibilityState==="visible"&&S())},j=()=>{J0(),f==null||f(),typeof window<"u"&&window.removeEventListener("visibilitychange",T)};return k(),f=ex(C),fM(C),typeof window<"u"&&window.addEventListener("visibilitychange",T),{track:C,cleanup:j}};function J0(){Oe.isProcessing=!1}async function Z0(e,t){if(Oe.isProcessing)return;Oe.isProcessing=!0;const{throttleTime:n=1e3,batchSize:o=30}=t??{};for(;Oe.isProcessing&&Oe.requestsQueue.length>0;){const a=Oe.requestsQueue.splice(0,o);a.length&&await e(a),await new Promise(l=>setTimeout(l,n))}Oe.isProcessing=!1}function ex(e){var t;if(Oe.isHeartBeatProcessing||((t=Oe.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Oe.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:aM})},Oe.config.heartBeatInterval);return()=>{clearInterval(n),Oe.isHeartBeatProcessing=!1}}function fM(e){typeof window>"u"||Oe.wasInitializationTracked||(Oe.wasInitializationTracked=!0,e({eventName:iM,properties:{referrer:document==null?void 0:document.referrer}}))}function pM(){typeof window>"u"||Oe.sessionStartTime!==null||(Oe.sessionStartTime=new Date().toISOString())}function mM(e){if(typeof window>"u"||Oe.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Oe.sessionStartTime).getTime();Oe.sessionStartTime=null,e({eventName:lM,properties:{sessionDuration:t}})}function hM(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function gM(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let ff=null;async function vM(e){if(!Oe.sessionContext){if(!ff){const t=xM();ff=e.me().then(n=>({user_id:n.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Oe.sessionContext=await ff}return Oe.sessionContext}function yM(){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search).get(Y0);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(Y0);const o=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",o),{enabled:t==="true"}}function xM(){if(typeof window>"u")return af();try{const e=localStorage.getItem(X0);if(!e){const t=af();return localStorage.setItem(X0,t),t}return e}catch{return af()}}function wM(e){var t,n;const{serverUrl:o="https://base44.app",appId:a,token:l,serviceToken:c,requiresAuth:d=!1,appBaseUrl:f,options:m,functionsVersion:g,headers:y}=e,b=typeof f=="string"?f:"",k={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:a,token:l};let C=null;const S=()=>(C||(C=oM({config:k})),C),E={...y,"X-App-Id":String(a)},T=g?{...E,"Base44-Functions-Version":g}:E,j=Aa({baseURL:`${o}/api`,headers:E,token:l,onError:m==null?void 0:m.onError}),R=Aa({baseURL:`${o}/api`,headers:T,token:l,interceptResponses:!1,onError:m==null?void 0:m.onError}),N={...E,...l?{"on-behalf-of":`Bearer ${l}`}:{}},D=Aa({baseURL:`${o}/api`,headers:N,token:c,onError:m==null?void 0:m.onError}),U=Aa({baseURL:`${o}/api`,headers:T,token:c,interceptResponses:!1}),B=sI(j,R,a,{appBaseUrl:b}),M={entities:z0({axios:j,appId:a,getSocket:S}),integrations:q0(j,a),connectors:lI(j,a),auth:B,functions:F0(R,a,{getAuthHeaders:()=>{const ue={},Te=l||Ka();return Te&&(ue.Authorization=`Bearer ${Te}`),ue},baseURL:(t=R.defaults)===null||t===void 0?void 0:t.baseURL}),agents:U0({axios:j,getSocket:S,appId:a,serverUrl:o,token:l}),appLogs:B0(j,a),users:uI(j,a),analytics:dM({axiosClient:j,serverUrl:o,appId:a,userAuthModule:B}),cleanup:()=>{M.analytics.cleanup(),C&&C.disconnect()}},Y={entities:z0({axios:D,appId:a,getSocket:S}),integrations:q0(D,a),sso:aI(D,a),connectors:iI(D,a),functions:F0(U,a,{getAuthHeaders:()=>{const ue={};return c&&(ue.Authorization=`Bearer ${c}`),ue},baseURL:(n=U.defaults)===null||n===void 0?void 0:n.baseURL}
258),agents:U0({axios:D,getSocket:S,appId:a,serverUrl:o,token:l}),appLogs:B0(D,a),cleanup:()=>{C&&C.disconnect()}};if(typeof window<"u"){const ue=l||Ka();ue&&M.auth.setToken(ue)}return d&&typeof window<"u"&&setTimeout(async()=>{try{await M.auth.isAuthenticated()||M.auth.redirectToLogin(window.location.href)}catch(ue){console.error("Authentication check failed:",ue),M.auth.redirectToLogin(window.location.href)}},0),{...M,setToken(ue){M.auth.setToken(ue),C&&C.updateConfig({token:ue}),k.token=ue},getConfig(){return{serverUrl:o,appId:a,requiresAuth:d}},get asServiceRole(){if(!c)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return Y}}}const U1=typeof window>"u",bM=U1?{localStorage:new Map}:window,Ia=bM.localStorage,SM=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),es=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>{if(U1)return t;const o=`base44_${SM(e)}`,a=new URLSearchParams(window.location.search),l=a.get(e);if(n){a.delete(e);const d=`${window.location.pathname}${a.toString()?`?${a.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}if(l)return Ia.setItem(o,l),l;if(t)return Ia.setItem(o,t),t;const c=Ia.getItem(o);return c||null},EM=()=>(es("clear_access_token")==="true"&&(Ia.removeItem("base44_access_token"),Ia.removeItem("token")),{appId:es("app_id",{defaultValue:void 0}),token:es("access_token",{removeFromUrl:!0}),fromUrl:es("from_url",{defaultValue:window.location.href}),functionsVersion:es("functions_version",{defaultValue:void 0}),appBaseUrl:es("app_base_url",{defaultValue:void 0})}),Pa={...EM()},{appId:CM,token:kM,functionsVersion:AM,appBaseUrl:TM}=Pa,_l=wM({appId:CM,token:kM,functionsVersion:AM,serverUrl:"",requiresAuth:!1,appBaseUrl:TM}),B1=x.createContext(),PM=({children:e})=>{const[t,n]=x.useState(null),[o,a]=x.useState(!1),[l,c]=x.useState(!0),[d,f]=x.useState(!0),[m,g]=x.useState(null),[y,b]=x.useState(null);x.useEffect(()=>{k()},[]);const k=async()=>{var T,j;try{f(!0),g(null);const R=Aa({baseURL:"/api/apps/public",headers:{"X-App-Id":Pa.appId},token:Pa.token,interceptResponses:!0});try{const N=await R.get(`/prod/public-settings/by-id/${Pa.appId}`);b(N),Pa.token?await C():(c(!1),a(!1)),f(!1)}catch(N){if(console.error("App state check failed:",N),N.status===403&&((j=(T=N.data)==null?void 0:T.extra_data)!=null&&j.reason)){const D=N.data.extra_data.reason;g(D==="auth_required"?{type:"auth_required",message:"Authentication required"}:D==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:D,message:N.message})}else g({type:"unknown",message:N.message||"Failed to load app"});f(!1),c(!1)}}catch(R){console.error("Unexpected error:",R),g({type:"unknown",message:R.message||"An unexpected error occurred"}),f(!1),c(!1)}},C=async()=>{try{c(!0);const T=await _l.auth.me();n(T),a(!0),c(!1)}catch(T){console.error("User auth check failed:",T),c(!1),a(!1),(T.status===401||T.status===403)&&g({type:"auth_required",message:"Authentication required"})}},S=(T=!0)=>{n(null),a(!1),T?_l.auth.logout(window.location.href):_l.auth.logout()},E=()=>{_l.auth.redirectToLogin(window.location.href)};return h.jsx(B1.Provider,{value:{user:t,isAuthenticated:o,isLoadingAuth:l,isLoadingPublicSettings:d,authError:m,appPublicSettings:y,logout:S,navigateToLogin:E,checkAppState:k},children:e})},RM=()=>{const e=x.useContext(B1);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},NM=()=>h.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:h.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:h.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),h.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),h.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),h.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[h.jsx("p",{children:"If you believe this is an error, you can:"}),h.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[h.jsx("li",{children:"Verify you are logged in with the correct account"}),h.jsx("li",{children:"Contact the app administrator for access"}),h.jsx("li",{children:"Try logging out and back in again"})]})]})]})})});function jM(){return h.jsxs("section",{className:"relative flex min-h-[82svh] items-center justify-center overflow-hidden sm:min-h-[88vh]",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-background to-accent/30"}),h.jsx("div",{className:"pointer-events-none absolute right-[-120px] top-16 h-[320px] w-[320px] rounded-full bg-primary/5 blur-3xl sm:right-0 sm:top-20 sm:h-[500px] sm:w-[500px] md:h-[600px] md:w-[600px]"}),h.jsx("div",{className:"pointer-events-none absolute bottom-0 left-[-90px] h-[260px] w-[260px] rounded-full bg-accent/20 blur-3xl sm:left-0 sm:h-[340px] sm:w-[340px] md:h-[400px] md:w-[400px]"}),h.jsx("div",{className:"relative z-10 mx-auto max-w-7xl px-4 pb-14 pt-20 text-center sm:px-6 sm:pt-24 lg:px-8",children:h.jsxs(nt.div,{initial:{opacity:0,y:30}
258,animate:{opacity:1,y:0},transition:{duration:.8},className:"my-10 sm:my-16",children:[h.jsxs("div",{className:"mb-8 inline-flex items-center gap-2 rounded-lg border border-primary/10 bg-accent px-3 py-2 sm:px-4",children:[h.jsx(RA,{className:"w-4 h-4 text-primary"}),h.jsx("span",{className:"text-xs font-medium text-accent-foreground sm:text-sm",children:"Robusto, flexÃvel e escalável"})]}),h.jsxs("h1",{className:"mx-auto max-w-5xl text-3xl font-semibold leading-tight tracking-tight text-foreground sm:text-5xl md:text-6xl lg:text-7xl",children:["Mais que um Hub de integrações"," ",h.jsx("span",{className:"text-primary",children:"um parceiro estratégico de tecnologia"})]}),h.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-base leading-relaxed text-muted-foreground sm:text-lg md:text-xl",children:"O que há de melhor em integrações para e-commerce e marketplace"}),h.jsxs("div",{className:"mt-10 flex flex-col justify-center gap-3 sm:flex-row sm:gap-4",children:[h.jsx(Ze,{asChild:!0,size:"lg",className:"w-full rounded-lg px-6 py-6 text-base font-semibold shadow-lg shadow-primary/25 sm:w-auto sm:px-8 bg-primary hover:bg-primary/90 text-primary-foreground",children:h.jsxs("a",{href:"#contato",children:["Solicite uma demo",h.jsx(xs,{className:"w-5 h-5 ml-2"})]})}),h.jsx(Ze,{asChild:!0,size:"lg",variant:"outline",className:"w-full rounded-lg border-border px-6 py-6 text-base font-semibold sm:w-auto sm:px-8",children:h.jsx("a",{href:"#solucoes",children:"Conheça as soluções"})})]})]})})]})}const tx="/assets/external/client-logos-strip.png";function OM(){return h.jsx("section",{className:"border-y border-border/50 bg-muted/30 py-12 sm:py-16",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"flex flex-col items-center gap-8 md:flex-row md:gap-12",children:[h.jsxs("div",{className:"shrink-0 text-center md:text-left",children:[h.jsx("p",{className:"text-2xl font-bold text-primary sm:text-3xl",children:"+1000"}),h.jsx("p",{className:"mt-1 max-w-[240px] text-sm leading-relaxed text-muted-foreground",children:"empresas confiam no Vtrina para gestão de vendas e integrações no e-commerce e marketplaces"})]}),h.jsx("div",{className:"w-full flex-1 overflow-hidden",children:h.jsxs("div",{className:"flex min-w-max gap-0 animate-scroll-left",children:[h.jsx("img",{src:tx,alt:"Clientes Vtrina",loading:"lazy",decoding:"async",className:"h-10 w-auto shrink-0 object-contain sm:h-12 md:h-14"}),h.jsx("img",{src:tx,alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",className:"h-10 w-auto shrink-0 object-contain sm:h-12 md:h-14"})]})})]})})})}const _M=[{icon:gA,title:"B2B e B2C",description:"Expanda seu modelo de negócio para os canais digitais com eficiência e eficácia"},{icon:Kk,title:"Omnichannel e Multicanal",description:"Forneça uma experiência integrada entre os canais online e offline"},{icon:AA,title:"Multiorigem e Ship From Store",description:"Conecte os estoques dos seus CDs, Dark Stores e lojas fÃsicas aos seus canais digitais com nossa tecnologia multi-estoque"},{icon:CA,title:"D2C",description:"Acelere a digitalização e a aproximação com seu cliente final através do nosso SaaS integrado aos canais de venda"}];function DM(){return h.jsx("section",{className:"bg-background py-14 sm:py-20 lg:py-24",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 text-center sm:mb-14 md:mb-16",children:h.jsxs("h2",{className:"text-2xl font-bold text-foreground sm:text-4xl",children:["Hub de integração para e-commerces",h.jsx("br",{}),"de pequeno, médio e grande porte"]})}),h.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6 lg:grid-cols-4",children:_M.map((e,t)=>h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:"group relative rounded-2xl border border-border/50 bg-card p-5 transition-all duration-300 hover:border-primary/30 hover:shadow-lg hover:shadow-
258primary/5 sm:p-6",children:[h.jsx("div",{className:"w-12 h-12 rounded-xl bg-accent flex items-center justify-center mb-4 group-hover:bg-primary/10 transition-colors",children:h.jsx(e.icon,{className:"w-6 h-6 text-primary"})}),h.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:e.title}),h.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e.description}),h.jsx(xs,{className:"w-4 h-4 text-primary mt-4 opacity-0 group-hover:opacity-100 transition-opacity"})]},e.title))})]})})}function nx({quote:e,author:t,role:n,reverse:o,logoUrl:a,logoAlt:l}){return h.jsx("section",{className:`py-12 sm:py-16 ${o?"bg-muted/30":"bg-accent/30"}`,children:h.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[a&&h.jsx("img",{src:a,alt:l||t||"Logo do cliente",loading:"lazy",decoding:"async",className:"mx-auto mb-6 h-10 object-contain sm:h-12"}),h.jsx(uA,{className:"w-10 h-10 text-primary/30 mx-auto mb-6"}),h.jsxs("blockquote",{className:"text-base font-medium italic leading-relaxed text-foreground sm:text-lg md:text-xl",children:['"',e,'"']}),h.jsxs("div",{className:"mt-6",children:[t&&h.jsx("p",{className:"font-bold text-foreground",children:t}),n&&h.jsx("p",{className:"text-sm text-muted-foreground",children:n})]})]})})})}const IM=[{icon:fA,title:"Hub de Integração",description:"SaaS 100% cloud para gestão unificada de vendas multicanais, em lojas virtuais e marketplaces"},{icon:Bk,title:"Middleware",description:"Orquestrador de integrações para operações de alta complexidade"},{icon:lA,title:"White Label",description:"Fornecedor de software para empresas que buscam verticalizar com soluções de hub de integração"}];function MM(){return h.jsx("section",{id:"solucoes",className:"bg-background py-14 sm:py-20 lg:py-24",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 text-center sm:mb-14 md:mb-16",children:h.jsxs("h2",{className:"text-2xl font-bold text-foreground sm:text-4xl",children:["SaaS e integrações para e-commerce",h.jsx("br",{}),"com robustez, flexibilidade e confiabilidade"]})}),h.jsx("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3 md:gap-6 lg:gap-8",children:IM.map((e,t)=>h.jsx(nt.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.15},className:"relative group",children:h.jsxs("div",{className:"h-full rounded-2xl border border-border/50 bg-gradient-to-b from-accent/50 to-background p-5 transition-all duration-300 hover:border-primary/30 hover:shadow-xl hover:shadow-primary/5 sm:p-8",children:[h.jsx("div",{className:"w-14 h-14 rounded-2xl bg-primary/10 flex items-center justify-center mb-6",children:h.jsx(e.icon,{className:"w-7 h-7 text-primary"})}),h.jsx("h3",{className:"text-xl font-bold text-foreground mb-3",children:e.title}),h.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]})},e.title))})]})})}function LM({ecosystemImage:e}){return h.jsx("section",{id:"integracoes",className:"bg-muted/20 py-14 sm:py-20 lg:py-24",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"grid grid-cols-1 items-center gap-10 md:gap-12 lg:grid-cols-2 lg:gap-16",children:[h.jsxs(nt.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[h.jsxs("h2",{className:"text-2xl font-bold leading-tight text-foreground sm:text-4xl",children:["Centenas de"," ",h.jsx("span",{className:"text-primary",children:"integrações"})," ","e know-how para novas conexões"]}),h.jsx("p",{className:"mt-5 text-base leading-relaxed text-muted-foreground sm:mt-6 sm:text-lg",children:"Canais de venda, ERPs, gateways de frete e o que mais sua marca precisar para vender mais. Customizações on demand para necessidades especÃficas."}),h.jsx(Ze,{asChild:!0,size:"lg",className:"mt-8 h-11 rounded-[10px] bg-primary px-6 text-sm font-medium text-primary-foreground hover:bg-primary/90 sm:px-8",children:h.jsxs("a",{href:"#contato",children:["Solicite uma demo",h.jsx(xs,{className:"w-5 h-5 ml-2"})]})})]}),h.jsx(nt.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:h.jsx("img",{src:e||"/assets/external/integrations-ecossistema.png",alt:"Ecossistema de integrações Vtrina",loading:"lazy",decoding:"async",className:"w-full rounded-2xl"})})]})})})}const rx=[{icon:Pv,title:"Gestão de Estoque",image:"/assets/external/feature-estoque.jpg",description:`Conecte e gerencie de forma unificada seus estoques e comunique as informações nos canais de venda. 259
260Liberdade para aplicar estratégias de multi-estoque e prateleira infinita nos canais digitais. 261 262CDs, Dark Stores, Fulfillments, Lojas fÃsicas. 263 264`,details:""},{icon:yA,title:"Gestão de Anúncios",image:"/assets/external/feature-anuncios.jpg",description:`Individualmente ou em massa, gerencie os anúncios dos seus canais de venda e personalize de acordo com as particularidades dos canais. 265 266 Os SKUs são enviados do ERP para o Vtrina, onde você personaliza e configura de acordo com as necessidades e estratégias do seu negócio. 267 268 De/Para de categorias e personalização para os canais. 269 270 Defina os preços dos SKUs por canais, aplique regras, markup e programe promoções com datas de inÃcio e fim. 271 272 Trava de preço Vtrina: segurança e prevenção para precificação saudável e estratégica. 273 274 Considere as especificações de cada canal, comissionamento e margem de acordo com sua estratégia. 275 276 `,details:""},{icon:Xk,title:"Campanhas de Frete",image:"/assets/external/feature-campanhas-frete.jpg",description:`LogÃstica como diferencial competitivo, com estratégia e controle. 277 278 Liberdade para aplicar descontos por: 279 280 Região, faixa de CEP 281 Canal de vendas 282 SKUs (manual ou em massa) 283 Data de inÃcio e fim 284 Percentual de desconto e frete grátis 285 Frete Fixo através do upload da tabela 286 `,details:""},{icon:SA,title:"Cálculo de Frete",image:"/assets/external/feature-frete.jpg",description:`Flexibilidade e alta performance. Usufrua de um cálculo de frete conectado e confiável nos seus canais de venda. 287 288Transportadoras próprias, regionais, Correios, gateways de frete e o que mais sua operação precisar. 289 290`,details:""},{icon:Pv,title:"Picking & Packing",image:"/assets/external/feature-picking-packing.jpg",description:`Usufrua de um Ponto de Vendas para suas lojas fÃsicas integrado a todo o seu ecossistema digital. 291 292Forneça uma experiência de compra phyigital, com suas vendas on e off centralizadas em um só lugar. 293 294`,details:""},{icon:Qk,title:"Entregas & Rastreio",image:"/assets/external/feature-entregas-rastreio.jpg",description:`Receba as atualizações de rastreio das transportadoras, centralize dentro do Vtrina. 295 296Integre o que precisar, TMS, Gateway, transportadoras e Correios. 297 298Forneça uma experiência que encanta e fideliza com rastreabilidade de ponta a ponta. 299 300Nos canais que seu cliente estiver, mantenha-o informado sobre os status de pedido e de entrega. 301 302E-mail 303SMS 304WhatsApp 305Plataforma 306Marketplace 307ERP 308`,details:""},{icon:sA,title:"PDVs",image:"/assets/external/feature-pdvs.jpg",description:`Usufrua de um Ponto de Vendas para suas lojas fÃsicas integrado a todo o seu ecossistema digital. 309 310Forneça uma experiência de compra phyigital, com suas vendas on e off centralizadas em um só lugar. 311 312`,details:""},{icon:Nk,title:"Dashboards e KPIs",image:"/assets/external/feature-kpis.jpg",description:"Gestão à vista para sua operação multicanal com indicadores de performance.",details:`Gestão à vista para sua operação multicanal. 313 314Explore diferentes nÃveis de insights com os principais indicadores de performance e produtos para uma operação de e-commerce de alto rendimento. 315 316`},{icon:mA,title:"Gestão de Acessos",image:"/assets/external/feature-gestao-acessos.jpg",description:"Controle de acessos e usuários ilimitados com logs e registros de alterações.",details:`Controles de acessos e usuários ilimitados para sua equipe, com logs e registros de alterações. 317 318Explore todas as possibilidades, mas com total controle e visibilidade. 319 320Tenha visibilidade total e em tempo real sobre as movimentações de seus canais. 321 322`}];function VM(){const[e,t]=x.useState(0),n=rx[e],o=n.description.split(` 323`).map(l=>l.trim()).filter(Boolean),a=n.details.split(` 324`).map(l=>l.trim()).filter(Boolean);return h.jsx("section",{id:"funcionalidades",className:"bg-background py-14 sm:py-20 lg:py-24",children:h.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 text-center sm:mb-14 md:mb-16",children:h.jsxs("h2",{className:"text-2xl font-bold text-foreground sm:text-4xl",children:["Toda a jornada de venda com o que há de melhor",h.jsx("br",{}),"para gestão e escalabilidade"]}
324)}),h.jsxs("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-12 lg:gap-8",children:[h.jsx("div",{className:"lg:col-span-4 space-y-2",children:rx.map((l,c)=>h.jsxs("button",{type:"button",onClick:()=>t(c),className:`flex min-h-12 w-full items-center gap-3 rounded-xl p-4 text-left transition-all duration-300 ${e===c?"bg-primary/10 border border-primary/20":"hover:bg-muted border border-transparent"}`,children:[h.jsx(l.icon,{className:`w-5 h-5 shrink-0 ${e===c?"text-primary":"text-muted-foreground"}`}),h.jsx("span",{className:`text-sm font-medium whitespace-pre-line ${e===c?"text-foreground":"text-muted-foreground"}`,children:l.title}),e===c&&h.jsx(Ox,{className:"w-4 h-4 text-primary ml-auto"})]},l.title))}),h.jsx("div",{className:"lg:col-span-8",children:h.jsx(bp,{mode:"wait",children:h.jsxs(nt.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"h-full rounded-2xl border border-border/50 bg-gradient-to-br from-accent/50 via-background to-primary/5 p-5 sm:p-6 md:p-10 lg:p-12",children:[n.image&&h.jsx("img",{src:n.image,alt:n.title,loading:"lazy",decoding:"async",className:"mb-6 h-44 w-full rounded-xl object-cover sm:h-48"}),h.jsx("div",{className:"w-14 h-14 rounded-2xl bg-primary/10 flex items-center justify-center mb-6",children:je.createElement(n.icon,{className:"w-7 h-7 text-primary"})}),h.jsx("h3",{className:"mb-4 text-xl font-bold text-foreground sm:text-2xl",children:n.title}),h.jsx("div",{className:"space-y-3",children:o.map((l,c)=>h.jsx("p",{className:"text-base leading-relaxed text-muted-foreground sm:text-lg",children:l},`description-${c}`))}),a.length?h.jsx("div",{className:"mt-4 space-y-3",children:a.map((l,c)=>h.jsx("p",{className:"text-base leading-relaxed text-muted-foreground",children:l},`details-${c}`))}):null]},e)})})]})]})})}const zM=[{number:"+1.000",label:"Empresas confiam no Vtrina"},{number:"+15",label:"Certificações de marketplace"},{number:"+200",label:"Integrações disponÃveis"},{number:"99.9%",label:"Uptime da plataforma"}];function qM(){return h.jsxs(h.Fragment,{children:[h.jsxs("section",{className:"relative overflow-hidden bg-foreground py-14 sm:py-20 lg:py-24",children:[h.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/20 to-transparent"}),h.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 text-center sm:mb-14 md:mb-16",children:[h.jsx("h2",{className:"text-2xl font-bold text-background sm:text-4xl",children:"O Vtrina em números"}),h.jsx("p",{className:"mt-4 text-base text-[hsl(var(--accent))] sm:text-lg",children:"Per(feito) para cada momento da jornada da sua empresa"})]}),h.jsx("div",{className:"grid grid-cols-2 gap-5 sm:gap-8 md:grid-cols-4",children:zM.map((e,t)=>h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},className:"text-center",children:[h.jsx("p",{className:"text-3xl font-extrabold text-[hsl(var(--card))] sm:text-4xl md:text-5xl",children:e.number}),h.jsx("p",{className:"mt-2 text-xs text-[hsl(var(--accent))] sm:text-sm",children:e.label})]},e.label))})]})]}),h.jsx("section",{className:"py-16 bg-white",children:h.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[h.jsx("p",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-widest mb-6",children:"Certificações que mostram nosso know-how e expertise"}),h.jsx("img",{src:"/assets/external/stats-plus-15.svg",alt:"+15 Certificações",loading:"lazy",decoding:"async",className:"mx-auto h-32 w-auto object-contain"})]})})}),h.jsx("section",{className:"py-16 bg-foreground relative overflow-hidden",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[h.jsx("p",{className:"text-[hsl(var(--secondary))] mb-8 text-xl font-semibold",children:"Mais de 1.000 empresas confiam no Vtrina"}),h.jsx("img",{src:"/assets/external/stats-clientes-vtrina.png",alt:"Clientes Vtrina",loading:"lazy",decoding:"async",className:"mx-auto w-full max-w-6xl rounded-xl pb-1 opacity-100"})]})})})]})}const Sa=[{coverImage:"/assets/external/testimonial-morena-rosa-capa.png",quote:"Nosso objetivo é sempre evoluir a operação com inteligência, buscando mais eficiência, ganho de performance e melhor aproveitamento dos recursos. Nesse contexto, o Vtrina tem somado e apoiado esse movimento.",ph
324oto:"/assets/external/testimonial-perfil-julia.png",name:"Juliana Queiroz de Azevedo",role:"Head de B2C",company:"Grupo Morena Rosa"},{coverImage:"/assets/external/testimonial-hanes-capa.png",quote:"O Vtrina oferece um serviço extremamente diferenciado no mercado de e-commerce, que é a parceria, o entendimento do negócio do cliente, entendendo a sensibilidade que existe por trás disso e, por fim, entregando um trabalho de resultados a um custo competitivo.",photo:"/assets/external/testimonial-perfil-hanes.png",name:"Marcelo Froes",role:"LATAM IT Senior Manager",company:"Hanes Brands"},{coverImage:"/assets/external/testimonial-probel-logo.webp",quote:"A parceria entre a Probel e o Vtrina é um exemplo de como tecnologia e humanização podem caminhar juntas. Desde o inÃcio dessa jornada, trabalhamos lado a lado, crescendo e evoluindo juntos. Hoje, o Vtrina é muito mais do que um hub de integração para nós â eles se tornaram uma extensão do nosso time.",photo:"/assets/external/testimonial-perfil-probel.jpg",name:"Ricardo Pinto",role:"Head de E-commerce",company:"Probel"},{coverImage:"/assets/external/testimonial-espaco-smart-logo.png",quote:"O Vtrina é o nosso grande parceiro quando o assunto é integração. Hoje a ferramenta é utilizada para trazer mais segurança nas nossas integrações, trazendo todos os nossos canais centralizados e gerenciados em um só lugar.",photo:"/assets/external/testimonial-perfil-espaco-smart.png",name:"Rodrigo Brandão",role:"Gerente de Marketing & E-commerce",company:"Espaço Smart"},{coverImage:"/assets/external/testimonial-esporte-legal-logo.png",quote:"à uma parceria que é muito sólida e possui muito potencial de crescimento, que o time Vtrina dispõe a entender de fato nossas necessidades e entregar o melhor possÃvel.",photo:"/assets/external/testimonial-perfil-esporte-legal.png",name:"Lucas Gandra",role:"Gerente de E-commerce",company:"Esporte Legal"}];function FM(){const[e,t]=x.useState(0),n=()=>t(l=>(l+1)%Sa.length),o=()=>t(l=>(l-1+Sa.length)%Sa.length),a=Sa[e];return h.jsx("section",{id:"clientes",className:"bg-background py-14 sm:py-20 lg:py-24",children:h.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[h.jsx(nt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mb-10 text-center sm:mb-12",children:h.jsx("h2",{className:"text-2xl font-bold text-foreground sm:text-4xl",children:"O que nossos clientes falam de nós"})}),h.jsxs("div",{className:"relative",children:[h.jsx("div",{className:"flex min-h-[420px] items-center sm:min-h-[360px]",children:h.jsx(bp,{mode:"wait",children:h.jsx(nt.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},exit:{opacity:0,x:-50},transition:{duration:.4},className:"w-full",children:h.jsxs("div",{className:"grid grid-cols-1 items-center gap-6 md:grid-cols-2 md:gap-10",children:[h.jsx("div",{className:"flex items-center justify-center",children:h.jsx("img",{src:a.coverImage,alt:a.company,loading:"lazy",decoding:"async",className:"aspect-square w-full max-w-[240px] rounded-2xl object-cover shadow-lg sm:max-w-xs"})}),h.jsxs("div",{className:"text-left",children:[h.jsxs("blockquote",{className:"text-base font-medium leading-relaxed text-foreground sm:text-lg lg:text-xl",children:['"',a.quote,'"']}),h.jsxs("div",{className:"mt-8 flex items-center gap-4",children:[h.jsx("img",{src:a.photo,alt:a.name,loading:"lazy",decoding:"async",className:"h-12 w-12 shrink-0 rounded-full border-2 border-border object-cover sm:h-14 sm:w-14"}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-bold text-foreground sm:text-base",children:a.name}),h.jsxs("p",{className:"text-xs text-muted-foreground sm:text-sm",children:[a.role," na ",a.company]})]})]})]})]})},e)})}),h.jsxs("div",{className:"mt-8 flex flex-wrap items-center justify-center gap-3 sm:gap-4",children:[h.jsx(Ze,{variant:"outline",size:"icon",onClick:o,className:"rounded-full","aria-label":"Depoimento anterior",children:h.jsx(Mk,{className:"w-5 h-5"})}),h.jsx("div",{className:"flex gap-2",children:Sa.map((l,c)=>h.jsx("button",{onClick:()=>t(c),"aria-label":`Ir para depoimento ${c+1}`,className:`h-3 rounded-full transition-all ${c===e?"bg-primary w-8":"bg-border w-3"}`},c))}),h.jsx(Ze,{variant:"outline",size:"icon",onClick:n,className:"rounded-full","aria-label":"Próximo depoimento",children:h.jsx(Ox,{className:"w-5 h-5"})})]})]})]})})}const os=x.forwardRef(({className:e,type:t,...n},o)=>h.jsx("input",{type:t,className:Ie("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:o,...n}));os.displayName="Input";var UM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],BM=UM.reduce((e,t)=>
vendor: 5,195 bytes, line 324
324{const n=Xb(`Primitive.${t}`),o=x.forwardRef((a,l)=>{const{asChild:c,...d}=a,f=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(f,{...d,ref:l})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),$M="Label",$1=x.forwardRef((e,t)=>h.jsx(BM.label,{...e,ref:t,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=e.onMouseDown)==null||a.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));$1.displayName=$M;var H1=$1;const HM=up("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),uo=x.forwardRef(({className:e,...t},n)=>h.jsx(H1,{ref:n,className:Ie(HM(),e),...t}));uo.displayName=H1.displayName;const W1=x.forwardRef(({className:e,...t},n)=>h.jsx("textarea",{className:Ie("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));W1.displayName="Textarea";function WM(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Array(12).fill(0);let rp=1;class KM{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:o,...a}=t,l=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:rp++,c=this.toasts.find(f=>f.id===l),d=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(l)&&this.dismissedToasts.delete(l),c?this.toasts=this.toasts.map(f=>f.id===l?(this.publish({...f,...t,id:l,title:o}),{...f,...t,id:l,dismissible:d,title:o}):f):this.addToast({title:o,...a,dismissible:d,id:l}),l},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(o=>o({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let o;n.loading!==void 0&&(o=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let l=o!==void 0,c;const d=a.then(async m=>{if(c=["resolve",m],je.isValidElement(m))l=!1,this.create({id:o,type:"default",message:m});else if(QM(m)&&!m.ok){l=!1;const y=typeof n.error=="function"?await n.error(`HTTP error! status: ${m.status}`):n.error,b=typeof n.description=="function"?await n.description(`HTTP error! status: ${m.status}`):n.description,C=typeof y=="object"&&!je.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:b,...C})}else if(m instanceof Error){l=!1;const y=typeof n.error=="function"?await n.error(m):n.error,b=typeof n.description=="function"?await n.description(m):n.description,C=typeof y=="object"&&!je.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:b,...C})}else if(n.success!==void 0){l=!1;const y=typeof n.success=="function"?await n.success(m):n.success,b=typeof n.description=="function"?await n.description(m):n.description,C=typeof y=="object"&&!je.isValidElement(y)?y:{message:y};this.create({id:o,type:"success",description:b,...C})}}).catch(async m=>{if(c=["reject",m],n.error!==void 0){l=!1;const g=typeof n.error=="function"?await n.error(m):n.error,y=typeof n.description=="function"?await n.description(m):n.description,k=typeof g=="object"&&!je.isValidElement(g)?g:{message:g};this.create({id:o,type:"error",description:y,...k})}}).finally(()=>{l&&(this.dismiss(o),o=void 0),n.finally==null||n.finally.call(n)}),f=()=>new Promise((m,g)=>d.then(()=>c[0]==="reject"?g(c[1]):m(c[1])).catch(g));return typeof o!="string"&&typeof o!="number"?{unwrap:f}:Object.assign(o,{unwrap:f})},this.custom=(t,n)=>{const o=(n==null?void 0:n.id)||rp++;return this.create({jsx:t(o),id:o,...n}),o},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const sn=new KM,GM=(e,t)=>{const n=(t==null?void 0:t.id)||rp++;return sn.addToast({title:e,...t,id:n}),n},QM=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",YM=GM,XM=()=>sn.toasts,JM=()=>sn.getActiveToasts(),ox=Object.assign(YM,{success:sn.success,info:sn.info,warning:sn.warning,error:sn.error,custom:sn.custom,message:sn.message,promise:sn.promise,dismiss:sn.dismiss,loading:sn.loading},{getHistory:XM,getToasts:JM});WM
vendor: 4,787 bytes, line 324
324("[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,077 bytes, line 324
324left: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%)}");
324const ZM=[{icon:rA,text:"Conheça detalhes das nossas soluções"},{icon:wA,text:"Receba direcionamentos personalizados para sua operação"},{icon:Fk,text:"Conheça nosso modelo de precificação e valores"}];function eL(){const[e,t]=x.useState({name:"",email:"",phone:"",company:"",avgShipments:"",need:""}),[n,o]=x.useState(!1),a=l=>{if(l.preventDefault(),!e.name||!e.email||!e.phone||!e.company||!e.need){ox.error("Por favor, preencha todos os campos");return}o(!0),ox.success("Solicitação enviada com sucesso!")};return h.jsx("section",{id:"contato",className:"bg-gradient-to-b from-background to-accent/20 py-14 sm:py-20 lg:py-24",children:h.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:h.jsxs("div",{className:"grid grid-cols-1 items-center gap-10 md:gap-12 lg:grid-cols-2 lg:gap-16",children:[h.jsxs(nt.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[h.jsxs("h2",{className:"text-2xl font-bold leading-tight text-foreground sm:text-4xl",children:["Pronto para evoluir a estratégia de"," ",h.jsx("span",{className:"text-primary",children:"digital commerce"})," ","da sua empresa?"]}),h.jsx("p",{className:"mt-4 text-base text-muted-foreground sm:text-lg",children:"Fale com um de nossos consultores"}),h.jsx("div",{className:"mt-8 space-y-4",children:ZM.map(l=>h.jsxs("div",{className:"flex items-start gap-3",children:[h.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center shrink-0 mt-0.5",children:h.jsx(l.icon,{className:"w-4 h-4 text-primary"})}),h.jsx("p",{className:"text-sm text-muted-foreground sm:text-base",children:l.text})]},l.text))})]}),h.jsx(nt.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},children:n?h.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8 text-center sm:p-12",children:[h.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-6",children:h.jsx(Ok,{className:"w-8 h-8 text-primary"})}),h.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:"Obrigado!"}),h.jsx("p",{className:"text-muted-foreground",children:"Nossa equipe entrará em contato em breve."})]}):h.jsxs("form",{onSubmit:a,className:"space-y-5 rounded-2xl border border-border bg-card p-5 shadow-xl shadow-primary/5 sm:p-8 md:p-10",children:[h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"name",className:"text-sm font-medium",children:"Nome *"}),h.jsx(os,{id:"name",name:"name",autoComplete:"name",value:e.name,onChange:l=>t({...e,name:l.target.value}),placeholder:"Seu nome completo",className:"mt-1.5"})]}),h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"email",className:"text-sm font-medium",children:"Email *"}),h.jsx(os,{id:"email",name:"email",type:"email",autoComplete:"email",value:e.email,onChange:l=>t({...e,email:l.target.value}),placeholder:"[email protected]",className:"mt-1.5"})]}),h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"phone",className:"text-sm font-medium",children:"Telefone (WhatsApp) *"}),h.jsx(os,{id:"phone",name:"phone",autoComplete:"tel",value:e.phone,onChange:l=>t({...e,phone:l.target.value}),placeholder:"(00) 00000-0000",className:"mt-1.5"})]}),h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"company",className:"text-sm font-medium",children:"Empresa *"}),h.jsx(os,{id:"company",name:"company",autoComplete:"organization",value:e.company,onChange:l=>t({...e,company:l.target.value}),placeholder:"Nome da sua empresa",className:"mt-1.5"})]}),h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"avgShipments",className:"text-sm font-medium",children:"Média de vendas/mês"}),h.jsx(os,{id:"avgShipments",name:"avgShipments",value:e.avgShipments,onChange:l=>t({...e,avgShipments:l.target.value}),placeholder:"Ex: 1.000 vendas/mês",className:"mt-1.5"})]}),h.jsxs("div",{children:[h.jsx(uo,{htmlFor:"need",className:"text-sm font-medium",children:"Nos conte sobre sua necessidade *"}),h.jsx(W1,{id:"need",name:"need",value:e.need,onChange:l=>t({...e,need:l.target.value}),placeholder:"Descreva brevemente sua operação e necessidade",className:"mt-1.5 min-h-[110px]"})]}),h.jsxs(Ze,{type:"submit",size:"lg",className:"h-11 w-full rounded-lg bg-primary font-semibold text-primary-foreground hover:bg-primary/90",children:["Solicitar demonstração",h.jsx(xs,{className:"w-5 h-5 ml-2"})]}),h.jsx("p",{className:"text-xs text-center text-muted-foreground",children:"Ao enviar, você concorda com nossa polÃtica de privacidade."})]})})]})})})}const tL="/assets/external/home-hero-generated.png",nL="/assets/external/home-ecosystem-generated.png";function rL(){return zn({title:"Hub de Integrações para Marketplace e E-commerce",description:"Solução SaaS para gestão integrada de canais digitais, pedidos, estoque e anúncios em e-commerce e marketplaces.",canonicalPath:"/",image:tL,imageAlt:"Tela da plataforma Vtrina para gestão de integrações e canais digitais",structuredData:[a_({name:"Vtrina | Hub de Integrações para Marketplace e E-commerce",description:"Solução SaaS para gestão integrada de canais digitais, pedidos, estoque e anúncios em e-commerce e marketplaces.",canonicalPath:"/"}),i_(),l_()]}),h.jsxs("div",{className:"min-h-screen bg-background",children:[h.jsx("a",{href:"#conteudo-principal",className:"sr-only focu
324s:not-sr-only focus:absolute focus:left-3 focus:top-3 focus:z-[60] focus:rounded-md focus:bg-background focus:px-3 focus:py-2 focus:text-sm focus:font-medium focus:text-foreground",children:"Ir para o conteúdo principal"}),h.jsx("header",{children:h.jsx(Jb,{})}),h.jsxs("main",{id:"conteudo-principal",className:"pt-16 md:pt-20",children:[h.jsx(jM,{}),h.jsx(OM,{}),h.jsx(DM,{}),h.jsx(nx,{quote:"O Vtrina oferece um serviço extremamente diferenciado no mercado de e-commerce, que é a parceria, o entendimento do negócio do cliente, entendendo a sensibilidade que existe por trás disso e, por fim, entregando um trabalho de resultados a um custo competitivo.",author:"Marcelo Froes",role:"LATAM IT Senior Manager at Hanes Brands Inc",logoUrl:"/assets/external/hanes-brands-logo.png",logoAlt:"Logo da Hanes Brands"}),h.jsx(MM,{}),h.jsx(LM,{ecosystemImage:nL}),h.jsx(VM,{}),h.jsx(nx,{quote:"A parceria entre a Probel e o Vtrina é um exemplo de como tecnologia e humanização podem caminhar juntas. Desde o inÃcio dessa jornada, trabalhamos lado a lado, crescendo e evoluindo juntos. Hoje, o Vtrina é muito mais do que um hub de integração para nós â eles se tornaram uma extensão do nosso time.",author:"Ricardo Pinto",role:"Head de E-commerce na Probel",logoUrl:"/assets/external/probel-logo-azul.png",logoAlt:"Logo da Probel",reverse:!0}),h.jsx(qM,{}),h.jsx(FM,{}),h.jsx(eL,{})]}),h.jsx(n1,{})]})}function oL(e){const t=e.trim();return t?!!(/^\d+(\.\d+)?\./.test(t)||/^[A-ZÃ-Ã0-9 .,:;()\-?]{6,}$/.test(t)&&t.length<=140):!1}function K1({title:e,subtitle:t,content:n,relatedLink:o,relatedLabel:a}){x.useEffect(()=>{window.scrollTo({top:0,behavior:"auto"})},[]);const l=n.split(` 325`).map(c=>c.replace(/\u00a0/g," ").trim()).filter(Boolean);return h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:"JurÃdico",title:e,description:t,ctaLabel:"Fale conosco",ctaHref:"/#contato"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsx(Ge,{children:h.jsx(Wt,{className:"border-border/80",children:h.jsx(Kt,{className:"space-y-4 p-6 md:p-8",children:l.map((c,d)=>/^https?:\/\//i.test(c)?h.jsx("p",{children:h.jsx("a",{href:c,target:"_blank",rel:"noreferrer",className:"text-sm text-primary hover:underline",children:c})},`${c}-${d}`):/^CLIQUE AQUI$/i.test(c)&&o?h.jsx("p",{className:"text-sm text-foreground",children:h.jsx($t,{to:o,className:"font-medium text-primary hover:underline",children:a||"Clique aqui"})},`${c}-${d}`):oL(c)?h.jsx("h2",{className:"pt-3 text-lg font-semibold text-foreground md:text-xl",children:c},`${c}-${d}`):h.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground md:text-base",children:c},`${c}-${d}`))})})})})]})}const sL=`TERMOS DE USO DO VTRINA 326Ãltima Atualização 327: 12 de março de 2026. 328 329Bem-vindo(a)! 330Obrigado por utilizar o Vtrina! 331Esta aplicação e seu conteúdo (âVtrinaâ) são controlados e operados pelo próprio Vtrina. Todos os direitos reservados. 332Estes termos de uso têm por objeto definir as regras a serem seguidas para a utilização do Vtrina (âTermos de Usoâ), sem prejuÃzo da aplicação da legislação vigente. 333AO UTILIZAR O VTRINA, VOCà AUTOMATICAMENTE CONCORDA COM ESTES TERMOS DE USO, RESPONSABILIZANDO-SE INTEGRALMENTE POR TODOS E QUAISQUER ATOS PRATICADOS POR VOCà NO VTRINA OU EM SERVIÃOS A ELE RELACIONADOS. CASO VOCà NÃO CONCORDE COM QUALQUER DOS TERMOS E CONDIÃÃES ABAIXO ESTABELECIDOS, VOCà NÃO DEVE UTILIZAR O VTRINA. VOCà TAMBÃM CONCORDA COM OS TERMOS DESCRITOS EM NOSSA POLÃTICA DE PRIVACIDADE. PARA ACESSÃ-LA, 334CLIQUE AQUI 335. 336Destaca-se que, a partir do aceite destes termos, qualquer acordo prévio pactuado entre as partes, seja verbal, seja escrito, perderá sua vigência. 337Sobre os termos de uso. 338Ostermos de uso passam por atualizações frequentes conforme o Vtrina muda e evolui, entretanto, as condições comerciais estabelecidas no ato da contratação continuam vigentes, sejam elas para planos pré-pagos, pós-pagos, anuais ou sob medida, caso haja dúvidas relacionadas aos termos e a relação comercial, cada caso será analisado separadamente. 339A última atualização foi feita em Dezembro de 2025. Isso significa que haverá cláusulas relacionadas contratos estabelecidos anteriormente a esse perÃodo e cláusulas novas. 340Os planos pré-pagos não estão mais ativos, não podendo ser adquiridos/assinados. Os planos são mantidos mediante a relação estabelecida para clientes que já fizeram a contratação no passado. 341O QUE à O VTRINA? 3421.1. Serviços 343. O Vtrina é uma plataforma que oferece os seguintes serviços: Prestação de serviços relacionados a software, incluindo configuração, manutenção e integração de dados entre sistemas de gestão (E-commerce, ERP, LogÃstica) e canais de vendas e divulgação de produtos (canal de vendas, Comparador de Preços, E-commerces, Catálogos digitais), adquiridos e mantidos pelo Vtrina . A plataforma Vtrina , disponÃvel na Internet como serviço (SaaS), é composta por aplicativos que mantém as configurações de integração de dados (layouts de formatos de dados, mapeamentos entre layouts de sistemas terceiros, ligações entre aplicativos que farão a comunicação, identificadores de usuários e empresas). A plataforma Vtrina intermedia a transferência de dados entre os sistemas contratados e utilizados; 3441.2. Consultoria e CS
345. O objetivo desta área é disponibilizar o apoio da equipe Vtrina para que, em conjunto com a você e sua empresa, possamos acompanhar cenários envolvendo as integrações como validação das cargas de produtos, erros de forma geral, acompanhar os pedidos, falar diretamente com os canais sobre situações de não conformidades nas atualizações de produtos e pedidos. Cabe ressaltar que esta área é de apoio, não sendo possÃvel que ela seja responsável por todos os processos envolvendo as integrações, também não cabe a área de consultoria qualquer ação nos cenários de questões e regras de lojas fÃsicas e/ou da sua loja virtual, SAC, dúvidas dos compradores, questões financeiras, jurÃdicas ou fiscais. 346Ou seja, o time de CS do Vtrina apoiará você e sua empresa em dúvidas e processos relacionados ao uso do Software do Vtrina, não sendo o time Vtrina responsável por processos internos de sua empresa como por exemplo, decisões comerciais, atendimento ao cliente final e regras operacionais. 3471.3. Desenvolvimento 348. O Vtrina possui uma equipe especializada em desenvolvimento de sistemas e integrações complexas para os mais variados sistemas. Sempre que necessário sua empresa poderá nos acionar via sistema de atendimento em (
349https://help.vtrina.com 350) ou via site ( 351https://vtrina.com/contato 352) e solicitar o levantamento de melhorias ou novas integrações. 3531.4. Suspensão 354. Nós nos reservamos o direito de suspender ou cancelar, a qualquer momento, o seu acesso à aplicação em caso de suspeita de fraude, obtenção de benefÃcio ou vantagem de forma ilÃcita, ou pelo não cumprimento de quaisquer condições previstas nestes Termos de Uso, na PolÃtica de Privacidade ou na legislação aplicável. Nesses casos, não será devida qualquer indenização a você, e o Vtrina poderá promover a competente ação de regresso, se necessário, bem como tomar quaisquer outras medidas necessárias para perseguir e resguardar seus interesses. 355COMO ACESSO O VTRINA? 3562.1. Acesso 357. Para acessar o Vtrina e utilizar suas funcionalidades é necessário efetuar um cadastro. Para cadastrar-se, você nos fornecerá informações pessoais, conforme descrito em nossa PolÃtica de Privacidade. Para saber mais sobre a privacidade de suas informações pessoais no Vtrina, acesse nossa PolÃtica de Privacidade. 3582.2. Idade de Utilização 359. Para utilizar o Vtrina, você deve ter pelo menos 18 (dezoito) anos. 3602.3. Titularidade 361. A partir do cadastro, você será titular de uma conta que somente poderá ser acessada por você. Caso o Vtrina detecte alguma conta feita a partir de informações falsas, por usuários que, por exemplo, não possuem a idade mÃnima permitida, essa conta será automaticamente deletada. 3622.4. Atualização das informações 363. Desde já, você se compromete a manter as suas informações pessoais atualizadas sempre que convocado ou em caso de alterações dos seus dados ou dados da empresa CONTRATANTE. Você também concorda que irá manter o seu login e senha seguros e fora do alcance de terceiros, e não permitirá que a sua conta no Vtrina seja usada por outras pessoas. Dessa forma, o usuário responsabiliza-se por todas as ações realizadas em sua conta. 364A RELAÃÃO CONTRATUAL ENTRE O VTRINA E O USUÃRIO 3653.1. Relação Contratual 366. Os serviços e o conteúdo oferecidos pela plataforma são de propriedade do Vtrina. Ao estabelecer o contrato que permite ao usuário o gozo das funcionalidades do sistema, o Vtrina está oferecendo uma licença de uso, que é não-exclusiva, limitada, revogável e de uso pessoal. à da liberalidade do usuário subscrever a qualquer plano oferecido pelo Vtrina mediante negociações comerciais, sujeito à s regras descritas nesses Termos de Uso. 367ASSINATURA E CANCELAMENTO DE PLANOS 3684.1. Assinatura 369. Nós do Vtrina fornecemos a assinatura de planos de serviço da seguinte maneira: onerosa, como definido no capÃtulo abaixo. 3704.2. Modo de Subscrição 371. A subscrição ao(s) plano(s) pago(s) requer o pagamento mensal para acesso à plataforma, mediante a proposta comercial acordada entre as partes. 3724.2.1 As regras de fidelidade contratual e rescisão também estão sujeitas ao modelo de proposta enviado. 3734.2.2 O faturamento será realizado sempre no dia 37420 (vinte) 375 de cada mês e vencimento no dia 37625 (vinte e cinco) 377. 3784.3 O aviso de cancelamento deverá ser feito com um prazo de 30 dias de antecedência 379Em caso de não pagamento será incluÃdo multa de 2% e juros de 1% ao mês podendo ocorrer cobrança de empresa parceira do Vtrina e/ou protesto em caso de não pagamento. 380Para os planos pré-pagos contratados, a subscrição ao(s) plano(s) pago(s) requer o pagamento mensal ou anual antecipado para acesso à plataforma. Dessa forma, você pagará hoje pelo acesso durante o mês ou ano corrente de acordo com o plano contratado. Haverá renovação automática do plano, a não ser que você se manifeste contrariamente requerendo o cancelamento, antes da data de faturamento realizado sempre no dia 38120 (vinte) 382 de cada mês e vencimento no dia 38325 (vinte e cinco) 384 do mesmo mês para assinaturas mensais ou ao completar a anuidade (12 meses) formalizando por e-mail ( 385[email protected] 386) descrevendo o motivo do cancelamento. Caso não seja formalizado o cancelamento, sua cobrança será devida até a data de pagamento incluindo multa de 2% e juros de 1% ao mês podendo ocorrer cobrança de empresa parceira do Vtrina e/ou protesto em caso de não pagamento. 3874.3. Reajuste de preços 388. O reajuste de valores e planos é feito anualmente, sempre nos dias 01 de julho de cada ano subsequente a partir do ano de 2025, tendo como base as atualizações de Ãndices do IPCA e possÃveis correções monetárias realizadas de acordo com as estratég
388ias internas informadas previamente aos clientes e usuários do Vtrina dentro da própria ferramenta e nos principais canais de comunicação. 3894.4. Cancelamento da Subscrição 390. O cancelamento da subscrição ao plano pode ser realizado a qualquer tempo pelo usuário mediante a proposta e relação comercial estabelecida e será entendido como manifestação expressa de que não pretende renovar a licença no próximo perÃodo ainda não contabilizado para fins de cobrança (mensal ou anual) desde que formalizado por e-mail 391( 392[email protected] 393) 394 informando o motivo. Caso o cancelamento seja solicitado, porém, exista saldo pendente, o cancelamento não será permitido até que exista a quitação do saldo devido, incluindo, mas sem se limitar a, taxas de cobrança e/ou protesto. 395O cancelamento não enseja qualquer dever ao Vtrina em realizar a devolução do pagamento da mensalidade, personalizações, desenvolvimentos ou anuidades relativas aos planos contratados uma vez que o contratante optou por não renovar a relação contratual com pleno conhecimento desta regra 396. Seu acesso ficará liberado até o término do perÃodo contratado, sendo mensal no último dia do mês ou anual após o perÃodo de 12 meses. 3974.5. Regras para cancelamento 398. 399a) 400 Após solicitar o cancelamento conforme indicado acima, nossa equipe de atendimento fará contato para coletar dados que são de extrema importância para avaliação do nosso serviço. 401b) 402 O cancelamento poderá ocorrer imediatamente caso deseje ou no término do mês em uso. 4034.6 â Inativar itens nos canais e Vtrina. 404Caso deseje inativar todos os itens nos canais para que não ocorram mais vendas, você deve executar os seguintes passos: 4054.6.1) 406 Na rotina de gestão de clusters, execute ação para remover todos os seus produtos em todos os canais; 4074.6.2) 408 Aguarde algumas horas para que o Vtrina execute ação de inativar os itens nos canais; 4094.6.3 ) 410Efetue conferência para validar o fluxo de inativação nos canais; 4114.6.4) 412 Desative as integrações com os canais no painel do Vtrina conforme manuais disponibilizados em nossa base de conhecimento; 4134.6.5) 414 Acesse: configurações, depois: Loja/ERP, desative sua integração com o ERP/E-commerce (Integração de produtos, integração de pedidos). 4154.6.6) 416 Desative sua loja acessando: configurações, depois: Loja/ERP em configurações gerais. 4174.7 â Inativar apenas os canais e Vtrina. 418 Nesta condição você ficará com os itens ativos nos canais, sendo importante seu entendimento de que poderão ocorrer vendas nos canais e não serão importados os pedidos para o Vtrina. Se esta for sua necessidade, siga os seguintes passos: 4194.7.1) 420 Desative as integrações com os canais no painel do Vtrina conforme os manuais disponibilizados em nossa base de conhecimento; 4214.7.2) 422 Acesse: configurações, depois: Loja/ERP, desative sua integração com o ERP/E-commerce (Integração de produtos, integração de pedidos). 4234.7.3) 424 Desative sua loja acessando configurações depois Loja/ERP em configurações gerais. 4254.7.1 O time Vtrina poderá instruir, mediante a sua solicitação, como realizar o procedimento. 4264.8. Suspensão de acesso 427. Seu acesso à plataforma será permitido até o último dia do mês/ano em que o pagamento foi efetuado (exceto se houver solicitação de bloqueio imediato). Os valores devidos e não pagos tempestivamente, sejam referentes aos serviços em si, ficarão sujeitos à multa de 2% (dois por cento) e juros de 1% (um por cento) ao mês, entre a data de vencimento e a data do efetivo pagamento, bem como sem prejuÃzo de qualquer outro direito do Vtrina, especialmente os de suspender ou bloquear, após 03 (três) dias de inadimplência, independente de prévio aviso. 4284.9. Trânsito entre Planos 429. Para planos pré-pagos contratados antes de 12/2025, é possÃvel efetuar a mudança de plano, caso seja do seu interesse e/ou de acordo com a sua necessidade estratégica e de negócio. Pensando nisso, oferecemos a possibilidade de você transitar entre os planos ( 430sujeito à s mudanças de disponibilidade de recursos oferecidas por cada um 431), editando ou fazendo upgrade/downgrade de sua subscrição. 432Regras do Processo de Implementação 433a)
434O processo é composto por três fases. Cada fase deve ser concluÃda para que a próxima seja desbloqueada. à fundamental seguir o fluxo na ordem estabelecida, sem pular etapas, pois cada passo é necessário para o sucesso da implantação. 435b) 436Durante todo o processo, o cliente contará com o apoio do Analista de Onboarding, disponÃvel via WhatsApp, responsável por orientar, esclarecer dúvidas e validar cada etapa. 437c) 438O processo de Onboarding tem duração estimada de até 20 dias úteis, distribuÃdos entre as três fases: 439Fase 1 440â Kickoff + Configuração (até 7 dias úteis) 441Fase 2 442 â Integrações e Canais (até 7 dias úteis) 443Fase 3 444 â Operação + Encerramento (até 6 dias úteis) 445e) 446Antes de iniciar a implementação, é obrigatório ler e estar ciente dos Termos de Uso, uma vez que qualquer canal ativo na plataforma ou integração realizada é de responsabilidade do cliente. 447f) 448O prazo para concluir cada uma das três fases 449está indicado no inÃcio do material (que será compartilhado com você), correspondente a cada etapa 450. Nele, você encontrará o passo a passo detalhado para cada configuração, garantindo clareza e autonomia para que possa realizar o processo de forma independente. Caso tenha dúvidas, pode entrar em contato com seu analista de onboarding. Vale lembrar que, para cada fase, 451há um prazo especÃfico para acionar o analista 452, também mencionado no inÃcio de cada etapa. 453g) 454Caso você opte pela 455desistência de contrato 456durante a fase de implementação, é importante destacar que a taxa de implementação ainda será devida, bem como as condições contratuais de permanência definidas na proposta comercial. 457In-App Purchases 458. A aplicação possui funcionalidades que podem ser contratadas por intermédio do nosso contato comercial 459+55 460(41) 9 8869-1594 461 ou através do seu 462gerente de conta 463. 464COMO SÃO FEITOS OS PAGAMENTOS NO VTRINA? 4657.1. Meio de Pagamento 466. Os pagamentos efetuados no Vtrina deverão ser realizados por meio de boleto bancário, PIX ou cartão de crédito (se disponÃvel). 4677.2. Valores cobrados 468. Assinatura através do valor definido na proposta comercial, no formato de pacote de funcionalidades e conexões disponÃveis. Para obter mais informações sobre valores, entre em contato com o nosso comercial pelo telefone 469+55 470 471(41) 9 8869-1594 472. 4737.3. Preço Final 474. O preço pago por você é final e não reembolsável, a menos que diversamente determinado pelo Vtrina. O Vtrina reserva-se o direito de estabelecer, remover e/ou revisar o preço relativo a todos os serviços ou bens obtidos por meio do uso da aplicação a qualquer momento. Nunca iremos alterar o valor da sua subscrição sem avisá-lo antes. 4757.4. Plano Custom 476. Trata-se de plano personalizado pré-pago mensal definido conforme o perfil de cada empresa com features alinhadas à s necessidades e cenários. Cláusula válida para clientes que contrataram mediante essa relação comercial. 4777.5. Acesso cobrança e nota fiscal de prestação de serviço 478. As cobranças geradas são enviadas por e-mail conforme cadastro informado na contratação e podem ser acessados via login na plataforma Vtrina, disponÃvel em: 479Configurações/Listagem de Faturas 480. 4817.6. Recolhimento de Impostos 482. Se houver a incidência de qualquer imposto sobre: mensalidade, consultoria e desenvolvimentos personalizados, o Vtrina será responsável por seu recolhimento conforme determinado em contrato próprio de prestação de serviços. 4837.7. Confirmação 484. A confirmação do pagamento por meio da aplicação poderá ocorrer em até 3 (três) dias úteis. O processamento das informações de pagamento e a confirmação do pagamento serão realizados por sistemas de terceiros (ex. instituição financeira ou administradora do cartão de crédito), sendo o aplicativo uma mera interface entre o cliente e esses sistemas. 4857.8. Prazo/Permanência mÃnimo(a) 486. Certos produtos, personalizações, desenvolvimentos ou promoções do Vtrina podem exigir um prazo mÃnimo de assinatura. à importante que o usuário esteja ciente de que, caso decida não utilizar mais tais produtos antes do prazo mÃnimo de assinatura, podem ser cobradas tarifas adicionais conforme determinado em contrato próprio de prestação de serviços. Cláusula aplicável aos planos pré-pagos, baseado na relação estabelecida em proposta comercial. 4877.9. Código Promocional 488. Caso o Vtrina crie algum código promocional (por exemplo, cupom de desconto), este deve ser usado de forma legal para a finalidade e o público ou usuário especÃfico a que se destina, seguindo todas suas condições. O código promocional pode ser cancelado caso se verifique que foi transferido, vendido ou utilizado com erro, fraude, ilegalidade ou violação à s condições do respectivo código. 489QUAIS SÃO OS DIREITOS DO VTRINA SOBRE A APLICAÃÃO? 4908.1. Nossos Direitos 491. Todos os direitos relativos ao Vtrina e suas funcionalidades são de propriedade exclusiva do Vtrina, inclusive no que diz respeito aos seus textos, imagens, layouts, software, códigos, bases de dados, gráficos, artigos, fotografias e demais conteúdos produzidos direta ou indiretamente pelo Vtrina (âConteúdo do Vtrinaâ). O Conteúdo do Vtrina é protegido pela lei de direitos autorais e de propriedade intelectual. à proibido usar, copiar, reproduzir, modificar, traduzir, publicar, transmitir, distribuir, executar, fazer o upload, exibir, licenciar, vender ou explorar e fazer engenharia reversa do Conteúdo do Vtrina, para qualquer finalidade, sem o consentimento prévio e expresso do Vtrina. Qualquer uso não autorizado do Conteúdo do Vtrina será considerado como violação dos direitos autorais e de propriedade intelectual do Vtrina. 492PROPRIEDADE INTELECTUAL SOBRE O SOFTWARE E OS MATERIAIS DISPONIBILIZADOS 4939.1. Propriedade Intelectual 494. Para nós do Vtrina, a qualidade dos materiais disponibilizados ao usuário é de suma importância. A criação deles é fruto de muito trabalho e dedicação de nossos desenvolvedores. Por isso, reafirmamos que o Vtrina garante que todos os direitos, tÃtulo e interesse (incluindo, mas não apenas, os direitos autorais, mar
494cários e outros de propriedade intelectual) sobre o serviço disponibilizado por nós permanecerão sob a titularidade do Vtrina. 4959.2. Não-aquisição de Direitos 496. O usuário não adquirirá nenhum direito de propriedade sobre os serviços e conteúdos do Vtrina, exceto quando haja outorga expressa neste Termos de Uso. 4979.3. Download de Conteúdo 498. à proibido que o usuário faça o download de nosso conteúdo com o intuito de armazená-lo em banco de dados para oferecer para terceiro que não seja o próprio usuário. Veda-se, também, que o conteúdo disponibilizado por nós seja usado para criar uma base de dados ou um serviço que possa concorrer de qualquer maneira com o nosso negócio. 499RECLAMAÃÃES SOBRE VIOLAÃÃO DE DIREITO AUTORAL 50010.1. Infringência de Direitos 501. Alegações de infringência de direito autoral de qualquer conteúdo disponÃvel no Vtrina devem ser encaminhadas por meio do e-mail [email protected]. 502RESPONSABILIDADES DO USUÃRIO E DO VTRINA 50311.1. Responsabilidade pelo Uso 504. Você é exclusivamente responsável pelo uso do Vtrina e deverá respeitar as regras destes Termos de Uso, bem como a legislação aplicável ao Vtrina. 50511.2. Responsabilização por Eventuais Danos 506. O Vtrina, seu controlador, suas afiliadas, parceiras ou funcionários não serão, em hipótese alguma, responsabilizados por danos diretos ou indiretos que resultem de, ou que tenham relação com o acesso, uso ou a incapacidade de acessar ou utilizar o Vtrina. 50711.3. Não-Responsabilização 508. TENDO EM VISTA AS CARACTERÃSTICAS INERENTES AO AMBIENTE DA INTERNET, O VTRINA NÃO SE RESPONSABILIZA POR INTERRUPÃÃES OU SUSPENSÃES DE CONEXÃO, TRANSMISSÃES DE COMPUTADOR INCOMPLETAS OU QUE FALHEM, BEM COMO POR FALHA TÃCNICA DE QUALQUER TIPO, INCLUINDO, MAS NÃO SE LIMITANDO, AO MAU FUNCIONAMENTO ELETRÃNICO DE QUALQUER REDE, HARDWARE OU SOFTWARE. A INDISPONIBILIDADE DE ACESSO à INTERNET OU AO VTRINA, ASSIM COMO QUALQUER INFORMAÃÃO INCORRETA OU INCOMPLETA SOBRE O VTRINA E QUALQUER FALHA HUMANA, TÃCNICA OU DE QUALQUER OUTRO TIPO NO PROCESSAMENTO DAS INFORMAÃÃES DO VTRINA NÃO SERÃO CONSIDERADAS RESPONSABILIDADE DO VTRINA. O VTRINA SE EXIME DE QUALQUER RESPONSABILIDADE PROVENIENTE DE TAIS FATOS E/OU ATOS. 50911.4. Perda de Lucros 510. Quando permitido por lei, o Vtrina e os fornecedores ou distribuidores não serão responsáveis por perda de lucros, perda de receita, perda de dados, perdas financeiras ou por danos indiretos, especiais, consequenciais, exemplares ou punitivos. 51111.5. Manutenção 512. à de sua inteira responsabilidade manter o ambiente de seu dispositivo (computador, celular, tablet, entre outros) seguro, com o uso de ferramentas disponÃveis, como antivÃrus, firewall, entre outras, de modo a contribuir na prevenção de riscos eletrônicos. 51311.6. Links Externos 514. à possÃvel que O Vtrina possa conter links para sites e aplicativos de terceiros, assim como ter tecnologias integradas. Isso não implica, de maneira alguma, que o Vtrina endossa, verifica, garante ou possui qualquer ligação com os proprietários desses sites ou aplicativos, não sendo responsável pelo seu conteúdo, precisão, polÃticas, práticas ou opiniões. O Vtrina recomenda que você leia os termos de uso e polÃticas de privacidade de cada site de terceiros ou serviço que o usuário vier a visitar ou utilizar. 51511.7. Exclusão de Responsabilidade 516. Quando o Vtrina facilita a interação de você com prestadores terceiros independentes, como Considerando que o Vtrina utiliza recursos de terceiros para a prestação do serviço e que os quais interagem com os serviços dos canais de vendas e sistemas de e-commerce e ERP e dependem da disponibilidade contÃnua das APIs, na hipótese dos mantenedores destes sistemas terceiros deixarem de disponibilizar as APIs em condições razoáveis para os serviços, o Vtrina poderá interromper o fornecimento de tais recursos, mediante notificação prévia, sem que exista direito a qualquer reembolso, crédito ou outras compensações desde que devidamente comprovado pelo Vtrina. NESSAS SITUAÃÃES, o VTRINA ATUA COMO MERO FACILITADOR DA TRANSAÃÃO ENTRE VOCà E TAIS TERCEIROS, DE MODO QUE o VTRINA NÃO à FORNECEDOR DE BENS OU SERVIÃOS, OS QUAIS SÃO PRESTADOS DIRETAMENTE POR TERCEIROS PRESTADORES INDEPENDENTES. O VTRINA NÃO SERÃ, EM HIPÃTESE ALGUMA, RESPONSÃVEL POR TAIS PRODUTOS OU SERVIÃOS DE TERCEIROS FORNECEDORES E REITERAMOS A NECESSIDADE DO USUÃRIO LER, ANALISAR E ACEITAR OS TERMOS DE USO DAS PLATAFORMAS QUE POSSAM TER ALGUMA INTERFACE CONOSCO. 517Dessa forma, caso haja a interrupção do fornecimento da API ou o serviço dos sistemas de e-commerces, ERPs ou Marketplaces, a responsabilidade é dos próprios fornecedores, não devendo o Vtrina nada à Contratante. Para mais clareza, segue exemplos: 518Exemplo 1: Um determinado marketplace encerra seus serviços e fecha a operação de marketplace, essa ação independe do Vtrina e de outros fornecedores. 519Exemplo 2: Um marketplace tem um problema em sua API, que impede que seus sellers enviem ou recebam informações do canal, essa também é uma questão que independe tanto do Vtrina quanto de outros fornecedores. 520O Vtrina compromete-se a empreender esforços para viabilizar as integrações e conexões, em caso desses acontecimentos de responsabilidade dos outros
520sistemas de e-commerce, mas como um parceiro de tecnologia e negócios, não como responsável pelas questões. 52111.9. SLA de atendimento Vtrina. 522 Como parte dos serviços comercializados o Vtrina oferta tempos de atendimento diferenciados conforme indicado abaixo: 52311.8.1 â Planos Control e Business 52411.8.2 â Plano Custom 525COMO O VTRINA LIDA COM O CONTEÃDO QUE VOCà E OUTROS USUÃRIOS PRODUZEM? 52612.1. Criação de Conteúdo 527. O Vtrina poderá, a seu exclusivo critério, permitir que você ou qualquer outro usuário apresente, carregue, publique ou disponibilize, na aplicação, conteúdo ou informações de texto, imagem, áudio ou vÃdeo (âConteúdo de Usuárioâ). 52812.2. Conteúdos Proibidos 529. à proibido qualquer Conteúdo de Usuário de caráter difamatório, calunioso, injurioso, violento, pornográfico, obsceno, ofensivo ou ilÃcito, conforme apuração do Vtrina a seu critério exclusivo, inclusive informações de propriedade exclusiva pertencentes a outras pessoas ou empresas (ex. direito de autor, marcas), sem a expressa autorização do titular desses direitos, cuja violação não será de responsabilidade do Vtrina. 53012.3. Titularidade do Conteúdo 531. Qualquer Conteúdo de Usuário fornecido por você permanece de sua propriedade. Contudo, ao fornecê-lo para o Vtrina, você nos outorga uma licença em nÃvel mundial, por prazo indeterminado, gratuita e transferÃvel, e com direito a sublicenciar, usar, copiar, modificar, criar obras derivadas, distribuir, publicar, exibir esse Conteúdo de Usuário em todos os formatos e canais de distribuição possÃveis, sem necessidade de novo aviso a você, e sem necessidade de qualquer pagamento, desde que isso esteja relacionado ao funcionamento da plataforma. Ademais, Dados da empresa (CNPJ, Razão Social, e-mail, telefone, endereço), dados dos usuários (Nome, e-mail, telefone, senha, endereço) são protegidos por criptografia, o que significa que nós seremos âcegosâ com relação a esse 532conteúdo 533. 53412.4. Exclusão do Conteúdo 535. O Vtrina poderá, mas não se obriga a analisar, monitorar e remover Conteúdo de Usuário, a critério exclusivo do Vtrina, a qualquer momento e por qualquer motivo, sem nenhum aviso a você. 536LEI GERAL DE PROTEÃÃO DE DADOS 53713.1. 538 Sendo certo que a plataforma poderá conter dados de pessoas fÃsicas por ela disponibilizados, você deverá se certificar de que os gestores e outros envolvidos no processo que tiverem acesso aos dados e informações dos Usuários observarão as regras de tratamento de dados previstas na legislação aplicável, e não compartilharão os dados com quaisquer terceiros. 53913.2. 540 Em caso de descumprimento das normas de tratamento de dados por você ou qualquer de seus funcionários, representantes ou prepostos, você deverá reportar tal violação à Vtrina, bem como se responsabilizará por todas e quaisquer consequências decorrentes da violação, mantendo a Vtrina livre e indene de quaisquer obrigações perante o Usuário nesse sentido. 54113.3. 542 Adicionalmente ao acima mencionado, em caso de descumprimento você responderá por todas as perdas e danos causados à Vtrina em razão do descumprimento, devendo indenizar e ressarcir a Vtrina de quaisquer valores relacionados a processos administrativos e/ou judiciais que sejam movidos em face do Vtrina. 543O QUE MAIS EU PRECISO SABER SOBRE ESTES TERMOS DE USO? 54414.1. Alterações 545. Para melhorar sua experiência, O Vtrina está sempre sendo atualizado. Por esse motivo, estes Termos de Uso podem ser alterados, a qualquer tempo, a fim de refletir os ajustes realizados. No entanto, sempre que ocorrer qualquer modificação, você será previamente informado pelo endereço de e-mail fornecido por você no momento do cadastro ou por um aviso em destaque na aplicação. Caso você não concorde com os novos Termos de Uso, você poderá rejeitá-los, mas, infelizmente, isso significa que você não poderá mais ter acesso e fazer uso do Vtrina. Se de qualquer maneira você utilizar o Vtrina mesmo após a alteração destes Termos de Uso, isso significa que você concorda com todas as modificações. 54614.2. Conflito entre Disposições 547. Em caso de conflito entre estes termos e os termos modificados, os termos posteriores prevalecerão com relação a esse conflito. 54814.3. Lei e Foro 549. Estes Termos de Uso são regidos pelas leis da República Federativa do Brasil. Quaisquer dúv
549idas e situações não previstas nestes Termos de Uso serão primeiramente resolvidas pelo Vtrina e, caso persistam, deverão ser solucionadas pelo Foro da Comarca de Curitiba, Paraná, com exclusão de qualquer outro, por mais privilegiado que seja ou venha a ser. 55014.4. Dúvidas 551. Caso você tenha alguma dúvida, comentário ou sugestão, por favor, entre em contato conosco por meio do e-mail [email protected]. 552De acordo com a disposição do artigo 41 da Lei Geral de Proteção de Dados, o Vtrina indica Gustavo Miguel da Silva Simionato, Diretor de Tecnologia CPF: 099.291.739-51 Telefone: 553+55 (41) 9 8869-1594 554 como pessoa encarregado pelo tratamento de dados, sendo possÃvel o contato através do seguinte e-mail: [email protected]. 555Caso queira nos dar algum feedback sobre o Vtrina, tenha dúvidas ou precise tratar de qualquer assunto relacionado a estes Termos de Uso, entre em contato conosco através do e-mail 556[email protected] 557. 558`;function aL(){const e=typeof window<"u"?`${window.location.origin}/termos-de-uso`:"https://vtrina.com/termos-de-uso";return zn({title:"Termos de uso",description:"Consulte as regras, condições e responsabilidades para uso da plataforma Vtrina.",canonicalPath:"/termos-de-uso",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Termos de uso",description:"Regras e condições de uso da plataforma Vtrina.",url:e}}),h.jsx(K1,{title:"Termos de uso",subtitle:"Documento público com as regras de uso da plataforma Vtrina.",content:sL,relatedLink:"/politica-de-privacidade",relatedLabel:"PolÃtica de privacidade"})}const iL=`Ãltima Atualização: 09 de janeiro de 2023 559Bem-vindo(a)! Obrigado por utilizar o Vtrina! 560Quando você utiliza o Vtrina, você nos confia seus dados e informações. Nos comprometemos a manter essa confiança. 561Nesse sentido, a presente PolÃtica de Privacidade (âPolÃticaâ) foi elaborada em cumprimento aos dispositivos previstos na Lei Federal nº 13.709/2018 â Lei Geral de Proteção de Dados Pessoais (âLGPDâ) de modo a definir as regras e esclarecer os direitos relacionados à privacidade e proteção dos dados pessoais dos usuários e explica de maneira clara e acessÃvel como as suas informações e dados pessoais serão coletados, usados, compartilhados e armazenados por meio dos nossos sistemas. 562A aceitação da nossa PolÃtica será feita quando você acessar ou usar o site, aplicativo ou serviços do Vtrina. Isso indicará que você está ciente e em total acordo com a forma como utilizaremos as suas informações e seus dados. 563A presente PolÃtica está dividida da seguinte forma para facilitar a sua compreensão: 5641. Quem somos? 5652. Quais informações o Vtrina coleta 5663. Como o Vtrina usa as informações coletadas 5674. Como, quando e com quem o Vtrina compartilha suas informações 5685. Quais direitos você tem sobre as informações que coletamos 5696. Como o Vtrina protege suas informações 5707. Atualizações dessa polÃtica de privacidade 5718. Lei aplicável 5729. Encarregado pela proteção de dados pessoais Este documento deve ser lido em conjunto com o nosso Termos de Uso, que contém uma visão geral da nossa plataforma. Caso tenha dúvidas ou precise tratar de qualquer assunto relacionado a esta PolÃtica, entre em contato conosco através do e-mail [email protected]. 5731. QUEM SOMOS? 574A Vtrina é uma plataforma digital desenvolvida pela VTRINA SERVIÃOS DIGITAIS LTDA, sociedade empresária limitada, inscrita no CNPJ sob o nº 16.517.057/0001-00, com sede na Cidade de Curitiba, Estado do Paraná, na Rua Angelo Vercesi, nº 14, Bacacheri, CEP 82510-470. 5752. INFORMAÃÃES QUE COLETAMOS 576Nós coletamos os seguintes tipos de informações: 577⢠Dados de cadastro. Quando você se cadastra no Vtrina, você nos fornece informações como login, nome, e-mail, senha, CPF, endereço, telefone, dados de cartão de crédito, data de nascimento, foto, gênero, cep, cidade, estado, paÃs. 578⢠Conexão por serviços de terceiros. Quando você se conecta ou faz login no Vtrina com serviços de terceiros (por exemplo, Facebook, Google), poderemos coletar os dados que você nos fornece através desses serviços, como nome, e-mail, endereço, telefone, data de nascimento, data de fundação, foto, gênero, cep, cidade, estado, paÃs. Neste caso, respeitaremos as suas configurações de privacidade e pediremos autorização para a coleta de tais dados. 579⢠Informações de autenticação. Para lhe proporcionar um ambiente seguro, podemos pedir que você nos forneça informações de identificação (por exemplo, documento de identidade, CPF) ou outras informações de autenticação (por exemplo, via SMS ou e-mail). 5802.1. Informações geradas quando você usa nossos serviços. 581Nós coletamos as seguintes informações geradas: 582⢠Registros de acesso. O Vtrina coleta automaticamente registros de acesso a aplicação, que incluem o endereço IP, com data e hora, utilizado para acessar o Vtrina. Esses dados são de coleta obrigatória, de acordo com a Lei 12.965/2014, mas somente serão fornecidos para terceiros com a sua autorização expressa ou por meio de demanda judicial. 583⢠Dados de uso. Nós coletamos informações sobre suas interações no Vtrina, como sua navegação, as páginas ou outro conteúdo que você acessa ou cria, suas buscas, participações em pesquisas ou fóruns e outras ações. 584⢠Dados de pagamento. Quando você realiza pagamentos no Vtrina, poderão ser armazenados dados do pagamento, como a data e hora, o valor e outros detalhes da transação, que poderão ser utilizados inclusive para fins de prevenção à fraude. Desta forma, poderemos lhe proporcionar um ambiente seguro e adequado para você realizar as suas transações. 585⢠CaracterÃsticas do equipamento. Como a maioria das aplicações, para poder funcionar o Vtrina coleta automaticamente dados sobre as caracterÃsticas do seu aparelho, dentre as quais o seu sistema operacional, a versão deste, informações de hardware, o idioma. 586⢠Comunicações com o Vtrina. Quando você se comunica com o Vtrina, coletamos informações sobre sua comunicação, incluindo metadados como data, IP e hora das comunicações e todo o seu conteúdo, assim como qualquer informação que você escolha fornecer. 5872.2. Informações de outras fontes. 588Isso pode incluir: 589⢠Dados coletados de outras plataformas. O Vtrina poderá interagir com outras plataformas e outros serviços, como redes sociais. Alguns desses serviços podem nos fornecer informações sobre você, aos quais coletaremos para lhe proporcionar uma melhor experiência e melhorar cada vez mais os
589nossos serviços e lhe oferecer novas funcionalidades, bem como para cadastro e autenticação na plataforma. 5903. COMO USAMOS SUAS INFORMAÃÃES 591Não custa lembrar, prezamos muito pela sua privacidade. Por isso, todos os dados e informações sobre você são tratadas como confidenciais, e somente as usaremos para os fins aqui descritos e autorizados por você, principalmente para que você possa utilizar o Vtrina de forma plena, visando sempre melhorar a sua experiência como usuário. 5923.1. Usos autorizados 593Desta forma, poderemos utilizar seus dados para: 594⢠Permitir que você acesse e utilize todas as funcionalidades do Vtrina; 595⢠Enviar a você mensagens a respeito de suporte ou serviço, como alertas, notificações e atualizações; 596⢠Nos comunicar com você sobre produtos, serviços, promoções, notÃcias, atualizações, eventos e outros assuntos que você possa ter interesse; 597⢠Analisar o tráfego dos usuários em nossas aplicações; 598⢠Realizar publicidade direcionada conforme seus gostos, interesses e outras informações coletadas; 599⢠Personalizar o serviço para este adequar cada vez mais aos seus gostos e interesses; 600⢠Criarmos novos serviços, produtos e funcionalidades; 601⢠Detecção e prevenção de fraudes, spam e incidentes de segurança; 602⢠Verificar ou autenticar as informações fornecidas por você, inclusive comparando a dados coletados de outras fontes; 603⢠Entender melhor o comportamento do usuário e construir perfis comportamentais; 604⢠Para qualquer fim que você autorizar no momento da coleta de dados; 605⢠Cumprir obrigações legais e regulatórias. 606Eventualmente, poderemos utilizar dados para finalidades não previstas nesta polÃtica de privacidade, mas estas estarão dentro das suas legÃtimas expectativas. O eventual uso dos seus dados para finalidades que não cumpram com essa prerrogativa será feito mediante sua autorização prévia. 6073.2. Exclusão dos dados 608Todos os dados coletados serão excluÃdos de nossos servidores quando você assim requisitar, por procedimento gratuito e facilitado, ou quando estes não forem mais necessários ou relevantes para lhe oferecermos os nossos serviços, salvo se houver qualquer outra razão para a sua manutenção, como eventual obrigação legal de retenção de dados ou necessidade de preservação destes para resguardo de direitos do Vtrina. 609Nos casos em que você solicite a exclusão dos seus dados, ela será feita prontamente, na medida do que for possÃvel. 6103.3. Monitoramento 611O Vtrina se reserva no direito de monitorar toda a plataforma, principalmente para assegurar que as regras descritas em nosso Termos de Uso estão sendo observadas, ou ainda se não há violação ou abuso das leis aplicáveis. 6123.4. Exclusão de usuário 613O Vtrina se reserva no direito de excluir determinado usuário, independente do tipo que for, caso a presente PolÃtica ou os Termos de Uso não sejam respeitados. Como prezamos pelo bom relacionamento com os usuários, reconhecemos que têm o direito de buscar entender os motivos e até contestá-los, o que pode ser feito pelo seguinte e-mail: [email protected]. 6144. COMPARTILHAMENTO DAS INFORMAÃÃES 615Todos os dados, informações e conteúdos sobre você podem ser considerados ativos no caso de negociações em que o Vtrina fizer parte. Portanto, nos reservamos no direito de, por exemplo, incluir seus dados dentre os ativos da empresa caso esta venha a ser vendida, adquirida ou fundida com outra. Por meio desta PolÃtica você concorda e está ciente desta possibilidade. 616O Vtrina se reserva no direito de fornecer seus dados e informações sobre você, incluindo interações suas, caso seja requisitado judicialmente para tanto, 617ato necessário para que a empresa esteja em conformidade com as leis nacionais, ou caso você autorize expressamente. 618Para desenvolver e melhorar os Serviços prestados pela Vtrina, poderemos contratar provedores de serviços terceirizados para executar determinadas operações de negócios em nome do Vtrina. Ao fazer isso, podemos precisar compartilhar suas informações pessoais com eles. Fornecemos aos nossos provedores de serviço somente informações pessoais de que eles necessitam para realizar os serviços que solicitamos, e exigimos que eles protejam essas informações e não as usem para nenhum outro propósito. 619A Vtrina também pode divulgar seus dados pessoais a terceiros, como fornecedores do Vtrina para nossos negócios, como gerenciamento de pagamento, suporte técnico, operação de sistemas de TI. 620Além disso, poderemos revelar seus dados em caso de: determinação judicial, ordem de autoridade competente ou necessidade de defesa de nossos direitos em demandas judiciais ou administrativas. 621Adicionalmente, é possÃvel que algumas das transferências citadas acima ocorram para destinatários situados fora do território nacional. Nesta circunstância, as partes se comprometem a fazê-lo somente para paÃses que proporcionem um grau de proteção aos dados pessoais em consonância com à s melhores práticas, sempre observado as legislações vigentes, proporcionando assim aos usuários garantias de salvaguardas seus dados, com cláusulas contratuais especÃficas, sem que haja prejuÃzo da prévia coleta do seu respectivo consentimento especÃfico, quando aplicável. 6225. DIREITOS DOS TITULARES 623Você sempre poderá optar em não divulgar seus dados para nós, mas tenha em mente que alguns desses dados podem ser necessários para utilizar as funcionalidades de nossas aplicações. Independente disso, você sempre possuirá direitos relativos à privacidade e à proteção dos seus dados pessoais. 624Dessa forma, abaixo resumimos todos os direitos que você tem sob as leis setoriais brasileiras relativas à proteção de dados e a LGPD, quais sejam: 6255.1. Direito de acesso. Este direito permite que você possa requisitar e receber uma cópia dos dados pessoais que possuÃmos sobre você. 6265.2. Direito de retificação. Este direito permite que você, a qualquer momento, possa solicitar a correção e/ou retificação dos seus dados pessoais, caso identifique que alguns deles estão incorretos. Contudo, para ser efetivada essa correção, teremos que checar a validade dos dados que você nos fornece. Você pode retificar diretamente alguns dos seus dados pessoais através do e-mail [email protected]
626om. 6275.3. Direito de exclusão. Este direito permite que você possa nos solicitar a exclusão dos dados pessoais que possuÃmos sobre você. Todos os dados 628coletados serão excluÃdos de nossos servidores quando você assim requisitar ou quando estes não forem mais necessários ou relevantes para lhe oferecermos nossos serviços, salvo se houver qualquer outra razão para a sua manutenção, como eventual obrigação legal de retenção de dados ou necessidade de preservação destes para resguardo de direitos do Vtrina. Para alterar suas informações pessoais ou excluÃ-las do nosso banco de dados, basta enviar um e-mail para [email protected]. 6295.4. Direito de oposição ao processamento. Você também tem o direito de contestar onde e em que contexto estamos tratando seus dados pessoais para diferentes finalidades. Em determinadas situações, podemos demonstrar que temos motivos legÃtimos para tratar seus dados, os quais se sobrepõem aos seus direitos, caso, por exemplo, sejam essenciais para o fornecimento de nossas aplicações. 6305.5. Direito de solicitar anonimização, bloqueio ou eliminação. Este direito permite que você nos peça para suspender o processamento de seus dados pessoais nos seguintes cenários: (a) se você quiser que nós estabeleçamos a precisão dos dados; (b) quando você precisar que sejam mantidos os dados mesmo se não precisarmos mais deles, conforme necessário, para estabelecer, exercer ou defender reivindicações legais; ou (c) se você se opôs ao uso de seus dados, mas nesta hipótese precisamos verificar se temos motivos legÃtimos para usá-los. 6315.6. Direito à portabilidade. Forneceremos a você, ou a terceiros que você escolheu, seus dados pessoais em formato estruturado e interoperável. 6325.7. Direito de retirar o seu consentimento. Você tem o direito de retirar o seu consentimento em relação aos termos desta PolÃtica de Privacidade. No entanto, isso não afetará a legalidade de qualquer processamento realizado anteriormente. Se você retirar o seu consentimento, talvez não possamos fornecer determinados serviços. 6335.8. Direito a revisão de decisões automatizadas. Você também tem o direito de solicitar a revisão de decisões tomadas unicamente com base em tratamento automatizado de seus dados pessoais que afetem seus interesses, incluÃdas as decisões destinadas a definição de perfis pessoais, profissionais, de consumo e de crédito e/ou os aspectos de sua personalidade. 634Talvez seja necessário solicitar informações especÃficas suas para nos ajudar a confirmar sua identidade e garantir seu direito de acessar seus dados pessoais (ou de exercer seus outros direitos). Esta é uma medida de segurança para garantir que os dados pessoais não sejam divulgados a qualquer pessoa que não tenha direito de protegê-los. Podemos também contatá-lo para obter mais informações em relação à sua solicitação, a fim de acelerar nossa resposta. Tentamos responder a todas as solicitações legÃtimas dentro de 5 dias úteis. Ocasionalmente, pode levar mais de 5 dias se sua solicitação for particularmente complexa ou se você tiver feito várias solicitações. Neste caso, iremos protegê-los e mantê-lo atualizado sobre o andamento da sua solicitação. 635Caso Você tenha alguma dúvida sobre essas questões e sobre como você pode exercer esses direitos, fique à vontade para entrar em contato conosco no e-mail [email protected]. 6366. SEGURANÃA DAS INFORMAÃÃES 637Todos os seus dados são confidenciais e somente as pessoas com as devidas autorizações terão acesso a eles. Qualquer uso destes estará de acordo com a presente PolÃtica. O Vtrina empreenderá todos os esforços razoáveis de mercado para garantir a segurança dos nossos sistemas e dos seus dados. Nossos servidores estão localizados em diferentes locais para garantir estabilidade e segurança, e somente podem ser acessados por meio de canais de comunicação previamente autorizados. 638Todas as suas informações serão, sempre que possÃvel, criptografadas, caso não inviabilizem o seu uso pela plataforma. A qualquer momento você poderá requisitar cópia dos seus dados armazenados em nossos sistemas. Manteremos os dados e informações somente até quando estas forem necessárias ou relevantes para as finalidades descritas nesta PolÃtica, ou em caso de perÃodos pré-determinados por lei, ou até quando estas forem necessárias para a manutenção de interesses legÃtimos do Vtrina. 639O Vtrina considera a sua privacidade algo extremamente importante e fará tudo que estiver ao alcance para protege-la. Todavia, não temos como garantir que todos os dados e informações sobre você em nossa plataforma estarão livres de acessos não autorizados, principalmente caso haja compartilhamento indevido das credenciais necessárias para acessar o nosso aplicativo. Portanto, você é o único responsável por manter sua senha de acesso em local seguro e é vedado o compartilhamento desta com terceiros. Você se compromete a notificar o Vtrina imediatamente, através de meio seguro, a respeito de qualquer uso não autorizado de sua conta, bem como o acesso não autorizado por terceiros a esta. 6407. ATUALIZAÃÃES DA POLÃTICA DE PRIVACIDADE 641O Vtrina se reserva no direito de alterar essa PolÃtica quantas vezes forem necessárias, visando fornecer a você mais segurança, conveniência, e melhorar cada vez mais a sua experiência. à por isso que é muito importante acessar nossa PolÃtica periodicamente. Para facilitar, indicamos no inÃcio do documento a data da última atualização. Caso sejam feitas alterações relevantes que ensejem novas autorizações suas, publicaremos uma nova polÃtica de privacidade, sujeita novamente ao seu consentimento. 6428. LEI APLICÃVEL 643Este documento é regido e deve ser interpretado de acordo com as leis da República Federativa do Brasil. Fica eleito o Foro da Comarca de Curitiba, Paraná, como o competente para dirimir quaisquer questões porventura oriundas do presente documento, com expressa renúncia a qualquer outro, por 644mais privilegiado que seja.9. ENCARREGADO PELA PROTEÃÃO DE DADOS PESSOAIS 645O Encarregado pela proteção de dados pessoais do Vtrina é o Sr. [Gustavo Miguel da Silva Simionato]. 646`;function lL(){const e=typeof window<"u"?`${window.location.origin}/politica-de-privacidade`:"https://vtrina.com/politica-de-privacidade";return zn({title:"PolÃtica de privacidade",description:"Entenda como a Vtr
646ina coleta, utiliza e protege dados pessoais na plataforma.",canonicalPath:"/politica-de-privacidade",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"PolÃtica de privacidade",description:"Diretrizes de privacidade e proteção de dados do Vtrina.",url:e}}),h.jsx(K1,{title:"PolÃtica de privacidade",subtitle:"Documento público com as diretrizes de privacidade e proteção de dados do Vtrina.",content:iL,relatedLink:"/termos-de-uso",relatedLabel:"Termos de uso"})}const Ga=[{id:4229,slug:"descubra-os-3-beneficios-que-fazem-o-vtrina-a-sua-melhor-opcao",title:"Descubra os 3 benefÃcios que fazem o Vtrina a sua melhor opção",excerpt:"Se você está procurando uma solução de gestão de marketplaces, provavelmente já encontrou diversas opções disponÃveis no mercado. Mas será que todas elas são igualmente eficientes? Aqui, vamos apresentar três benefÃcios que fazem do Vtrina a sua melhor opção. Atendimento eficiente O primeiro benefÃcio que merece destaque é o atendimento eficiente oferecido pela equipe do",date:"2023-03-30T10:00:00",sourceUrl:"https://vtrina.com/descubra-os-3-beneficios-que-fazem-o-vtrina-a-sua-melhor-opcao/",coverImage:"https://vtrina.com/wp-content/uploads/2023/03/3d-renderizacao-da-prancheta-de-papel-com-carrapato-verde-1-scaled.jpg",coverAlt:"Descubra os 3 benefÃcios que fazem o Vtrina a sua melhor opção",contentHtml:`<p>Se você está procurando uma solução de gestão de marketplaces, provavelmente já encontrou diversas opções disponÃveis no mercado. Mas será que todas elas são igualmente eficientes? Aqui, vamos apresentar três benefÃcios que fazem do Vtrina a sua melhor opção.</p> 647 648 649 650<h2>Atendimento eficiente</h2> 651 652 653 654<p>O primeiro benefÃcio que merece destaque é o atendimento eficiente oferecido pela equipe do Vtrina. Nosso time está sempre pronto para responder à s suas dúvidas e resolver eventuais problemas que possam surgir. Além disso, buscamos sempre estabelecer um relacionamento próximo e de confiança com os nossos clientes.</p> 655 656 657 658<h2>ConstruÃdo sob medida</h2> 659 660 661 662<p>Outro diferencial do Vtrina é o nosso <a href="/#contato">Plano Custom</a>, em que mapeamos a necessidade do cliente e verificamos a possibilidade de desenvolver uma solução personalizada. Entendemos que cada negócio tem suas particularidades e, por isso, oferecemos um atendimento individualizado e soluções sob medida para cada caso.</p> 663 664 665 666<h2>Funcionalidades que realmente funcionam</h2> 667 668 669 670<p>Parece até engraçado, mas muitos sistemas por aà prometem funcionalidades que.. não funcionam..</p> 671 672 673 674<p>Nossa plataforma foi construÃda com as melhores técnicas de programação e passa por testes rigorosos de controle de qualidade. Tudo o que oferecemos garantimos que funcione da melhor forma possÃvel. Tudo é desenvolvido com tecnologia de ponta e pensado para oferecer uma experiência intuitiva e eficiente para o usuário.</p> 675 676 677 678<h3><strong>Conclusão</strong></h3> 679 680 681 682<p>Não perca mais tempo com soluções ineficientes e pouco personalizadas. O Vtrina é a sua melhor opção para maximizar o potencial de vendas nos marketplaces. Entre em contato conosco e descubra como podemos ajudar a impulsionar o seu negócio.</p>`},{id:4225,slug:"tudo-o-que-voce-precisa-saber-sobre-integracao-entre-canais-de-vendas",title:"Tudo o que você precisa saber sobre integração entre canais de vendas",excerpt:"Se você é um varejista digital, provavelmente já está vendendo em múltiplos canais, como lojas virtuais, marketplaces, redes sociais e outras plataformas. Mas como você gerencia todos esses canais de vendas e garante que os dados estejam sempre sincronizados? à aà que entra a integração de canais de vendas. Neste artigo, você vai descobrir tudo",date:"2023-03-17T10:00:00",sourceUrl:"https://vtrina.com/tudo-o-que-voce-precisa-saber-sobre-integracao-entre-canais-de-vendas/",coverImage:"https://vtrina.com/wp-content/uploads/2023/03/mulher-de-colheita-usando-laptop-no-cafe-scaled.jpg",coverAlt:"Tudo o que você precisa saber sobre integração entre canais de vendas",contentHtml:`<p>Se você é um varejista digital, provavelmente já está vendendo em múltiplos canais, como lojas virtuais, marketplaces, redes sociais e outras plataformas. Mas como você gerencia todos esses canais de vendas e garante que os dados estejam sempre sincronizados?</p> 683 684 685 686<p>à aà que entra a integração de canais de vendas. Neste artigo, você vai de
686scobrir tudo o que precisa saber sobre integração de canais de vendas e como a solução Vtrina pode ajudar a otimizar seus processos de vendas online.</p> 687 688 689 690<h2><strong>O que são integrações de canais de vendas?</strong></h2> 691 692 693 694<p>Integrações de canais de vendas são os processos de conexão entre diferentes plataformas de vendas online em uma única plataforma, a fim de gerenciar todas as atividades de vendas em um só lugar. A integração de canais de vendas permite que os varejistas digitais gerenciem todos os seus canais de vendas de forma mais eficiente e produtiva, eliminando a necessidade de fazer o upload de informações manualmente em cada plataforma.</p> 695 696 697 698<h2><strong>Quais são as vantagens da integração de canais de vendas?</strong></h2> 699 700 701 702<p>A integração de canais de vendas oferece várias vantagens para os varejista digitais, como:</p> 703 704 705 706<ul> 707<li>Maior eficiência na gestão dos canais de vendas;</li> 708 709 710 711<li>Menores chances de erros;</li> 712 713 714 715<li>Melhor controle de estoque e pedidos;</li> 716 717 718 719<li>Aumento da visibilidade dos produtos em diferentes canais;</li> 720 721 722 723<li>Melhoria da experiência do cliente.</li> 724</ul> 725 726 727 728<h3><strong>Como escolher uma plataforma de integração de canais de vendas?</strong></h3> 729 730 731 732<p>Ao escolher uma plataforma de integração de canais de vendas, é importante considerar fatores como as funcionalidades necessárias para o seu negócio, o suporte ao cliente e o custo da solução. Certifique-se de que a plataforma escolhida ofereça integração com todos os seus canais de vendas e que possa ajudá-lo a automatizar processos.</p> 733 734 735 736<h3><strong>O que é o Vtrina e como ele pode ajudar na integração de canais de vendas?</strong></h3> 737 738 739 740<p>O Vtrina é uma plataforma de integração de canais de vendas que ajuda os varejistas digitais a gerenciar as suas atividades de vendas. Com o Vtrina, é possÃvel integrar todos os seus canais de vendas em uma única plataforma e automatizar tarefas complexas, como o gerenciamento de estoques, pedidos, anúncios e a sincronização de preços.</p> 741 742 743 744<h2><strong>Como integrar seus canais de vendas usando o Vtrina?</strong></h2> 745 746 747 748<p>Você pode começar a integrar seus canais de vendas digitais usando o Vtrina, com o <a href="/#contato">Plano Start</a> você pode obter uma conta gratuita e conhecer a nossa interface. Com os nossos planos avançados, você pode adicionar diversos canais de venda e sincronizar os dados com a nossa plataforma. O Vtrina oferece uma interface intuitiva e fácil de usar, além de termos um suporte técnico para ajudar nas configurações da sua loja.</p> 749 750 751 752<h2><strong>Conclusão</strong></h2> 753 754 755 756<p>Por fim, concluÃmos que as integrações dos canais de vendas digitais são fundamentais para o sucesso do seu negócio. Assim, será possÃvel gerenciar todas as vendas de um único lugar, economizando tempo, reduzindo erros e melhorando a eficiência da operação.</p>`},{id:4209,slug:"como-aproveitar-o-dia-das-mulheres-para-alavancar-suas-vendas-online",title:"Como aproveitar o dia das mulheres para alavancar suas vendas online.",excerpt:"O Dia Internacional da Mulher é uma data que representa muito mais do que flores e presentes. à uma oportunidade para homenagear e valorizar todas as mulheres que fazem a diferença na nossa sociedade. E, para os empreendedores, também pode ser uma oportunidade de alavancar as vendas online. Para te ajudar a aproveitar essa data,",date:"2023-03-07T14:11:36",sourceUrl:"https://vtrina.com/como-aproveitar-o-dia-das-mulheres-para-alavancar-suas-vendas-online/",coverImage:"https://vtrina.com/wp-content/uploads/2023/03/retrato-de-adultos-multietnicos-e-mulheres-jovens-em-camisas-brancas-abracando-se-em-fundo-marrom-scaled.jpg",coverAlt:"Como aproveitar o dia das mulheres para alavancar suas vendas online.",contentHtml:`<p>O Dia Internacional da Mulher é uma data que representa muito mais do que flores e presentes. à uma oportunidade para homenagear e valorizar todas as mulheres que fazem a diferença na nossa sociedade. E, para os empreendedores, também pode ser uma oportunidade de alavancar as vendas online. Para te ajudar a aproveitar essa data, listamos algumas estratég
756ias que podem impulsionar suas vendas:</p> 757 758 759 760<h2>Crie promoções especiais</h2> 761 762 763 764<p>Ofereça descontos, frete grátis ou brindes exclusivos para quem comprar durante o perÃodo que antecede o Dia Internacional da Mulher. Dessa forma, você estimula a compra e valoriza seus clientes.</p> 765 766 767 768<h2>Invista na comunicação visual</h2> 769 770 771 772<p>Utilize as cores que remetem à data (como roxo, rosa e branco), crie banners e imagens com mensagens personalizadas e que valorizem as mulheres. A comunicação visual deve ser atrativa e passar a mensagem de que o seu produto é o presente ideal para valorizar e agradecer aquela pessoa especial.</p> 773 774 775 776<h2>Amplie sua linha de produtos</h2> 777 778 779 780<p>Crie kits especiais ou inclua produtos que possam ser combinados para formar presentes completos e atrativos. Ofereça opções para diferentes perfis de mulheres (como as esportistas, as delicadas, as vaidosas etc.) e diferentes faixas de preço.</p> 781 782 783 784<h2>Valorize todas as mulheres</h2> 785 786 787 788<p>Não se limite a pensar apenas nas mães ou nas esposas. Considere todas as mulheres, como avós, tias, irmãs e amigas. Lembre-se de que essa data é importante para todas elas. E para atrair ainda mais clientes, pense em ações inclusivas e que representem a diversidade das mulheres.</p> 789 790 791 792<h2>Explore as redes sociais</h2> 793 794 795 796<p>Use as redes sociais para divulgar suas promoções e seus produtos. Crie conteúdo exclusivo para a data, faça sorteios e concursos que estimulem a interação dos seguidores. Use hashtags especÃficas para a data e interaja com os clientes.</p> 797 798 799 800<h2>Conclusão</h2> 801 802 803 804<p>O Dia Internacional da Mulher é uma data importante e significativa, que pode ser uma excelente oportunidade para alavancar suas vendas. Utilize as estratég
804ias que listamos aqui e crie uma campanha efetiva para valorizar as mulheres e estimular as vendas em sua loja online. Lembre-se de que a chave para o sucesso é o planejamento.</p>`},{id:4139,slug:"como-usar-os-canais-digitais-de-vendas-para-aumentar-o-lucro-da-sua-empresa",title:"Como usar os canais digitais de vendas para aumentar o lucro da sua empresa",excerpt:"Os canais são a chave para um negócio de sucesso no varejo digital â mas manter o controle dos pedidos pode ser o fator determinante para o sucesso de um negócio. O que são canais de vendas? São ferramentas online que permitem à s empresas vender seus produtos e serviços. Eles podem incluir, e-commerces, plataformas de",date:"2023-01-31T11:00:00",sourceUrl:"https://vtrina.com/como-usar-os-canais-digitais-de-vendas-para-aumentar-o-lucro-da-sua-empresa/",coverImage:"https://vtrina.com/wp-content/uploads/2023/01/alegre-jovem-empresario-caucasiano_171337-727.webp",coverAlt:"Como usar os canais digitais de vendas para aumentar o lucro da sua empresa",contentHtml:`<p><em>Os canais são a chave para um negócio de sucesso no varejo digital â mas manter o controle dos pedidos pode ser o fator determinante para o sucesso de um negócio.</em></p> 805 806 807 808<h2>O que são canais de vendas?</h2> 809 810 811 812<p>São ferramentas online que permitem à s empresas vender seus produtos e serviços. Eles podem incluir, e-commerces, plataformas de mÃdia social, marketplaces, entre outros. Os canais são importantes para as empresas atualmente porque eles fornecem uma maneira de alcançar clientes em qualquer lugar do paÃs e até do mundo, utilizando a credibilidade e visibilidade da empresa parceira. Além disso, eles oferecem uma variedade de recursos que podem ser usados para melhorar a experiência de compra do cliente.</p> 813 814 815 816<h2>Como começar com os canais de vendas</h2> 817 818 819 820<p>Se você está pensando em começar a vender on-line, há algumas coisas que você precisa considerar.</p> 821 822 823 824<h3>1. Escolha os canais certos</h3> 825 826 827 828<p>Nem todos os canais possuem aderência com o seu produto. Certifique-se de escolher os canais que serão mais adequado para os seus produtos. Marketplaces de nicho especializados em determinado setor, exemplo: Camicado â Marketplace para itens de casa e decoração).</p> 829 830 831 832<h3>2. Use as melhores ferramentas</h3> 833 834 835 836<p>Certifique-se de usar as ferramentas certas para ajudá-lo em seus esforços de vendas digitais. Por exemplo, se você estiver usando um website, certifique-se de que ele seja projetado para vendas e que seja fácil de usar por um integrador.</p> 837 838 839 840<h3>3. Treine seu pessoal</h3> 841 842 843 844<p>Certifique-se de que sua equipe esteja familiarizada com os canais digitais que você está usando. Isto assegurará que eles possam fornecer aos clientes a melhor experiência de compra possÃvel.</p> 845 846 847 848<h2>Por que integrar os canais digitais?</h2> 849 850 851 852<p>Os canais digitais integrados são uma das chaves para um negócio de sucesso no varejo digital. Garantir que estejam bem organizados pode ajudar a melhorar a experiência de compra de seus clientes.</p> 853 854 855 856<p>Alguns dos benefÃcios em manter seus canais integrados incluem;</p> 857 858 859 860<h3>1. Aumento das vendas</h3> 861 862 863 864<p>Usando um hub de integrações para organizar seus canais, você poderá evitar vender um produto que esteja fora de estoque ou enviar produtos errados ou quantidades erradas ou até mesmo faturar um pedido não aprovado. Isto ajudará a melhorar as vendas da sua empresa.</p> 865 866 867 868<h3>2. Melhor organização</h3> 869 870 871 872<p>A centralização e controle das operações de vendas digitais permite que monte estratégias de vendas mais assertivas e isso só é possÃvel devido a organização e controle dos produtos, estoque, preços, pedidos presentes nas plataformas. Elas permitem uma visão ampliada do crescimento da sua empresa, considerando o acompanhamento dos melhores canais para vender seus produtos.</p> 873 874 875 876<h3>3. Melhor experiência do cliente</h3> 877 878 879 880<p>Os canais digitais oferecem uma variedade de recursos que podem ser usados para melhorar a experiência de compra do cliente e mantê-los satisfeitos. Por exemplo, ecommerces ofertam check-out rápidos e simples para o cliente não abandonar o carrinho, ou indicam quais produtos podem ser comprados juntos com o item adquirido, etc..)</p> 881 882 883 884<h3>4. Economia</h3> 885 886 887 888<p>Procure por ferramentas que não cobrem percentual sobre suas vendas ou limitem de forma extrema a subida de seus produtos ou número de pedidos, desta forma poderá gerar previsibilidade de valores a pagar não comprometendo seu fluxo de caixa.</p> 889 890 891 892<h3>5. Alcance</h3> 893 894 895 896<p>Verifique os canais ofertados na solução de integração, pois isso pode ser muito importante se deseja vender seus produtos em todo o Brasil. Você deve buscar tornar sua marca conhecida pelo maior número de clientes possÃveis.</p> 897 898 899 900<h2>Conheça a plataforma do Vtrina</h2> 901 902 903 904<p>Gerenciar seus canais de vendas pode dar muito trabalho, e se você cometer um deslize, pode perder clientes e até mesmo receita. Já imaginou vender um produto esgotado ou enviar várias vezes a mesma mercadoria para o mesmo pedido? Até mesmo um item errado ou faturar um pedido não aprovado? Essas são as rotinas mais comuns em lojas virtuais que crescem em pouco tempo sem ter um fluxo de vendas eficiente.</p> 905 906 907 908<p>
908Baseado nessa necessidade, desenvolvemos o Vtrina.</p> 909 910 911 912<p>Você pode usar nossa ferramenta para acompanhar todos os seus pedidos, produtos, envios e estoques em um só lugar, de maneira rápida e eficiente.</p> 913 914 915 916<p>Inscreva-se hoje para um teste gratuito e veja como podemos ajudar você a fazer sua empresa crescer de forma saudável!</p>`},{id:4142,slug:"mantenha-os-clientes-satisfeitos-com-o-gerenciamento-eficiente-dos-canais-de-vendas-digitais",title:"Mantenha os clientes satisfeitos com o gerenciamento eficiente dos canais de vendas digitais",excerpt:"No cenário em constante mudança do varejo digital, uma coisa permanece constante: a necessidade de uma gestão eficiente dos canais digitais de vendas. Descubra por que o gerenciamento é tão importante e como você pode fazer com que ele funcione para seu negócio. O que é gestão de canais de vendas digitais? O gerenciamento é",date:"2023-01-18T14:00:37",sourceUrl:"https://vtrina.com/mantenha-os-clientes-satisfeitos-com-o-gerenciamento-eficiente-dos-canais-de-vendas-digitais/",coverImage:"https://vtrina.com/wp-content/uploads/2023/01/arranjo-de-vista-superior-com-emocao_23-2148860284.webp",coverAlt:"Mantenha os clientes satisfeitos com o gerenciamento eficiente dos canais de vendas digitais",contentHtml:`<p>No cenário em constante mudança do varejo digital, uma coisa permanece constante: a necessidade de uma gestão eficiente dos canais digitais de vendas.</p> 917 918 919 920<p>Descubra por que o gerenciamento é tão importante e como você pode fazer com que ele funcione para seu negócio.</p> 921 922 923 924<h2>O que é gestão de canais de vendas digitais?</h2> 925 926 927 928<p>O gerenciamento é o processo de monitoramento e otimização dos canais da sua empresa para garantir o máximo desempenho. Isto inclui tudo, desde a criação e configuração de novos canais de vendas até a manutenção e solução de problemas contÃnuos. Em resumo, o gerenciamento eficiente garante a satisfação de seus clientes mantendo o controle das transações como por exemplo: carga de produtos, estoque, preços, pedidos, etc.</p> 929 930 931 932<h2>Por que o gerenciamento de canais de vendas digitais é importante?</h2> 933 934 935 936<p>Há duas razões principais pelas quais o gerenciamento é tão importante para as empresas: a satisfação do cliente e o ROI. Antes de tudo, clientes satisfeitos são essenciais para qualquer negócio. Se seus clientes não estiverem satisfeitos com sua experiência no momento da compra e depois, eles buscaram outros canais, outras marcas. E, em segundo lugar, a otimização de seus canais pode levar ao aumento dos lucros. Ao garantir que cada canal esteja operando com a máxima eficiência, você pode maximizar seu retorno sobre o investimento, o ROI.</p> 937 938 939 940<p>As empresas que investem na gestão eficiente dos canais digitais colhem as recompensas na forma de relacionamento e aumento dos lucros.</p> 941 942 943 944 945 946 947 948<p>A gestão é essencial para qualquer negócio principalmente para aqueles que busca ter sucesso no cenário em constante mudanças do varejo digital.</p> 949 950 951 952<p>Agora que você já sabe da importância do gerenciamento eficiente, que tal descobrir como usar os canais digitais de vendas para aumentar as vendas da sua empresa?</p>`},{id:2174,slug:"como-vender-em-marketplace-com-o-vtrina",title:"Como vender em Marketplace com o Vtrina?",excerpt:"Confira a seguir como funcionam as vendas em marketplace e a solução para que o seu negócio tenha sucesso nos canais O marketplace é um coletivo de vendas online, onde o lojista expõem seus produtos em grandes âvitrinesâ. Devido a reputação destes canais, os produtos são mais facilmente encontrados pelos consumidores. E, por isso, as",date:"2020-09-13T22:57:33",sourceUrl:"https://vtrina.com/como-vender-em-marketplace-com-o-vtrina/",coverImage:"https://vtrina.com/wp-content/uploads/2020/09/Types-of-Online-Marketplaces-02.jpg",coverAlt:"Como vender em Marketplace com o Vtrina?",contentHtml:`<p><em>Confira a seguir como funcionam as vendas em marketplace e a solução para que o seu negócio tenha sucesso nos canais</em></p> 953 954 955 956<p>O marketplace é um coletivo de vendas online, onde o lojista expõem seus produtos em grandes âvitrinesâ. Devido a reputação destes canais, os produtos são mais facilmente encontrados pelos consumidores. E, por isso, as chances de alavancar as vendas aumentam.</p> 957 958 959 960<p>Essa é uma real oportunidade para quem está pretendendo ampliar os negócios e é intermediada em três partes principais: o comprador, o marketplace e o vendedor.</p> 961 962 963 964<blockquote><p><strong>Comprador</strong></p></blockquote> 965 966 967 968<p>Como quase toda jornada online começa em um buscador, logo ao fazer uma pesquisa os consumidores se deparam com os resultados de maior alcance e patrocÃnio.</p> 969 970 971 972<p>No caso de compras, os primeiros resultados são de sites como <strong><a href="https://amazon.com.br/">Amazon</a>, <a href="https://www.mercadolivre.com.br/">Mercado Livre</a></strong> e <strong><a href="https://www.americanas.com.br/">Lojas</a></strong><strong><a href="https://www.americanas.com.br/">Americanas</a>.</strong> Começou a entender a vantagem de comercializar os produtos por lá?</p> 973 974 975 976<blockquote><p><strong>Marketplace</strong></p></blockquote> 977 978 979 980<p>Certamente há um custo mensal pelas vendas realizadas nos canais, que pode variar entre 16% a 30% sobre cada pedido realizado. Porém, ainda assim, é uma estratég
980ia válida considerando o alcance e a visibilidade que pode alcançar.</p> 981 982 983 984<blockquote><p><strong>Vendedor</strong></p></blockquote> 985 986 987 988<p>Em termos gerais, quem está vendendo continua a ter as mesmas exigências de atender de forma eficiente os clientes. Em alguns casos pode inclusive contar com uma opção de envio direto pelo canal, mas a estratégia de preços continua sobre a sua supervisão.</p> 989 990 991 992<p>Há inclusive oportunidades de participar de ações promocionais em todo Brasil que são administradas pelos próprios Marketplaces.</p> 993 994 995 996<h4>E como posso vender em Marketplace?</h4> 997 998 999 1000<p>Como forma de facilitar a conexão dos lojistas com esses canais surgiu o Vtrina, que atua como um Hub para a integração, ou seja, a conexão dos produtos aos Marketplaces.</p> 1001 1002 1003 1004<p>Mas, além disso, oferecemos uma parceria diferenciada no mercado. E isso envolve não apenas âconectarâ os produtos aos canais. A equipe vai estar dedicada a moderação e adequação dos itens antes do envio para venda. Dessa forma, queremos favorece e facilitar a real oportunidade de venda para o Seller.</p> 1005 1006 1007 1008<p>Para saber mais entre em contato pelo [email protected].</p>`},{id:2171,slug:"marketplace-e-vantajoso-para-todos-os-tamanhos-de-negocio",title:"Marketplace é vantajoso para todos os tamanhos de negócio?",excerpt:"Sim!! Para as pequenas empresas, o marketplace é uma oportunidade de terem um grande alcance com um baixo investimento, mesmo quando algumas delas sequer tenham um e-commerce próprio. Neste caso, elas não precisam se preocupar com plataforma, marketing, meios de pagamento ou segurança para a criação de uma loja virtual. Já as grandes empresas podem",date:"2020-09-13T22:53:26",sourceUrl:"https://vtrina.com/marketplace-e-vantajoso-para-todos-os-tamanhos-de-negocio/",coverImage:"https://vtrina.com/wp-content/uploads/2020/09/Marketplace-e-vantajoso-para-todos-os-tamanhos-de-negocio.jpg",coverAlt:"Marketplace é vantajoso para todos os tamanhos de negócio?",contentHtml:`<p>Sim!! Para as pequenas empresas, o marketplace é uma oportunidade de terem um grande alcance com um baixo investimento, mesmo quando algumas delas sequer tenham um e-commerce próprio. Neste caso, elas não precisam se preocupar com plataforma, marketing, meios de pagamento ou segurança para a criação de uma loja virtual.</p> 1009 1010 1011 1012<p>Já as grandes empresas podem utilizar os Marketplaces para marcar presença em sites onde os clientes costumam comprar,<br>conciliando uma estratégia de venda com a de um e-commerce próprio. Esses fabricantes e distribuidores de todos os<br>tamanhos também podem aproveitar este canal para posicionar melhor a própria marca e se aproximar do consumidor.</p> 1013 1014 1015 1016<p>Em todos os casos, vender nestes canais abre grandes oportunidades de divulgação e vendas, sendo que o gestor terá mais<br>tempo para poder administrar a operação e estratégias do negócio, enquanto a plataforma de marketplace contribui no aumento da<br>receita.</p>`},{id:2168,slug:"por-que-vender-em-marketplace",title:"Por que vender em Marketplace?",excerpt:"As vendas em Marketplace vem crescendo no Brasil e, com isso, surgem novas oportunidades de investimento para os varejistas. Confira o porquê de utilizar essa estratégia de negócio! O marketplace é um modelo de negócio estruturado em três partes principais: o comprador, o intermediador e o vendedor. Abaixo explicamos como isso funciona e as vantagens que",date:"2020-09-13T22:43:10",sourceUrl:"https://vtrina.com/por-que-vender-em-marketplace/",coverImage:"https://vtrina.com/wp-content/uploads/2020/09/Por-que-vender.jpg",coverAlt:"Por que vender em Marketplace?",contentHtml:`<p><em>As vendas em Marketplace vem crescendo no Brasil e, com isso, surgem novas oportunidades de investimento para os varejistas</em>. <em>Confira o porquê de utilizar essa estratégia de negócio!</em></p> 1017 1018 1019 1020<p>O marketplace é um modelo de negócio estruturado em três partes principais: o comprador, o intermediador e o vendedor. Abaixo explicamos como isso funciona e as vantagens que isso pode trazer para o seu negócio.</p> 1021 1022 1023 1024<h4>Comprador:</h4> 1025 1026 1027 1028<p>Nesse grandes canais como Amazon, Mercado Livre e Lojas Americanas, o cliente é impactado por diferentes produtos. A estrutura do marketplace como suas várias categorias vai garantir que ele consiga comprar tudo o que desejar e pagar em uma única conta.</p> 1029 1030 1031 1032<p>Com uma compra facilitada o comprador consegue resolver todos os seus âproblemasâ de forma centralizada, ou seja, tem menos trabalho e consegue melhores condições de pagamento e entrega.</p> 1033 1034 1035 1036<h4>Intermediador:</h4> 1037 1038 1039 1040<p>O marketplace será a interface com o consumidor final e para que as vendas ocorram dentro de algumas regras pré-estabelecidas, oferece suporte ao lojista para cadastrar e vender seu produtor com mais facilidade.</p> 1041 1042 1043 1044<p>Além disso, oferece dicas e treinamentos para que o seller possa obter crescimento nas vendas.</p> 1045 1046 1047 1048<h4>Vendedor ou Seller:</h4> 1049 1050 1051 1052<p>à quem administra a operação da entrega e da atualização das informações como preços e estoque para que a oferta se mantenha ativa. Esse representantes pode ser indústrias, distribuidores ou varejistas.</p> 1053 1054 1055 1056<p>Em um primeiro momento a figura do intermediador pode parecer até desnecessária, mas é aà que dois conceitos precisam ser bem trabalhados: a segurança e a estratég
1056ia de vendas.</p> 1057 1058 1059 1060<p>Em termos de segurança, o marketplace acaba passando mais confiança ao consumidor, tanto pelo reconhecimento da marca quanto pelo poder de resolver boa parte dos problemas.</p> 1061 1062 1063 1064<p>Sobre a estratégia de vendas, vale reforçar que utilizar o marketplace não exclui sua loja virtual como foco da negociação. Muito pelo contrário, a diversificação é a expansão do alcance do negócio.</p> 1065 1066 1067 1068<p>E nesse cenário, o Vtrina atua como um facilitador, conectando as lojas ao Marketplace. E isso envolve não apenas uma âintegraçãoâ dos produtos aos canais, mas também a moderação e adequação dos itens antes do envio para venda. Ou seja, queremos favorece e proporcionar a real oportunidade de venda para o Seller.</p>`},{id:2165,slug:"por-que-e-estrategico-vender-em-marketplace",title:"Por que é estratégico vender em Marketplace?",excerpt:"Já parou para pensar como vender em Marketplaces pode ser vantajoso para o seu negócio? 1. BenefÃcio Mútuo: O Marketplace possui um portfólio rico e diversificado, oferecido pelos lojistas de segmentos variados, com isso, seu catálogo é muito atrativo. O varejista ao estar nestes canais, ganha com o aumento de visibilidade e demanda por seus",date:"2020-09-13T22:38:24",sourceUrl:"https://vtrina.com/por-que-e-estrategico-vender-em-marketplace/",coverImage:"https://vtrina.com/wp-content/uploads/2020/09/estrategia-perfeita.png",coverAlt:"Por que é estratégico vender em Marketplace?",contentHtml:`<p>Já parou para pensar como vender em Marketplaces pode ser vantajoso para o seu negócio?</p> 1069 1070 1071 1072<h4>1. BenefÃcio Mútuo:</h4> 1073 1074 1075 1076<p>O Marketplace possui um portfólio rico e diversificado, oferecido pelos lojistas de segmentos variados, com isso, seu catálogo é muito atrativo. O varejista ao estar nestes canais, ganha com o aumento de visibilidade e demanda por seus produtos. Isso facilita para os clientes que conseguem encontrar diversos itens e realizar as compras em um só lugar e sem sair de casa.</p> 1077 1078 1079 1080<h4>2. Base sólida:</h4> 1081 1082 1083 1084<p>O segredo, em primeiro lugar, é conhecer o seu custo, pois todos os canais cobram dos lojistas parceiros uma comissão sobre cada item vendido, como se o canal fosse um representante de vendas comissionado. Em contrapartida, o Marketplace oferece toda a estrutura da plataforma, segurança dos dados transitados, marketing e uma grande base solidificada de clientes e, o varejista pode focar seus esforços na gestão do negócio.</p> 1085 1086 1087 1088<h4>3. Alto tráfego, muitas vendas:</h4> 1089 1090 1091 1092<p>Os marketplaces são um espaço virtual que recebe muito tráfego porque centralizam um grande portfólio, solucionando várias demandas do cliente de uma única vez. Isso faz com que tenham um potencial enorme de vendas de todos os produtos cadastrados. à o lugar certo para quem deseja que visibilidade.</p> 1093 1094 1095 1096<h4>4. Produto no carrinho:</h4> 1097 1098 1099 1100<p>Eventualmente os clientes podem optar por comprar um smartphone por exemplo, e irem direto no e-commerce da fabricante. Por outro lado, se o cliente desejar comprar algo além do celular, como fones de ouvido e uma camiseta nova, pode preferir fazer a mesma compra no Marketplace. Por que? Porque ele sabe que encontrará todos os itens no mesmo lugar, e isso facilita a jornada de compra. Estar no Marketplace, mesmo para quem tem uma loja virtual, pode garantir a venda do produto para este perfil de consumidor.</p>`},{id:1858,slug:"como-ser-um-varejista-de-sucesso-no-brasil",title:"Como ser um varejista de sucesso no Brasil?",excerpt:"A disputa está cada vez mais acirrada no comércio eletrônico com o aumento da concorrência, principalmente se considerarmos no cenário os marketplaces. Desafiador para qualquer varejista, mas não precisa ser. à possÃvel estar entre os maiores. E, atualmente, o caminho está inclusive encurtado pela possibilidade de integrar os produtos do seu e-commerce nesses canais de",date:"2020-09-13T12:26:00",sourceUrl:"https://vtrina.com/como-ser-um-varejista-de-sucesso-no-brasil/",coverImage:"https://vtrina.com/wp-content/uploads/2020/09/Varejista-de-Sucesso.png",coverAlt:"Como ser um varejista de sucesso no Brasil?",contentHtml:`<p>A disputa está cada vez mais acirrada no comércio eletrônico com o aumento da concorrência, principalmente se considerarmos no cenário os marketplaces. Desafiador para qualquer varejista, mas não precisa ser. à possÃvel estar entre os maiores.</p> 1101<p>E, atualmente, o caminho está inclusive encurtado pela possibilidade de integrar os produtos do seu e-commerce nesses canais de venda. Segundo o ranking divulgado pela Sociedade Brasileira de Varejo e Consumo (SBVC), das â<a href="http://sbvc.com.br/ranking-das-50-maiores-empresas-do-e-commerce-brasileiro-2018">50 Maiores Empresas de E-commerce do Brasil</a>â, as dez primeiras colocações são dominadas por estes canais.</p> 1102<p>Na liderança deste ranking está a B2W (Americanas.com, Submarino, Shoptime), que teve um faturamento de R$ 36,2 bilhões, o que representa mais de 75% das vendas de todo e-commerce brasileiro. A lista ainda conta com marcas como Via Varejo, Magazine Luiza, Walmart e Netshoes.</p> 1103<p>Com o mercado recém aberto para o comércio de eletrônicos e decorações no Brasil, a norte-americana Amazon ficou em 13º lugar. A marca tem faturamento estimado de US$ 1,9 bilhão nas operações mundiais, de acordo com balanço divulgado em relação a 2017. E, segundo a SBVC, em 2016 a marca faturou no território nacional mais de R$ 200 milhões.</p> 1104<p>Por que vender neste canais?</p> 1105<p>
1105Embora os números sejam suficientes para justificar o interesse em integrar seu e-commerce com essas grandes vitrines, ainda pode haver algum tipo de interrogação sobre os lucros reais. Afinal, existem sim percentuais cobrados sobre os itens comercializados, podendo chegar a 30%.</p> 1106<p>De toda forma, o seller tem total autonomia para definir quais serão os produtos vão ser comercializados. Essa decisão pode ser tomada com base em informações simples e estratégicas do negócio.</p> 1107<p>Como fazer isso?</p> 1108<p>Para ajudar, uma reflexão básica para identificar as possibilidades e oportunidades iniciais, pode ser:</p> 1109<p>1. Margem de lucro</p> 1110<p>Verificar o retorno que o item tem dentro do seu cenário de vendas.</p> 1111<p>2. Escolher os itens mais vendidos</p> 1112<p>Tomar como base sua lista de produtos com maior fluxo de saÃda.</p> 1113<p>3. Contar com expertise</p> 1114<p>Isso mesmo! Você não precisa definir estas estratégias sozinho. No Vtrina atuamos na integração, mas nossa solução engloba auxiliar na definição de cluster para venda e gestão dos itens no dashboard do marketplace, ou seja, sua preocupação será apenas em vender mais e conquistar novos compradores.</p> 1115<p>Tem dúvidas ainda?</p> 1116<p>à uma escolha legÃtima para ampliar suas vendas e público. Vamos combinar que este é um diferencial imenso neste mercado digital, não acha? Só pra ter ideia, após a última Black Friday, a B2W emitiu uma nota agradecendo aos sellers e mencionando que as vendas no perÃodo foram equivalentes a 45 dias de vendas normais, ou seja, há muito que ser explorado.</p> 1117<p>Mas para não deixar nenhuma dúvida, um case que mostra que a aposta também engloba grandes marcas. O caminho para vendas no Marketplace é um processo definitivo em questão de posicionamento, que inclusive grandes marcas como a <a href="https://portalnovarejo.com.br/2018/12/por-que-nike-nao-resiste-marketplaces">Nike</a> estão aderindo.</p> 1118<p>Partiu integração?</p>`}];function cL(e){return Ga.find(t=>t.slug===e)||null}function pc(e){return new Intl.DateTimeFormat("pt-BR",{day:"numeric",month:"long",year:"numeric"}).format(new Date(e))}function uL(){const e=typeof window<"u"?`${window.location.origin}/artigos-downloads`:"https://vtrina.com/artigos-downloads";return zn({title:"Artigos e downloads",description:"Materiais do Vtrina com insights e boas práticas para operações de marketplace e canais digitais.",canonicalPath:"/artigos-downloads",structuredData:[{"@context":"https://schema.org","@type":"CollectionPage",name:"Artigos e downloads",description:"Publicações do Vtrina sobre integração, marketplace e operação digital.",url:e},{"@context":"https://schema.org","@type":"ItemList",itemListElement:Ga.map((t,n)=>({"@type":"ListItem",position:n+1,name:t.title,url:`${e}/${t.slug}`}))}]}),h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:"Conteúdo",title:"Artigos & Downloads",description:"Conteúdos para apoiar sua estratég
1118ia de canais de venda digitais e marketplace.",ctaLabel:"Fale conosco",ctaHref:"/#contato"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Artigos",title:"Materiais e publicações",description:"Todos os conteúdos do antigo Artigos & Downloads agora em layout nativo do novo site."}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 xl:grid-cols-3",children:Ga.map(t=>h.jsx($t,{to:`/artigos-downloads/${t.slug}`,className:"group h-full","aria-label":`Ler artigo: ${t.title}`,children:h.jsx(Wt,{className:"h-full border-border/70 transition-colors group-hover:border-primary/40",children:h.jsxs(Kt,{className:"space-y-3 p-5",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-primary",children:"Artigos"}),h.jsx("h3",{className:"text-base font-semibold leading-snug text-foreground break-words",children:t.title}),h.jsx("p",{className:"text-sm text-muted-foreground break-words",children:t.excerpt}),h.jsx("p",{className:"text-xs text-muted-foreground",children:pc(t.date)}),h.jsx("span",{className:"text-sm font-medium text-primary",children:"Ler matéria"})]})})},t.slug))})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsx(Ge,{children:h.jsx(Es,{title:"Quer receber uma demonstração da plataforma?",description:"Fale com o time do Vtrina para entender como estruturar sua operação multicanal.",ctaLabel:"Solicite uma demo",ctaHref:"/#contato"})})})]})}const dL=new Set(["p","h2","h3","h4","h5","h6","ul","ol","li","blockquote","strong","em","a","br"]),fL=3,pL=1;function mL(e){const t=e.trim();return/^javascript:/i.test(t)?"#":t.includes("/pacotes/")?"/#contato":t.startsWith("https://vtrina.com")?t.replace("https://vtrina.com","")||"/":t}function G1(e,t){if(e.nodeType===fL)return;if(e.nodeType!==pL){e.remove();return}const n=e.tagName.toLowerCase();if([...e.children].forEach(c=>G1(c,t)),!dL.has(n)){const c=t.createDocumentFragment();for(;e.firstChild;)c.appendChild(e.firstChild);e.replaceWith(c);return}if(n!=="a"){[...e.attributes].forEach(c=>e.removeAttribute(c.name));return}const a=mL(e.getAttribute("href")||"#");[...e.attributes].forEach(c=>e.removeAttribute(c.name)),e.setAttribute("href",a),/^https?:\/\//i.test(a)&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noreferrer noopener"))}function hL(e){if(typeof window>"u")return e;const n=new window.DOMParser().parseFromString(e,"text/html");return n.querySelectorAll("script,style,iframe,object,embed,form,input,button,textarea,select").forEach(o=>o.remove()),[...n.body.childNodes].forEach(o=>G1(o,n)),n.body.innerHTML.replace(/\n{3,}/g,` 1119 1120`).trim()}function gL({html:e}){const t=x.useMemo(()=>hL(e),[e]);return h.jsx("div",{className:` 1121 text-base leading-relaxed text-muted-foreground break-words 1122 [&_p]:mb-4 1123 [&_h2]:mb-3 [&_h2]:mt-9 [&_h2]:text-2xl [&_h2]:font-semibold [&_h2]:leading-tight [&_h2]:text-foreground 1124 [&_h3]:mb-2 [&_h3]:mt-7 [&_h3]:text-xl [&_h3]:font-semibold [&_h3]:leading-tight [&_h3]:text-foreground 1125 [&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:text-lg [&_h4]:font-semibold [&_h4]:leading-tight [&_h4]:text-foreground 1126 [&_ul]:mb-4 [&_ul]:ml-5 [&_ul]:list-disc 1127 [&_ol]:mb-4 [&_ol]:ml-5 [&_ol]:list-decimal 1128 [&_li]:mb-2 1129 [&_blockquote]:mb-5 [&_blockquote]:border-l-4 [&_blockquote]:border-primary/40 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:text-foreground/80 1130 [&_a]:break-words [&_a]:font-medium [&_a]:text-primary hover:[&_a]:underline 1131 `,dangerouslySetInnerHTML:{__html:t}})}function vL(e,t){const n=typeof window<"u"?window.location.origin:"https://vtrina.com";return{"@context":"https://schema.org","@type":"BlogPosting",headline:e.title,datePublished:e.date,dateModified:e.date,description:e.excerpt,image:e.coverImage?[e.coverImage]:void 0,mainEntityOfPage:{"@type":"WebPage","@id":`${n}${t}`},author:{"@type":"Organization",name:"Vtrina"},publisher:{"@type":"Organization",name:"Vtrina"}}}function yL(){const{slug:e}=NP(),t=cL(e),n=t?`/artigos-downloads/${t.slug}`:"/artigos-downloads";
1131if(zn(t?{title:t.title,description:t.excerpt,canonicalPath:n,ogType:"article",structuredData:vL(t,n)}:{title:"Artigo não encontrado",description:"O conteúdo solicitado não foi encontrado na base de artigos da Vtrina.",canonicalPath:"/artigos-downloads",noindex:!0}),!t)return h.jsx(qr,{children:h.jsx("section",{className:"py-16 md:py-24",children:h.jsx(Ge,{children:h.jsx(Wt,{className:"mx-auto max-w-3xl border-border/70",children:h.jsxs(Kt,{className:"space-y-4 p-6 text-center sm:p-8",children:[h.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Artigo não encontrado"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Este conteúdo não está disponÃvel. Acesse a listagem para visualizar os demais artigos."}),h.jsx("div",{children:h.jsxs($t,{to:"/artigos-downloads",className:"inline-flex items-center gap-2 text-sm font-medium text-primary hover:underline",children:[h.jsx(Tv,{className:"h-4 w-4"}),"Voltar para artigos"]})})]})})})})});const o=Ga.filter(a=>a.slug!==t.slug).slice(0,3);return h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:"Artigos & Downloads",title:t.title,description:t.excerpt,ctaLabel:"Solicite uma demo",ctaHref:"/#contato"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsx(Ge,{children:h.jsxs("div",{className:"mx-auto max-w-4xl space-y-6",children:[h.jsxs($t,{to:"/artigos-downloads",className:"inline-flex items-center gap-2 text-sm font-medium text-primary hover:underline",children:[h.jsx(Tv,{className:"h-4 w-4"}),"Voltar para artigos"]}),h.jsx(Wt,{className:"border-border/80",children:h.jsxs(Kt,{className:"space-y-6 p-6 md:p-8",children:[h.jsx("p",{className:"text-sm text-muted-foreground",children:pc(t.date)}),t.coverImage?h.jsx("img",{src:t.coverImage,alt:t.coverAlt||t.title,loading:"lazy",decoding:"async",className:"w-full rounded-xl border border-border/70 object-cover"}):null,h.jsx(gL,{html:t.contentHtml})]})})]})})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Mais conteúdo",title:"Artigos relacionados",description:"Continue explorando conteúdos sobre operação digital e marketplace."}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:o.map(a=>h.jsx($t,{to:`/artigos-downloads/${a.slug}`,className:"group h-full","aria-label":`Ler artigo relacionado: ${a.title}`,children:h.jsx(Wt,{className:"h-full border-border/70 transition-colors group-hover:border-primary/40",children:h.jsxs(Kt,{className:"space-y-3 p-5",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-primary",children:pc(a.date)}),h.jsx("h3",{className:"text-base font-semibold text-foreground break-words",children:a.title}),h.jsx("p",{className:"text-sm text-muted-foreground break-words",children:a.excerpt}),h.jsx("span",{className:"text-sm font-medium text-primary",children:"Ler matéria"})]})})},a.slug))})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsx(Ge,{children:h.jsx(Es,{title:"Quer estruturar sua operação multicanal?",description:"Converse com o time da Vtrina para planejar seus próximos passos com segurança.",ctaLabel:"Fale conosco",ctaHref:"/#contato"})})})]})}const Q1={amazon:{slug:"amazon",name:"Amazon",breadcrumb:"Integrações / Amazon",headline:"Suas vendas na Amazon.",description:"Quando você começa a vender na Amazon, você se junta a vendedores de todos os tipos que vendem online. Todos vendem pelo mesmo motivo: alcançar milhões de clientes que visitam a Amazon diariamente.",benefits:["Aplicativo gratuito Amazon Seller","Recursos exclusivos para pequenas empresas","Credibilidade Amazon","Gestão de estoque e pedidos 100% integrados"],features:["Cadastramento de produtos na Amazon","Atualização de estoque em tempo real na Amazon","Atualização de preço e promoções em tempo real na Amazon","Obtenção dos pedidos","Sincronização dos status","Envio de nota fiscal e tracking","Etiqueta de pedidos Amazon"]},olist:{slug:"olist",name:"Olist",breadcrumb:"Integrações / Olist",headline:"Suas vendas na Olist Store.",description:"O Olist é a solução ideal para alavancar as vendas nos marketplaces. Os produtos cadastrados no Vtrina são publicados nas lojas oficiais do Olist Store nos maiores marketplaces, como Mercado Livre e Americanas.",benefits:["Atualizar pedidos no Olist Store","Atualizar estoque de todos os produtos","Enviar preço via markup ou tabela de preços","Receber pedidos das lojas Olist Store","Acompanhamento de envio e entrega","Enviar produtos completos (tÃtulo, descrição, marca, fotos, medidas e peso)"],features:["Integração centralizada com os canais do Olist Store","Acompanhamento de status de pedidos e envios","Atualizações operacionais em tempo real","Gestão completa de anúncios e catálogo"],promo:{title:"Condição comercial sob consulta",description:"As condições comerciais para integração com Olist podem variar por campanha e perfil da operação. Consulte o time comercial para o cenário atual."}}},Y1=[{title:"Gerencie anúncios",description:"A plataforma centraliza cadastro, atualizações, gestão de anúncios e ofertas em um único lugar."}
1131,{title:"Controle de pedidos",description:"Acompanhe status dos pedidos, logs de atualizações, faturamento, envios e muito mais."},{title:"Monitore a sua loja",description:"Acompanhe logs de envio de produtos, pedidos e performance em vendas de forma online e amigável."}],Xn={heroTitle:"30 dias grátis",heroDescription:"Experimente o Vtrina com a primeira mensalidade grátis. Oferta especial para indicações do Via Marketplace.",mainTitle:"A sua plataforma de integrações",mainSubtitle:"Gestão integrada de canais de vendas digitais.",benefits:[{title:"Relatórios de performance em tempo real",description:"Com o dashboard do Vtrina você tem à sua disposição indicadores de performance e acompanhamento de pedidos."},{title:"Controle completo da operação",description:"Acompanhe status de produtos, migrações, pedidos, transportadoras, categorias e atualizações em massa por canal."},{title:"Erros e monitoramento de rotinas",description:"Visualize erros de envio de produtos, execute correções e monitore serviços de preço, estoque, carga e pedidos."}],testimonials:[{quote:"Toda a equipe do Vtrina é talentosa, atenciosa, eles resolvem os problemas com celeridade e seriedade.",author:"Aline",role:"Universo útil"},{quote:"O Vtrina oferece um serviço extremamente diferenciado no mercado de e-commerce, com parceria no entendimento do negócio e foco em resultado.",author:"Marcelo",role:"IT Manager Hanes Brands"}]},io={heroTitle:"Gere receita recorrente e fidelize seus clientes com nossa tecnologia",heroDescription:"Uma plataforma completa para o seu negócio continuar sempre crescendo com modelo White Label.",pillars:[{title:"Integrações eficientes",description:"Integrações com autoridade de mercado e acesso aos principais canais de venda do Brasil."},{title:"Receita recorrente e fidelização",description:"Você define o modelo de cobrança e suporte para seus clientes, com dashboard customizável com sua marca."},{title:"Dashboard personalizável",description:"Personalize logotipo, escolha avatares e ajuste esquema de cores para o seu posicionamento."},{title:"Suporte campeão",description:"Conte com consultoria exclusiva da equipe Vtrina para apoiar a operação dos seus clientes."}],faq:[{question:"Quem pode ser parceiro?",answer:"Agências de e-commerce, empresas de tecnologia com foco no varejo, agências com foco em marketplaces e entidades ligadas ao comércio varejista fÃsico ou digital."},{question:"Quais os valores cobrados?",answer:"Fale com nossa equipe para um orçamento exclusivo conforme a carteira de clientes da sua empresa."},{question:"Existe setup para adesão à plataforma?",answer:"As condições de setup podem variar conforme campanha vigente e perfil da operação. Consulte o time comercial para detalhes atualizados."},{question:"Como funciona cobrança e suporte dos clientes?",answer:"O parceiro define o modelo de cobrança e suporte dos clientes, respeitando as regras contratuais com o Vtrina."},{question:"Como funciona o cancelamento?",answer:"Existem regras contratuais para cancelamento. Fale com a equipe comercial para os detalhes."}]};function X1({page:e}){return h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:e.breadcrumb,title:`Integrações: ${e.name}`,description:e.description,ctaLabel:"Fale conosco",ctaHref:"/#contato"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"A integração",title:e.headline,description:"Com o Vtrina você terá acesso aos recursos necessários para gerenciar seus canais de vendas de forma eficiente."}),h.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[h.jsx(sx,{title:"BenefÃcios da integração",children:h.jsx(v0,{items:e.benefits})}),h.jsx(sx,{title:"Funcionalidades principais",children:h.jsx(v0,{items:e.features})})]}),e.promo?h.jsx("div",{className:"mt-6",children:h.jsx(Es,{title:e.promo.title,description:e.promo.description,ctaLabel:"Fale com o time",ctaHref:"/#contato"})}):null]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Sobre nós",title:"Nossa missão é simplificar sua experiência na gestão de canais digitais.",description:"Tenha acesso a todos os recursos necessários para gerenciar seus canais de venda de forma eficiente."}),h.jsx(uc,{items:Y1,columns:3})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsx(Ge,{children:h.jsx(Es,{title:"Conheça nossas integrações",description:"Converse com o time do Vtrina para estruturar as integrações ideais para sua operação.",ctaLabel:"Solicitar demonstração",ctaHref:"/#contato"})})})]})}function sx({title:e,children:t}){return h.jsxs("div",{className:"rounded-xl border border-border/70 bg-card p-5 sm:p-6",children:[h.jsx("h3",{className:"mb-4 text-base font-semibold text-foreground",children:e}),t]})}function xL(){const e=Q1.amazon,t=typeof window<"u"?`${window.location.origin}/integracoes/amazon`:"https://vtrina.com/integracoes/amazon";
vendor: 14,336 bytes, line 1131
1131return zn({title:"Integração Amazon",description:e.description,canonicalPath:"/integracoes/amazon",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Integração Amazon",description:e.description,url:t}}),h.jsx(X1,{page:e})}function wL(){const e=Q1.olist,t=typeof window<"u"?`${window.location.origin}/integracoes/olist`:"https://vtrina.com/integracoes/olist";return zn({title:"Integração Olist",description:e.description,canonicalPath:"/integracoes/olist",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Integração Olist",description:e.description,url:t}}),h.jsx(X1,{page:e})}function bL(){const e=typeof window<"u"?`${window.location.origin}/via-marketplace`:"https://vtrina.com/via-marketplace";zn({title:"Via Marketplace",description:Xn.heroDescription,canonicalPath:"/via-marketplace",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Via Marketplace",description:Xn.heroDescription,url:e}});const t=Xn.benefits.map(n=>({title:n.title,description:n.description}));return h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:"Oferta Especial",title:Xn.heroTitle,description:Xn.heroDescription,ctaLabel:"Resgatar",ctaHref:"/#contato"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Sobre nós",title:Xn.mainTitle,description:Xn.mainSubtitle}),h.jsx(uc,{items:Y1,columns:3})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"BenefÃcios",title:"Administre seus canais em uma só plataforma",description:"A plataforma do Vtrina foi criada para maximizar a operação digital e apoiar o crescimento do varejo multicanal."}),h.jsx(uc,{items:t,columns:3})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Parceiros",title:"Resultados comprovados",description:"Somos parceiros oficiais de plataformas relevantes do comércio eletrônico nacional."}),h.jsx(Es,{title:"Parceiro oficial",description:"Converse com o time Vtrina para estruturar sua operação com acompanhamento dedicado.",ctaLabel:"Fale conosco",ctaHref:"/#contato"})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Depoimentos",title:"Quem usa, recomenda",description:"Percepções de clientes sobre parceria, atendimento e resultado da operação com a Vtrina."}),h.jsx(r1,{items:Xn.testimonials})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Artigos",title:"Fique conectado",description:"Acompanhe dicas, novidades e conteúdos práticos para sua operação digital."}),h.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:Ga.slice(0,3).map(n=>h.jsx($t,{to:`/artigos-downloads/${n.slug}`,className:"group h-full",children:h.jsx(Wt,{className:"h-full border-border/70 transition-colors group-hover:border-primary/40",children:h.jsxs(Kt,{className:"space-y-3 p-5",children:[h.jsx("h3",{className:"text-base font-semibold text-foreground break-words",children:n.title}),h.jsx("p",{className:"text-sm text-muted-foreground break-words",children:n.excerpt}),h.jsx("p",{className:"text-xs text-muted-foreground",children:pc(n.date)})]})})},n.slug))})]})})]})}function SL(e,t){const n=x.createContext(t),o=l=>{const{children:c,...d}=l,f=x.useMemo(()=>d,Object.values(d));return h.jsx(n.Provider,{value:f,children:c})};o.displayName=e+"Provider";function a(l){const c=x.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return[o,a]}function ui(e,t=[]){let n=[];function o(l,c){const d=x.createContext(c),f=n.length;n=[...n,c];const m=y=>{var T;const{scope:b,children:k,...C}=y,S=((T=b==null?void 0:b[e])==null?void 0:T[f])||d,E=x.useMemo(()=>C,Object.values(C));return h.jsx(S.Provider,{value:E,children:k})};m.displayName=l+"Provider";function g(y,b){var S;const k=((S=b==null?void 0:b[e])==null?void 0:S[f])||d,C=x.useContext(k);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${y}\` must be used within \`${l}\``)}return[m,g]}const a=()=>{const l=n.map(c=>x.createContext(c));return function(d){const f=(d==null?void 0:d[e])||l;return x.useMemo(()=>({[`__scope${e}`]:{...d,[e]:f}}),[d,f])}};return a.scopeName=e,[o,EL(a,...t)]}function EL(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(l){const c=o.reduce((d,{useScope:f,scopeName:m})=>{const y=f(l)[`__scope${m}`];return{...d,...y}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function ax(e){const t=CL(e),n=x.forwardRef((o,a)=>{const{children:l,...c}=o,d=x.Children.toArray(l),f=d.find(AL);if(f){const m=f.props.children,g=d.map(y=>y===f?x.Children.count(m)>1?x.Children.only(null):x.isValidElement(m)?m.props.children:null:y);return h.jsx(t,{...c,ref:a,children:x.isValidElement(m)?x.cloneElement(m,void 0,g):null})}return h.jsx(t,{...c,ref:a,children:l})});return n.displayName=`${e}.Slot`,n}function CL(e){const t=x.forwardRef((n,o)=>{const{children:a,...l}=n;if(x.isValidElement(a)){const c=PL(a),d=TL(l,a.props);return a.type!==x.Fragment&&(d.ref=o?oi(o,c):c),x.cloneElement(a,d)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var kL=Symbol("radix.slottable");function AL(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===kL}function TL(e,t){const n={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?n[o]=(...d)=>{const f=l(...d);return a(...d),f}:a&&(n[o]=a):o==="style"?n[o]={...a,...l}:o==="className"&&(n[o]=[a,l].filter(Boolean).join(" "))}return{...e,...n}}function PL(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function RL(e){const t=e+"CollectionProvider",[n,o]=ui(t),[a,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=S=>{const{scope:E,children:T}=S,j=je.useRef(null),R=je.useRef(new Map).current;return h.jsx(a,{scope:E,itemMap:R,collectionRef:j,children:T})};c.displayName=t;const d=e+"CollectionSlot",f=ax(d),m=je.forwardRef((S,E)=>{const{scope:T,children:j}=S,R=l(d,T),N=Qt(E,R.collectionRef);return h.jsx(f,{ref:N,children:j})});m.displayName=d;const g=e+"CollectionItemSlot",y="data-radix-collection-item",b=ax(g),k=je.forwardRef((S,E)=>{const{scope:T,children:j,...R}=S,N=je.useRef(null),D=Qt(E,N),U=l(g,T);return je.useEffect(()=>(U.itemMap.set(N,{ref:N,...R}),()=>void U.itemMap.delete(N))),h.jsx(b,{[y]:"",ref:D,children:j})});k.displayName=g;function C(S){const E=l(e+"CollectionConsumer",S);return je.useCallback(()=>{const j=E.collectionRef.current;if(!j)return[];const R=Array.from(j.querySelectorAll(`[${y}]`));return Array.from(E.itemMap.values()).sort((U,B)=>R.indexOf(U.ref.current)-R.indexOf(B.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:c,Slot:m,ItemSlot:k},C,o]}function Sn(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e==null||e(a),n===!1||!a.defaultPrevented)return t==null?void 0:t(a)}}var Co=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},NL=gc[" useInsertionEffect ".trim().toString()]||Co;function di({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[a,l,c]=jL({defaultProp:t,onChange:n}),d=e!==void 0,f=d?e:a;{const g=x.useRef(e!==void 0);x.useEffect(()=>{const y=g.current;y!==d&&console.warn(`${o} is changing from ${y?"controlled":"uncontrolled"} to ${d?"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.`),g.current=d},[d,o])}const m=x.useCallback(g=>{var y;if(d){const b=OL(g)?g(e):g;b!==e&&((y=c.current)==null||y.call(c,b))}else l(g)},[d,e,l,c]);return[f,m]}function jL({defaultProp:e,onChange:t}){const[n,o]=x.useState(e),a=x.useRef(n),l=x.useRef(t);return NL(()=>{l.current=t},[t]),x.useEffect(()=>{var c;a.current!==n&&((c=l.current)==null||c.call(l,n),a.current=n)},[n,a]),[n,o,l]}function OL(e){return typeof e=="function"}function _L(e){const t=DL(e),n=x.forwardRef((o,a)=>{const{children:l,...c}=o,d=x.Children.toArray(l),f=d.find(ML);if(f){const m=f.props.children,g=d.map(y=>y===f?x.Children.count(m)>1?x.Children.only(null):x.isValidElement(m)?m.props.children:null:y);return h.jsx(t,{...c,ref:a,children:x.isValidElement(m)?x.cloneElement(m,void 0,g):null})}return h.jsx(t,{...c,ref:a,children:l})});return n.displayName=`${e}.Slot`,n}function DL(e){const t=x.forwardRef((n,o)=>{const{children:a,...l}=n;if(x.isValidElement(a)){const c=VL(a),d=LL(l,a.props);return a.type!==x.Fragment&&(d.ref=o?oi(o,c):c),x.cloneElement(a,d)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var IL=Symbol("radix.slottable");function ML(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===IL}function LL(e,t){const n={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?n[o]=(...d)=>{const f=l(...d);return a(...d),f}:a&&(n[o]=a):o==="style"?n[o]={...a,...l}:o==="className"&&(n[o]=[a,l].filter(Boolean).join(" "))}return{...e,...n}}function VL(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var zL=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Tt=zL.reduce((e,t)=>{const n=_L(`Primitive.${t}`),o=x.forwardRef((a,l)=>{const{asChild:c,...d}=a,f=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(f,{...d,ref:l})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function qL(e,t){e&&iw.flushSync(()=>e.dispatchEvent(t))}function FL(e,t){return x.useReducer((n,o)=>t[n][o]??n,e)}var fi=e=>{const{present:t,children:n}=e,o=UL(t),a=typeof n=="function"?n({present:o.isPresent}):x.Children.only(n),l=Qt(o.ref,BL(a));return typeof n=="function"||o.isPresent?x.cloneElement(a,{ref:l}):null};fi.displayName="Presence";function UL(e){const[t,n]=x.useState(),o=x.useRef(null),a=x.useRef(e),l=x.useRef("none"),c=e?"mounted":"unmounted",[d,f]=FL(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const m=Dl(o.current);l.current=d==="mounted"?m:"none"},[d]),Co(()=>{const m=o.current,g=a.current;if(g!==e){const b=l.current,k=Dl(m);e?f("MOUNT"):k==="none"||(m==null?void 0:m.display)==="none"?f("UNMOUNT"):f(g&&b!==k?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,f]),Co(()=>{if(t){let m;const g=t.ownerDocument.defaultView??window,y=k=>{const S=Dl(o.current).includes(CSS.escape(k.animationName));if(k.target===t&&S&&(f("ANIMATION_END"),!a.current)){const E=t.style.animationFillMode;t.style.animationFillMode="forwards",m=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=E)})}},b=k=>{k.target===t&&(l.current=Dl(o.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",y),t.addEventListener("animationend",y),()=>{g.clearTimeout(m),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",y),t.removeEventListener("animationend",y)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:x.useCallback(m=>{o.current=m?getComputedStyle(m):null,n(m)},[])}}function Dl(e){return(e==null?void 0:e.animationName)||"none"}function BL(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $L=gc[" useId ".trim().toString()]||(()=>{}),HL=0;function Ma(e){const[t,n]=x.useState($L());return Co(()=>{n(o=>o??String(HL++))},[e]),t?`radix-${t}`:""}var Dc="Collapsible",[WL,J1]=ui(Dc),[KL,fm]=WL(Dc),Z1=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:a,disabled:l,onOpenChange:c,...d}=e,[f,m]=di({prop:o,defaultProp:a??!1,onChange:c,caller:Dc});return h.jsx(KL,{scope:n,disabled:l,contentId:Ma(),open:f,onOpenToggle:x.useCallback(()=>m(g=>!g),[m]),children:h.jsx(Tt.div,{"data-state":mm(f),"data-disabled":l?"":void 0,...d,ref:t})})});Z1.displayName=Dc;var eS="CollapsibleTrigger",tS=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,...o}=e,a=fm(eS,n);return h.jsx(Tt.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":mm(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...o,ref:t,onClick:Sn(e.onClick,a.onOpenToggle)})});tS.displayName=eS;var pm="CollapsibleContent",nS=x.forwardRef((e,t)=>{const{forceMount:n,...o}=e,a=fm(pm,e.__scopeCollapsible);return h.jsx(fi,{present:n||a.open,children:({present:l})=>h.jsx(GL,{...o,ref:t,present:l})})});nS.displayName=pm;var GL=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:o,children:a,...l}=e,c=fm(pm,n),[d,f]=x.useState(o),m=x.useRef(null),g=Qt(t,m),y=x.useRef(0),b=y.current,k=x.useRef(0),C=k.current,S=c.open||d,E=x.useRef(S),T=x.useRef(void 0);return x.useEffect(()=>{const j=requestAnimationFrame(()=>E.current=!1);return()=>cancelAnimationFrame(j)},[]),Co(()=>{const j=m.current;if(j){T.current=T.current||{transitionDuration:j.style.transitionDuration,animationName:j.style.animationName},j.style.transitionDuration="0s",j.style.animationName="none";const R=j.getBoundingClientRect();y.current=R.height,k.current=R.width,E.current||(j.style.transitionDuration=T.current.transitionDuration,j.style.animationName=T.current.animationName),f(o)}},[c.open,o]),h.jsx(Tt.div,{"data-state":mm(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!S,...l,ref:g,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:S&&a}
1131)});function mm(e){return e?"open":"closed"}var QL=Z1,YL=tS,XL=nS,JL=x.createContext(void 0);function ZL(e){const t=x.useContext(JL);return e||t||"ltr"}var Cn="Accordion",eV=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[hm,tV,nV]=RL(Cn),[Ic]=ui(Cn,[nV,J1]),gm=J1(),rS=je.forwardRef((e,t)=>{const{type:n,...o}=e,a=o,l=o;return h.jsx(hm.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?h.jsx(aV,{...l,ref:t}):h.jsx(sV,{...a,ref:t})})});rS.displayName=Cn;var[oS,rV]=Ic(Cn),[sS,oV]=Ic(Cn,{collapsible:!1}),sV=je.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:a=()=>{},collapsible:l=!1,...c}=e,[d,f]=di({prop:n,defaultProp:o??"",onChange:a,caller:Cn});return h.jsx(oS,{scope:e.__scopeAccordion,value:je.useMemo(()=>d?[d]:[],[d]),onItemOpen:f,onItemClose:je.useCallback(()=>l&&f(""),[l,f]),children:h.jsx(sS,{scope:e.__scopeAccordion,collapsible:l,children:h.jsx(aS,{...c,ref:t})})})}),aV=je.forwardRef((e,t)=>{const{value:n,defaultValue:o,onValueChange:a=()=>{},...l}=e,[c,d]=di({prop:n,defaultProp:o??[],onChange:a,caller:Cn}),f=je.useCallback(g=>d((y=[])=>[...y,g]),[d]),m=je.useCallback(g=>d((y=[])=>y.filter(b=>b!==g)),[d]);return h.jsx(oS,{scope:e.__scopeAccordion,value:c,onItemOpen:f,onItemClose:m,children:h.jsx(sS,{scope:e.__scopeAccordion,collapsible:!0,children:h.jsx(aS,{...l,ref:t})})})}),[iV,Mc]=Ic(Cn),aS=je.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:o,dir:a,orientation:l="vertical",...c}=e,d=je.useRef(null),f=Qt(d,t),m=tV(n),y=ZL(a)==="ltr",b=Sn(e.onKeyDown,k=>{var M;if(!eV.includes(k.key))return;const C=k.target,S=m().filter(Y=>{var ve;return!((ve=Y.ref.current)!=null&&ve.disabled)}),E=S.findIndex(Y=>Y.ref.current===C),T=S.length;if(E===-1)return;k.preventDefault();let j=E;const R=0,N=T-1,D=()=>{j=E+1,j>N&&(j=R)},U=()=>{j=E-1,j<R&&(j=N)};switch(k.key){case"Home":j=R;break;case"End":j=N;break;case"ArrowRight":l==="horizontal"&&(y?D():U());break;case"ArrowDown":l==="vertical"&&D();break;case"ArrowLeft":l==="horizontal"&&(y?U():D());break;case"ArrowUp":l==="vertical"&&U();break}const B=j%T;(M=S[B].ref.current)==null||M.focus()});return h.jsx(iV,{scope:n,disabled:o,direction:a,orientation:l,children:h.jsx(hm.Slot,{scope:n,children:h.jsx(Tt.div,{...c,"data-orientation":l,ref:f,onKeyDown:o?void 0:b})})})}),mc="AccordionItem",[lV,vm]=Ic(mc),iS=je.forwardRef((e,t)=>{const{__scopeAccordion:n,value:o,...a}=e,l=Mc(mc,n),c=rV(mc,n),d=gm(n),f=Ma(),m=o&&c.value.includes(o)||!1,g=l.disabled||e.disabled;return h.jsx(lV,{scope:n,open:m,disabled:g,triggerId:f,children:h.jsx(QL,{"data-orientation":l.orientation,"data-state":pS(m),...d,...a,ref:t,disabled:g,open:m,onOpenChange:y=>{y?c.onItemOpen(o):c.onItemClose(o)}})})});iS.displayName=mc;var lS="AccordionHeader",cS=je.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,a=Mc(Cn,n),l=vm(lS,n);return h.jsx(Tt.h3,{"data-orientation":a.orientation,"data-state":pS(l.open),"data-disabled":l.disabled?"":void 0,...o,ref:t})});cS.displayName=lS;var op="AccordionTrigger",uS=je.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,a=Mc(Cn,n),l=vm(op,n),c=oV(op,n),d=gm(n);return h.jsx(hm.ItemSlot,{scope:n,children:h.jsx(YL,{"aria-disabled":l.open&&!c.collapsible||void 0,"data-orientation":a.orientation,id:l.triggerId,...d,...o,ref:t})})});uS.displayName=op;var dS="AccordionContent",fS=je.forwardRef((e,t)=>{const{__scopeAccordion:n,...o}=e,a=Mc(Cn,n),l=vm(dS,n),c=gm(n);return h.jsx(XL,{role:"region","aria-labelledby":l.triggerId,"data-orientation":a.orientation,...c,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});fS.displayName=dS;function pS(e){return e?"open":"closed"}var cV=rS,uV=iS,dV=cS,mS=uS,hS=fS;const fV=cV,gS=x.forwardRef(({className:e,...t},n)=>h.jsx(uV,{ref:n,className:Ie("border-b",e),...t}));gS.displayName="AccordionItem";const vS=x.forwardRef(({className:e,children:t,...n},o)=>h.jsx(dV,{className:"flex",children:h.jsxs(mS,{ref:o,className:Ie("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,h.jsx(Dk,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));vS.displayName=mS.displayName;const yS=x.forwardRef(({className:e,children:t,...n},o)=>h.jsx(hS,{ref:o,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:h.jsx("div",{className:Ie("pb-4 pt-0",e),children:t})}));yS.displayName=hS.displayName;function pV(){const e=typeof window<"u"?`${window.location.origin}/parceiros`:"https://vtrina.com/parceiros";
1131zn({title:"Parceiros",description:io.heroDescription,canonicalPath:"/parceiros",structuredData:[{"@context":"https://schema.org","@type":"WebPage",name:"Parceiros Vtrina",description:io.heroDescription,url:e},{"@context":"https://schema.org","@type":"FAQPage",mainEntity:io.faq.map(n=>({"@type":"Question",name:n.question,acceptedAnswer:{"@type":"Answer",text:n.answer}}))}]});const t=io.pillars.map(n=>({title:n.title,description:n.description}));return h.jsxs(qr,{children:[h.jsx(Ps,{eyebrow:"Seja um parceiro",title:io.heroTitle,description:io.heroDescription,ctaLabel:"Agende uma reunião",ctaHref:"https://calendly.com/vtrinabr"}),h.jsx("section",{className:"py-10 md:py-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Modelo de parceria",title:"Uma plataforma completa para o seu negócio continuar crescendo",description:"Licencie a tecnologia Vtrina e amplie sua receita recorrente com operação padronizada."}),h.jsx(uc,{items:t,columns:4})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsx(Ge,{children:h.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[h.jsx(Wt,{className:"border-border/70",children:h.jsxs(Kt,{className:"space-y-3 p-5 sm:p-6",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-primary",children:"Mais faturamento"}),h.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"Receita sólida e recorrente"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Com o dashboard do Vtrina você acompanha indicadores de performance, status de pedidos e conta com consultoria exclusiva."}),h.jsx("a",{href:"/#contato",className:"inline-block py-1 text-sm font-medium text-primary hover:underline",children:"Solicite uma proposta"})]})}),h.jsx(Wt,{className:"border-border/70",children:h.jsxs(Kt,{className:"space-y-3 p-5 sm:p-6",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-primary",children:"Serviço como solução"}),h.jsx("h3",{className:"text-xl font-semibold text-foreground",children:"Integrações lÃderes de mercado"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Trabalhe com integrações reconhecidas no mercado e entregue mais valor para a carteira de clientes da sua empresa."}),h.jsx("a",{href:"/#contato",className:"inline-block py-1 text-sm font-medium text-primary hover:underline",children:"Saiba mais"})]})})]})})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Depoimentos",title:"Quem usa, recomenda",description:"Relatos de clientes sobre parceria, suporte e execução da operação digital."}),h.jsx(r1,{items:Xn.testimonials})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsxs(Ge,{children:[h.jsx(cn,{eyebrow:"Perguntas frequentes",title:"Ainda está com dúvidas?",description:"Principais dúvidas sobre modelo comercial, suporte e adesão de parceiros."}),h.jsx(fV,{type:"single",collapsible:!0,className:"w-full rounded-xl border border-border/70 bg-card px-4",children:io.faq.map((n,o)=>h.jsxs(gS,{value:`faq-${o}`,children:[h.jsx(vS,{className:"text-left text-sm font-medium text-foreground md:text-base",children:n.question}),h.jsx(yS,{className:"text-sm text-muted-foreground",children:n.answer})]},n.question))})]})}),h.jsx("section",{className:"pb-10 md:pb-14",children:h.jsx(Ge,{children:h.jsx(Es,{title:"Seja um parceiro",description:"Gere receita recorrente e fidelize seus clientes com a tecnologia Vtrina.",ctaLabel:"Fale conosco",ctaHref:"/#contato"})})})]})}function mV(){const{acceptAll:e,rejectNonEssential:t,openPreferences:n}=Ac();return h.jsx("section",{className:"fixed inset-x-0 bottom-0 z-40 border-t border-border/80 bg-background/95 shadow-[0_-8px_30px_rgba(15,23,42,0.12)] backdrop-blur",role:"region","aria-label":"Aviso de cookies",children:h.jsxs("div",{className:"mx-auto flex w-full max-w-7xl flex-col gap-4 px-4 py-4 sm:px-6 lg:px-8",children:[h.jsxs("p",{className:"text-sm leading-relaxed text-foreground/90",children:["Utilizamos cookies necessários para o funcionamento do site e, com sua permissão, cookies analÃticos e de marketing para melhorar sua experiência, medir audiência e personalizar comunicações. Você pode aceitar, recusar ou gerenciar suas preferências. Leia também nossa"," ",h.jsx($t,{to:"/politica-de-privacidade",className:"font-medium text-primary underline-offset-4 hover:underline",children:"polÃtica de privacidade"}),"."]}),h.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center sm:justify-end",children:[h.jsx(Ze,{type:"button",size:"sm",className:"bg-[#A071E5] text-white hover:bg-[#8F63CE]",onClick:e,children:"Aceitar todos"}),h.jsx(Ze,{type:"button",size:"sm",variant:"outline",onClick:t,children:"Recusar não essenciais"}),h.jsx(Ze,{type:"button",size:"sm",variant:"ghost",onClick:n,children:"Gerenciar preferências"})]})]})})}function Qa(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var o;return(o=t.current)==null?void 0:o.call(t,...n)},[])}function hV(e,t=globalThis==null?void 0:globalThis.document){const n=Qa(e);x.useEffect(()=>{const o=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",o,{capture:!0}),()=>t.removeEventListener("keydown",o,{capture:!0})},[n,t])}var gV="DismissableLayer",sp="dismissableLayer.update",vV="dismissableLayer.pointerDownOutside",yV="dism
1131issableLayer.focusOutside",ix,xS=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),wS=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:c,onDismiss:d,...f}=e,m=x.useContext(xS),[g,y]=x.useState(null),b=(g==null?void 0:g.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,k]=x.useState({}),C=Qt(t,B=>y(B)),S=Array.from(m.layers),[E]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),T=S.indexOf(E),j=g?S.indexOf(g):-1,R=m.layersWithOutsidePointerEventsDisabled.size>0,N=j>=T,D=bV(B=>{const M=B.target,Y=[...m.branches].some(ve=>ve.contains(M));!N||Y||(a==null||a(B),c==null||c(B),B.defaultPrevented||d==null||d())},b),U=SV(B=>{const M=B.target;[...m.branches].some(ve=>ve.contains(M))||(l==null||l(B),c==null||c(B),B.defaultPrevented||d==null||d())},b);return hV(B=>{j===m.layers.size-1&&(o==null||o(B),!B.defaultPrevented&&d&&(B.preventDefault(),d()))},b),x.useEffect(()=>{if(g)return n&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(ix=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(g)),m.layers.add(g),lx(),()=>{n&&m.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=ix)}},[g,b,n,m]),x.useEffect(()=>()=>{g&&(m.layers.delete(g),m.layersWithOutsidePointerEventsDisabled.delete(g),lx())},[g,m]),x.useEffect(()=>{const B=()=>k({});return document.addEventListener(sp,B),()=>document.removeEventListener(sp,B)},[]),h.jsx(Tt.div,{...f,ref:C,style:{pointerEvents:R?N?"auto":"none":void 0,...e.style},onFocusCapture:Sn(e.onFocusCapture,U.onFocusCapture),onBlurCapture:Sn(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Sn(e.onPointerDownCapture,D.onPointerDownCapture)})});wS.displayName=gV;var xV="DismissableLayerBranch",wV=x.forwardRef((e,t)=>{const n=x.useContext(xS),o=x.useRef(null),a=Qt(t,o);return x.useEffect(()=>{const l=o.current;if(l)return n.branches.add(l),()=>{n.branches.delete(l)}},[n.branches]),h.jsx(Tt.div,{...e,ref:a})});wV.displayName=xV;function bV(e,t=globalThis==null?void 0:globalThis.document){const n=Qa(e),o=x.useRef(!1),a=x.useRef(()=>{});return x.useEffect(()=>{const l=d=>{if(d.target&&!o.current){let f=function(){bS(vV,n,m,{discrete:!0})};const m={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=f,t.addEventListener("click",a.current,{once:!0})):f()}else t.removeEventListener("click",a.current);o.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",l),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function SV(e,t=globalThis==null?void 0:globalThis.document){const n=Qa(e),o=x.useRef(!1);return x.useEffect(()=>{const a=l=>{l.target&&!o.current&&bS(yV,n,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function lx(){const e=new CustomEvent(sp);document.dispatchEvent(e)}function bS(e,t,n,{discrete:o}){const a=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),o?qL(a,l):a.dispatchEvent(l)}var pf="focusScope.autoFocusOnMount",mf="focusScope.autoFocusOnUnmount",cx={bubbles:!1,cancelable:!0},EV="FocusScope",SS=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:o=!1,onMountAutoFocus:a,onUnmountAutoFocus:l,...c}=e,[d,f]=x.useState(null),m=Qa(a),g=Qa(l),y=x.useRef(null),b=Qt(t,S=>f(S)),k=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(o){let S=function(R){if(k.paused||!d)return;const N=R.target;d.contains(N)?y.current=N:Pr(y.current,{select:!0})},E=function(R){if(k.paused||!d)return;const N=R.relatedTarget;N!==null&&(d.contains(N)||Pr(y.current,{select:!0}))},T=function(R){if(document.activeElement===document.body)for(const D of R)D.removedNodes.length>0&&Pr(d)};document.addEventListener("focusin",S),document.addEventListener("focusout",E);const j=new MutationObserver(T);return d&&j.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",S),document.removeEventListener("focusout",E),j.disconnect()}}},[o,d,k.paused]),x.useEffect(()=>{if(d){dx.add(k);const S=document.activeElement;if(!d.contains(S)){const T=new CustomEvent(pf,cx);d.addEventListener(pf,m),d.dispatchEvent(T),T.defaultPrevented||(CV(RV(ES(d)),{select:!0}),document.activeElement===S&&Pr(d))}return()=>{d.removeEventListener(pf,m),setTimeout(()=>{const T=new CustomEvent(mf,cx);d.addEventListener(mf,g),d.dispatchEvent(T),T.defaultPrevented||Pr(S??document.body,{select:!0}),d.removeEventListener(mf,g),dx.remove(k)},0)}}},[d,m,g,k]);const C=x.useCallback(S=>{if(!n&&!o||k.paused)return;
vendor: 4,388 bytes, line 1131
1131const E=S.key==="Tab"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,T=document.activeElement;if(E&&T){const j=S.currentTarget,[R,N]=kV(j);R&&N?!S.shiftKey&&T===N?(S.preventDefault(),n&&Pr(R,{select:!0})):S.shiftKey&&T===R&&(S.preventDefault(),n&&Pr(N,{select:!0})):T===j&&S.preventDefault()}},[n,o,k.paused]);return h.jsx(Tt.div,{tabIndex:-1,...c,ref:b,onKeyDown:C})});SS.displayName=EV;function CV(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Pr(o,{select:t}),document.activeElement!==n)return}function kV(e){const t=ES(e),n=ux(t,e),o=ux(t.reverse(),e);return[n,o]}function ES(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ux(e,t){for(const n of e)if(!AV(n,{upTo:t}))return n}function AV(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function TV(e){return e instanceof HTMLInputElement&&"select"in e}function Pr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&TV(e)&&t&&e.select()}}var dx=PV();function PV(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=fx(e,t),e.unshift(t)},remove(t){var n;e=fx(e,t),(n=e[0])==null||n.resume()}}}function fx(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function RV(e){return e.filter(t=>t.tagName!=="A")}var NV="Portal",CS=x.forwardRef((e,t)=>{var d;const{container:n,...o}=e,[a,l]=x.useState(!1);Co(()=>l(!0),[]);const c=n||a&&((d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body);return c?ZT.createPortal(h.jsx(Tt.div,{...o,ref:t}),c):null});CS.displayName=NV;var hf=0;function jV(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??px()),document.body.insertAdjacentElement("beforeend",e[1]??px()),hf++,()=>{hf===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),hf--}},[])}function px(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Dn=function(){return Dn=Object.assign||function(t){for(var n,o=1,a=arguments.length;o<a;o++){n=arguments[o];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t},Dn.apply(this,arguments)};function kS(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]]);return n}function OV(e,t,n){if(n||arguments.length===2)for(var o=0,a=t.length,l;o<a;o++)(l||!(o in t))&&(l||(l=Array.prototype.slice.call(t,0,o)),l[o]=t[o]);return e.concat(l||Array.prototype.slice.call(t))}var Xl="right-scroll-bar-position",Jl="width-before-scroll-bar",_V="with-scroll-bars-hidden",DV="--removed-body-scroll-bar-size";function gf(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function IV(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(o){var a=n.value;a!==o&&(n.value=o,n.callback(o,a))}}}})[0];return n.callback=t,n.facade}var MV=typeof window<"u"?x.useLayoutEffect:x.useEffect,mx=new WeakMap;function LV(e,t){var n=IV(null,function(o){return e.forEach(function(a){return gf(a,o)})});return MV(function(){var o=mx.get(n);if(o){var a=new Set(o),l=new Set(e),c=n.current;a.forEach(function(d){l.has(d)||gf(d,null)}),l.forEach(function(d){a.has(d)||gf(d,c)})}mx.set(n,e)},[e]),n}function VV(e){return e}function zV(e,t){t===void 0&&(t=VV);var n=[],o=!1,a={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(l){var c=t(l,o);return n.push(c),function(){n=n.filter(function(d){return d!==c})}},assignSyncMedium:function(l){for(o=!0;n.length;){var c=n;
vendor: 11,984 bytes, lines 1131-1171
1131n=[],c.forEach(l)}n={push:function(d){return l(d)},filter:function(){return n}}},assignMedium:function(l){o=!0;var c=[];if(n.length){var d=n;n=[],d.forEach(l),c=n}var f=function(){var g=c;c=[],g.forEach(l)},m=function(){return Promise.resolve().then(f)};m(),n={push:function(g){c.push(g),m()},filter:function(g){return c=c.filter(g),n}}}};return a}function qV(e){e===void 0&&(e={});var t=zV(null);return t.options=Dn({async:!0,ssr:!1},e),t}var AS=function(e){var t=e.sideCar,n=kS(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return x.createElement(o,Dn({},n))};AS.isSideCarExport=!0;function FV(e,t){return e.useMedium(t),AS}var TS=qV(),vf=function(){},Lc=x.forwardRef(function(e,t){var n=x.useRef(null),o=x.useState({onScrollCapture:vf,onWheelCapture:vf,onTouchMoveCapture:vf}),a=o[0],l=o[1],c=e.forwardProps,d=e.children,f=e.className,m=e.removeScrollBar,g=e.enabled,y=e.shards,b=e.sideCar,k=e.noRelative,C=e.noIsolation,S=e.inert,E=e.allowPinchZoom,T=e.as,j=T===void 0?"div":T,R=e.gapMode,N=kS(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=b,U=LV([n,t]),B=Dn(Dn({},N),a);return x.createElement(x.Fragment,null,g&&x.createElement(D,{sideCar:TS,removeScrollBar:m,shards:y,noRelative:k,noIsolation:C,inert:S,setCallbacks:l,allowPinchZoom:!!E,lockRef:n,gapMode:R}),c?x.cloneElement(x.Children.only(d),Dn(Dn({},B),{ref:U})):x.createElement(j,Dn({},B,{className:f,ref:U}),d))});Lc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Lc.classNames={fullWidth:Jl,zeroRight:Xl};var UV=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function BV(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=UV();return t&&e.setAttribute("nonce",t),e}function $V(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function HV(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var WV=function(){var e=0,t=null;return{add:function(n){e==0&&(t=BV())&&($V(t,n),HV(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},KV=function(){var e=WV();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},PS=function(){var e=KV(),t=function(n){var o=n.styles,a=n.dynamic;return e(o,a),null};return t},GV={left:0,top:0,right:0,gap:0},yf=function(e){return parseInt(e||"",10)||0},QV=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],o=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[yf(n),yf(o),yf(a)]},YV=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return GV;var t=QV(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},XV=PS(),us="data-scroll-locked",JV=function(e,t,n,o){var a=e.left,l=e.top,c=e.right,d=e.gap;return n===void 0&&(n="margin"),` 1132 .`.concat(_V,` { 1133 overflow: hidden `).concat(o,`; 1134 padding-right: `).concat(d,"px ").concat(o,`; 1135 } 1136 body[`).concat(us,`] { 1137 overflow: hidden `).concat(o,`; 1138 overscroll-behavior: contain; 1139 `).concat([t&&"position: relative ".concat(o,";"),n==="margin"&&` 1140 padding-left: `.concat(a,`px; 1141 padding-top: `).concat(l,`px; 1142 padding-right: `).concat(c,`px; 1143 margin-left:0; 1144 margin-top:0; 1145 margin-right: `).concat(d,"px ").concat(o,`; 1146 `),n==="padding"&&"padding-right: ".concat(d,"px ").concat(o,";")].filter(Boolean).join(""),` 1147 } 1148 1149 .`).concat(Xl,` { 1150 right: `).concat(d,"px ").concat(o,`; 1151 } 1152 1153 .`).concat(Jl,` { 1154 margin-right: `).concat(d,"px ").concat(o,`; 1155 } 1156 1157 .`).concat(Xl," .").concat(Xl,` { 1158 right: 0 `).concat(o,`; 1159 } 1160 1161 .`).concat(Jl," .").concat(Jl,` { 1162 margin-right: 0 `).concat(o,`; 1163 } 1164 1165 body[`).concat(us,`] { 1166 `).concat(DV,": ").concat(d,`px; 1167 } 1168`)},hx=function(){var e=parseInt(document.body.getAttribute(us)||"0",10);return isFinite(e)?e:0},ZV=function(){x.useEffect(function(){return document.body.setAttribute(us,(hx()+1).toString()),function(){var e=hx()-1;e<=0?document.body.removeAttribute(us):document.body.setAttribute(us,e.toString())}},[])},e4=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,a=o===void 0?"margin":o;ZV();var l=x.useMemo(function(){return YV(a)},[a]);return x.createElement(XV,{styles:JV(l,!t,a,n?"":"!important")})},ap=!1;if(typeof window<"u")try{var Il=Object.defineProperty({},"passive",{get:function(){return ap=!0,!0}});window.addEventListener("test",Il,Il),window.removeEventListener("test",Il,Il)}catch{ap=!1}var ts=ap?{passive:!1}:!1,t4=function(e){return e.tagName==="TEXTAREA"},RS=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!t4(e)&&n[t]==="visible")},n4=function(e){return RS(e,"overflowY")},r4=function(e){return RS(e,"overflowX")},gx=function(e,t){var n=t.ownerDocument,o=t;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var a=NS(e,o);if(a){var l=jS(e,o),c=l[1],d=l[2];if(c>d)return!0}o=o.parentNode}while(o&&o!==n.body);return!1},o4=function(e){var t=e.scrollTop,n=e.scrollHeight,o=e.clientHeight;return[t,n,o]},s4=function(e){var t=e.scrollLeft,n=e.scrollWidth,o=e.clientWidth;return[t,n,o]},NS=function(e,t){return e==="v"?n4(t):r4(t)},jS=function(e,t){return e==="v"?o4(t):s4(t)},a4=function(e,t){return e==="h"&&t==="rtl"?-1:1},i4=function(e,t,n,o,a){var l=a4(e,window.getComputedStyle(t).direction),c=l*o,d=n.target,f=t.contains(d),m=!1,g=c>0,y=0,b=0;do{if(!d)break;var k=jS(e,d),C=k[0],S=k[1],E=k[2],T=S-E-l*C;(C||T)&&NS(e,d)&&(y+=T,b+=C);var j=d.parentNode;d=j&&j.nodeType===Node.DOCUMENT_FRAGMENT_NODE?j.host:j}while(!f&&d!==document.body||f&&(t.contains(d)||t===d));return(g&&Math.abs(y)<1||!g&&Math.abs(b)<1)&&(m=!0),m},Ml=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},vx=function(e){return[e.deltaX,e.deltaY]},yx=function(e){return e&&"current"in e?e.current:e},l4=function(e,t){return e[0]===t[0]&&e[1]===t[1]},c4=function(e){return` 1169 .block-interactivity-`.concat(e,` {pointer-events: none;} 1170 .allow-interactivity-`).concat(e,` {pointer-events: all;} 1171`)},u4=0,ns=[];function d4(e){var t=x.useRef([]),n=x.useRef([0,0]),o=x.useRef(),a=x.useState(u4++)[0],l=x.useState(PS)[0],c=x.useRef(e);x.useEffect(function(){c.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var S=OV([e.lockRef.current],(e.shards||[]).map(yx),!0).filter(Boolean);return S.forEach(function(E){return E.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),S.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var d=x.useCallback(function(S,E){if("touches"in S&&S.touches.length===2||S.type==="wheel"&&S.ctrlKey)return!c.current.allowPinchZoom;var T=Ml(S),j=n.current,R="deltaX"in S?S.deltaX:j[0]-T[0],N="deltaY"in S?S.deltaY:j[1]-T[1],D,U=S.target,B=Math.abs(R)>Math.abs(N)?"h":"v";if("touches"in S&&B==="h"&&U.type==="range")return!1;var M=window.getSelection(),Y=M&&M.anchorNode,ve=Y?Y===U||Y.contains(U):!1;if(ve)return!1;var ue=gx(B,U);if(!ue)return!0;if(ue?D=B:(D=B==="v"?"h":"v",ue=gx(B,U)),!ue)return!1;if(!o.current&&"changedTouches"in S&&(R||N)&&(o.current=D),!D)return!0;var Te=o.current||D;return i4(Te,E,S,Te==="h"?R:N)},[]),f=x.useCallback(function(S){var E=S;if(!(!ns.length||ns[ns.length-1]!==l)){var T="deltaY"in E?vx(E):Ml(E),j=t.current.filter(function(D){return D.name===E.type&&(D.target===E.target||E.target===D.shadowParent)&&l4(D.delta,T)})[0];if(j&&j.should){E.cancelable&&E.preventDefault();return}if(!j){var R=(c.current.shards||[]).map(yx).filter(Boolean).filter(function(D){return D.contains(E.target)}),N=R.length>0?d(E,R[0]):!c.current.noIsolation;N&&E.cancelable&&E.preventDefault()}}},[]),m=x.useCallback(function(S,E,T,j){var R={name:S,delta:E,target:T,should:j,shadowParent:f4(T)};t.current.push(R),setTimeout(function(){t.current=t.current.filter(function(N){return N!==R})},1)},[]),g=x.useCallback(function(S){n.current=Ml(S),o.current=void 0},[]),y=x.useCallback(function(S){m(S.type,vx(S),S.target,d(S,e.lockRef.current))},[]),b=x.useCallback(function(S){m(S.type,Ml(S),S.target,d(S,e.lockRef.current))},[]);x.useEffect(function(){return ns.push(l),e.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:b}),document.addEventListener("wheel",f,ts),document.addEventListener("touchmove",f,ts),document.addEventListener("touchstart",g,ts),function(){ns=ns.filter(function(S){return S!==l}),document.removeEventListener("wheel",f,ts),document.removeEventListener("touchmove",f,ts),document.removeEventListener("touchstart",g,ts)}},[]);var k=e.removeScrollBar,C=e.inert;return x.createElement(x.Fragment,null,C?x.createElement(l,{styles:c4(a)}):null,k?x.createElement(e4,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function f4(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const p4=FV(TS,d4);var OS=x.forwardRef(function(e,t){return x.createElement(Lc,Dn({},e,{ref:t,sideCar:p4}))});OS.classNames=Lc.classNames;var m4=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},rs=new WeakMap,Ll=new WeakMap,Vl={},xf=0,_S=function(e){return e&&(e.host||_S(e.parentNode))},h4=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=_S(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},g4=function(e,t,n,o){var a=h4(t,Array.isArray(e)?e:[e]);Vl[n]||(Vl[n]=new WeakMap);var l=Vl[n],c=[],d=new Set,f=new Set(a),m=function(y){!y||d.has(y)||(d.add(y),m(y.parentNode))};a.forEach(m);var g=function(y){!y||f.has(y)||Array.prototype.forEach.call(y.children,function(b){if(d.has(b))g(b);else try{var k=b.getAttribute(o),C=k!==null&&k!=="false",S=(rs.get(b)||0)+1,E=(l.get(b)||0)+1;rs.set(b,S),l.set(b,E),c.push(b),S===1&&C&&Ll.set(b,!0),E===1&&b.setAttribute(n,"true"),C||b.setAttribute(o,"true")}catch(T){console.error("aria-hidden: cannot operate on ",b,T)}})};return g(t),d.clear(),xf++,function(){c.forEach(function(y){var b=rs.get(y)-1,k=l.get(y)-1;rs.set(y,b),l.set(y,k),b||(Ll.has(y)||y.removeAttribute(o),Ll.delete(y)),k||y.removeAttribute(n)}),xf--,xf||(rs=new WeakMap,rs=new WeakMap,Ll=new WeakMap,Vl={})}},v4=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),a=m4(e);return a?(o.push.apply(o,Array.from(a.querySelectorAll("[aria-live], script"))),g4(o,a,n,"aria-hidden")):function(){return null}};function y4(e){const t=x4(e),n=x.forwardRef((o,a)=>{const{children:l,...c}=o,d=x.Children.toArray(l),f=d.find(b4);if(f){const m=f.props.children,g=d.map(y=>y===f?x.Children.count(m)>1?x.Children.only(null):x.isValidElement(m)?m.props.children:null:y);return h.jsx(t,{...c,ref:a,children:x.isValidElement(m)?x.cloneElement(m,void 0,g):null})}return h.jsx(t,{...c,ref:a,children:l})});return n.displayName=`${e}.Slot`,n}function x4(e){const t=x.forwardRef((n,o)=>{const{children:a,...l}=n;if(x.isValidElement(a)){const c=E4(a),d=S4(l,a.props);return a.type!==x.Fragment&&(d.ref=o?oi(o,c):c),x.cloneElement(a,d)}return x.Children.count(a)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w4=Symbol("radix.slottable");function b4(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w4}function S4(e,t){const n={...t};for(const o in t){const a=e[o],l=t[o];/^on[A-Z]/.test(o)?a&&l?n[o]=(...d)=>{const f=l(...d);return a(...d),f}:a&&(n[o]=a):o==="style"?n[o]={...a,...l}
vendor: 6,506 bytes, lines 1171-1175
1171:o==="className"&&(n[o]=[a,l].filter(Boolean).join(" "))}return{...e,...n}}function E4(e){var o,a;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Vc="Dialog",[DS]=ui(Vc),[C4,kn]=DS(Vc),IS=e=>{const{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,d=x.useRef(null),f=x.useRef(null),[m,g]=di({prop:o,defaultProp:a??!1,onChange:l,caller:Vc});return h.jsx(C4,{scope:t,triggerRef:d,contentRef:f,contentId:Ma(),titleId:Ma(),descriptionId:Ma(),open:m,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(y=>!y),[g]),modal:c,children:n})};IS.displayName=Vc;var MS="DialogTrigger",k4=x.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,a=kn(MS,n),l=Qt(t,a.triggerRef);return h.jsx(Tt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":wm(a.open),...o,ref:l,onClick:Sn(e.onClick,a.onOpenToggle)})});k4.displayName=MS;var ym="DialogPortal",[A4,LS]=DS(ym,{forceMount:void 0}),VS=e=>{const{__scopeDialog:t,forceMount:n,children:o,container:a}=e,l=kn(ym,t);return h.jsx(A4,{scope:t,forceMount:n,children:x.Children.map(o,c=>h.jsx(fi,{present:n||l.open,children:h.jsx(CS,{asChild:!0,container:a,children:c})}))})};VS.displayName=ym;var hc="DialogOverlay",zS=x.forwardRef((e,t)=>{const n=LS(hc,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,l=kn(hc,e.__scopeDialog);return l.modal?h.jsx(fi,{present:o||l.open,children:h.jsx(P4,{...a,ref:t})}):null});zS.displayName=hc;var T4=y4("DialogOverlay.RemoveScroll"),P4=x.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,a=kn(hc,n);return h.jsx(OS,{as:T4,allowPinchZoom:!0,shards:[a.contentRef],children:h.jsx(Tt.div,{"data-state":wm(a.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),ko="DialogContent",qS=x.forwardRef((e,t)=>{const n=LS(ko,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,l=kn(ko,e.__scopeDialog);return h.jsx(fi,{present:o||l.open,children:l.modal?h.jsx(R4,{...a,ref:t}):h.jsx(N4,{...a,ref:t})})});qS.displayName=ko;var R4=x.forwardRef((e,t)=>{const n=kn(ko,e.__scopeDialog),o=x.useRef(null),a=Qt(t,n.contentRef,o);return x.useEffect(()=>{const l=o.current;if(l)return v4(l)},[]),h.jsx(FS,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Sn(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Sn(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&l.preventDefault()}),onFocusOutside:Sn(e.onFocusOutside,l=>l.preventDefault())})}),N4=x.forwardRef((e,t)=>{const n=kn(ko,e.__scopeDialog),o=x.useRef(!1),a=x.useRef(!1);return h.jsx(FS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var c,d;(c=e.onCloseAutoFocus)==null||c.call(e,l),l.defaultPrevented||(o.current||(d=n.triggerRef.current)==null||d.focus(),l.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:l=>{var f,m;(f=e.onInteractOutside)==null||f.call(e,l),l.defaultPrevented||(o.current=!0,l.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const c=l.target;((m=n.triggerRef.current)==null?void 0:m.contains(c))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&a.current&&l.preventDefault()}})}),FS=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...c}=e,d=kn(ko,n),f=x.useRef(null),m=Qt(t,f);return jV(),h.jsxs(h.Fragment,{children:[h.jsx(SS,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:h.jsx(wS,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":wm(d.open),...c,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(j4,{titleId:d.titleId}),h.jsx(_4,{contentRef:f,descriptionId:d.descriptionId})]})]})}),xm="DialogTitle",US=x.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,a=kn(xm,n);return h.jsx(Tt.h2,{id:a.titleId,...o,ref:t})});US.displayName=xm;var BS="DialogDescription",$S=x.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,a=kn(BS,n);return h.jsx(Tt.p,{id:a.descriptionId,...o,ref:t})});$S.displayName=BS;var HS="DialogClose",WS=x.forwardRef((e,t)=>{const{__scopeDialog:n,...o}=e,a=kn(HS,n);return h.jsx(Tt.button,{type:"button",...o,ref:t,onClick:Sn(e.onClick,()=>a.onOpenChange(!1))})});WS.displayName=HS;function wm(e){return e?"open":"closed"}var KS="DialogTitleWarning",[wz,GS]=SL(KS,{contentName:ko,titleName:xm,docsSlug:"dialog"}),j4=({titleId:e})=>{const t=GS(KS),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 1172 1173If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 1174 1175For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},O4="DialogDescriptionWarning",_4=({contentRef:e,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${GS(O4).contentName}}.`;return x.useEffect(()=>{var l;const a=(l=e.current)==null?void 0:l.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null},D4=IS,I4=VS,QS=zS,YS=qS,XS=US,JS=$S,M4=WS;const L4=D4,V4=I4,ZS=x.forwardRef(({className:e,...t},n)=>h.jsx(QS,{ref:n,className:Ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));ZS.displayName=QS.displayName;const eE=x.forwardRef(({className:e,children:t,...n},o)=>h.jsxs(V4,{children:[h.jsx(ZS,{}),h.jsxs(YS,{ref:o,className:Ie("fixed left-[50%] top-[50%] z-50 grid max-h-[90vh] w-[calc(100%-1.5rem)] max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto border bg-background p-5 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:w-full sm:rounded-lg sm:p-6",e),...n,children:[t,h.jsxs(M4,{className:"absolute right-4 top-4 roun
1175ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[h.jsx(dp,{className:"h-4 w-4"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));eE.displayName=YS.displayName;const tE=({className:e,...t})=>h.jsx("div",{className:Ie("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});tE.displayName="DialogHeader";const nE=({className:e,...t})=>h.jsx("div",{className:Ie("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});nE.displayName="DialogFooter";const rE=x.forwardRef(({className:e,...t},n)=>h.jsx(XS,{ref:n,className:Ie("text-lg font-semibold leading-none tracking-tight",e),...t}));rE.displayName=XS.displayName;const oE=x.forwardRef(({className:e,...t},n)=>h.jsx(JS,{ref:n,className:Ie("text-sm text-muted-foreground",e),...t}));oE.displayName=JS.displayName;function z4(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function q4(e){const[t,n]=x.useState(void 0);return Co(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const l=a[0];let c,d;if("borderBoxSize"in l){const f=l.borderBoxSize,m=Array.isArray(f)?f[0]:f;c=m.inlineSize,d=m.blockSize}else c=e.offsetWidth,d=e.offsetHeight;n({width:c,height:d})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),t}var zc="Switch",[F4]=ui(zc),[U4,B4]=F4(zc),sE=x.forwardRef((e,t)=>{const{__scopeSwitch:n,name:o,checked:a,defaultChecked:l,required:c,disabled:d,value:f="on",onCheckedChange:m,form:g,...y}=e,[b,k]=x.useState(null),C=Qt(t,R=>k(R)),S=x.useRef(!1),E=b?g||!!b.closest("form"):!0,[T,j]=di({prop:a,defaultProp:l??!1,onChange:m,caller:zc});return h.jsxs(U4,{scope:n,checked:T,disabled:d,children:[h.jsx(Tt.button,{type:"button",role:"switch","aria-checked":T,"aria-required":c,"data-state":cE(T),"data-disabled":d?"":void 0,disabled:d,value:f,...y,ref:C,onClick:Sn(e.onClick,R=>{j(N=>!N),E&&(S.current=R.isPropagationStopped(),S.current||R.stopPropagation())})}),E&&h.jsx(lE,{control:b,bubbles:!S.current,name:o,value:f,checked:T,required:c,disabled:d,form:g,style:{transform:"translateX(-100%)"}})]})});sE.displayName=zc;var aE="SwitchThumb",iE=x.forwardRef((e,t)=>{const{__scopeSwitch:n,...o}=e,a=B4(aE,n);return h.jsx(Tt.span,{"data-state":cE(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:t})});iE.displayName=aE;var $4="SwitchBubbleInput",lE=x.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:o=!0,...a},l)=>{const c=x.useRef(null),d=Qt(c,l),f=z4(n),m=q4(t);return x.useEffect(()=>{const g=c.current;if(!g)return;const y=window.HTMLInputElement.prototype,k=Object.getOwnPropertyDescriptor(y,"checked").set;if(f!==n&&k){const C=new Event("click",{bubbles:o});k.call(g,n),g.dispatchEvent(C)}},[f,n,o]),h.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:d,style:{...a.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});lE.displayName=$4;function cE(e){return e?"checked":"unchecked"}var uE=sE,H4=iE;const dE=x.forwardRef(({className:e,...t},n)=>h.jsx(uE,{className:Ie("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:h.jsx(H4,{className:Ie("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));dE.displayName=uE.displayName;const W4=[{id:Ke.NECESSARY,title:"Necessários",description:"Essenciais para o funcionamento do site e para recursos básicos de navegação e segurança.",alwaysOn:!0},{id:Ke.ANALYTICS,title:"AnalÃticos",description:"Usados para entender como o site é utilizado, medir audiência e apoiar melhorias de experiência.",alwaysOn:!1},{id:Ke.MARKETING,title:"Marketing",description:"Usados para personalização de campanhas, rastreamento e comunicações mais relevantes.",alwaysOn:!1}];function K4(){const{isPreferencesOpen:e,closePreferences:t,preferences:n,savePreferences:o,rejectNonEssential:a,acceptAll:l}=Ac(),[c,d]=x.useState(n);x.useEffect(()=>{e&&d(n)},[e,n]);const f=(m,g)=>{m!==Ke.NECESSARY&&d(y=>({...y,[m]:!!g}))};return h.jsx(L4,{open:e,onOpenChange:m=>{m||t()},children:h.jsxs(eE,{className:"max-h-[92vh] overflow-y-auto sm:max-w-2xl",children:[h.jsxs(tE,{children:[h.jsx(rE,{children:"Preferências de cookies"}),h.jsx(oE,{children:"Defina quais categorias opcionais podem ser utilizadas. Você pode revisar essa escolha a qualquer momento."})]}),h.jsx("div",{className:"space-y-3",children:W4.map(m=>h.jsx("div",{className:"rounded-lg border border-border/80 bg-muted/20 p-4",children:h.jsxs("div",{className:"flex items-start justify-between gap-4",children:[h.jsxs("div",{className:"space-y-1",children:[h.jsxs("p",{className:"text-sm font-semibold text-foreground",children:[m.title,m.alwaysOn?h.jsx("span",{className:"ml-2 roun
1175ded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground",children:"Sempre ativo"}):null]}),h.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground",children:m.description})]}),h.jsx(dE,{checked:m.alwaysOn?!0:!!(c!=null&&c[m.id]),disabled:m.alwaysOn,onCheckedChange:g=>f(m.id,g),"aria-label":`Permitir cookies ${m.title.toLowerCase()}`})]})},m.id))}),h.jsxs(nE,{className:"gap-2 sm:justify-between",children:[h.jsxs("div",{className:"flex flex-wrap gap-2",children:[h.jsx(Ze,{type:"button",variant:"outline",onClick:a,children:"Recusar não essenciais"}),h.jsx(Ze,{type:"button",variant:"secondary",onClick:l,children:"Aceitar todos"})]}),h.jsx(Ze,{type:"button",onClick:()=>o(c),children:"Salvar preferências"})]})]})})}function G4(){const{isReady:e,isBannerVisible:t}=Ac();return e?h.jsxs(h.Fragment,{children:[h.jsx(K4,{}),t?h.jsx(mV,{}):null]}):null}const Q4=["/app/*","/dashboard/*"],Y4=()=>{const{pathname:e}=Br(),{isLoadingAuth:t,isLoadingPublicSettings:n,authError:o,navigateToLogin:a}=RM(),l=Q4.some(c=>uw({path:c},e));if((n||t)&&l)return h.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:h.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(o&&l){if(o.type==="user_not_registered")return h.jsx(NM,{});if(o.type==="auth_required")return a(),null}return h.jsxs(WP,{children:[h.jsx(vn,{path:"/",element:h.jsx(rL,{})}),h.jsx(vn,{path:"/termos-de-uso",element:h.jsx(aL,{})}),h.jsx(vn,{path:"/politica-de-privacidade",element:h.jsx(lL,{})}),h.jsx(vn,{path:"/artigos-downloads",element:h.jsx(uL,{})}),h.jsx(vn,{path:"/artigos-downloads/:slug",element:h.jsx(yL,{})}),h.jsx(vn,{path:"/integracoes/amazon",element:h.jsx(xL,{})}),h.jsx(vn,{path:"/integracoes/olist",element:h.jsx(wL,{})}),h.jsx(vn,{path:"/via-marketplace",element:h.jsx(bL,{})}),h.jsx(vn,{path:"/parceiros",element:h.jsx(pV,{})}),h.jsx(vn,{path:"*",element:h.jsx(p_,{})})]})};function X4(){return h.jsx(PM,{children:h.jsxs(XT,{client:JT,children:[h.jsx(pR,{reducedMotion:"user",children:h.jsx(e_,{children:h.jsxs(ZP,{children:[h.jsx(Y4,{}),h.jsx(G4,{})]})})}),h.jsx(bT,{})]})})}vk.createRoot(document.getElementById("root")).render(h.jsx(X4,{}));
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.