PageSourceSearch

https://deltaconnect.com.br/assets/index-C1bzszNx.js?v=20260921d

js deltaconnect.com.br collected 2026-10-08 09:50:16 UTC 551,698 bytes, 29 lines download raw bytes

vendor: 5,570 bytes, line 1
1function k0(i,r){for(var o=0;o<r.length;o++){const l=r[o];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in i)){const f=Object.getOwnPropertyDescriptor(l,c);f&&Object.defineProperty(i,c,f.get?f:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&l(h)}).observe(document,{childList:!0,subtree:!0});function o(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function l(c){if(c.ep)return;c.ep=!0;const f=o(c);fetch(c.href,f)}})();function Er(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ed={exports:{}},ba={},kd={exports:{}},Ie={};var rm;function L0(){if(rm)return Ie;rm=1;var i=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),h=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),P=Symbol.iterator;function C(j){return j===null||typeof j!="object"?null:(j=P&&j[P]||j["@@iterator"],typeof j=="function"?j:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},z=Object.assign,N={};function M(j,G,ve){this.props=j,this.context=G,this.refs=N,this.updater=ve||R}M.prototype.isReactComponent={},M.prototype.setState=function(j,G){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,G,"setState")},M.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function D(){}D.prototype=M.prototype;function V(j,G,ve){this.props=j,this.context=G,this.refs=N,this.updater=ve||R}var W=V.prototype=new D;W.constructor=V,z(W,M.prototype),W.isPureReactComponent=!0;var Y=Array.isArray,J=Object.prototype.hasOwnProperty,re={current:null},ue={key:!0,ref:!0,__self:!0,__source:!0};function ae(j,G,ve){var he,pe={},se=null,De=null;if(G!=null)for(he in G.ref!==void 0&&(De=G.ref),G.key!==void 0&&(se=""+G.key),G)J.call(G,he)&&!ue.hasOwnProperty(he)&&(pe[he]=G[he]);var je=arguments.length-2;if(je===1)pe.children=ve;else if(1<je){for(var $e=Array(je),Ct=0;Ct<je;Ct++)$e[Ct]=arguments[Ct+2];pe.children=$e}if(j&&j.defaultProps)for(he in je=j.defaultProps,je)pe[he]===void 0&&(pe[he]=je[he]);return{$$typeof:i,type:j,key:se,ref:De,props:pe,_owner:re.current}}function Re(j,G){return{$$typeof:i,type:j.type,key:G,ref:j.ref,props:j.props,_owner:j._owner}}function Oe(j){return typeof j=="object"&&j!==null&&j.$$typeof===i}function Me(j){var G={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ve){return G[ve]})}var ye=/\/+/g;function it(j,G){return typeof j=="object"&&j!==null&&j.key!=null?Me(""+j.key):G.toString(36)}function de(j,G,ve,he,pe){var se=typeof j;(se==="undefined"||se==="boolean")&&(j=null);var De=!1;if(j===null)De=!0;else switch(se){case"string":case"number":De=!0;break;case"object":switch(j.$$typeof){case i:case r:De=!0}}if(De)return De=j,pe=pe(De),j=he===""?"."+it(De,0):he,Y(pe)?(ve="",j!=null&&(ve=j.replace(ye,"$&/")+"/"),de(pe,G,ve,"",function(Ct){return Ct})):pe!=null&&(Oe(pe)&&(pe=Re(pe,ve+(!pe.key||De&&De.key===pe.key?"":(""+pe.key).replace(ye,"$&/")+"/")+j)),G.push(pe)),1;if(De=0,he=he===""?".":he+":",Y(j))for(var je=0;je<j.length;je++){se=j[je];var $e=he+it(se,je);De+=de(se,G,ve,$e,pe)}else if($e=C(j),typeof $e=="function")for(j=$e.call(j),je=0;!(se=j.next()).done;)se=se.value,$e=he+it(se,je++),De+=de(se,G,ve,$e,pe);else if(se==="object")throw G=String(j),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return De}function Ge(j,G,ve){if(j==null)return j;var he=[],pe=0;return de(j,he,"","",function(se){return G.call(ve,se,pe++)}),he}function ke(j){if(j._status===-1){var G=j._result;G=G(),G.then(function(ve){(j._status===0||j._status===-1)&&(j._status=1,j._result=ve)},function(ve){(j._status===0||j._status===-1)&&(j._status=2,j._result=ve)}),j._status===-1&&(j._status=0,j._result=G)}if(j._status===1)return j._result.default;throw j._result}var _e={current:null},$={transition:null},oe={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:$,ReactCurrentOwner:re};function K(){throw Error("act(...) is not supported in production builds of React.")}return Ie.Children={map:Ge,forEach:function(j,G,ve){Ge(j,function(){G.apply(this,arguments)},ve)},count:function(j){var G=0;return Ge(j,function(){G++}),G},toArray:function(j){return Ge(j,function(G){return G})||[]},only:function(j){if(!Oe(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},Ie.Component=M,Ie.Fragment=o,Ie.Profiler=c,Ie.PureComponent=V,Ie.StrictMode=l,Ie.Suspense=v,Ie.__SECRET_INT
vendor: 4,546 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Ie.act=K,Ie.cloneElement=function(j,G,ve){if(j==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var he=z({},j.props),pe=j.key,se=j.ref,De=j._owner;if(G!=null){if(G.ref!==void 0&&(se=G.ref,De=re.current),G.key!==void 0&&(pe=""+G.key),j.type&&j.type.defaultProps)var je=j.type.defaultProps;for($e in G)J.call(G,$e)&&!ue.hasOwnProperty($e)&&(he[$e]=G[$e]===void 0&&je!==void 0?je[$e]:G[$e])}var $e=arguments.length-2;if($e===1)he.children=ve;else if(1<$e){je=Array($e);for(var Ct=0;Ct<$e;Ct++)je[Ct]=arguments[Ct+2];he.children=je}return{$$typeof:i,type:j.type,key:pe,ref:se,props:he,_owner:De}},Ie.createContext=function(j){return j={$$typeof:h,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:f,_context:j},j.Consumer=j},Ie.createElement=ae,Ie.createFactory=function(j){var G=ae.bind(null,j);return G.type=j,G},Ie.createRef=function(){return{current:null}},Ie.forwardRef=function(j){return{$$typeof:g,render:j}},Ie.isValidElement=Oe,Ie.lazy=function(j){return{$$typeof:w,_payload:{_status:-1,_result:j},_init:ke}},Ie.memo=function(j,G){return{$$typeof:x,type:j,compare:G===void 0?null:G}},Ie.startTransition=function(j){var G=$.transition;$.transition={};try{j()}finally{$.transition=G}},Ie.unstable_act=K,Ie.useCallback=function(j,G){return _e.current.useCallback(j,G)},Ie.useContext=function(j){return _e.current.useContext(j)},Ie.useDebugValue=function(){},Ie.useDeferredValue=function(j){return _e.current.useDeferredValue(j)},Ie.useEffect=function(j,G){return _e.current.useEffect(j,G)},Ie.useId=function(){return _e.current.useId()},Ie.useImperativeHandle=function(j,G,ve){return _e.current.useImperativeHandle(j,G,ve)},Ie.useInsertionEffect=function(j,G){return _e.current.useInsertionEffect(j,G)},Ie.useLayoutEffect=function(j,G){return _e.current.useLayoutEffect(j,G)},Ie.useMemo=function(j,G){return _e.current.useMemo(j,G)},Ie.useReducer=function(j,G,ve){return _e.current.useReducer(j,G,ve)},Ie.useRef=function(j){return _e.current.useRef(j)},Ie.useState=function(j){return _e.current.useState(j)},Ie.useSyncExternalStore=function(j,G,ve){return _e.current.useSyncExternalStore(j,G,ve)},Ie.useTransition=function(){return _e.current.useTransition()},Ie.version="18.3.1",Ie}var om;function $u(){return om||(om=1,kd.exports=L0()),kd.exports}var sm;function A0(){if(sm)return ba;sm=1;var i=$u(),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,c=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function h(g,v,x){var w,P={},C=null,R=null;x!==void 0&&(C=""+x),v.key!==void 0&&(C=""+v.key),v.ref!==void 0&&(R=v.ref);for(w in v)l.call(v,w)&&!f.hasOwnProperty(w)&&(P[w]=v[w]);if(g&&g.defaultProps)for(w in v=g.defaultProps,v)P[w]===void 0&&(P[w]=v[w]);return{$$typeof:r,type:g,key:C,ref:R,props:P,_owner:c.current}}return ba.Fragment=o,ba.jsx=h,ba.jsxs=h,ba}var am;function M0(){return am||(am=1,Ed.exports=A0()),Ed.exports}var T=M0(),E=$u();const lt=Er(E),N0=k0({__proto__:null,default:lt},[E]);var bu={},Ld={exports:{}},Jt={},Ad={exports:{}},Md={};var lm;function R0(){return lm||(lm=1,(function(i){function r($,oe){var K=$.length;$.push(oe);e:for(;0<K;){var j=K-1>>>1,G=$[j];if(0<c(G,oe))$[j]=oe,$[K]=G,K=j;else break e}}function o($){return $.length===0?null:$[0]}function l($){if($.length===0)return null;var oe=$[0],K=$.pop();if(K!==oe){$[0]=K;e:for(var j=0,G=$.length,ve=G>>>1;j<ve;){var he=2*(j+1)-1,pe=$[he],se=he+1,De=$[se];if(0>c(pe,K))se<G&&0>c(De,pe)?($[j]=De,$[se]=K,j=se):($[j]=pe,$[he]=K,j=he);else if(se<G&&0>c(De,K))$[j]=De,$[se]=K,j=se;else break e}}return oe}function c($,oe){var K=$.sortIndex-oe.sortIndex;return K!==0?K:$.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var h=Date,g=h.now();i.unstable_now=function(){return h.now()-g}}var v=[],x=[],w=1,P=null,C=3,R=!1,z=!1,N=!1,M=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W($){for(var oe=o(x);oe!==null;){if(oe.callback===null)l(x);else if(oe.startTime<=$)l(x),oe.sortIndex=oe.expirationTime,r(v,oe);else break;
vendor: 52,422 bytes, lines 1-6
1oe=o(x)}}function Y($){if(N=!1,W($),!z)if(o(v)!==null)z=!0,ke(J);else{var oe=o(x);oe!==null&&_e(Y,oe.startTime-$)}}function J($,oe){z=!1,N&&(N=!1,D(ae),ae=-1),R=!0;var K=C;try{for(W(oe),P=o(v);P!==null&&(!(P.expirationTime>oe)||$&&!Me());){var j=P.callback;if(typeof j=="function"){P.callback=null,C=P.priorityLevel;var G=j(P.expirationTime<=oe);oe=i.unstable_now(),typeof G=="function"?P.callback=G:P===o(v)&&l(v),W(oe)}else l(v);P=o(v)}if(P!==null)var ve=!0;else{var he=o(x);he!==null&&_e(Y,he.startTime-oe),ve=!1}return ve}finally{P=null,C=K,R=!1}}var re=!1,ue=null,ae=-1,Re=5,Oe=-1;function Me(){return!(i.unstable_now()-Oe<Re)}function ye(){if(ue!==null){var $=i.unstable_now();Oe=$;var oe=!0;try{oe=ue(!0,$)}finally{oe?it():(re=!1,ue=null)}}else re=!1}var it;if(typeof V=="function")it=function(){V(ye)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,Ge=de.port2;de.port1.onmessage=ye,it=function(){Ge.postMessage(null)}}else it=function(){M(ye,0)};function ke($){ue=$,re||(re=!0,it())}function _e($,oe){ae=M(function(){$(i.unstable_now())},oe)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function($){$.callback=null},i.unstable_continueExecution=function(){z||R||(z=!0,ke(J))},i.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Re=0<$?Math.floor(1e3/$):5},i.unstable_getCurrentPriorityLevel=function(){return C},i.unstable_getFirstCallbackNode=function(){return o(v)},i.unstable_next=function($){switch(C){case 1:case 2:case 3:var oe=3;break;default:oe=C}var K=C;C=oe;try{return $()}finally{C=K}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function($,oe){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var K=C;C=$;try{return oe()}finally{C=K}},i.unstable_scheduleCallback=function($,oe,K){var j=i.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?j+K:j):K=j,$){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=K+G,$={id:w++,callback:oe,priorityLevel:$,startTime:K,expirationTime:G,sortIndex:-1},K>j?($.sortIndex=K,r(x,$),o(v)===null&&$===o(x)&&(N?(D(ae),ae=-1):N=!0,_e(Y,K-j))):($.sortIndex=G,r(v,$),z||R||(z=!0,ke(J))),$},i.unstable_shouldYield=Me,i.unstable_wrapCallback=function($){var oe=C;return function(){var K=C;C=oe;try{return $.apply(this,arguments)}finally{C=K}}}})(Md)),Md}var um;function O0(){return um||(um=1,Ad.exports=R0()),Ad.exports}var cm;function j0(){if(cm)return Jt;cm=1;var i=$u(),r=O0();function o(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)n+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,c={};function f(e,n){h(e,n),h(e+"Capture",n)}function h(e,n){for(c[e]=n,e=0;e<n.length;e++)l.add(n[e])}var g=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),v=Object.prototype.hasOwnProperty,x=/^[: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]*$/,w={},P={};function C(e){return v.call(P,e)?!0:v.call(w,e)?!1:x.test(e)?P[e]=!0:(w[e]=!0,!1)}function R(e,n,a,d){if(a!==null&&a.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function z(e,n,a,d){if(n===null||typeof n>"u"||R(e,n,a,d))return!0;if(d)return!1;if(a!==null)switch(a.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function N(e,n,a,d,m,y,b){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=d,this.attributeNamespace=m,this.mustUseProperty=a,this.propertyName=e,this.type=n,this.sanitizeURL=y,this.removeEmptyString=b}var M={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){M[e]=new N(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];M[n]=new N(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){M[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){M[e]=new N(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){M[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){M[e]=new N(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){M[e]=new N(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){M[e]=new N(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){M[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function V(e){return e[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(e){var n=e.replace(D,V);M[n]=new N(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(D,V);M[n]=new N(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(D,V);M[n]=new N(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){M[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)}),M.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){M[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)});function W(e,n,a,d){var m=M.hasOwnProperty(n)?M[n]:null;(m!==null?m.type!==0:d||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(z(n,a,m,d)&&(a=null),d||m===null?C(n)&&(a===null?e.removeAttribute(n):e.setAttribute(n,""+a)):m.mustUseProperty?e[m.propertyName]=a===null?m.type===3?!1:"":a:(n=m.attributeName,d=m.attributeNamespace,a===null?e.removeAttribute(n):(m=m.type,a=m===3||m===4&&a===!0?"":""+a,d?e.setAttributeNS(d,n,a):e.setAttribute(n,a))))}var Y=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J=Symbol.for("react.element"),re=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),Re=Symbol.for("react.profiler"),Oe=Symbol.for("react.provider"),Me=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),$=Symbol.iterator;function oe(e){return e===null||typeof e!="object"?null:(e=$&&e[$]||e["@@iterator"],typeof e=="function"?e:null)}var K=Object.assign,j;function G(e){if(j===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return`
2`+j+e}var ve=!1;function he(e,n){if(!e||ve)return"";ve=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(Z){var d=Z}Reflect.construct(e,[],n)}else{try{n.call()}catch(Z){d=Z}e.call(n.prototype)}else{try{throw Error()}catch(Z){d=Z}e()}}catch(Z){if(Z&&d&&typeof Z.stack=="string"){for(var m=Z.stack.split(`
3`),y=d.stack.split(`
4`),b=m.length-1,k=y.length-1;1<=b&&0<=k&&m[b]!==y[k];)k--;for(;1<=b&&0<=k;b--,k--)if(m[b]!==y[k]){if(b!==1||k!==1)do if(b--,k--,0>k||m[b]!==y[k]){var O=`
5`+m[b].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),O}while(1<=b&&0<=k);break}}}finally{ve=!1,Error.prepareStackTrace=a}return(e=e?e.displayName||e.name:"")?G(e):""}function pe(e){switch(e.tag){case 5:return G(e.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return e=he(e.type,!1),e;case 11:return e=he(e.type.render,!1),e;case 1:return e=he(e.type,!0),e;default:return""}}function se(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ue:return"Fragment";case re:return"Portal";case Re:return"Profiler";case ae:return"StrictMode";case it:return"Suspense";case de:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Me:return(e.displayName||"Context")+".Consumer";case Oe:return(e._context.displayName||"Context")+".Provider";case ye:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ge:return n=e.displayName||null,n!==null?n:se(e.type)||"Memo";case ke:n=e._payload,e=e._init;try{return se(e(n))}catch{}}return null}function De(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(n);case 8:return n===ae?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function je(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $e(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ct(e){var n=$e(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),d=""+e[n];if(!e.hasOwnProperty(n)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var m=a.get,y=a.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return m.call(this)},set:function(b){d=""+b,y.call(this,b)}}),Object.defineProperty(e,n,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(b){d=""+b},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function ji(e){e._valueTracker||(e._valueTracker=Ct(e))}function Ii(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var a=n.getValue(),d="";return e&&(d=$e(e)?e.checked?"true":"false":e.value),e=d,e!==a?(n.setValue(e),!0):!1}function zi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function bs(e,n){var a=n.checked;return K({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??e._wrapperState.initialChecked})}function Ss(e,n){var a=n.defaultValue==null?"":n.defaultValue,d=n.checked!=null?n.checked:n.defaultChecked;a=je(n.value!=null?n.value:a),e._wrapperState={initialChecked:d,initialValue:a,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Cs(e,n){n=n.checked,n!=null&&W(e,"checked",n,!1)}function Lr(e,n){Cs(e,n);var a=je(n.value),d=n.type;if(a!=null)d==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+a):e.value!==""+a&&(e.value=""+a);else if(d==="submit"||d==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Es(e,n.type,a):n.hasOwnProperty("defaultValue")&&Es(e,n.type,je(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Ar(e,n,a){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var d=n.type;if(!(d!=="submit"&&d!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,a||n===e.value||(e.value=n),e.defaultValue=n}a=e.name,a!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,a!==""&&(e.name=a)}function Es(e,n,a){(n!=="number"||zi(e.ownerDocument)!==e)&&(a==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+a&&(e.defaultValue=""+a))}var Di=Array.isArray;function Zn(e,n,a,d){if(e=e.options,n){n={};for(var m=0;m<a.length;m++)n["$"+a[m]]=!0;for(a=0;a<e.length;a++)m=n.hasOwnProperty("$"+e[a].value),e[a].selected!==m&&(e[a].selected=m),m&&d&&(e[a].defaultSelected=!0)}else{for(a=""+je(a),n=null,m=0;m<e.length;m++){if(e[m].value===a){e[m].selected=!0,d&&(e[m].defaultSelected=!0);return}n!==null||e[m].disabled||(n=e[m])}n!==null&&(n.selected=!0)}}function yo(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return K({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ks(e,n){var a=n.value;if(a==null){if(a=n.children,n=n.defaultValue,a!=null){if(n!=null)throw Error(o(92));if(Di(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),a=n}e._wrapperState={initialValue:je(a)}}function nl(e,n){var a=je(n.value),d=je(n.defaultValue);a!=null&&(a=""+a,a!==e.value&&(e.value=a),n.defaultValue==null&&e.defaultValue!==a&&(e.defaultValue=a)),d!=null&&(e.defaultValue=""+d)}function il(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function _o(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xo(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?_o(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Mr,rl=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,a,d,m){MSApp.execUnsafeLocalFunction(function(){return e(n,a,d,m)})}:e})(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Mr=Mr||document.createElement("div"),Mr.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Bi(e,n){if(n){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=n;return}}e.textContent=n}var Fi={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},ic=["Webkit","ms","Moz","O"];Object.keys(Fi).forEach(function(e){ic.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Fi[n]=Fi[e]})});function Ls(e,n,a){return n==null||typeof n=="boolean"||n===""?"":a||typeof n!="number"||n===0||Fi.hasOwnProperty(e)&&Fi[e]?(""+n).trim():n+"px"}function wo(e,n){e=e.style;for(var a in n)if(n.hasOwnProperty(a)){var d=a.indexOf("--")===0,m=Ls(a,n[a],d);a==="float"&&(a="cssFloat"),d?e.setProperty(a,m):e[a]=m}}var ol=K({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 As(e,n){if(n){if(ol[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function si(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ms=null;function Ns(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var To=null,ai=null,li=null;function sl(e){if(e=xi(e)){if(typeof To!="function")throw Error(o(280));var n=e.stateNode;n&&(n=qo(n),To(e.stateNode,e.type,n))}}function al(e){ai?li?li.push(e):li=[e]:ai=e}function ll(){if(ai){var e=ai,n=li;if(li=ai=null,sl(e),n)for(e=0;e<n.length;e++)sl(n[e])}}function ul(e,n){return e(n)}function cl(){}var Rs=!1;function Po(e,n,a){if(Rs)return e(n,a);Rs=!0;try{return ul(e,n,a)}finally{Rs=!1,(ai!==null||li!==null)&&(cl(),ll())}}function Nr(e,n){var a=e.stateNode;if(a===null)return null;var d=qo(a);if(d===null)return null;a=d[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(e=e.type,d=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!d;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,n,typeof a));return a}var Os=!1;if(g)try{var Rr={};Object.defineProperty(Rr,"passive",{get:function(){Os=!0}}),window.addEventListener("test",Rr,Rr),window.removeEventListener("test",Rr,Rr)}catch{Os=!1}function rc(e,n,a,d,m,y,b,k,O){var Z=Array.prototype.slice.call(arguments,3);try{n.apply(a,Z)}catch(Q){this.onError(Q)}}var At=!1,me=null,Or=!1,bo=null,dl={onError:function(e){At=!0,me=e}};function fl(e,n,a,d,m,y,b,k,O){At=!1,me=null,rc.apply(dl,arguments)}function js(e,n,a,d,m,y,b,k,O){if(fl.apply(this,arguments),At){if(At){var Z=me;At=!1,me=null}else throw Error(o(198));Or||(Or=!0,bo=Z)}}function Wn(e){var n=e,a=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(a=n.return),e=n.return;while(e)}return n.tag===3?a:null}function ui(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Is(e){if(Wn(e)!==e)throw Error(o(188))}function oc(e){var n=e.alternate;if(!n){if(n=Wn(e),n===null)throw Error(o(188));return n!==e?null:e}for(var a=e,d=n;;){var m=a.return;if(m===null)break;var y=m.alternate;if(y===null){if(d=m.return,d!==null){a=d;continue}break}if(m.child===y.child){for(y=m.child;y;){if(y===a)return Is(m),e;if(y===d)return Is(m),n;y=y.sibling}throw Error(o(188))}if(a.return!==d.return)a=m,d=y;else{for(var b=!1,k=m.child;k;){if(k===a){b=!0,a=m,d=y;break}if(k===d){b=!0,d=m,a=y;break}k=k.sibling}if(!b){for(k=y.child;k;){if(k===a){b=!0,a=y,d=m;break}if(k===d){b=!0,d=y,a=m;break}k=k.sibling}if(!b)throw Error(o(189))}}if(a.alternate!==d)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:n}function hl(e){return e=oc(e),e!==null?pl(e):null}function pl(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=pl(e);if(n!==null)return n;e=e.sibling}return null}var ml=r.unstable_scheduleCallback,zs=r.unstable_cancelCallback,sc=r.unstable_shouldYield,So=r.unstable_requestPaint,rt=r.unstable_now,ac=r.unstable_getCurrentPriorityLevel,Ds=r.unstable_ImmediatePriority,gl=r.unstable_UserBlockingPriority,Co=r.unstable_NormalPriority,Bs=r.unstable_LowPriority,Vi=r.unstable_IdlePriority,jr=null,tn=null;function Ir(e){if(tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(jr,e,void 0,(e.current.flags&128)===128)}catch{}}var Ee=Math.clz32?Math.clz32:Ui,Ye=Math.log,Eo=Math.LN2;function Ui(e){return e>>>=0,e===0?32:31-(Ye(e)/Eo|0)|0}var Mn=64,Hi=4194304;function Ce(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ke(e,n){var a=e.pendingLanes;if(a===0)return 0;var d=0,m=e.suspendedLanes,y=e.pingedLanes,b=a&268435455;if(b!==0){var k=b&~m;k!==0?d=Ce(k):(y&=b,y!==0&&(d=Ce(y)))}else b=a&~m,b!==0?d=Ce(b):y!==0&&(d=Ce(y));if(d===0)return 0;if(n!==0&&n!==d&&(n&m)===0&&(m=d&-d,y=n&-n,m>=y||m===16&&(y&4194240)!==0))return n;if((d&4)!==0&&(d|=a&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=d;0<n;)a=31-Ee(n),m=1<<a,d|=e[a],n&=~m;return d}function Fs(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;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 ko(e,n){for(var a=e.suspendedLanes,d=e.pingedLanes,m=e.expirationTimes,y=e.pendingLanes;0<y;){var b=31-Ee(y),k=1<<b,O=m[b];O===-1?((k&a)===0||(k&d)!==0)&&(m[b]=Fs(k,n)):O<=n&&(e.expiredLanes|=k),y&=~k}}function Mt(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function vl(){var e=Mn;return Mn<<=1,(Mn&4194240)===0&&(Mn=64),e}function Zi(e){for(var n=[],a=0;31>a;a++)n.push(e);return n}function nn(e,n,a){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Ee(n),e[n]=a}function ct(e,n){var a=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var d=e.eventTimes;for(e=e.expirationTimes;0<a;){var m=31-Ee(a),y=1<<m;n[m]=0,d[m]=-1,e[m]=-1,a&=~y}}function Nn(e,n){var a=e.entangledLanes|=n;for(e=e.entanglements;a;){var d=31-Ee(a),m=1<<d;m&n|e[d]&n&&(e[d]|=n),a&=~m}}var Be=0;function Wi(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Lo,ci,Ao,Mo,zr,Dr=!1,$i=[],rn=null,Rn=null,vn=null,Br=new Map,be=new Map,_t=[],He="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 Vs(e,n){switch(e){case"focusin":case"focusout":rn=null;break;case"dragenter":case"dragleave":Rn=null;break;case"mouseover":case"mouseout":vn=null;break;case"pointerover":case"pointerout":Br.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":be.delete(n.pointerId)}}function di(e,n,a,d,m,y){return e===null||e.nativeEvent!==y?(e={blockedOn:n,domEventName:a,eventSystemFlags:d,nativeEvent:y,targetContainers:[m]},n!==null&&(n=xi(n),n!==null&&ci(n)),e):(e.eventSystemFlags|=d,n=e.targetContainers,m!==null&&n.indexOf(m)===-1&&n.push(m),e)}function Us(e,n,a,d,m){switch(n){case"focusin":return rn=di(rn,e,n,a,d,m),!0;case"dragenter":return Rn=di(Rn,e,n,a,d,m),!0;case"mouseover":return vn=di(vn,e,n,a,d,m),!0;case"pointerover":var y=m.pointerId;return Br.set(y,di(Br.get(y)||null,e,n,a,d,m)),!0;case"gotpointercapture":return y=m.pointerId,be.set(y,di(be.get(y)||null,e,n,a,d,m)),!0}return!1}function No(e){var n=_i(e.target);if(n!==null){var a=Wn(n);if(a!==null){if(n=a.tag,n===13){if(n=ui(a),n!==null){e.blockedOn=n,zr(e.priority,function(){Ao(a)});return}}else if(n===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function yn(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var a=jo(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(a===null){a=e.nativeEvent;var d=new a.constructor(a.type,a);Ms=d,a.target.dispatchEvent(d),Ms=null}else return n=xi(a),n!==null&&ci(n),e.blockedOn=a,!1;n.shift()}return!0}function Ro(e,n,a){yn(e)&&a.delete(n)}function Fr(){Dr=!1,rn!==null&&yn(rn)&&(rn=null),Rn!==null&&yn(Rn)&&(Rn=null),vn!==null&&yn(vn)&&(vn=null),Br.forEach(Ro),be.forEach(Ro)}function ot(e,n){e.blockedOn===n&&(e.blockedOn=null,Dr||(Dr=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Fr)))}function on(e){function n(m){return ot(m,e)}if(0<$i.length){ot($i[0],e);for(var a=1;a<$i.length;a++){var d=$i[a];d.blockedOn===e&&(d.blockedOn=null)}}for(rn!==null&&ot(rn,e),Rn!==null&&ot(Rn,e),vn!==null&&ot(vn,e),Br.forEach(n),be.forEach(n),a=0;a<_t.length;a++)d=_t[a],d.blockedOn===e&&(d.blockedOn=null);for(;0<_t.length&&(a=_t[0],a.blockedOn===null);)No(a),a.blockedOn===null&&_t.shift()}var fi=Y.ReactCurrentBatchConfig,Vr=!0;function lc(e,n,a,d){var m=Be,y=fi.transition;fi.transition=null;try{Be=1,Ur(e,n,a,d)}finally{Be=m,fi.transition=y}}function yl(e,n,a,d){var m=Be,y=fi.transition;fi.transition=null;try{Be=4,Ur(e,n,a,d)}finally{Be=m,fi.transition=y}}function Ur(e,n,a,d){if(Vr){var m=jo(e,n,a,d);if(m===null)t(e,n,d,Oo,a),Vs(e,d);else if(Us(m,e,n,a,d))d.stopPropagation();else if(Vs(e,d),n&4&&-1<He.indexOf(e)){for(;m!==null;){var y=xi(m);if(y!==null&&Lo(y),y=jo(e,n,a,d),y===null&&t(e,n,d,Oo,a),y===m)break;m=y}m!==null&&d.stopPropagation()}else t(e,n,d,null,a)}}var Oo=null;function jo(e,n,a,d){if(Oo=null,e=Ns(d),e=_i(e),e!==null)if(n=Wn(e),n===null)e=null;else if(a=n.tag,a===13){if(e=ui(n),e!==null)return e;e=null}else if(a===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Oo=e,null}function ze(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ac()){case Ds:return 1;case gl:return 4;case Co:case Bs:return 16;case Vi:return 536870912;default:return 16}default:return 16}}var $n=null,Ft=null,Gn=null;function Hs(){if(Gn)return Gn;var e,n=Ft,a=n.length,d,m="value"in $n?$n.value:$n.textContent,y=m.length;for(e=0;e<a&&n[e]===m[e];e++);var b=a-e;for(d=1;d<=b&&n[a-d]===m[y-d];d++);return Gn=m.slice(e,1<d?1-d:void 0)}function Io(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Gi(){return!0}function _l(){return!1}function Nt(e){function n(a,d,m,y,b){this._reactName=a,this._targetInst=m,this.type=d,this.nativeEvent=y,this.target=b,this.currentTarget=null;for(var k in e)e.hasOwnProperty(k)&&(a=e[k],this[k]=a?a(y):y[k]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?Gi:_l,this.isPropagationStopped=_l,this}return K(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Gi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Gi)},persist:function(){},isPersistent:Gi}),n}var Ki={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zs=Nt(Ki),hi=K({},Ki,{view:0,detail:0}),uc=Nt(hi),$t,Ws,qi,sn=K({},hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==qi&&(qi&&e.type==="mousemove"?($t=e.screenX-qi.screenX,Ws=e.screenY-qi.screenY):Ws=$t=0,qi=e),$t)},movementY:function(e){return"movementY"in e?e.movementY:Ws}}),$s=Nt(sn),xl=K({},sn,{dataTransfer:0}),Gs=Nt(xl),cc=K({},hi,{relatedTarget:0}),zo=Nt(cc),wl=K({},Ki,{animationName:0,elapsedTime:0,pseudoElement:0}),dc=Nt(wl),fc=K({},Ki,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ks=Nt(fc),hc=K({},Ki,{data:0}),qs=Nt(hc),Tl={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Do={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"},pi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pc(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=pi[e])?!!n[e]:!1}function mi(){return pc}var Gt=K({},hi,{key:function(e){if(e.key){var n=Tl[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Io(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Do[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mi,charCode:function(e){return e.type==="keypress"?Io(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Io(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Pl=Nt(Gt),bl=K({},sn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sl=Nt(bl),Ys=K({},hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mi}),Xs=Nt(Ys),mc=K({},Ki,{propertyName:0,elapsedTime:0,pseudoElement:0}),gc=Nt(mc),Cl=K({},sn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),vc=Nt(Cl),an=[9,13,27,32],Kn=g&&"CompositionEvent"in window,Hr=null;g&&"documentMode"in document&&(Hr=document.documentMode);var On=g&&"TextEvent"in window&&!Hr,El=g&&(!Kn||Hr&&8<Hr&&11>=Hr),gi=" ",kl=!1;function Yi(e,n){switch(e){case"keyup":return an.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jn=!1;function yc(e,n){switch(e){case"compositionend":return Qs(n);case"keypress":return n.which!==32?null:(kl=!0,gi);case"textInput":return e=n.data,e===gi&&kl?null:e;default:return null}}function qn(e,n){if(jn)return e==="compositionend"||!Kn&&Yi(e,n)?(e=Hs(),Gn=Ft=$n=null,jn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return El&&n.locale!=="ko"?null:n.data;default:return null}}var Bo={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 Ll(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Bo[e.type]:n==="textarea"}function Fo(e,n,a,d){al(d),n=u(n,"onChange"),0<n.length&&(a=new Zs("onChange","change",null,a,d),e.push({event:a,listeners:n}))}var Zr=null,Vt=null;function _c(e){aa(e,0)}function In(e){var n=wi(e);if(Ii(n))return e}function xc(e,n){if(e==="change")return n}var _n=!1;if(g){var Xi;if(g){var Vo="oninput"in document;if(!Vo){var Uo=document.createElement("div");Uo.setAttribute("oninput","return;"),Vo=typeof Uo.oninput=="function"}Xi=Vo}else Xi=!1;_n=Xi&&(!document.documentMode||9<document.documentMode)}function Wr(){Zr&&(Zr.detachEvent("onpropertychange",Ho),Vt=Zr=null)}function Ho(e){if(e.propertyName==="value"&&In(Vt)){var n=[];Fo(n,Vt,e,Ns(e)),Po(_c,n)}}function Zo(e,n,a){e==="focusin"?(Wr(),Zr=n,Vt=a,Zr.attachEvent("onpropertychange",Ho)):e==="focusout"&&Wr()}function Qi(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return In(Vt)}function Wo(e,n){if(e==="click")return In(n)}function Js(e,n){if(e==="input"||e==="change")return In(n)}function Al(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var ln=typeof Object.is=="function"?Object.is:Al;function Yn(e,n){if(ln(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var a=Object.keys(e),d=Object.keys(n);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var m=a[d];if(!v.call(n,m)||!ln(e[m],n[m]))return!1}return!0}function Ml(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ea(e,n){var a=Ml(e);e=0;for(var d;a;){if(a.nodeType===3){if(d=e+a.textContent.length,e<=n&&d>=n)return{node:a,offset:n-e};e=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ml(a)}}function Nl(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Nl(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ta(){for(var e=window,n=zi();n instanceof e.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)e=n.contentWindow;else break;n=zi(e.document)}return n}function na(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function xn(e){var n=ta(),a=e.focusedElem,d=e.selectionRange;if(n!==a&&a&&a.ownerDocument&&Nl(a.ownerDocument.documentElement,a)){if(d!==null&&na(a)){if(n=d.start,e=d.end,e===void 0&&(e=n),"selectionStart"in a)a.selectionStart=n,a.selectionEnd=Math.min(e,a.value.length);else if(e=(n=a.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var m=a.textContent.length,y=Math.min(d.start,m);d=d.end===void 0?y:Math.min(d.end,m),!e.extend&&y>d&&(m=d,d=y,y=m),m=ea(a,y);var b=ea(a,d);m&&b&&(e.rangeCount!==1||e.anchorNode!==m.node||e.anchorOffset!==m.offset||e.focusNode!==b.node||e.focusOffset!==b.offset)&&(n=n.createRange(),n.setStart(m.node,m.offset),e.removeAllRanges(),y>d?(e.addRange(n),e.extend(b.node,b.offset)):(n.setEnd(b.node,b.offset),e.addRange(n)))}}for(n=[],e=a;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<n.length;a++)e=n[a],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $o=g&&"documentMode"in document&&11>=document.documentMode,Ji=null,er=null,$r=null,Go=!1;function Rl(e,n,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Go||Ji==null||Ji!==zi(d)||(d=Ji,"selectionStart"in d&&na(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),$r&&Yn($r,d)||($r=d,d=u(er,"onSelect"),0<d.length&&(n=new Zs("onSelect","select",null,n,a),e.push({event:n,listeners:d}),n.target=Ji)))}function Xn(e,n){var a={};return a[e.toLowerCase()]=n.toLowerCase(),a["Webkit"+e]="webkit"+n,a["Moz"+e]="moz"+n,a}var tr={animationend:Xn("Animation","AnimationEnd"),animationiteration:Xn("Animation","AnimationIteration"),animationstart:Xn("Animation","AnimationStart"),transitionend:Xn("Transition","TransitionEnd")},Qn={},ia={};g&&(ia=document.createElement("div").style,"AnimationEvent"in window||(delete tr.animationend.animation,delete tr.animationiteration.animation,delete tr.animationstart.animation),"TransitionEvent"in window||delete tr.transitionend.transition);function Gr(e){if(Qn[e])return Qn[e];if(!tr[e])return e;var n=tr[e],a;for(a in n)if(n.hasOwnProperty(a)&&a in ia)return Qn[e]=n[a];return e}var Ol=Gr("animationend"),wn=Gr("animationiteration"),ra=Gr("animationstart"),oa=Gr("transitionend"),nr=new Map,jl="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 un(e,n){nr.set(e,n),f(n,[e])}for(var vi=0;vi<jl.length;vi++){var Ko=jl[vi],Il=Ko.toLowerCase(),wc=Ko[0].toUpperCase()+Ko.slice(1);un(Il,"on"+wc)}un(Ol,"onAnimationEnd"),un(wn,"onAnimationIteration"),un(ra,"onAnimationStart"),un("dblclick","onDoubleClick"),un("focusin","onFocus"),un("focusout","onBlur"),un(oa,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ir="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(" "),zl=new Set("cancel close invalid load scroll toggle".split(" ").concat(ir));function sa(e,n,a){var d=e.type||"unknown-event";e.currentTarget=a,js(d,n,void 0,e),e.currentTarget=null}function aa(e,n){n=(n&4)!==0;for(var a=0;a<e.length;a++){var d=e[a],m=d.event;d=d.listeners;e:{var y=void 0;if(n)for(var b=d.length-1;0<=b;b--){var k=d[b],O=k.instance,Z=k.currentTarget;if(k=k.listener,O!==y&&m.isPropagationStopped())break e;sa(m,k,Z),y=O}else for(b=0;b<d.length;b++){if(k=d[b],O=k.instance,Z=k.currentTarget,k=k.listener,O!==y&&m.isPropagationStopped())break e;sa(m,k,Z),y=O}}}if(Or)throw e=bo,Or=!1,bo=null,e}function Ze(e,n){var a=n[ar];a===void 0&&(a=n[ar]=new Set);var d=e+"__bubble";a.has(d)||(Dl(n,e,2,!1),a.add(d))}function la(e,n,a){var d=0;n&&(d|=4),Dl(a,e,d,n)}var Kr="_reactListening"+Math.random().toString(36).slice(2);function rr(e){if(!e[Kr]){e[Kr]=!0,l.forEach(function(a){a!=="selectionchange"&&(zl.has(a)||la(a,!1,e),la(a,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[Kr]||(n[Kr]=!0,la("selectionchange",!1,n))}}function Dl(e,n,a,d){switch(ze(n)){case 1:var m=lc;break;case 4:m=yl;break;default:m=Ur}a=m.bind(null,n,a,e),m=void 0,!Os||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(m=!0),d?m!==void 0?e.addEventListener(n,a,{capture:!0,passive:m}):e.addEventListener(n,a,!0):m!==void 0?e.addEventListener(n,a,{passive:m}):e.addEventListener(n,a,!1)}function t(e,n,a,d,m){var y=d;if((n&1)===0&&(n&2)===0&&d!==null)e:for(;;){if(d===null)return;var b=d.tag;if(b===3||b===4){var k=d.stateNode.containerInfo;if(k===m||k.nodeType===8&&k.parentNode===m)break;if(b===4)for(b=d.return;b!==null;){var O=b.tag;if((O===3||O===4)&&(O=b.stateNode.containerInfo,O===m||O.nodeType===8&&O.parentNode===m))return;b=b.return}for(;k!==null;){if(b=_i(k),b===null)return;if(O=b.tag,O===5||O===6){d=y=b;continue e}k=k.parentNode}}d=d.return}Po(function(){var Z=y,Q=Ns(a),ee=[];e:{var X=nr.get(e);if(X!==void 0){var ie=Zs,ce=e;switch(e){case"keypress":if(Io(a)===0)break e;case"keydown":case"keyup":ie=Pl;break;case"focusin":ce="focus",ie=zo;break;case"focusout":ce="blur",ie=zo;break;case"beforeblur":case"afterblur":ie=zo;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ie=$s;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ie=Gs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ie=Xs;break;case Ol:case wn:case ra:ie=dc;break;case oa:ie=gc;break;case"scroll":ie=uc;break;case"wheel":ie=vc;break;case"copy":case"cut":case"paste":ie=Ks;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ie=Sl}var fe=(n&4)!==0,pt=!fe&&e==="scroll",F=fe?X!==null?X+"Capture":null:X;fe=[];for(var I=Z,U;I!==null;){U=I;var te=U.stateNode;if(U.tag===5&&te!==null&&(U=te,F!==null&&(te=Nr(I,F),te!=null&&fe.push(s(I,te,U)))),pt)break;I=I.return}0<fe.length&&(X=new ie(X,ce,null,a,Q),ee.push({event:X,listeners:fe}))}}if((n&7)===0){e:{if(X=e==="mouseover"||e==="pointerover",ie=e==="mouseout"||e==="pointerout",X&&a!==Ms&&(ce=a.relatedTarget||a.fromElement)&&(_i(ce)||ce[Ue]))break e;if((ie||X)&&(X=Q.window===Q?Q:(X=Q.ownerDocument)?X.defaultView||X.parentWindow:window,ie?(ce=a.relatedTarget||a.toElement,ie=Z,ce=ce?_i(ce):null,ce!==null&&(pt=Wn(ce),ce!==pt||ce.tag!==5&&ce.tag!==6)&&(ce=null)):(ie=null,ce=Z),ie!==ce)){if(fe=$s,te="onMouseLeave",F="onMouseEnter",I="mouse",(e==="pointerout"||e==="pointerover")&&(fe=Sl,te="onPointerLeave",F="onPointerEnter",I="pointer"),pt=ie==null?X:wi(ie),U=ce==null?X:wi(ce),X=new fe(te,I+"leave",ie,a,Q),X.target=pt,X.relatedTarget=U,te=null,_i(Q)===Z&&(fe=new fe(F,I+"enter",ce,a,Q),fe.target=U,fe.relatedTarget=pt,te=fe),pt=te,ie&&ce)t:{for(fe=ie,F=ce,I=0,U=fe;U;U=p(U))I++;for(U=0,te=F;te;te=p(te))U++;for(;0<I-U;)fe=p(fe),I--;for(;0<U-I;)F=p(F),U--;for(;I--;){if(fe===F||F!==null&&fe===F.alternate)break t;fe=p(fe),F=p(F)}fe=null}else fe=null;ie!==null&&_(ee,X,ie,fe,!1),ce!==null&&pt!==null&&_(ee,pt,ce,fe,!0)}}e:{if(X=Z?wi(Z):window,ie=X.nodeName&&X.nodeName.toLowerCase(),ie==="select"||ie==="input"&&X.type==="file")var ge=xc;else if(Ll(X))if(_n)ge=Js;else{ge=Qi;var we=Zo}else(ie=X.nodeName)&&ie.toLowerCase()==="input"&&(X.type==="checkbox"||X.type==="radio")&&(ge=Wo);if(ge&&(ge=ge(e,Z))){Fo(ee,ge,a,Q);break e}we&&we(e,X,Z),e==="focusout"&&(we=X._wrapperState)&&we.controlled&&X.type==="number"&&Es(X,"number",X.value)}switch(we=Z?wi(Z):window,e){case"focusin":(Ll(we)||we.contentEditable==="true")&&(Ji=we,er=Z,$r=null);break;case"focusout":$r=er=Ji=null;break;case"mousedown":Go=!0;break;case"contextmenu":case"mouseup":case"dragend":Go=!1,Rl(ee,a,Q);break;case"selectionchange":if($o)break;case"keydown":case"keyup":Rl(ee,a,Q)}var Te;if(Kn)e:{switch(e){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else jn?Yi(e,a)&&(Se="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Se="onCompositionStart");Se&&(El&&a.locale!=="ko"&&(jn||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&jn&&(Te=Hs()):($n=Q,Ft="value"in $n?$n.value:$n.textContent,jn=!0)),we=u(Z,Se),0<we.length&&(Se=new qs(Se,e,null,a,Q),ee.push({event:Se,listeners:we}),Te?Se.data=Te:(Te=Qs(a),Te!==null&&(Se.data=Te)))),(Te=On?yc(e,a):qn(e,a))&&(Z=u(Z,"onBeforeInput"),0<Z.length&&(Q=new qs("onBeforeInput","beforeinput",null,a,Q),ee.push({event:Q,listeners:Z}),Q.data=Te))}aa(ee,n)})}function s(e,n,a){return{instance:e,listener:n,currentTarget:a}}function u(e,n){for(var a=n+"Capture",d=[];e!==null;){var m=e,y=m.stateNode;m.tag===5&&y!==null&&(m=y,y=Nr(e,a),y!=null&&d.unshift(s(e,y,m)),y=Nr(e,n),y!=null&&d.push(s(e,y,m))),e=e.return}return d}function p(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _(e,n,a,d,m){for(var y=n._reactName,b=[];a!==null&&a!==d;){var k=a,O=k.alternate,Z=k.stateNode;if(O!==null&&O===d)break;k.tag===5&&Z!==null&&(k=Z,m?(O=Nr(a,y),O!=null&&b.unshift(s(a,O,k))):m||(O=Nr(a,y),O!=null&&b.push(s(a,O,k)))),a=a.return}b.length!==0&&e.push({event:n,listeners:b})}var S=/\r\n?/g,A=/\u0000|\uFFFD/g;function B(e){return(typeof e=="string"?e:""+e).replace(S,`
6`).replace(A,"")}function H(e,n,a){if(n=B(n),B(e)!==n&&a)throw Error(o(425))}function q(){}var ne=null,xe=null;function Ae(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var xt=typeof setTimeout=="function"?setTimeout:void 0,gt=typeof clearTimeout=="function"?clearTimeout:void 0,Ut=typeof Promise=="function"?Promise:void 0,Rt=typeof queueMicrotask=="function"?queueMicrotask:typeof Ut<"u"?function(e){return Ut.resolve(null).then(e).catch(or)}:xt;function or(e){setTimeout(function(){throw e})}function ua(e,n){var a=n,d=0;do{var m=a.nextSibling;if(e.removeChild(a),m&&m.nodeType===8)if(a=m.data,a==="/$"){if(d===0){e.removeChild(m),on(n);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=m}while(a);on(n)}function Jn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Bl(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(n===0)return e;n--}else a==="/$"&&n++}e=e.previousSibling}return null}var yi=Math.random().toString(36).slice(2),Tn="__reactFiber$"+yi,sr="__reactProps$"+yi,Ue="__reactContainer$"+yi,ar="__reactEvents$"+yi,Tc="__reactListeners$"+yi,Pc="__reactHandles$"+yi;function _i(e){var n=e[Tn];if(n)return n;for(var a=e.parentNode;a;){if(n=a[Ue]||a[Tn]){if(a=n.alternate,n.child!==null||a!==null&&a.child!==null)for(e=Bl(e);e!==null;){if(a=e[Tn])return a;e=Bl(e)}return n}e=a,a=e.parentNode}return null}function xi(e){return e=e[Tn]||e[Ue],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(o(33))}function qo(e){return e[sr]||null}var bc=[],Yo=-1;function lr(e){return{current:e}}function Xe(e){0>Yo||(e.current=bc[Yo],bc[Yo]=null,Yo--)}function qe(e,n){Yo++,bc[Yo]=e.current,e.current=n}var ur={},Ot=lr(ur),Kt=lr(!1),qr=ur;function Xo(e,n){var a=e.type.contextTypes;if(!a)return ur;var d=e.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===n)return d.__reactInternalMemoizedMaskedChildContext;var m={},y;for(y in a)m[y]=n[y];return d&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=m),m}function qt(e){return e=e.childContextTypes,e!=null}function Fl(){Xe(Kt),Xe(Ot)}function Ch(e,n,a){if(Ot.current!==ur)throw Error(o(168));qe(Ot,n),qe(Kt,a)}function Eh(e,n,a){var d=e.stateNode;if(n=n.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var m in d)if(!(m in n))throw Error(o(108,De(e)||"Unknown",m));return K({},a,d)}function Vl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ur,qr=Ot.current,qe(Ot,e),qe(Kt,Kt.current),!0}function kh(e,n,a){var d=e.stateNode;if(!d)throw Error(o(169));a?(e=Eh(e,n,qr),d.__reactInternalMemoizedMergedChildContext=e,Xe(Kt),Xe(Ot),qe(Ot,e)):Xe(Kt),qe(Kt,a)}var Ti=null,Ul=!1,Sc=!1;function Lh(e){Ti===null?Ti=[e]:Ti.push(e)}function G_(e){Ul=!0,Lh(e)}function cr(){if(!Sc&&Ti!==null){Sc=!0;var e=0,n=Be;try{var a=Ti;for(Be=1;e<a.length;e++){var d=a[e];do d=d(!0);while(d!==null)}Ti=null,Ul=!1}catch(m){throw Ti!==null&&(Ti=Ti.slice(e+1)),ml(Ds,cr),m}finally{Be=n,Sc=!1}}return null}var Qo=[],Jo=0,Hl=null,Zl=0,Pn=[],bn=0,Yr=null,Pi=1,bi="";function Xr(e,n){Qo[Jo++]=Zl,Qo[Jo++]=Hl,Hl=e,Zl=n}function Ah(e,n,a){Pn[bn++]=Pi,Pn[bn++]=bi,Pn[bn++]=Yr,Yr=e;var d=Pi;e=bi;var m=32-Ee(d)-1;d&=~(1<<m),a+=1;var y=32-Ee(n)+m;if(30<y){var b=m-m%5;y=(d&(1<<b)-1).toString(32),d>>=b,m-=b,Pi=1<<32-Ee(n)+m|a<<m|d,bi=y+e}else Pi=1<<y|a<<m|d,bi=e}function Cc(e){e.return!==null&&(Xr(e,1),Ah(e,1,0))}function Ec(e){for(;e===Hl;)Hl=Qo[--Jo],Qo[Jo]=null,Zl=Qo[--Jo],Qo[Jo]=null;for(;e===Yr;)Yr=Pn[--bn],Pn[bn]=null,bi=Pn[--bn],Pn[bn]=null,Pi=Pn[--bn],Pn[bn]=null}var cn=null,dn=null,et=!1,zn=null;function Mh(e,n){var a=kn(5,null,null,0);a.elementType="DELETED",a.stateNode=n,a.return=e,n=e.deletions,n===null?(e.deletions=[a],e.flags|=16):n.push(a)}function Nh(e,n){switch(e.tag){case 5:var a=e.type;return n=n.nodeType!==1||a.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,cn=e,dn=Jn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,cn=e,dn=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(a=Yr!==null?{id:Pi,overflow:bi}:null,e.memoizedState={dehydrated:n,treeContext:a,retryLane:1073741824},a=kn(18,null,null,0),a.stateNode=n,a.return=e,e.child=a,cn=e,dn=null,!0):!1;default:return!1}}function kc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Lc(e){if(et){var n=dn;if(n){var a=n;if(!Nh(e,n)){if(kc(e))throw Error(o(418));n=Jn(a.nextSibling);var d=cn;n&&Nh(e,n)?Mh(d,a):(e.flags=e.flags&-4097|2,et=!1,cn=e)}}else{if(kc(e))throw Error(o(418));e.flags=e.flags&-4097|2,et=!1,cn=e}}}function Rh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;cn=e}function Wl(e){if(e!==cn)return!1;if(!et)return Rh(e),et=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Ae(e.type,e.memoizedProps)),n&&(n=dn)){if(kc(e))throw Oh(),Error(o(418));for(;n;
vendor: 5,151 bytes, line 6
6)Mh(e,n),n=Jn(n.nextSibling)}if(Rh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"){if(n===0){dn=Jn(e.nextSibling);break e}n--}else a!=="$"&&a!=="$!"&&a!=="$?"||n++}e=e.nextSibling}dn=null}}else dn=cn?Jn(e.stateNode.nextSibling):null;return!0}function Oh(){for(var e=dn;e;)e=Jn(e.nextSibling)}function es(){dn=cn=null,et=!1}function Ac(e){zn===null?zn=[e]:zn.push(e)}var K_=Y.ReactCurrentBatchConfig;function ca(e,n,a){if(e=a.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(o(309));var d=a.stateNode}if(!d)throw Error(o(147,e));var m=d,y=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===y?n.ref:(n=function(b){var k=m.refs;b===null?delete k[y]:k[y]=b},n._stringRef=y,n)}if(typeof e!="string")throw Error(o(284));if(!a._owner)throw Error(o(290,e))}return e}function $l(e,n){throw e=Object.prototype.toString.call(n),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function jh(e){var n=e._init;return n(e._payload)}function Ih(e){function n(F,I){if(e){var U=F.deletions;U===null?(F.deletions=[I],F.flags|=16):U.push(I)}}function a(F,I){if(!e)return null;for(;I!==null;)n(F,I),I=I.sibling;return null}function d(F,I){for(F=new Map;I!==null;)I.key!==null?F.set(I.key,I):F.set(I.index,I),I=I.sibling;return F}function m(F,I){return F=yr(F,I),F.index=0,F.sibling=null,F}function y(F,I,U){return F.index=U,e?(U=F.alternate,U!==null?(U=U.index,U<I?(F.flags|=2,I):U):(F.flags|=2,I)):(F.flags|=1048576,I)}function b(F){return e&&F.alternate===null&&(F.flags|=2),F}function k(F,I,U,te){return I===null||I.tag!==6?(I=wd(U,F.mode,te),I.return=F,I):(I=m(I,U),I.return=F,I)}function O(F,I,U,te){var ge=U.type;return ge===ue?Q(F,I,U.props.children,te,U.key):I!==null&&(I.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===ke&&jh(ge)===I.type)?(te=m(I,U.props),te.ref=ca(F,I,U),te.return=F,te):(te=gu(U.type,U.key,U.props,null,F.mode,te),te.ref=ca(F,I,U),te.return=F,te)}function Z(F,I,U,te){return I===null||I.tag!==4||I.stateNode.containerInfo!==U.containerInfo||I.stateNode.implementation!==U.implementation?(I=Td(U,F.mode,te),I.return=F,I):(I=m(I,U.children||[]),I.return=F,I)}function Q(F,I,U,te,ge){return I===null||I.tag!==7?(I=oo(U,F.mode,te,ge),I.return=F,I):(I=m(I,U),I.return=F,I)}function ee(F,I,U){if(typeof I=="string"&&I!==""||typeof I=="number")return I=wd(""+I,F.mode,U),I.return=F,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case J:return U=gu(I.type,I.key,I.props,null,F.mode,U),U.ref=ca(F,null,I),U.return=F,U;case re:return I=Td(I,F.mode,U),I.return=F,I;case ke:var te=I._init;return ee(F,te(I._payload),U)}if(Di(I)||oe(I))return I=oo(I,F.mode,U,null),I.return=F,I;$l(F,I)}return null}function X(F,I,U,te){var ge=I!==null?I.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return ge!==null?null:k(F,I,""+U,te);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case J:return U.key===ge?O(F,I,U,te):null;case re:return U.key===ge?Z(F,I,U,te):null;case ke:return ge=U._init,X(F,I,ge(U._payload),te)}if(Di(U)||oe(U))return ge!==null?null:Q(F,I,U,te,null);$l(F,U)}return null}function ie(F,I,U,te,ge){if(typeof te=="string"&&te!==""||typeof te=="number")return F=F.get(U)||null,k(I,F,""+te,ge);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case J:return F=F.get(te.key===null?U:te.key)||null,O(I,F,te,ge);case re:return F=F.get(te.key===null?U:te.key)||null,Z(I,F,te,ge);case ke:var we=te._init;return ie(F,I,U,we(te._payload),ge)}if(Di(te)||oe(te))return F=F.get(U)||null,Q(I,F,te,ge,null);$l(I,te)}return null}function ce(F,I,U,te){for(var ge=null,we=null,Te=I,Se=I=0,St=null;Te!==null&&Se<U.length;Se++){Te.index>Se?(St=Te,Te=null):St=Te.sibling;var Ve=X(F,Te,U[Se],te);if(Ve===null){Te===null&&(Te=St);break}e&&Te&&Ve.alternate===null&&n(F,Te),I=y(Ve,I,Se),we===null?ge=Ve:we.sibling=Ve,we=Ve,Te=St}if(Se===U.length)return a(F,Te),et&&Xr(F,Se),ge;if(Te===null){for(;Se<U.length;Se++)Te=ee(F,U[Se],te),Te!==null&&(I=y(Te,I,Se),we===null?ge=Te:we.sibling=Te,we=Te);return et&&Xr(F,Se),ge}for(Te=d(F,Te);Se<U.length;Se++)St=ie(Te,F,Se,U[Se],te),St!==null&&(e&&St.alternate!==null&&Te.delete(St.key===null?Se:St.key),I=y(St,I,Se),we===null?ge=St:we.sibling=St,we=St);return e&&Te.forEach(function(_r){return n(F,_r)}),et&&Xr(F,Se),ge}function fe(F,I,U,te){var ge=oe(U);if(typeof ge!="function")throw Error(o(150));if(U=ge.call(U),U==null)throw Error(o(151));for(var we=ge=null,Te=I,Se=I=0,St=null,Ve=U.next();Te!==null&&!Ve.done;Se++,Ve=U.next()){Te.index>Se?(St=Te,Te=null):St=Te.sibling;var _r=X(F,Te,Ve.value,te);if(_r===null){Te===null&&(Te=St);break}e&&Te&&_r.alternate===null&&n(F,Te),I=y(_r,I,Se),we===null?ge=_r:we.sibling=_r,we=_r,Te=St}if(Ve.done)return a(F,Te),et&&Xr(F,Se),ge;if(Te===null){for(;!Ve.done;Se++,Ve=U.next())Ve=ee(F,Ve.value,te),Ve!==null&&(I=y(Ve,I,Se),we===null?ge=Ve:we.sibling=Ve,we=Ve);return et&&Xr(F,Se),ge}for(Te=d(F,Te);!Ve.done;Se++,Ve=U.next())Ve=ie(Te,F,Se,Ve.value,te),Ve!==null&&(e&&Ve.alternate!==null&&Te.delete(Ve.ke
vendor: 24,553 bytes, lines 6-8
6y===null?Se:Ve.key),I=y(Ve,I,Se),we===null?ge=Ve:we.sibling=Ve,we=Ve);return e&&Te.forEach(function(E0){return n(F,E0)}),et&&Xr(F,Se),ge}function pt(F,I,U,te){if(typeof U=="object"&&U!==null&&U.type===ue&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case J:e:{for(var ge=U.key,we=I;we!==null;){if(we.key===ge){if(ge=U.type,ge===ue){if(we.tag===7){a(F,we.sibling),I=m(we,U.props.children),I.return=F,F=I;break e}}else if(we.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===ke&&jh(ge)===we.type){a(F,we.sibling),I=m(we,U.props),I.ref=ca(F,we,U),I.return=F,F=I;break e}a(F,we);break}else n(F,we);we=we.sibling}U.type===ue?(I=oo(U.props.children,F.mode,te,U.key),I.return=F,F=I):(te=gu(U.type,U.key,U.props,null,F.mode,te),te.ref=ca(F,I,U),te.return=F,F=te)}return b(F);case re:e:{for(we=U.key;I!==null;){if(I.key===we)if(I.tag===4&&I.stateNode.containerInfo===U.containerInfo&&I.stateNode.implementation===U.implementation){a(F,I.sibling),I=m(I,U.children||[]),I.return=F,F=I;break e}else{a(F,I);break}else n(F,I);I=I.sibling}I=Td(U,F.mode,te),I.return=F,F=I}return b(F);case ke:return we=U._init,pt(F,I,we(U._payload),te)}if(Di(U))return ce(F,I,U,te);if(oe(U))return fe(F,I,U,te);$l(F,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,I!==null&&I.tag===6?(a(F,I.sibling),I=m(I,U),I.return=F,F=I):(a(F,I),I=wd(U,F.mode,te),I.return=F,F=I),b(F)):a(F,I)}return pt}var ts=Ih(!0),zh=Ih(!1),Gl=lr(null),Kl=null,ns=null,Mc=null;function Nc(){Mc=ns=Kl=null}function Rc(e){var n=Gl.current;Xe(Gl),e._currentValue=n}function Oc(e,n,a){for(;e!==null;){var d=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,d!==null&&(d.childLanes|=n)):d!==null&&(d.childLanes&n)!==n&&(d.childLanes|=n),e===a)break;e=e.return}}function is(e,n){Kl=e,Mc=ns=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!==0&&(Yt=!0),e.firstContext=null)}function Sn(e){var n=e._currentValue;if(Mc!==e)if(e={context:e,memoizedValue:n,next:null},ns===null){if(Kl===null)throw Error(o(308));ns=e,Kl.dependencies={lanes:0,firstContext:e}}else ns=ns.next=e;return n}var Qr=null;function jc(e){Qr===null?Qr=[e]:Qr.push(e)}function Dh(e,n,a,d){var m=n.interleaved;return m===null?(a.next=a,jc(n)):(a.next=m.next,m.next=a),n.interleaved=a,Si(e,d)}function Si(e,n){e.lanes|=n;var a=e.alternate;for(a!==null&&(a.lanes|=n),a=e,e=e.return;e!==null;)e.childLanes|=n,a=e.alternate,a!==null&&(a.childLanes|=n),a=e,e=e.return;return a.tag===3?a.stateNode:null}var dr=!1;function Ic(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bh(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ci(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function fr(e,n,a){var d=e.updateQueue;if(d===null)return null;if(d=d.shared,(Fe&2)!==0){var m=d.pending;return m===null?n.next=n:(n.next=m.next,m.next=n),d.pending=n,Si(e,a)}return m=d.interleaved,m===null?(n.next=n,jc(d)):(n.next=m.next,m.next=n),d.interleaved=n,Si(e,a)}function ql(e,n,a){if(n=n.updateQueue,n!==null&&(n=n.shared,(a&4194240)!==0)){var d=n.lanes;d&=e.pendingLanes,a|=d,n.lanes=a,Nn(e,a)}}function Fh(e,n){var a=e.updateQueue,d=e.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var m=null,y=null;if(a=a.firstBaseUpdate,a!==null){do{var b={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};y===null?m=y=b:y=y.next=b,a=a.next}while(a!==null);y===null?m=y=n:y=y.next=n}else m=y=n;a={baseState:d.baseState,firstBaseUpdate:m,lastBaseUpdate:y,shared:d.shared,effects:d.effects},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=n:e.next=n,a.lastBaseUpdate=n}function Yl(e,n,a,d){var m=e.updateQueue;dr=!1;var y=m.firstBaseUpdate,b=m.lastBaseUpdate,k=m.shared.pending;if(k!==null){m.shared.pending=null;var O=k,Z=O.next;O.next=null,b===null?y=Z:b.next=Z,b=O;var Q=e.alternate;Q!==null&&(Q=Q.updateQueue,k=Q.lastBaseUpdate,k!==b&&(k===null?Q.firstBaseUpdate=Z:k.next=Z,Q.lastBaseUpdate=O))}if(y!==null){var ee=m.baseState;b=0,Q=Z=O=null,k=y;do{var X=k.lane,ie=k.eventTime;if((d&X)===X){Q!==null&&(Q=Q.next={eventTime:ie,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var ce=e,fe=k;switch(X=n,ie=a,fe.tag){case 1:if(ce=fe.payload,typeof ce=="function"){ee=ce.call(ie,ee,X);break e}ee=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=fe.payload,X=typeof ce=="function"?ce.call(ie,ee,X):ce,X==null)break e;ee=K({},ee,X);break e;case 2:dr=!0}}k.callback!==null&&k.lane!==0&&(e.flags|=64,X=m.effects,X===null?m.effects=[k]:X.push(k))}else ie={eventTime:ie,lane:X,tag:k.tag,payload:k.payload,callback:k.callback,next:null},Q===null?(Z=Q=ie,O=ee):Q=Q.next=ie,b|=X;if(k=k.next,k===null){if(k=m.shared.pending,k===null)break;X=k,k=X.next,X.next=null,m.lastBaseUpdate=X,m.shared.pending=null}}while(!0);if(Q===null&&(O=ee),m.baseState=O,m.firstBaseUpdate=Z,m.lastBaseUpdate=Q,n=m.shared.interleaved,n!==null){m=n;do b|=m.lane,m=m.next;while(m!==n)}else y===null&&(m.shared.lanes=0);to|=b,e.lanes=b,e.memoizedState=ee}}function Vh(e,n,a){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var d=e[n],m=d.callback;if(m!==null){if(d.callback=null,d=a,typeof m!="function")throw Error(o(191,m));m.call(d)}}}var da={},ei=lr(da),fa=lr(da),ha=lr(da);function Jr(e){if(e===da)throw Error(o(174));return e}function zc(e,n){switch(qe(ha,n),qe(fa,e),qe(ei,da),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:xo(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=xo(n,e)}Xe(ei),qe(ei,n)}function rs(){Xe(ei),Xe(fa),Xe(ha)}function Uh(e){Jr(ha.current);var n=Jr(ei.current),a=xo(n,e.type);n!==a&&(qe(fa,e),qe(ei,a))}function Dc(e){fa.current===e&&(Xe(ei),Xe(fa))}var st=lr(0);function Xl(e){for(var n=e;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Bc=[];function Fc(){for(var e=0;e<Bc.length;e++)Bc[e]._workInProgressVersionPrimary=null;Bc.length=0}var Ql=Y.ReactCurrentDispatcher,Vc=Y.ReactCurrentBatchConfig,eo=0,at=null,wt=null,Pt=null,Jl=!1,pa=!1,ma=0,q_=0;function jt(){throw Error(o(321))}function Uc(e,n){if(n===null)return!1;for(var a=0;a<n.length&&a<e.length;a++)if(!ln(e[a],n[a]))return!1;return!0}function Hc(e,n,a,d,m,y){if(eo=y,at=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Ql.current=e===null||e.memoizedState===null?J_:e0,e=a(d,m),pa){y=0;do{if(pa=!1,ma=0,25<=y)throw Error(o(301));y+=1,Pt=wt=null,n.updateQueue=null,Ql.current=t0,e=a(d,m)}while(pa)}if(Ql.current=nu,n=wt!==null&&wt.next!==null,eo=0,Pt=wt=at=null,Jl=!1,n)throw Error(o(300));return e}function Zc(){var e=ma!==0;return ma=0,e}function ti(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pt===null?at.memoizedState=Pt=e:Pt=Pt.next=e,Pt}function Cn(){if(wt===null){var e=at.alternate;e=e!==null?e.memoizedState:null}else e=wt.next;var n=Pt===null?at.memoizedState:Pt.next;if(n!==null)Pt=n,wt=e;else{if(e===null)throw Error(o(310));wt=e,e={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},Pt===null?at.memoizedState=Pt=e:Pt=Pt.next=e}return Pt}function ga(e,n){return typeof n=="function"?n(e):n}function Wc(e){var n=Cn(),a=n.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var d=wt,m=d.baseQueue,y=a.pending;if(y!==null){if(m!==null){var b=m.next;m.next=y.next,y.next=b}d.baseQueue=m=y,a.pending=null}if(m!==null){y=m.next,d=d.baseState;var k=b=null,O=null,Z=y;do{var Q=Z.lane;if((eo&Q)===Q)O!==null&&(O=O.next={lane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),d=Z.hasEagerState?Z.eagerState:e(d,Z.action);else{var ee={lane:Q,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null};O===null?(k=O=ee,b=d):O=O.next=ee,at.lanes|=Q,to|=Q}Z=Z.next}while(Z!==null&&Z!==y);O===null?b=d:O.next=k,ln(d,n.memoizedState)||(Yt=!0),n.memoizedState=d,n.baseState=b,n.baseQueue=O,a.lastRenderedState=d}if(e=a.interleaved,e!==null){m=e;do y=m.lane,at.lanes|=y,to|=y,m=m.next;while(m!==e)}else m===null&&(a.lanes=0);return[n.memoizedState,a.dispatch]}function $c(e){var n=Cn(),a=n.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var d=a.dispatch,m=a.pending,y=n.memoizedState;if(m!==null){a.pending=null;var b=m=m.next;do y=e(y,b.action),b=b.next;while(b!==m);ln(y,n.memoizedState)||(Yt=!0),n.memoizedState=y,n.baseQueue===null&&(n.baseState=y),a.lastRenderedState=y}return[y,d]}function Hh(){}function Zh(e,n){var a=at,d=Cn(),m=n(),y=!ln(d.memoizedState,m);if(y&&(d.memoizedState=m,Yt=!0),d=d.queue,Gc(Gh.bind(null,a,d,e),[e]),d.getSnapshot!==n||y||Pt!==null&&Pt.memoizedState.tag&1){if(a.flags|=2048,va(9,$h.bind(null,a,d,m,n),void 0,null),bt===null)throw Error(o(349));(eo&30)!==0||Wh(a,n,m)}return m}function Wh(e,n,a){e.flags|=16384,e={getSnapshot:n,value:a},n=at.updateQueue,n===null?(n={lastEffect:null,stores:null},at.updateQueue=n,n.stores=[e]):(a=n.stores,a===null?n.stores=[e]:a.push(e))}function $h(e,n,a,d){n.value=a,n.getSnapshot=d,Kh(n)&&qh(e)}function Gh(e,n,a){return a(function(){Kh(n)&&qh(e)})}function Kh(e){var n=e.getSnapshot;e=e.value;try{var a=n();return!ln(e,a)}catch{return!0}}function qh(e){var n=Si(e,1);n!==null&&Vn(n,e,1,-1)}function Yh(e){var n=ti();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:e},n.queue=e,e=e.dispatch=Q_.bind(null,at,e),[n.memoizedState,e]}function va(e,n,a,d){return e={tag:e,create:n,destroy:a,deps:d,next:null},n=at.updateQueue,n===null?(n={lastEffect:null,stores:null},at.updateQueue=n,n.lastEffect=e.next=e):(a=n.lastEffect,a===null?n.lastEffect=e.next=e:(d=a.next,a.next=e,e.next=d,n.lastEffect=e)),e}function Xh(){return Cn().memoizedState}function eu(e,n,a,d){var m=ti();at.flags|=e,m.memoizedState=va(1|n,a,void 0,d===void 0?null:d)}function tu(e,n,a,d){var m=Cn();d=d===void 0?null:d;var y=void 0;if(wt!==null){var b=wt.memoizedState;if(y=b.destroy,d!==null&&Uc(d,b.deps)){m.memoizedState=va(n,a,y,d);return}}at.flags|=e,m.memoizedState=va(1|n,a,y,d)}function Qh(e,n){return eu(8390656,8,e,n)}function Gc(e,n){return tu(2048,8,e,n)}function Jh(e,n){return tu(4,2,e,n)}function ep(e,n){return tu(4,4,e,n)}function tp(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function np(e,n,a){return a=a!=null?a.concat([e]):null,tu(4,4,tp.bind(null,n,e),a)}function Kc(){}function ip(e,n){var a=Cn();n=n===void 0?null:n;var d=a.memoizedState;return d!==null&&n!==null&&Uc(n,d[1])?d[0]:(a.memoizedState=[e,n],e)}function rp(e,n){var a=Cn();n=n===void 0?null:n;var d=a.memoizedState;return d!==null&&n!==null&&Uc(n,d[1])?d[0]:(e=e(),a.memoizedState=[e,n],e)}function op(e,n,a){return(eo&21)===0?(e.baseState&&(e.baseState=!1,Yt=!0),e.memoizedState=a):(ln(a,n)||(a=vl(),at.lanes|=a,to|=a,e.baseState=!0),n)}function Y_(e,n){var a=Be;Be=a!==0&&4>a?a:4,e(!0);var d=Vc.transition;Vc.transition={};try{e(!1),n()}finally{Be=a,Vc.transition=d}}function sp(){return Cn().memoizedState}function X_(e,n,a){var d=gr(e);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},ap(e))lp(n,a);else if(a=Dh(e,n,a,d),a!==null){var m=Zt();Vn(a,e,d,m),up(a,n,d)}}function Q_(e,n,a){var d=gr(e),m={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(ap(e))lp(n,m);else{var y=e.alternate;if(e.lanes===0&&(y===null||y.lanes===0)&&(y=n.lastRenderedReducer,y!==null))try{var b=n.lastRenderedState,k=y(b,a);if(m.hasEagerState=!0,m.eagerState=k,ln(k,b)){var O=n.interleaved;O===null?(m.next=m,jc(n)):(m.next=O.next,O.next=m),n.interleaved=m;return}}catch{}a=Dh(e,n,m,d),a!==null&&(m=Zt(),Vn(a,e,d,m),up(a,n,d))}}function ap(e){var n=e.alternate;return e===at||n!==null&&n===at}function lp(e,n){pa=Jl=!0;var a=e.pending;a===null?n.next=n:(n.next=a.next,a.next=n),e.pending=n}function up(e,n,a){if((a&4194240)!==0){var d=n.lanes;d&=e.pendingLanes,a|=d,n.lanes=a,Nn(e,a)}}var nu={readContext:Sn,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useInsertionEffect:jt,useLayoutEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useMutableSource:jt,useSyncExternalStore:jt,useId:jt,unstable_isNewReconciler:!1},J_={readContext:Sn,useCallback:function(e,n){return ti().memoizedState=[e,n===void 0?null:n],e},useContext:Sn,useEffect:Qh,useImperativeHandle:function(e,n,a){return a=a!=null?a.concat([e]):null,eu(4194308,4,tp.bind(null,n,e),a)},useLayoutEffect:function(e,n){return eu(4194308,4,e,n)},useInsertionEffect:function(e,n){return eu(4,2,e,n)},useMemo:function(e,n){var a=ti();return n=n===void 0?null:n,e=e(),a.memoizedState=[e,n],e},useReducer:function(e,n,a){var d=ti();return n=a!==void 0?a(n):n,d.memoizedState=d.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},d.queue=e,e=e.dispatch=X_.bind(null,at,e),[d.memoizedState,e]},useRef:function(e){var n=ti();return e={current:e},n.memoizedState=e},useState:Yh,useDebugValue:Kc,useDeferredValue:function(e){return ti().memoizedState=e},useTransition:function(){var e=Yh(!1),n=e[0];return e=Y_.bind(null,e[1]),ti().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,a){var d=at,m=ti();if(et){if(a===void 0)throw Error(o(407));a=a()}else{if(a=n(),bt===null)throw Error(o(349));(eo&30)!==0||Wh(d,n,a)}m.memoizedState=a;var y={value:a,getSnapshot:n};return m.queue=y,Qh(Gh.bind(null,d,y,e),[e]),d.flags|=2048,va(9,$h.bind(null,d,y,a,n),void 0,null),a},useId:function(){var e=ti(),n=bt.identifierPrefix;if(et){var a=bi,d=Pi;a=(d&~(1<<32-Ee(d)-1)).toString(32)+a,n=":"+n+"R"+a,a=ma++,0<a&&(n+="H"+a.toString(32)),n+=":"}else a=q_++,n=":"+n+"r"+a.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},e0={readContext:Sn,useCallback:ip,useContext:Sn,useEffect:Gc,useImperativeHandle:np,useInsertionEffect:Jh,useLayoutEffect:ep,useMemo:rp,useReducer:Wc,useRef:Xh,useState:function(){return Wc(ga)},useDebugValue:Kc,useDeferredValue:function(e){var n=Cn();return op(n,wt.memoizedState,e)},useTransition:function(){var e=Wc(ga)[0],n=Cn().memoizedState;return[e,n]},useMutableSource:Hh,useSyncExternalStore:Zh,useId:sp,unstable_isNewReconciler:!1},t0={readContext:Sn,useCallback:ip,useContext:Sn,useEffect:Gc,useImperativeHandle:np,useInsertionEffect:Jh,useLayoutEffect:ep,useMemo:rp,useReducer:$c,useRef:Xh,useState:function(){return $c(ga)},useDebugValue:Kc,useDeferredValue:function(e){var n=Cn();return wt===null?n.memoizedState=e:op(n,wt.memoizedState,e)},useTransition:function(){var e=$c(ga)[0],n=Cn().memoizedState;return[e,n]},useMutableSource:Hh,useSyncExternalStore:Zh,useId:sp,unstable_isNewReconciler:!1};function Dn(e,n){if(e&&e.defaultProps){n=K({},n),e=e.defaultProps;for(var a in e)n[a]===void 0&&(n[a]=e[a]);return n}return n}function qc(e,n,a,d){n=e.memoizedState,a=a(d,n),a=a==null?n:K({},n,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var iu={isMounted:function(e){return(e=e._reactInternals)?Wn(e)===e:!1},enqueueSetState:function(e,n,a){e=e._reactInternals;var d=Zt(),m=gr(e),y=Ci(d,m);y.payload=n,a!=null&&(y.callback=a),n=fr(e,y,m),n!==null&&(Vn(n,e,m,d),ql(n,e,m))},enqueueReplaceState:function(e,n,a){e=e._reactInternals;var d=Zt(),m=gr(e),y=Ci(d,m);y.tag=1,y.payload=n,a!=null&&(y.callback=a),n=fr(e,y,m),n!==null&&(Vn(n,e,m,d),ql(n,e,m))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var a=Zt(),d=gr(e),m=Ci(a,d);m.tag=2,n!=null&&(m.callback=n),n=fr(e,m,d),n!==null&&(Vn(n,e,d,a),ql(n,e,d))}};function cp(e,n,a,d,m,y,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(d,y,b):n.prototype&&n.prototype.isPureReactComponent?!Yn(a,d)||!Yn(m,y):!0}function dp(e,n,a){var d=!1,m=ur,y=n.contextType;return typeof y=="object"&&y!==null?y=Sn(y):(m=qt(n)?qr:Ot.current,d=n.contextTypes,y=(d=d!=null)?Xo(e,m):ur),n=new n(a,y),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=iu,e.stateNode=n,n._reactInternals=e,d&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=m,e.__reactInternalMemoizedMaskedChildContext=y),n}function fp(e,n,a,d){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(a,d),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(a,d),n.state!==e&&iu.enqueueReplaceState(n,n.state,null)}function Yc(e,n,a,d){var m=e.stateNode;m.props=a,m.state=e.memoizedState,m.refs={},Ic(e);var y=n.contextType;typeof y=="object"&&y!==null?m.context=Sn(y):(y=qt(n)?qr:Ot.current,m.context=Xo(e,y)),m.state=e.memoizedState,y=n.getDerivedStateFromProps,typeof y=="function"&&(qc(e,n,y,a),m.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(n=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),n!==m.state&&iu.enqueueReplaceState(m,m.state,null),Yl(e,a,m,d),m.state=e.memoizedState),typeof m.componentDidMount=="function"&&(e.flags|=4194308)}function os(e,n){try{var a="",d=n;do a+=pe(d),d=d.return;while(d);var m=a}catch(y){m=`
7Error generating stack: `+y.message+`
8`+y.stack}return{value:e,source:n,stack:m,digest:null}}function Xc(e,n,a){return{value:e,source:null,stack:a??null,digest:n??null}}function Qc(e,n){try{console.error(n.value)}catch(a){setTimeout(function(){throw a})}}var n0=typeof WeakMap=="function"?WeakMap:Map;function hp(e,n,a){a=Ci(-1,a),a.tag=3,a.payload={element:null};var d=n.value;return a.callback=function(){cu||(cu=!0,hd=d),Qc(e,n)},a}function pp(e,n,a){a=Ci(-1,a),a.tag=3;var d=e.type.getDerivedStateFromError;if(typeof d=="function"){var m=n.value;a.payload=function(){return d(m)},a.callback=function(){Qc(e,n)}}var y=e.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(a.callback=function(){Qc(e,n),typeof d!="function"&&(pr===null?pr=new Set([this]):pr.add(this));var b=n.stack;this.componentDidCatch(n.value,{componentStack:b!==null?b:""})}),a}function mp(e,n,a){var d=e.pingCache;if(d===null){d=e.pingCache=new n0;var m=new Set;d.set(n,m)}else m=d.get(n),m===void 0&&(m=new Set,d.set(n,m));m.has(a)||(m.add(a),e=g0.bind(null,e,n,a),n.then(e,e))}function gp(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function vp(e,n,a,d,m){return(e.mode&1)===0?(e===n?e.flags|=65536:(e.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(n=Ci(-1,1),n.tag=2,fr(a,n,1))),a.lanes|=1),e):(e.flags|=65536,e.lanes=m,e)}var i0=Y.ReactCurrentOwner,Yt=!1;function Ht(e,n,a,d){n.child=e===null?zh(n,null,a,d):ts(n,e.child,a,d)}function yp(e,n,a,d,m){a=a.render;var y=n.ref;return is(n,m),d=Hc(e,n,a,d,y,m),a=Zc(),e!==null&&!Yt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~m,Ei(e,n,m)):(et&&a&&Cc(n),n.flags|=1,Ht(e,n,d,m),n.child)}function _p(e,n,a,d,m){if(e===null){var y=a.type;return typeof y=="function"&&!xd(y)&&y.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(n.tag=15,n.type=y,xp(e,n,y,d,m)):(e=gu(a.type,null,d,n,n.mode,m),e.ref=n.ref,e.return=n,n.child=e)}if(y=e.child,(e.lanes&m)===0){var b=y.memoizedProps;if(a=a.compare,a=a!==null?a:Yn,a(b,d)&&e.ref===n.ref)return Ei(e,n,m)}return n.flags|=1,e=yr(y,d),e.ref=n.ref,e.return=n,n.child=e}function xp(e,n,a,d,m){if(e!==null){var y=e.memoizedProps;if(Yn(y,d)&&e.ref===n.ref)if(Yt=!1,n.pendingProps=d=y,(e.lanes&m)!==0)(e.flags&131072)!==0&&(Yt=!0);else return n.lanes=e.lanes,Ei(e,n,m)}return Jc(e,n,a,d,m)}function wp(e,n,a){var d=n.pendingProps,m=d.children,y=e!==null?e.memoizedState:null;if(d.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},qe(as,fn),fn|=a;else{if((a&1073741824)===0)return e=y!==null?y.baseLanes|a:a,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,qe(as,fn),fn|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=y!==null?y.baseLanes:a,qe(as,fn),fn|=d}else y!==null?(d=y.baseLanes|a,n.memoizedState=null):d=a,qe(as,fn),fn|=d;return Ht(e,n,m,a),n.child}function Tp(e,n){var a=n.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(n.flags|=512,n.flags|=2097152)}function Jc(e,n,a,d,m){var y=qt(a)?qr:Ot.current;return y=Xo(n,y),is(n,m),a=Hc(e,n,a,d,y,m),d=Zc(),e!==null&&!Yt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~m,Ei(e,n,m)):(et&&d&&Cc(n),n.flags|=1,Ht(e,n,a,m),n.child)}function Pp(e,n,a,d,m){if(qt(a)){var y=!0;Vl(n)}else y=!1;if(is(n,m),n.stateNode===null)ou(e,n),dp(n,a,d),Yc(n,a,d,m),d=!0;else if(e===null){var b=n.stateNode,k=n.memoizedProps;b.props=k;var O=b.context,Z=a.contextType;typeof Z=="object"&&Z!==null?Z=Sn(Z):(Z=qt(a)?qr:Ot.current,Z=Xo(n,Z));var Q=a.getDerivedStateFromProps,ee=typeof Q=="function"||typeof b.getSnapshotBeforeUpdate=="function";ee||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(k!==d||O!==Z)&&fp(n,b,d,Z),dr=!1;var X=n.memoizedState;b.state=X,Yl(n,d,b,m),O=n.memoizedState,k!==d||X!==O||Kt.current||dr?(typeof Q=="function"&&(qc(n,a,Q,d),O=n.memoizedState),(k=dr||cp(n,a,k,d,X,O,Z))?(ee||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(n.flags|=4194308)):(typeof b.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=d,n.memoizedState=O),b.props=d,b.state=O,b.context=Z,d=k):(typeof b.componentDidMount=="function"&&(n.flags|=4194308),d=!1)}else{b=n.stateNode,Bh(e,n),k=n.memoizedProps,Z=n.type===n.elementType?k:Dn(n.type,k),b.props=Z,ee=n.pendingProps,X=b.context,O=a.contextType,typeof O=="object"&&O!==null?O=Sn(O):(O=qt(a)?qr:Ot.current,O=Xo(n,O));var ie=a.getDerivedStateFromProps;(Q=typeof ie=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(k!==ee||X!==O)&&fp(n,b,d,O),dr=!1,X=n.memoizedState,b.state=X,Yl(n,d,b,m);var ce=n.memoizedState;k!==ee||X!==ce||Kt.current||dr?(typeof ie=="function"&&(qc(n,a,ie,d),ce=n.memoizedState),(Z=dr||cp(n,a,Z,d,X,ce,O)||!1)?(Q||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(d,ce,O),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(d,ce,O)),typeof b.componentDidUpdate=="function"&&(n.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof b.componentDidUpdate!="function"||k===e.memoizedProps&&X===e.memoizedState||(n.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&X===e.memoizedState||(n.flags|=1024),n.memoizedProps=d,n.memoizedState=ce),b.props=d,b.state=ce,b.context=O,d=Z):(typeof b.componentDidUpdate!="function"||k===e.memoizedProps&&X===e.memoizedState||(n.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||k===e.memoizedProps&&X===e.memoizedState||(n.flags|=1024),d=!1)}return ed(e,n,a,d,y,m)}function ed(e,n,a,d,m,y){Tp(e,n);var b=(n.flags&128)!==0;if(!d&&!b)return m&&kh(n,a,!1),Ei(e,n,y);d=n.stateNode,i0.current=n;var k=b&&typeof a.getDerivedStateFromError!="function"?null:d.render();return n.flags|=1,e!==null&&b?(n.child=ts(n,e.child,null,y),n.child=ts(n,null,k,y)):Ht(e,n,k,y),n.memoizedState=d.state,m&&kh(n,a,!0),n.child}function bp(e){var n=e.stateNode;n.pendingContext?Ch(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Ch(e,n.context,!1),zc(e,n.containerInfo)}function Sp(e,n,a,d,m){return es(),Ac(m),n.flags|=256,Ht(e,n,a,d),n.child}var td={dehydrated:null,treeContext:null,retryLane:0};
vendor: 1,151 bytes, line 8
8function nd(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cp(e,n,a){var d=n.pendingProps,m=st.current,y=!1,b=(n.flags&128)!==0,k;if((k=b)||(k=e!==null&&e.memoizedState===null?!1:(m&2)!==0),k?(y=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(m|=1),qe(st,m&1),e===null)return Lc(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((n.mode&1)===0?n.lanes=1:e.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(b=d.children,e=d.fallback,y?(d=n.mode,y=n.child,b={mode:"hidden",children:b},(d&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=b):y=vu(b,d,0,null),e=oo(e,d,a,null),y.return=n,e.return=n,y.sibling=e,n.child=y,n.child.memoizedState=nd(a),n.memoizedState=td,e):id(n,b));if(m=e.memoizedState,m!==null&&(k=m.dehydrated,k!==null))return r0(e,n,b,d,k,m,a);if(y){y=d.fallback,b=n.mode,m=e.child,k=m.sibling;var O={mode:"hidden",children:d.children};return(b&1)===0&&n.child!==m?(d=n.child,d.childLanes=0,d.pendingProps=O,n.deletions=null):(d=yr(m,O),d.subtreeFlags=m.subtreeFlags&14680064),k!==null?y=yr(k,y):(y=oo(y,b,a,null),y.flags|=2),y.return=n,d.return=n,d.sibling=y,n.child=d,d=y,y=n.child,b=e.child.memoizedState,b
vendor: 7,698 bytes, line 8
8=b===null?nd(a):{baseLanes:b.baseLanes|a,cachePool:null,transitions:b.transitions},y.memoizedState=b,y.childLanes=e.childLanes&~a,n.memoizedState=td,d}return y=e.child,e=y.sibling,d=yr(y,{mode:"visible",children:d.children}),(n.mode&1)===0&&(d.lanes=a),d.return=n,d.sibling=null,e!==null&&(a=n.deletions,a===null?(n.deletions=[e],n.flags|=16):a.push(e)),n.child=d,n.memoizedState=null,d}function id(e,n){return n=vu({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function ru(e,n,a,d){return d!==null&&Ac(d),ts(n,e.child,null,a),e=id(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function r0(e,n,a,d,m,y,b){if(a)return n.flags&256?(n.flags&=-257,d=Xc(Error(o(422))),ru(e,n,b,d)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(y=d.fallback,m=n.mode,d=vu({mode:"visible",children:d.children},m,0,null),y=oo(y,m,b,null),y.flags|=2,d.return=n,y.return=n,d.sibling=y,n.child=d,(n.mode&1)!==0&&ts(n,e.child,null,b),n.child.memoizedState=nd(b),n.memoizedState=td,y);if((n.mode&1)===0)return ru(e,n,b,null);if(m.data==="$!"){if(d=m.nextSibling&&m.nextSibling.dataset,d)var k=d.dgst;return d=k,y=Error(o(419)),d=Xc(y,d,void 0),ru(e,n,b,d)}if(k=(b&e.childLanes)!==0,Yt||k){if(d=bt,d!==null){switch(b&-b){case 4:m=2;break;case 16:m=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:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(d.suspendedLanes|b))!==0?0:m,m!==0&&m!==y.retryLane&&(y.retryLane=m,Si(e,m),Vn(d,e,m,-1))}return _d(),d=Xc(Error(o(421))),ru(e,n,b,d)}return m.data==="$?"?(n.flags|=128,n.child=e.child,n=v0.bind(null,e),m._reactRetry=n,null):(e=y.treeContext,dn=Jn(m.nextSibling),cn=n,et=!0,zn=null,e!==null&&(Pn[bn++]=Pi,Pn[bn++]=bi,Pn[bn++]=Yr,Pi=e.id,bi=e.overflow,Yr=n),n=id(n,d.children),n.flags|=4096,n)}function Ep(e,n,a){e.lanes|=n;var d=e.alternate;d!==null&&(d.lanes|=n),Oc(e.return,n,a)}function rd(e,n,a,d,m){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:m}:(y.isBackwards=n,y.rendering=null,y.renderingStartTime=0,y.last=d,y.tail=a,y.tailMode=m)}function kp(e,n,a){var d=n.pendingProps,m=d.revealOrder,y=d.tail;if(Ht(e,n,d.children,a),d=st.current,(d&2)!==0)d=d&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ep(e,a,n);else if(e.tag===19)Ep(e,a,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}d&=1}if(qe(st,d),(n.mode&1)===0)n.memoizedState=null;else switch(m){case"forwards":for(a=n.child,m=null;a!==null;)e=a.alternate,e!==null&&Xl(e)===null&&(m=a),a=a.sibling;a=m,a===null?(m=n.child,n.child=null):(m=a.sibling,a.sibling=null),rd(n,!1,m,a,y);break;case"backwards":for(a=null,m=n.child,n.child=null;m!==null;){if(e=m.alternate,e!==null&&Xl(e)===null){n.child=m;break}e=m.sibling,m.sibling=a,a=m,m=e}rd(n,!0,a,null,y);break;case"together":rd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function ou(e,n){(n.mode&1)===0&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ei(e,n,a){if(e!==null&&(n.dependencies=e.dependencies),to|=n.lanes,(a&n.childLanes)===0)return null;if(e!==null&&n.child!==e.child)throw Error(o(153));if(n.child!==null){for(e=n.child,a=yr(e,e.pendingProps),n.child=a,a.return=n;e.sibling!==null;)e=e.sibling,a=a.sibling=yr(e,e.pendingProps),a.return=n;a.sibling=null}return n.child}function o0(e,n,a){switch(n.tag){case 3:bp(n),es();break;case 5:Uh(n);break;case 1:qt(n.type)&&Vl(n);break;case 4:zc(n,n.stateNode.containerInfo);break;case 10:var d=n.type._context,m=n.memoizedProps.value;qe(Gl,d._currentValue),d._currentValue=m;break;case 13:if(d=n.memoizedState,d!==null)return d.dehydrated!==null?(qe(st,st.current&1),n.flags|=128,null):(a&n.child.childLanes)!==0?Cp(e,n,a):(qe(st,st.current&1),e=Ei(e,n,a),e!==null?e.sibling:null);qe(st,st.current&1);break;case 19:if(d=(a&n.childLanes)!==0,(e.flags&128)!==0){if(d)return kp(e,n,a);n.flags|=128}if(m=n.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),qe(st,st.current),d)break;return null;case 22:case 23:return n.lanes=0,wp(e,n,a)}return Ei(e,n,a)}var Lp,od,Ap,Mp;Lp=function(e,n){for(var a=n.child;a!==null;){if(a.tag===5||a.tag===6)e.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},od=function(){},Ap=function(e,n,a,d){var m=e.memoizedProps;if(m!==d){e=n.stateNode,Jr(ei.current);var y=null;switch(a){case"input":m=bs(e,m),d=bs(e,d),y=[];break;case"select":m=K({},m,{value:void 0}),d=K({},d,{value:void 0}),y=[];break;case"textarea":m=yo(e,m),d=yo(e,d),y=[];break;default:typeof m.onClick!="function"&&typeof d.onClick=="function"&&(e.onclick=q)}As(a,d);var b;a=null;for(Z in m)if(!d.hasOwnProperty(Z)&&m.hasOwnProperty(Z)&&m[Z]!=null)if(Z==="style"){var k=m[Z];for(b in k)k.hasOwnProperty(b)&&(a||(a={}),a[b]="")}else Z!=="dangerouslySetInnerHTML"&&Z!=="children"&&Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&Z!=="autoFocus"&&(c.hasOwnProperty(Z)?y||(y=[]):(y=y||[]).push(Z,null));for(Z in d){var O=d[Z];if(k=m?.[Z],d.hasOwnProperty(Z)&&O!==k&&(O!=null||k!=null))if(Z==="style")if(k){for(b in k)!k.hasOwnProperty(b)||O&&O.hasOwnProperty(b)||(a||(a={}),a[b]="");for(b in O)O.hasOwnProperty(b)&&k[b]!==O[b]&&(a||(a={}),a[b]=O[b])}else a||(y||(y=[]),y.push(Z,a)),a=O;else Z==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,k=k?k.__html:void 0,O!=null&&k!==O&&(y=y||[]).push(Z,O)):Z==="children"?typeof O!="string"&&typeof O!="number"||(y=y||[]).push(Z,""+O):Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&(c.hasOwnProperty(Z)?(O!=null&&Z==="onScroll"&&Ze("scroll",e),y||k===O||(y=[])):(y=y||[]).push(Z,O))}a&&(y=y||[]).push("style",a);var Z=y;(n.updateQueue=Z)&&(n.flags|=4)}},Mp=function(e,n,a,d){a!==d&&(n.flags|=4)};function ya(e,n){if(!et)switch(e.tailMode){case"hidden":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:d.sibling=null}}function It(e){var n=e.alternate!==null&&e.alternate.child===e.child,a=0,d=0;if(n)for(var m=e.child;m!==null;)a|=m.lanes|m.childLanes,d|=m.subtreeFlags&14680064,d|=m.flags&14680064,m.return=e,m=m.sibling;else for(m=e.child;m!==null;)a|=m.lanes|m.childLanes,d|=m.subtreeFlags,d|=m.flags,m.return=e,m=m.sibling;return e.subtreeFlags|=d,e.childLanes=a,n}function s0(e,n,a){var d=n.pendingProps;switch(Ec(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return It(n),null;case 1:return qt(n.type)&&Fl(),It(n),null;case 3:return d=n.stateNode,rs(),Xe(Kt),Xe(Ot),Fc(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(e===null||e.child===null)&&(Wl(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,zn!==null&&(gd(zn),zn=null))),od(e,n),It(n),null;case 5:Dc(n);var m=Jr(ha.current);if(a=n.type,e!==null&&n.stateNode!=null)Ap(e,n,a,d,m),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!d){if(n.stateNode===null)throw Error(o(166));return It(n),null}if(e=Jr(ei.current),Wl(n)){d=n.stateNode,a=n.type;var y=n.memoizedProps;
vendor: 8,222 bytes, line 8
8switch(d[Tn]=n,d[sr]=y,e=(n.mode&1)!==0,a){case"dialog":Ze("cancel",d),Ze("close",d);break;case"iframe":case"object":case"embed":Ze("load",d);break;case"video":case"audio":for(m=0;m<ir.length;m++)Ze(ir[m],d);break;case"source":Ze("error",d);break;case"img":case"image":case"link":Ze("error",d),Ze("load",d);break;case"details":Ze("toggle",d);break;case"input":Ss(d,y),Ze("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!y.multiple},Ze("invalid",d);break;case"textarea":ks(d,y),Ze("invalid",d)}As(a,y),m=null;for(var b in y)if(y.hasOwnProperty(b)){var k=y[b];b==="children"?typeof k=="string"?d.textContent!==k&&(y.suppressHydrationWarning!==!0&&H(d.textContent,k,e),m=["children",k]):typeof k=="number"&&d.textContent!==""+k&&(y.suppressHydrationWarning!==!0&&H(d.textContent,k,e),m=["children",""+k]):c.hasOwnProperty(b)&&k!=null&&b==="onScroll"&&Ze("scroll",d)}switch(a){case"input":ji(d),Ar(d,y,!0);break;case"textarea":ji(d),il(d);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(d.onclick=q)}d=m,n.updateQueue=d,d!==null&&(n.flags|=4)}else{b=m.nodeType===9?m:m.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=_o(a)),e==="http://www.w3.org/1999/xhtml"?a==="script"?(e=b.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof d.is=="string"?e=b.createElement(a,{is:d.is}):(e=b.createElement(a),a==="select"&&(b=e,d.multiple?b.multiple=!0:d.size&&(b.size=d.size))):e=b.createElementNS(e,a),e[Tn]=n,e[sr]=d,Lp(e,n,!1,!1),n.stateNode=e;e:{switch(b=si(a,d),a){case"dialog":Ze("cancel",e),Ze("close",e),m=d;break;case"iframe":case"object":case"embed":Ze("load",e),m=d;break;case"video":case"audio":for(m=0;m<ir.length;m++)Ze(ir[m],e);m=d;break;case"source":Ze("error",e),m=d;break;case"img":case"image":case"link":Ze("error",e),Ze("load",e),m=d;break;case"details":Ze("toggle",e),m=d;break;case"input":Ss(e,d),m=bs(e,d),Ze("invalid",e);break;case"option":m=d;break;case"select":e._wrapperState={wasMultiple:!!d.multiple},m=K({},d,{value:void 0}),Ze("invalid",e);break;case"textarea":ks(e,d),m=yo(e,d),Ze("invalid",e);break;default:m=d}As(a,m),k=m;for(y in k)if(k.hasOwnProperty(y)){var O=k[y];y==="style"?wo(e,O):y==="dangerouslySetInnerHTML"?(O=O?O.__html:void 0,O!=null&&rl(e,O)):y==="children"?typeof O=="string"?(a!=="textarea"||O!=="")&&Bi(e,O):typeof O=="number"&&Bi(e,""+O):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(c.hasOwnProperty(y)?O!=null&&y==="onScroll"&&Ze("scroll",e):O!=null&&W(e,y,O,b))}switch(a){case"input":ji(e),Ar(e,d,!1);break;case"textarea":ji(e),il(e);break;case"option":d.value!=null&&e.setAttribute("value",""+je(d.value));break;case"select":e.multiple=!!d.multiple,y=d.value,y!=null?Zn(e,!!d.multiple,y,!1):d.defaultValue!=null&&Zn(e,!!d.multiple,d.defaultValue,!0);break;default:typeof m.onClick=="function"&&(e.onclick=q)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return It(n),null;case 6:if(e&&n.stateNode!=null)Mp(e,n,e.memoizedProps,d);else{if(typeof d!="string"&&n.stateNode===null)throw Error(o(166));if(a=Jr(ha.current),Jr(ei.current),Wl(n)){if(d=n.stateNode,a=n.memoizedProps,d[Tn]=n,(y=d.nodeValue!==a)&&(e=cn,e!==null))switch(e.tag){case 3:H(d.nodeValue,a,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&H(d.nodeValue,a,(e.mode&1)!==0)}y&&(n.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[Tn]=n,n.stateNode=d}return It(n),null;case 13:if(Xe(st),d=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(et&&dn!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Oh(),es(),n.flags|=98560,y=!1;else if(y=Wl(n),d!==null&&d.dehydrated!==null){if(e===null){if(!y)throw Error(o(318));if(y=n.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(o(317));y[Tn]=n}else es(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;It(n),y=!1}else zn!==null&&(gd(zn),zn=null),y=!0;if(!y)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=a,n):(d=d!==null,d!==(e!==null&&e.memoizedState!==null)&&d&&(n.child.flags|=8192,(n.mode&1)!==0&&(e===null||(st.current&1)!==0?Tt===0&&(Tt=3):_d())),n.updateQueue!==null&&(n.flags|=4),It(n),null);case 4:return rs(),od(e,n),e===null&&rr(n.stateNode.containerInfo),It(n),null;case 10:return Rc(n.type._context),It(n),null;case 17:return qt(n.type)&&Fl(),It(n),null;case 19:if(Xe(st),y=n.memoizedState,y===null)return It(n),null;if(d=(n.flags&128)!==0,b=y.rendering,b===null)if(d)ya(y,!1);else{if(Tt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(b=Xl(e),b!==null){for(n.flags|=128,ya(y,!1),d=b.updateQueue,d!==null&&(n.updateQueue=d,n.flags|=4),n.subtreeFlags=0,d=a,a=n.child;a!==null;)y=a,e=d,y.flags&=14680066,b=y.alternate,b===null?(y.childLanes=0,y.lanes=e,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=b.childLanes,y.lanes=b.lanes,y.child=b.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=b.memoizedProps,y.memoizedState=b.memoizedState,y.updateQueue=b.updateQueue,y.type=b.type,e=b.dependencies,y.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),a=a.sibling;return qe(st,st.current&1|2),n.child}e=e.sibling}y.tail!==null&&rt()>ls&&(n.flags|=128,d=!0,ya(y,!1),n.lanes=4194304)}else{if(!d)if(e=Xl(b),e!==null){if(n.flags|=128,d=!0,a=e.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),ya(y,!0),y.tail===null&&y.tailMode==="hidden"&&!b.alternate&&!et)return It(n),null}else 2*rt()-y.renderingStartTime>ls&&a!==1073741824&&(n.flags|=128,d=!0,ya(y,!1),n.lanes=4194304);y.isBackwards?(b.sibling=n.child,n.child=b):(a=y.last,a!==null?a.sibling=b:n.child=b,y.last=b)}return y.tail!==null?(n=y.tail,y.rendering=n,y.tail=n.sibling,y.renderingStartTime=rt(),n.sibling=null,a=st.current,qe(st,d?a&1|2:a&1),n):(It(n),null);case 22:case 23:return yd(),d=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==d&&(n.flags|=8192),d&&(n.mode&1)!==0?(fn&1073741824)!==0&&(It(n),n.subtreeFlags&6&&(n.flags|=8192)):It(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function a0(e,n){switch(Ec(n),n.tag){case 1:return qt(n.type)&&Fl(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rs(),Xe(Kt),Xe(Ot),Fc(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 5:return Dc(n),null;case 13:if(Xe(st),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));es()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Xe(st),null;case 4:return rs(),null;case 10:return Rc(n.type._context),null;case 22:case 23:return yd(),null;case 24:return null;default:return null}}var su=!1,zt=!1,l0=typeof WeakSet=="function"?WeakSet:Set,le=null;function ss(e,n){var a=e.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){dt(e,n,d)}else a.current=null}function sd(e,n,a){try{a()}catch(d){dt(e,n,d)}}var Np=!1;function u0(e,n){if(ne=Vr,e=ta(),na(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var m=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{a.nodeType,y.nodeType}catch{a=null;break e}var b=0,k=-1,O=-1,Z=0,Q=0,ee=e,X=null;t:for(;;){for(var ie;ee!==a||m!==0&&ee.nodeType!==3||(k=b+m),ee!==y||d!==0&&ee.nodeType!==3||(O=b+d),ee.nodeType===3&&(b+=ee.nodeValue.length),(ie=ee.firstChild)!==null;)X=ee,ee=ie;for(;;){if(ee===e)break t;if(X===a&&++Z===m&&(k=b),X===y&&++Q===d&&(O=b),(ie=ee.nextSibling)!==null)break;ee=X,X=ee.parentNode}ee=ie}a=k===-1||O===-1?null:{start:k,end:O}}else a=null}a=a||{start:0,end:0}}else a=null;for(xe={focusedElem:e,selectionRange:a},Vr=!1,le=n;le!==null;)if(n=le,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,le=e;else for(;le!==null;){n=le;try{var ce=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(ce!==null){var fe=ce.memoizedProps,pt=ce.memoizedState,F=n.stateNode,I=F.getSnapshotBeforeUpdate(n.elementType===n.type?fe:
vendor: 4,387 bytes, line 8
8Dn(n.type,fe),pt);F.__reactInternalSnapshotBeforeUpdate=I}break;case 3:var U=n.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(te){dt(n,n.return,te)}if(e=n.sibling,e!==null){e.return=n.return,le=e;break}le=n.return}return ce=Np,Np=!1,ce}function _a(e,n,a){var d=n.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var m=d=d.next;do{if((m.tag&e)===e){var y=m.destroy;m.destroy=void 0,y!==void 0&&sd(n,a,y)}m=m.next}while(m!==d)}}function au(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var d=a.create;a.destroy=d()}a=a.next}while(a!==n)}}function ad(e){var n=e.ref;if(n!==null){var a=e.stateNode;e.tag,e=a,typeof n=="function"?n(e):n.current=e}}function Rp(e){var n=e.alternate;n!==null&&(e.alternate=null,Rp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Tn],delete n[sr],delete n[ar],delete n[Tc],delete n[Pc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Op(e){return e.tag===5||e.tag===3||e.tag===4}function jp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Op(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ld(e,n,a){var d=e.tag;if(d===5||d===6)e=e.stateNode,n?a.nodeType===8?a.parentNode.insertBefore(e,n):a.insertBefore(e,n):(a.nodeType===8?(n=a.parentNode,n.insertBefore(e,a)):(n=a,n.appendChild(e)),a=a._reactRootContainer,a!=null||n.onclick!==null||(n.onclick=q));else if(d!==4&&(e=e.child,e!==null))for(ld(e,n,a),e=e.sibling;e!==null;)ld(e,n,a),e=e.sibling}function ud(e,n,a){var d=e.tag;if(d===5||d===6)e=e.stateNode,n?a.insertBefore(e,n):a.appendChild(e);else if(d!==4&&(e=e.child,e!==null))for(ud(e,n,a),e=e.sibling;e!==null;)ud(e,n,a),e=e.sibling}var Et=null,Bn=!1;function hr(e,n,a){for(a=a.child;a!==null;)Ip(e,n,a),a=a.sibling}function Ip(e,n,a){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(jr,a)}catch{}switch(a.tag){case 5:zt||ss(a,n);case 6:var d=Et,m=Bn;Et=null,hr(e,n,a),Et=d,Bn=m,Et!==null&&(Bn?(e=Et,a=a.stateNode,e.nodeType===8?e.parentNode.removeChild(a):e.removeChild(a)):Et.removeChild(a.stateNode));break;case 18:Et!==null&&(Bn?(e=Et,a=a.stateNode,e.nodeType===8?ua(e.parentNode,a):e.nodeType===1&&ua(e,a),on(e)):ua(Et,a.stateNode));break;case 4:d=Et,m=Bn,Et=a.stateNode.containerInfo,Bn=!0,hr(e,n,a),Et=d,Bn=m;break;case 0:case 11:case 14:case 15:if(!zt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){m=d=d.next;do{var y=m,b=y.destroy;y=y.tag,b!==void 0&&((y&2)!==0||(y&4)!==0)&&sd(a,n,b),m=m.next}while(m!==d)}hr(e,n,a);break;case 1:if(!zt&&(ss(a,n),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(k){dt(a,n,k)}hr(e,n,a);break;case 21:hr(e,n,a);break;case 22:a.mode&1?(zt=(d=zt)||a.memoizedState!==null,hr(e,n,a),zt=d):hr(e,n,a);break;default:hr(e,n,a)}}function zp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new l0),n.forEach(function(d){var m=y0.bind(null,e,d);a.has(d)||(a.add(d),d.then(m,m))})}}function Fn(e,n){var a=n.deletions;if(a!==null)for(var d=0;d<a.length;d++){var m=a[d];try{var y=e,b=n,k=b;e:for(;k!==null;){switch(k.tag){case 5:Et=k.stateNode,Bn=!1;break e;case 3:Et=k.stateNode.containerInfo,Bn=!0;break e;case 4:Et=k.stateNode.containerInfo,Bn=!0;break e}k=k.return}if(Et===null)throw Error(o(160));Ip(y,b,m),Et=null,Bn=!1;var O=m.alternate;O!==null&&(O.return=null),m.return=null}catch(Z){dt(m,n,Z)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Dp(n,e),n=n.sibling}function Dp(e,n){var a=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fn(n,e),ni(e),d&4){try{_a(3,e,e.return),au(3,e)}catch(fe){dt(e,e.return,fe)}try{_a(5,e,e.return)}catch(fe){dt(e,e.return,fe)}}break;case 1:Fn(n,e),ni(e),d&512&&a!==null&&ss(a,a.return);break;case 5:if(Fn(n,e),ni(e),d&512&&a!==null&&ss(a,a.return),e.flags&32){var m=e.stateNode;try{Bi(m,"")}catch(fe){dt(e,e.return,fe)}}
vendor: 13,535 bytes, line 8
8if(d&4&&(m=e.stateNode,m!=null)){var y=e.memoizedProps,b=a!==null?a.memoizedProps:y,k=e.type,O=e.updateQueue;if(e.updateQueue=null,O!==null)try{k==="input"&&y.type==="radio"&&y.name!=null&&Cs(m,y),si(k,b);var Z=si(k,y);for(b=0;b<O.length;b+=2){var Q=O[b],ee=O[b+1];Q==="style"?wo(m,ee):Q==="dangerouslySetInnerHTML"?rl(m,ee):Q==="children"?Bi(m,ee):W(m,Q,ee,Z)}switch(k){case"input":Lr(m,y);break;case"textarea":nl(m,y);break;case"select":var X=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!y.multiple;var ie=y.value;ie!=null?Zn(m,!!y.multiple,ie,!1):X!==!!y.multiple&&(y.defaultValue!=null?Zn(m,!!y.multiple,y.defaultValue,!0):Zn(m,!!y.multiple,y.multiple?[]:"",!1))}m[sr]=y}catch(fe){dt(e,e.return,fe)}}break;case 6:if(Fn(n,e),ni(e),d&4){if(e.stateNode===null)throw Error(o(162));m=e.stateNode,y=e.memoizedProps;try{m.nodeValue=y}catch(fe){dt(e,e.return,fe)}}break;case 3:if(Fn(n,e),ni(e),d&4&&a!==null&&a.memoizedState.isDehydrated)try{on(n.containerInfo)}catch(fe){dt(e,e.return,fe)}break;case 4:Fn(n,e),ni(e);break;case 13:Fn(n,e),ni(e),m=e.child,m.flags&8192&&(y=m.memoizedState!==null,m.stateNode.isHidden=y,!y||m.alternate!==null&&m.alternate.memoizedState!==null||(fd=rt())),d&4&&zp(e);break;case 22:if(Q=a!==null&&a.memoizedState!==null,e.mode&1?(zt=(Z=zt)||Q,Fn(n,e),zt=Z):Fn(n,e),ni(e),d&8192){if(Z=e.memoizedState!==null,(e.stateNode.isHidden=Z)&&!Q&&(e.mode&1)!==0)for(le=e,Q=e.child;Q!==null;){for(ee=le=Q;le!==null;){switch(X=le,ie=X.child,X.tag){case 0:case 11:case 14:case 15:_a(4,X,X.return);break;case 1:ss(X,X.return);var ce=X.stateNode;if(typeof ce.componentWillUnmount=="function"){d=X,a=X.return;try{n=d,ce.props=n.memoizedProps,ce.state=n.memoizedState,ce.componentWillUnmount()}catch(fe){dt(d,a,fe)}}break;case 5:ss(X,X.return);break;case 22:if(X.memoizedState!==null){Vp(ee);continue}}ie!==null?(ie.return=X,le=ie):Vp(ee)}Q=Q.sibling}e:for(Q=null,ee=e;;){if(ee.tag===5){if(Q===null){Q=ee;try{m=ee.stateNode,Z?(y=m.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(k=ee.stateNode,O=ee.memoizedProps.style,b=O!=null&&O.hasOwnProperty("display")?O.display:null,k.style.display=Ls("display",b))}catch(fe){dt(e,e.return,fe)}}}else if(ee.tag===6){if(Q===null)try{ee.stateNode.nodeValue=Z?"":ee.memoizedProps}catch(fe){dt(e,e.return,fe)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===e)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===e)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===e)break e;Q===ee&&(Q=null),ee=ee.return}Q===ee&&(Q=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:Fn(n,e),ni(e),d&4&&zp(e);break;case 21:break;default:Fn(n,e),ni(e)}}function ni(e){var n=e.flags;if(n&2){try{e:{for(var a=e.return;a!==null;){if(Op(a)){var d=a;break e}a=a.return}throw Error(o(160))}switch(d.tag){case 5:var m=d.stateNode;d.flags&32&&(Bi(m,""),d.flags&=-33);var y=jp(e);ud(e,y,m);break;case 3:case 4:var b=d.stateNode.containerInfo,k=jp(e);ld(e,k,b);break;default:throw Error(o(161))}}catch(O){dt(e,e.return,O)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function c0(e,n,a){le=e,Bp(e)}function Bp(e,n,a){for(var d=(e.mode&1)!==0;le!==null;){var m=le,y=m.child;if(m.tag===22&&d){var b=m.memoizedState!==null||su;if(!b){var k=m.alternate,O=k!==null&&k.memoizedState!==null||zt;k=su;var Z=zt;if(su=b,(zt=O)&&!Z)for(le=m;le!==null;)b=le,O=b.child,b.tag===22&&b.memoizedState!==null?Up(m):O!==null?(O.return=b,le=O):Up(m);for(;y!==null;)le=y,Bp(y),y=y.sibling;le=m,su=k,zt=Z}Fp(e)}else(m.subtreeFlags&8772)!==0&&y!==null?(y.return=m,le=y):Fp(e)}}function Fp(e){for(;le!==null;){var n=le;if((n.flags&8772)!==0){var a=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:zt||au(5,n);break;case 1:var d=n.stateNode;if(n.flags&4&&!zt)if(a===null)d.componentDidMount();else{var m=n.elementType===n.type?a.memoizedProps:Dn(n.type,a.memoizedProps);d.componentDidUpdate(m,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var y=n.updateQueue;y!==null&&Vh(n,y,d);break;case 3:var b=n.updateQueue;if(b!==null){if(a=null,n.child!==null)switch(n.child.tag){case 5:a=n.child.stateNode;break;case 1:a=n.child.stateNode}Vh(n,b,a)}break;case 5:var k=n.stateNode;if(a===null&&n.flags&4){a=k;var O=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":O.autoFocus&&a.focus();break;case"img":O.src&&(a.src=O.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var Z=n.alternate;if(Z!==null){var Q=Z.memoizedState;if(Q!==null){var ee=Q.dehydrated;ee!==null&&on(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}zt||n.flags&512&&ad(n)}catch(X){dt(n,n.return,X)}}if(n===e){le=null;break}if(a=n.sibling,a!==null){a.return=n.return,le=a;break}le=n.return}}function Vp(e){for(;le!==null;){var n=le;if(n===e){le=null;break}var a=n.sibling;if(a!==null){a.return=n.return,le=a;break}le=n.return}}function Up(e){for(;le!==null;){var n=le;try{switch(n.tag){case 0:case 11:case 15:var a=n.return;try{au(4,n)}catch(O){dt(n,a,O)}break;case 1:var d=n.stateNode;if(typeof d.componentDidMount=="function"){var m=n.return;try{d.componentDidMount()}catch(O){dt(n,m,O)}}var y=n.return;try{ad(n)}catch(O){dt(n,y,O)}break;case 5:var b=n.return;try{ad(n)}catch(O){dt(n,b,O)}}}catch(O){dt(n,n.return,O)}if(n===e){le=null;break}var k=n.sibling;if(k!==null){k.return=n.return,le=k;break}le=n.return}}var d0=Math.ceil,lu=Y.ReactCurrentDispatcher,cd=Y.ReactCurrentOwner,En=Y.ReactCurrentBatchConfig,Fe=0,bt=null,vt=null,kt=0,fn=0,as=lr(0),Tt=0,xa=null,to=0,uu=0,dd=0,wa=null,Xt=null,fd=0,ls=1/0,ki=null,cu=!1,hd=null,pr=null,du=!1,mr=null,fu=0,Ta=0,pd=null,hu=-1,pu=0;function Zt(){return(Fe&6)!==0?rt():hu!==-1?hu:hu=rt()}function gr(e){return(e.mode&1)===0?1:(Fe&2)!==0&&kt!==0?kt&-kt:K_.transition!==null?(pu===0&&(pu=vl()),pu):(e=Be,e!==0||(e=window.event,e=e===void 0?16:ze(e.type)),e)}function Vn(e,n,a,d){if(50<Ta)throw Ta=0,pd=null,Error(o(185));nn(e,a,d),((Fe&2)===0||e!==bt)&&(e===bt&&((Fe&2)===0&&(uu|=a),Tt===4&&vr(e,kt)),Qt(e,d),a===1&&Fe===0&&(n.mode&1)===0&&(ls=rt()+500,Ul&&cr()))}function Qt(e,n){var a=e.callbackNode;ko(e,n);var d=Ke(e,e===bt?kt:0);if(d===0)a!==null&&zs(a),e.callbackNode=null,e.callbackPriority=0;else if(n=d&-d,e.callbackPriority!==n){if(a!=null&&zs(a),n===1)e.tag===0?G_(Zp.bind(null,e)):Lh(Zp.bind(null,e)),Rt(function(){(Fe&6)===0&&cr()}),a=null;else{switch(Wi(d)){case 1:a=Ds;break;case 4:a=gl;break;case 16:a=Co;break;case 536870912:a=Vi;break;default:a=Co}a=Qp(a,Hp.bind(null,e))}e.callbackPriority=n,e.callbackNode=a}}function Hp(e,n){if(hu=-1,pu=0,(Fe&6)!==0)throw Error(o(327));var a=e.callbackNode;if(us()&&e.callbackNode!==a)return null;var d=Ke(e,e===bt?kt:0);if(d===0)return null;if((d&30)!==0||(d&e.expiredLanes)!==0||n)n=mu(e,d);else{n=d;var m=Fe;Fe|=2;var y=$p();(bt!==e||kt!==n)&&(ki=null,ls=rt()+500,io(e,n));do try{p0();break}catch(k){Wp(e,k)}while(!0);Nc(),lu.current=y,Fe=m,vt!==null?n=0:(bt=null,kt=0,n=Tt)}if(n!==0){if(n===2&&(m=Mt(e),m!==0&&(d=m,n=md(e,m))),n===1)throw a=xa,io(e,0),vr(e,d),Qt(e,rt()),a;if(n===6)vr(e,d);else{if(m=e.current.alternate,(d&30)===0&&!f0(m)&&(n=mu(e,d),n===2&&(y=Mt(e),y!==0&&(d=y,n=md(e,y))),n===1))throw a=xa,io(e,0),vr(e,d),Qt(e,rt()),a;switch(e.finishedWork=m,e.finishedLanes=d,n){case 0:case 1:throw Error(o(345));case 2:ro(e,Xt,ki);break;case 3:if(vr(e,d),(d&130023424)===d&&(n=fd+500-rt(),10<n)){if(Ke(e,0)!==0)break;if(m=e.suspendedLanes,(m&d)!==d){Zt(),e.pingedLanes|=e.suspendedLanes&m;break}e.timeoutHandle=xt(ro.bind(null,e,Xt,ki),n);break}ro(e,Xt,ki);break;case 4:if(vr(e,d),(d&4194240)===d)break;for(n=e.eventTimes,m=-1;0<d;){var b=31-Ee(d);y=1<<b,b=n[b],b>m&&(m=b),d&=~y}if(d=m,d=rt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*d0(d/1960))-d,10<d){e.timeoutHandle=xt(ro.bind(null,e,Xt,ki),d);break}ro(e,Xt,ki);break;case 5:ro(e,Xt,ki);break;default:throw Error(o(329))}}}return Qt(e,rt()),e.callbackNode===a?Hp.bind(null,e):null}function md(e,n){var a=wa;return e.current.memoizedState.isDehydrated&&(io(e,n).flags|=256),e=mu(e,n),e!==2&&(n=Xt,Xt=a,n!==null&&gd(n)),e}function gd(e){Xt===null?Xt=e:Xt.push.apply(Xt,e)}function f0(e){for(var n=e;;){if(n.flags&16384){var a=n.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var m=a[d],y=m.getSnapshot;m=m.value;try{if(!ln(y(),m))return!1}catch{return!1}}}if(a=n.child,n.subtreeFlags&16384&&a!==null)a.return=n,n=a;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function vr(e,n){for(n&=~dd,n&=~uu,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var a=31-Ee(n),d=1<<a;e[a]=-1,n&=~d}}function Zp(e){if((Fe&6)!==0)throw Error(o(327));us();var n=Ke(e,0);if((n&1)===0)return Qt(e,rt()),null;var a=mu(e,n);if(e.tag!==0&&a===2){var d=Mt(e);d!==0&&(n=d,a=md(e,d))}if(a===1)throw a=xa,io(e,0),vr(e,n),Qt(e,rt()),a;if(a===6)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,ro(e,Xt,ki),Qt(e,rt()),null}function vd(e,n){var a=Fe;Fe|=1;try{return e(n)}finally{Fe=a,Fe===0&&(ls=rt()+500,Ul&&cr())}}function no(e){mr!==null&&mr.tag===0&&(Fe&6)===0&&us();var n=Fe;Fe|=1;var a=En.transition,d=Be;try{if(En.transition=null,Be=1,e)return e()}finally{Be=d,En.transition=a,Fe=n,(Fe&6)===0&&cr()}}function yd(){fn=as.current,Xe(as)}function io(e,n){e.finishedWork=null,e.finishedLanes=0;var a=e.timeoutHandle;if(a!==-1&&(e.timeoutHandle=-1,gt(a)),vt!==null)for(a=vt.return;a!==null;){var d=a;switch(Ec(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Fl();break;case 3:rs(),Xe(Kt),Xe(Ot),Fc();break;case 5:Dc(d);break;case 4:rs();break;case 13:Xe(st);break;case 19:Xe(st);break;case 10:Rc(d.type._context);break;case 22:case 23:yd()}a=a.return}if(bt=e,vt=e=yr(e.current,null),kt=fn=n,Tt=0,xa=null,dd=uu=to=0,Xt=wa=null,Qr!==null){for(n=0;n<Qr.length;n++)if(a=Qr[n],d=a.interleaved,d!==null){a.interleaved=null;var m=d.next,y=a.pending;if(y!==null){var b=y.next;y.next=m,d.next=b}a.pending=d}Qr=null}return e}function Wp(e,n){do{var a=vt;try{if(Nc(),Ql.current=nu,Jl){for(var d=at.memoizedState;d!==null;){var m=d.queue;m!==null&&(m.pending=null),d=d.next}Jl=!1}if(eo=0,Pt=wt=at=null,pa=!1,ma=0,cd.current=null,a===null||a.return===null){Tt=1,xa=n,vt=null;break}e:{var y=e,b=a.return,k=a,O=n;if(n=kt,k.flags|=32768,O!==null&&typeof O=="object"&&typeof O.then=="function"){var Z=O,Q=k,ee=Q.tag;if((Q.mode&1)===0&&(ee===0||ee===11||ee===15)){var X=Q.alternate;X?(Q.updateQueue=X.updateQueue,Q.memoizedState=X.memoizedState,Q.lanes=X.lanes):(Q.updateQueue=null,Q.memoizedState=null)}var ie=gp(b);if(ie!==null){ie.flags&=-257,vp(ie,b,k,y,n),ie.mode&1&&mp(y,Z,n),n=ie,O=Z;var ce=n.updateQueue;if(ce===null){var fe=new Set;fe.add(O),n.updateQueue=fe}else ce.add(O);break e}else{if((n&1)===0){mp(y,Z,n),_d();break e}O=Error(o(426))}}else if(et&&k.mode&1){var pt=gp(b);if(pt!==null){(pt.flags&65536)===0&&(pt.flags|=256),vp(pt,b,k,y,n),Ac(os(O,k));break e}}y=O=os(O,k),Tt!==4&&(Tt=2),wa===null?wa=[y]:wa.push(y),y=b;do{switch(y.tag){case 3:y.flags|=65536,n&=-n,y.lanes|=n;var F=hp(y,O,n);Fh(y,F);break e;case 1:k=O;var I=y.type,U=y.stateNode;if((y.flags&128)===0&&(typeof I.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(pr===null||!pr.has(U)))){y.flags|=65536,n&=-n,y.lanes|=n;var te=pp(y,k,n);Fh(y,te);break e}}y=y.return}while(y!==null)}Kp(a)}catch(ge){n=ge,vt===a&&a!==null&&(vt=a=a.return);continue}break}while(!0)}function $p(){var e=lu.current;return lu.current=nu,e===null?nu:e}function _d(){(Tt===0||Tt===3||Tt===2)&&(Tt=4),bt===null||(to&268435455)===0&&(uu&268435455)===0||vr(bt,kt)}function mu(e,n){var a=Fe;Fe|=2;var d=$p();(bt!==e||kt!==n)&&(ki=null,io(e,n));do try{h0();break}catch(m){Wp(e,m)}while(!0);if(Nc(),Fe=a,lu.current=d,vt!==null)throw Error(o(261));return bt=null,kt=0,Tt}function h0(){for(;vt!==null;)Gp(vt)}function p0(){for(;vt!==null&&!sc();)Gp(vt)}function Gp(e){var n=Xp(e.alternate,e,fn);e.memoizedProps=e.pendingProps,n===null?Kp(e):vt=n,cd.current=null}function Kp(e){var n=e;do{var a=n.alternate;if(e=n.return,(n.flags&32768)===0){if(a=s0(a,n,fn),a!==null){vt=a;return}}else{if(a=a0(a,n),a!==null){a.flags&=32767,vt=a;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Tt=6,vt=null;return}}if(n=n.sibling,n!==null){vt=n;return}vt=n=e}while(n!==null);Tt===0&&(Tt=5)}function ro(e,n,a){var d=Be,m=En.transition;try{En.transition=null,Be=1,m0(e,n,a,d)}finally{En.transition=m,Be=d}return null}function m0(e,n,a,d){do us();while(mr!==null);if((Fe&6)!==0)throw Error(o(327));a=e.finishedWork;var m=e.finishedLanes;if(a===null)return null;if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var y=a.lanes|a.childLanes;if(ct(e,y),e===bt&&(vt=bt=null,kt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||du||(du=!0,Qp(Co,function(){return us(),null})),y=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||y){y=En.transition,En.transition=null;var b=Be;Be=1;var k=Fe;Fe|=4,cd.current=null,u0(e,a),Dp(a,e),xn(xe),Vr=!!ne,xe=ne=null,e.current=a,c0(a),So(),Fe=k,Be=b,En.transition=y}else e.current=a;if(du&&(du=!1,mr=e,fu=m),y=e.pendingLanes,y===0&&(pr=null),Ir(a.stateNode),Qt(e,rt()),n!==null)for(d=e.onRecoverableError,a=0;a<n.length;a++)m=n[a],d(m.value,{componentStack:m.stack,digest:m.digest});if(cu)throw cu=!1,e=hd,hd=null,e;return(fu&1)!==0&&e.tag!==0&&us(),y=e.pendingLanes,(y&1)!==0?e===pd?Ta++:(Ta=0,pd=e):Ta=0,cr(
vendor: 6,570 bytes, line 8
8),null}function us(){if(mr!==null){var e=Wi(fu),n=En.transition,a=Be;try{if(En.transition=null,Be=16>e?16:e,mr===null)var d=!1;else{if(e=mr,mr=null,fu=0,(Fe&6)!==0)throw Error(o(331));var m=Fe;for(Fe|=4,le=e.current;le!==null;){var y=le,b=y.child;if((le.flags&16)!==0){var k=y.deletions;if(k!==null){for(var O=0;O<k.length;O++){var Z=k[O];for(le=Z;le!==null;){var Q=le;switch(Q.tag){case 0:case 11:case 15:_a(8,Q,y)}var ee=Q.child;if(ee!==null)ee.return=Q,le=ee;else for(;le!==null;){Q=le;var X=Q.sibling,ie=Q.return;if(Rp(Q),Q===Z){le=null;break}if(X!==null){X.return=ie,le=X;break}le=ie}}}var ce=y.alternate;if(ce!==null){var fe=ce.child;if(fe!==null){ce.child=null;do{var pt=fe.sibling;fe.sibling=null,fe=pt}while(fe!==null)}}le=y}}if((y.subtreeFlags&2064)!==0&&b!==null)b.return=y,le=b;else e:for(;le!==null;){if(y=le,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:_a(9,y,y.return)}var F=y.sibling;if(F!==null){F.return=y.return,le=F;break e}le=y.return}}var I=e.current;for(le=I;le!==null;){b=le;var U=b.child;if((b.subtreeFlags&2064)!==0&&U!==null)U.return=b,le=U;else e:for(b=I;le!==null;){if(k=le,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:au(9,k)}}catch(ge){dt(k,k.return,ge)}if(k===b){le=null;break e}var te=k.sibling;if(te!==null){te.return=k.return,le=te;break e}le=k.return}}if(Fe=m,cr(),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(jr,e)}catch{}d=!0}return d}finally{Be=a,En.transition=n}}return!1}function qp(e,n,a){n=os(a,n),n=hp(e,n,1),e=fr(e,n,1),n=Zt(),e!==null&&(nn(e,1,n),Qt(e,n))}function dt(e,n,a){if(e.tag===3)qp(e,e,a);else for(;n!==null;){if(n.tag===3){qp(n,e,a);break}else if(n.tag===1){var d=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(pr===null||!pr.has(d))){e=os(a,e),e=pp(n,e,1),n=fr(n,e,1),e=Zt(),n!==null&&(nn(n,1,e),Qt(n,e));break}}n=n.return}}function g0(e,n,a){var d=e.pingCache;d!==null&&d.delete(n),n=Zt(),e.pingedLanes|=e.suspendedLanes&a,bt===e&&(kt&a)===a&&(Tt===4||Tt===3&&(kt&130023424)===kt&&500>rt()-fd?io(e,0):dd|=a),Qt(e,n)}function Yp(e,n){n===0&&((e.mode&1)===0?n=1:(n=Hi,Hi<<=1,(Hi&130023424)===0&&(Hi=4194304)));var a=Zt();e=Si(e,n),e!==null&&(nn(e,n,a),Qt(e,a))}function v0(e){var n=e.memoizedState,a=0;n!==null&&(a=n.retryLane),Yp(e,a)}function y0(e,n){var a=0;switch(e.tag){case 13:var d=e.stateNode,m=e.memoizedState;m!==null&&(a=m.retryLane);break;case 19:d=e.stateNode;break;default:throw Error(o(314))}d!==null&&d.delete(n),Yp(e,a)}var Xp;Xp=function(e,n,a){if(e!==null)if(e.memoizedProps!==n.pendingProps||Kt.current)Yt=!0;else{if((e.lanes&a)===0&&(n.flags&128)===0)return Yt=!1,o0(e,n,a);Yt=(e.flags&131072)!==0}else Yt=!1,et&&(n.flags&1048576)!==0&&Ah(n,Zl,n.index);switch(n.lanes=0,n.tag){case 2:var d=n.type;ou(e,n),e=n.pendingProps;var m=Xo(n,Ot.current);is(n,a),m=Hc(null,n,d,e,m,a);var y=Zc();return n.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,qt(d)?(y=!0,Vl(n)):y=!1,n.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,Ic(n),m.updater=iu,n.stateNode=m,m._reactInternals=n,Yc(n,d,e,a),n=ed(null,n,d,!0,y,a)):(n.tag=0,et&&y&&Cc(n),Ht(null,n,m,a),n=n.child),n;case 16:d=n.elementType;e:{switch(ou(e,n),e=n.pendingProps,m=d._init,d=m(d._payload),n.type=d,m=n.tag=x0(d),e=Dn(d,e),m){case 0:n=Jc(null,n,d,e,a);break e;case 1:n=Pp(null,n,d,e,a);break e;case 11:n=yp(null,n,d,e,a);break e;case 14:n=_p(null,n,d,Dn(d.type,e),a);break e}throw Error(o(306,d,""))}return n;case 0:return d=n.type,m=n.pendingProps,m=n.elementType===d?m:Dn(d,m),Jc(e,n,d,m,a);case 1:return d=n.type,m=n.pendingProps,m=n.elementType===d?m:Dn(d,m),Pp(e,n,d,m,a);case 3:e:{if(bp(n),e===null)throw Error(o(387));d=n.pendingProps,y=n.memoizedState,m=y.element,Bh(e,n),Yl(n,d,null,a);var b=n.memoizedState;if(d=b.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},n.updateQueue.baseState=y,n.memoizedState=y,n.flags&256){m=os(Error(o(423)),n),n=Sp(e,n,d,a,m);break e}else if(d!==m){m=os(Error(o(424)),n),n=Sp(e,n,d,a,m);break e}else for(dn=Jn(n.stateNode.containerInfo.firstChild),cn=n,et=!0,zn=null,a=zh(n,null,d,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(es(),d===m){n=Ei(e,n,a);break e}Ht(e,n,d,a)}n=n.child}return n;case 5:return Uh(n),e===null&&Lc(n),d=n.type,m=n.pendingProps,y=e!==null?e.memoizedProps:null,b=m.children,Ae(d,m)?b=null:y!==null&&Ae(d,y)&&(n.flags|=32),Tp(e,n),Ht(e,n,b,a),n.child;case 6:return e===null&&Lc(n),null;case 13:return Cp(e,n,a);case 4:return zc(n,n.stateNode.containerInfo),d=n.pendingProps,e===null?n.child=ts(n,null,d,a):Ht(e,n,d,a),n.child;case 11:return d=n.type,m=n.pendingProps,m=n.elementType===d?m:Dn(d,m),yp(e,n,d,m,a);case 7:return Ht(e,n,n.pendingProps,a),n.child;case 8:return Ht(e,n,n.pendingProps.children,a),n.child;case 12:return Ht(e,n,n.pendingProps.children,a),n.child;case 10:e:{if(d=n.type._context,m=n.pendingProps,y=n.memoizedProps,b=m.value,qe(Gl,d._currentValue),d._currentValue=b,y!==null)if(ln(y.value,b)){if(y.children===m.children&&!Kt.current){n=Ei(e,n,a);break e}}else for(y=n.child,y!==null&&(y.return=n);y!==null;){var k=y.dependencies;if(k!==null){b=y.child;for(var O=k.firstContext;O!==null;){if(O.context===d){if(y.tag===1){O=Ci(-1,a&-a),O.tag=2;var Z=y.updateQueue;if(Z!==null){Z=Z.shared;var Q=Z.pending;Q===null?O.next=O:(O.next=Q.next,Q.next=O),Z.pending=O}}y.lanes|=a,O=y.alternate,O!==null&&(O.lanes|=a),Oc(y.return,a,n),k.lanes|=a;break}O=O.next}}else if(y.tag===10)b=y.type===n.type?null:y.child;else if(y.tag===18){if(b=y.return,b===null)throw Error(o(341));b.lanes|=a,k=b.alternate,k!==null&&(k.lanes|=a),Oc(b,a,n),b=y.sibling}else b=y.child;if(b!==null)b.return=y;else for(b=y;b!==null;){if(b===n){b=null;break}if(y=b.sibling,y!==null){y.return=b.return,b=y;break}b=b.return}y=b}Ht(e,n,m.children,a),n=n.child}return n;case 9:return m=n.type,d=n.pendingProps.children,is(n,a),m=Sn(m),d=d(m),n.flags|=1,Ht(e,n,d,a),n.child;case 14:return d=n.type,m=Dn(d,n.pendingProps),m=Dn(d.type,m),_p(e,n,d,m,a);case 15:return xp(e,n,n.type,n.pendingProps,a);case 17:return d=n.type,m=n.pendingProps,m=n.elementType===d?m:Dn(d,m),ou(e,n),n.tag=1,qt(d)?(e=!0,Vl(n)):e=!1,is(n,a),dp(n,d,m),Yc(n,d,m,a),ed(null,n,d,!0,e,a);case 19:return kp(e,n,a);case 22:return wp(e,n,a)}throw Error(o(156,n.tag))};function Qp(e,n){return ml(e,n)}function _0(e,n,a,d){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,786 bytes, line 8
8ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(e,n,a,d){return new _0(e,n,a,d)}function xd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function x0(e){if(typeof e=="function")return xd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ye)return 11;if(e===Ge)return 14}return 2}function yr(e,n){var a=e.alternate;return a===null?(a=kn(e.tag,n,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=n,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&14680064,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,n=e.dependencies,a.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function gu(e,n,a,d,m,y){var b=2;if(d=e,typeof e=="function")xd(e)&&(b=1);else if(typeof e=="string")b=5;else e:switch(e){case ue:return oo(a.children,m,y,n);case ae:b=8,m|=8;break;case Re:return e=kn(12,a,n,m|2),e.elementType=Re,e.lanes=y,e;case it:return e=kn(13,a,n,m),e.elementType=it,e.lanes=y,e;case de:return e=kn(19,a,n,m),e.elementType=de,e.lanes=y,e;case _e:return vu(a,m,y,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oe:b=10;break e;case Me:b=9;break e;case ye:b=11;break e;case Ge:b=14;break e;case ke:b=16,d=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=kn(b,a,n,m),n.elementType=e,n.type=d,n.lanes=y,n}function oo(e,n,a,d){return e=kn(7,e,d,n),e.lanes=a,e}function vu(e,n,a,d){return e=kn(22,e,d,n),e.elementType=_e,e.lanes=a,e.stateNode={isHidden:!1},e}function wd(e,n,a){return e=kn(6,e,null,n),e.lanes=a,e}function Td(e,n,a){return n=kn(4,e.children!==null?e.children:[],e.key,n),n.lanes=a,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function w0(e,n,a,d,m){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Zi(0),this.expirationTimes=Zi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zi(0),this.identifierPrefix=d,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Pd(e,n,a,d,m,y,b,k,O){return e=new w0(e,n,a,k,O),n===1?(n=1,y===!0&&(n|=8)):n=0,y=kn(3,null,null,n),e.current=y,y.stateNode=e,y.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ic(y),e}function T0(e,n,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:re,key:d==null?null:""+d,children:e,containerInfo:n,implementation:a}}function Jp(e){if(!e)return ur;e=e._reactInternals;e:{if(Wn(e)!==e||e.tag!==1)throw Error(o(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(qt(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(e.tag===1){var a=e.type;if(qt(a))return Eh(e,a,n)}return n}function em(e,n,a,d,m,y,b,k,O){return e=Pd(a,d,!0,e,m,y,b,k,O),e.context=Jp(null),a=e.current,d=Zt(),m=gr(a),y=Ci(d,m),y.callback=n??null,fr(a,y,m),e.current.lanes=m,nn(e,m,d),Qt(e,d),e}function yu(e,n,a,d){var m=n.current,y=Zt(),b=gr(m);return a=Jp(a),n.context===null?n.context=a:n.pendingContext=a,n=Ci(y,b),n.payload={element:e},d=d===void 0?null:d,d!==null&&(n.callback=d),e=fr(m,n,b),e!==null&&(Vn(e,m,b,y),ql(e,m,b)),b}function _u(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function tm(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<n?a:n}}function bd(e,n){tm(e,n),(e=e.alternate)&&tm(e,n)}function P0(){return null}var nm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Sd(e){this._internalRoot=e}xu.prototype.render=Sd.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(o(409));yu(e,n,null,null)},xu.prototype.unmount=Sd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;no(function(){yu(null,e,null,null)}),n[Ue]=null}};function xu(e){this._internalRoot=e}xu.prototype.unstable_scheduleHydration=function(e){if(e){var n=Mo();e={blockedOn:null,target:e,priority:n};for(var a=0;a<_t.length&&n!==0&&n<_t[a].priority;a++);_t.splice(a,0,e),a===0&&No(e)}};function Cd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function im(){}function b0(e,n,a,d,m){if(m){if(typeof d=="function"){var y=d;d=function(){var Z=_u(b);y.call(Z)}}var b=em(n,d,e,0,null,!1,!1,"",im);return e._reactRootContainer=b,e[Ue]=b.current,rr(e.nodeType===8?e.parentNode:e),no(),b}for(;m=e.lastChild;)e.removeChild(m);if(typeof d=="function"){var k=d;d=function(){var Z=_u(O);k.call(Z)}}var O=Pd(e,0,!1,null,null,!1,!1,"",im);return e._reactRootContainer=O,e[Ue]=O.current,rr(e.nodeType===8?e.parentNode:e),no(function(){yu(n,O,a,d)}),O}function Tu(e,n,a,d,m){var y=a._reactRootContainer;if(y){var b=y;if(typeof m=="function"){var k=m;m=function(){var O=_u(b);k.call(O)}}yu(n,b,e,m)}else b=b0(a,n,e,m,d);return _u(b)}Lo=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var a=Ce(n.pendingLanes);
8a!==0&&(Nn(n,a|1),Qt(n,rt()),(Fe&6)===0&&(ls=rt()+500,cr()))}break;case 13:no(function(){var d=Si(e,1);if(d!==null){var m=Zt();Vn(d,e,1,m)}}),bd(e,1)}},ci=function(e){if(e.tag===13){var n=Si(e,134217728);if(n!==null){var a=Zt();Vn(n,e,134217728,a)}bd(e,134217728)}},Ao=function(e){if(e.tag===13){var n=gr(e),a=Si(e,n);if(a!==null){var d=Zt();Vn(a,e,n,d)}bd(e,n)}},Mo=function(){return Be},zr=function(e,n){var a=Be;try{return Be=e,n()}finally{Be=a}},To=function(e,n,a){switch(n){case"input":if(Lr(e,a),n=a.name,a.type==="radio"&&n!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<a.length;n++){var d=a[n];if(d!==e&&d.form===e.form){var m=qo(d);if(!m)throw Error(o(90));Ii(d),Lr(d,m)}}}break;case"textarea":nl(e,a);break;case"select":n=a.value,n!=null&&Zn(e,!!a.multiple,n,!1)}},ul=vd,cl=no;var S0={usingClientEntryPoint:!1,Events:[xi,wi,qo,al,ll,vd]},Pa={findFiberByHostInstance:_i,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},C0={bundleType:Pa.bundleType,version:Pa.version,rendererPackageName:Pa.rendererPackageName,rendererConfig:Pa.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=hl(e),e===null?null:e.stateNode},findFiberByHostInstance:Pa.findFiberByHostInstance||P0,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 Pu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pu.isDisabled&&Pu.supportsFiber)try{jr=Pu.inject(C0),tn=Pu}catch{}}return Jt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S0,Jt.createPortal=function(e,n){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cd(n))throw Error(o(200));return T0(e,n,null,a)},Jt.createRoot=function(e,n){if(!Cd(e))throw Error(o(299));var a=!1,d="",m=nm;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(d=n.identifierPrefix),n.onRecoverableError!==void 0&&(m=n.onRecoverableError)),n=Pd(e,1,!1,null,null,a,!1,d,m),e[Ue]=n.current,rr(e.nodeType===8?e.parentNode:e),new Sd(n)},Jt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=hl(n),e=e===null?null:e.stateNode,e},Jt.flushSync=function(e){return no(e)},Jt.hydrate=function(e,n,a){if(!wu(n))throw Error(o(200));return Tu(null,e,n,!0,a)},Jt.hydrateRoot=function(e,n,a){if(!Cd(e))throw Error(o(405));var d=a!=null&&a.hydratedSources||null,m=!1,y="",b=nm;if(a!=null&&(a.unstable_strictMode===!0&&(m=!0),a.identifierPrefix!==void 0&&(y=a.identifierPrefix),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),n=em(n,null,e,1,a??null,m,!1,y,b),e[Ue]=n.current,rr(e),d)for(e=0;e<d.length;e++)a=d[e],m=a._getVersion,m=m(a._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[a,m]:n.mutableSourceEagerHydrationData.push(a,m);return new xu(n)},Jt.render=function(e,n,a){if(!wu(n))throw Error(o(200));return Tu(null,e,n,!1,a)},Jt.unmountComponentAtNode=function(e){if(!wu(e))throw Error(o(40));return e._reactRootContainer?(no(function(){Tu(null,null,e,!1,function(){e._reactRootContainer=null,e[Ue]=null})}),!0):!1},Jt.unstable_batchedUpdates=vd,Jt.unstable_renderSubtreeIntoContainer=function(e,n,a,d){if(!wu(a))throw Error(o(200));if(e==null||e._reactInternals===void 0)throw Error(o(38));return Tu(e,n,a,!1,d)},Jt.version="18.3.1-next-f1338f8080-20240426",Jt}var dm;function ev(){if(dm)return Ld.exports;dm=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(r){console.error(r)}}return i(),Ld.exports=j0(),Ld.exports}var fm;function I0(){if(fm)return bu;fm=1;var i=ev();return bu.createRoot=i.createRoot,bu.hydrateRoot=i.hydrateRoot,bu}var z0=I0();const D0=Er(z0);var Gu=ev();const B0=Er(Gu);function Ba(){return Ba=Object.assign?Object.assign.bind():function(i){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var l in o)({}).hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},Ba.apply(null,arguments)}var Pr;(function(i){i.Pop="POP",i.Push="PUSH",i.Replace="REPLACE"})(Pr||(Pr={}));const hm="popstate";function F0(i){i===void 0&&(i={});function r(l,c){let{pathname:f,search:h,hash:g}=l.location;return rf("",{pathname:f,search:h,hash:g},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function o(l,c){return typeof c=="string"?c:ju(c)}return U0(r,o,null,i)}function yt(i,r){if(i===!1||i===null||typeof i>"u")throw new Error(r)}function Of(i,r){if(!i){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function V0(){return Math.random().toString(36).substr(2,8)}function pm(i,r){return{usr:i.state,key:i.key,idx:r}}function rf(i,r,o,l){return o===void 0&&(o=null),Ba({pathname:typeof i=="string"?i:i.pathname,search:"",hash:""}
vendor: 8,943 bytes, line 8
8,typeof r=="string"?ws(r):r,{state:o,key:r&&r.key||l||V0()})}function ju(i){let{pathname:r="/",search:o="",hash:l=""}=i;return o&&o!=="?"&&(r+=o.charAt(0)==="?"?o:"?"+o),l&&l!=="#"&&(r+=l.charAt(0)==="#"?l:"#"+l),r}function ws(i){let r={};if(i){let o=i.indexOf("#");o>=0&&(r.hash=i.substr(o),i=i.substr(0,o));let l=i.indexOf("?");l>=0&&(r.search=i.substr(l),i=i.substr(0,l)),i&&(r.pathname=i)}return r}function U0(i,r,o,l){l===void 0&&(l={});let{window:c=document.defaultView,v5Compat:f=!1}=l,h=c.history,g=Pr.Pop,v=null,x=w();x==null&&(x=0,h.replaceState(Ba({},h.state,{idx:x}),""));function w(){return(h.state||{idx:null}).idx}function P(){g=Pr.Pop;let M=w(),D=M==null?null:M-x;x=M,v&&v({action:g,location:N.location,delta:D})}function C(M,D){g=Pr.Push;let V=rf(N.location,M,D);x=w()+1;let W=pm(V,x),Y=N.createHref(V);try{h.pushState(W,"",Y)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;c.location.assign(Y)}f&&v&&v({action:g,location:N.location,delta:1})}function R(M,D){g=Pr.Replace;let V=rf(N.location,M,D);x=w();let W=pm(V,x),Y=N.createHref(V);h.replaceState(W,"",Y),f&&v&&v({action:g,location:N.location,delta:0})}function z(M){let D=c.location.origin!=="null"?c.location.origin:c.location.href,V=typeof M=="string"?M:ju(M);return V=V.replace(/ $/,"%20"),yt(D,"No window.location.(origin|href) available to create URL for href: "+V),new URL(V,D)}let N={get action(){return g},get location(){return i(c,h)},listen(M){if(v)throw new Error("A history only accepts one active listener");return c.addEventListener(hm,P),v=M,()=>{c.removeEventListener(hm,P),v=null}},createHref(M){return r(c,M)},createURL:z,encodeLocation(M){let D=z(M);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:C,replace:R,go(M){return h.go(M)}};return N}var mm;(function(i){i.data="data",i.deferred="deferred",i.redirect="redirect",i.error="error"})(mm||(mm={}));function H0(i,r,o){return o===void 0&&(o="/"),Z0(i,r,o)}function Z0(i,r,o,l){let c=typeof r=="string"?ws(r):r,f=jf(c.pathname||"/",o);if(f==null)return null;let h=tv(i);W0(h);let g=null,v=ix(f);for(let x=0;g==null&&x<h.length;++x)g=ex(h[x],v);return g}function tv(i,r,o,l){r===void 0&&(r=[]),o===void 0&&(o=[]),l===void 0&&(l="");let c=(f,h,g)=>{let v={relativePath:g===void 0?f.path||"":g,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};v.relativePath.startsWith("/")&&(yt(v.relativePath.startsWith(l),'Absolute route path "'+v.relativePath+'" nested under path '+('"'+l+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),v.relativePath=v.relativePath.slice(l.length));let x=br([l,v.relativePath]),w=o.concat(v);f.children&&f.children.length>0&&(yt(f.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+x+'".')),tv(f.children,r,w,x)),!(f.path==null&&!f.index)&&r.push({path:x,score:Q0(x,f.index),routesMeta:w})};return i.forEach((f,h)=>{var g;if(f.path===""||!((g=f.path)!=null&&g.includes("?")))c(f,h);else for(let v of nv(f.path))c(f,h,v)}),r}function nv(i){let r=i.split("/");if(r.length===0)return[];let[o,...l]=r,c=o.endsWith("?"),f=o.replace(/\?$/,"");if(l.length===0)return c?[f,""]:[f];let h=nv(l.join("/")),g=[];return g.push(...h.map(v=>v===""?f:[f,v].join("/"))),c&&g.push(...h),g.map(v=>i.startsWith("/")&&v===""?"/":v)}function W0(i){i.sort((r,o)=>r.score!==o.score?o.score-r.score:J0(r.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}const $0=/^:[\w-]+$/,G0=3,K0=2,q0=1,Y0=10,X0=-2,gm=i=>i==="*";function Q0(i,r){let o=i.split("/"),l=o.length;return o.some(gm)&&(l+=X0),r&&(l+=K0),o.filter(c=>!gm(c)).reduce((c,f)=>c+($0.test(f)?G0:f===""?q0:Y0),l)}function J0(i,r){return i.length===r.length&&i.slice(0,-1).every((l,c)=>l===r[c])?i[i.length-1]-r[r.length-1]:0}function ex(i,r,o){let{routesMeta:l}=i,c={},f="/",h=[];for(let g=0;g<l.length;++g){let v=l[g],x=g===l.length-1,w=f==="/"?r:r.slice(f.length)||"/",P=tx({path:v.relativePath,caseSensitive:v.caseSensitive,end:x},w),C=v.route;if(!P)return null;Object.assign(c,P.params),h.push({params:c,pathname:br([f,P.pathname]),pathnameBase:lx(br([f,P.pathnameBase])),route:C}),P.pathnameBase!=="/"&&(f=br([f,P.pathnameBase]))}return h}function tx(i,r){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[o,l]=nx(i.path,i.caseSensitive,i.end),c=r.match(o);if(!c)return null;let f=c[0],h=f.replace(/(.)\/+$/,"$1"),g=c.slice(1);return{params:l.reduce((x,w,P)=>{let{paramName:C,isOptional:R}=w;if(C==="*"){let N=g[P]||"";h=f.slice(0,f.length-N.length).replace(/(.)\/+$/,"$1")}const z=g[P];return R&&!z?x[C]=void 0:x[C]=(z||"").replace(/%2F/g,"/"),x},{}),pathname:f,pathnameBase:h,pattern:i}}function nx(i,r,o){r===void 0&&(r=!1),o===void 0&&(o=!0),Of(i==="*"||!i.endsWith("*")||i.endsWith("/*"),'Route path "'+i+'" will be treated as if it were '+('"'+i.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+i.replace(/\*$/,"/*")+'".'));let l=[],c="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,g,v)=>(l.push({paramName:g,isOptional:v!=null}),v?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(l.push({paramName:"*"}),c+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?c+="\\/*$":i!==""&&i!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,r?void 0:"i"),l]}function ix(i){try{return i.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Of(!1,'The URL path "'+i+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+r+").")),i}}function jf(i,r){if(r==="/")return i;if(!i.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,l=i.charAt(o);return l&&l!=="/"?null:i.slice(o)||"/"}const rx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ox=i=>rx.test(i);function sx(i,r){r===void 0&&(r="/");let{pathname:o,search:l="",hash:c=""}=typeof i=="string"?ws(i):i,f;if(o)if(ox(o))f=o;else{if(o.includes("//")){let h=o;o=ov(o),Of(!1,"Pathnames cannot have embedded double slashes - normalizing "+(h+" -> "+o))}o.startsWith("/")?f=vm(o.substring(1),"/"):f=vm(o,r)}else f=r;return{pathname:f,search:ux(l),hash:cx(c)}}function vm(i,r){let o=r.replace(/\/+$/,"").split("/");return i.split("/").forEach(c=>{c===".."?o.length>1&&o.pop():c!=="."&&o.push(c)}),o.length>1?o.join("/"):"/"}function Nd(i,r,o,l){return"Cannot include a '"+i+"' character in a manually specified "+("`to."+r+"` field ["+JSON.stringify(l)+"].  Please separate it out to the ")+("`to."+o+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function ax(i){return i.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function iv(i,r){let o=ax(i);return r?o.map((l,c)=>c===o.length-1?l.pathname:l.pathnameBase):o.map(l=>l.pathnameBase)}function rv(i,r,o,l){l===void 0&&(l=!1);let c;typeof i=="string"?c=ws(i):(c=Ba({},i),yt(!c.pathname||!c.pathname.includes("?"),Nd("?","pathname","search",c)),yt(!c.pathname||!c.pathname.includes("#"),Nd("#","pathname","hash",c)),yt(!c.search||!c.search.includes("#"),Nd("#","search","hash",c)));let f=i===""||c.pathname==="",h=f?"/":c.pathname,g;if(h==null)g=o;else{let P=r.length-1;if(!l&&h.startsWith("..")){let C=h.split("/");for(;C[0]==="..";)C.shift(),P-=1;c.pathname=C.join("/")}g=P>=0?r[P]:"/"}let v=sx(c,g),x=h&&h!=="/"&&h.endsWith("/"),w=(f||h===".")&&o.endsWith("/");return!v.pathname.endsWith("/")&&(x||w)&&(v.pathname+="/"),v}const ov=i=>i.replace(/\/\/+/g,"/"),br=i=>ov(i.join("/")),lx=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),ux=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,cx=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function dx(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}const sv=["post","put","patch","delete"];new Set(sv);const fx=["get",...sv];new Set(fx);function Fa(){return Fa=Object.assign?Object.assign.bind():function(i){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var l in o)({}).hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},Fa.apply(null,arguments)}const If=E.createContext(null),hx=E.createContext(null),po=E.createContext(null),Ku=E.createContext(null),mo=E.createContext({outlet:null,matches:[],isDataRoute:!1}),av=E.createContext(null);function px(i,r){let{relative:o}=r===void 0?{}:r;Ka()||yt(!1);let{basename:l,navigator:c}=E.useContext(po),{hash:f,pathname:h,search:g}=cv(i,{relative:o}),v=h;return l!=="/"&&(v=h==="/"?l:br([l,h])),c.createHref({pathname:v,search:g,hash:f})}function Ka(){return E.useContext(Ku)!=null}function qa(){return Ka()||yt(!1),E.useContext(Ku).location}function lv(i){E.useContext(po).static||E.useLayoutEffect(i)}function uv(){let{isDataRoute:i}=E.useContext(mo);return i?Ex():mx()}function mx(){Ka()||yt(!1);
vendor: 4,539 bytes, line 8
8let i=E.useContext(If),{basename:r,future:o,navigator:l}=E.useContext(po),{matches:c}=E.useContext(mo),{pathname:f}=qa(),h=JSON.stringify(iv(c,o.v7_relativeSplatPath)),g=E.useRef(!1);return lv(()=>{g.current=!0}),E.useCallback(function(x,w){if(w===void 0&&(w={}),!g.current)return;if(typeof x=="number"){l.go(x);return}let P=rv(x,JSON.parse(h),f,w.relative==="path");i==null&&r!=="/"&&(P.pathname=P.pathname==="/"?r:br([r,P.pathname])),(w.replace?l.replace:l.push)(P,w.state,w)},[r,l,h,f,i])}function cv(i,r){let{relative:o}=r===void 0?{}:r,{future:l}=E.useContext(po),{matches:c}=E.useContext(mo),{pathname:f}=qa(),h=JSON.stringify(iv(c,l.v7_relativeSplatPath));return E.useMemo(()=>rv(i,JSON.parse(h),f,o==="path"),[i,h,f,o])}function gx(i,r){return vx(i,r)}function vx(i,r,o,l){Ka()||yt(!1);let{navigator:c}=E.useContext(po),{matches:f}=E.useContext(mo),h=f[f.length-1],g=h?h.params:{};h&&h.pathname;let v=h?h.pathnameBase:"/";h&&h.route;let x=qa(),w;if(r){var P;let M=typeof r=="string"?ws(r):r;v==="/"||(P=M.pathname)!=null&&P.startsWith(v)||yt(!1),w=M}else w=x;let C=w.pathname||"/",R=C;if(v!=="/"){let M=v.replace(/^\//,"").split("/");R="/"+C.replace(/^\//,"").split("/").slice(M.length).join("/")}let z=H0(i,{pathname:R}),N=Tx(z&&z.map(M=>Object.assign({},M,{params:Object.assign({},g,M.params),pathname:br([v,c.encodeLocation?c.encodeLocation(M.pathname).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?v:br([v,c.encodeLocation?c.encodeLocation(M.pathnameBase).pathname:M.pathnameBase])})),f,o,l);return r&&N?E.createElement(Ku.Provider,{value:{location:Fa({pathname:"/",search:"",hash:"",state:null,key:"default"},w),navigationType:Pr.Pop}},N):N}function yx(){let i=Cx(),r=dx(i)?i.status+" "+i.statusText:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,c={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},r),o?E.createElement("pre",{style:c},o):null,null)}const _x=E.createElement(yx,null);class xx extends E.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,o){return o.location!==r.location||o.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:o.error,location:o.location,revalidation:r.revalidation||o.revalidation}}componentDidCatch(r,o){console.error("React Router caught the following error during render",r,o)}render(){return this.state.error!==void 0?E.createElement(mo.Provider,{value:this.props.routeContext},E.createElement(av.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function wx(i){let{routeContext:r,match:o,children:l}=i,c=E.useContext(If);return c&&c.static&&c.staticContext&&(o.route.errorElement||o.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=o.route.id),E.createElement(mo.Provider,{value:r},l)}function Tx(i,r,o,l){var c;if(r===void 0&&(r=[]),o===void 0&&(o=null),l===void 0&&(l=null),i==null){var f;if(!o)return null;if(o.errors)i=o.matches;else if((f=l)!=null&&f.v7_partialHydration&&r.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let h=i,g=(c=o)==null?void 0:c.errors;if(g!=null){let w=h.findIndex(P=>P.route.id&&g?.[P.route.id]!==void 0);w>=0||yt(!1),h=h.slice(0,Math.min(h.length,w+1))}let v=!1,x=-1;if(o&&l&&l.v7_partialHydration)for(let w=0;w<h.length;w++){let P=h[w];if((P.route.HydrateFallback||P.route.hydrateFallbackElement)&&(x=w),P.route.id){let{loaderData:C,errors:R}=o,z=P.route.loader&&C[P.route.id]===void 0&&(!R||R[P.route.id]===void 0);if(P.route.lazy||z){v=!0,x>=0?h=h.slice(0,x+1):h=[h[0]];break}}}return h.reduceRight((w,P,C)=>{let R,z=!1,N=null,M=null;o&&(R=g&&P.route.id?g[P.route.id]:void 0,N=P.route.errorElement||_x,v&&(x<0&&C===0?(kx("route-fallback"),z=!0,M=null):x===C&&(z=!0,M=P.route.hydrateFallbackElement||null)));let D=r.concat(h.slice(0,C+1)),V=()=>{let W;return R?W=N:z?W=M:P.route.Component?W=E.createElement(P.route.Component,null):P.route.element?W=P.route.element:W=w,E.createElement(wx,{match:P,routeContext:{outlet:w,matches:D,isDataRoute:o!=null},children:W})};return o&&(P.route.ErrorBoundary||P.route.errorElement||C===0)?E.createElement(xx,{location:o.location,revalidation:o.revalidation,component:N,error:R,children:V(),routeC
8ontext:{outlet:null,matches:D,isDataRoute:!0}}):V()},null)}var dv=(function(i){return i.UseBlocker="useBlocker",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i})(dv||{}),fv=(function(i){return i.UseBlocker="useBlocker",i.UseLoaderData="useLoaderData",i.UseActionData="useActionData",i.UseRouteError="useRouteError",i.UseNavigation="useNavigation",i.UseRouteLoaderData="useRouteLoaderData",i.UseMatches="useMatches",i.UseRevalidator="useRevalidator",i.UseNavigateStable="useNavigate",i.UseRouteId="useRouteId",i})(fv||{});function Px(i){let r=E.useContext(If);return r||yt(!1),r}function bx(i){let r=E.useContext(hx);return r||yt(!1),r}function Sx(i){let r=E.useContext(mo);return r||yt(!1),r}function hv(i){let r=Sx(),o=r.matches[r.matches.length-1];return o.route.id||yt(!1),o.route.id}function Cx(){var i;let r=E.useContext(av),o=bx(),l=hv();return r!==void 0?r:(i=o.errors)==null?void 0:i[l]}function Ex(){let{router:i}=Px(dv.UseNavigateStable),r=hv(fv.UseNavigateStable),o=E.useRef(!1);return lv(()=>{o.current=!0}),E.useCallback(function(c,f){f===void 0&&(f={}),o.current&&(typeof c=="number"?i.navigate(c):i.navigate(c,Fa({fromRouteId:r},f)))},[i,r])}const ym={};function kx(i,r,o){ym[i]||(ym[i]=!0)}function Lx(i,r){i?.v7_startTransition,i?.v7_relativeSplatPath}function Mu(i){yt(!1)}function Ax(i){let{basename:r="/",children:o=null,location:l,navigationType:c=Pr.Pop,navigator:f,static:h=!1,future:g}=i;Ka()&&yt(!1);let v=r.replace(/^\/*/,"/"),x=E.useMemo(()=>({basename:v,navigator:f,static:h,future:Fa({v7_relativeSplatPath:!1},g)}),[v,g,f,h]);typeof l=="string"&&(l=ws(l));let{pathname:w="/",search:P="",hash:C="",state:R=null,key:z="default"}=l,N=E.useMemo(()=>{let M=jf(w,v);return M==null?null:{location:{pathname:M,search:P,hash:C,state:R,key:z},navigationType:c}},[v,w,P,C,R,z,c]);return N==null?null:E.createElement(po.Provider,{value:x},E.createElement(Ku.Provider,{children:o,value:N}))}function Mx(i){let{children:r,location:o}=i;return gx(of(r),o)}new Promise(()=>{});function of(i,r){r===void 0&&(r=[]);let o=[];return E.Children.forEach(i,(l,c)=>{if(!E.isValidElement(l))return;let f=[...r,c];if(l.type===E.Fragment){o.push.apply(o,of(l.props.children,f));return}l.type!==Mu&&yt(!1),!l.props.index||!l.props.children||yt(!1);let h={id:l.props.id||f.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,loader:l.props.loader,action:l.props.action,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(h.children=of(l.props.children,f)),o.push(h)}),o}function sf(){return sf=Object.assign?Object.assign.bind():function(i){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var l in o)({}).hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},sf.apply(null,arguments)}function Nx(i,r){if(i==null)return{};var o={};for(var l in i)if({}.hasOwnProperty.call(i,l)){if(r.indexOf(l)!==-1)continue;o[l]=i[l]}return o}function Rx(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function Ox(i,r){return i.button===0&&(!r||r==="_self")&&!Rx(i)}const jx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Ix="6";try{window.__reactRouterVersion=Ix}catch{}const zx="startTransition",_m=N0[zx];function Dx(i){let{basename:r,children:o,future:l,window:c}=i,f=E.useRef();f.current==null&&(f.current=F0({window:c,v5Compat:!0}));let h=f.current,[g,v]=E.useState({action:h.action,location:h.location}),{v7_startTransition:x}=l||{},w=E.useCallback(P=>{x&&_m?_m(()=>v(P)):v(P)},[v,x]);return E.useLayoutEffect(()=>h.listen(w),[h,w]),E.useEffect(()=>Lx(l),[l]),E.createElement(Ax,{basename:r,children:o,location:g.location,navigationType:g.action,navigator:h,future:l})}const Bx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Iu=E.forwardRef(function(r,o){let{onClick:l,relative:c,reloadDocument:f,replace:h,state:g,target:v,to:x,preventScrollReset:w,viewTransition:P}=r,C=Nx(r,jx),{basename:R}=E.useContext(po),z,N=!1;
8if(typeof x=="string"&&Fx.test(x)&&(z=x,Bx))try{let W=new URL(window.location.href),Y=x.startsWith("//")?new URL(W.protocol+x):new URL(x),J=jf(Y.pathname,R);Y.origin===W.origin&&J!=null?x=J+Y.search+Y.hash:N=!0}catch{}let M=px(x,{relative:c}),D=Vx(x,{replace:h,state:g,target:v,preventScrollReset:w,relative:c,viewTransition:P});function V(W){l&&l(W),W.defaultPrevented||D(W)}return E.createElement("a",sf({},C,{href:z||M,onClick:N||f?l:V,ref:o,target:v}))});var xm;(function(i){i.UseScrollRestoration="useScrollRestoration",i.UseSubmit="useSubmit",i.UseSubmitFetcher="useSubmitFetcher",i.UseFetcher="useFetcher",i.useViewTransitionState="useViewTransitionState"})(xm||(xm={}));var wm;(function(i){i.UseFetcher="useFetcher",i.UseFetchers="useFetchers",i.UseScrollRestoration="useScrollRestoration"})(wm||(wm={}));function Vx(i,r){let{target:o,replace:l,state:c,preventScrollReset:f,relative:h,viewTransition:g}=r===void 0?{}:r,v=uv(),x=qa(),w=cv(i,{relative:h});return E.useCallback(P=>{if(Ox(P,o)){P.preventDefault();let C=l!==void 0?l:ju(x)===ju(w);v(i,{replace:C,state:c,preventScrollReset:f,relative:h,viewTransition:g})}},[x,v,w,l,c,o,i,f,h,g])}var Rd={exports:{}},Od,Tm;function Ux(){if(Tm)return Od;Tm=1;var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Od=i,Od}var jd,Pm;function Hx(){if(Pm)return jd;Pm=1;var i=Ux();function r(){}function o(){}return o.resetWarningCache=r,jd=function(){function l(h,g,v,x,w,P){if(P!==i){var C=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw C.name="Invariant Violation",C}}l.isRequired=l;function c(){return l}var f={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,elementType:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c,checkPropTypes:o,resetWarningCache:r};return f.PropTypes=f,f},jd}var bm;function Zx(){return bm||(bm=1,Rd.exports=Hx()()),Rd.exports}var Wx=Zx();const tt=Er(Wx);var Id,Sm;function $x(){if(Sm)return Id;Sm=1;function i(g){return g&&typeof g=="object"&&"default"in g?g.default:g}var r=$u(),o=i(r);function l(g,v,x){return v in g?Object.defineProperty(g,v,{value:x,enumerable:!0,configurable:!0,writable:!0}):g[v]=x,g}function c(g,v){g.prototype=Object.create(v.prototype),g.prototype.constructor=g,g.__proto__=v}var f=!!(typeof window<"u"&&window.document&&window.document.createElement);function h(g,v,x){if(typeof g!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof v!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof x<"u"&&typeof x!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function w(P){return P.displayName||P.name||"Component"}return function(C){if(typeof C!="function")throw new Error("Expected WrappedComponent to be a React component.");var R=[],z;function N(){z=g(R.map(function(D){return D.props})),M.canUseDOM?v(z):x&&(z=x(z))}var M=(function(D){c(V,D);function V(){return D.apply(this,arguments)||this}V.peek=function(){return z},V.rewind=function(){if(V.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var J=z;return z=void 0,R=[],J};var W=V.prototype;return W.UNSAFE_componentWillMount=function(){R.push(this),N()},W.componentDidUpdate=function(){N()},W.componentWillUnmount=function(){var J=R.indexOf(this);R.splice(J,1),N()},W.render=function(){return o.createElement(C,this.props)},V})(r.PureComponent);return l(M,"displayName","SideEffect("+w(C)+")"),l(M,"canUseDOM",f),M}}return Id=h,Id}var Gx=$x();const Kx=Er(Gx);var zd,Cm;function qx(){if(Cm)return zd;Cm=1;var i=typeof Element<"u",r=typeof Map=="function",o=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function c(f,h){if(f===h)return!0;if(f&&h&&typeof f=="object"&&typeof h=="object"){if(f.constructor!==h.constructor)return!1;var g,v,x;if(Array.isArray(f)){if(g=f.length,g!=h.length)return!1;for(v=g;v--!==0;)if(!c(f[v],h[v]))return!1;return!0}var w;if(r&&f instanceof Map&&h instanceof Map){if(f.size!==h.size)return!1;for(w=f.entries();!(v=w.next()).done;)if(!h.has(v.value[0]))return!1;for(w=f.entries();!(v=w.next()).done;)if(!c(v.value[1],h.get(v.value[0])))return!1;return!0}if(o&&f instanceof Set&&h instanceof Set){if(f.size!==h.size)return!1;for(w=f.entries();!(v=w.next()).done;)if(!h.has(v.value[0]))return!1;return!0}
8if(l&&ArrayBuffer.isView(f)&&ArrayBuffer.isView(h)){if(g=f.length,g!=h.length)return!1;for(v=g;v--!==0;)if(f[v]!==h[v])return!1;return!0}if(f.constructor===RegExp)return f.source===h.source&&f.flags===h.flags;if(f.valueOf!==Object.prototype.valueOf&&typeof f.valueOf=="function"&&typeof h.valueOf=="function")return f.valueOf()===h.valueOf();if(f.toString!==Object.prototype.toString&&typeof f.toString=="function"&&typeof h.toString=="function")return f.toString()===h.toString();if(x=Object.keys(f),g=x.length,g!==Object.keys(h).length)return!1;for(v=g;v--!==0;)if(!Object.prototype.hasOwnProperty.call(h,x[v]))return!1;if(i&&f instanceof Element)return!1;for(v=g;v--!==0;)if(!((x[v]==="_owner"||x[v]==="__v"||x[v]==="__o")&&f.$$typeof)&&!c(f[x[v]],h[x[v]]))return!1;return!0}return f!==f&&h!==h}return zd=function(h,g){try{return c(h,g)}catch(v){if((v.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw v}},zd}var Yx=qx();const Xx=Er(Yx);var Dd,Em;function Qx(){if(Em)return Dd;Em=1;var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function l(f){if(f==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(f)}function c(){try{if(!Object.assign)return!1;var f=new String("abc");if(f[5]="de",Object.getOwnPropertyNames(f)[0]==="5")return!1;for(var h={},g=0;g<10;g++)h["_"+String.fromCharCode(g)]=g;var v=Object.getOwnPropertyNames(h).map(function(w){return h[w]});if(v.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(w){x[w]=w}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Dd=c()?Object.assign:function(f,h){for(var g,v=l(f),x,w=1;w<arguments.length;w++){g=Object(arguments[w]);for(var P in g)r.call(g,P)&&(v[P]=g[P]);if(i){x=i(g);for(var C=0;C<x.length;C++)o.call(g,x[C])&&(v[x[C]]=g[x[C]])}}return v},Dd}var Jx=Qx();const ew=Er(Jx);var co={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},Le={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"};Object.keys(Le).map(function(i){return Le[i]});var nt={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},zu={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Va={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},tw=Object.keys(zu).reduce(function(i,r){return i[zu[r]]=r,i},{}),nw=[Le.NOSCRIPT,Le.SCRIPT,Le.STYLE],Hn="data-react-helmet",iw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},rw=function(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")},ow=(function(){function i(r,o){for(var l=0;l<o.length;l++){var c=o[l];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(r,c.key,c)}}return function(r,o,l){return o&&i(r.prototype,o),l&&i(r,l),r}})(),en=Object.assign||function(i){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},sw=function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)},km=function(i,r){var o={};for(var l in i)r.indexOf(l)>=0||Object.prototype.hasOwnProperty.call(i,l)&&(o[l]=i[l]);return o},aw=function(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i},af=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return o===!1?String(r):String(r).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},lw=function(r){var o=gs(r,Le.TITLE),l=gs(r,Va.TITLE_TEMPLATE);if(l&&o)return l.replace(/%s/g,function(){return Array.isArray(o)?o.join(""):o});var c=gs(r,Va.DEFAULT_TITLE);return o||c||void 0},uw=function(r){return gs(r,Va.ON_CHANGE_CLIENT_STATE)||function(){}},Bd=function(r,o){return o.filter(function(l){return typeof l[r]<"u"}).map(function(l){return l[r]}).reduce(function(l,c){return en({},l,c)},{})},cw=function(r,o){return o.filter(function(l){return typeof l[Le.BASE]<"u"}).map(function(l){return l[Le.BASE]}
8).reverse().reduce(function(l,c){if(!l.length)for(var f=Object.keys(c),h=0;h<f.length;h++){var g=f[h],v=g.toLowerCase();if(r.indexOf(v)!==-1&&c[v])return l.concat(c)}return l},[])},Sa=function(r,o,l){var c={};return l.filter(function(f){return Array.isArray(f[r])?!0:(typeof f[r]<"u"&&pw("Helmet: "+r+' should be of type "Array". Instead found type "'+iw(f[r])+'"'),!1)}).map(function(f){return f[r]}).reverse().reduce(function(f,h){var g={};h.filter(function(C){for(var R=void 0,z=Object.keys(C),N=0;N<z.length;N++){var M=z[N],D=M.toLowerCase();o.indexOf(D)!==-1&&!(R===nt.REL&&C[R].toLowerCase()==="canonical")&&!(D===nt.REL&&C[D].toLowerCase()==="stylesheet")&&(R=D),o.indexOf(M)!==-1&&(M===nt.INNER_HTML||M===nt.CSS_TEXT||M===nt.ITEM_PROP)&&(R=M)}if(!R||!C[R])return!1;var V=C[R].toLowerCase();return c[R]||(c[R]={}),g[R]||(g[R]={}),c[R][V]?!1:(g[R][V]=!0,!0)}).reverse().forEach(function(C){return f.push(C)});for(var v=Object.keys(g),x=0;x<v.length;x++){var w=v[x],P=ew({},c[w],g[w]);c[w]=P}return f},[]).reverse()},gs=function(r,o){for(var l=r.length-1;l>=0;l--){var c=r[l];if(c.hasOwnProperty(o))return c[o]}return null},dw=function(r){return{baseTag:cw([nt.HREF,nt.TARGET],r),bodyAttributes:Bd(co.BODY,r),defer:gs(r,Va.DEFER),encode:gs(r,Va.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Bd(co.HTML,r),linkTags:Sa(Le.LINK,[nt.REL,nt.HREF],r),metaTags:Sa(Le.META,[nt.NAME,nt.CHARSET,nt.HTTPEQUIV,nt.PROPERTY,nt.ITEM_PROP],r),noscriptTags:Sa(Le.NOSCRIPT,[nt.INNER_HTML],r),onChangeClientState:uw(r),scriptTags:Sa(Le.SCRIPT,[nt.SRC,nt.INNER_HTML],r),styleTags:Sa(Le.STYLE,[nt.CSS_TEXT],r),title:lw(r),titleAttributes:Bd(co.TITLE,r)}},lf=(function(){var i=Date.now();return function(r){var o=Date.now();o-i>16?(i=o,r(o)):setTimeout(function(){lf(r)},0)}})(),Lm=function(r){return clearTimeout(r)},fw=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||lf:global.requestAnimationFrame||lf,hw=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Lm:global.cancelAnimationFrame||Lm,pw=function(r){return console&&typeof console.warn=="function"&&console.warn(r)},Ca=null,mw=function(r){Ca&&hw(Ca),r.defer?Ca=fw(function(){Am(r,function(){Ca=null})}):(Am(r),Ca=null)},Am=function(r,o){var l=r.baseTag,c=r.bodyAttributes,f=r.htmlAttributes,h=r.linkTags,g=r.metaTags,v=r.noscriptTags,x=r.onChangeClientState,w=r.scriptTags,P=r.styleTags,C=r.title,R=r.titleAttributes;uf(Le.BODY,c),uf(Le.HTML,f),gw(C,R);var z={baseTag:cs(Le.BASE,l),linkTags:cs(Le.LINK,h),metaTags:cs(Le.META,g),noscriptTags:cs(Le.NOSCRIPT,v),scriptTags:cs(Le.SCRIPT,w),styleTags:cs(Le.STYLE,P)},N={},M={};Object.keys(z).forEach(function(D){var V=z[D],W=V.newTags,Y=V.oldTags;W.length&&(N[D]=W),Y.length&&(M[D]=z[D].oldTags)}),o&&o(),x(r,N,M)},pv=function(r){return Array.isArray(r)?r.join(""):r},gw=function(r,o){typeof r<"u"&&document.title!==r&&(document.title=pv(r)),uf(Le.TITLE,o)},uf=function(r,o){var l=document.getElementsByTagName(r)[0];if(l){for(var c=l.getAttribute(Hn),f=c?c.split(","):[],h=[].concat(f),g=Object.keys(o),v=0;v<g.length;v++){var x=g[v],w=o[x]||"";l.getAttribute(x)!==w&&l.setAttribute(x,w),f.indexOf(x)===-1&&f.push(x);var P=h.indexOf(x);P!==-1&&h.splice(P,1)}for(var C=h.length-1;C>=0;C--)l.removeAttribute(h[C]);f.length===h.length?l.removeAttribute(Hn):l.getAttribute(Hn)!==g.join(",")&&l.setAttribute(Hn,g.join(","))}},cs=function(r,o){var l=document.head||document.querySelector(Le.HEAD),c=l.querySelectorAll(r+"["+Hn+"]"),f=Array.prototype.slice.call(c),h=[],g=void 0;return o&&o.length&&o.forEach(function(v){var x=document.createElement(r);for(var w in v)if(v.hasOwnProperty(w))if(w===nt.INNER_HTML)x.innerHTML=v.innerHTML;else if(w===nt.CSS_TEXT)x.styleSheet?x.styleSheet.cssText=v.cssText:x.appendChild(document.createTextNode(v.cssText));else{var P=typeof v[w]>"u"?"":v[w];x.setAttribute(w,P)}x.setAttribute(Hn,"true"),f.some(function(C,R){return g=R,x.isEqualNode(C)})?f.splice(g,1):h.push(x)}),f.forEach(function(v){return v.parentNode.removeChild(v)}),h.forEach(function(v){return l.appendChild(v)}),{oldTags:f,newTags:h}},mv=function(r){return Object.keys(r).reduce(function(o,l){var c=typeof r[l]<"u"?l+'="'+r[l]+'"':""+l;return o?o+" "+c:c},"")},vw=function(r,o,l,c){var f=mv(l),h=pv(o);return f?"<"+r+" "+Hn+'="true" '+f+">"+af(h,c)+"</"+r+">":"<"+r+" "+Hn+'="true">'+af(h,c)+"</"+r+">"},yw=function(r,o,l){return o.reduce(function(c,f){var h=Object.keys(f).filter(function(x){return!(x===nt.INNER_HTML||x===nt.CSS_TEXT)}).reduce(function(x,w){var P=typeof f[w]>"u"?w:w+'="'+af(f[w],l)+'"';return x?x+" "+P:P},""),g=f.innerHTML||f.cssText||"",v=nw.indexOf(r)===-1;return c+"<"+r+" "+Hn+'="true" '+h+(v?"/>":">"+g+"</"+r+">")},"")},gv=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(l,c){return l[zu[c]||c]=r[c],l},o)},_w=function(r){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(r).reduce(function(l,c){return l[tw[c]||c]=r[c],l},o)},xw=function(r,o,l){var c,f=(c={key:o},c[Hn]=!0,c),h=gv(l,f);return[lt.createElement(Le.TITLE,h,o)]},ww=function(r,o){return o.map(function(l,c){var f,h=(f={key:c},f[Hn]=!0,f);return Object.keys(l).forEach(function(g){var v=zu[g]||g;if(v===nt.INNER_HTML||v===nt.CSS_TEXT){var x=l.innerHTML||l.cssText;h.dangerouslySetInnerHTML={__html:x}}else h[v]=l[g]}),lt.createElement(r,h)})},Li=function(r,o,l){switch(r){case Le.TITLE:return{toComponent:function(){return xw(r,o.title,o.titleAttributes)},toString:function(){return vw(r,o.title,o.titleAttributes,l)}};case co.BODY:case co.HTML:return{toComponent:function(){return gv(o)},toString:function(){return mv(o)}};default:return{toComponent:function(){return ww(r,o)},toString:function(){return yw(r,o,l)}}}},vv=function(r){var o=r.baseTag,l=r.bodyAttributes,c=r.encode,f=r.htmlAttributes,h=r.linkTags,g=r.metaTags,v=r.noscriptTags,x=r.scriptTags,w=r.styleTags,P=r.title,C=P===void 0?"":P,R=r.titleAttributes;return{base:Li(Le.BASE,o,c),bodyAttributes:Li(co.BODY,l,c),htmlAttributes:Li(co.HTML,f,c),link:Li(Le.LINK,h,c),meta:Li(Le.META,g,c),noscript:Li(Le.NOSCRIPT,v,c),script:Li(Le.SCRIPT,x,c),style:Li(Le.STYLE,w,c),title:Li(Le.TIT
8LE,{title:C,titleAttributes:R},c)}},Tw=function(r){var o,l;return l=o=(function(c){sw(f,c);function f(){return rw(this,f),aw(this,c.apply(this,arguments))}return f.prototype.shouldComponentUpdate=function(g){return!Xx(this.props,g)},f.prototype.mapNestedChildrenToProps=function(g,v){if(!v)return null;switch(g.type){case Le.SCRIPT:case Le.NOSCRIPT:return{innerHTML:v};case Le.STYLE:return{cssText:v}}throw new Error("<"+g.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},f.prototype.flattenArrayTypeChildren=function(g){var v,x=g.child,w=g.arrayTypeChildren,P=g.newChildProps,C=g.nestedChildren;return en({},w,(v={},v[x.type]=[].concat(w[x.type]||[],[en({},P,this.mapNestedChildrenToProps(x,C))]),v))},f.prototype.mapObjectTypeChildren=function(g){var v,x,w=g.child,P=g.newProps,C=g.newChildProps,R=g.nestedChildren;switch(w.type){case Le.TITLE:return en({},P,(v={},v[w.type]=R,v.titleAttributes=en({},C),v));case Le.BODY:return en({},P,{bodyAttributes:en({},C)});case Le.HTML:return en({},P,{htmlAttributes:en({},C)})}return en({},P,(x={},x[w.type]=en({},C),x))},f.prototype.mapArrayTypeChildrenToProps=function(g,v){var x=en({},v);return Object.keys(g).forEach(function(w){var P;x=en({},x,(P={},P[w]=g[w],P))}),x}
8,f.prototype.warnOnInvalidChildren=function(g,v){return!0},f.prototype.mapChildrenToProps=function(g,v){var x=this,w={};return lt.Children.forEach(g,function(P){if(!(!P||!P.props)){var C=P.props,R=C.children,z=km(C,["children"]),N=_w(z);switch(x.warnOnInvalidChildren(P,R),P.type){case Le.LINK:case Le.META:case Le.NOSCRIPT:case Le.SCRIPT:case Le.STYLE:w=x.flattenArrayTypeChildren({child:P,arrayTypeChildren:w,newChildProps:N,nestedChildren:R});break;default:v=x.mapObjectTypeChildren({child:P,newProps:v,newChildProps:N,nestedChildren:R});break}}}),v=this.mapArrayTypeChildrenToProps(w,v),v},f.prototype.render=function(){var g=this.props,v=g.children,x=km(g,["children"]),w=en({},x);return v&&(w=this.mapChildrenToProps(v,w)),lt.createElement(r,w)},ow(f,null,[{key:"canUseDOM",set:function(g){r.canUseDOM=g}}]),f})(lt.Component),o.propTypes={base:tt.object,bodyAttributes:tt.object,children:tt.oneOfType([tt.arrayOf(tt.node),tt.node]),defaultTitle:tt.string,defer:tt.bool,encodeSpecialCharacters:tt.bool,htmlAttributes:tt.object,link:tt.arrayOf(tt.object),meta:tt.arrayOf(tt.object),noscript:tt.arrayOf(tt.object),onChangeClientState:tt.func,script:tt.arrayOf(tt.object),style:tt.arrayOf(tt.object),title:tt.string,titleAttributes:tt.object,titleTemplate:tt.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=r.peek,o.rewind=function(){var c=r.rewind();return c||(c=vv({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),c},l},Pw=function(){return null},bw=Kx(dw,mw,vv)(Pw),cf=Tw(bw);cf.renderStatic=cf.rewind;function Sw(i){if(typeof Proxy>"u")return i;const r=new Map,o=(...l)=>i(...l);return new Proxy(o,{get:(l,c)=>c==="create"?i:(r.has(c)||r.set(c,i(c)),r.get(c))})}function qu(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}const df=i=>Array.isArray(i);function yv(i,r){if(!Array.isArray(r))return!1;const o=r.length;if(o!==i.length)return!1;for(let l=0;l<o;l++)if(r[l]!==i[l])return!1;return!0}function Ua(i){return typeof i=="string"||Array.isArray(i)}function Mm(i){const r=[{},{}];return i?.values.forEach((o,l)=>{r[0][l]=o.get(),r[1][l]=o.getVelocity()}),r}function zf(i,r,o,l){if(typeof r=="function"){const[c,f]=Mm(l);r=r(o!==void 0?o:i.custom,c,f)}if(typeof r=="string"&&(r=i.variants&&i.variants[r]),typeof r=="function"){const[c,f]=Mm(l);r=r(o!==void 0?o:i.custom,c,f)}return r}function Yu(i,r,o){const l=i.getProps();return zf(l,r,o!==void 0?o:l.custom,i)}const Df=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Bf=["initial",...Df],Ya=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],go=new Set(Ya),Mi=i=>i*1e3,Ni=i=>i/1e3,Cw={type:"spring",stiffness:500,damping:25,restSpeed:10},Ew=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),kw={type:"keyframes",duration:.8},Lw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Aw=(i,{keyframes:r})=>r.length>2?kw:go.has(i)?i.startsWith("scale")?Ew(r[1]):Cw:Lw;function Ff(i,r){return i?i[r]||i.default||i:void 0}const Mw={useManualTiming:!1},Nw=i=>i!==null;function Xu(i,{repeat:r,repeatType:o="loop"},l){const c=i.filter(Nw),f=r&&o!=="loop"&&r%2===1?0:c.length-1;return!f||l===void 0?c[f]:l}const pn=i=>i;let _v=pn;function Rw(i){let r=new Set,o=new Set,l=!1,c=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function g(x){f.has(x)&&(v.schedule(x),i()),x(h)}const v={schedule:(x,w=!1,P=!1)=>{const R=P&&l?r:o;return w&&f.add(x),R.has(x)||R.add(x),x},cancel:x=>{o.delete(x),f.delete(x)},process:x=>{if(h=x,l){c=!0;return}l=!0,[r,o]=[o,r],r.forEach(g),r.clear(),l=!1,c&&(c=!1,v.process(x))}};return v}const Su=["read","resolveKeyframes","update","preRender","render","postRender"],Ow=40;function xv(i,r){let o=!1,l=!0;const c={delta:0,timestamp:0,isProcessing:!1},f=()=>o=!0,h=Su.reduce((D,V)=>(D[V]=Rw(f),D),{}),{read:g,resolveKeyframes:v,update:x,preRender:w,render:P,postRender:C}=h,R=()=>{const D=performance.now();o=!1,c.delta=l?1e3/60:Math.max(Math.min(D-c.timestamp,Ow),1),c.timestamp=D,c.isProcessing=!0,g.process(c),v.process(c),x.process(c),w.process(c),P.process(c),C.process(c),c.isProcessing=!1,o&&r&&(l=!1,i(R))},z=()=>{o=!0,l=!0,c.isProcessing||i(R)};return{schedule:Su.reduce((D,V)=>{const W=h[V];return D[V]=(Y,J=!1,re=!1)=>(o||z(),W.schedule(Y,J,re)),D},{}),cancel:D=>{for(let V=0;V<Su.length;V++)h[Su[V]].cancel(D)},state:c,steps:h}}const{schedule:Je,cancel:Sr,state:Lt,steps:Fd}=xv(typeof requestAnimationFrame<"u"?requestAnimationFrame:pn,!0),wv=(i,r,o)=>(((1-3*o+3*r)*i+(3*o-6*r))*i+3*r)*i,jw=1e-7,Iw=12;function zw(i,r,o,l,c){let f,h,g=0;do h=r+(o-r)/2,f=wv(h,l,c)-i,f>0?o=h:r=h;while(Math.abs(f)>jw&&++g<Iw);return h}function Xa(i,r,o,l){if(i===r&&o===l)return pn;const c=f=>zw(f,0,1,i,o);return f=>f===0||f===1?f:wv(c(f),r,l)}const Tv=i=>r=>r<=.5?i(2*r)/2:(2-i(2*(1-r)))/2,Pv=i=>r=>1-i(1-r),bv=Xa(.33,1.53,.69,.99),Vf=Pv(bv),Sv=Tv(Vf),Cv=i=>(i*=2)<1?.5*Vf(i):.5*(2-Math.pow(2,-10*(i-1))),Uf=i=>1-Math.sin(Math.acos(i)),Ev=Pv(Uf),kv=Tv(Uf),Lv=i=>/^0[^.\s]+$/u.test(i);function Dw(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||Lv(i):!0}const Av=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i),Mv=i=>r=>typeof r=="string"&&r.startsWith(i),Nv=Mv("--"),Bw=Mv("var(--"),Hf=i=>Bw(i)?Fw.test(i.split("/*")[0].trim()):!1,Fw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Uw(i){const r=Vw.exec(i);if(!r)return[,];const[,o,l,c]=r;return[`--${o??l}`,c]}function Rv(i,r,o=1){const[l,c]=Uw(i);if(!l)return;const f=window.getComputedStyle(r).getPropertyValue(l);if(f){const h=f.trim();return Av(h)?parseFloat(h):h}return Hf(c)?Rv(c,r,o+1):c}const Ri=(i,r,o)=>
8o>r?r:o<i?i:o,Ts={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},Ha={...Ts,transform:i=>Ri(0,1,i)},Cu={...Ts,default:1},Qa=i=>({test:r=>typeof r=="string"&&r.endsWith(i)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${i}`}),Tr=Qa("deg"),ii=Qa("%"),Pe=Qa("px"),Hw=Qa("vh"),Zw=Qa("vw"),Nm={...ii,parse:i=>ii.parse(i)/100,transform:i=>ii.transform(i*100)},Ww=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Rm=i=>i===Ts||i===Pe,Om=(i,r)=>parseFloat(i.split(", ")[r]),jm=(i,r)=>(o,{transform:l})=>{if(l==="none"||!l)return 0;const c=l.match(/^matrix3d\((.+)\)$/u);if(c)return Om(c[1],r);{const f=l.match(/^matrix\((.+)\)$/u);return f?Om(f[1],i):0}},$w=new Set(["x","y","z"]),Gw=Ya.filter(i=>!$w.has(i));function Kw(i){const r=[];return Gw.forEach(o=>{const l=i.getValue(o);l!==void 0&&(r.push([o,l.get()]),l.set(o.startsWith("scale")?1:0))}),r}const ys={width:({x:i},{paddingLeft:r="0",paddingRight:o="0"})=>i.max-i.min-parseFloat(r)-parseFloat(o),height:({y:i},{paddingTop:r="0",paddingBottom:o="0"})=>i.max-i.min-parseFloat(r)-parseFloat(o),top:(i,{top:r})=>parseFloat(r),left:(i,{left:r})=>parseFloat(r),bottom:({y:i},{top:r})=>parseFloat(r)+(i.max-i.min),right:({x:i},{left:r})=>parseFloat(r)+(i.max-i.min),x:jm(4,13),y:jm(5,14)};ys.translateX=ys.x;ys.translateY=ys.y;const Ov=i=>r=>r.test(i),qw={test:i=>i==="auto",parse:i=>i},jv=[Ts,Pe,ii,Tr,Zw,Hw,qw],Im=i=>jv.find(Ov(i)),fo=new Set;let ff=!1,hf=!1;function Iv(){if(hf){const i=Array.from(fo).filter(l=>l.needsMeasurement),r=new Set(i.map(l=>l.element)),o=new Map;r.forEach(l=>{const c=Kw(l);c.length&&(o.set(l,c),l.render())}
vendor: 5,564 bytes, line 8
8),i.forEach(l=>l.measureInitialState()),r.forEach(l=>{l.render();const c=o.get(l);c&&c.forEach(([f,h])=>{var g;(g=l.getValue(f))===null||g===void 0||g.set(h)})}),i.forEach(l=>l.measureEndState()),i.forEach(l=>{l.suspendedScrollY!==void 0&&window.scrollTo(0,l.suspendedScrollY)})}hf=!1,ff=!1,fo.forEach(i=>i.complete()),fo.clear()}function zv(){fo.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(hf=!0)})}function Yw(){zv(),Iv()}class Zf{constructor(r,o,l,c,f,h=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...r],this.onComplete=o,this.name=l,this.motionValue=c,this.element=f,this.isAsync=h}scheduleResolve(){this.isScheduled=!0,this.isAsync?(fo.add(this),ff||(ff=!0,Je.read(zv),Je.resolveKeyframes(Iv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:o,element:l,motionValue:c}=this;for(let f=0;f<r.length;f++)if(r[f]===null)if(f===0){const h=c?.get(),g=r[r.length-1];if(h!==void 0)r[0]=h;else if(l&&o){const v=l.readValue(o,g);v!=null&&(r[0]=v)}r[0]===void 0&&(r[0]=g),c&&h===void 0&&c.set(r[0])}else r[f]=r[f-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),fo.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,fo.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ja=i=>Math.round(i*1e5)/1e5,Wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xw(i){return i==null}const Qw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,$f=(i,r)=>o=>!!(typeof o=="string"&&Qw.test(o)&&o.startsWith(i)||r&&!Xw(o)&&Object.prototype.hasOwnProperty.call(o,r)),Dv=(i,r,o)=>l=>{if(typeof l!="string")return l;const[c,f,h,g]=l.match(Wf);return{[i]:parseFloat(c),[r]:parseFloat(f),[o]:parseFloat(h),alpha:g!==void 0?parseFloat(g):1}},Jw=i=>Ri(0,255,i),Vd={...Ts,transform:i=>Math.round(Jw(i))},uo={test:$f("rgb","red"),parse:Dv("red","green","blue"),transform:({red:i,green:r,blue:o,alpha:l=1})=>"rgba("+Vd.transform(i)+", "+Vd.transform(r)+", "+Vd.transform(o)+", "+ja(Ha.transform(l))+")"};function e1(i){let r="",o="",l="",c="";return i.length>5?(r=i.substring(1,3),o=i.substring(3,5),l=i.substring(5,7),c=i.substring(7,9)):(r=i.substring(1,2),o=i.substring(2,3),l=i.substring(3,4),c=i.substring(4,5),r+=r,o+=o,l+=l,c+=c),{red:parseInt(r,16),green:parseInt(o,16),blue:parseInt(l,16),alpha:c?parseInt(c,16)/255:1}}const pf={test:$f("#"),parse:e1,transform:uo.transform},ds={test:$f("hsl","hue"),parse:Dv("hue","saturation","lightness"),transform:({hue:i,saturation:r,lightness:o,alpha:l=1})=>"hsla("+Math.round(i)+", "+ii.transform(ja(r))+", "+ii.transform(ja(o))+", "+ja(Ha.transform(l))+")"},Dt={test:i=>uo.test(i)||pf.test(i)||ds.test(i),parse:i=>uo.test(i)?uo.parse(i):ds.test(i)?ds.parse(i):pf.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?uo.transform(i):ds.transform(i)},t1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function n1(i){var r,o;return isNaN(i)&&typeof i=="string"&&(((r=i.match(Wf))===null||r===void 0?void 0:r.length)||0)+(((o=i.match(t1))===null||o===void 0?void 0:o.length)||0)>0}const Bv="number",Fv="color",i1="var",r1="var(",zm="${}",o1=/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 Za(i){const r=i.toString(),o=[],l={color:[],number:[],var:[]},c=[];let f=0;const g=r.replace(o1,v=>(Dt.test(v)?(l.color.push(f),c.push(Fv),o.push(Dt.parse(v))):v.startsWith(r1)?(l.var.push(f),c.push(i1),o.push(v)):(l.number.push(f),c.push(Bv),o.push(parseFloat(v))),++f,zm)).split(zm);return{values:o,split:g,indexes:l,types:c}}function Vv(i){return Za(i).values}function Uv(i){const{split:r,types:o}=Za(i),l=r.length;return c=>{let f="";for(let h=0;h<l;h++)if(f+=r[h],c[h]!==void 0){const g=o[h];g===Bv?f+=ja(c[h]):g===Fv?f+=Dt.transform(c[h]):f+=c[h]}return f}}const s1=i=>typeof i=="number"?0:i;function a1(i){const r=Vv(i);return Uv(i)(r.map(s1))}const Cr={test:n1,parse:Vv,createTransformer:Uv,getAnimatableNone:a1},l1=new Set(["brightness","contrast","saturate","opacity"]);function u1(i){const[r,o]=i.slice(0,-1).split("(");if(r==="drop-shadow")return i;const[l]=o.match(Wf)||[];if(!l)return i;const c=o.replace(l,"");let f=l1.has(r)?1:0;return l!==o&&(f*=100),r+"("+f+c+")"}const c1=/\b([a-z-]*)\(.*?\)/gu,mf={...Cr,getAnimatableNone:i=>{const r=i.match(c1);return r?r.map(u1).join(" "):i}},d1={borderWidth:Pe,borderTopWidth:Pe,borderRightWidth:Pe,borderBottomWidth:Pe,borderLeftWidth:Pe,borderRadius:Pe,radius:Pe,borderTopLeftRadius:Pe,borderTopRightRadius:Pe,borderBottomRightRadius:Pe,borderBottomLeftRadius:Pe,width:Pe,maxWidth:Pe,height:Pe,maxHeight:Pe,top:Pe,right:Pe,bottom:Pe,left:Pe,padding:Pe,paddingTop:Pe,paddingRight:Pe,paddingBottom:Pe,paddingLeft:Pe,margin:Pe,marginTop:Pe,marginRight:Pe,marginBottom:Pe,marginLeft:Pe,backgroundPositionX:Pe,backgroundPositionY:Pe},f1={rotate:Tr,rotateX:Tr,rotateY:Tr,rotateZ:Tr,scale:Cu,scaleX:Cu,scaleY:Cu,scaleZ:Cu,skew:Tr,skewX:Tr,skewY:Tr,distance:Pe,translateX:Pe,translateY:Pe,translateZ:Pe,x:Pe,y:Pe,z:Pe,perspective:Pe,transformPerspective:Pe,opacity:Ha,originX:Nm,originY:Nm,originZ:Pe},Dm={...Ts,transform:Math.round},Gf={...d1,...f1,zIndex:Dm,size:Pe,fillOpacity:Ha,strokeOpacity:Ha,numOctaves:Dm}
vendor: 81,704 bytes, line 8
8,h1={...Gf,color:Dt,backgroundColor:Dt,outlineColor:Dt,fill:Dt,stroke:Dt,borderColor:Dt,borderTopColor:Dt,borderRightColor:Dt,borderBottomColor:Dt,borderLeftColor:Dt,filter:mf,WebkitFilter:mf},Kf=i=>h1[i];function Hv(i,r){let o=Kf(i);return o!==mf&&(o=Cr),o.getAnimatableNone?o.getAnimatableNone(r):void 0}const p1=new Set(["auto","none","0"]);function m1(i,r,o){let l=0,c;for(;l<i.length&&!c;){const f=i[l];typeof f=="string"&&!p1.has(f)&&Za(f).values.length&&(c=i[l]),l++}if(c&&o)for(const f of r)i[f]=Hv(o,c)}class Zv extends Zf{constructor(r,o,l,c,f){super(r,o,l,c,f,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:o,name:l}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<r.length;v++){let x=r[v];if(typeof x=="string"&&(x=x.trim(),Hf(x))){const w=Rv(x,o.current);w!==void 0&&(r[v]=w),v===r.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!Ww.has(l)||r.length!==2)return;const[c,f]=r,h=Im(c),g=Im(f);if(h!==g)if(Rm(h)&&Rm(g))for(let v=0;v<r.length;v++){const x=r[v];typeof x=="string"&&(r[v]=parseFloat(x))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:o}=this,l=[];for(let c=0;c<r.length;c++)Dw(r[c])&&l.push(c);l.length&&m1(r,l,o)}measureInitialState(){const{element:r,unresolvedKeyframes:o,name:l}=this;if(!r||!r.current)return;l==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ys[l](r.measureViewportBox(),window.getComputedStyle(r.current)),o[0]=this.measuredOrigin;const c=o[o.length-1];c!==void 0&&r.getValue(l,c).jump(c,!1)}measureEndState(){var r;const{element:o,name:l,unresolvedKeyframes:c}=this;if(!o||!o.current)return;const f=o.getValue(l);f&&f.jump(this.measuredOrigin,!1);const h=c.length-1,g=c[h];c[h]=ys[l](o.measureViewportBox(),window.getComputedStyle(o.current)),g!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=g),!((r=this.removedTransforms)===null||r===void 0)&&r.length&&this.removedTransforms.forEach(([v,x])=>{o.getValue(v).set(x)}),this.resolveNoneKeyframes()}}function qf(i){return typeof i=="function"}let Nu;function g1(){Nu=void 0}const ri={now:()=>(Nu===void 0&&ri.set(Lt.isProcessing||Mw.useManualTiming?Lt.timestamp:performance.now()),Nu),set:i=>{Nu=i,queueMicrotask(g1)}},Bm=(i,r)=>r==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Cr.test(i)||i==="0")&&!i.startsWith("url("));function v1(i){const r=i[0];if(i.length===1)return!0;for(let o=0;o<i.length;o++)if(i[o]!==r)return!0}function y1(i,r,o,l){const c=i[0];if(c===null)return!1;if(r==="display"||r==="visibility")return!0;const f=i[i.length-1],h=Bm(c,r),g=Bm(f,r);return!h||!g?!1:v1(i)||(o==="spring"||qf(o))&&l}const _1=40;class Wv{constructor({autoplay:r=!0,delay:o=0,type:l="keyframes",repeat:c=0,repeatDelay:f=0,repeatType:h="loop",...g}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ri.now(),this.options={autoplay:r,delay:o,type:l,repeat:c,repeatDelay:f,repeatType:h,...g},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>_1?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Yw(),this._resolved}onKeyframesResolved(r,o){this.resolvedAt=ri.now(),this.hasAttemptedResolve=!0;const{name:l,type:c,velocity:f,delay:h,onComplete:g,onUpdate:v,isGenerator:x}=this.options;if(!x&&!y1(r,l,c,f))if(h)this.options.duration=0;else{v?.(Xu(r,this.options,o)),g?.(),this.resolveFinishedPromise();return}const w=this.initPlayback(r,o);w!==!1&&(this._resolved={keyframes:r,finalKeyframe:o,...w},this.onPostResolved())}onPostResolved(){}then(r,o){return this.currentFinishedPromise.then(r,o)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(r=>{this.resolveFinishedPromise=r})}}const _s=(i,r,o)=>{const l=r-i;return l===0?1:(o-i)/l},$v=(i,r,o=10)=>{let l="";const c=Math.max(Math.round(r/o),2);for(let f=0;f<c;f++)l+=i(_s(0,c-1,f))+", ";return`linear(${l.substring(0,l.length-2)})`};function Gv(i,r){return r?i*(1e3/r):0}const x1=5;function Kv(i,r,o){const l=Math.max(r-x1,0);return Gv(o-i(l),r-l)}const ft={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},Ud=.001;function w1({duration:i=ft.duration,bounce:r=ft.bounce,velocity:o=ft.velocity,mass:l=ft.mass}){let c,f,h=1-r;h=Ri(ft.minDamping,ft.maxDamping,h),i=Ri(ft.minDuration,ft.maxDuration,Ni(i)),h<1?(c=x=>{const w=x*h,P=w*i,C=w-o,R=gf(x,h),z=Math.exp(-P);return Ud-C/R*z},f=x=>{const P=x*h*i,C=P*o+o,R=Math.pow(h,2)*Math.pow(x,2)*i,z=Math.exp(-P),N=gf(Math.pow(x,2),h);return(-c(x)+Ud>0?-1:1)*((C-R)*z)/N}):(c=x=>{const w=Math.exp(-x*i),P=(x-o)*i+1;return-Ud+w*P},f=x=>{const w=Math.exp(-x*i),P=(o-x)*(i*i);return w*P});const g=5/i,v=P1(c,f,g);if(i=Mi(i),isNaN(v))return{stiffness:ft.stiffness,damping:ft.damping,duration:i};{const x=Math.pow(v,2)*l;return{stiffness:x,damping:h*2*Math.sqrt(l*x),duration:i}}}const T1=12;function P1(i,r,o){let l=o;for(let c=1;c<T1;c++)l=l-i(l)/r(l);return l}function gf(i,r){return i*Math.sqrt(1-r*r)}const vf=2e4;function qv(i){let r=0;const o=50;let l=i.next(r);for(;!l.done&&r<vf;)r+=o,l=i.next(r);return r>=vf?1/0:r}const b1=["duration","bounce"],S1=["stiffness","damping","mass"];function Fm(i,r){return r.some(o=>i[o]!==void 0)}function C1(i){let r={velocity:ft.velocity,stiffness:ft.stiffness,damping:ft.damping,mass:ft.mass,isResolvedFromDuration:!1,...i};if(!Fm(i,S1)&&Fm(i,b1))if(i.visualDuration){const o=i.visualDuration,l=2*Math.PI/(o*1.2),c=l*l,f=2*Ri(.05,1,1-i.bounce)*Math.sqrt(c);r={...r,mass:ft.mass,stiffness:c,damping:f}}else{const o=w1(i);r={...r,...o,mass:ft.mass},r.isResolvedFromDuration=!0}return r}function Yv(i=ft.visualDuration,r=ft.bounce){const o=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:r}:i;let{restSpeed:l,restDelta:c}=o;const f=o.keyframes[0],h=o.keyframes[o.keyframes.length-1],g={done:!1,value:f},{stiffness:v,damping:x,mass:w,duration:P,velocity:C,isResolvedFromDuration:R}=C1({...o,velocity:-Ni(o.velocity||0)}),z=C||0,N=x/(2*Math.sqrt(v*w)),M=h-f,D=Ni(Math.sqrt(v/w)),V=Math.abs(M)<5;l||(l=V?ft.restSpeed.granular:ft.restSpeed.default),c||(c=V?ft.restDelta.granular:ft.restDelta.default);let W;if(N<1){const J=gf(D,N);W=re=>{const ue=Math.exp(-N*D*re);return h-ue*((z+N*D*M)/J*Math.sin(J*re)+M*Math.cos(J*re))}}else if(N===1)W=J=>h-Math.exp(-D*J)*(M+(z+D*M)*J);else{const J=D*Math.sqrt(N*N-1);W=re=>{const ue=Math.exp(-N*D*re),ae=Math.min(J*re,300);return h-ue*((z+N*D*M)*Math.sinh(ae)+J*M*Math.cosh(ae))/J}}const Y={calculatedDuration:R&&P||null,next:J=>{const re=W(J);if(R)g.done=J>=P;else{let ue=0;N<1&&(ue=J===0?Mi(z):Kv(W,J,re));const ae=Math.abs(ue)<=l,Re=Math.abs(h-re)<=c;g.done=ae&&Re}return g.value=g.done?h:re,g},toString:()=>{const J=Math.min(qv(Y),vf),re=$v(ue=>Y.next(J*ue).value,J,30);return J+"ms "+re}};return Y}function Vm({keyframes:i,velocity:r=0,power:o=.8,timeConstant:l=325,bounceDamping:c=10,bounceStiffness:f=500,modifyTarget:h,min:g,max:v,restDelta:x=.5,restSpeed:w}){const P=i[0],C={done:!1,value:P},R=ae=>g!==void 0&&ae<g||v!==void 0&&ae>v,z=ae=>g===void 0?v:v===void 0||Math.abs(g-ae)<Math.abs(v-ae)?g:v;let N=o*r;const M=P+N,D=h===void 0?M:h(M);D!==M&&(N=D-P);const V=ae=>-N*Math.exp(-ae/l),W=ae=>D+V(ae),Y=ae=>{const Re=V(ae),Oe=W(ae);C.done=Math.abs(Re)<=x,C.value=C.done?D:Oe};let J,re;const ue=ae=>{R(C.value)&&(J=ae,re=Yv({keyframes:[C.value,z(C.value)],velocity:Kv(W,ae,C.value),damping:c,stiffness:f,restDelta:x,restSpeed:w}))};return ue(0),{calculatedDuration:null,next:ae=>{let Re=!1;return!re&&J===void 0&&(Re=!0,Y(ae),ue(ae)),J!==void 0&&ae>=J?re.next(ae-J):(!Re&&Y(ae),C)}}}const E1=Xa(.42,0,1,1),k1=Xa(0,0,.58,1),Xv=Xa(.42,0,.58,1),L1=i=>Array.isArray(i)&&typeof i[0]!="number",Yf=i=>Array.isArray(i)&&typeof i[0]=="number",A1={linear:pn,easeIn:E1,easeInOut:Xv,easeOut:k1,circIn:Uf,circInOut:kv,circOut:Ev,backIn:Vf,backInOut:Sv,backOut:bv,anticipate:Cv},Um=i=>{if(Yf(i)){_v(i.length===4);const[r,o,l,c]=i;return Xa(r,o,l,c)}else if(typeof i=="string")return A1[i];return i},M1=(i,r)=>o=>r(i(o)),Ja=(...i)=>i.reduce(M1),ut=(i,r,o)=>i+(r-i)*o;function Hd(i,r,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?i+(r-i)*6*o:o<1/2?r:o<2/3?i+(r-i)*(2/3-o)*6:i}function N1({hue:i,saturation:r,lightness:o,alpha:l}){i/=360,r/=100,o/=100;let c=0,f=0,h=0;if(!r)c=f=h=o;else{const g=o<.5?o*(1+r):o+r-o*r,v=2*o-g;c=Hd(v,g,i+1/3),f=Hd(v,g,i),h=Hd(v,g,i-1/3)}return{red:Math.round(c*255),green:Math.round(f*255),blue:Math.round(h*255),alpha:l}}function Du(i,r){return o=>o>0?r:i}const Zd=(i,r,o)=>{const l=i*i,c=o*(r*r-l)+l;return c<0?0:Math.sqrt(c)},R1=[pf,uo,ds],O1=i=>R1.find(r=>r.test(i));function Hm(i){const r=O1(i);if(!r)return!1;let o=r.parse(i);return r===ds&&(o=N1(o)),o}const Zm=(i,r)=>{const o=Hm(i),l=Hm(r);if(!o||!l)return Du(i,r);const c={...o};return f=>(c.red=Zd(o.red,l.red,f),c.green=Zd(o.green,l.green,f),c.blue=Zd(o.blue,l.blue,f),c.alpha=ut(o.alpha,l.alpha,f),uo.transform(c))},yf=new Set(["none","hidden"]);function j1(i,r){return yf.has(i)?o=>o<=0?i:r:o=>o>=1?r:i}function I1(i,r){return o=>ut(i,r,o)}function Xf(i){return typeof i=="number"?I1:typeof i=="string"?Hf(i)?Du:Dt.test(i)?Zm:B1:Array.isArray(i)?Qv:typeof i=="object"?Dt.test(i)?Zm:z1:Du}function Qv(i,r){const o=[...i],l=o.length,c=i.map((f,h)=>Xf(f)(f,r[h]));return f=>{for(let h=0;h<l;h++)o[h]=c[h](f);return o}}function z1(i,r){const o={...i,...r},l={};for(const c in o)i[c]!==void 0&&r[c]!==void 0&&(l[c]=Xf(i[c])(i[c],r[c]));return c=>{for(const f in l)o[f]=l[f](c);return o}}function D1(i,r){var o;const l=[],c={color:0,var:0,number:0};for(let f=0;f<r.values.length;f++){const h=r.types[f],g=i.indexes[h][c[h]],v=(o=i.values[g])!==null&&o!==void 0?o:0;l[f]=v,c[h]++}return l}const B1=(i,r)=>{const o=Cr.createTransformer(r),l=Za(i),c=Za(r);return l.indexes.var.length===c.indexes.var.length&&l.indexes.color.length===c.indexes.color.length&&l.indexes.number.length>=c.indexes.number.length?yf.has(i)&&!c.values.length||yf.has(r)&&!l.values.length?j1(i,r):Ja(Qv(D1(l,c),c.values),o):Du(i,r)};function Jv(i,r,o){return typeof i=="number"&&typeof r=="number"&&typeof o=="number"?ut(i,r,o):Xf(i)(i,r)}function F1(i,r,o){const l=[],c=o||Jv,f=i.length-1;for(let h=0;h<f;h++){let g=c(i[h],i[h+1]);if(r){const v=Array.isArray(r)?r[h]||pn:r;g=Ja(v,g)}l.push(g)}return l}function V1(i,r,{clamp:o=!0,ease:l,mixer:c}={}){const f=i.length;if(_v(f===r.length),f===1)return()=>r[0];if(f===2&&i[0]===i[1])return()=>r[1];i[0]>i[f-1]&&(i=[...i].reverse(),r=[...r].reverse());const h=F1(r,l,c),g=h.length,v=x=>{let w=0;if(g>1)for(;w<i.length-2&&!(x<i[w+1]);w++);const P=_s(i[w],i[w+1],x);return h[w](P)};return o?x=>v(Ri(i[0],i[f-1],x)):v}function U1(i,r){const o=i[i.length-1];for(let l=1;l<=r;l++){const c=_s(0,r,l);i.push(ut(o,1,c))}}function H1(i){const r=[0];return U1(r,i.length-1),r}function Z1(i,r){return i.map(o=>o*r)}function W1(i,r){return i.map(()=>r||Xv).splice(0,i.length-1)}function Bu({duration:i=300,keyframes:r,times:o,ease:l="easeInOut"}){const c=L1(l)?l.map(Um):Um(l),f={done:!1,value:r[0]},h=Z1(o&&o.length===r.length?o:H1(r),i),g=V1(h,r,{ease:Array.isArray(c)?c:W1(r,c)});return{calculatedDuration:i,next:v=>(f.value=g(v),f.done=v>=i,f)}}const $1=i=>{const r=({timestamp:o})=>i(o);return{start:()=>Je.update(r,!0),stop:()=>Sr(r),now:()=>Lt.isProcessing?Lt.timestamp:ri.now()}},G1={decay:Vm,inertia:Vm,tween:Bu,keyframes:Bu,spring:Yv},K1=i=>i/100;class Qf extends Wv{constructor(r){super(r),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:v}=this.options;v&&v()};const{name:o,motionValue:l,element:c,keyframes:f}=this.options,h=c?.KeyframeResolver||Zf,g=(v,x)=>this.onKeyframesResolved(v,x);this.resolver=new h(f,g,o,l,c),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(r){const{type:o="keyframes",repeat:l=0,repeatDelay:c=0,repeatType:f,velocity:h=0}=this.options,g=qf(o)?o:G1[o]||Bu;let v,x;g!==Bu&&typeof r[0]!="number"&&(v=Ja(K1,Jv(r[0],r[1])),r=[0,100]);const w=g({...this.options,keyframes:r});f==="mirror"&&(x=g({...this.options,keyframes:[...r].reverse(),velocity:-h})),w.calculatedDuration===null&&(w.calculatedDuration=qv(w));const{calculatedDuration:P}=w,C=P+c,R=C*(l+1)-c;return{generator:w,mirroredGenerator:x,mapPercentToKeyframes:v,calculatedDuration:P,resolvedDuration:C,totalDuration:R}}onPostResolved(){const{autoplay:r=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!r?this.pause():this.state=this.pendingPlayState}tick(r,o=!1){const{resolved:l}=this;if(!l){const{keyframes:ae}=this.options;return{done:!0,value:ae[ae.length-1]}}const{finalKeyframe:c,generator:f,mirroredGenerator:h,mapPercentToKeyframes:g,keyframes:v,calculatedDuration:x,totalDuration:w,resolvedDuration:P}=l;if(this.startTime===null)return f.next(0);const{delay:C,repeat:R,repeatType:z,repeatDelay:N,onUpdate:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-w/this.speed,this.startTime)),o?this.currentTime=r:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(r-this.startTime)*this.speed;const D=this.currentTime-C*(this.speed>=0?1:-1),V=this.speed>=0?D<0:D>w;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=w);let W=this.currentTime,Y=f;if(R){const ae=Math.min(this.currentTime,w)/P;let Re=Math.floor(ae),Oe=ae%1;!Oe&&ae>=1&&(Oe=1),Oe===1&&Re--,Re=Math.min(Re,R+1),Re%2&&(z==="reverse"?(Oe=1-Oe,N&&(Oe-=N/P)):z==="mirror"&&(Y=h)),W=Ri(0,1,Oe)*P}const J=V?{done:!1,value:v[0]}:Y.next(W);g&&(J.value=g(J.value));let{done:re}=J;!V&&x!==null&&(re=this.speed>=0?this.currentTime>=w:this.currentTime<=0);const ue=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&re);return ue&&c!==void 0&&(J.value=Xu(v,this.options,c)),M&&M(J.value),ue&&this.finish(),J}get duration(){const{resolved:r}=this;return r?Ni(r.calculatedDuration):0}get time(){return Ni(this.currentTime)}set time(r){r=Mi(r),this.currentTime=r,this.holdTime!==null||this.speed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.speed)}get speed(){return this.playbackSpeed}set speed(r){const o=this.playbackSpeed!==r;this.playbackSpeed=r,o&&(this.time=Ni(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:r=$1,onPlay:o,startTime:l}=this.options;this.driver||(this.driver=r(f=>this.tick(f))),o&&o();const c=this.driver.now();this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=c):this.startTime=l??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var r;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(r=this.currentTime)!==null&&r!==void 0?r:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:r}=this.options;r&&r()}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(r){return this.startTime=0,this.tick(r,!0)}}const q1=new Set(["opacity","clipPath","filter","transform"]);function Jf(i){let r;return()=>(r===void 0&&(r=i()),r)}const Y1={linearEasing:void 0};function X1(i,r){const o=Jf(i);return()=>{var l;return(l=Y1[r])!==null&&l!==void 0?l:o()}}const Fu=X1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function ey(i){return!!(typeof i=="function"&&Fu()||!i||typeof i=="string"&&(i in _f||Fu())||Yf(i)||Array.isArray(i)&&i.every(ey))}const Ma=([i,r,o,l])=>`cubic-bezier(${i}, ${r}, ${o}, ${l})`,_f={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ma([0,.65,.55,1]),circOut:Ma([.55,0,1,.45]),backIn:Ma([.31,.01,.66,-.59]),backOut:Ma([.33,1.53,.69,.99])};function ty(i,r){if(i)return typeof i=="function"&&Fu()?$v(i,r):Yf(i)?Ma(i):Array.isArray(i)?i.map(o=>ty(o,r)||_f.easeOut):_f[i]}function Q1(i,r,o,{delay:l=0,duration:c=300,repeat:f=0,repeatType:h="loop",ease:g="easeInOut",times:v}={}){const x={[r]:o};v&&(x.offset=v);const w=ty(g,c);return Array.isArray(w)&&(x.easing=w),i.animate(x,{delay:l,duration:c,easing:Array.isArray(w)?"linear":w,fill:"both",iterations:f+1,direction:h==="reverse"?"alternate":"normal"})}function Wm(i,r){i.timeline=r,i.onfinish=null}const J1=Jf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Vu=10,eT=2e4;function tT(i){return qf(i.type)||i.type==="spring"||!ey(i.ease)}function nT(i,r){const o=new Qf({...r,keyframes:i,repeat:0,delay:0,isGenerator:!0});let l={done:!1,value:i[0]};const c=[];let f=0;for(;!l.done&&f<eT;)l=o.sample(f),c.push(l.value),f+=Vu;return{times:void 0,keyframes:c,duration:f-Vu,ease:"linear"}}const ny={anticipate:Cv,backInOut:Sv,circInOut:kv};function iT(i){return i in ny}class $m extends Wv{constructor(r){super(r);const{name:o,motionValue:l,element:c,keyframes:f}=this.options;this.resolver=new Zv(f,(h,g)=>this.onKeyframesResolved(h,g),o,l,c),this.resolver.scheduleResolve()}initPlayback(r,o){var l;let{duration:c=300,times:f,ease:h,type:g,motionValue:v,name:x,startTime:w}=this.options;if(!(!((l=v.owner)===null||l===void 0)&&l.current))return!1;if(typeof h=="string"&&Fu()&&iT(h)&&(h=ny[h]),tT(this.options)){const{onComplete:C,onUpdate:R,motionValue:z,element:N,...M}=this.options,D=nT(r,M);r=D.keyframes,r.length===1&&(r[1]=r[0]),c=D.duration,f=D.times,h=D.ease,g="keyframes"}const P=Q1(v.owner.current,x,r,{...this.options,duration:c,times:f,ease:h});return P.startTime=w??this.calcStartTime(),this.pendingTimeline?(Wm(P,this.pendingTimeline),this.pendingTimeline=void 0):P.onfinish=()=>{const{onComplete:C}=this.options;v.set(Xu(r,this.options,o)),C&&C(),this.cancel(),this.resolveFinishedPromise()},{animation:P,duration:c,times:f,type:g,ease:h,keyframes:r}}get duration(){const{resolved:r}=this;if(!r)return 0;const{duration:o}=r;return Ni(o)}get time(){const{resolved:r}=this;if(!r)return 0;const{animation:o}=r;return Ni(o.currentTime||0)}set time(r){const{resolved:o}=this;if(!o)return;const{animation:l}=o;l.currentTime=Mi(r)}get speed(){const{resolved:r}=this;if(!r)return 1;const{animation:o}=r;return o.playbackRate}set speed(r){const{resolved:o}=this;if(!o)return;const{animation:l}=o;l.playbackRate=r}get state(){const{resolved:r}=this;if(!r)return"idle";const{animation:o}=r;return o.playState}get startTime(){const{resolved:r}=this;if(!r)return null;const{animation:o}=r;return o.startTime}attachTimeline(r){if(!this._resolved)this.pendingTimeline=r;else{const{resolved:o}=this;if(!o)return pn;const{animation:l}=o;Wm(l,r)}return pn}play(){if(this.isStopped)return;const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.playState==="finished"&&this.updateFinishedPromise(),o.play()}pause(){const{resolved:r}=this;if(!r)return;const{animation:o}=r;o.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:r}=this;if(!r)return;const{animation:o,keyframes:l,duration:c,type:f,ease:h,times:g}=r;if(o.playState==="idle"||o.playState==="finished")return;if(this.time){const{motionValue:x,onUpdate:w,onComplete:P,element:C,...R}=this.options,z=new Qf({...R,keyframes:l,duration:c,type:f,ease:h,times:g,isGenerator:!0}),N=Mi(this.time);x.setWithVelocity(z.sample(N-Vu).value,z.sample(N).value,Vu)}const{onStop:v}=this.options;v&&v(),this.cancel()}complete(){const{resolved:r}=this;r&&r.animation.finish()}cancel(){const{resolved:r}=this;r&&r.animation.cancel()}static supports(r){const{motionValue:o,name:l,repeatDelay:c,repeatType:f,damping:h,type:g}=r;return J1()&&l&&q1.has(l)&&o&&o.owner&&o.owner.current instanceof HTMLElement&&!o.owner.getProps().onUpdate&&!c&&f!=="mirror"&&h!==0&&g!=="inertia"}}const rT=Jf(()=>window.ScrollTimeline!==void 0);class oT{constructor(r){this.stop=()=>this.runAll("stop"),this.animations=r.filter(Boolean)}then(r,o){return Promise.all(this.animations).then(r).catch(o)}getAll(r){return this.animations[0][r]}setAll(r,o){for(let l=0;l<this.animations.length;l++)this.animations[l][r]=o}attachTimeline(r,o){const l=this.animations.map(c=>rT()&&c.attachTimeline?c.attachTimeline(r):o(c));return()=>{l.forEach((c,f)=>{c&&c(),this.animations[f].stop()})}}get time(){return this.getAll("time")}set time(r){this.setAll("time",r)}get speed(){return this.getAll("speed")}set speed(r){this.setAll("speed",r)}get startTime(){return this.getAll("startTime")}get duration(){let r=0;for(let o=0;o<this.animations.length;o++)r=Math.max(r,this.animations[o].duration);return r}runAll(r){this.animations.forEach(o=>o[r]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function sT({when:i,delay:r,delayChildren:o,staggerChildren:l,staggerDirection:c,repeat:f,repeatType:h,repeatDelay:g,from:v,elapsed:x,...w}){return!!Object.keys(w).length}const eh=(i,r,o,l={},c,f)=>h=>{const g=Ff(l,i)||{},v=g.delay||l.delay||0;let{elapsed:x=0}=l;x=x-Mi(v);let w={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:r.getVelocity(),...g,delay:-x,onUpdate:C=>{r.set(C),g.onUpdate&&g.onUpdate(C)},onComplete:()=>{h(),g.onComplete&&g.onComplete()},name:i,motionValue:r,element:f?void 0:c};sT(g)||(w={...w,...Aw(i,w)}),w.duration&&(w.duration=Mi(w.duration)),w.repeatDelay&&(w.repeatDelay=Mi(w.repeatDelay)),w.from!==void 0&&(w.keyframes[0]=w.from);let P=!1;if((w.type===!1||w.duration===0&&!w.repeatDelay)&&(w.duration=0,w.delay===0&&(P=!0)),P&&!f&&r.get()!==void 0){const C=Xu(w.keyframes,g);if(C!==void 0)return Je.update(()=>{w.onUpdate(C),w.onComplete()}),new oT([])}return!f&&$m.supports(w)?new $m(w):new Qf(w)},aT=i=>!!(i&&typeof i=="object"&&i.mix&&i.toValue),lT=i=>df(i)?i[i.length-1]||0:i;function th(i,r){i.indexOf(r)===-1&&i.push(r)}function nh(i,r){const o=i.indexOf(r);o>-1&&i.splice(o,1)}class ih{constructor(){this.subscriptions=[]}add(r){return th(this.subscriptions,r),()=>nh(this.subscriptions,r)}notify(r,o,l){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](r,o,l);else for(let f=0;f<c;f++){const h=this.subscriptions[f];h&&h(r,o,l)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Gm=30,uT=i=>!isNaN(parseFloat(i));class cT{constructor(r,o={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(l,c=!0)=>{const f=ri.now();this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(l),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),c&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(r),this.owner=o.owner}setCurrent(r){this.current=r,this.updatedAt=ri.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=uT(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,o){this.events[r]||(this.events[r]=new ih);const l=this.events[r].add(o);return r==="change"?()=>{l(),Je.read(()=>{this.events.change.getSize()||this.stop()})}:l}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,o){this.passiveEffect=r,this.stopPassiveEffect=o}set(r,o=!0){!o||!this.passiveEffect?this.updateAndNotify(r,o):this.passiveEffect(r,this.updateAndNotify)}setWithVelocity(r,o,l){this.set(o),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-l}jump(r,o=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=ri.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>Gm)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Gm);return Gv(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(r){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=r(o),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 Wa(i,r){return new cT(i,r)}function dT(i,r,o){i.hasValue(r)?i.getValue(r).set(o):i.addValue(r,Wa(o))}function fT(i,r){const o=Yu(i,r);let{transitionEnd:l={},transition:c={},...f}=o||{};f={...f,...l};for(const h in f){const g=lT(f[h]);dT(i,h,g)}}const rh=i=>i.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),hT="framerAppearId",iy="data-"+rh(hT);function ry(i){return i.props[iy]}const Bt=i=>!!(i&&i.getVelocity);function pT(i){return!!(Bt(i)&&i.add)}function xf(i,r){const o=i.getValue("willChange");if(pT(o))return o.add(r)}function mT({protectedKeys:i,needsAnimating:r},o){const l=i.hasOwnProperty(o)&&r[o]!==!0;return r[o]=!1,l}function oy(i,r,{delay:o=0,transitionOverride:l,type:c}={}){var f;let{transition:h=i.getDefaultTransition(),transitionEnd:g,...v}=r;l&&(h=l);const x=[],w=c&&i.animationState&&i.animationState.getState()[c];for(const P in v){const C=i.getValue(P,(f=i.latestValues[P])!==null&&f!==void 0?f:null),R=v[P];if(R===void 0||w&&mT(w,P))continue;const z={delay:o,...Ff(h||{},P)};let N=!1;if(window.MotionHandoffAnimation){const D=ry(i);if(D){const V=window.MotionHandoffAnimation(D,P,Je);V!==null&&(z.startTime=V,N=!0)}}xf(i,P),C.start(eh(P,C,R,i.shouldReduceMotion&&go.has(P)?{type:!1}:z,i,N));const M=C.animation;M&&x.push(M)}return g&&Promise.all(x).then(()=>{Je.update(()=>{g&&fT(i,g)})}),x}function wf(i,r,o={}){var l;const c=Yu(i,r,o.type==="exit"?(l=i.presenceContext)===null||l===void 0?void 0:l.custom:void 0);let{transition:f=i.getDefaultTransition()||{}}=c||{};o.transitionOverride&&(f=o.transitionOverride);const h=c?()=>Promise.all(oy(i,c,o)):()=>Promise.resolve(),g=i.variantChildren&&i.variantChildren.size?(x=0)=>{const{delayChildren:w=0,staggerChildren:P,staggerDirection:C}=f;return gT(i,r,w+x,P,C,o)}:()=>Promise.resolve(),{when:v}=f;if(v){const[x,w]=v==="beforeChildren"?[h,g]:[g,h];return x().then(()=>w())}else return Promise.all([h(),g(o.delay)])}function gT(i,r,o=0,l=0,c=1,f){const h=[],g=(i.variantChildren.size-1)*l,v=c===1?(x=0)=>x*l:(x=0)=>g-x*l;return Array.from(i.variantChildren).sort(vT).forEach((x,w)=>{x.notify("AnimationStart",r),h.push(wf(x,r,{...f,delay:o+v(w)}).then(()=>x.notify("AnimationComplete",r)))}),Promise.all(h)}function vT(i,r){return i.sortNodePosition(r)}function yT(i,r,o={}){i.notify("AnimationStart",r);let l;if(Array.isArray(r)){const c=r.map(f=>wf(i,f,o));l=Promise.all(c)}else if(typeof r=="string")l=wf(i,r,o);else{const c=typeof r=="function"?Yu(i,r,o.custom):r;l=Promise.all(oy(i,c,o))}return l.then(()=>{i.notify("AnimationComplete",r)})}const _T=Bf.length;function sy(i){if(!i)return;if(!i.isControllingVariants){const o=i.parent?sy(i.parent)||{}:{};return i.props.initial!==void 0&&(o.initial=i.props.initial),o}const r={};for(let o=0;o<_T;o++){const l=Bf[o],c=i.props[l];(Ua(c)||c===!1)&&(r[l]=c)}return r}const xT=[...Df].reverse(),wT=Df.length;function TT(i){return r=>Promise.all(r.map(({animation:o,options:l})=>yT(i,o,l)))}function PT(i){let r=TT(i),o=Km(),l=!0;const c=v=>(x,w)=>{var P;const C=Yu(i,w,v==="exit"?(P=i.presenceContext)===null||P===void 0?void 0:P.custom:void 0);if(C){const{transition:R,transitionEnd:z,...N}=C;x={...x,...N,...z}}return x};function f(v){r=v(i)}function h(v){const{props:x}=i,w=sy(i.parent)||{},P=[],C=new Set;let R={},z=1/0;for(let M=0;M<wT;M++){const D=xT[M],V=o[D],W=x[D]!==void 0?x[D]:w[D],Y=Ua(W),J=D===v?V.isActive:null;J===!1&&(z=M);let re=W===w[D]&&W!==x[D]&&Y;if(re&&l&&i.manuallyAnimateOnMount&&(re=!1),V.protectedKeys={...R},!V.isActive&&J===null||!W&&!V.prevProp||qu(W)||typeof W=="boolean")continue;const ue=bT(V.prevProp,W);let ae=ue||D===v&&V.isActive&&!re&&Y||M>z&&Y,Re=!1;const Oe=Array.isArray(W)?W:[W];let Me=Oe.reduce(c(D),{});J===!1&&(Me={});const{prevResolvedValues:ye={}}=V,it={...ye,...Me},de=_e=>{ae=!0,C.has(_e)&&(Re=!0,C.delete(_e)),V.needsAnimating[_e]=!0;const $=i.getValue(_e);$&&($.liveStyle=!1)};for(const _e in it){const $=Me[_e],oe=ye[_e];if(R.hasOwnProperty(_e))continue;let K=!1;df($)&&df(oe)?K=!yv($,oe):K=$!==oe,K?$!=null?de(_e):C.add(_e):$!==void 0&&C.has(_e)?de(_e):V.protectedKeys[_e]=!0}V.prevProp=W,V.prevResolvedValues=Me,V.isActive&&(R={...R,...Me}),l&&i.blockInitialAnimation&&(ae=!1),ae&&(!(re&&ue)||Re)&&P.push(...Oe.map(_e=>({animation:_e,options:{type:D}})))}if(C.size){const M={};C.forEach(D=>{const V=i.getBaseTarget(D),W=i.getValue(D);W&&(W.liveStyle=!0),M[D]=V??null}),P.push({animation:M})}let N=!!P.length;return l&&(x.initial===!1||x.initial===x.animate)&&!i.manuallyAnimateOnMount&&(N=!1),l=!1,N?r(P):Promise.resolve()}function g(v,x){var w;if(o[v].isActive===x)return Promise.resolve();(w=i.variantChildren)===null||w===void 0||w.forEach(C=>{var R;return(R=C.animationState)===null||R===void 0?void 0:R.setActive(v,x)}),o[v].isActive=x;const P=h(v);for(const C in o)o[C].protectedKeys={};return P}return{animateChanges:h,setActive:g,setAnimateFunction:f,getState:()=>o,reset:()=>{o=Km(),l=!0}}}function bT(i,r){return typeof r=="string"?r!==i:Array.isArray(r)?!yv(r,i):!1}function so(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Km(){return{animate:so(!0),whileInView:so(),whileHover:so(),whileTap:so(),whileDrag:so(),whileFocus:so(),exit:so()}}class kr{constructor(r){this.isMounted=!1,this.node=r}update(){}}class ST extends kr{constructor(r){super(r),r.animationState||(r.animationState=PT(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();qu(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:o}=this.node.prevProps||{};r!==o&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)===null||r===void 0||r.call(this)}}let CT=0;class ET extends kr{constructor(){super(...arguments),this.id=CT++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:o}=this.node.presenceContext,{isPresent:l}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===l)return;const c=this.node.animationState.setActive("exit",!r);o&&!r&&c.then(()=>o(this.id))}mount(){const{register:r}=this.node.presenceContext||{};r&&(this.unmount=r(this.id))}unmount(){}}const kT={animation:{Feature:ST},exit:{Feature:ET}},Un={x:!1,y:!1};function ay(){return Un.x||Un.y}function LT(i,r,o){var l;if(i instanceof Element)return[i];if(typeof i=="string"){let c=document;const f=(l=void 0)!==null&&l!==void 0?l:c.querySelectorAll(i);return f?Array.from(f):[]}return Array.from(i)}function ly(i,r){const o=LT(i),l=new AbortController,c={passive:!0,...r,signal:l.signal};return[o,c,()=>l.abort()]}function qm(i){return r=>{r.pointerType==="touch"||ay()||i(r)}}function AT(i,r,o={}){const[l,c,f]=ly(i,o),h=qm(g=>{const{target:v}=g,x=r(g);if(!x||!v)return;const w=qm(P=>{x(P),v.removeEventListener("pointerleave",w)});v.addEventListener("pointerleave",w,c)});return l.forEach(g=>{g.addEventListener("pointerenter",h,c)}),f}const oh=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,Na=new WeakSet;function Ym(i){return r=>{r.key==="Enter"&&i(r)}}function Wd(i,r){i.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const MT=(i,r)=>{const o=i.currentTarget;if(!o)return;const l=Ym(()=>{if(Na.has(o))return;Wd(o,"down");const c=Ym(()=>{Wd(o,"up")}),f=()=>Wd(o,"cancel");o.addEventListener("keyup",c,r),o.addEventListener("blur",f,r)});o.addEventListener("keydown",l,r),o.addEventListener("blur",()=>o.removeEventListener("keydown",l),r)},NT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function RT(i){return NT.has(i.tagName)||i.tabIndex!==-1}const uy=(i,r)=>r?i===r?!0:uy(i,r.parentElement):!1;function Xm(i){return oh(i)&&!ay()}function OT(i,r,o={}){const[l,c,f]=ly(i,o),h=g=>{const v=g.currentTarget;if(!Xm(g)||Na.has(v))return;Na.add(v);const x=r(g),w=(R,z)=>{window.removeEventListener("pointerup",P),window.removeEventListener("pointercancel",C),!(!Xm(R)||!Na.has(v))&&(Na.delete(v),x&&x(R,{success:z}))},P=R=>{w(R,o.useGlobalTarget||uy(v,R.target))},C=R=>{w(R,!1)};window.addEventListener("pointerup",P,c),window.addEventListener("pointercancel",C,c)};return l.forEach(g=>{RT(g)||(g.tabIndex=0),(o.useGlobalTarget?window:g).addEventListener("pointerdown",h,c),g.addEventListener("focus",x=>MT(x,c),c)}),f}function jT(i){return i==="x"||i==="y"?Un[i]?null:(Un[i]=!0,()=>{Un[i]=!1}):Un.x||Un.y?null:(Un.x=Un.y=!0,()=>{Un.x=Un.y=!1})}function el(i){return{point:{x:i.pageX,y:i.pageY}}}const IT=i=>r=>oh(r)&&i(r,el(r));function $a(i,r,o,l={passive:!0}){return i.addEventListener(r,o,l),()=>i.removeEventListener(r,o)}function Ia(i,r,o,l){return $a(i,r,IT(o),l)}const Qm=(i,r)=>Math.abs(i-r);function zT(i,r){const o=Qm(i.x,r.x),l=Qm(i.y,r.y);return Math.sqrt(o**2+l**2)}class cy{constructor(r,o,{transformPagePoint:l,contextWindow:c,dragSnapToOrigin:f=!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 P=Gd(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,R=zT(P.offset,{x:0,y:0})>=3;if(!C&&!R)return;const{point:z}=P,{timestamp:N}=Lt;this.history.push({...z,timestamp:N});const{onStart:M,onMove:D}=this.handlers;C||(M&&M(this.lastMoveEvent,P),this.startEvent=this.lastMoveEvent),D&&D(this.lastMoveEvent,P)},this.handlePointerMove=(P,C)=>{this.lastMoveEvent=P,this.lastMoveEventInfo=$d(C,this.transformPagePoint),Je.update(this.updatePoint,!0)},this.handlePointerUp=(P,C)=>{this.end();const{onEnd:R,onSessionEnd:z,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=Gd(P.type==="pointercancel"?this.lastMoveEventInfo:$d(C,this.transformPagePoint),this.history);this.startEvent&&R&&R(P,M),z&&z(P,M)},!oh(r))return;this.dragSnapToOrigin=f,this.handlers=o,this.transformPagePoint=l,this.contextWindow=c||window;const h=el(r),g=$d(h,this.transformPagePoint),{point:v}=g,{timestamp:x}=Lt;this.history=[{...v,timestamp:x}];const{onSessionStart:w}=o;w&&w(r,Gd(g,this.history)),this.removeListeners=Ja(Ia(this.contextWindow,"pointermove",this.handlePointerMove),Ia(this.contextWindow,"pointerup",this.handlePointerUp),Ia(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Sr(this.updatePoint)}}function $d(i,r){return r?{point:r(i.point)}:i}function Jm(i,r){return{x:i.x-r.x,y:i.y-r.y}}function Gd({point:i},r){return{point:i,delta:Jm(i,dy(r)),offset:Jm(i,DT(r)),velocity:BT(r,.1)}}function DT(i){return i[0]}function dy(i){return i[i.length-1]}function BT(i,r){if(i.length<2)return{x:0,y:0};let o=i.length-1,l=null;const c=dy(i);for(;o>=0&&(l=i[o],!(c.timestamp-l.timestamp>Mi(r)));)o--;if(!l)return{x:0,y:0};const f=Ni(c.timestamp-l.timestamp);if(f===0)return{x:0,y:0};const h={x:(c.x-l.x)/f,y:(c.y-l.y)/f};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function fs(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}const fy=1e-4,FT=1-fy,VT=1+fy,hy=.01,UT=0-hy,HT=0+hy;function gn(i){return i.max-i.min}function ZT(i,r,o){return Math.abs(i-r)<=o}function eg(i,r,o,l=.5){i.origin=l,i.originPoint=ut(r.min,r.max,i.origin),i.scale=gn(o)/gn(r),i.translate=ut(o.min,o.max,i.origin)-i.originPoint,(i.scale>=FT&&i.scale<=VT||isNaN(i.scale))&&(i.scale=1),(i.translate>=UT&&i.translate<=HT||isNaN(i.translate))&&(i.translate=0)}function za(i,r,o,l){eg(i.x,r.x,o.x,l?l.originX:void 0),eg(i.y,r.y,o.y,l?l.originY:void 0)}function tg(i,r,o){i.min=o.min+r.min,i.max=i.min+gn(r)}function WT(i,r,o){tg(i.x,r.x,o.x),tg(i.y,r.y,o.y)}function ng(i,r,o){i.min=r.min-o.min,i.max=i.min+gn(r)}function Da(i,r,o){ng(i.x,r.x,o.x),ng(i.y,r.y,o.y)}function $T(i,{min:r,max:o},l){return r!==void 0&&i<r?i=l?ut(r,i,l.min):Math.max(i,r):o!==void 0&&i>o&&(i=l?ut(o,i,l.max):Math.min(i,o)),i}function ig(i,r,o){return{min:r!==void 0?i.min+r:void 0,max:o!==void 0?i.max+o-(i.max-i.min):void 0}}function GT(i,{top:r,left:o,bottom:l,right:c}){return{x:ig(i.x,o,c),y:ig(i.y,r,l)}}function rg(i,r){let o=r.min-i.min,l=r.max-i.max;return r.max-r.min<i.max-i.min&&([o,l]=[l,o]),{min:o,max:l}}function KT(i,r){return{x:rg(i.x,r.x),y:rg(i.y,r.y)}}function qT(i,r){let o=.5;const l=gn(i),c=gn(r);return c>l?o=_s(r.min,r.max-l,i.min):l>c&&(o=_s(i.min,i.max-c,r.min)),Ri(0,1,o)}function YT(i,r){const o={};return r.min!==void 0&&(o.min=r.min-i.min),r.max!==void 0&&(o.max=r.max-i.min),o}const Tf=.35;function XT(i=Tf){return i===!1?i=0:i===!0&&(i=Tf),{x:og(i,"left","right"),y:og(i,"top","bottom")}}function og(i,r,o){return{min:sg(i,r),max:sg(i,o)}}function sg(i,r){return typeof i=="number"?i:i[r]||0}const ag=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:ag(),y:ag()}),lg=()=>({min:0,max:0}),mt=()=>({x:lg(),y:lg()});function An(i){return[i("x"),i("y")]}function py({top:i,left:r,right:o,bottom:l}){return{x:{min:r,max:o},y:{min:i,max:l}}}function QT({x:i,y:r}){return{top:r.min,right:i.max,bottom:r.max,left:i.min}}function JT(i,r){if(!r)return i;const o=r({x:i.left,y:i.top}),l=r({x:i.right,y:i.bottom});return{top:o.y,left:o.x,bottom:l.y,right:l.x}}function Kd(i){return i===void 0||i===1}function Pf({scale:i,scaleX:r,scaleY:o}){return!Kd(i)||!Kd(r)||!Kd(o)}function ao(i){return Pf(i)||my(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function my(i){return ug(i.x)||ug(i.y)}function ug(i){return i&&i!=="0%"}function Uu(i,r,o){const l=i-o,c=r*l;return o+c}function cg(i,r,o,l,c){return c!==void 0&&(i=Uu(i,c,l)),Uu(i,o,l)+r}function bf(i,r=0,o=1,l,c){i.min=cg(i.min,r,o,l,c),i.max=cg(i.max,r,o,l,c)}function gy(i,{x:r,y:o}){bf(i.x,r.translate,r.scale,r.originPoint),bf(i.y,o.translate,o.scale,o.originPoint)}const dg=.999999999999,fg=1.0000000000001;function eP(i,r,o,l=!1){const c=o.length;if(!c)return;r.x=r.y=1;let f,h;for(let g=0;g<c;g++){f=o[g],h=f.projectionDelta;const{visualElement:v}=f.options;v&&v.props.style&&v.props.style.display==="contents"||(l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&ms(i,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),h&&(r.x*=h.x.scale,r.y*=h.y.scale,gy(i,h)),l&&ao(f.latestValues)&&ms(i,f.latestValues))}r.x<fg&&r.x>dg&&(r.x=1),r.y<fg&&r.y>dg&&(r.y=1)}function ps(i,r){i.min=i.min+r,i.max=i.max+r}function hg(i,r,o,l,c=.5){const f=ut(i.min,i.max,c);bf(i,r,o,f,l)}function ms(i,r){hg(i.x,r.x,r.scaleX,r.scale,r.originX),hg(i.y,r.y,r.scaleY,r.scale,r.originY)}function vy(i,r){return py(JT(i.getBoundingClientRect(),r))}function tP(i,r,o){const l=vy(i,o),{scroll:c}=r;return c&&(ps(l.x,c.offset.x),ps(l.y,c.offset.y)),l}const yy=({current:i})=>i?i.ownerDocument.defaultView:null,nP=new WeakMap;class iP{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=mt(),this.visualElement=r}start(r,{snapToCursor:o=!1}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const c=w=>{const{dragSnapToOrigin:P}=this.getProps();P?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(el(w).point)},f=(w,P)=>{const{drag:C,dragPropagation:R,onDragStart:z}=this.getProps();if(C&&!R&&(this.openDragLock&&this.openDragLock(),this.openDragLock=jT(C),!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),An(M=>{let D=this.getAxisMotionValue(M).get()||0;if(ii.test(D)){const{projection:V}=this.visualElement;if(V&&V.layout){const W=V.layout.layoutBox[M];W&&(D=gn(W)*(parseFloat(D)/100))}}this.originPoint[M]=D}),z&&Je.postRender(()=>z(w,P)),xf(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},h=(w,P)=>{const{dragPropagation:C,dragDirectionLock:R,onDirectionLock:z,onDrag:N}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:M}=P;if(R&&this.currentDirection===null){this.currentDirection=rP(M),this.currentDirection!==null&&z&&z(this.currentDirection);return}this.updateAxis("x",P.point,M),this.updateAxis("y",P.point,M),this.visualElement.render(),N&&N(w,P)},g=(w,P)=>this.stop(w,P),v=()=>An(w=>{var P;return this.getAnimationState(w)==="paused"&&((P=this.getAxisMotionValue(w).animation)===null||P===void 0?void 0:P.play())}),{dragSnapToOrigin:x}=this.getProps();this.panSession=new cy(r,{onSessionStart:c,onStart:f,onMove:h,onSessionEnd:g,resumeAnimation:v},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,contextWindow:yy(this.visualElement)})}stop(r,o){const l=this.isDragging;if(this.cancel(),!l)return;const{velocity:c}=o;this.startAnimation(c);const{onDragEnd:f}=this.getProps();f&&Je.postRender(()=>f(r,o))}cancel(){this.isDragging=!1;const{projection:r,animationState:o}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:l}=this.getProps();!l&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(r,o,l){const{drag:c}=this.getProps();if(!l||!Eu(r,c,this.currentDirection))return;const f=this.getAxisMotionValue(r);let h=this.originPoint[r]+l[r];this.constraints&&this.constraints[r]&&(h=$T(h,this.constraints[r],this.elastic[r])),f.set(h)}resolveConstraints(){var r;const{dragConstraints:o,dragElastic:l}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)===null||r===void 0?void 0:r.layout,f=this.constraints;o&&fs(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&c?this.constraints=GT(c.layoutBox,o):this.constraints=!1,this.elastic=XT(l),f!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&An(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=YT(c.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:o}=this.getProps();if(!r||!fs(r))return!1;const l=r.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;const f=tP(l,c.root,this.visualElement.getTransformPagePoint());let h=KT(c.layout.layoutBox,f);if(o){const g=o(QT(h));this.hasMutatedConstraints=!!g,g&&(h=py(g))}return h}startAnimation(r){const{drag:o,dragMomentum:l,dragElastic:c,dragTransition:f,dragSnapToOrigin:h,onDragTransitionEnd:g}=this.getProps(),v=this.constraints||{},x=An(w=>{if(!Eu(w,o,this.currentDirection))return;let P=v&&v[w]||{};h&&(P={min:0,max:0});const C=c?200:1e6,R=c?40:1e7,z={type:"inertia",velocity:l?r[w]:0,bounceStiffness:C,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...f,...P};return this.startAxisValueAnimation(w,z)});return Promise.all(x).then(g)}startAxisValueAnimation(r,o){const l=this.getAxisMotionValue(r);return xf(this.visualElement,r),l.start(eh(r,l,0,o,this.visualElement,!1))}stopAnimation(){An(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){An(r=>{var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(r){var o;return(o=this.getAxisMotionValue(r).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(r){const o=`_drag${r.toUpperCase()}`,l=this.visualElement.getProps(),c=l[o];return c||this.visualElement.getValue(r,(l.initial?l.initial[r]:void 0)||0)}snapToCursor(r){An(o=>{const{drag:l}=this.getProps();if(!Eu(o,l,this.currentDirection))return;const{projection:c}=this.visualElement,f=this.getAxisMotionValue(o);if(c&&c.layout){const{min:h,max:g}=c.layout.layoutBox[o];f.set(r[o]-ut(h,g,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:o}=this.getProps(),{projection:l}=this.visualElement;if(!fs(o)||!l||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};An(h=>{const g=this.getAxisMotionValue(h);if(g&&this.constraints!==!1){const v=g.get();c[h]=qT({min:v,max:v},this.constraints[h])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",l.root&&l.root.updateScroll(),l.updateLayout(),this.resolveConstraints(),An(h=>{if(!Eu(h,r,null))return;const g=this.getAxisMotionValue(h),{min:v,max:x}=this.constraints[h];g.set(ut(v,x,c[h]))})}addListeners(){if(!this.visualElement.current)return;nP.set(this.visualElement,this);const r=this.visualElement.current,o=Ia(r,"pointerdown",v=>{const{drag:x,dragListener:w=!0}=this.getProps();x&&w&&this.start(v)}),l=()=>{const{dragConstraints:v}=this.getProps();fs(v)&&v.current&&(this.constraints=this.resolveRefConstraints())},{projection:c}=this.visualElement,f=c.addEventListener("measure",l);c&&!c.layout&&(c.root&&c.root.updateScroll(),c.updateLayout()),Je.read(l);const h=$a(window,"resize",()=>this.scalePositionWithinConstraints()),g=c.addEventListener("didUpdate",(({delta:v,hasLayoutChanged:x})=>{this.isDragging&&x&&(An(w=>{const P=this.getAxisMotionValue(w);P&&(this.originPoint[w]+=v[w].translate,P.set(P.get()+v[w].translate))}),this.visualElement.render())}));return()=>{h(),o(),f(),g&&g()}}getProps(){const r=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:l=!1,dragPropagation:c=!1,dragConstraints:f=!1,dragElastic:h=Tf,dragMomentum:g=!0}=r;return{...r,drag:o,dragDirectionLock:l,dragPropagation:c,dragConstraints:f,dragElastic:h,dragMomentum:g}}}function Eu(i,r,o){return(r===!0||r===i)&&(o===null||o===i)}function rP(i,r=10){let o=null;return Math.abs(i.y)>r?o="y":Math.abs(i.x)>r&&(o="x"),o}class oP extends kr{constructor(r){super(r),this.removeGroupControls=pn,this.removeListeners=pn,this.controls=new iP(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||pn}unmount(){this.removeGroupControls(),this.removeListeners()}}const pg=i=>(r,o)=>{i&&Je.postRender(()=>i(r,o))};class sP extends kr{constructor(){super(...arguments),this.removePointerDownListener=pn}onPointerDown(r){this.session=new cy(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yy(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:o,onPan:l,onPanEnd:c}=this.node.getProps();return{onSessionStart:pg(r),onStart:pg(o),onMove:l,onEnd:(f,h)=>{delete this.session,c&&Je.postRender(()=>c(f,h))}}}mount(){this.removePointerDownListener=Ia(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Qu=E.createContext(null);function aP(){const i=E.useContext(Qu);if(i===null)return[!0,null];const{isPresent:r,onExitComplete:o,register:l}=i,c=E.useId();E.useEffect(()=>l(c),[]);const f=E.useCallback(()=>o&&o(c),[c,o]);return!r&&o?[!1,f]:[!0]}const sh=E.createContext({}),_y=E.createContext({}),Ru={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function mg(i,r){return r.max===r.min?0:i/(r.max-r.min)*100}const Ea={correct:(i,r)=>{if(!r.target)return i;if(typeof i=="string")if(Pe.test(i))i=parseFloat(i);else return i;const o=mg(i,r.target.x),l=mg(i,r.target.y);return`${o}% ${l}%`}},lP={correct:(i,{treeScale:r,projectionDelta:o})=>{const l=i,c=Cr.parse(i);if(c.length>5)return l;const f=Cr.createTransformer(i),h=typeof c[0]!="number"?1:0,g=o.x.scale*r.x,v=o.y.scale*r.y;c[0+h]/=g,c[1+h]/=v;const x=ut(g,v,.5);return typeof c[2+h]=="number"&&(c[2+h]/=x),typeof c[3+h]=="number"&&(c[3+h]/=x),f(c)}},Hu={};function uP(i){Object.assign(Hu,i)}const{schedule:ah}=xv(queueMicrotask,!1);class cP extends E.Component{componentDidMount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:l,layoutId:c}=this.props,{projection:f}=r;uP(dP),f&&(o.group&&o.group.add(f),l&&l.register&&c&&l.register(f),f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,onExitComplete:()=>this.safeToRemove()})),Ru.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:o,visualElement:l,drag:c,isPresent:f}=this.props,h=l.projection;return h&&(h.isPresent=f,c||r.layoutDependency!==o||o===void 0?h.willUpdate():this.safeToRemove(),r.isPresent!==f&&(f?h.promote():h.relegate()||Je.postRender(()=>{const g=h.getStack();(!g||!g.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),ah.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:o,switchLayoutGroup:l}=this.props,{projection:c}=r;c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),l&&l.deregister&&l.deregister(c))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function xy(i){const[r,o]=aP(),l=E.useContext(sh);return T.jsx(cP,{...i,layoutGroup:l,switchLayoutGroup:E.useContext(_y),isPresent:r,safeToRemove:o})}const dP={borderRadius:{...Ea,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ea,borderTopRightRadius:Ea,borderBottomLeftRadius:Ea,borderBottomRightRadius:Ea,boxShadow:lP},wy=["TopLeft","TopRight","BottomLeft","BottomRight"],fP=wy.length,gg=i=>typeof i=="string"?parseFloat(i):i,vg=i=>typeof i=="number"||Pe.test(i);function hP(i,r,o,l,c,f){c?(i.opacity=ut(0,o.opacity!==void 0?o.opacity:1,pP(l)),i.opacityExit=ut(r.opacity!==void 0?r.opacity:1,0,mP(l))):f&&(i.opacity=ut(r.opacity!==void 0?r.opacity:1,o.opacity!==void 0?o.opacity:1,l));for(let h=0;h<fP;h++){const g=`border${wy[h]}Radius`;let v=yg(r,g),x=yg(o,g);if(v===void 0&&x===void 0)continue;v||(v=0),x||(x=0),v===0||x===0||vg(v)===vg(x)?(i[g]=Math.max(ut(gg(v),gg(x),l),0),(ii.test(x)||ii.test(v))&&(i[g]+="%")):i[g]=x}(r.rotate||o.rotate)&&(i.rotate=ut(r.rotate||0,o.rotate||0,l))}function yg(i,r){return i[r]!==void 0?i[r]:i.borderRadius}const pP=Ty(0,.5,Ev),mP=Ty(.5,.95,pn);function Ty(i,r,o){return l=>l<i?0:l>r?1:o(_s(i,r,l))}function _g(i,r){i.min=r.min,i.max=r.max}function Ln(i,r){_g(i.x,r.x),_g(i.y,r.y)}function xg(i,r){i.translate=r.translate,i.scale=r.scale,i.originPoint=r.originPoint,i.origin=r.origin}function wg(i,r,o,l,c){return i-=r,i=Uu(i,1/o,l),c!==void 0&&(i=Uu(i,1/c,l)),i}function gP(i,r=0,o=1,l=.5,c,f=i,h=i){if(ii.test(r)&&(r=parseFloat(r),r=ut(h.min,h.max,r/100)-h.min),typeof r!="number")return;let g=ut(f.min,f.max,l);i===f&&(g-=r),i.min=wg(i.min,r,o,g,c),i.max=wg(i.max,r,o,g,c)}function Tg(i,r,[o,l,c],f,h){gP(i,r[o],r[l],r[c],r.scale,f,h)}const vP=["x","scaleX","originX"],yP=["y","scaleY","originY"];function Pg(i,r,o,l){Tg(i.x,r,vP,o?o.x:void 0,l?l.x:void 0),Tg(i.y,r,yP,o?o.y:void 0,l?l.y:void 0)}function bg(i){return i.translate===0&&i.scale===1}function Py(i){return bg(i.x)&&bg(i.y)}function Sg(i,r){return i.min===r.min&&i.max===r.max}function _P(i,r){return Sg(i.x,r.x)&&Sg(i.y,r.y)}function Cg(i,r){return Math.round(i.min)===Math.round(r.min)&&Math.round(i.max)===Math.round(r.max)}function by(i,r){return Cg(i.x,r.x)&&Cg(i.y,r.y)}function Eg(i){return gn(i.x)/gn(i.y)}function kg(i,r){return i.translate===r.translate&&i.scale===r.scale&&i.originPoint===r.originPoint}class xP{constructor(){this.members=[]}add(r){th(this.members,r),r.scheduleRender()}remove(r){if(nh(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(r){const o=this.members.findIndex(c=>r===c);if(o===0)return!1;let l;for(let c=o;c>=0;c--){const f=this.members[c];if(f.isPresent!==!1){l=f;break}}return l?(this.promote(l),!0):!1}promote(r,o){const l=this.lead;if(r!==l&&(this.prevLead=l,this.lead=r,r.show(),l)){l.instance&&l.scheduleRender(),r.scheduleRender(),r.resumeFrom=l,o&&(r.resumeFrom.preserveOpacity=!0),l.snapshot&&(r.snapshot=l.snapshot,r.snapshot.latestValues=l.animationValues||l.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:c}=r.options;c===!1&&l.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:o,resumingFrom:l}=r;o.onExitComplete&&o.onExitComplete(),l&&l.options.onExitComplete&&l.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function wP(i,r,o){let l="";const c=i.x.translate/r.x,f=i.y.translate/r.y,h=o?.z||0;if((c||f||h)&&(l=`translate3d(${c}px, ${f}px, ${h}px) `),(r.x!==1||r.y!==1)&&(l+=`scale(${1/r.x}, ${1/r.y}) `),o){const{transformPerspective:x,rotate:w,rotateX:P,rotateY:C,skewX:R,skewY:z}=o;x&&(l=`perspective(${x}px) ${l}`),w&&(l+=`rotate(${w}deg) `),P&&(l+=`rotateX(${P}deg) `),C&&(l+=`rotateY(${C}deg) `),R&&(l+=`skewX(${R}deg) `),z&&(l+=`skewY(${z}deg) `)}const g=i.x.scale*r.x,v=i.y.scale*r.y;return(g!==1||v!==1)&&(l+=`scale(${g}, ${v})`),l||"none"}const TP=(i,r)=>i.depth-r.depth;class PP{constructor(){this.children=[],this.isDirty=!1}add(r){th(this.children,r),this.isDirty=!0}remove(r){nh(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(TP),this.isDirty=!1,this.children.forEach(r)}}function Ou(i){const r=Bt(i)?i.get():i;return aT(r)?r.toValue():r}function bP(i,r){const o=ri.now(),l=({timestamp:c})=>{const f=c-o;f>=r&&(Sr(l),i(f-r))};return Je.read(l,!0),()=>Sr(l)}function SP(i){return i instanceof SVGElement&&i.tagName!=="svg"}function CP(i,r,o){const l=Bt(i)?i:Wa(i);return l.start(eh("",l,r,o)),l.animation}const lo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ra=typeof window<"u"&&window.MotionDebug!==void 0,qd=["","X","Y","Z"],EP={visibility:"hidden"},Lg=1e3;let kP=0;function Yd(i,r,o,l){const{latestValues:c}=r;c[i]&&(o[i]=c[i],r.setStaticValue(i,0),l&&(l[i]=0))}function Sy(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:r}=i.options;if(!r)return;const o=ry(r);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:f}=i.options;window.MotionCancelOptimisedAnimation(o,"transform",Je,!(c||f))}const{parent:l}=i;l&&!l.hasCheckedOptimisedAppear&&Sy(l)}function Cy({attachResizeListener:i,defaultParent:r,measureScroll:o,checkIsScrollRoot:l,resetTransform:c}){return class{constructor(h={},g=r?.()){this.id=kP++,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,Ra&&(lo.totalNodes=lo.resolvedTargetDeltas=lo.recalculatedProjection=0),this.nodes.forEach(MP),this.nodes.forEach(IP),this.nodes.forEach(zP),this.nodes.forEach(NP),Ra&&window.MotionDebug.record(lo)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=g?g.root||g:this,this.path=g?[...g.path,g]:[],this.parent=g,this.depth=g?g.depth+1:0;for(let v=0;v<this.path.length;v++)this.path[v].shouldResetTransform=!0;this.root===this&&(this.nodes=new PP)}addEventListener(h,g){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new ih),this.eventHandlers.get(h).add(g)}notifyListeners(h,...g){const v=this.eventHandlers.get(h);v&&v.notify(...g)}hasListeners(h){return this.eventHandlers.has(h)}mount(h,g=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=SP(h),this.instance=h;const{layoutId:v,layout:x,visualElement:w}=this.options;if(w&&!w.current&&w.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),g&&(x||v)&&(this.isLayoutDirty=!0),i){let P;const C=()=>this.root.updateBlockedByResize=!1;i(h,()=>{this.root.updateBlockedByResize=!0,P&&P(),P=bP(C,250),Ru.hasAnimatedSinceResize&&(Ru.hasAnimatedSinceResize=!1,this.nodes.forEach(Mg))})}v&&this.root.registerSharedNode(v,this),this.options.animate!==!1&&w&&(v||x)&&this.addEventListener("didUpdate",({delta:P,hasLayoutChanged:C,hasRelativeTargetChanged:R,layout:z})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||w.getDefaultTransition()||UP,{onLayoutAnimationStart:M,onLayoutAnimationComplete:D}=w.getProps(),V=!this.targetLayout||!by(this.targetLayout,z)||R,W=!C&&R;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||W||C&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(P,W);const Y={...Ff(N,"layout"),onPlay:M,onComplete:D};(w.shouldReduceMotion||this.options.layoutRoot)&&(Y.delay=0,Y.type=!1),this.startAnimation(Y)}else C||Mg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=z})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Sr(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(DP),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Sy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let w=0;w<this.path.length;w++){const P=this.path[w];P.shouldResetTransform=!0,P.updateScroll("snapshot"),P.options.layoutRoot&&P.willUpdate(!1)}const{layoutId:g,layout:v}=this.options;if(g===void 0&&!v)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ag);return}this.isUpdating||this.nodes.forEach(OP),this.isUpdating=!1,this.nodes.forEach(jP),this.nodes.forEach(LP),this.nodes.forEach(AP),this.clearAllSnapshots();const g=ri.now();Lt.delta=Ri(0,1e3/60,g-Lt.timestamp),Lt.timestamp=g,Lt.isProcessing=!0,Fd.update.process(Lt),Fd.preRender.process(Lt),Fd.render.process(Lt),Lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ah.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(RP),this.sharedNodes.forEach(BP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Je.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Je.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 v=0;v<this.path.length;v++)this.path[v].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutCorrected=mt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:g}=this.options;g&&g.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let g=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(g=!1),g){const v=l(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:v,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:v}}}resetTransform(){if(!c)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,g=this.projectionDelta&&!Py(this.projectionDelta),v=this.getTransformTemplate(),x=v?v(this.latestValues,""):void 0,w=x!==this.prevTransformTemplateValue;h&&(g||ao(this.latestValues)||w)&&(c(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const g=this.measurePageBox();let v=this.removeElementScroll(g);return h&&(v=this.removeTransform(v)),HP(v),{animationId:this.root.animationId,measuredBox:g,layoutBox:v,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:g}=this.options;if(!g)return mt();const v=g.measureViewportBox();if(!(((h=this.scroll)===null||h===void 0?void 0:h.wasRoot)||this.path.some(ZP))){const{scroll:w}=this.root;w&&(ps(v.x,w.offset.x),ps(v.y,w.offset.y))}return v}removeElementScroll(h){var g;const v=mt();if(Ln(v,h),!((g=this.scroll)===null||g===void 0)&&g.wasRoot)return v;for(let x=0;x<this.path.length;x++){const w=this.path[x],{scroll:P,options:C}=w;w!==this.root&&P&&C.layoutScroll&&(P.wasRoot&&Ln(v,h),ps(v.x,P.offset.x),ps(v.y,P.offset.y))}return v}applyTransform(h,g=!1){const v=mt();Ln(v,h);for(let x=0;x<this.path.length;x++){const w=this.path[x];!g&&w.options.layoutScroll&&w.scroll&&w!==w.root&&ms(v,{x:-w.scroll.offset.x,y:-w.scroll.offset.y}),ao(w.latestValues)&&ms(v,w.latestValues)}return ao(this.latestValues)&&ms(v,this.latestValues),v}removeTransform(h){const g=mt();Ln(g,h);for(let v=0;v<this.path.length;v++){const x=this.path[v];if(!x.instance||!ao(x.latestValues))continue;Pf(x.latestValues)&&x.updateSnapshot();const w=mt(),P=x.measurePageBox();Ln(w,P),Pg(g,x.latestValues,x.snapshot?x.snapshot.layoutBox:void 0,w)}return ao(this.latestValues)&&Pg(g,this.latestValues),g}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.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!==Lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var g;const v=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=v.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=v.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=v.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==v;if(!(h||x&&this.isSharedProjectionDirty||this.isProjectionDirty||!((g=this.parent)===null||g===void 0)&&g.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:P,layoutId:C}=this.options;if(!(!this.layout||!(P||C))){if(this.resolvedRelativeTargetAt=Lt.timestamp,!this.targetDelta&&!this.relativeTarget){const R=this.getClosestProjectingParent();R&&R.layout&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=mt(),this.relativeTargetOrigin=mt(),Da(this.relativeTargetOrigin,this.layout.layoutBox,R.layout.layoutBox),Ln(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=mt(),this.targetWithTransforms=mt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),WT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ln(this.target,this.layout.layoutBox),gy(this.target,this.targetDelta)):Ln(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const R=this.getClosestProjectingParent();R&&!!R.resumingFrom==!!this.resumingFrom&&!R.options.layoutScroll&&R.target&&this.animationProgress!==1?(this.relativeParent=R,this.forceRelativeParentToResolveTarget(),this.relativeTarget=mt(),this.relativeTargetOrigin=mt(),Da(this.relativeTargetOrigin,this.target,R.target),Ln(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ra&&lo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Pf(this.parent.latestValues)||my(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 h;const g=this.getLead(),v=!!this.resumingFrom||this!==g;let x=!0;if((this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty)&&(x=!1),v&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===Lt.timestamp&&(x=!1),x)return;const{layout:w,layoutId:P}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(w||P))return;Ln(this.layoutCorrected,this.layout.layoutBox);const C=this.treeScale.x,R=this.treeScale.y;eP(this.layoutCorrected,this.treeScale,this.path,v),g.layout&&!g.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(g.target=g.layout.layoutBox,g.targetWithTransforms=mt());const{target:z}=g;if(!z){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xg(this.prevProjectionDelta.x,this.projectionDelta.x),xg(this.prevProjectionDelta.y,this.projectionDelta.y)),za(this.projectionDelta,this.layoutCorrected,z,this.latestValues),(this.treeScale.x!==C||this.treeScale.y!==R||!kg(this.projectionDelta.x,this.prevProjectionDelta.x)||!kg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",z)),Ra&&lo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){var g;if((g=this.options.visualElement)===null||g===void 0||g.scheduleRender(),h){const v=this.getStack();v&&v.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=hs(),this.projectionDelta=hs(),this.projectionDeltaWithTransform=hs()}setAnimationOrigin(h,g=!1){const v=this.snapshot,x=v?v.latestValues:{},w={...this.latestValues},P=hs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!g;const C=mt(),R=v?v.source:void 0,z=this.layout?this.layout.source:void 0,N=R!==z,M=this.getStack(),D=!M||M.members.length<=1,V=!!(N&&!D&&this.options.crossfade===!0&&!this.path.some(VP));this.animationProgress=0;let W;this.mixTargetDelta=Y=>{const J=Y/1e3;Ng(P.x,h.x,J),Ng(P.y,h.y,J),this.setTargetDelta(P),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Da(C,this.layout.layoutBox,this.relativeParent.layout.layoutBox),FP(this.relativeTarget,this.relativeTargetOrigin,C,J),W&&_P(this.relativeTarget,W)&&(this.isProjectionDirty=!1),W||(W=mt()),Ln(W,this.relativeTarget)),N&&(this.animationValues=w,hP(w,x,this.latestValues,J,V,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=J},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Je.update(()=>{Ru.hasAnimatedSinceResize=!0,this.currentAnimation=CP(0,Lg,{...h,onUpdate:g=>{this.mixTargetDelta(g),h.onUpdate&&h.onUpdate(g)},onComplete:()=>{h.onComplete&&h.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 h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Lg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:g,target:v,layout:x,latestValues:w}=h;if(!(!g||!v||!x)){if(this!==h&&this.layout&&x&&Ey(this.options.animationType,this.layout.layoutBox,x.layoutBox)){v=this.target||mt();const P=gn(this.layout.layoutBox.x);v.x.min=h.target.x.min,v.x.max=v.x.min+P;const C=gn(this.layout.layoutBox.y);v.y.min=h.target.y.min,v.y.max=v.y.min+C}Ln(g,v),ms(g,w),za(this.projectionDeltaWithTransform,this.layoutCorrected,g,w)}}registerSharedNode(h,g){this.sharedNodes.has(h)||this.sharedNodes.set(h,new xP),this.sharedNodes.get(h).add(g);const x=g.options.initialPromotionConfig;g.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(g):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){var h;const{layoutId:g}=this.options;return g?((h=this.getStack())===null||h===void 0?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:g}=this.options;return g?(h=this.getStack())===null||h===void 0?void 0:h.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:g,preserveFollowOpacity:v}={}){const x=this.getStack();x&&x.promote(this,v),h&&(this.projectionDelta=void 0,this.needsReset=!0),g&&this.setOptions({transition:g})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let g=!1;const{latestValues:v}=h;if((v.z||v.rotate||v.rotateX||v.rotateY||v.rotateZ||v.skewX||v.skewY)&&(g=!0),!g)return;const x={};v.z&&Yd("z",h,x,this.animationValues);for(let w=0;w<qd.length;w++)Yd(`rotate${qd[w]}`,h,x,this.animationValues),Yd(`skew${qd[w]}`,h,x,this.animationValues);h.render();for(const w in x)h.setStaticValue(w,x[w]),this.animationValues&&(this.animationValues[w]=x[w]);h.scheduleRender()}getProjectionStyles(h){var g,v;if(!this.instance||this.isSVG)return;if(!this.isVisible)return EP;const x={visibility:""},w=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,x.opacity="",x.pointerEvents=Ou(h?.pointerEvents)||"",x.transform=w?w(this.latestValues,""):"none",x;const P=this.getLead();if(!this.projectionDelta||!this.layout||!P.target){const N={};return this.options.layoutId&&(N.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,N.pointerEvents=Ou(h?.pointerEvents)||""),this.hasProjected&&!ao(this.latestValues)&&(N.transform=w?w({},""):"none",this.hasProjected=!1),N}const C=P.animationValues||P.latestValues;this.applyTransformsToTarget(),x.transform=wP(this.projectionDeltaWithTransform,this.treeScale,C),w&&(x.transform=w(C,x.transform));const{x:R,y:z}=this.projectionDelta;x.transformOrigin=`${R.origin*100}% ${z.origin*100}% 0`,P.animationValues?x.opacity=P===this?(v=(g=C.opacity)!==null&&g!==void 0?g:this.latestValues.opacity)!==null&&v!==void 0?v:1:this.preserveOpacity?this.latestValues.opacity:C.opacityExit:x.opacity=P===this?C.opacity!==void 0?C.opacity:"":C.opacityExit!==void 0?C.opacityExit:0;for(const N in Hu){if(C[N]===void 0)continue;const{correct:M,applyTo:D}=Hu[N],V=x.transform==="none"?C[N]:M(C[N],P);if(D){const W=D.length;for(let Y=0;Y<W;Y++)x[D[Y]]=V}else x[N]=V}return this.options.layoutId&&(x.pointerEvents=P===this?Ou(h?.pointerEvents)||"":"none"),x}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>{var g;return(g=h.currentAnimation)===null||g===void 0?void 0:g.stop()}),this.root.nodes.forEach(Ag),this.root.sharedNodes.clear()}}}function LP(i){i.updateLayout()}function AP(i){var r;const o=((r=i.resumeFrom)===null||r===void 0?void 0:r.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&o&&i.hasListeners("didUpdate")){const{layoutBox:l,measuredBox:c}=i.layout,{animationType:f}=i.options,h=o.source!==i.layout.source;f==="size"?An(P=>{const C=h?o.measuredBox[P]:o.layoutBox[P],R=gn(C);C.min=l[P].min,C.max=C.min+R}):Ey(f,o.layoutBox,l)&&An(P=>{const C=h?o.measuredBox[P]:o.layoutBox[P],R=gn(l[P]);C.max=C.min+R,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[P].max=i.relativeTarget[P].min+R)});const g=hs();za(g,l,o.layoutBox);const v=hs();h?za(v,i.applyTransform(c,!0),o.measuredBox):za(v,l,o.layoutBox);const x=!Py(g);let w=!1;if(!i.resumeFrom){const P=i.getClosestProjectingParent();if(P&&!P.resumeFrom){const{snapshot:C,layout:R}=P;if(C&&R){const z=mt();Da(z,o.layoutBox,C.layoutBox);const N=mt();Da(N,l,R.layoutBox),by(z,N)||(w=!0),P.options.layoutRoot&&(i.relativeTarget=N,i.relativeTargetOrigin=z,i.relativeParent=P)}}}i.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:v,layoutDelta:g,hasLayoutChanged:x,hasRelativeTargetChanged:w})}else if(i.isLead()){const{onExitComplete:l}=i.options;l&&l()}i.options.transition=void 0}function MP(i){Ra&&lo.totalNodes++,i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function NP(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function RP(i){i.clearSnapshot()}function Ag(i){i.clearMeasurements()}function OP(i){i.isLayoutDirty=!1}function jP(i){const{visualElement:r}=i.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),i.resetTransform()}function Mg(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function IP(i){i.resolveTargetDelta()}function zP(i){i.calcProjection()}function DP(i){i.resetSkewAndRotation()}function BP(i){i.removeLeadSnapshot()}function Ng(i,r,o){i.translate=ut(r.translate,0,o),i.scale=ut(r.scale,1,o),i.origin=r.origin,i.originPoint=r.originPoint}function Rg(i,r,o,l){i.min=ut(r.min,o.min,l),i.max=ut(r.max,o.max,l)}function FP(i,r,o,l){Rg(i.x,r.x,o.x,l),Rg(i.y,r.y,o.y,l)}function VP(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const UP={duration:.45,ease:[.4,0,.1,1]},Og=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),jg=Og("applewebkit/")&&!Og("chrome/")?Math.round:pn;function Ig(i){i.min=jg(i.min),i.max=jg(i.max)}function HP(i){Ig(i.x),Ig(i.y)}function Ey(i,r,o){return i==="position"||i==="preserve-aspect"&&!ZT(Eg(r),Eg(o),.2)}function ZP(i){var r;return i!==i.root&&((r=i.scroll)===null||r===void 0?void 0:r.wasRoot)}const WP=Cy({attachResizeListener:(i,r)=>$a(i,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Xd={current:void 0},ky=Cy({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!Xd.current){const i=new WP({});i.mount(window),i.setOptions({layoutScroll:!0}),Xd.current=i}return Xd.current},resetTransform:(i,r)=>{i.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),$P={pan:{Feature:sP},drag:{Feature:oP,ProjectionNode:ky,MeasureLayout:xy}};function zg(i,r,o){const{props:l}=i;i.animationState&&l.whileHover&&i.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,f=l[c];f&&Je.postRender(()=>f(r,el(r)))}class GP extends kr{mount(){const{current:r}=this.node;r&&(this.unmount=AT(r,o=>(zg(this.node,o,"Start"),l=>zg(this.node,l,"End"))))}unmount(){}}class KP extends kr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=Ja($a(this.node.current,"focus",()=>this.onFocus()),$a(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Dg(i,r,o){const{props:l}=i;i.animationState&&l.whileTap&&i.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),f=l[c];f&&Je.postRender(()=>f(r,el(r)))}class qP extends kr{mount(){const{current:r}=this.node;r&&(this.unmount=OT(r,o=>(Dg(this.node,o,"Start"),(l,{success:c})=>Dg(this.node,l,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Sf=new WeakMap,Qd=new WeakMap,YP=i=>{const r=Sf.get(i.target);r&&r(i)},XP=i=>{i.forEach(YP)};function QP({root:i,...r}){const o=i||document;Qd.has(o)||Qd.set(o,{});const l=Qd.get(o),c=JSON.stringify(r);return l[c]||(l[c]=new IntersectionObserver(XP,{root:i,...r})),l[c]}function JP(i,r,o){const l=QP(r);return Sf.set(i,o),l.observe(i),()=>{Sf.delete(i),l.unobserve(i)}}const eb={some:0,all:1};class tb extends kr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:o,margin:l,amount:c="some",once:f}=r,h={root:o?o.current:void 0,rootMargin:l,threshold:typeof c=="number"?c:eb[c]},g=v=>{const{isIntersecting:x}=v;if(this.isInView===x||(this.isInView=x,f&&!x&&this.hasEnteredView))return;x&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",x);const{onViewportEnter:w,onViewportLeave:P}=this.node.getProps(),C=x?w:P;C&&C(v)};return JP(this.node.current,h,g)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:o}=this.node;["amount","margin","root"].some(nb(r,o))&&this.startObserver()}unmount(){}}function nb({viewport:i={}},{viewport:r={}}={}){return o=>i[o]!==r[o]}const ib={inView:{Feature:tb},tap:{Feature:qP},focus:{Feature:KP},hover:{Feature:GP}},rb={layout:{ProjectionNode:ky,MeasureLayout:xy}},lh=E.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"}),Ju=E.createContext({}),uh=typeof window<"u",Ly=uh?E.useLayoutEffect:E.useEffect,Ay=E.createContext({strict:!1});function ob(i,r,o,l,c){var f,h;const{visualElement:g}=E.useContext(Ju),v=E.useContext(Ay),x=E.useContext(Qu),w=E.useContext(lh).reducedMotion,P=E.useRef(null);l=l||v.renderer,!P.current&&l&&(P.current=l(i,{visualState:r,parent:g,props:o,presenceContext:x,blockInitialAnimation:x?x.initial===!1:!1,reducedMotionConfig:w}));const C=P.current,R=E.useContext(_y);C&&!C.projection&&c&&(C.type==="html"||C.type==="svg")&&sb(P.current,o,c,R);const z=E.useRef(!1);E.useInsertionEffect(()=>{C&&z.current&&C.update(o,x)});const N=o[iy],M=E.useRef(!!N&&!(!((f=window.MotionHandoffIsComplete)===null||f===void 0)&&f.call(window,N))&&((h=window.MotionHasOptimisedAnimation)===null||h===void 0?void 0:h.call(window,N)));return Ly(()=>{C&&(z.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),ah.render(C.render),M.current&&C.animationState&&C.animationState.animateChanges())}),E.useEffect(()=>{C&&(!M.current&&C.animationState&&C.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{var D;(D=window.MotionHandoffMarkAsComplete)===null||D===void 0||D.call(window,N)}),M.current=!1))}),C}
vendor: 1,588 bytes, line 8
8function sb(i,r,o,l){const{layoutId:c,layout:f,drag:h,dragConstraints:g,layoutScroll:v,layoutRoot:x}=r;i.projection=new o(i.latestValues,r["data-framer-portal-id"]?void 0:My(i.parent)),i.projection.setOptions({layoutId:c,layout:f,alwaysMeasureLayout:!!h||g&&fs(g),visualElement:i,animationType:typeof f=="string"?f:"both",initialPromotionConfig:l,layoutScroll:v,layoutRoot:x})}function My(i){if(i)return i.options.allowProjection!==!1?i.projection:My(i.parent)}function ab(i,r,o){return E.useCallback(l=>{l&&i.mount&&i.mount(l),r&&(l?r.mount(l):r.unmount()),o&&(typeof o=="function"?o(l):fs(o)&&(o.current=l))},[r])}function ec(i){return qu(i.animate)||Bf.some(r=>Ua(i[r]))}function Ny(i){return!!(ec(i)||i.variants)}function lb(i,r){if(ec(i)){const{initial:o,animate:l}=i;return{initial:o===!1||Ua(o)?o:void 0,animate:Ua(l)?l:void 0}}return i.inherit!==!1?r:{}}function ub(i){const{initial:r,animate:o}=lb(i,E.useContext(Ju));return E.useMemo(()=>({initial:r,animate:o}),[Bg(r),Bg(o)])}function Bg(i){return Array.isArray(i)?i.join(" "):i}const Fg={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"]},xs={};for(const i in Fg)xs[i]={isEnabled:r=>Fg[i].some(o=>!!r[o])};function cb(i){for(const r in i)xs[r]={...xs[r],...i[r]}
8}const db=Symbol.for("motionComponentSymbol");function fb({preloadedFeatures:i,createVisualElement:r,useRender:o,useVisualState:l,Component:c}){i&&cb(i);function f(g,v){let x;const w={...E.useContext(lh),...g,layoutId:hb(g)},{isStatic:P}=w,C=ub(g),R=l(g,P);if(!P&&uh){pb();const z=mb(w);x=z.MeasureLayout,C.visualElement=ob(c,R,w,r,z.ProjectionNode)}return T.jsxs(Ju.Provider,{value:C,children:[x&&C.visualElement?T.jsx(x,{visualElement:C.visualElement,...w}):null,o(c,g,ab(R,C.visualElement,v),R,P,C.visualElement)]})}const h=E.forwardRef(f);return h[db]=c,h}function hb({layoutId:i}){const r=E.useContext(sh).id;return r&&i!==void 0?r+"-"+i:i}function pb(i,r){E.useContext(Ay).strict}function mb(i){const{drag:r,layout:o}=xs;if(!r&&!o)return{};const l={...r,...o};return{MeasureLayout:r?.isEnabled(i)||o?.isEnabled(i)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}const gb=["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 ch(i){return typeof i!="string"||i.includes("-")?!1:!!(gb.indexOf(i)>-1||/[A-Z]/u.test(i))}function Ry(i,{style:r,vars:o},l,c){Object.assign(i.style,r,c&&c.getProjectionStyles(l));for(const f in o)i.style.setProperty(f,o[f])}const Oy=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 jy(i,r,o,l){Ry(i,r,void 0,l);for(const c in r.attrs)i.setAttribute(Oy.has(c)?c:rh(c),r.attrs[c])}function Iy(i,{layout:r,layoutId:o}){return go.has(i)||i.startsWith("origin")||(r||o!==void 0)&&(!!Hu[i]||i==="opacity")}function dh(i,r,o){var l;const{style:c}=i,f={};for(const h in c)(Bt(c[h])||r.style&&Bt(r.style[h])||Iy(h,i)||((l=o?.getValue(h))===null||l===void 0?void 0:l.liveStyle)!==void 0)&&(f[h]=c[h]);return f}function zy(i,r,o){const l=dh(i,r,o);for(const c in i)if(Bt(i[c])||Bt(r[c])){const f=Ya.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;l[f]=i[c]}return l}function fh(i){const r=E.useRef(null);return r.current===null&&(r.current=i()),r.current}function vb({scrapeMotionValuesFromProps:i,createRenderState:r,onMount:o},l,c,f){const h={latestValues:yb(l,c,f,i),renderState:r()};return o&&(h.mount=g=>o(l,g,h)),h}const Dy=i=>(r,o)=>{const l=E.useContext(Ju),c=E.useContext(Qu),f=()=>vb(i,r,l,c);return o?f():fh(f)};function yb(i,r,o,l){const c={},f=l(i,{});for(const C in f)c[C]=Ou(f[C]);let{initial:h,animate:g}=i;const v=ec(i),x=Ny(i);r&&x&&!v&&i.inherit!==!1&&(h===void 0&&(h=r.initial),g===void 0&&(g=r.animate));let w=o?o.initial===!1:!1;w=w||h===!1;const P=w?g:h;if(P&&typeof P!="boolean"&&!qu(P)){const C=Array.isArray(P)?P:[P];for(let R=0;R<C.length;R++){const z=zf(i,C[R]);if(z){const{transitionEnd:N,transition:M,...D}=z;for(const V in D){let W=D[V];if(Array.isArray(W)){const Y=w?W.length-1:0;W=W[Y]}W!==null&&(c[V]=W)}for(const V in N)c[V]=N[V]}}}return c}const hh=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),By=()=>({...hh(),attrs:{}}),Fy=(i,r)=>r&&typeof i=="number"?r.transform(i):i,_b={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},xb=Ya.length;function wb(i,r,o){let l="",c=!0;for(let f=0;f<xb;f++){const h=Ya[f],g=i[h];if(g===void 0)continue;let v=!0;if(typeof g=="number"?v=g===(h.startsWith("scale")?1:0):v=parseFloat(g)===0,!v||o){const x=Fy(g,Gf[h]);if(!v){c=!1;const w=_b[h]||h;l+=`${w}(${x}) `}o&&(r[h]=x)}}return l=l.trim(),o?l=o(r,c?"":l):c&&(l="none"),l}function ph(i,r,o){const{style:l,vars:c,transformOrigin:f}=i;let h=!1,g=!1;for(const v in r){const x=r[v];if(go.has(v)){h=!0;continue}else if(Nv(v)){c[v]=x;continue}else{const w=Fy(x,Gf[v]);v.startsWith("origin")?(g=!0,f[v]=w):l[v]=w}}if(r.transform||(h||o?l.transform=wb(r,i.transform,o):l.transform&&(l.transform="none")),g){const{originX:v="50%",originY:x="50%",originZ:w=0}=f;l.transformOrigin=`${v} ${x} ${w}`}}function Vg(i,r,o){return typeof i=="string"?i:Pe.transform(r+o*i)}function Tb(i,r,o){const l=Vg(r,i.x,i.width),c=Vg(o,i.y,i.height);return`${l} ${c}`}const Pb={offset:"stroke-dashoffset",array:"stroke-dasharray"},bb={offset:"strokeDashoffset",array:"strokeDasharray"};function Sb(i,r,o=1,l=0,c=!0){i.pathLength=1;const f=c?Pb:bb;i[f.offset]=Pe.transform(-l);const h=Pe.transform(r),g=Pe.transform(o);i[f.array]=`${h} ${g}`}function mh(i,{attrX:r,attrY:o,attrScale:l,originX:c,originY:f,pathLength:h,pathSpacing:g=1,pathOffset:v=0,...x}
vendor: 11,467 bytes, line 8
8,w,P){if(ph(i,x,P),w){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:C,style:R,dimensions:z}=i;C.transform&&(z&&(R.transform=C.transform),delete C.transform),z&&(c!==void 0||f!==void 0||R.transform)&&(R.transformOrigin=Tb(z,c!==void 0?c:.5,f!==void 0?f:.5)),r!==void 0&&(C.x=r),o!==void 0&&(C.y=o),l!==void 0&&(C.scale=l),h!==void 0&&Sb(C,h,g,v,!1)}const gh=i=>typeof i=="string"&&i.toLowerCase()==="svg",Cb={useVisualState:Dy({scrapeMotionValuesFromProps:zy,createRenderState:By,onMount:(i,r,{renderState:o,latestValues:l})=>{Je.read(()=>{try{o.dimensions=typeof r.getBBox=="function"?r.getBBox():r.getBoundingClientRect()}catch{o.dimensions={x:0,y:0,width:0,height:0}}}),Je.render(()=>{mh(o,l,gh(r.tagName),i.transformTemplate),jy(r,o)})}})},Eb={useVisualState:Dy({scrapeMotionValuesFromProps:dh,createRenderState:hh})};function Vy(i,r,o){for(const l in r)!Bt(r[l])&&!Iy(l,o)&&(i[l]=r[l])}function kb({transformTemplate:i},r){return E.useMemo(()=>{const o=hh();return ph(o,r,i),Object.assign({},o.vars,o.style)},[r])}function Lb(i,r){const o=i.style||{},l={};return Vy(l,o,i),Object.assign(l,kb(i,r)),l}function Ab(i,r){const o={},l=Lb(i,r);return i.drag&&i.dragListener!==!1&&(o.draggable=!1,l.userSelect=l.WebkitUserSelect=l.WebkitTouchCallout="none",l.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(o.tabIndex=0),o.style=l,o}const Mb=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 Zu(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||Mb.has(i)}let Uy=i=>!Zu(i);function Nb(i){i&&(Uy=r=>r.startsWith("on")?!Zu(r):i(r))}try{Nb(require("@emotion/is-prop-valid").default)}catch{}function Rb(i,r,o){const l={};for(const c in i)c==="values"&&typeof i.values=="object"||(Uy(c)||o===!0&&Zu(c)||!r&&!Zu(c)||i.draggable&&c.startsWith("onDrag"))&&(l[c]=i[c]);return l}function Ob(i,r,o,l){const c=E.useMemo(()=>{const f=By();return mh(f,r,gh(l),i.transformTemplate),{...f.attrs,style:{...f.style}}},[r]);if(i.style){const f={};Vy(f,i.style,i),c.style={...f,...c.style}}return c}function jb(i=!1){return(o,l,c,{latestValues:f},h)=>{const v=(ch(o)?Ob:Ab)(l,f,h,o),x=Rb(l,typeof o=="string",i),w=o!==E.Fragment?{...x,...v,ref:c}:{},{children:P}=l,C=E.useMemo(()=>Bt(P)?P.get():P,[P]);return E.createElement(o,{...w,children:C})}}function Ib(i,r){return function(l,{forwardMotionProps:c}={forwardMotionProps:!1}){const h={...ch(l)?Cb:Eb,preloadedFeatures:i,useRender:jb(c),createVisualElement:r,Component:l};return fb(h)}}const Cf={current:null},Hy={current:!1};function zb(){if(Hy.current=!0,!!uh)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),r=()=>Cf.current=i.matches;i.addListener(r),r()}else Cf.current=!1}function Db(i,r,o){for(const l in r){const c=r[l],f=o[l];if(Bt(c))i.addValue(l,c);else if(Bt(f))i.addValue(l,Wa(c,{owner:i}));else if(f!==c)if(i.hasValue(l)){const h=i.getValue(l);h.liveStyle===!0?h.jump(c):h.hasAnimated||h.set(c)}else{const h=i.getStaticValue(l);i.addValue(l,Wa(h!==void 0?h:c,{owner:i}))}}for(const l in o)r[l]===void 0&&i.removeValue(l);return r}const Ug=new WeakMap,Bb=[...jv,Dt,Cr],Fb=i=>Bb.find(Ov(i)),Hg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Vb{scrapeMotionValuesFromProps(r,o,l){return{}}constructor({parent:r,props:o,presenceContext:l,reducedMotionConfig:c,blockInitialAnimation:f,visualState:h},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zf,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 C=ri.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,Je.render(this.render,!1,!0))};const{latestValues:v,renderState:x}=h;this.latestValues=v,this.baseTarget={...v},this.initialValues=o.initial?{...v}:{},this.renderState=x,this.parent=r,this.props=o,this.presenceContext=l,this.depth=r?r.depth+1:0,this.reducedMotionConfig=c,this.options=g,this.blockInitialAnimation=!!f,this.isControllingVariants=ec(o),this.isVariantNode=Ny(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:w,...P}=this.scrapeMotionValuesFromProps(o,{},this);for(const C in P){const R=P[C];v[C]!==void 0&&Bt(R)&&R.set(v[C],!1)}}mount(r){this.current=r,Ug.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,l)=>this.bindToMotionValue(l,o)),Hy.current||zb(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Cf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ug.delete(this.current),this.projection&&this.projection.unmount(),Sr(this.notifyUpdate),Sr(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const o=this.features[r];o&&(o.unmount(),o.isMounted=!1)}this.current=null}bindToMotionValue(r,o){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const l=go.has(r),c=o.on("change",g=>{this.latestValues[r]=g,this.props.onUpdate&&Je.preRender(this.notifyUpdate),l&&this.projection&&(this.projection.isTransformDirty=!0)}),f=o.on("renderRequest",this.scheduleRender);let h;window.MotionCheckAppearSync&&(h=window.MotionCheckAppearSync(this,r,o)),this.valueSubscriptions.set(r,()=>{c(),f(),h&&h(),o.owner&&o.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in xs){const o=xs[r];if(!o)continue;const{isEnabled:l,Feature:c}=o;if(!this.features[r]&&c&&l(this.props)&&(this.features[r]=new c(this)),this.features[r]){const f=this.features[r];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):mt()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,o){this.latestValues[r]=o}update(r,o){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let l=0;l<Hg.length;l++){const c=Hg[l];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const f="on"+c,h=r[f];h&&(this.propEventSubscriptions[c]=this.on(c,h))}this.prevMotionValues=Db(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]: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(r){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(r),()=>o.variantChildren.delete(r)}addValue(r,o){const l=this.values.get(r);o!==l&&(l&&this.removeValue(r),this.bindToMotionValue(r,o),this.values.set(r,o),this.latestValues[r]=o.get())}removeValue(r){this.values.delete(r);const o=this.valueSubscriptions.get(r);o&&(o(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,o){if(this.props.values&&this.props.values[r])return this.props.values[r];let l=this.values.get(r);return l===void 0&&o!==void 0&&(l=Wa(o===null?void 0:o,{owner:this}),this.addValue(r,l)),l}readValue(r,o){var l;let c=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:(l=this.getBaseTargetFromProps(this.props,r))!==null&&l!==void 0?l:this.readValueFromInstance(this.current,r,this.options);return c!=null&&(typeof c=="string"&&(Av(c)||Lv(c))?c=parseFloat(c):!Fb(c)&&Cr.test(o)&&(c=Hv(r,o)),this.setBaseTarget(r,Bt(c)?c.get():c)),Bt(c)?c.get():c}setBaseTarget(r,o){this.baseTarget[r]=o}getBaseTarget(r){var o;const{initial:l}=this.props;let c;if(typeof l=="string"||typeof l=="object"){const h=zf(this.props,l,(o=this.presenceContext)===null||o===void 0?void 0:o.custom);h&&(c=h[r])}if(l&&c!==void 0)return c;const f=this.getBaseTargetFromProps(this.props,r);return f!==void 0&&!Bt(f)?f:this.initialValues[r]!==void 0&&c===void 0?void 0:this.baseTarget[r]}on(r,o){return this.events[r]||(this.events[r]=new ih),this.events[r].add(o)}notify(r,...o){this.events[r]&&this.events[r].notify(...o)}}class Zy extends Vb{constructor(){super(...arguments),this.KeyframeResolver=Zv}sortInstanceNodePosition(r,o){return r.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(r,o){return r.style?r.style[o]:void 0}removeValueFromRenderState(r,{vars:o,style:l}){delete o[r],delete l[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Bt(r)&&(this.childSubscription=r.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}function Ub(i){return window.getComputedStyle(i)}class Hb extends Zy{constructor(){super(...arguments),this.type="html",this.renderInstance=Ry}readValueFromInstance(r,o){if(go.has(o)){const l=Kf(o);return l&&l.default||0}else{const l=Ub(r),c=(Nv(o)?l.getPropertyValue(o):l[o])||0;return typeof c=="string"?c.trim():c}}measureInstanceViewportBox(r,{transformPagePoint:o}){return vy(r,o)}build(r,o,l){ph(r,o,l.transformTemplate)}scrapeMotionValuesFromProps(r,o,l){return dh(r,o,l)}}class Zb extends Zy{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=mt}getBaseTargetFromProps(r,o){return r[o]}readValueFromInstance(r,o){if(go.has(o)){const l=Kf(o);return l&&l.default||0}return o=Oy.has(o)?o:rh(o),r.getAttribute(o)}scrapeMotionValuesFromProps(r,o,l){return zy(r,o,l)}build(r,o,l){mh(r,o,this.isSVGTag,l.transformTemplate)}renderInstance(r,o,l,c){jy(r,o,l,c)}mount(r){this.isSVGTag=gh(r.tagName),super.mount(r)}}const Wb=(i,r)=>ch(i)?new Zb(r):new Hb(r,{allowProjection:i!==E.Fragment}),$b=Ib({...kT,...ib,...$P,...rb},Wb),ht=Sw($b);
8class Gb extends E.Component{getSnapshotBeforeUpdate(r){const o=this.props.childRef.current;if(o&&r.isPresent&&!this.props.isPresent){const l=this.props.sizeRef.current;l.height=o.offsetHeight||0,l.width=o.offsetWidth||0,l.top=o.offsetTop,l.left=o.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Kb({children:i,isPresent:r}){const o=E.useId(),l=E.useRef(null),c=E.useRef({width:0,height:0,top:0,left:0}),{nonce:f}=E.useContext(lh);return E.useInsertionEffect(()=>{const{width:h,height:g,top:v,left:x}=c.current;if(r||!l.current||!h||!g)return;l.current.dataset.motionPopId=o;const w=document.createElement("style");return f&&(w.nonce=f),document.head.appendChild(w),w.sheet&&w.sheet.insertRule(`
9          [data-motion-pop-id="${o}"] {
10            position: absolute !important;
11            width: ${h}px !important;
12            height: ${g}px !important;
13            top: ${v}px !important;
14            left: ${x}px !important;
15          }
16        `),()=>{document.head.removeChild(w)}},[r]),T.jsx(Gb,{isPresent:r,childRef:l,sizeRef:c,children:E.cloneElement(i,{ref:l})})}const qb=({children:i,initial:r,isPresent:o,onExitComplete:l,custom:c,presenceAffectsLayout:f,mode:h})=>{const g=fh(Yb),v=E.useId(),x=E.useCallback(P=>{g.set(P,!0);for(const C of g.values())if(!C)return;l&&l()},[g,l]),w=E.useMemo(()=>({id:v,initial:r,isPresent:o,custom:c,onExitComplete:x,register:P=>(g.set(P,!1),()=>g.delete(P))}),f?[Math.random(),x]:[o,x]);return E.useMemo(()=>{g.forEach((P,C)=>g.set(C,!1))},[o]),E.useEffect(()=>{!o&&!g.size&&l&&l()},[o]),h==="popLayout"&&(i=T.jsx(Kb,{isPresent:o,children:i})),T.jsx(Qu.Provider,{value:w,children:i})};function Yb(){return new Map}const ku=i=>i.key||"";function Zg(i){const r=[];return E.Children.forEach(i,o=>{E.isValidElement(o)&&r.push(o)}),r}const Xb=({children:i,exitBeforeEnter:r,custom:o,initial:l=!0,onExitComplete:c,presenceAffectsLayout:f=!0,mode:h="sync"})=>{const g=E.useMemo(()=>Zg(i),[i]),v=g.map(ku),x=E.useRef(!0),w=E.useRef(g),P=fh(()=>new Map),[C,R]=E.useState(g),[z,N]=E.useState(g);Ly(()=>{x.current=!1,w.current=g;for(let V=0;V<z.length;V++){const W=ku(z[V]);v.includes(W)?P.delete(W):P.get(W)!==!0&&P.set(W,!1)}},[z,v.length,v.join("-")]);const M=[];if(g!==C){let V=[...g];for(let W=0;W<z.length;W++){const Y=z[W],J=ku(Y);v.includes(J)||(V.splice(W,0,Y),M.push(Y))}h==="wait"&&M.length&&(V=M),N(Zg(V)),R(g);return}const{forceRender:D}=E.useContext(sh);return T.jsx(T.Fragment,{children:z.map(V=>{const W=ku(V),Y=g===z||v.includes(W),J=()=>{if(P.has(W))P.set(W,!0);else return;let re=!0;P.forEach(ue=>{ue||(re=!1)}),re&&(D?.(),N(w.current),c&&c())};return T.jsx(qb,{isPresent:Y,initial:!x.current||l?void 0:!1,custom:Y?void 0:o,presenceAffectsLayout:f,mode:h,onExitComplete:Y?void 0:J,children:V},W)})})};const Qb=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Wy=(...i)=>i.filter((r,o,l)=>!!r&&r.trim()!==""&&l.indexOf(r)===o).join(" ").trim();var Jb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const eS=E.forwardRef(({color:i="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:c="",children:f,iconNode:h,...g},v)=>E.createElement("svg",{ref:v,...Jb,width:r,height:r,stroke:i,strokeWidth:l?Number(o)*24/Number(r):o,className:Wy("lucide",c),...g},[...h.map(([x,w])=>E.createElement(x,w)),...Array.isArray(f)?f:[f]]));const We=(i,r)=>{const o=E.forwardRef(({className:l,...c},f)=>E.createElement(eS,{ref:f,iconNode:r,className:Wy(`lucide-${Qb(i)}`,l),...c}));return o.displayName=`${i}`,o};const tS=We("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const nS=We("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);const Jd=We("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const iS=We("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);const rS=We("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);const oS=We("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const sS=We("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const aS=We("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);const $y=We("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const lS=We("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const uS=We("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);const cS=We("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);
vendor: 4,558 bytes, line 16
16const dS=We("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const fS=We("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const vh=We("MapPin",[["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"}]]);const hS=We("Menu",[["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"}]]);const Gy=We("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);const pS=We("MessageSquare",[["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"}]]);const Ky=We("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);const mS=We("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const gS=We("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);const vS=We("ShieldCheck",[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const qy=We("Shield",[["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",key:"oel41y"}]]);const ka=We("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const Yy=We("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);const yS=We("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);const Xy=We("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const Qy=We("Zap",[["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"}]]);function Jy(i){var r,o,l="";if(typeof i=="string"||typeof i=="number")l+=i;else if(typeof i=="object")if(Array.isArray(i)){var c=i.length;for(r=0;r<c;r++)i[r]&&(o=Jy(i[r]))&&(l&&(l+=" "),l+=o)}else for(o in i)i[o]&&(l&&(l+=" "),l+=o);return l}function e_(){for(var i,r,o=0,l="",c=arguments.length;o<c;o++)(i=arguments[o])&&(r=Jy(i))&&(l&&(l+=" "),l+=r);return l}const yh="-",_S=i=>{const r=wS(i),{conflictingClassGroups:o,conflictingClassGroupModifiers:l}=i;return{getClassGroupId:h=>{const g=h.split(yh);return g[0]===""&&g.length!==1&&g.shift(),t_(g,r)||xS(h)},getConflictingClassGroupIds:(h,g)=>{const v=o[h]||[];return g&&l[h]?[...v,...l[h]]:v}}},t_=(i,r)=>{if(i.length===0)return r.classGroupId;const o=i[0],l=r.nextPart.get(o),c=l?t_(i.slice(1),l):void 0;if(c)return c;if(r.validators.length===0)return;const f=i.join(yh);return r.validators.find(({validator:h})=>h(f))?.classGroupId},Wg=/^\[(.+)\]$/,xS=i=>
vendor: 4,201 bytes, line 16
16{if(Wg.test(i)){const r=Wg.exec(i)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},wS=i=>{const{theme:r,prefix:o}=i,l={nextPart:new Map,validators:[]};return PS(Object.entries(i.classGroups),o).forEach(([f,h])=>{Ef(h,l,f,r)}),l},Ef=(i,r,o,l)=>{i.forEach(c=>{if(typeof c=="string"){const f=c===""?r:$g(r,c);f.classGroupId=o;return}if(typeof c=="function"){if(TS(c)){Ef(c(l),r,o,l);return}r.validators.push({validator:c,classGroupId:o});return}Object.entries(c).forEach(([f,h])=>{Ef(h,$g(r,f),o,l)})})},$g=(i,r)=>{let o=i;return r.split(yh).forEach(l=>{o.nextPart.has(l)||o.nextPart.set(l,{nextPart:new Map,validators:[]}),o=o.nextPart.get(l)}),o},TS=i=>i.isThemeGetter,PS=(i,r)=>r?i.map(([o,l])=>{const c=l.map(f=>typeof f=="string"?r+f:typeof f=="object"?Object.fromEntries(Object.entries(f).map(([h,g])=>[r+h,g])):f);return[o,c]}):i,bS=i=>{if(i<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,l=new Map;const c=(f,h)=>{o.set(f,h),r++,r>i&&(r=0,l=o,o=new Map)};return{get(f){let h=o.get(f);if(h!==void 0)return h;if((h=l.get(f))!==void 0)return c(f,h),h},set(f,h){o.has(f)?o.set(f,h):c(f,h)}}},n_="!",SS=i=>{const{separator:r,experimentalParseClassName:o}=i,l=r.length===1,c=r[0],f=r.length,h=g=>{const v=[];let x=0,w=0,P;for(let M=0;M<g.length;M++){let D=g[M];if(x===0){if(D===c&&(l||g.slice(M,M+f)===r)){v.push(g.slice(w,M)),w=M+f;continue}if(D==="/"){P=M;continue}}D==="["?x++:D==="]"&&x--}const C=v.length===0?g:g.substring(w),R=C.startsWith(n_),z=R?C.substring(1):C,N=P&&P>w?P-w:void 0;return{modifiers:v,hasImportantModifier:R,baseClassName:z,maybePostfixModifierPosition:N}};return o?g=>o({className:g,parseClassName:h}):h},CS=i=>{if(i.length<=1)return i;const r=[];let o=[];return i.forEach(l=>{l[0]==="["?(r.push(...o.sort(),l),o=[]):o.push(l)}),r.push(...o.sort()),r},ES=i=>({cache:bS(i.cacheSize),parseClassName:SS(i),..._S(i)}),kS=/\s+/,LS=(i,r)=>{const{parseClassName:o,getClassGroupId:l,getConflictingClassGroupIds:c}=r,f=[],h=i.trim().split(kS);let g="";for(let v=h.length-1;v>=0;v-=1){const x=h[v],{modifiers:w,hasImportantModifier:P,baseClassName:C,maybePostfixModifierPosition:R}=o(x);let z=!!R,N=l(z?C.substring(0,R):C);if(!N){if(!z){g=x+(g.length>0?" "+g:g);continue}if(N=l(C),!N){g=x+(g.length>0?" "+g:g);continue}z=!1}const M=CS(w).join(":"),D=P?M+n_:M,V=D+N;if(f.includes(V))continue;f.push(V);const W=c(N,z);for(let Y=0;Y<W.length;++Y){const J=W[Y];f.push(D+J)}g=x+(g.length>0?" "+g:g)}return g};function AS(){let i=0,r,o,l="";for(;i<arguments.length;)(r=arguments[i++])&&(o=i_(r))&&(l&&(l+=" "),l+=o);return l}const i_=i=>{if(typeof i=="string")return i;let r,o="";for(let l=0;l<i.length;l++)i[l]&&(r=i_(i[l]))&&(o&&(o+=" "),o+=r);return o};function MS(i,...r){let o,l,c,f=h;function h(v){const x=r.reduce((w,P)=>P(w),i());return o=ES(x),l=o.cache.get,c=o.cache.set,f=g,g(v)}function g(v){const x=l(v);if(x)return x;const w=LS(v,o);return c(v,w),w}return function(){return f(AS.apply(null,arguments))}}const Qe=i=>{const r=o=>o[i]||[];return r.isThemeGetter=!0,r},r_=/^\[(?:([a-z-]+):)?(.+)\]$/i,NS=/^\d+\/\d+$/,RS=new Set(["px","full","screen"]),OS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jS=/\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$/,IS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,zS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ai=i=>vs(i)||RS.has(i)||NS.test(i),xr=i=>Ps(i,"length",$S),vs=i=>!!i&&!Number.isNaN(Number(i)),ef=i=>Ps(i,"number",vs),La=i=>!!i&&Number.isInteger(Number(i)),BS=i=>i.endsWith("%")&&vs(i.slice(0,-1)),Ne=i=>r_.test(i),wr=i=>OS.test(i),FS=new Set(["length","size","percentage"]),VS=i=>Ps(i,FS,o_),US=i=>Ps(i,"position",o_),HS=new Set(["image","url"]),ZS=i=>Ps(i,HS,KS),WS=i=>Ps(i,"",GS),Aa=()=>!0,Ps=(i,r,o)=>{const l=r_.exec(i);return l?l[1]?typeof r=="string"?l[1]===r:r.has(l[1]):o(l[2]):!1},$S=i=>jS.test(i)&&!IS.test(i),o_=()=>!1,GS=i=>zS.test(i),KS=i=>DS.test(i),qS=()=>{const i=Qe("colors"),r=Qe("spacing"),o=Qe("blur"),l=Qe("brightness"),c=Qe("borderColor"),f=Qe("borderRadius"),h=Qe("borderSpacing"),g=Qe("borderWidth"),v=Qe("
16contrast"),x=Qe("grayscale"),w=Qe("hueRotate"),P=Qe("invert"),C=Qe("gap"),R=Qe("gradientColorStops"),z=Qe("gradientColorStopPositions"),N=Qe("inset"),M=Qe("margin"),D=Qe("opacity"),V=Qe("padding"),W=Qe("saturate"),Y=Qe("scale"),J=Qe("sepia"),re=Qe("skew"),ue=Qe("space"),ae=Qe("translate"),Re=()=>["auto","contain","none"],Oe=()=>["auto","hidden","clip","visible","scroll"],Me=()=>["auto",Ne,r],ye=()=>[Ne,r],it=()=>["",Ai,xr],de=()=>["auto",vs,Ne],Ge=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ke=()=>["solid","dashed","dotted","double","none"],_e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],oe=()=>["","0",Ne],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[vs,Ne];return{cacheSize:500,separator:":",theme:{colors:[Aa],spacing:[Ai,xr],blur:["none","",wr,Ne],brightness:j(),borderColor:[i],borderRadius:["none","","full",wr,Ne],borderSpacing:ye(),borderWidth:it(),contrast:j(),grayscale:oe(),hueRotate:j(),invert:oe(),gap:ye(),gradientColorStops:[i],gradientColorStopPositions:[BS,xr],inset:Me(),margin:Me(),opacity:j(),padding:ye(),saturate:j(),scale:j(),sepia:oe(),skew:j(),space:ye(),translate:ye()},classGroups:{aspect:[{aspect:["auto","square","video",Ne]}],container:["container"],columns:[{columns:[wr]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","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:[...Ge(),Ne]}],overflow:[{overflow:Oe()}],"overflow-x":[{"overflow-x":Oe()}],"overflow-y":[{"overflow-y":Oe()}],overscroll:[{overscroll:Re()}],"overscroll-x":[{"overscroll-x":Re()}],"overscroll-y":[{"overscroll-y":Re()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[N]}],"inset-x":[{"inset-x":[N]}],"inset-y":[{"inset-y":[N]}],start:[{start:[N]}],end:[{end:[N]}],top:[{top:[N]}],right:[{right:[N]}],bottom:[{bottom:[N]}],left:[{left:[N]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",La,Ne]}],basis:[{basis:Me()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ne]}],grow:[{grow:oe()}],shrink:[{shrink:oe()}],order:[{order:["first","last","none",La,Ne]}],"grid-cols":[{"grid-cols":[Aa]}],"col-start-end":[{col:["auto",{span:["full",La,Ne]},Ne]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[Aa]}],"row-start-end":[{row:["auto",{span:[La,Ne]},Ne]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ne]}],gap:[{gap:[C]}],"gap-x":[{"gap-x":[C]}],"gap-y":[{"gap-y":[C]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[V]}],px:[{px:[V]}],py:[{py:[V]}],ps:[{ps:[V]}],pe:[{pe:[V]}],pt:[{pt:[V]}],pr:[{pr:[V]}],pb:[{pb:[V]}],pl:[{pl:[V]}],m:[{m:[M]}],mx:[{mx:[M]}],my:[{my:[M]}],ms:[{ms:[M]}],me:[{me:[M]}],mt:[{mt:[M]}],mr:[{mr:[M]}],mb:[{mb:[M]}],ml:[{ml:[M]}],"space-x":[{"space-x":[ue]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ue]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ne,r]}],"min-w":[{"min-w":[Ne,r,"min","max","fit"]}],"max-w":[{"max-w":[Ne,r,"none","full","min","max","fit","prose",{screen:[wr]},wr]}],h:[{h:[Ne,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ne,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ne,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ne,r,"auto","min","max","fit"]}],"font-size":[{text:["base",wr,xr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ef]}],"font-family":[{font:[Aa]}],"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:["tighter","tight","normal","wide","wider","widest",Ne]}],"line-clamp":[{"line-clamp":["none",vs,ef]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ai,Ne]}],"list-image":[{"list-image":["none",Ne]}],"list-style-type":[{list:["none","disc","decimal",Ne]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[i]}],"placeholder-opacity":[{"placeholder-opacity":[D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[i]}],"text-opacity":[{"text-opacity":[D]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ke(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ai,xr]}],"underline-offset":[{"underline-offset":["auto",Ai,Ne]}],"text-decoration-color":[{decoration:[i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ye()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[D]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ge(),US]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",VS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ZS]}],"bg-color":[{bg:[i]}],"gradient-from-pos":[{from:[z]}
vendor: 5,208 bytes, line 16
16],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[R]}],"gradient-via":[{via:[R]}],"gradient-to":[{to:[R]}],rounded:[{rounded:[f]}],"rounded-s":[{"rounded-s":[f]}],"rounded-e":[{"rounded-e":[f]}],"rounded-t":[{"rounded-t":[f]}],"rounded-r":[{"rounded-r":[f]}],"rounded-b":[{"rounded-b":[f]}],"rounded-l":[{"rounded-l":[f]}],"rounded-ss":[{"rounded-ss":[f]}],"rounded-se":[{"rounded-se":[f]}],"rounded-ee":[{"rounded-ee":[f]}],"rounded-es":[{"rounded-es":[f]}],"rounded-tl":[{"rounded-tl":[f]}],"rounded-tr":[{"rounded-tr":[f]}],"rounded-br":[{"rounded-br":[f]}],"rounded-bl":[{"rounded-bl":[f]}],"border-w":[{border:[g]}],"border-w-x":[{"border-x":[g]}],"border-w-y":[{"border-y":[g]}],"border-w-s":[{"border-s":[g]}],"border-w-e":[{"border-e":[g]}],"border-w-t":[{"border-t":[g]}],"border-w-r":[{"border-r":[g]}],"border-w-b":[{"border-b":[g]}],"border-w-l":[{"border-l":[g]}],"border-opacity":[{"border-opacity":[D]}],"border-style":[{border:[...ke(),"hidden"]}],"divide-x":[{"divide-x":[g]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[g]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[D]}],"divide-style":[{divide:ke()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-s":[{"border-s":[c]}],"border-color-e":[{"border-e":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...ke()]}],"outline-offset":[{"outline-offset":[Ai,Ne]}],"outline-w":[{outline:[Ai,xr]}],"outline-color":[{outline:[i]}],"ring-w":[{ring:it()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[i]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[Ai,xr]}],"ring-offset-color":[{"ring-offset":[i]}],shadow:[{shadow:["","inner","none",wr,WS]}],"shadow-color":[{shadow:[Aa]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":[..._e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_e()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[l]}],contrast:[{contrast:[v]}],"drop-shadow":[{"drop-shadow":["","none",wr,Ne]}],grayscale:[{grayscale:[x]}],"hue-rotate":[{"hue-rotate":[w]}],invert:[{invert:[P]}],saturate:[{saturate:[W]}],sepia:[{sepia:[J]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[l]}],"backdrop-contrast":[{"backdrop-contrast":[v]}],"backdrop-grayscale":[{"backdrop-grayscale":[x]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[w]}],"backdrop-invert":[{"backdrop-invert":[P]}],"backdrop-opacity":[{"backdrop-opacity":[D]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[h]}],"border-spacing-x":[{"border-spacing-x":[h]}],"border-spacing-y":[{"border-spacing-y":[h]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ne]}],duration:[{duration:j()}],ease:[{ease:["linear","in","out","in-out",Ne]}],delay:[{delay:j()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-x":[{"scale-x":[Y]}],"scale-y":[{"scale-y":[Y]}],rotate:[{rotate:[La,Ne]}],"translate-x":[{"translate-x":[ae]}],"translate-y":[{"translate-y":[ae]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ne]}],accent:[{accent:["auto",i]}],appearance:[{appearance:["none","auto"]}],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",Ne]}],"caret-color":[{caret:[i]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ye()}],"scroll-mx":[{"scroll-mx":ye()}],"scroll-my":[{"scroll-my":ye()}],"scroll-ms":[{"scroll-ms":ye()}],"scroll-me":[{"scroll-me":ye()}],"scroll-mt":[{"scroll-mt":ye()}],"scroll-mr":[{"scroll-mr":ye()}],"scroll-mb":[{"scroll-mb":ye()}],"scroll-ml":[{"scroll-ml":ye()}],"scroll-p":[{"scroll-p":ye()}],"scroll-px":[{"scroll-px":ye()}],"scroll-py":[{"scroll-py":ye()}],"scroll-ps":[{"scroll-ps":ye()}],"scroll-pe":[{"scroll-pe":ye()}],"scroll-pt":[{"scroll-pt":ye()}],"scroll-pr":[{"scroll-pr":ye()}],"scroll-pb":[{"scroll-pb":ye()}],"scroll-pl":[{"scroll-pl":ye()}],"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"]}
16],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",Ne]}],fill:[{fill:[i,"none"]}],"stroke-w":[{stroke:[Ai,xr,ef]}],stroke:[{stroke:[i,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},YS=MS(qS);function vo(...i){return YS(e_(i))}function Gg(i,r){if(typeof i=="function")return i(r);i!=null&&(i.current=r)}function s_(...i){return r=>{let o=!1;const l=i.map(c=>{const f=Gg(c,r);return!o&&typeof f=="function"&&(o=!0),f});if(o)return()=>{for(let c=0;c<l.length;c++){const f=l[c];typeof f=="function"?f():Gg(i[c],null)}}}}function ho(...i){return E.useCallback(s_(...i),i)}var Ga=E.forwardRef((i,r)=>{const{children:o,...l}=i,c=E.Children.toArray(o),f=c.find(QS);if(f){const h=f.props.children,g=c.map(v=>v===f?E.Children.count(h)>1?E.Children.only(null):E.isValidElement(h)?h.props.children:null:v);return T.jsx(kf,{...l,ref:r,children:E.isValidElement(h)?E.cloneElement(h,void 0,g):null})}return T.jsx(kf,{...l,ref:r,children:o})});Ga.displayName="Slot";var kf=E.forwardRef((i,r)=>{const{children:o,...l}=i;if(E.isValidElement(o)){const c=eC(o);return E.cloneElement(o,{...JS(l,o.props),ref:r?s_(r,c):c})}return E.Children.count(o)>1?E.Children.only(null):null});kf.displayName="SlotClone";var XS=({children:i})=>T.jsx(T.Fragment,{children:i});function QS(i){return E.isValidElement(i)&&i.type===XS}function JS(i,r){const o={...r};for(const l in r){const c=i[l],f=r[l];/^on[A-Z]/.test(l)?c&&f?o[l]=(...g)=>{f(...g),c(...g)}:c&&(o[l]=c):l==="style"?o[l]={...c,...f}:l==="className"&&(o[l]=[c,f].filter(Boolean).join(" "))}return{...i,...o}}function eC(i){let r=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?i.ref:(r=Object.getOwnPropertyDescriptor(i,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?i.props.ref:i.props.ref||i.ref)}const Kg=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,qg=e_,a_=(i,r)=>o=>{var l;if(r?.variants==null)return qg(i,o?.class,o?.className);const{variants:c,defaultVariants:f}=r,h=Object.keys(c).map(x=>{const w=o?.[x],P=f?.[x];if(w===null)return null;const C=Kg(w)||Kg(P);return c[x][C]}),g=o&&Object.entries(o).reduce((x,w)=>{let[P,C]=w;return C===void 0||(x[P]=C),x},{}),v=r==null||(l=r.compoundVariants)===null||l===void 0?void 0:l.reduce((x,w)=>{let{class:P,className:C,...R}=w;return Object.entries(R).every(z=>{let[N,M]=z;return Array.isArray(M)?M.includes({...f,...g}[N]):{...f,...g}[N]===M})?[...x,P,C]:x},[]);return qg(i,h,v,o?.class,o?.className)},tC=a_("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),mn=lt.forwardRef(({className:i,variant:r,size:o,asChild:l=!1,...c},f)=>{const h=l?Ga:"button";return T.jsx(h,{className:vo(tC({variant:r,size:o,className:i})),ref:f,...c})});mn.displayName="Button";const nC=()=>{const[i,r]=E.useState(!1),[o,l]=E.useState(!1),c=qa(),f=uv();E.useEffect(()=>{const g=()=>{r(window.scrollY>10)};return window.addEventListener("scroll",g),()=>window.removeEventListener("scroll",g)},[]);const h=g=>{if(c.pathname==="/"){const v=document.getElementById(g);v&&v.scrollIntoView({behavior:"smooth"})}else f(`/#${g}`);l(!1)};return T.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${i?"bg-white shadow-md py-3":"bg-white/95 backdrop-blur-sm py-4"}`,children:T.jsxs("div",{className:"container mx-auto px-6",children:[T.jsxs("div",{className:"flex items-center justify-between",children:[T.jsx(Iu,{to:"/",className:"flex items-center cursor-pointer",onClick:()=>h("hero"),children:T.jsx("img",{src:"/assets/img/da0fb8044f70de9ced458d51c8c19a2a.png",alt:"DELTA CONNECT Logo",className:"h-10 md:h-12 w-auto"})}),T.jsxs("nav",{className:"hidden md:flex items-center gap-8",children:[T.jsx("button",{onClick:()=>h("hero"),className:"text-brand-dark hover:text-brand-blue font-medium transition-colors",children:"Início"}),T.jsx("button",{onClick:()=>h("about"),className:"text-brand-dark hover:text-brand-blue font-medium transition-colors",children:"Sobre Nós"}),T.jsx("button",{onClick:()=>h("plans"),className:"text-brand-dark hover:text-brand-blue font-medium transition-colors",children:"Planos"}),T.jsx("button",{onClick:()=>h("contact"),className:"text-brand-dark hover:text-brand-blue font-medium transition-colors",children:"Contato"})]}),T.jsx("div",{className:"hidden md:flex items-center gap-4",children:T.jsx(mn,{asChild:!0,className:"bg-brand-blue hover:bg-brand-blue/90 text-white shadow-md hover:shadow-lg transition-all rounded-full px-6",children:T.jsxs("a",{href:"https://api.deltaconnect.com.br/",target:"_blank",rel:"noopener noreferrer",children:[T.jsx(yS,{className:"mr-2 h-4 w-4"}),"2ª Via de Boleto"]})})}),T.jsx("button",{className:"md:hidden text-brand-dark",onClick:()=>l(!o),children:o?T.jsx(Xy,{size:28}):T.jsx(hS,{size:28})})]}),o&&T.jsxs(ht.div,{initial:{opacity:0,y:-20}
16,animate:{opacity:1,y:0},className:"md:hidden absolute top-full left-0 right-0 bg-white border-b shadow-lg p-6 flex flex-col gap-4",children:[T.jsx("button",{onClick:()=>h("hero"),className:"text-left text-brand-dark font-medium py-2 border-b border-gray-100",children:"Início"}),T.jsx("button",{onClick:()=>h("about"),className:"text-left text-brand-dark font-medium py-2 border-b border-gray-100",children:"Sobre Nós"}),T.jsx("button",{onClick:()=>h("plans"),className:"text-left text-brand-dark font-medium py-2 border-b border-gray-100",children:"Planos"}),T.jsx("button",{onClick:()=>h("contact"),className:"text-left text-brand-dark font-medium py-2 border-b border-gray-100",children:"Contato"}),T.jsx(mn,{asChild:!0,className:"w-full bg-brand-blue text-white rounded-full mt-2",children:T.jsx("a",{href:"https://api.deltaconnect.com.br/",target:"_blank",rel:"noopener noreferrer",children:"2ª Via de Boleto"})})]})]})})},iC=()=>{const i=()=>{document.getElementById("plans").scrollIntoView({behavior:"smooth"})};return T.jsxs("section",{id:"hero",className:"relative pt-32 pb-20 lg:pt-48 lg:pb-32 overflow-hidden bg-gradient-to-br from-blue-50 via-white to-blue-100",children:[T.jsx("div",{className:"absolute top-0 right-0 w-full md:w-1/2 h-full bg-brand-blue/10 skew-x-12 transform origin-top translate-x-1/3"}),T.jsx("div",{className:"container mx-auto px-6 relative z-10",children:T.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[T.jsxs(ht.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[T.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-brand-blue/10 text-brand-blue text-sm font-semibold mb-6 border border-brand-blue/20",children:[T.jsxs("span",{className:"relative flex h-2 w-2",children:[T.jsx("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-brand-blue opacity-75"}),T.jsx("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-brand-blue"})]}),"Conexão estável e rápida"]}),T.jsxs("h1",{className:"text-5xl lg:text-6xl font-bold text-brand-dark leading-tight mb-6",children:["Fibra óptica de até ",T.jsx("br",{}),T.jsx("span",{className:"text-brand-blue",children:"1 Giga"})]}),T.jsx("p",{className:"text-xl text-slate-600 mb-8 max-w-lg leading-relaxed",children:"Planos a partir de R$ 89,99/mês em Parnaíba, Cajueiro da Praia, Araioses, Água Doce e Santana do Maranhão. Instalação e suporte com gente daqui."}),T.jsx("div",{className:"flex flex-col sm:flex-row gap-4 mb-10",children:T.jsxs(mn,{size:"lg",onClick:i,className:"bg-brand-blue hover:bg-brand-blue/90 text-white h-14 px-8 text-lg shadow-lg hover:shadow-xl transition-all rounded-full",children:["Ver Planos",T.jsx(tS,{className:"ml-2 h-5 w-5"})]})}),T.jsxs("div",{className:"flex flex-wrap items-center gap-6 text-sm font-medium text-slate-600",children:[T.jsxs("div",{className:"flex items-center gap-2",children:[T.jsx("div",{className:"p-1 rounded-full bg-blue-100 text-brand-blue",children:T.jsx(Jd,{size:16})}),T.jsx("span",{children:"Instalação"})]}),T.jsxs("div",{className:"flex items-center gap-2",children:[T.jsx("div",{className:"p-1 rounded-full bg-blue-100 text-brand-blue",children:T.jsx(Jd,{size:16})}),T.jsx("span",{children:"Suporte"})]}),T.jsxs("div",{className:"flex items-center gap-2",children:[T.jsx("div",{className:"p-1 rounded-full bg-blue-100 text-brand-blue",children:T.jsx(Jd,{size:16})}),T.jsx("span",{children:"100% Fibra Óptica"})]})]})]}),T.jsxs(ht.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.8},className:"relative",children:[T.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl border-4 border-white/50",children:T.jsx("img",{alt:"Menina 3D estilo cartoon usando notebook azul Delta Connect com felicidade",className:"w-full h-auto object-cover transform hover:scale-105 transition-transform duration-700",src:"/assets/img/6ddedcf0515d83d27475d4ebe269c6da.webp"})}),T.jsx("div",{className:"absolute -z-10 -top-10 -right-10 text-brand-blue/20",children:T.jsxs("svg",{width:"100",height:"100",viewBox:"0 0 100 100",fill:"currentColor",children:[T.jsx("pattern",{id:"dots",x:"0",y:"0",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:T.jsx("circle",{cx:"2",cy:"2",r:"2"})}),T.jsx("rect",{width:"100",height:"100",fill:"url(#dots)"})]})})]})]})})]})},rC=()=>{const r="https://wa.me/55868000860100",o=[{name:"Delta Family",speed:"500",unit:"MEGA",price:"89,99",features:["Múltiplos Dispositivos","Filmes em 4K sem travar","Conexão Estável","Instalação Grátis"],highlight:"Escolha das Famílias",popular:!1},{name:"Delta Turbo",speed:"700",unit:"MEGA",price:"99,99",features:["Home Office Fluido","Upload Rápido","Baixa Latência","Instalação Grátis"],highlight:"Produtivida
16de Total",popular:!0},{name:"Delta Ultra",speed:"900",unit:"MEGA",price:"109,99",features:["Download Ultra Rápido","Smart Home Ready","Wi-Fi 6 Opcional","Instalação Grátis"],highlight:"Velocidade Superior",popular:!1},{name:"Delta Giga",speed:"1",unit:"GIGA",price:"119,99",features:["Máxima Performance","Streaming 8K","Roteador Premium","Instalação Grátis"],highlight:"Poder Absoluto",popular:!1}],l=[{icon:T.jsx(Yy,{className:"w-8 h-8 text-brand-blue"}),title:"Compromisso e Qualidade",desc:"Uma trajetória sólida de compromisso e inovação no mercado de telecomunicações."},{icon:T.jsx(vh,{className:"w-8 h-8 text-brand-blue"}),title:"100% de Cobertura",desc:"Estamos presentes em toda a cidade, garantindo conexão onde quer que você more."},{icon:T.jsx(Qy,{className:"w-8 h-8 text-brand-blue"}),title:"Fibra Óptica Pura",desc:"Tecnologia de ponta a ponta para garantir estabilidade e velocidade real."},{icon:T.jsx(uS,{className:"w-8 h-8 text-brand-blue"}),title:"Suporte Local",desc:"Atendimento humanizado e ágil. Aqui você fala com gente da nossa terra."},{icon:T.jsx(qy,{className:"w-8 h-8 text-brand-blue"}),title:"Melhor Custo-Benefício",desc:"Preços justos e transparentes. Entregamos muito mais por menos."},{icon:T.jsx(gS,{className:"w-8 h-8 text-brand-blue"}),title:"Instalação",desc:"Comece a navegar hoje, verifique se há disponibilidade."}];return T.jsxs("section",{id:"plans",className:"py-20 bg-gradient-to-b from-white to-slate-50 relative overflow-hidden",children:[T.jsxs("div",{className:"absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none",children:[T.jsx("div",{className:"absolute top-[-10%] right-[-5%] w-96 h-96 bg-blue-100 rounded-full mix-blend-multiply filter blur-3xl op
16acity-30"}),T.jsx("div",{className:"absolute bottom-[-10%] left-[-5%] w-96 h-96 bg-purple-100 rounded-full mix-blend-multiply filter blur-3xl opacity-30"})]}),T.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[T.jsx("div",{className:"text-center max-w-4xl mx-auto mb-16",children:T.jsxs(ht.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[T.jsxs("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-extrabold text-brand-dark mb-6 tracking-tight",children:["A Revolução da ",T.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-brand-blue to-blue-600",children:"Velocidade Chegou"})]}),T.jsx("p",{className:"text-lg md:text-xl text-slate-600 leading-relaxed max-w-2xl mx-auto",children:"Descubra os novos planos da Delta Connect. De 500 Mega a 1 Giga de pura potência para transformar sua experiência online. Conecte-se com quem lidera o mercado."})]})}),T.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-24",children:o.map((c,f)=>T.jsxs(ht.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:f*.1},className:`relative rounded-3xl p-6 flex flex-col transition-all duration-300 ${c.popular?"bg-white ring-4 ring-brand-blue/20 shadow-2xl scale-105 z-10":"bg-white border border-slate-100 shadow-lg hover:shadow-xl hover:-translate-y-1"}`,children:[c.popular&&T.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2 bg-gradient-to-r from-brand-blue to-blue-600 text-white text-sm font-bold uppercase tracking-wider py-1.5 px-6 rounded-full shadow-lg whitespace-nowrap",children:"Melhor Oferta"}),T.jsxs("div",{className:"mb-6",children:[T.jsx("span",{className:"inline-block py-1 px-3 rounded-lg bg-blue-50 text-brand-blue text-xs font-bold uppercase tracking-wide mb-3",children:c.highlight}),T.jsx("h3",{className:"text-2xl font-bold text-slate-800",children:c.name})]}),T.jsxs("div",{className:"flex items-baseline gap-1 mb-2",children:[T.jsx("span",{className:"text-5xl md:text-5xl lg:text-5xl font-extrabold text-slate-900 tracking-tighter",children:c.speed}),T.jsx("span",{className:"text-lg font-bold text-brand-blue",children:c.unit})]}),T.jsxs("div",{className:"mb-8 pb-8 border-b border-slate-100",children:[T.jsxs("div",{className:"flex items-end gap-1 text-slate-600",children:[T.jsx("span",{className:"text-sm font-medium mb-1",children:"R$"}),T.jsx("span",{className:"text-3xl font-bold text-slate-900",children:c.price}),T.jsx("span",{className:"text-sm font-medium mb-1",children:"/mês"})]}),T.jsx("p",{className:"text-xs text-slate-400 mt-2 font-medium",children:"*Fidelidade de 12 meses"})]}),T.jsx(mn,{asChild:!0,className:`w-full py-6 font-bold rounded-xl text-base shadow-lg transition-all ${c.popular?"bg-brand-blue hover:bg-brand-blue/90 text-white shadow-brand-blue/25":"bg-slate-900 hover:bg-slate-800 text-white"}`,children:T.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:"Assinar Agora"})})]},f))})]})]})};function l_(i,r){const o=E.useRef(r);E.useEffect(function(){r!==o.current&&i.attributionControl!=null&&(o.current!=null&&i.attributionControl.removeAttribution(o.current),r!=null&&i.attributionControl.addAttribution(r)),o.current=r},[i,r])}const oC=1;function sC(i){return Object.freeze({__version:oC,map:i})}function aC(i,r){return Object.freeze({...i,...r})}const u_=E.createContext(null),c_=u_.Provider;function d_(){const i=E.useContext(u_);if(i==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return i}function lC(i){function r(o,l){const{instance:c,context:f}=i(o).current;return E.useImperativeHandle(l,()=>c),o.children==null?null:lt.createElement(c_,{value:f},o.children)}return E.forwardRef(r)}function uC(i){function r(o,l){const[c,f]=E.useState(!1),{instance:h}=i(o,f).current;E.useImperativeHandle(l,()=>h),E.useEffect(function(){c&&h.update()},[h,c,o.children]);const g=h._contentNode;return g?Gu.createPortal(o.children,g):null}return E.forwardRef(r)}function cC(i){function r(o,l){const{instance:c}=i(o).current;return E.useImperativeHandle(l,()=>c),null}return E.forwardRef(r)}function f_(i,r){const o=E.useRef();E.useEffect(function(){return r!=null&&i.instance.on(r),o.current=r,function(){o.current!=null&&i.instance.off(o.current),o.current=null}},[i,r])}function _h(i,r){const o=i.pane??r.pane;return o?{...i,pane:o}:i}function dC(i,r){return function(l,c){const f=d_(),h=i(_h(l,f),f);return l_(f.map,l.attribution),f_(h.current,l.eventHandlers),r(h.current,f,l,c),h}}var Oa={exports:{}};var fC=Oa.exports,Yg;function hC(){return Yg||(Yg=1,(function(i,r){(function(o,l){l(r)})(fC,(function(o){var l="1.9.4";function c(t){var s,u,p,_;for(u=1,p=arguments.length;u<p;u++){_=arguments[u];for(s in _)t[s]=_[s]}return t}var f=Object.create||(function(){function t(){}return function(s){return t.prototype=s,new t}})();function h(t,s){var u=Array.prototype.slice;
16if(t.bind)return t.bind.apply(t,u.call(arguments,1));var p=u.call(arguments,2);return function(){return t.apply(s,p.length?p.concat(u.call(arguments)):arguments)}}var g=0;function v(t){return"_leaflet_id"in t||(t._leaflet_id=++g),t._leaflet_id}function x(t,s,u){var p,_,S,A;return A=function(){p=!1,_&&(S.apply(u,_),_=!1)},S=function(){p?_=arguments:(t.apply(u,arguments),setTimeout(A,s),p=!0)},S}function w(t,s,u){var p=s[1],_=s[0],S=p-_;return t===p&&u?t:((t-_)%S+S)%S+_}function P(){return!1}function C(t,s){if(s===!1)return t;var u=Math.pow(10,s===void 0?6:s);return Math.round(t*u)/u}function R(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function z(t){return R(t).split(/\s+/)}function N(t,s){Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?f(t.options):{});for(var u in s)t.options[u]=s[u];return t.options}function M(t,s,u){var p=[];for(var _ in t)p.push(encodeURIComponent(u?_.toUpperCase():_)+"="+encodeURIComponent(t[_]));return(!s||s.indexOf("?")===-1?"?":"&")+p.join("&")}var D=/\{ *([\w_ -]+) *\}/g;function V(t,s){return t.replace(D,function(u,p){var _=s[p];if(_===void 0)throw new Error("No value provided for variable "+u);return typeof _=="function"&&(_=_(s)),_})}var W=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function Y(t,s){for(var u=0;u<t.length;u++)if(t[u]===s)return u;return-1}var J="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function re(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var ue=0;function ae(t){var s=+new Date,u=Math.max(0,16-(s-ue));return ue=s+u,window.setTimeout(t,u)}var Re=window.requestAnimationFrame||re("RequestAnimationFrame")||ae,Oe=window.cancelAnimationFrame||re("CancelAnimationFrame")||re("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function Me(t,s,u){if(u&&Re===ae)t.call(s);else return Re.call(window,h(t,s))}function ye(t){t&&Oe.call(window,t)}var it={__proto__:null,extend:c,create:f,bind:h,get lastId(){return g},stamp:v,throttle:x,wrapNum:w,falseFn:P,formatNum:C,trim:R,splitWords:z,setOptions:N,getParamString:M,template:V,isArray:W,indexOf:Y,emptyImageUrl:J,requestFn:Re,cancelFn:Oe,requestAnimFrame:Me,cancelAnimFrame:ye};function de(){}de.extend=function(t){var s=function(){N(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},u=s.__super__=this.prototype,p=f(u);p.constructor=s,s.prototype=p;for(var _ in this)Object.prototype.hasOwnProperty.call(this,_)&&_!=="prototype"&&_!=="__super__"&&(s[_]=this[_]);return t.statics&&c(s,t.statics),t.includes&&(Ge(t.includes),c.apply(null,[p].concat(t.includes))),c(p,t),delete p.statics,delete p.includes,p.options&&(p.options=u.options?f(u.options):{},c(p.options,t.options)),p._initHooks=[],p.callInitHooks=function(){if(!this._initHooksCalled){u.callInitHooks&&u.callInitHooks.call(this),this._initHooksCalled=!0;for(var S=0,A=p._initHooks.length;S<A;S++)p._initHooks[S].call(this)}},s},de.include=function(t){var s=this.prototype.options;return c(this.prototype,t),t.options&&(this.prototype.options=s,this.mergeOptions(t.options)),this},de.mergeOptions=function(t){return c(this.prototype.options,t),this},de.addInitHook=function(t){var s=Array.prototype.slice.call(arguments,1),u=typeof t=="function"?t:function(){this[t].apply(this,s)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(u),this};function Ge(t){if(!(typeof L>"u"||!L||!L.Mixin)){t=W(t)?t:[t];for(var s=0;s<t.length;
16s++)t[s]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var ke={on:function(t,s,u){if(typeof t=="object")for(var p in t)this._on(p,t[p],s);else{t=z(t);for(var _=0,S=t.length;_<S;_++)this._on(t[_],s,u)}return this},off:function(t,s,u){if(!arguments.length)delete this._events;else if(typeof t=="object")for(var p in t)this._off(p,t[p],s);else{t=z(t);for(var _=arguments.length===1,S=0,A=t.length;S<A;S++)_?this._off(t[S]):this._off(t[S],s,u)}return this},_on:function(t,s,u,p){if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}if(this._listens(t,s,u)===!1){u===this&&(u=void 0);var _={fn:s,ctx:u};p&&(_.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(_)}},_off:function(t,s,u){var p,_,S;if(this._events&&(p=this._events[t],!!p)){if(arguments.length===1){if(this._firingCount)for(_=0,S=p.length;_<S;_++)p[_].fn=P;delete this._events[t];return}if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}var A=this._listens(t,s,u);if(A!==!1){var B=p[A];this._firingCount&&(B.fn=P,this._events[t]=p=p.slice()),p.splice(A,1)}}},fire:function(t,s,u){if(!this.listens(t,u))return this;var p=c({},s,{type:t,target:this,sourceTarget:s&&s.sourceTarget||this});if(this._events){var _=this._events[t];if(_){this._firingCount=this._firingCount+1||1;for(var S=0,A=_.length;S<A;S++){var B=_[S],H=B.fn;B.once&&this.off(t,H,B.ctx),H.call(B.ctx||this,p)}this._firingCount--}}return u&&this._propagateEvent(p),this},listens:function(t,s,u,p){typeof t!="string"&&console.warn('"string" type argument expected');var _=s;typeof s!="function"&&(p=!!s,_=void 0,u=void 0);var S=this._events&&this._events[t];if(S&&S.length&&this._listens(t,_,u)!==!1)return!0;if(p){for(var A in this._eventParents)if(this._eventParents[A].listens(t,s,u,p))return!0}return!1},_listens:function(t,s,u){if(!this._events)return!1;var p=this._events[t]||[];if(!s)return!!p.length;u===this&&(u=void 0);for(var _=0,S=p.length;_<S;_++)if(p[_].fn===s&&p[_].ctx===u)return _;return!1},once:function(t,s,u){if(typeof t=="object")for(var p in t)this._on(p,t[p],s,!0);else{t=z(t);for(var _=0,S=t.length;_<S;_++)this._on(t[_],s,u,!0)}return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[v(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[v(t)],this},_propagateEvent:function(t){for(var s in this._eventParents)this._eventParents[s].fire(t.type,c({layer:t.target,propagatedFrom:t.target},t),!0)}};ke.addEventListener=ke.on,ke.removeEventListener=ke.clearAllEventListeners=ke.off,ke.addOneTimeEventListener=ke.once,ke.fireEvent=ke.fire,ke.hasEventListeners=ke.listens;var _e=de.extend(ke);function $(t,s,u){this.x=u?Math.round(t):t,this.y=u?Math.round(s):s}var oe=Math.trunc||function(t){return t>0?Math.floor(t):Math.ceil(t)};$.prototype={clone:function(){return new $(this.x,this.y)},add:function(t){return this.clone()._add(K(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(K(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new $(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new $(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=oe(this.x),this.y=oe(this.y),this},distanceTo:function(t){t=K(t);var s=t.x-this.x,u=t.y-this.y;return Math.sqrt(s*s+u*u)},equals:function(t){return t=K(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=K(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+C(this.x)+", "+C(this.y)+")"}};function K(t,s,u){return t instanceof $?t:W(t)?new $(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new $(t.x,t.y):new $(t,s,u)}
16function j(t,s){if(t)for(var u=s?[t,s]:t,p=0,_=u.length;p<_;p++)this.extend(u[p])}j.prototype={extend:function(t){var s,u;if(!t)return this;if(t instanceof $||typeof t[0]=="number"||"x"in t)s=u=K(t);else if(t=G(t),s=t.min,u=t.max,!s||!u)return this;return!this.min&&!this.max?(this.min=s.clone(),this.max=u.clone()):(this.min.x=Math.min(s.x,this.min.x),this.max.x=Math.max(u.x,this.max.x),this.min.y=Math.min(s.y,this.min.y),this.max.y=Math.max(u.y,this.max.y)),this},getCenter:function(t){return K((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return K(this.min.x,this.max.y)},getTopRight:function(){return K(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var s,u;return typeof t[0]=="number"||t instanceof $?t=K(t):t=G(t),t instanceof j?(s=t.min,u=t.max):s=u=t,s.x>=this.min.x&&u.x<=this.max.x&&s.y>=this.min.y&&u.y<=this.max.y},intersects:function(t){t=G(t);var s=this.min,u=this.max,p=t.min,_=t.max,S=_.x>=s.x&&p.x<=u.x,A=_.y>=s.y&&p.y<=u.y;return S&&A},overlaps:function(t){t=G(t);var s=this.min,u=this.max,p=t.min,_=t.max,S=_.x>s.x&&p.x<u.x,A=_.y>s.y&&p.y<u.y;return S&&A},isValid:function(){return!!(this.min&&this.max)},pad:function(t){var s=this.min,u=this.max,p=Math.abs(s.x-u.x)*t,_=Math.abs(s.y-u.y)*t;return G(K(s.x-p,s.y-_),K(u.x+p,u.y+_))},equals:function(t){return t?(t=G(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight())):!1}};function G(t,s){return!t||t instanceof j?t:new j(t,s)}function ve(t,s){if(t)for(var u=s?[t,s]:t,p=0,_=u.length;p<_;p++)this.extend(u[p])}ve.prototype={extend:function(t){var s=this._southWest,u=this._northEast,p,_;if(t instanceof pe)p=t,_=t;else if(t instanceof ve){if(p=t._southWest,_=t._northEast,!p||!_)return this}else return t?this.extend(se(t)||he(t)):this;return!s&&!u?(this._southWest=new pe(p.lat,p.lng),this._northEast=new pe(_.lat,_.lng)):(s.lat=Math.min(p.lat,s.lat),s.lng=Math.min(p.lng,s.lng),u.lat=Math.max(_.lat,u.lat),u.lng=Math.max(_.lng,u.lng)),this},pad:function(t){var s=this._southWest,u=this._northEast,p=Math.abs(s.lat-u.lat)*t,_=Math.abs(s.lng-u.lng)*t;return new ve(new pe(s.lat-p,s.lng-_),new pe(u.lat+p,u.lng+_))},getCenter:function(){return new pe((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new pe(this.getNorth(),this.getWest())},getSouthEast:function(){return new pe(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){typeof t[0]=="number"||t instanceof pe||"lat"in t?t=se(t):t=he(t);var s=this._southWest,u=this._northEast,p,_;
16return t instanceof ve?(p=t.getSouthWest(),_=t.getNorthEast()):p=_=t,p.lat>=s.lat&&_.lat<=u.lat&&p.lng>=s.lng&&_.lng<=u.lng},intersects:function(t){t=he(t);var s=this._southWest,u=this._northEast,p=t.getSouthWest(),_=t.getNorthEast(),S=_.lat>=s.lat&&p.lat<=u.lat,A=_.lng>=s.lng&&p.lng<=u.lng;return S&&A},overlaps:function(t){t=he(t);var s=this._southWest,u=this._northEast,p=t.getSouthWest(),_=t.getNorthEast(),S=_.lat>s.lat&&p.lat<u.lat,A=_.lng>s.lng&&p.lng<u.lng;return S&&A},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,s){return t?(t=he(t),this._southWest.equals(t.getSouthWest(),s)&&this._northEast.equals(t.getNorthEast(),s)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function he(t,s){return t instanceof ve?t:new ve(t,s)}function pe(t,s,u){if(isNaN(t)||isNaN(s))throw new Error("Invalid LatLng object: ("+t+", "+s+")");this.lat=+t,this.lng=+s,u!==void 0&&(this.alt=+u)}pe.prototype={equals:function(t,s){if(!t)return!1;t=se(t);var u=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return u<=(s===void 0?1e-9:s)},toString:function(t){return"LatLng("+C(this.lat,t)+", "+C(this.lng,t)+")"},distanceTo:function(t){return je.distance(this,se(t))},wrap:function(){return je.wrapLatLng(this)},toBounds:function(t){var s=180*t/40075017,u=s/Math.cos(Math.PI/180*this.lat);return he([this.lat-s,this.lng-u],[this.lat+s,this.lng+u])},clone:function(){return new pe(this.lat,this.lng,this.alt)}};function se(t,s,u){return t instanceof pe?t:W(t)&&typeof t[0]!="object"?t.length===3?new pe(t[0],t[1],t[2]):t.length===2?new pe(t[0],t[1]):null:t==null?t:typeof t=="object"&&"lat"in t?new pe(t.lat,"lng"in t?t.lng:t.lon,t.alt):s===void 0?null:new pe(t,s,u)}var De={latLngToPoint:function(t,s){var u=this.projection.project(t),p=this.scale(s);return this.transformation._transform(u,p)},pointToLatLng:function(t,s){var u=this.scale(s),p=this.transformation.untransform(t,u);return this.projection.unproject(p)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var s=this.projection.bounds,u=this.scale(t),p=this.transformation.transform(s.min,u),_=this.transformation.transform(s.max,u);return new j(p,_)},infinite:!1,wrapLatLng:function(t){var s=this.wrapLng?w(t.lng,this.wrapLng,!0):t.lng,u=this.wrapLat?w(t.lat,this.wrapLat,!0):t.lat,p=t.alt;return new pe(u,s,p)},wrapLatLngBounds:function(t){var s=t.getCenter(),u=this.wrapLatLng(s),p=s.lat-u.lat,_=s.lng-u.lng;if(p===0&&_===0)return t;
16var S=t.getSouthWest(),A=t.getNorthEast(),B=new pe(S.lat-p,S.lng-_),H=new pe(A.lat-p,A.lng-_);return new ve(B,H)}},je=c({},De,{wrapLng:[-180,180],R:6371e3,distance:function(t,s){var u=Math.PI/180,p=t.lat*u,_=s.lat*u,S=Math.sin((s.lat-t.lat)*u/2),A=Math.sin((s.lng-t.lng)*u/2),B=S*S+Math.cos(p)*Math.cos(_)*A*A,H=2*Math.atan2(Math.sqrt(B),Math.sqrt(1-B));return this.R*H}}),$e=6378137,Ct={R:$e,MAX_LATITUDE:85.0511287798,project:function(t){var s=Math.PI/180,u=this.MAX_LATITUDE,p=Math.max(Math.min(u,t.lat),-u),_=Math.sin(p*s);return new $(this.R*t.lng*s,this.R*Math.log((1+_)/(1-_))/2)},unproject:function(t){var s=180/Math.PI;return new pe((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*s,t.x*s/this.R)},bounds:(function(){var t=$e*Math.PI;return new j([-t,-t],[t,t])})()};function ji(t,s,u,p){if(W(t)){this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3];return}this._a=t,this._b=s,this._c=u,this._d=p}ji.prototype={transform:function(t,s){return this._transform(t.clone(),s)},_transform:function(t,s){return s=s||1,t.x=s*(this._a*t.x+this._b),t.y=s*(this._c*t.y+this._d),t},untransform:function(t,s){return s=s||1,new $((t.x/s-this._b)/this._a,(t.y/s-this._d)/this._c)}};function Ii(t,s,u,p){return new ji(t,s,u,p)}var zi=c({},je,{code:"EPSG:3857",projection:Ct,transformation:(function(){var t=.5/(Math.PI*Ct.R);return Ii(t,.5,-t,.5)})()}),bs=c({},zi,{code:"EPSG:900913"});function Ss(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Cs(t,s){var u="",p,_,S,A,B,H;for(p=0,S=t.length;p<S;p++){for(B=t[p],_=0,A=B.length;_<A;_++)H=B[_],u+=(_?"L":"M")+H.x+" "+H.y;u+=s?me.svg?"z":"x":""}return u||"M0 0"}var Lr=document.documentElement.style,Ar="ActiveXObject"in window,Es=Ar&&!document.addEventListener,Di="msLaunchUri"in navigator&&!("documentMode"in document),Zn=At("webkit"),yo=At("android"),ks=At("android 2")||At("android 3"),nl=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),il=yo&&At("Google")&&nl<537&&!("AudioNode"in window),_o=!!window.opera,xo=!Di&&At("chrome"),Mr=At("gecko")&&!Zn&&!_o&&!Ar,rl=!xo&&At("safari"),Bi=At("phantom"),Fi="OTransition"in Lr,ic=navigator.platform.indexOf("Win")===0,Ls=Ar&&"transition"in Lr,wo="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ks,ol="MozPerspective"in Lr,As=!window.L_DISABLE_3D&&(Ls||wo||ol)&&!Fi&&!Bi,si=typeof orientation<"u"||At("mobile"),Ms=si&&Zn,Ns=si&&wo,To=!window.PointerEvent&&window.MSPointerEvent,ai=!!(window.PointerEvent||To),li="ontouchstart"in window||!!window.TouchEvent,sl=!window.L_NO_TOUCH&&(li||ai),al=si&&_o,ll=si&&Mr,ul=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,cl=(function(){var t=!1;try{var s=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",P,s),window.removeEventListener("testPassiveEventSupport",P,s)}catch{}return t})(),Rs=(function(){return!!document.createElement("canvas").getContext})(),Po=!!(document.createElementNS&&Ss("svg").createSVGRect),Nr=!!Po&&(function(){var t=document.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"})(),Os=!Po&&(function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var s=t.firstChild;return s.style.behavior="url(#default#VML)",s&&typeof s.adj=="object"}catch{return!1}})(),Rr=navigator.platform.indexOf("Mac")===0,rc=navigator.platform.indexOf("Linux")===0;function At(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var me={ie:Ar,ielt9:Es,edge:Di,webkit:Zn,android:yo,android23:ks,androidStock:il,opera:_o,chrome:xo,gecko:Mr,safari:rl,phantom:Bi,opera12:Fi,win:ic,ie3d:Ls,webkit3d:wo,gecko3d:ol,any3d:As,mobile:si,mobileWebkit:Ms,mobileWebkit3d:Ns,msPointer:To,pointer:ai,touch:sl,touchNative:li,mobileOpera:al,mobileGecko:ll,retina:ul,passiveEvents:cl,canvas:Rs,svg:Po,vml:Os,inlineSvg:Nr,mac:Rr,linux:rc},Or=me.msPointer?"MSPointerDown":"pointerdown",bo=me.msPointer?"MSPointerMove":"pointermove",dl=me.msPointer?"MSPointerUp":"pointerup",fl=me.msPointer?"MSPointerCancel":"pointercancel",js={touchstart:Or,touchmove:bo,touchend:dl,touchcancel:fl},Wn={touchstart:rt,touchmove:So,touchend:So,touchcancel:So},ui={},Is=!1;function oc(t,s,u){return s==="touchstart"&&sc(),Wn[s]?(u=Wn[s].bind(this,u),t.addEventListener(js[s],u,!1),u):(console.warn("wrong event specified:",s),P)}function hl(t,s,u){if(!js[s]){console.warn("wrong event specified:",s);return}t.removeEventListener(js[s],u,!1)}function pl(t){ui[t.pointerId]=t}function ml(t){ui[t.pointerId]&&(ui[t.pointerId]=t)}function zs(t){delete ui[t.pointerId]}function sc(){Is||(document.addEventListener(Or,pl,!0),document.addEventListener(bo,ml,!0),document.addEventListener(dl,zs,!0),document.addEventListener(fl,zs,!0),Is=!0)}function So(t,s){if(s.pointerType!==(s.MSPOINTER_TYPE_MOUSE||"mouse")){s.touches=[];for(var u in ui)s.touches.push(ui[u]);s.changedTouches=[s],t(s)}}function rt(t,s){s.MSPOINTER_TYPE_TOUCH&&s.pointerType===s.MSPOINTER_TYPE_TOUCH&&ot(s),So(t,s)}function ac(t){var s={},u,p;for(p in t)u=t[p],s[p]=u&&u.bind?u.bind(t):u;
16return t=s,s.type="dblclick",s.detail=2,s.isTrusted=!1,s._simulated=!0,s}var Ds=200;function gl(t,s){t.addEventListener("dblclick",s);var u=0,p;function _(S){if(S.detail!==1){p=S.detail;return}if(!(S.pointerType==="mouse"||S.sourceCapabilities&&!S.sourceCapabilities.firesTouchEvents)){var A=fi(S);if(!(A.some(function(H){return H instanceof HTMLLabelElement&&H.attributes.for})&&!A.some(function(H){return H instanceof HTMLInputElement||H instanceof HTMLSelectElement}))){var B=Date.now();B-u<=Ds?(p++,p===2&&s(ac(S))):p=1,u=B}}}return t.addEventListener("click",_),{dblclick:s,simDblclick:_}}function Co(t,s){t.removeEventListener("dblclick",s.dblclick),t.removeEventListener("click",s.simDblclick)}var Bs=Zi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Vi=Zi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),jr=Vi==="webkitTransition"||Vi==="OTransition"?Vi+"End":"transitionend";function tn(t){return typeof t=="string"?document.getElementById(t):t}function Ir(t,s){var u=t.style[s]||t.currentStyle&&t.currentStyle[s];if((!u||u==="auto")&&document.defaultView){var p=document.defaultView.getComputedStyle(t,null);u=p?p[s]:null}return u==="auto"?null:u}function Ee(t,s,u){var p=document.createElement(t);return p.className=s||"",u&&u.appendChild(p),p}function Ye(t){var s=t.parentNode;s&&s.removeChild(t)}function Eo(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Ui(t){var s=t.parentNode;s&&s.lastChild!==t&&s.appendChild(t)}function Mn(t){var s=t.parentNode;s&&s.firstChild!==t&&s.insertBefore(t,s.firstChild)}function Hi(t,s){if(t.classList!==void 0)return t.classList.contains(s);var u=ko(t);return u.length>0&&new RegExp("(^|\\s)"+s+"(\\s|$)").test(u)}function Ce(t,s){if(t.classList!==void 0)for(var u=z(s),p=0,_=u.length;p<_;p++)t.classList.add(u[p]);else if(!Hi(t,s)){var S=ko(t);Fs(t,(S?S+" ":"")+s)}}function Ke(t,s){t.classList!==void 0?t.classList.remove(s):Fs(t,R((" "+ko(t)+" ").replace(" "+s+" "," ")))}function Fs(t,s){t.className.baseVal===void 0?t.className=s:t.className.baseVal=s}function ko(t){return t.correspondingElement&&(t=t.correspondingElement),t.className.baseVal===void 0?t.className:t.className.baseVal}function Mt(t,s){"opacity"in t.style?t.style.opacity=s:"filter"in t.style&&vl(t,s)}function vl(t,s){var u=!1,p="DXImageTransform.Microsoft.Alpha";try{u=t.filters.item(p)}catch{if(s===1)return}s=Math.round(s*100),u?(u.Enabled=s!==100,u.Opacity=s):t.style.filter+=" progid:"+p+"(opacity="+s+")"}function Zi(t){for(var s=document.documentElement.style,u=0;u<t.length;u++)if(t[u]in s)return t[u];return!1}function nn(t,s,u){var p=s||new $(0,0);t.style[Bs]=(me.ie3d?"translate("+p.x+"px,"+p.y+"px)":"translate3d("+p.x+"px,"+p.y+"px,0)")+(u?" scale("+u+")":"")}function ct(t,s){t._leaflet_pos=s,me.any3d?nn(t,s):(t.style.left=s.x+"px",t.style.top=s.y+"px")}function Nn(t){return t._leaflet_pos||new $(0,0)}var Be,Wi,Lo;if("onselectstart"in document)Be=function(){be(window,"selectstart",ot)},Wi=function(){He(window,"selectstart",ot)};else{var ci=Zi(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Be=function(){if(ci){var t=document.documentElement.style;Lo=t[ci],t[ci]="none"}},Wi=function(){ci&&(document.documentElement.style[ci]=Lo,Lo=void 0)}}function Ao(){be(window,"dragstart",ot)}function Mo(){He(window,"dragstart",ot)}var zr,Dr;function $i(t){for(;t.tabIndex===-1;)t=t.parentNode;t.style&&(rn(),zr=t,Dr=t.style.outlineStyle,t.style.outlineStyle="none",be(window,"keydown",rn))}function rn(){zr&&(zr.style.outlineStyle=Dr,zr=void 0,Dr=void 0,He(window,"keydown",rn))}function Rn(t){do t=t.parentNode;while((!t.offsetWidth||!t.offsetHeight)&&t!==document.body);return t}function vn(t){var s=t.getBoundingClientRect();return{x:s.width/t.offsetWidth||1,y:s.height/t.offsetHeight||1,boundingClientRect:s}}var Br={__proto__:null,TRANSFORM:Bs,TRANSITION:Vi,TRANSITION_END:jr,get:tn,getStyle:Ir,create:Ee,remove:Ye,empty:Eo,toFront:Ui,toBack:Mn,hasClass:Hi,addClass:Ce,removeClass:Ke,setClass:Fs,getClass:ko,setOpacity:Mt,testProp:Zi,setTransform:nn,setPosition:ct,getPosition:Nn,get disableTextSelection(){return Be},get enableTextSelection(){return Wi},disableImageDrag:Ao,enableImageDrag:Mo,preventOutline:$i,restoreOutline:rn,getSizedParentNode:Rn,get
16Scale:vn};function be(t,s,u,p){if(s&&typeof s=="object")for(var _ in s)Us(t,_,s[_],u);else{s=z(s);for(var S=0,A=s.length;S<A;S++)Us(t,s[S],u,p)}return this}var _t="_leaflet_events";function He(t,s,u,p){if(arguments.length===1)Vs(t),delete t[_t];else if(s&&typeof s=="object")for(var _ in s)No(t,_,s[_],u);else if(s=z(s),arguments.length===2)Vs(t,function(B){return Y(s,B)!==-1});else for(var S=0,A=s.length;S<A;S++)No(t,s[S],u,p);return this}function Vs(t,s){for(var u in t[_t]){var p=u.split(/\d/)[0];(!s||s(p))&&No(t,p,null,null,u)}}var di={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Us(t,s,u,p){var _=s+v(u)+(p?"_"+v(p):"");if(t[_t]&&t[_t][_])return this;var S=function(B){return u.call(p||t,B||window.event)},A=S;!me.touchNative&&me.pointer&&s.indexOf("touch")===0?S=oc(t,s,S):me.touch&&s==="dblclick"?S=gl(t,S):"addEventListener"in t?s==="touchstart"||s==="touchmove"||s==="wheel"||s==="mousewheel"?t.addEventListener(di[s]||s,S,me.passiveEvents?{passive:!1}:!1):s==="mouseenter"||s==="mouseleave"?(S=function(B){B=B||window.event,Ur(t,B)&&A(B)},t.addEventListener(di[s],S,!1)):t.addEventListener(s,A,!1):t.attachEvent("on"+s,S),t[_t]=t[_t]||{},t[_t][_]=S}function No(t,s,u,p,_){_=_||s+v(u)+(p?"_"+v(p):"");var S=t[_t]&&t[_t][_];if(!S)return this;!me.touchNative&&me.pointer&&s.indexOf("touch")===0?hl(t,s,S):me.touch&&s==="dblclick"?Co(t,S):"removeEventListener"in t?t.removeEventListener(di[s]||s,S,!1):t.detachEvent("on"+s,S),t[_t][_]=null}function yn(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function Ro(t){return Us(t,"wheel",yn),this}function Fr(t){return be(t,"mousedown touchstart dblclick contextmenu",yn),t._leaflet_disable_click=!0,this}function ot(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function on(t){return ot(t),yn(t),this}function fi(t){if(t.composedPath)return t.composedPath();for(var s=[],u=t.target;u;)s.push(u),u=u.parentNode;return s}function Vr(t,s){if(!s)return new $(t.clientX,t.clientY);var u=vn(s),p=u.boundingClientRect;return new $((t.clientX-p.left)/u.x-s.clientLeft,(t.clientY-p.top)/u.y-s.clientTop)}var lc=me.linux&&me.chrome?window.devicePixelRatio:me.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function yl(t){return me.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/lc:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function Ur(t,s){var u=s.relatedTarget;if(!u)return!0;try{for(;u&&u!==t;)u=u.parentNode}catch{return!1}return u!==t}var Oo={__proto__:null,on:be,off:He,stopPropagation:yn,disableScrollPropagation:Ro,disableClickPropagation:Fr,preventDefault:ot,stop:on,getPropagationPath:fi,getMousePosition:Vr,getWheelDelta:yl,isExternalTarget:Ur,addListener:be,removeListener:He},jo=_e.extend({run:function(t,s,u,p){this.stop(),this._el=t,this._inProgress=!0,this._duration=u||.25,this._easeOutPower=1/Math.max(p||.5,.2),this._startPos=Nn(t),this._offset=s.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=Me(this._animate,this),this._step()},_step:function(t){var s=+new Date-this._startTime,u=this._duration*1e3;s<u?this._runFrame(this._easeOut(s/u),t):(this._runFrame(1),this._complete())},_runFrame:function(t,s){var u=this._startPos.add(this._offset.multiplyBy(t));s&&u._round(),ct(this._el,u),this.fire("step")},_complete:function(){ye(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),ze=_e.extend({options:{crs:zi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,s){s=N(this,s),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=h(this._onResize,this),this._initEvents(),s.maxBounds&&this.setMaxBounds(s.maxBounds),s.zoom!==void 0&&(this._zoom=this._limitZoom(s.zoom)),s.center&&s.zoom!==void 0&&this.setView(se(s.center),s.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Vi&&me.any3d&&!me.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),be(this._proxy,jr,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
16,setView:function(t,s,u){if(s=s===void 0?this._zoom:this._limitZoom(s),t=this._limitCenter(se(t),s,this.options.maxBounds),u=u||{},this._stop(),this._loaded&&!u.reset&&u!==!0){u.animate!==void 0&&(u.zoom=c({animate:u.animate},u.zoom),u.pan=c({animate:u.animate,duration:u.duration},u.pan));var p=this._zoom!==s?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,s,u.zoom):this._tryAnimatedPan(t,u.pan);if(p)return clearTimeout(this._sizeTimer),this}return this._resetView(t,s,u.pan&&u.pan.noMoveStart),this},setZoom:function(t,s){return this._loaded?this.setView(this.getCenter(),t,{zoom:s}):(this._zoom=t,this)},zoomIn:function(t,s){return t=t||(me.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,s)},zoomOut:function(t,s){return t=t||(me.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,s)},setZoomAround:function(t,s,u){var p=this.getZoomScale(s),_=this.getSize().divideBy(2),S=t instanceof $?t:this.latLngToContainerPoint(t),A=S.subtract(_).multiplyBy(1-1/p),B=this.containerPointToLatLng(_.add(A));return this.setView(B,s,{zoom:u})},_getBoundsCenterZoom:function(t,s){s=s||{},t=t.getBounds?t.getBounds():he(t);var u=K(s.paddingTopLeft||s.padding||[0,0]),p=K(s.paddingBottomRight||s.padding||[0,0]),_=this.getBoundsZoom(t,!1,u.add(p));if(_=typeof s.maxZoom=="number"?Math.min(s.maxZoom,_):_,_===1/0)return{center:t.getCenter(),zoom:_};
16var S=p.subtract(u).divideBy(2),A=this.project(t.getSouthWest(),_),B=this.project(t.getNorthEast(),_),H=this.unproject(A.add(B).divideBy(2).add(S),_);return{center:H,zoom:_}},fitBounds:function(t,s){if(t=he(t),!t.isValid())throw new Error("Bounds are not valid.");var u=this._getBoundsCenterZoom(t,s);return this.setView(u.center,u.zoom,s)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,s){return this.setView(t,this._zoom,{pan:s})},panBy:function(t,s){if(t=K(t).round(),s=s||{},!t.x&&!t.y)return this.fire("moveend");if(s.animate!==!0&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new jo,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),s.noMoveStart||this.fire("movestart"),s.animate!==!1){Ce(this._mapPane,"leaflet-pan-anim");var u=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,u,s.duration||.25,s.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,s,u){if(u=u||{},u.animate===!1||!me.any3d)return this.setView(t,s,u);this._stop();var p=this.project(this.getCenter()),_=this.project(t),S=this.getSize(),A=this._zoom;t=se(t),s=s===void 0?A:s;var B=Math.max(S.x,S.y),H=B*this.getZoomScale(A,s),q=_.distanceTo(p)||1,ne=1.42,xe=ne*ne;function Ae(Ue){var ar=Ue?-1:1,Tc=Ue?H:B,Pc=H*H-B*B+ar*xe*xe*q*q,_i=2*Tc*xe*q,xi=Pc/_i,wi=Math.sqrt(xi*xi+1)-xi,qo=wi<1e-9?-18:Math.log(wi);return qo}function xt(Ue){return(Math.exp(Ue)-Math.exp(-Ue))/2}function gt(Ue){return(Math.exp(Ue)+Math.exp(-Ue))/2}function Ut(Ue){return xt(Ue)/gt(Ue)}var Rt=Ae(0);function or(Ue){return B*(gt(Rt)/gt(Rt+ne*Ue))}function ua(Ue){return B*(gt(Rt)*Ut(Rt+ne*Ue)-xt(Rt))/xe}function Jn(Ue){return 1-Math.pow(1-Ue,1.5)}var Bl=Date.now(),yi=(Ae(1)-Rt)/ne,Tn=u.duration?1e3*u.duration:1e3*yi*.8;function sr(){var Ue=(Date.now()-Bl)/Tn,ar=Jn(Ue)*yi;Ue<=1?(this._flyToFrame=Me(sr,this),this._move(this.unproject(p.add(_.subtract(p).multiplyBy(ua(ar)/q)),A),this.getScaleZoom(B/or(ar),A),{flyTo:!0})):this._move(t,s)._moveEnd(!0)}return this._moveStart(!0,u.noMoveStart),sr.call(this),this},flyToBounds:function(t,s){var u=this._getBoundsCenterZoom(t,s);return this.flyTo(u.center,u.zoom,s)},setMaxBounds:function(t){return t=he(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var s=this.options.minZoom;return this.options.minZoom=t,this._loaded&&s!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var s=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&s!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,s){this._enforcingBounds=!0;var u=this.getCenter(),p=this._limitCenter(u,this._zoom,he(t));return u.equals(p)||this.panTo(p,s),this._enforcingBounds=!1,this},panInside:function(t,s){s=s||{};var u=K(s.paddingTopLeft||s.padding||[0,0]),p=K(s.paddingBottomRight||s.padding||[0,0]),_=this.project(this.getCenter()),S=this.project(t),A=this.getPixelBounds(),B=G([A.min.add(u),A.max.subtract(p)]),H=B.getSize();if(!B.contains(S)){this._enforcingBounds=!0;var q=S.subtract(B.getCenter()),ne=B.extend(S).getSize().subtract(H);_.x+=q.x<0?-ne.x:ne.x,_.y+=q.y<0?-ne.y:ne.y,this.panTo(this.unproject(_),s),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=c({animate:!1,pan:!0},t===!0?{animate:!0}:t);var s=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var u=this.getSize(),p=s.divideBy(2).round(),_=u.divideBy(2).round(),S=p.subtract(_);return!S.x&&!S.y?this:(t.animate&&t.pan?this.panBy(S):(t.pan&&this._rawPanBy(S),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:s,newSize:u}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=c({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var s=h(this._handleGeolocationResponse,this),u=h(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(s,u,t):navigator.geolocation.getCurrentPosition(s,u,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var s=t.code,u=t.message||(s===1?"permission denied":s===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:s,message:"Geolocation error: "+u+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var s=t.coords.latitude,u=t.coords.longitude,p=new pe(s,u),_=p.toBounds(t.coords.accuracy*2),S=this._locateOptions;if(S.setView){var A=this.getBoundsZoom(_);this.setView(p,S.maxZoom?Math.min(A,S.maxZoom):A)}var B={latlng:p,bounds:_,timestamp:t.timestamp};for(var H in t.coords)typeof t.coords[H]=="number"&&(B[H]=t.coords[H]);this.fire("locationfound",B)}},addHandler:function(t,s){if(!s)return this;var u=this[t]=new s(this);return this._handlers.push(u),this.options[t]&&u.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Ye(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ye(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)Ye(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,s){var u="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),p=Ee("div",u,s||this._mapPane);return t&&(this._panes[t]=p),p},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),s=this.unproject(t.getBottomLeft()),u=this.unproject(t.getTopRight());return new ve(s,u)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZo
16om===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,s,u){t=he(t),u=K(u||[0,0]);var p=this.getZoom()||0,_=this.getMinZoom(),S=this.getMaxZoom(),A=t.getNorthWest(),B=t.getSouthEast(),H=this.getSize().subtract(u),q=G(this.project(B,p),this.project(A,p)).getSize(),ne=me.any3d?this.options.zoomSnap:1,xe=H.x/q.x,Ae=H.y/q.y,xt=s?Math.max(xe,Ae):Math.min(xe,Ae);return p=this.getScaleZoom(xt,p),ne&&(p=Math.round(p/(ne/100))*(ne/100),p=s?Math.ceil(p/ne)*ne:Math.floor(p/ne)*ne),Math.max(_,Math.min(S,p))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new $(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,s){var u=this._getTopLeftPoint(t,s);return new j(u,u.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,s){var u=this.options.crs;return s=s===void 0?this._zoom:s,u.scale(t)/u.scale(s)},getScaleZoom:function(t,s){var u=this.options.crs;s=s===void 0?this._zoom:s;var p=u.zoom(t*u.scale(s));return isNaN(p)?1/0:p},project:function(t,s){return s=s===void 0?this._zoom:s,this.options.crs.latLngToPoint(se(t),s)},unproject:function(t,s){return s=s===void 0?this._zoom:s,this.options.crs.pointToLatLng(K(t),s)},layerPointToLatLng:function(t){var s=K(t).add(this.getPixelOrigin());return this.unproject(s)},latLngToLayerPoint:function(t){var s=this.project(se(t))._round();return s._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(se(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(he(t))},distance:function(t,s){return this.options.crs.distance(se(t),se(s))},containerPointToLayerPoint:function(t){return K(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return K(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var s=this.containerPointToLayerPoint(K(t));return this.layerPointToLatLng(s)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(se(t)))},mouseEventToContainerPoint:function(t){return Vr(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var s=this._container=tn(t);if(s){if(s._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");be(s,"scroll",this._onScroll,this),this._containerId=v(s)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&me.any3d,Ce(t,"leaflet-container"+(me.touch?" leaflet-touch":"")+(me.retina?" leaflet-retina":"")+(me.ielt9?" leaflet-oldie":"")+(me.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var s=Ir(t,"position");s!=="absolute"&&s!=="relative"&&s!=="fixed"&&s!=="sticky"&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ct(this._mapPane,new $(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Ce(t.markerPane,"leaflet-zoom-hide"),Ce(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,s,u){ct(this._mapPane,new $(0,0));var p=!this._loaded;this._loaded=!0,s=this._limitZoom(s),this.fire("viewprereset");var _=this._zoom!==s;this._moveStart(_,u)._move(t,s)._moveEnd(_),this.fire("viewreset"),p&&this.fire("load")},_moveStart:function(t,s){return t&&this.fire("zoomstart"),s||this.fire("movestart"),this},_move:function(t,s,u,p){s===void 0&&(s=this._zoom);var _=this._zoom!==s;return this._zoom=s,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),p?u&&u.pinch&&this.fire("zoom",u):((_||u&&u.pinch)&&this.fire("zoom",u),this.fire("move",u)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ye(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ct(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[v(this._container)]=this;var s=t?He:be;s(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&s(window,"resize",this._onResize,this),me.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ye(this._resizeRequest),this._resizeRequest=Me(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,s){for(var u=[],p,_=s==="mouseout"||s==="mouseover",S=t.target||t.srcElement,A=!1;S;){if(p=this._targets[v(S)],p&&(s==="click"||s==="preclick")&&this._draggableMoved(p)){A=!0;break}
16if(p&&p.listens(s,!0)&&(_&&!Ur(S,t)||(u.push(p),_))||S===this._container)break;S=S.parentNode}return!u.length&&!A&&!_&&this.listens(s,!0)&&(u=[this]),u},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var s=t.target||t.srcElement;if(!(!this._loaded||s._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(s))){var u=t.type;u==="mousedown"&&$i(s),this._fireDOMEvent(t,u)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,s,u){if(t.type==="click"){var p=c({},t);p.type="preclick",this._fireDOMEvent(p,p.type,u)}var _=this._findEventTargets(t,s);if(u){for(var S=[],A=0;A<u.length;A++)u[A].listens(s,!0)&&S.push(u[A]);_=S.concat(_)}if(_.length){s==="contextmenu"&&ot(t);var B=_[0],H={originalEvent:t};if(t.type!=="keypress"&&t.type!=="keydown"&&t.type!=="keyup"){var q=B.getLatLng&&(!B._radius||B._radius<=10);H.containerPoint=q?this.latLngToContainerPoint(B.getLatLng()):this.mouseEventToContainerPoint(t),H.layerPoint=this.containerPointToLayerPoint(H.containerPoint),H.latlng=q?B.getLatLng():this.layerPointToLatLng(H.layerPoint)}for(A=0;A<_.length;A++)if(_[A].fire(s,H,!0),H.originalEvent._stopped||_[A].options.bubblingMouseEvents===!1&&Y(this._mouseEvents,s)!==-1)return}},_draggableMoved:function(t){return t=t.dragging&&t.dragging.enabled()?t:this,t.dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,s=this._handlers.length;t<s;t++)this._handlers[t].disable()},whenReady:function(t,s){return this._loaded?t.call(s||this,{target:this}):this.on("load",t,s),this},_getMapPanePos:function(){return Nn(this._mapPane)||new $(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,s){var u=t&&s!==void 0?this._getNewPixelOrigin(t,s):this.getPixelOrigin();return u.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,s){var u=this.getSize()._divideBy(2);return this.project(t,s)._subtract(u)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,s,u){var p=this._getNewPixelOrigin(u,s);return this.project(t,s)._subtract(p)},_latLngBoundsToNewLayerBounds:function(t,s,u){var p=this._getNewPixelOrigin(u,s);
16return G([this.project(t.getSouthWest(),s)._subtract(p),this.project(t.getNorthWest(),s)._subtract(p),this.project(t.getSouthEast(),s)._subtract(p),this.project(t.getNorthEast(),s)._subtract(p)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,s,u){if(!u)return t;var p=this.project(t,s),_=this.getSize().divideBy(2),S=new j(p.subtract(_),p.add(_)),A=this._getBoundsOffset(S,u,s);return Math.abs(A.x)<=1&&Math.abs(A.y)<=1?t:this.unproject(p.add(A),s)},_limitOffset:function(t,s){if(!s)return t;var u=this.getPixelBounds(),p=new j(u.min.add(t),u.max.add(t));return t.add(this._getBoundsOffset(p,s))},_getBoundsOffset:function(t,s,u){var p=G(this.project(s.getNorthEast(),u),this.project(s.getSouthWest(),u)),_=p.min.subtract(t.min),S=p.max.subtract(t.max),A=this._rebound(_.x,-S.x),B=this._rebound(_.y,-S.y);return new $(A,B)},_rebound:function(t,s){return t+s>0?Math.round(t-s)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(s))},_limitZoom:function(t){var s=this.getMinZoom(),u=this.getMaxZoom(),p=me.any3d?this.options.zoomSnap:1;return p&&(t=Math.round(t/p)*p),Math.max(s,Math.min(u,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Ke(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,s){var u=this._getCenterOffset(t)._trunc();return(s&&s.animate)!==!0&&!this.getSize().contains(u)?!1:(this.panBy(u,s),!0)},_createAnimProxy:function(){var t=this._proxy=Ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(s){var u=Bs,p=this._proxy.style[u];nn(this._proxy,this.project(s.center,s.zoom),this.getZoomScale(s.zoom,1)),p===this._proxy.style[u]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Ye(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),s=this.getZoom();nn(this._proxy,this.project(t,s),this.getZoomScale(s,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,s,u){if(this._animatingZoom)return!0;if(u=u||{},!this._zoomAnimated||u.animate===!1||this._nothingToAnimate()||Math.abs(s-this._zoom)>this.options.zoomAnimationThreshold)return!1;var p=this.getZoomScale(s),_=this._getCenterOffset(t)._divideBy(1-1/p);return u.animate!==!0&&!this.getSize().contains(_)?!1:(Me(function(){this._moveStart(!0,u.noMoveStart||!1)._animateZoom(t,s,!0)},this),!0)},_animateZoom:function(t,s,u,p){this._mapPane&&(u&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=s,Ce(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:s,noUpdate:p}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(h(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Ke(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function $n(t,s){return new ze(t,s)}var Ft=de.extend({options:{position:"topright"},initialize:function(t){N(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var s=this._map;return s&&s.removeControl(this),this.options.position=t,s&&s.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var s=this._container=this.onAdd(t),u=this.getPosition(),p=t._controlCorners[u];return Ce(s,"leaflet-control"),u.indexOf("bottom")!==-1?p.insertBefore(s,p.firstChild):p.appendChild(s),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Ye(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Gn=function(t){return new Ft(t)}
vendor: 9,792 bytes, line 16
16;ze.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},s="leaflet-",u=this._controlContainer=Ee("div",s+"control-container",this._container);function p(_,S){var A=s+_+" "+s+S;t[_+S]=Ee("div",A,u)}p("top","left"),p("top","right"),p("bottom","left"),p("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Ye(this._controlCorners[t]);Ye(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Hs=Ft.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,s,u,p){return u<p?-1:p<u?1:0}},initialize:function(t,s,u){N(this,u),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var p in t)this._addLayer(t[p],p);for(p in s)this._addLayer(s[p],p,!0)},onAdd:function(t){this._initLayout(),this._update(),this._map=t,t.on("zoomend",this._checkDisabledLayers,this);for(var s=0;s<this._layers.length;s++)this._layers[s].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ft.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,s){return this._addLayer(t,s),this._map?this._update():this},addOverlay:function(t,s){return this._addLayer(t,s,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var s=this._getLayer(v(t));return s&&this._layers.splice(this._layers.indexOf(s),1),this._map?this._update():this},expand:function(){Ce(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(Ce(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):Ke(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return Ke(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",s=this._container=Ee("div",t),u=this.options.collapsed;s.setAttribute("aria-haspopup",!0),Fr(s),Ro(s);var p=this._section=Ee("section",t+"-list");u&&(this._map.on("click",this.collapse,this),be(s,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var _=this._layersLink=Ee("a",t+"-toggle",s);_.href="#",_.title="Layers",_.setAttribute("role","button"),be(_,{keydown:function(S){S.keyCode===13&&this._expandSafely()},click:function(S){ot(S),this._expandSafely()}},this),u||this.expand(),this._baseLayersList=Ee("div",t+"-base",p),this._separator=Ee("div",t+"-separator",p),this._overlaysList=Ee("div",t+"-overlays",p),s.appendChild(p)},_getLayer:function(t){for(var s=0;s<this._layers.length;s++)if(this._layers[s]&&v(this._layers[s].layer)===t)return this._layers[s]},_addLayer:function(t,s,u){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:s,overlay:u}),this.options.sortLayers&&this._layers.sort(h(function(p,_){return this.options.sortFunction(p.layer,_.layer,p.name,_.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Eo(this._baseLayersList),Eo(this._overlaysList),this._layerControlInputs=[];var t,s,u,p,_=0;for(u=0;u<this._layers.length;u++)p=this._layers[u],this._addItem(p),s=s||p.overlay,t=t||!p.overlay,_+=p.overlay?0:1;return this.options.hideSingleBase&&(t=t&&_>1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=s&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var s=this._getLayer(v(t.target)),u=s.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;u&&this._map.fire(u,s)},_createRadioElement:function(t,s){var u='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(s?' checked="checked"':"")+"/>",p=document.createElement("div");return p.innerHTML=u,p.firstChild},_addItem:function(t){var s=document.createElement("label"),u=this._map.hasLayer(t.layer),p;t.overlay?(p=document.createElement("input"),p.type="checkbox",p.className="leaflet-control-layers-selector",p.defaultChecked=u):p=this._createRadioElement("leaflet-base-layers_"+v(this),u),this._layerControlInputs.push(p),p.layerId=v(t.layer),be(p,"click",this._onInputClick,this);var _=document.createElement("span");_.innerHTML=" "+t.name;var S=document.createElement("span");s.appendChild(S),S.appendChild(p),S.appendChild(_);var A=t.overlay?this._overlaysList:this._baseLayersList;return A.appendChild(s),this._checkDisabledLayers(),s},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,s,u,p=[],_=[];this._handlingClick=!0;for(var S=t.length-1;S>=0;S--)s=t[S],u=this._getLayer(s.layerId).layer,s.checked?p.push(u):s.checked||_.push(u);for(S=0;S<_.length;S++)this._map.hasLayer(_[S])&&this._map.removeLayer(_[S]);for(S=0;S<p.length;S++)this._map.hasLayer(p[S])||this._map.addLayer(p[S]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t=this._layerControlInputs,s,u,p=this._map.getZoom(),_=t.length-1;_>=0;_--)s=t[_],u=this._getLayer(s.layerId).layer,s.disabled=u.options.minZoom!==void 0&&p<u.options.minZoom||u.options.maxZoom!==void 0&&p>u.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,be(t,"click",ot),this.expand();var s=this;setTimeout(function(){He(t,"click",ot),s._preventClick=!1})}}),Io=function(t,s,u){return new Hs(t,s,u)},Gi=Ft.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var s="leaflet-control-zoom",u=Ee("div",s+" leaflet-bar"),p=this.options;return this._zoomInButton=this._createButton(p.zoomInText,p.zoomInTitle,s+"-in",u,this._zoomIn),this._zoomOutButton=this._createButton(p.zoomOutText,p.zoomOutTitle,s+"-out",u,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),u},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,s,u,p,_){var S=Ee("a",u,p);return S.innerHTML=t,S.href="#",S.title=s,S.setAttribute("role","button"),S.setAttribute("aria-label",s),Fr(S),be(S,"click",on),be(S,"click",_,this),be(S,"click",this._refocusOnMap,this),S},_updateDisabled:function(){var t=this._map,s="leaflet-disabled";Ke(this._zoomInButton,s),Ke(this._zoomOutButton,s),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(Ce(this._zoomOutButton,s),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(Ce(this._zoomInButton,s),this._zoomInButton.setAttribute("aria-disabled","true"))}});ze.mergeOptions({zoomControl:!0}),ze.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Gi,this.addControl(this.zoomControl))});var _l=function(t){return new Gi(t)},Nt=Ft.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var s="leaflet-control-scale",u=Ee("div",s),p=this.options;return this._addScales(p,s+"-line",u),t.on(p.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),u},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,s,u){t.metric&&(this._mScale=Ee("div",s,u)),t.imperial&&(this._iScale=Ee("div",s,u))},_update:function(){var t=this._map,s=t.getSize().y/2,u=t.distance(t.containerPointToLatLng([0,s]),t.containerPointToLatLng([this.options.maxWidth,s]));this._updateScales(u)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var s=this._getRoundNum(t),u=s<1e3?s+" m":s/1e3+" km";this._updateScale(this._mScale,u,s/t)},_updateImperial:function(t){var s=t*3.2808399,u,p,_;s>5280?(u=s/5280,p=this._getRoundNum(u),this._updateScale(this._iScale,p+" mi",p/u)):(_=this._getRoundNum(s),this._updateScale(this._iScale,_+" ft",_/s))},_updateScale:function(t,s,u){t.style.width=Math.round(this.options.maxWidth*u)+"px",t.innerHTML=s},_getRoundNum:function(t){var s=Math.pow(10,(Math.floor(t)+"").length-1),u=t/s;return u=u>=10?10:u>=5?5:u>=3?3:u>=2?2:1,s*u}}),Ki=function(t){return new Nt(t)},Zs='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',hi=Ft.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(me.inlineSvg?Zs+" ":"")+"Leaflet</a>"},initialize:function(t){N(this,t),this._attributions={}}
16,onAdd:function(t){t.attributionControl=this,this._container=Ee("div","leaflet-control-attribution"),Fr(this._container);for(var s in t._layers)t._layers[s].getAttribution&&this.addAttribution(t._layers[s].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var s in this._attributions)this._attributions[s]&&t.push(s);var u=[];this.options.prefix&&u.push(this.options.prefix),t.length&&u.push(t.join(", ")),this._container.innerHTML=u.join(' <span aria-hidden="true">|</span> ')}}});ze.mergeOptions({attributionControl:!0}),ze.addInitHook(function(){this.options.attributionControl&&new hi().addTo(this)});var uc=function(t){return new hi(t)};Ft.Layers=Hs,Ft.Zoom=Gi,Ft.Scale=Nt,Ft.Attribution=hi,Gn.layers=Io,Gn.zoom=_l,Gn.scale=Ki,Gn.attribution=uc;var $t=de.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});$t.addTo=function(t,s){return t.addHandler(s,this),this};var Ws={Events:ke},qi=me.touch?"touchstart mousedown":"mousedown",sn=_e.extend({options:{clickTolerance:3},initialize:function(t,s,u,p){N(this,p),this._element=t,this._dragStartTarget=s||t,this._preventOutline=u},enable:function(){this._enabled||(be(this._dragStartTarget,qi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(sn._dragging===this&&this.finishDrag(!0),He(this._dragStartTarget,qi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Hi(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){sn._dragging===this&&this.finishDrag();return}if(!(sn._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(sn._dragging=this,this._preventOutline&&$i(this._element),Ao(),Be(),!this._moving)){this.fire("down");var s=t.touches?t.touches[0]:t,u=Rn(this._element);this._startPoint=new $(s.clientX,s.clientY),this._startPos=Nn(this._element),this._parentScale=vn(u);var p=t.type==="mousedown";be(document,p?"mousemove":"touchmove",this._onMove,this),be(document,p?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var s=t.touches&&t.touches.length===1?t.touches[0]:t,u=new $(s.clientX,s.clientY)._subtract(this._startPoint);!u.x&&!u.y||Math.abs(u.x)+Math.abs(u.y)<this.options.clickTolerance||(u.x/=this._parentScale.x,u.y/=this._parentScale.y,ot(t),this._moved||(this.fire("dragstart"),this._moved=!0,Ce(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Ce(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(u),this._moving=!0,this._lastEvent=t,this._updatePosition())}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ct(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){Ke(document.body,"leaflet-dragging"),this._lastTarget&&(Ke(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),He(document,"mousemove touchmove",this._onMove,this),He(document,"mouseup touchend touchcancel",this._onUp,this),Mo(),Wi();var s=this._moved&&this._moving;this._moving=!1,sn._dragging=!1,s&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function $s(t,s,u){var p,_=[1,4,2,8],S,A,B,H,q,ne,xe,Ae;for(S=0,ne=t.length;S<ne;S++)t[S]._code=pi(t[S],s);for(B=0;B<4;B++){for(xe=_[B],p=[],S=0,ne=t.length,A=ne-1;S<ne;A=S++)H=t[S],q=t[A],H._code&xe?q._code&xe||(Ae=Do(q,H,xe,s,u),Ae._code=pi(Ae,s),p.push(Ae)):(q._code&xe&&(Ae=Do(q,H,xe,s,u),Ae._code=pi(Ae,s),p.push(Ae)),p.push(H));t=p}return t}function xl(t,s){var u,p,_,S,A,B,H,q,ne;if(!t||t.length===0)throw new Error("latlngs not passed");Gt(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var xe=se([0,0]),Ae=he(t),xt=Ae.getNorthWest().distanceTo(Ae.getSouthWest
16())*Ae.getNorthEast().distanceTo(Ae.getNorthWest());xt<1700&&(xe=Gs(t));var gt=t.length,Ut=[];for(u=0;u<gt;u++){var Rt=se(t[u]);Ut.push(s.project(se([Rt.lat-xe.lat,Rt.lng-xe.lng])))}for(B=H=q=0,u=0,p=gt-1;u<gt;p=u++)_=Ut[u],S=Ut[p],A=_.y*S.x-S.y*_.x,H+=(_.x+S.x)*A,q+=(_.y+S.y)*A,B+=A*3;B===0?ne=Ut[0]:ne=[H/B,q/B];var or=s.unproject(K(ne));return se([or.lat+xe.lat,or.lng+xe.lng])}function Gs(t){for(var s=0,u=0,p=0,_=0;_<t.length;_++){var S=se(t[_]);s+=S.lat,u+=S.lng,p++}return se([s/p,u/p])}var cc={__proto__:null,clipPolygon:$s,polygonCenter:xl,centroid:Gs};function zo(t,s){if(!s||!t.length)return t.slice();var u=s*s;return t=hc(t,u),t=fc(t,u),t}function wl(t,s,u){return Math.sqrt(mi(t,s,u,!0))}function dc(t,s,u){return mi(t,s,u)}function fc(t,s){var u=t.length,p=typeof Uint8Array<"u"?Uint8Array:Array,_=new p(u);_[0]=_[u-1]=1,Ks(t,_,s,0,u-1);var S,A=[];for(S=0;S<u;S++)_[S]&&A.push(t[S]);return A}function Ks(t,s,u,p,_){var S=0,A,B,H;for(B=p+1;B<=_-1;B++)H=mi(t[B],t[p],t[_],!0),H>S&&(A=B,S=H);S>u&&(s[A]=1,Ks(t,s,u,p,A),Ks(t,s,u,A,_))}function hc(t,s){for(var u=[t[0]],p=1,_=0,S=t.length;p<S;p++)pc(t[p],t[_])>s&&(u.push(t[p]),_=p);return _<S-1&&u.push(t[S-1]),u}var qs;function Tl(t,s,u,p,_){var S=p?qs:pi(t,u),A=pi(s,u),B,H,q;for(qs=A;;){if(!(S|A))return[t,s];if(S&A)return!1;B=S||A,H=Do(t,s,B,u,_),q=pi(H,u),B===S?(t=H,S=q):(s=H,A=q)}}function Do(t,s,u,p,_){var S=s.x-t.x,A=s.y-t.y,B=p.min,H=p.max,q,ne;return u&8?(q=t.x+S*(H.y-t.y)/A,ne=H.y):u&4?(q=t.x+S*(B.y-t.y)/A,ne=B.y):u&2?(q=H.x,ne=t.y+A*(H.x-t.x)/S):u&1&&(q=B.x,ne=t.y+A*(B.x-t.x)/S),new $(q,ne,_)}function pi(t,s){var u=0;return t.x<s.min.x?u|=1:t.x>s.max.x&&(u|=2),t.y<s.min.y?u|=4:t.y>s.max.y&&(u|=8),u}function pc(t,s){var u=s.x-t.x,p=s.y-t.y;return u*u+p*p}function mi(t,s,u,p){var _=s.x,S=s.y,A=u.x-_,B=u.y-S,H=A*A+B*B,q;return H>0&&(q=((t.x-_)*A+(t.y-S)*B)/H,q>1?(_=u.x,S=u.y):q>0&&(_+=A*q,S+=B*q)),A=t.x-_,B=t.y-S,p?A*A+B*B:new $(_,S)}function Gt(t){return!W(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function Pl(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Gt(t)}function bl(t,s){var u,p,_,S,A,B,H,q;if(!t||t.length===0)throw new Error("latlngs not passed");Gt(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var ne=se([0,0]),xe=he(t),Ae=xe.getNorthWest().distanceTo(xe.getSouthWest
16())*xe.getNorthEast().distanceTo(xe.getNorthWest());Ae<1700&&(ne=Gs(t));var xt=t.length,gt=[];for(u=0;u<xt;u++){var Ut=se(t[u]);gt.push(s.project(se([Ut.lat-ne.lat,Ut.lng-ne.lng])))}for(u=0,p=0;u<xt-1;u++)p+=gt[u].distanceTo(gt[u+1])/2;if(p===0)q=gt[0];else for(u=0,S=0;u<xt-1;u++)if(A=gt[u],B=gt[u+1],_=A.distanceTo(B),S+=_,S>p){H=(S-p)/_,q=[B.x-H*(B.x-A.x),B.y-H*(B.y-A.y)];break}var Rt=s.unproject(K(q));return se([Rt.lat+ne.lat,Rt.lng+ne.lng])}var Sl={__proto__:null,simplify:zo,pointToSegmentDistance:wl,closestPointOnSegment:dc,clipSegment:Tl,_getEdgeIntersection:Do,_getBitCode:pi,_sqClosestPointOnSegment:mi,isFlat:Gt,_flat:Pl,polylineCenter:bl},Ys={project:function(t){return new $(t.lng,t.lat)},unproject:function(t){return new pe(t.y,t.x)},bounds:new j([-180,-90],[180,90])},Xs={R:6378137,R_MINOR:6356752314245179e-9,bounds:new j([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var s=Math.PI/180,u=this.R,p=t.lat*s,_=this.R_MINOR/u,S=Math.sqrt(1-_*_),A=S*Math.sin(p),B=Math.tan(Math.PI/4-p/2)/Math.pow((1-A)/(1+A),S/2);return p=-u*Math.log(Math.max(B,1e-10)),new $(t.lng*s*u,p)},unproject:function(t){for(var s=180/Math.PI,u=this.R,p=this.R_MINOR/u,_=Math.sqrt(1-p*p),S=Math.exp(-t.y/u),A=Math.PI/2-2*Math.atan(S),B=0,H=.1,q;B<15&&Math.abs(H)>1e-7;B++)q=_*Math.sin(A),q=Math.pow((1-q)/(1+q),_/2),H=Math.PI/2-2*Math.atan(S*q)-A,A+=H;return new pe(A*s,t.x*s/u)}},mc={__proto__:null,LonLat:Ys,Mercator:Xs,SphericalMercator:Ct},gc=c({},je,{code:"EPSG:3395",projection:Xs,transformation:(function(){var t=.5/(Math.PI*Xs.R);return Ii(t,.5,-t,.5)})()}),Cl=c({},je,{code:"EPSG:4326",projection:Ys,transformation:Ii(1/180,1,-1/180,.5)}),vc=c({},De,{projection:Ys,transformation:Ii(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,s){var u=s.lng-t.lng,p=s.lat-t.lat;return Math.sqrt(u*u+p*p)},infinite:!0});De.Earth=je,De.EPSG3395=gc,De.EPSG3857=zi,De.EPSG900913=bs,De.EPSG4326=Cl,De.Simple=vc;var an=_e.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[v(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[v(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var s=t.target;if(s.hasLayer(this)){if(this._map=s,this._zoomAnimated=s._zoomAnimated,this.getEvents){var u=this.getEvents();s.on(u,this),this.once("remove",function(){s.off(u,this)},this)}this.onAdd(s),this.fire("add"),s.fire("layeradd",{layer:this})}}});ze.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var s=v(t);return this._layers[s]?this:(this._layers[s]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var s=v(t);return this._layers[s]?(this._loaded&&t.onRemove(this),delete this._layers[s],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return v(t)in this._layers},eachLayer:function(t,s){for(var u in this._layers)t.call(s,this._layers[u]);return this},_addLayers:function(t){t=t?W(t)?t:[t]:[];for(var s=0,u=t.length;s<u;s++)this.addLayer(t[s])},_addZoomLimit:function(t){(!isNaN(t.options.maxZoom)||!isNaN(t.options.minZoom))&&(this._zoomBoundLayers[v(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var s=v(t);this._zoomBoundLayers[s]&&(delete this._zoomBoundLayers[s],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,s=-1/0,u=this._getZoomSpan();for(var p in this._zoomBoundLayers){var _=this._zoomBoundLayers[p].options;t=_.minZoom===void 0?t:Math.min(t,_.minZoom),s=_.maxZoom===void 0?s:Math.max(s,_.maxZoom)}this._layersMaxZoom=s===-1/0?void 0:s,this._layersMinZoom=t===1/0?void 0:t,u!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZo
16om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Kn=an.extend({initialize:function(t,s){N(this,s),this._layers={};var u,p;if(t)for(u=0,p=t.length;u<p;u++)this.addLayer(t[u])},addLayer:function(t){var s=this.getLayerId(t);return this._layers[s]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var s=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[s]&&this._map.removeLayer(this._layers[s]),delete this._layers[s],this},hasLayer:function(t){var s=typeof t=="number"?t:this.getLayerId(t);return s in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var s=Array.prototype.slice.call(arguments,1),u,p;for(u in this._layers)p=this._layers[u],p[t]&&p[t].apply(p,s);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,s){for(var u in this._layers)t.call(s,this._layers[u]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return v(t)}}),Hr=function(t,s){return new Kn(t,s)},On=Kn.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Kn.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Kn.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new ve;for(var s in this._layers){var u=this._layers[s];t.extend(u.getBounds?u.getBounds():u.getLatLng())}return t}}),El=function(t,s){return new On(t,s)},gi=de.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){N(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,s){var u=this._getIconUrl(t);if(!u){if(t==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var p=this._createImg(u,s&&s.tagName==="IMG"?s:null);return this._setIconStyles(p,t),(this.options.crossOrigin||this.options.crossOrigin==="")&&(p.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),p},_setIconStyles:function(t,s){var u=this.options,p=u[s+"Size"];typeof p=="number"&&(p=[p,p]);var _=K(p),S=K(s==="shadow"&&u.shadowAnchor||u.iconAnchor||_&&_.divideBy(2,!0));t.className="leaflet-marker-"+s+" "+(u.className||""),S&&(t.style.marginLeft=-S.x+"px",t.style.marginTop=-S.y+"px"),_&&(t.style.width=_.x+"px",t.style.height=_.y+"px")},_createImg:function(t,s){return s=s||document.createElement("img"),s.src=t,s},_getIconUrl:function(t){return me.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}});function kl(t){return new gi(t)}var Yi=gi.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return typeof Yi.imagePath!="string"&&(Yi.imagePath=this._detectIconPath()),(this.options.imagePath||Yi.imagePath)+gi.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){var s=function(u,p,_){var S=p.exec(u);return S&&S[_]};return t=s(t,/^url\((['"])?(.+)\1\)$/,2),t&&s(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=Ee("div","leaflet-default-icon-path",document.body),s=Ir(t,"background-image")||Ir(t,"backgroundImage");if(document.body.removeChild(t),s=this._stripUrl(s),s)return s;var u=document.querySelector('link[href$="leaflet.css"]');return u?u.href.substring(0,u.href.length-11-1):""}}),Qs=$t.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new sn(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Ce(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Ke(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var s=this._marker,u=s._map,p=this._marker.options.autoPanSpeed,_=this._marker.options.autoPanPadding,S=Nn(s._icon),A=u.getPixelBounds(),B=u.getPixelOrigin(),H=G(A.min._subtract(B).add(_),A.max._subtract(B).subtract(_));if(!H.contains(S)){var q=K((Math.max(H.max.x,S.x)-H.max.x)/(A.max.x-H.max.x)-(Math.min(H.min.x,S.x)-H.min.x)/(A.min.x-H.min.x),(Math.max(H.max.y,S.y)-H.max.y)/(A.max.y-H.max.y)-(Math.min(H.min.y,S.y)-H.min.y)/(A.min.y-H.min.y)).multiplyBy(p);u.panBy(q,{animate:!1}),this._draggable._newPos._add(q),this._draggable._startPos._add(q),ct(s._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=Me(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(ye(this._panRequest),this._panRequest=Me(this._adjustPan.bind(this,t)))},_onDrag:function(t){var s=this._marker,u=s._shadow,p=Nn(s._icon),_=s._map.layerPointToLatLng(p);u&&ct(u,p),s._latlng=_,t.latlng=_,t.oldLatLng=this._oldLatLng,s.fire("move",t).fire("drag",t)},_onDragEnd:function(t){ye(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),jn=an.extend({options:{icon:new Yi,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,s){N(this,s),this._latlng=se(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var s=this._latlng;return this._latlng=se(t),this.update(),this.fire("move",{oldLatLng:s,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,s="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),u=t.icon.createIcon(this._icon),p=!1;u!==this._icon&&(this._icon&&this._removeIcon(),p=!0,t.title&&(u.title=t.title),u.tagName==="IMG"&&(u.alt=t.alt||"")),Ce(u,s),t.keyboard&&(u.tabIndex="0",u.setAttribute("role","button")),this._icon=u,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&be(u,"focus",this._panOnFocus,this);var _=t.icon.createShadow(this._shadow),S=!1;
vendor: 5,997 bytes, line 16
16_!==this._shadow&&(this._removeShadow(),S=!0),_&&(Ce(_,s),_.alt=""),this._shadow=_,t.opacity<1&&this._updateOpacity(),p&&this.getPane().appendChild(this._icon),this._initInteraction(),_&&S&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&He(this._icon,"focus",this._panOnFocus,this),Ye(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Ye(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&ct(this._icon,t),this._shadow&&ct(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){var s=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(s)},_initInteraction:function(){if(this.options.interactive&&(Ce(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Qs)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Qs(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&Mt(this._icon,t),this._shadow&&Mt(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t=this._map;if(t){var s=this.options.icon.options,u=s.iconSize?K(s.iconSize):K(0,0),p=s.iconAnchor?K(s.iconAnchor):K(0,0);t.panInside(this._latlng,{paddingTopLeft:p,paddingBottomRight:u.subtract(p)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function yc(t,s){return new jn(t,s)}var qn=an.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return N(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Bo=qn.extend({options:{fill:!0,radius:10},initialize:function(t,s){N(this,s),this._latlng=se(t),this._radius=this.options.radius},setLatLng:function(t){var s=this._latlng;return this._latlng=se(t),this.redraw(),this.fire("move",{oldLatLng:s,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var s=t&&t.radius||this._radius;return qn.prototype.setStyle.call(this,t),this.setRadius(s),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,s=this._radiusY||t,u=this._clickTolerance(),p=[t+u,s+u];this._pxBounds=new j(this._point.subtract(p),this._point.add(p))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Ll(t,s){return new Bo(t,s)}var Fo=Bo.extend({initialize:function(t,s,u){if(typeof s=="number"&&(s=c({},u,{radius:s})),N(this,s),this._latlng=se(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new ve(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:qn.prototype.setStyle,_project:function(){var t=this._latlng.lng,s=this._latlng.lat,u=this._map,p=u.options.crs;if(p.distance===je.distance){var _=Math.PI/180,S=this._mRadius/je.R/_,A=u.project([s+S,t]),B=u.project([s-S,t]),H=A.add(B).divideBy(2),q=u.unproject(H).lat,ne=Math.acos((Math.cos(S*_)-Math.sin(s*_)*Math.sin(q*_))/(Math.cos(s*_)*Math.cos(q*_)))/_;(isNaN(ne)||ne===0)&&(ne=S/Math.cos(Math.PI/180*s)),this._point=H.subtract(u.getPixelOrigin()),this._radius=isNaN(ne)?0:H.x-u.project([q,t-ne]).x,this._radiusY=H.y-A.y}else{var xe=p.unproject(p.project(this._latlng).subtract([this._mRadius,0]));this._point=u.latLngToLayerPoint(this._latlng),this._radius=this._point.x-u.latLngToLayerPoint(xe).x}this._updateBounds()}});function Zr(t,s,u){return new Fo(t,s,u)}var Vt=qn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,s){N(this,s),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var s=1/0,u=null,p=mi,_,S,A=0,B=this._parts.length;A<B;A++)for(var H=this._parts[A],q=1,ne=H.length;q<ne;q++){_=H[q-1],S=H[q];var xe=p(t,_,S,!0);xe<s&&(s=xe,u=p(t,_,S))}return u&&(u.distance=Math.sqrt(s)),u}
16,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return bl(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(t,s){return s=s||this._defaultShape(),t=se(t),s.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new ve,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return Gt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var s=[],u=Gt(t),p=0,_=t.length;p<_;p++)u?(s[p]=se(t[p]),this._bounds.extend(s[p])):s[p]=this._convertLatLngs(t[p]);return s},_project:function(){var t=new j;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),s=new $(t,t);this._rawPxBounds&&(this._pxBounds=new j([this._rawPxBounds.min.subtract(s),this._rawPxBounds.max.add(s)]))},_projectLatlngs:function(t,s,u){var p=t[0]instanceof pe,_=t.length,S,A;if(p){for(A=[],S=0;S<_;S++)A[S]=this._map.latLngToLayerPoint(t[S]),u.extend(A[S]);s.push(A)}else for(S=0;S<_;S++)this._projectLatlngs(t[S],s,u)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}var s=this._parts,u,p,_,S,A,B,H;for(u=0,_=0,S=this._rings.length;u<S;u++)for(H=this._rings[u],p=0,A=H.length;p<A-1;p++)B=Tl(H[p],H[p+1],t,p,!0),B&&(s[_]=s[_]||[],s[_].push(B[0]),(B[1]!==H[p+1]||p===A-2)&&(s[_].push(B[1]),_++))}},_simplifyPoints:function(){for(var t=this._parts,s=this.options.smoothFactor,u=0,p=t.length;u<p;u++)t[u]=zo(t[u],s)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,s){var u,p,_,S,A,B,H=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(u=0,S=this._parts.length;u<S;u++)for(B=this._parts[u],p=0,A=B.length,_=A-1;p<A;_=p++)if(!(!s&&p===0)&&wl(t,B[_],B[p])<=H)return!0;return!1}});function _c(t,s){return new Vt(t,s)}Vt._flat=Pl;var In=Vt.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
16,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return xl(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(t){var s=Vt.prototype._convertLatLngs.call(this,t),u=s.length;return u>=2&&s[0]instanceof pe&&s[0].equals(s[u-1])&&s.pop(),s},_setLatLngs:function(t){Vt.prototype._setLatLngs.call(this,t),Gt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Gt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,s=this.options.weight,u=new $(s,s);if(t=new j(t.min.subtract(u),t.max.add(u)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var p=0,_=this._rings.length,S;p<_;p++)S=$s(this._rings[p],t,!0),S.length&&this._parts.push(S)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var s=!1,u,p,_,S,A,B,H,q;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(S=0,H=this._parts.length;S<H;S++)for(u=this._parts[S],A=0,q=u.length,B=q-1;A<q;B=A++)p=u[A],_=u[B],p.y>t.y!=_.y>t.y&&t.x<(_.x-p.x)*(t.y-p.y)/(_.y-p.y)+p.x&&(s=!s);return s||Vt.prototype._containsPoint.call(this,t,!0)}});function xc(t,s){return new In(t,s)}var _n=On.extend({initialize:function(t,s){N(this,s),this._layers={},t&&this.addData(t)},addData:function(t){var s=W(t)?t:t.features,u,p,_;if(s){for(u=0,p=s.length;u<p;u++)_=s[u],(_.geometries||_.geometry||_.features||_.coordinates)&&this.addData(_);return this}var S=this.options;if(S.filter&&!S.filter(t))return this;var A=Xi(t,S);return A?(A.feature=Wo(t),A.defaultOptions=A.options,this.resetStyle(A),S.onEachFeature&&S.onEachFeature(t,A),this.addLayer(A)):this},resetStyle:function(t){return t===void 0?this.eachLayer(this.resetStyle,this):(t.options=c({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(s){this._setLayerStyle(s,t)},this)},_setLayerStyle:function(t,s){t.setStyle&&(typeof s=="function"&&(s=s(t.feature)),t.setStyle(s))}});function Xi(t,s){var u=t.type==="Feature"?t.geometry:t,p=u?u.coordinates:null,_=[],S=s&&s.pointToLayer,A=s&&s.coordsToLatLng||Uo,B,H,q,ne;if(!p&&!u)return null;switch(u.type){case"Point":return B=A(p),Vo(S,t,B,s);case"MultiPoint":for(q=0,ne=p.length;q<ne;q++)B=A(p[q]),_.push(Vo(S,t,B,s));return new On(_);case"LineString":case"MultiLineString":return H=Wr(p,u.type==="LineString"?0:1,A),new Vt(H,s);case"Polygon":case"MultiPolygon":return H=Wr(p,u.type==="Polygon"?1:2,A),new In(H,s);case"GeometryCollection":for(q=0,ne=u.geometries.length;q<ne;q++){var xe=Xi({geometry:u.geometries[q],type:"Feature",properties:t.properties},s);xe&&_.push(xe)}return new On(_);case"FeatureCollection":for(q=0,ne=u.features.length;q<ne;q++){var Ae=Xi(u.features[q],s);Ae&&_.push(Ae)}return new On(_);default:throw new Error("Invalid GeoJSON object.")}}function Vo(t,s,u,p){return t?t(s,u):new jn(u,p&&p.markersInheritOptions&&p)}function Uo(t){return new pe(t[1],t[0],t[2])}function Wr(t,s,u){for(var p=[],_=0,S=t.length,A;_<S;_++)A=s?Wr(t[_],s-1,u):(u||Uo)(t[_]),p.push(A);return p}function Ho(t,s){return t=se(t),t.alt!==void 0?[C(t.lng,s),C(t.lat,s),C(t.alt,s)]:[C(t.lng,s),C(t.lat,s)]}function Zo(t,s,u,p){for(var _=[],S=0,A=t.length;S<A;S++)_.push(s?Zo(t[S],Gt(t[S])?0:s-1,u,p):Ho(t[S],p));return!s&&u&&_.length>0&&_.push(_[0].slice()),_}function Qi(t,s){return t.feature?c({},t.feature,{geometry:s}):Wo(s)}function Wo(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var Js={toGeoJSON:function(t){return Qi(this,{type:"Point",coordinates:Ho(this.getLatLng(),t)})}};jn.include(Js),Fo.include(Js),Bo.include(Js),Vt.include({toGeoJSON:function(t){var s=!Gt(this._latlngs),u=Zo(this._latlngs,s?1:0,!1,t);return Qi(this,{type:(s?"Multi":"")+"LineString",coordinates:u})}}),In.include({toGeoJSON:function(t){var s=!Gt(this._latlngs),u=s&&!Gt(this._latlngs[0]),p=Zo(this._latlngs,u?2:s?1:0,!0,t);return s||(p=[p]),Qi(this,{type:(u?"Multi":"")+"Polygon",coordinates:p})}}),Kn.include({toMultiPoint:function(t){var s=[];return this.eachLayer(function(u){s.push(u.toGeoJSON(t).geometry.coordinates)}),Qi(this,{type:"MultiPoint",coordinates:s})},toGeoJSON:function(t){var s=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(s==="MultiPoint")return this.toMultiPoint(t);var u=s==="GeometryCollection",p=[];return this.eachLayer(function(_){if(_.toGeoJSON){var S=_.toGeoJSON(t);if(u)p.push(S.geometry);else{var A=Wo(S);
16A.type==="FeatureCollection"?p.push.apply(p,A.features):p.push(A)}}}),u?Qi(this,{geometries:p,type:"GeometryCollection"}):{type:"FeatureCollection",features:p}}});function Al(t,s){return new _n(t,s)}var ln=Al,Yn=an.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,s,u){this._url=t,this._bounds=he(s),N(this,u)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Ce(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Ye(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&Ui(this._image),this},bringToBack:function(){return this._map&&Mn(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=he(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",s=this._image=t?this._url:Ee("img");if(Ce(s,"leaflet-image-layer"),this._zoomAnimated&&Ce(s,"leaflet-zoom-animated"),this.options.className&&Ce(s,this.options.className),s.onselectstart=P,s.onmousemove=P,s.onload=h(this.fire,this,"load"),s.onerror=h(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(s.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=s.src;return}s.src=this._url,s.alt=this.options.alt},_animateZoom:function(t){var s=this._map.getZoomScale(t.zoom),u=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;nn(this._image,u,s)},_reset:function(){var t=this._image,s=new j(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),u=s.getSize();ct(t,s.min),t.style.width=u.x+"px",t.style.height=u.y+"px"},_updateOpacity:function(){Mt(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Ml=function(t,s,u){return new Yn(t,s,u)},ea=Yn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",s=this._image=t?this._url:Ee("video");if(Ce(s,"leaflet-image-layer"),this._zoomAnimated&&Ce(s,"leaflet-zoom-animated"),this.options.className&&Ce(s,this.options.className),s.onselectstart=P,s.onmousemove=P,s.onloadeddata=h(this.fire,this,"load"),t){for(var u=s.getElementsByTagName("source"),p=[],_=0;_<u.length;_++)p.push(u[_].src);this._url=u.length>0?p:[s.src];return}W(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(s.style,"objectFit")&&(s.style.objectFit="fill"),s.autoplay=!!this.options.autoplay,s.loop=!!this.options.loop,s.muted=!!this.options.muted,s.playsInline=!!this.options.playsInline;for(var S=0;S<this._url.length;S++){var A=Ee("source");A.src=this._url[S],s.appendChild(A)}}});function Nl(t,s,u){return new ea(t,s,u)}var ta=Yn.extend({_initImage:function(){var t=this._image=this._url;Ce(t,"leaflet-image-layer"),this._zoomAnimated&&Ce(t,"leaflet-zoom-animated"),this.options.className&&Ce(t,this.options.className),t.onselectstart=P,t.onmousemove=P}});function na(t,s,u){return new ta(t,s,u)}var xn=an.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,s){t&&(t instanceof pe||W(t))?(this._latlng=se(t),N(this,s)):(N(this,t),this._source=s),this.options.content&&(this._content=this.options.content)},openOn:function(t){return t=arguments.length?t:this._source._map,t.hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&Mt(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&Mt(this._container,1),this.bringToFront(),this.options.interactive&&(Ce(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(Mt(this._container,0),this._removeTimeout=setTimeout(h(Ye,void 0,this._container),200)):Ye(this._container),this.options.interactive&&(Ke(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=se(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Ui(this._container),this},bringToBack:function(){return this._map&&Mn(this._container),this},_prepareOpen:function(t){var s=this._source;if(!s._map)return!1;if(s instanceof On){s=null;var u=this._source._layers;for(var p in u)if(u[p]._map){s=u[p];break}if(!s)return!1;this._source=s}if(!t)if(s.getCenter)t=s.getCenter();else if(s.getLatLng)t=s.getLatLng();else if(s.getBounds)t=s.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,s=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof s=="string")t.innerHTML=s;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(s)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),s=K(this.options.offset),u=this._getAnchor();this._zoomAnimated?ct(this._container,t.add(u)):s=s.add(t).add(u);var p=this._containerBottom=-s.y,_=this._containerLeft=-Math.round(this._containerWidth/2)+s.x;this._container.style.bottom=p+"px",this._container.style.left=_+"px"}},_getAnchor:function(){return[0,0]}});ze.include({_initOverlay:function(t,s,u,p){var _=s;return _ instanceof t||(_=new t(p).setContent(s)),u&&_.setLatLng(u),_}}),an.include({_initOverlay:function(t,s,u,p){var _=u;return _ instanceof t?(N(_,p),_._source=this):(_=s&&!p?s:new t(p,this),_.setContent(u)),_}});var $o=xn.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t=arguments.length?t:this._source._map,!t.hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,xn.prototype.openOn.call(this,t)},onAdd:function(t){xn.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof qn||this._source.on("preclick",yn))},onRemove:function(t){xn.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof qn||this._source.off("preclick",yn))},getEvents:function(){var t=xn.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&
16(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",s=this._container=Ee("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),u=this._wrapper=Ee("div",t+"-content-wrapper",s);if(this._contentNode=Ee("div",t+"-content",u),Fr(s),Ro(this._contentNode),be(s,"contextmenu",yn),this._tipContainer=Ee("div",t+"-tip-container",s),this._tip=Ee("div",t+"-tip",this._tipContainer),this.options.closeButton){var p=this._closeButton=Ee("a",t+"-close-button",s);p.setAttribute("role","button"),p.setAttribute("aria-label","Close popup"),p.href="#close",p.innerHTML='<span aria-hidden="true">&#215;</span>',be(p,"click",function(_){ot(_),this.close()},this)}},_updateLayout:function(){var t=this._contentNode,s=t.style;s.width="",s.whiteSpace="nowrap";var u=t.offsetWidth;u=Math.min(u,this.options.maxWidth),u=Math.max(u,this.options.minWidth),s.width=u+1+"px",s.whiteSpace="",s.height="";var p=t.offsetHeight,_=this.options.maxHeight,S="leaflet-popup-scrolled";_&&p>_?(s.height=_+"px",Ce(t,S)):Ke(t,S),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var s=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),u=this._getAnchor();ct(this._container,s.add(u))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,s=parseInt(Ir(this._container,"marginBottom"),10)||0,u=this._container.offsetHeight+s,p=this._containerWidth,_=new $(this._containerLeft,-u-this._containerBottom);_._add(Nn(this._container));var S=t.layerPointToContainerPoint(_),A=K(this.options.autoPanPadding),B=K(this.options.autoPanPaddingTopLeft||A),H=K(this.options.autoPanPaddingBottomRight||A),q=t.getSize(),ne=0,xe=0;S.x+p+H.x>q.x&&(ne=S.x+p-q.x+H.x),S.x-ne-B.x<0&&(ne=S.x-B.x),S.y+u+H.y>q.y&&(xe=S.y+u-q.y+H.y),S.y-xe-B.y<0&&(xe=S.y-B.y),(ne||xe)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([ne,xe]))}},_getAnchor:function(){return K(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Ji=function(t,s){return new $o(t,s)};ze.mergeOptions({closePopupOnClick:!0}),ze.include({openPopup:function(t,s,u){return this._initOverlay($o,t,s,u).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),an.include({bindPopup:function(t,s){return this._popup=this._initOverlay($o,this._popup,t,s),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof On||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){on(t);var s=t.layer||t.target;if(this._popup._source===s&&!(s instanceof qn)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=s,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var er=xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=xn.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",s=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Ee("div",s),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+v(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var s,u,p=this._map,_=this._container,S=p.latLngToContainerPoint(p.getCenter()),A=p.layerPointToContainerPoint(t),B=this.options.direction,H=_.offsetWidth,q=_.offsetHeight,ne=K(this.options.offset),xe=this._getAnchor();B==="top"?(s=H/2,u=q):B==="bottom"?(s=H/2,u=0):B==="center"?(s=H/2,u=q/2):B==="right"?(s=0,u=q/2):B==="left"?
16(s=H,u=q/2):A.x<S.x?(B="right",s=0,u=q/2):(B="left",s=H+(ne.x+xe.x)*2,u=q/2),t=t.subtract(K(s,u,!0)).add(ne).add(xe),Ke(_,"leaflet-tooltip-right"),Ke(_,"leaflet-tooltip-left"),Ke(_,"leaflet-tooltip-top"),Ke(_,"leaflet-tooltip-bottom"),Ce(_,"leaflet-tooltip-"+B),ct(_,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&Mt(this._container,t)},_animateZoom:function(t){var s=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(s)},_getAnchor:function(){return K(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),$r=function(t,s){return new er(t,s)};ze.include({openTooltip:function(t,s,u){return this._initOverlay(er,t,s,u).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),an.include({bindTooltip:function(t,s){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(er,this._tooltip,t,s),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(!(!t&&this._tooltipHandlersAdded)){var s=t?"off":"on",u={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?u.add=this._openTooltip:(u.mouseover=this._openTooltip,u.mouseout=this.closeTooltip,u.click=this._openTooltip,this._map?this._addFocusListeners():u.add=this._addFocusListeners),this._tooltip.options.sticky&&(u.mousemove=this._moveTooltip),this[s](u),this._tooltipHandlersAdded=!t}},openTooltip:function(t){return this._tooltip&&(this instanceof On||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var s=typeof t.getElement=="function"&&t.getElement();s&&(be(s,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),be(s,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){var s=typeof t.getElement=="function"&&t.getElement();s&&s.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var s=this;this._map.once("moveend",function(){s._openOnceFlag=!1,s._openTooltip(t)});return}this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)}},_moveTooltip:function(t){var s=t.latlng,u,p;this._tooltip.options.sticky&&t.originalEvent&&(u=this._map.mouseEventToContainerPoint(t.originalEvent),p=this._map.containerPointToLayerPoint(u),s=this._map.layerPointToLatLng(p)),this._tooltip.setLatLng(s)}});var Go=gi.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var s=t&&t.tagName==="DIV"?t:document.createElement("div"),u=this.options;if(u.html instanceof Element?(Eo(s),s.appendChild(u.html)):s.innerHTML=u.html!==!1?u.html:"",u.bgPos){var p=K(u.bgPos);s.style.backgroundPosition=-p.x+"px "+-p.y+"px"}return this._setIconStyles(s,"icon"),s},createShadow:function(){return null}});function Rl(t){return new Go(t)}gi.Default=Yi;var Xn=an.extend({options:{tileSize:256,opacity:1,updateWhenIdle:me.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){N(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),Ye(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Ui(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Mn(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var t=this._clampZoom(this._map.getZoom());t!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()}return this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=x(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof $?t:new $(t,t)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var s=this.getPane().children,u=-t(-1/0,1/0),p=0,_=s.length,S;p<_;p++)S=s[p].style.zIndex,s[p]!==this._container&&S&&(u=t(u,+S));isFinite(u)&&(this.options.zIndex=u+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!me.ielt9){Mt(this._container,this.options.opacity);var t=+new Date,s=!1,u=!1;for(var p in this._tiles){var _=this._tiles[p];if(!(!_.current||!_.loaded)){var S=Math.min(1,(t-_.loaded)/200);Mt(_.el,S),S<1?s=!0:(_.active?u=!0:this._onOpaqueTile(_),_.active=!0)}}u&&!this._noPrune&&this._pruneTiles(),s&&(ye(this._fadeFrame),this._fadeFrame=Me(this._updateOpacity,this))}},_onOpaqueTile:P,_initContainer:function(){this._container||(this._container=Ee("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,s=this.options.maxZoom;if(t!==void 0){for(var u in this._levels)u=Number(u),this._levels[u].el.children.length||u===t?(this._levels[u].el.style.zIndex=s-Math.abs(t-u),this._onUpdateLevel(u)):(Ye(this._levels[u].el),this._removeTilesAtZoom(u),this._onRemoveLevel(u),delete this._levels[u]);var p=this._levels[t],_=this._map;return p||(p=this._levels[t]={},p.el=Ee("div","leaflet-tile-container leaflet-zoom-animated",this._container),p.el.style.zIndex=s,p.origin=_.project(_.unproject(_.getPixelOrigin()),t).round(),p.zoom=t,this._setZoomTransform(p,_.getCenter(),_.getZoom()),P(p.el.offsetWidth),this._onCreateLevel(p)),this._level=p,p}},_onUpdateLevel:P,_onRemoveLevel:P,_onCreateLevel:P,_pruneTiles:function(){if(this._map){var t,s,u=this._map.getZoom();if(u>this.options.maxZoom||u<this.options.minZoom){this._removeAllTiles();return}for(t in this._tiles)s=this._tiles[t],s.retain=s.current;for(t in this._tiles)if(s=this._tiles[t],s.current&&!s.active){var p=s.coords;this._retainParent(p.x,p.y,p.z,p.z-5)||this._retainChildren(p.x,p.y,p.z,p.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}},_removeTilesAtZoom:function(t){for(var s in this._tiles)this._tiles[s].coords.z===t&&this._removeTile(s)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)Ye(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,s,u,p){var _=Math.floor(t/2),S=Math.floor(s/2),A=u-1,B=new $(+_,+S);B.z=+A;var H=this._tileCoordsToKey(B),q=this._tiles[H];return q&&q.active?(q.retain=!0,!0):(q&&q.loaded&&(q.retain=!0),A>p?this._retainParent(_,S,A,p):!1)},_retainChildren:function(t,s,u,p){for(var _=2*t;_<2*t+2;_++)for(var S=2*s;S<2*s+2;S++){var A=new $(_,S);A.z=u+1;var B=this._tileCoordsToKey(A),H=this._tiles[B];if(H&&H.active){H.retain=!0;continue}else H&&H.loaded&&(H.retain=!0);u+1<p&&this._retainChildren(_,S,u+1,p)}},_resetView:function(t){var s=t&&(t.pinch||t.flyTo);
16this._setView(this._map.getCenter(),this._map.getZoom(),s,s)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var s=this.options;return s.minNativeZoom!==void 0&&t<s.minNativeZoom?s.minNativeZoom:s.maxNativeZoom!==void 0&&s.maxNativeZoom<t?s.maxNativeZoom:t},_setView:function(t,s,u,p){var _=Math.round(s);this.options.maxZoom!==void 0&&_>this.options.maxZoom||this.options.minZoom!==void 0&&_<this.options.minZoom?_=void 0:_=this._clampZoom(_);var S=this.options.updateWhenZooming&&_!==this._tileZoom;(!p||S)&&(this._tileZoom=_,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),_!==void 0&&this._update(t),u||this._pruneTiles(),this._noPrune=!!u),this._setZoomTransforms(t,s)},_setZoomTransforms:function(t,s){for(var u in this._levels)this._setZoomTransform(this._levels[u],t,s)},_setZoomTransform:function(t,s,u){var p=this._map.getZoomScale(u,t.zoom),_=t.origin.multiplyBy(p).subtract(this._map._getNewPixelOrigin(s,u)).round();me.any3d?nn(t.el,_,p):ct(t.el,_)},_resetGrid:function(){var t=this._map,s=t.options.crs,u=this._tileSize=this.getTileSize(),p=this._tileZoom,_=this._map.getPixelWorldBounds(this._tileZoom);_&&(this._globalTileRange=this._pxBoundsToTileRange(_)),this._wrapX=s.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,s.wrapLng[0]],p).x/u.x),Math.ceil(t.project([0,s.wrapLng[1]],p).x/u.y)],this._wrapY=s.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([s.wrapLat[0],0],p).y/u.x),Math.ceil(t.project([s.wrapLat[1],0],p).y/u.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(t){var s=this._map,u=s._animatingZoom?Math.max(s._animateToZoom,s.getZoom()):s.getZoom(),p=s.getZoomScale(u,this._tileZoom),_=s.project(t,this._tileZoom).floor(),S=s.getSize().divideBy(p*2);return new j(_.subtract(S),_.add(S))},_update:function(t){var s=this._map;if(s){var u=this._clampZoom(s.getZoom());if(t===void 0&&(t=s.getCenter()),this._tileZoom!==void 0){var p=this._getTiledPixelBounds(t),_=this._pxBoundsToTileRange(p),S=_.getCenter(),A=[],B=this.options.keepBuffer,H=new j(_.getBottomLeft().subtract([B,-B]),_.getTopRight().add([B,-B]));if(!(isFinite(_.min.x)&&isFinite(_.min.y)&&isFinite(_.max.x)&&isFinite(_.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var q in this._tiles){var ne=this._tiles[q].coords;(ne.z!==this._tileZoom||!H.contains(new $(ne.x,ne.y)))&&(this._tiles[q].current=!1)}if(Math.abs(u-this._tileZoom)>1){this._setView(t,u);return}for(var xe=_.min.y;xe<=_.max.y;xe++)for(var Ae=_.min.x;Ae<=_.max.x;Ae++){var xt=new $(Ae,xe);if(xt.z=this._tileZoom,!!this._isValidTile(xt)){var gt=this._tiles[this._tileCoordsToKey(xt)];gt?gt.current=!0:A.push(xt)}}if(A.sort(function(Rt,or){return Rt.distanceTo(S)-or.distanceTo(S)}),A.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Ut=document.createDocumentFragment();for(Ae=0;Ae<A.length;Ae++)this._addTile(A[Ae],Ut);this._level.el.appendChild(Ut)}}}},_isValidTile:function(t){var s=this._map.options.crs;if(!s.infinite){var u=this._globalTileRange;if(!s.wrapLng&&(t.x<u.min.x||t.x>u.max.x)||!s.wrapLat&&(t.y<u.min.y||t.y>u.max.y))return!1}if(!this.options.bounds)return!0;var p=this._tileCoordsToBounds(t);return he(this.options.bounds).overlaps(p)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var s=this._map,u=this.getTileSize(),p=t.scaleBy(u),_=p.add(u),S=s.unproject(p,t.z),A=s.unproject(_,t.z);return[S,A]},_tileCoordsToBounds:function(t){var s=this._tileCoordsToNwSe(t),u=new ve(s[0],s[1]);return this.options.noWrap||(u=this._map.wrapLatLngBounds(u)),u},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var s=t.split(":"),u=new $(+s[0],+s[1]);return u.z=+s[2],u},_removeTile:function(t){var s=this._tiles[t];s&&(Ye(s.el),delete this._tiles[t],this.fire("tileunload",{tile:s.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){Ce(t,"leaflet-tile");var s=this.getTileSize();t.style.width=s.x+"px",t.style.height=s.y+"px",t.onselectstart=P,t.onmousemove=P,me.ielt9&&this.options.opacity<1&&Mt(t,this.options.opacity)},_addTile:function(t,s){var u=this._getTilePos(t),p=this._tileCoordsToKey(t),_=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(_),this.createTile.length<2&&Me(h(this._tileReady,this,t,null,_)),ct(_,u),this._tiles[p]={el:_,coords:t,current:!0},s.appendChild(_),this.fire("tileloadstart",{tile:_,coords:t})},_tileReady:function(t,s,u){s&&this.fire("tileerror",{error:s,tile:u,coords:t});var p=this._tileCoordsToKey(t);u=this._tiles[p],u&&(u.loaded=+new Date,this._map._fadeAnimated?(Mt(u.el,0),ye(this._fadeFrame),this._fadeFrame=Me(this._updateOpacity,this)):(u.active=!0,this._pruneTiles()),s||(Ce(u.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:u.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),me.ielt9||!this._map._fadeAnimated?Me(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var s=new $(this._wrapX?w(t.x,this._wrapX):t.x,this._wrapY?w(t.y,this._wrapY):t.y);return s.z=t.z,s},_pxBoundsToTileRange:function(t){var s=this.getTileSize();return new j(t.min.unscaleBy(s).floor(),t.max.unscaleBy(s).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function tr(t){return new Xn(t)}var Qn=Xn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,s){this._url=t,s=N(this,s),s.detectRetina&&me.retina&&s.maxZoom>0?(s.tileSize=Math.floor(s.tileSize/2),s.zoomReverse?(s.zoomOffset--,s.minZ
16oom=Math.min(s.maxZoom,s.minZoom+1)):(s.zoomOffset++,s.maxZoom=Math.max(s.minZoom,s.maxZoom-1)),s.minZoom=Math.max(0,s.minZoom)):s.zoomReverse?s.minZoom=Math.min(s.maxZoom,s.minZoom):s.maxZoom=Math.max(s.minZoom,s.maxZoom),typeof s.subdomains=="string"&&(s.subdomains=s.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,s){return this._url===t&&s===void 0&&(s=!0),this._url=t,s||this.redraw(),this},createTile:function(t,s){var u=document.createElement("img");return be(u,"load",h(this._tileOnLoad,this,s,u)),be(u,"error",h(this._tileOnError,this,s,u)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(u.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(u.referrerPolicy=this.options.referrerPolicy),u.alt="",u.src=this.getTileUrl(t),u},getTileUrl:function(t){var s={r:me.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var u=this._globalTileRange.max.y-t.y;this.options.tms&&(s.y=u),s["-y"]=u}return V(this._url,c(s,this.options))},_tileOnLoad:function(t,s){me.ielt9?setTimeout(h(t,this,null,s),0):t(null,s)},_tileOnError:function(t,s,u){var p=this.options.errorTileUrl;p&&s.getAttribute("src")!==p&&(s.src=p),t(u,s)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,s=this.options.maxZoom,u=this.options.zoomReverse,p=this.options.zoomOffset;return u&&(t=s-t),t+p},_getSubdomain:function(t){var s=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[s]},_abortLoading:function(){var t,s;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(s=this._tiles[t].el,s.onload=P,s.onerror=P,!s.complete)){s.src=J;var u=this._tiles[t].coords;Ye(s),delete this._tiles[t],this.fire("tileabort",{tile:s,coords:u})}},_removeTile:function(t){var s=this._tiles[t];if(s)return s.el.setAttribute("src",J),Xn.prototype._removeTile.call(this,t)},_tileReady:function(t,s,u){if(!(!this._map||u&&u.getAttribute("src")===J))return Xn.prototype._tileReady.call(this,t,s,u)}});function ia(t,s){return new Qn(t,s)}var Gr=Qn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,s){this._url=t;var u=c({},this.defaultWmsParams);for(var p in s)p in this.options||(u[p]=s[p]);s=N(this,s);var _=s.detectRetina&&me.retina?2:1,S=this.getTileSize();u.width=S.x*_,u.height=S.y*_,this.wmsParams=u},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var s=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[s]=this._crs.code,Qn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var s=this._tileCoordsToNwSe(t),u=this._crs,p=G(u.project(s[0]),u.project(s[1])),_=p.min,S=p.max,A=(this._wmsVersion>=1.3&&this._crs===Cl?[_.y,_.x,S.y,S.x]:[_.x,_.y,S.x,S.y]).join(","),B=Qn.prototype.getTileUrl.call(this,t);return B+M(this.wmsParams,B,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+A},setParams:function(t,s){return c(this.wmsParams,t),s||this.redraw(),this}});function Ol(t,s){return new Gr(t,s)}Qn.WMS=Gr,ia.wms=Ol;var wn=an.extend({options:{padding:.1},initialize:function(t){N(this,t),v(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Ce(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,s){var u=this._map.getZoomScale(s,this._zoom),p=this._map.getSize().multiplyBy(.5+this.options.padding),_=this._map.project(this._center,s),S=p.multiplyBy(-u).add(_).subtract(this._map._getNewPixelOrigin(t,s));me.any3d?nn(this._container,S,u):ct(this._container,S)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,s=this._map.getSize(),u=this._map.containerPointToLayerPoint(s.multiplyBy(-t)).roun
16d();this._bounds=new j(u,u.add(s.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ra=wn.extend({options:{tolerance:0},getEvents:function(){var t=wn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){wn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");be(t,"mousemove",this._onMouseMove,this),be(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),be(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){ye(this._redrawRequest),delete this._ctx,Ye(this._container),He(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var s in this._layers)t=this._layers[s],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){wn.prototype._update.call(this);var t=this._bounds,s=this._container,u=t.getSize(),p=me.retina?2:1;ct(s,t.min),s.width=p*u.x,s.height=p*u.y,s.style.width=u.x+"px",s.style.height=u.y+"px",me.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){wn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[v(t)]=t;var s=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=s),this._drawLast=s,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var s=t._order,u=s.next,p=s.prev;u?u.prev=p:this._drawLast=p,p?p.next=u:this._drawFirst=u,delete t._order,delete this._layers[v(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray=="string"){var s=t.options.dashArray.split(/[, ]+/),u=[],p,_;for(_=0;_<s.length;_++){if(p=Number(s[_]),isNaN(p))return;u.push(p)}t.options._dashArray=u}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||Me(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var s=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new j,this._redrawBounds.extend(t._pxBounds.min.subtract([s,s])),this._redrawBounds.extend(t._pxBounds.max.add([s,s]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var s=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,s.x,s.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var t,s=this._redrawBounds;if(this._ctx.save(),s){var u=s.getSize();this._ctx.beginPath(),this._ctx.rect(s.min.x,s.min.y,u.x,u.y),this._ctx.clip()}this._drawing=!0;for(var p=this._drawFirst;p;p=p.next)t=p.layer,(!s||t._pxBounds&&t._pxBounds.intersects(s))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,s){if(this._drawing){var u,p,_,S,A=t._parts,B=A.length,H=this._ctx;if(B){for(H.beginPath(),u=0;u<B;u++){for(p=0,_=A[u].length;p<_;p++)S=A[u][p],H[p?"lineTo":"moveTo"](S.x,S.y);s&&H.closePath()}this._fillStroke(H,t)}}},_updateCircle:function(t){if(!(!this._drawing||t._empty())){var s=t._point,u=this._ctx,p=Math.max(Math.round(t._radius),1),_=(Math.max(Math.round(t._radiusY),1)||p)/p;_!==1&&(u.save(),u.scale(1,_)),u.beginPath(),u.arc(s.x,s.y/_,p,0,Math.PI*2,!1),_!==1&&u.restore(),this._fillStroke(u,t)}},_fillStroke:function(t,s){var u=s.options;u.fill&&(t.globalAlpha=u.fillOpacity,t.fillStyle=u.fillColor||u.color,t.fill(u.fillRule||"evenodd")),u.stroke&&u.weight!==0&&(t.setLineDash&&t.setLineDash(s.options&&s.options._dashArray||[]),t.globalAlpha=u.opacity,t.lineWidth=u.weight,t.strokeStyle=u.color,t.lineCap=u.lineCap,t.lineJoin=u.lineJoin,t.stroke())},_onClick:function(t){for(var s=this._map.mouseEventToLayerPoint(t),u,p,_=this._drawFirst;_;_=_.next)u=_.layer,u.options.interactive&&u._containsPoint(s)&&(!(t.type==="click"||t.type==="preclick")||!this._map._draggableMoved(u))&&(p=u);this._fireEvent(p?[p]:!1,t)},_onMouseMove:function(t){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var s=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,s)}},_handleMouseOut:function(t){var s=this._hoveredLayer;s&&(Ke(this._container,"leaflet-interactive"),this._fireEvent([s],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,s){if(!this._mouseHoverThrottled){for(var u,p,_=this._drawFirst;_;_=_.next)u=_.layer,u.options.interactive&&u._containsPoint(s)&&(p=u);p!==this._hoveredLayer&&(this._handleMouseOut(t),p&&(Ce(this._container,"leaflet-interactive"),this._fireEvent([p],t,"mouseover"),this._hoveredLayer=p)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,t),this._mouseHoverThrottled=!0,setTimeout(h(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,s,u){this._map._fireDOMEvent(s,u||s.type,t)},_bringToFront:function(t){var s=t._order;if(s){var u=s.next,p=s.prev;if(u)u.prev=p;else return;p?p.next=u:u&&(this._drawFirst=u),s.prev=this._drawLast,this._drawLast.next=s,s.next=null,this._drawLast=s,this._requestRedraw(t)}},_bringToBack:function(t){var s=t._order;if(s){var u=s.next,p=s.prev;if(p)p.next=u;else return;u?u.prev=p:p&&(this._drawLast=p),s.prev=null,s.next=this._drawFirst,this._drawFirst.prev=s,this._drawFirst=s,this._requestRedraw(t)}}});function oa(t){return me.canvas?new ra(t):null}var nr=(function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}})(),jl={_initContainer:function(){this._container=Ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(wn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var s=t._container=nr("shape");Ce(s,"leaflet-vml-shape "+(this.options.className||"")),s.coordsize="1 1",t._path=nr("path"),s.appendChild(t._path),this._updateStyle(t),this._layers[v(t)]=t},_addPath:function(t){var s=t._container;this._container.appendChild(s),t.options.interactive&&t.addInteractiveTarget(s)},_removePath:function(t){var s=t._container;Ye(s),t.removeInteractiveTarget(s),delete this._layers[v(t)]},_updateStyle:function(t){var s=t._stroke,u=t._fill,p=t.options,_=t._container;_.stroked=!!p.stroke,_.filled=!!p.fill,p.stroke?(s||(s=t._stroke=nr("stroke")),_.appendChild(s),s.weight=p.weight+"px",s.color=p.color,s.opacity=p.opacity,p.dashArray?s.dashStyle=W(p.dashArray)?p.dashArray.join(" "):p.dashArray.replace(/( *, *)/g," "):s.dashStyle="",s.endcap=p.lineCap.replace("butt","flat"),s.joinstyle=p.lineJoin):s&&(_.removeChild(s),t._stroke=null),p.fill?(u||(u=t._fill=nr("fill")),_.appendChild(u),u.color=p.fillColor||p.color,u.opacity=p.fillOpacity):u&&(_.removeChild(u),t._fill=null)},_updateCircle:function(t){var s=t._point.round(),u=Math.round(t._radius),p=Math.round(t._radiusY||u);this._setPath(t,t._empty()?"M0 0":"AL "+s.x+","+s.y+" "+u+","+p+" 0,"+65535*360)},_setPath:function(t,s){t._path.v=s},_bringToFront:function(t){Ui(t._container)},_bringToBack:function(t){Mn(t._container)}},un=me.vml?nr:Ss,vi=wn.extend({_initContainer:function(){this._container=un("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=un("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Ye(this._container),He(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){wn.prototype._update.call(this);var t=this._bounds,s=t.getSize(),u=this._container;(!this._svgSize||!this._svgSize.equals(s))&&(this._svgSize=s,u.setAttribute("width",s.x),u.setAttribute("height",s.y)),ct(u,t.min),u.setAttribute("viewBox",[t.min.x,t.min.y,s.x,s.y].join(" ")),this.fire("update")}},_initPath:function(t){var s=t._path=un("path");t.options.className&&Ce(s,t.options.className),t.options.interactive&&Ce(s,"leaflet-interactive"),this._updateStyle(t),this._layers[v(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){Ye(t._path),t.removeInteractiveTarget(t._path),delete this._layers[v(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var s=t._path,u=t.options;s&&(u.stroke?(s.setAttribute("stroke",u.color),s.setAttribute("stroke-opacity",u.opacity),s.setAttribute("stroke-width",u.weight),s.setAttribute("stroke-linecap",u.lineCap),s.setAttribute("stroke-linejoin",u.lineJoin),u.dashArray?s.setAttribute("stroke-dasharray",u.dashArray):s.removeAttribute("stroke-dasharray"),u.dashOffset?s.setAttribute("stroke-dashoffset",u.dashOffset):s.removeAttribute("stroke-dashoffset")):s.setAttribute("stroke","none"),u.fill?(s.setAttribute("fill",u.fillColor||u.color),s.setAttribute("fill-opacity",u.fillOpacity),s.setAttribute("fill-rule",u.fillRule||"evenodd")):s.setAttribute("fill","none"))},_updatePoly:function(t,s){this._setPath(t,Cs(t._parts,s))},_updateCircle:function(t){var s=t._point,u=Math.max(Math.round(t._radius),1),p=Math.max(Math.round(t._radiusY),1)||u,_="a"+u+","+p+" 0 1,0 ",S=t._empty()?"M0 0":"M"+(s.x-u)+","+s.y+_+u*2+",0 "+_+-u*2+",0 ";this._setPath(t,S)}
16,_setPath:function(t,s){t._path.setAttribute("d",s)},_bringToFront:function(t){Ui(t._path)},_bringToBack:function(t){Mn(t._path)}});me.vml&&vi.include(jl);function Ko(t){return me.svg||me.vml?new vi(t):null}ze.include({getRenderer:function(t){var s=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return s||(s=this._renderer=this._createRenderer()),this.hasLayer(s)||this.addLayer(s),s},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var s=this._paneRenderers[t];return s===void 0&&(s=this._createRenderer({pane:t}),this._paneRenderers[t]=s),s},_createRenderer:function(t){return this.options.preferCanvas&&oa(t)||Ko(t)}});var Il=In.extend({initialize:function(t,s){In.prototype.initialize.call(this,this._boundsToLatLngs(t),s)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=he(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function wc(t,s){return new Il(t,s)}vi.create=un,vi.pointsToPath=Cs,_n.geometryToLayer=Xi,_n.coordsToLatLng=Uo,_n.coordsToLatLngs=Wr,_n.latLngToCoords=Ho,_n.latLngsToCoords=Zo,_n.getFeature=Qi,_n.asFeature=Wo,ze.mergeOptions({boxZoom:!0});var ir=$t.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){be(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){He(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Ye(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Be(),Ao(),this._startPoint=this._map.mouseEventToContainerPoint(t),be(document,{contextmenu:on,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=Ee("div","leaflet-zoom-box",this._container),Ce(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var s=new j(this._point,this._startPoint),u=s.getSize();ct(this._box,s.min),this._box.style.width=u.x+"px",this._box.style.height=u.y+"px"},_finish:function(){this._moved&&(Ye(this._box),Ke(this._container,"leaflet-crosshair")),Wi(),Mo(),He(document,{contextmenu:on,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0);var s=new ve(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(s).fire("boxzoomend",{boxZoomBounds:s})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});ze.addInitHook("addHandler","boxZoom",ir),ze.mergeOptions({doubleClickZoom:!0});var zl=$t.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var s=this._map,u=s.getZoom(),p=s.options.zoomDelta,_=t.originalEvent.shiftKey?u-p:u+p;s.options.doubleClickZoom==="center"?s.setZoom(_):s.setZoomAround(t.containerPoint,_)}});ze.addInitHook("addHandler","doubleClickZoom",zl),ze.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var sa=$t.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new sn(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}Ce(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Ke(this._map._container,"leaflet-grab"),Ke(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved}
vendor: 7,218 bytes, line 16
16,moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var s=he(this._map.options.maxBounds);this._offsetLimit=G(this._map.latLngToContainerPoint(s.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(s.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var s=this._lastTime=+new Date,u=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(u),this._times.push(s),this._prunePositions(s)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),s=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=s.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,s){return t-(t-s)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),s=this._offsetLimit;t.x<s.min.x&&(t.x=this._viscousLimit(t.x,s.min.x)),t.y<s.min.y&&(t.y=this._viscousLimit(t.y,s.min.y)),t.x>s.max.x&&(t.x=this._viscousLimit(t.x,s.max.x)),t.y>s.max.y&&(t.y=this._viscousLimit(t.y,s.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,s=Math.round(t/2),u=this._initialWorldOffset,p=this._draggable._newPos.x,_=(p-s+u)%t+s-u,S=(p+s+u)%t-s-u,A=Math.abs(_+u)<Math.abs(S+u)?_:S;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=A},_onDragEnd:function(t){var s=this._map,u=s.options,p=!u.inertia||t.noInertia||this._times.length<2;if(s.fire("dragend",t),p)s.fire("moveend");else{this._prunePositions(+new Date);var _=this._lastPos.subtract(this._positions[0]),S=(this._lastTime-this._times[0])/1e3,A=u.easeLinearity,B=_.multiplyBy(A/S),H=B.distanceTo([0,0]),q=Math.min(u.inertiaMaxSpeed,H),ne=B.multiplyBy(q/H),xe=q/(u.inertiaDeceleration*A),Ae=ne.multiplyBy(-xe/2).round();!Ae.x&&!Ae.y?s.fire("moveend"):(Ae=s._limitOffset(Ae,s.options.maxBounds),Me(function(){s.panBy(Ae,{duration:xe,easeLinearity:A,noMoveStart:!0,animate:!0})}))}}});ze.addInitHook("addHandler","dragging",sa),ze.mergeOptions({keyboard:!0,keyboardPanDelta:80});var aa=$t.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),be(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),He(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,s=document.documentElement,u=t.scrollTop||s.scrollTop,p=t.scrollLeft||s.scrollLeft;this._map._container.focus(),window.scrollTo(p,u)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var s=this._panKeys={},u=this.keyCodes,p,_;for(p=0,_=u.left.length;p<_;p++)s[u.left[p]]=[-1*t,0];for(p=0,_=u.right.length;p<_;p++)s[u.right[p]]=[t,0];for(p=0,_=u.down.length;p<_;p++)s[u.down[p]]=[0,t];for(p=0,_=u.up.length;p<_;p++)s[u.up[p]]=[0,-1*t]},_setZoomDelta:function(t){var s=this._zoomKeys={},u=this.keyCodes,p,_;for(p=0,_=u.zoomIn.length;p<_;p++)s[u.zoomIn[p]]=t;for(p=0,_=u.zoomOut.length;p<_;p++)s[u.zoomOut[p]]=-t},_addHooks:function(){be(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){He(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var s=t.keyCode,u=this._map,p;if(s in this._panKeys){if(!u._panAnim||!u._panAnim._inProgress)if(p=this._panKeys[s],t.shiftKey&&(p=K(p).multiplyBy(3)),u.options.maxBounds&&(p=u._limitOffset(K(p),u.options.maxBounds)),u.options.worldCopyJump){var _=u.wrapLatLng(u.unproject(u.project(u.getCenter()).add(p)));u.panTo(_)}else u.panBy(p)}else if(s in this._zoomKeys)u.setZoom(u.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[s]);else if(s===27&&u._popup&&u._popup.options.closeOnEscapeKey)u.closePopup();else return;on(t)}}});ze.addInitHook("addHandler","keyboard",aa),ze.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Ze=$t.extend({addHooks:function(){be(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){He(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var s=yl(t),u=this._map.options.wheelDebounceTime;this._delta+=s,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var p=Math.max(u-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(h(this._performZoom,this),p),on(t)},_performZoom:function(){var t=this._map,s=t.getZoom(),u=this._map.options.zoomSnap||0;t._stop();var p=this._delta/(this._map.options.wheelPxPerZoomLevel*4),_=4*Math.log(2/(1+Math.exp(-Math.abs(p))))/Math.LN2,S=u?Math.ceil(_/u)*u:_,A=t._limitZoom(s+(this._delta>0?S:-S))-s;this._delta=0,this._startTime=null,A&&(t.options.scrollWheelZoom==="center"?t.setZoom(s+A):t.setZoomAround(this._lastMousePos,s+A))}});ze.addInitHook("addHandler","scrollWheelZoom",Ze);var la=600;ze.mergeOptions({tapHold:me.touchNative&&me.safari&&me.mobile,tapTolerance:15});var Kr=$t.extend({addHooks:function(){be(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){He(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var s=t.touches[0];this._startPos=this._newPos=new $(s.clientX,s.clientY),this._holdTimeout=setTimeout(h(function(){this._cancel(),this._isTapValid()&&(be(document,"touchend",ot),be(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",s))},this),la),be(document,"touchend touchcancel contextmenu",this._cancel,this),be(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){He(document,"touchend",ot),He(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),He(document,"touchend touchcancel contextmenu",this._cancel,this),He(document,"touchmove",this._onMove,this)},_onMove:function(t){var s=t.touches[0];this._newPos=new $(s.clientX,s.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,s){var u=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:s.screenX,screenY:s.screenY,clientX:s.
16clientX,clientY:s.clientY});u._simulated=!0,s.target.dispatchEvent(u)}});ze.addInitHook("addHandler","tapHold",Kr),ze.mergeOptions({touchZoom:me.touch,bounceAtZoomLimits:!0});var rr=$t.extend({addHooks:function(){Ce(this._map._container,"leaflet-touch-zoom"),be(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Ke(this._map._container,"leaflet-touch-zoom"),He(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var s=this._map;if(!(!t.touches||t.touches.length!==2||s._animatingZoom||this._zooming)){var u=s.mouseEventToContainerPoint(t.touches[0]),p=s.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=s.getSize()._divideBy(2),this._startLatLng=s.containerPointToLatLng(this._centerPoint),s.options.touchZoom!=="center"&&(this._pinchStartLatLng=s.containerPointToLatLng(u.add(p)._divideBy(2))),this._startDist=u.distanceTo(p),this._startZoom=s.getZoom(),this._moved=!1,this._zooming=!0,s._stop(),be(document,"touchmove",this._onTouchMove,this),be(document,"touchend touchcancel",this._onTouchEnd,this),ot(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var s=this._map,u=s.mouseEventToContainerPoint(t.touches[0]),p=s.mouseEventToContainerPoint(t.touches[1]),_=u.distanceTo(p)/this._startDist;if(this._zoom=s.getScaleZoom(_,this._startZoom),!s.options.bounceAtZoomLimits&&(this._zoom<s.getMinZoom()&&_<1||this._zoom>s.getMaxZoom()&&_>1)&&(this._zoom=s._limitZoom(this._zoom)),s.options.touchZoom==="center"){if(this._center=this._startLatLng,_===1)return}else{var S=u._add(p)._divideBy(2)._subtract(this._centerPoint);if(_===1&&S.x===0&&S.y===0)return;this._center=s.unproject(s.project(this._pinchStartLatLng,this._zoom).subtract(S),this._zoom)}this._moved||(s._moveStart(!0,!1),this._moved=!0),ye(this._animRequest);var A=h(s._move,s,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=Me(A,this,!0),ot(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ye(this._animRequest),He(document,"touchmove",this._onTouchMove,this),He(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});ze.addInitHook("addHandler","touchZoom",rr),ze.BoxZoom=ir,ze.DoubleClickZoom=zl,ze.Drag=sa,ze.Keyboard=aa,ze.ScrollWheelZoom=Ze,ze.TapHold=Kr,ze.TouchZoom=rr,o.Bounds=j,o.Browser=me,o.CRS=De,o.Canvas=ra,o.Circle=Fo,o.CircleMarker=Bo,o.Class=de,o.Control=Ft,o.DivIcon=Go,o.DivOverlay=xn,o.DomEvent=Oo,o.DomUtil=Br,o.Draggable=sn,o.Evented=_e,o.FeatureGroup=On,o.GeoJSON=_n,o.GridLayer=Xn,o.Handler=$t,o.Icon=gi,o.ImageOverlay=Yn,o.LatLng=pe,o.LatLngBounds=ve,o.Layer=an,o.LayerGroup=Kn,o.LineUtil=Sl,o.Map=ze,o.Marker=jn,o.Mixin=Ws,o.Path=qn,o.Point=$,o.PolyUtil=cc,o.Polygon=In,o.Polyline=Vt,o.Popup=$o,o.PosAnimation=jo,o.Projection=mc,o.Rectangle=Il,o.Renderer=wn,o.SVG=vi,o.SVGOverlay=ta,o.TileLayer=Qn,o.Tooltip=er,o.Transformation=ji,o.Util=it,o.VideoOverlay=ea,o.bind=h,o.bounds=G,o.canvas=oa,o.circle=Zr,o.circleMarker=Ll,o.control=Gn,o.divIcon=Rl,o.extend=c,o.featureGroup=El,o.geoJSON=Al,o.geoJson=ln,o.gridLayer=tr,o.icon=kl,o.imageOverlay=Ml,o.latLng=se,o.latLngBounds=he,o.layerGroup=Hr,o.map=$n,o.marker=yc,o.point=K,o.polygon=xc,o.polyline=_c,o.popup=Ji,o.rectangle=wc,o.setOptions=N,o.stamp=v,o.svg=Ko,o.svgOverlay=na,o.tileLayer=ia,o.tooltip=$r,o.transformation=Ii,o.version=l,o.videoOverlay=Nl;var Dl=window.L;o.noConflict=function(){return window.L=Dl,this},window.L=o}))})(Oa,Oa.exports)),Oa.exports}var tl=hC();const h_=Er(tl);function xh(i,r,o){return Object.freeze({instance:i,context:r,container:o})}function wh(i,r){return r==null?function(l,c){const f=E.useRef();return f.current||(f.current=i(l,c)),f}:function(l,c){const f=E.useRef();f.current||(f.current=i(l,c));const h=E.useRef(l),{instance:g}=f.current;return E.useEffect(function(){h.current!==l&&(r(g,l,h.current),h.current=l)},[g,l,c]),f}}function pC(i,r){E.useEffect(function(){return(r.layerContainer??r.map).addLayer(i.instance),function(){r.layerContainer?.removeLayer(i.instance),r.map.removeLayer(i.instance)}},[r,i])}function p_(i){return function(o){const l=d_(),c=i(_h(o,l),l);return l_(l.map,o.attribution),f_(c.current,o.eventHandlers),pC(c.current,l),c}}function mC(i,r){const o=wh(i,r),l=p_(o);return lC(l)}function gC(i,r){const o=wh(i),l=dC(o,r);return uC(l)}function vC(i,r){const o=wh(i,r),l=p_(o);return cC(l)}function yC(i,r,o){const{opacity:l,zIndex:c}=r;l!=null&&l!==o.opacity&&i.setOpacity(l),c!=null&&c!==o.zIndex&&i.setZIndex(c)}function Lf(){return Lf=Object.assign||function(i){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},Lf.apply(this,arguments)}function _C({bounds:i,boundsOptions:r,center:o,children:l,className:c,id:f,placeholder:h,style:g,whenReady:v,zoom:x,...w},P){const[C]=E.useState({className:c,id:f,style:g}),[R,z]=E.useState(null);E.useImperativeHandle(P,()=>R?.map??null,[R]);const N=E.useCallback(D=>{if(D!==null&&R===null){const V=new tl.Map(D,w);
16o!=null&&x!=null?V.setView(o,x):i!=null&&V.fitBounds(i,r),v!=null&&V.whenReady(v),z(sC(V))}},[]);E.useEffect(()=>()=>{R?.map.remove()},[R]);const M=R?lt.createElement(c_,{value:R},l):h??null;return lt.createElement("div",Lf({},C,{ref:N}),M)}const xC=E.forwardRef(_C),wC=mC(function({position:r,...o},l){const c=new tl.Marker(r,o);return xh(c,aC(l,{overlayContainer:c}))},function(r,o,l){o.position!==l.position&&r.setLatLng(o.position),o.icon!=null&&o.icon!==l.icon&&r.setIcon(o.icon),o.zIndexOffset!=null&&o.zIndexOffset!==l.zIndexOffset&&r.setZIndexOffset(o.zIndexOffset),o.opacity!=null&&o.opacity!==l.opacity&&r.setOpacity(o.opacity),r.dragging!=null&&o.draggable!==l.draggable&&(o.draggable===!0?r.dragging.enable():r.dragging.disable())}),TC=gC(function(r,o){const l=new tl.Popup(r,o.overlayContainer);return xh(l,o)},function(r,o,{position:l},c){E.useEffect(function(){const{instance:h}=r;function g(x){x.popup===h&&(h.update(),c(!0))}function v(x){x.popup===h&&c(!1)}return o.map.on({popupopen:g,popupclose:v}),o.overlayContainer==null?(l!=null&&h.setLatLng(l),h.openOn(o.map)):o.overlayContainer.bindPopup(h),function(){o.map.off({popupopen:g,popupclose:v}),o.overlayContainer?.unbindPopup(),o.map.removeLayer(h)}},[r,o,c,l])}),PC=vC(function({url:r,...o},l){const c=new tl.TileLayer(r,_h(o,l));return xh(c,l)},function(r,o,l){yC(r,o,l);const{url:c}=o;c!=null&&c!==l.url&&r.setUrl(c)}),bC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",SC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxIm
16NQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC";let CC=h_.icon({iconUrl:bC,shadowUrl:SC,iconSize:[25,41],iconAnchor:[12,41]});h_.Marker.prototype.options.icon=CC;const EC=()=>{const i=[{name:"Parnaíba - PI",coords:[-2.9095,-41.777]},{name:"Cajueiro da Praia - PI",coords:[-2.9272,-41.3347]},{name:"Araioses - MA",coords:[-2.8911,-41.9022]},{name:"Água Doce do Maranhão - MA",coords:[-2.8398,-42.1122]},{name:"Santana do Maranhão - MA",coords:[-3.11805,-42.412508]}],r=[-2.85,-41.8];return T.jsx("section",{id:"about",className:"py-24 bg-brand-light",children:T.jsxs("div",{className:"container mx-auto px-6",children:[T.jsxs("div",{className:"grid md:grid-cols-2 gap-16 items-center mb-20",children:[T.jsxs(ht.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[T.jsxs("h2",{className:"text-4xl font-bold text-brand-dark mb-6",children:["Mais que um provedor, ",T.jsx("br",{}),T.jsx("span",{className:"text-brand-blue",children:"seu parceiro de conexão"})]}),T.jsx("p",{className:"text-lg text-slate-600 mb-6 leading-relaxed",children:"A DELTA CONNECT se consolidou como referência em internet banda larga. Nossa missão é conectar pessoas e empresas com o que há de mais moderno em tecnologia."}),T.jsx("p",{className:"text-lg text-slate-600 mb-8 leading-relaxed",children:"Utilizamos infraestrutura 100% fibra óptica de ponta a ponta, garantindo ultravelocidade e estabilidade para que você navegue sem interrupções."}),T.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[T.jsxs("div",{className:"flex flex-col gap-2 p-5 bg-white rounded-xl shadow-sm border border-blue-100 hover:border-brand-blue/30 transition-colors",children:[T.jsx(Yy,{className:"text-brand-blue mb-2",size:32}),T.jsx("span",{className:"font-bold text-brand-dark",children:"Excelência"}),T.jsx("span",{className:"text-sm text-slate-500",children:"Qualidade reconhecida"})]}),T.jsxs("div",{className:"flex flex-col gap-2 p-5 bg-white rounded-xl shadow-sm border border-blue-100 hover:border-brand-blue/30 transition-colors",children:[T.jsx(Qy,{className:"text-brand-blue mb-2",size:32}),T.jsx("span",{className:"font-bold text-brand-dark",children:"Tecnologia"}),T.jsx("span",{className:"text-sm text-slate-500",children:"100% Fibra Óptica"})]})]})]}),T.jsxs(ht.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6},className:"relative",children:[T.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[T.jsx("img",{className:"rounded-2xl shadow-lg w-full h-64 object-cover",alt:"Técnico instalando fibra óptica em servidor",src:"/assets/img/whatsapp-image-2025-12-18-at-10.26.41-3MjDn.jpeg"}),T.jsx("img",{className:"rounded-2xl shadow-lg w-full h-64 object-cover mt-8",alt:"Data center moderno com luzes azuis",src:"/assets/img/result-c6OnD.jpeg"})]}),T.jsx("div",{className:"absolute -z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-[120%] h-[120%] bg-blue-100/50 rounded-full blur-3xl"})]})]}),T.jsxs("div",{className:"bg-white rounded-3xl p-6 md:p-8 shadow-xl border border-gray-100",children:[T.jsxs("div",{className:"text-center mb-8",children:[T.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4 text-brand-dark",children:"Onde Estamos Presentes"}),T.jsx("p",{className:"text-slate-600 max-w-2xl mx-auto",children:"Confira nossa área de cobertura no Piauí e Maranhão."})]}),T.jsx("div",{className:"h-[400px] w-full rounded-2xl overflow-hidden z-0 shadow-inner relative border-4 border-white",children:T.jsxs(xC,{center:r,zoom:9,scrollWheelZoom:!1,style:{height:"100%",width:"100%"},children:[T.jsx(PC,{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),i.map((l,c)=>T.jsx(wC,{position:l.coords,children:T.jsx(TC,{children:T.jsx("div",{className:"font-semibold text-brand-blue",children:l.name})})},c))]})}),T.jsx("div",{className:"flex flex-wrap justify-center gap-3 mt-8",children:i.map((l,c)=>T.jsxs("div",{className:"flex items-center gap-2 text-sm text-slate-600 bg-slate-50 px-3 py-1.5 rounded-full border border-slate-200",children:[T.jsx(vh,{size:14,className:"text-brand-blue"}),l.name]},c))})]})]})})},kC=()=>{const i=[{category:"Melhor Provedor",city:"Parnaíba",image:"/assets/img/melhor_provedor_municipal_2026_d68c7f659c.svg",link:"https://melhorplano.net/internet-banda-larga/pi/parnaiba#premio"},{category:"Melhor Internet Gamer",city:"Parnaíba · Araioses · Água Doce",image:"/assets/img/melhor_internet_gamer_municipal_2026_8e65f60e89.svg",link:"https://melhorplano.net/internet-banda-larga/pi/parnaiba#premio"},{category:"Melhor Velocidade",city:"Parnaíba · Araioses · Água Doce",image:"/assets/img/melhor_velocidade_municipal_2026_12b799de1c.svg",link:"https://melhorplano.net/internet-banda-larga/pi/parnaiba#premio"},{category:"Maior Estabilidade",city:"Araioses · Água Doce",image:"/assets/img/maior_estabilidade_municipal_2026_b89acdd427.svg",link:"https://melhorplano.net/internet-banda-larga/ma/araioses#premio"},{category:"Maior Satisfação",city:"Parnaíba",image:"/assets/img/maior_satisfacao_municipal_2026_a111886dde.svg",link:"https://melhorplano.net/internet-banda-larga/pi/parnaiba#premio"}];return T.jsxs("section",{id:"awards",className:"py-20 relative overflow-hidden bg-gradient-to-br from-blue-50 via-white to-purple-50",children:[T.jsxs("div",{className:"absolute top-0 left-0 w-full h-full pointer-events-none overflow-hidden",children:[T.jsx("div",{className:"absolute top-[-10%] right-[-5%] w-96 h-96 bg-blue-200/40 rounded-full mix-blend-multiply filter blur-3xl"}),T.jsx("div",{className:"absolute bottom-[-10%] left-[-5%] w-96 h-96 bg-purple-200/40 rounded-full mix-blend-multiply filter blur-3xl"}),T.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"radial-gradient(circle at 2px 2px, currentColor 1px, transparent 0)",backgroundSize:"32px 32px"}})]}),T.jsxs("div",{className:"container mx-auto px-6 text-center relative z-10",children:[T.jsxs("div",{className:"flex flex-col items-center justify-center mb-16",children:[T.jsx(ht.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5},className:"w-16 h-16 bg-white rounded-full shadow-lg flex items-center justify-center mb-6 border border-blue-100",children:T.jsx(nS,{className:"w-8 h-8 text-brand-blue"})}),T.jsxs(ht.div,{initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"flex items-center gap-2 mb-4",children:[T.jsx(ka,{className:"w-5 h-5 text-yellow-400 fill-yellow-400"}),T.jsx(ka,{className:"w-5 h-5 text-yellow-400 fill-yellow-400"}),T.jsx(ka,{className:"w-5 h-5 text-yellow-400 fill-yellow-400"}),T.jsx(ka,{className:"w-5 h-5 text-yellow-400 fill-yellow-400"}),T.jsx(ka,{className:"w-5 h-5 text-yellow-400 fill-yellow-400"})]}),T.jsx(ht.h2,{initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight mb-6 text-transparent bg-clip-text bg-gradient-to-r from-brand-blue via-blue-600 to-purple-600 pb-2",children:"Reconhecimento 2026"}),T.jsx(ht.p,{initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"text-lg md:text-xl text-slate-600 max-w-3xl mx-auto leading-relaxed",children:"O reconhecimento do Melhor Plano 2026 consolida a Delta Connect como líder regional. Fomos premiados pela excelência em velocidade, estabilidade, satisfação e experiência gamer."})]}),T.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 ga
16p-6 md:gap-8 justify-center items-stretch",children:i.map((r,o)=>T.jsxs(ht.a,{href:r.link,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,scale:.8,y:30},whileInView:{opacity:1,scale:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:o*.05,type:"spring",stiffness:100},className:"award-card hover-glow group flex flex-col items-center justify-between p-6 relative overflow-hidden",children:[T.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-brand-blue to-purple-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),T.jsx("div",{className:"mb-6 w-[150px] h-[150px] md:w-[180px] md:h-[180px] flex items-center justify-center mx-auto",children:T.jsx("img",{src:r.image,alt:`Selo Prêmio ${r.category} 2026 em ${r.city}`,className:"max-h-full max-w-full object-contain group-hover:drop-shadow-xl transition-all duration-300 interactive-element"})}),T.jsxs("div",{className:"w-full text-center mt-auto",children:[T.jsxs("div",{className:"inline-flex items-center justify-center gap-1.5 text-slate-500 font-medium text-xs md:text-sm bg-slate-50 group-hover:bg-blue-50 px-3 py-1.5 rounded-full w-full transition-colors duration-300",children:[T.jsx(vh,{className:"w-3.5 h-3.5 text-brand-blue"}),T.jsx("span",{className:"leading-snug",children:r.city})]})]})]},o))})]})]})},LC=()=>T.jsxs("section",{className:"py-20 bg-brand-blue text-white relative overflow-hidden",children:[T.jsxs("div",{className:"absolute top-0 left-0 w-full h-full opacity-10 pointer-events-none",children:[T.jsx("div",{className:"absolute top-[-10%] right-[-5%] w-64 h-64 rounded-full bg-white blur-3xl"}),T.jsx("div",{className:"absolute bottom-[-10%] left-[-5%] w-80 h-80 rounded-full bg-white blur-3xl"})]}),T.jsx("div",{className:"container mx-auto px-6 relative z-10 text-center",children:T.jsxs(ht.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[T.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Atendimento Online"}),T.jsx("p",{className:"text-xl md:text-2xl font-light mb-8 max-w-2xl mx-auto",children:"Precisa de suporte rápido? Fale conosco pelo WhatsApp."}),T.jsxs("div",{className:"flex justify-center items-center",children:[" ",T.jsx(mn,{asChild:!0,className:"bg-green-500 hover:bg-green-600 text-white font-semibold py-6 px-8 rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-1 w-full sm:w-auto text-lg",children:T.jsxs("a",{href:"https://wa.me/55868000860100",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2",children:[T.jsx(Gy,{className:"w-6 h-6"}),"WhatsApp"]})})]}),T.jsx("p",{className:"mt-6 text-white/80 text-sm",children:"Atendimento via WhatsApp: 0800 086 0100"})]})})]}),AC=()=>T.jsx("section",{id:"contact",className:"py-24 bg-gradient-to-b from-brand-light to-white",children:T.jsx("div",{className:"container mx-auto px-6",children:T.jsxs("div",{className:"max-w-4xl mx-auto bg-brand-dark rounded-3xl overflow-hidden shadow-2xl flex flex-col md:flex-row",children:[T.jsxs("div",{className:"md:w-1/2 p-10 md:p-14 text-white flex flex-col justify-center relative overflow-hidden",children:[T.jsx("div",{className:"absolute top-0 left-0 w-full h-full bg-brand-blue/5 pointer-events-none"}),T.jsx("h2",{className:"text-3xl font-bold mb-6 relative z-10",children:"Fale Conosco"}),T.jsx("p",{className:"text-gray-300 mb-10 leading-relaxed relative z-10",children:"Tem alguma dúvida ou quer contratar? Nossa equipe de atendimento está pronta para ajudar você."}),T.jsxs("div",{className:"space-y-6 relative z-10",children:[T.jsxs("div",{className:"flex items-center gap-4 group",children:[T.jsx("div",{className:"w-12 h-12 rounded-full bg-white/10 flex items-center justify-center group-hover:bg-brand-blue transition-colors",children:T.jsx(Ky,{size:24})}),T.jsxs("div",{children:[T.jsx("div",{className:"text-sm text-gray-400",children:"Ligue Grátis"}),T.jsx("div",{className:"text-xl font-bold",children:"0800 086 0100"})]})]}),T.jsxs("div",{className:"flex items-center gap-4 group",children:[T.jsx("div",{className:"w-12 h-12 rounded-full bg-white/10 flex items-center justify-center group-hover:bg-brand-blue transition-colors",children:T.jsx(fS,{size:24})}),T.jsxs("div",{children:[T.jsx("div",{className:"text-sm text-gray-400",children:"Email"}),T.jsx("div",{className:"text-xl font-bold",children:"[email protected]"})]})]})]})]}),T.jsxs("div",{className:"md:w-1/2 bg-brand-blue p-10 md:p-14 flex flex-col justify-center text-white text-center relative overflow-hidden",children:[T.jsx("div",{className:"absolute top-0 right-0 w-full h-full bg-gradient-to-br from-white/10 to-transparent pointer-events-none"}),T.jsx(pS,{size:48,className:"mx-auto mb-6 opacity-80"}),T.jsx("h3",{className:"text-2xl font-bold mb-4 relative z-10",children:"Atendimento"}),T.jsx("p",{className:"mb-8 text-white/90 relative z-10",children:"Precisa de suporte? Acesse nossa área do cliente ou fale pelo whatsapp."}),T.jsx(mn,{variant:"secondary",className:"bg-white text-brand-blue hover:bg-blue-50 font-bold py-6 text-lg w-full rounded-xl shadow-lg relative z-10 transition-colors",onClick:()=>window.open("https://api.deltaconnect.com.br/","_blank"),children:"Acessar Área do Cliente"})]})]})})}),MC=()=>{const i=new Date().getFullYear(),r=[{icon:aS,href:"https://www.facebook.com/DeltaConnect",label:"Facebook"},{icon:cS,href:"https://www.instagram.com/deltaconnect",label:"Instagram"}];return T.jsx("footer",{className:"bg-[#2a2a2a] text-white pt-16 pb-8 border-t border-white/5",children:T.jsxs("div",{className:"container mx-auto px-6",children:[T.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-12 mb-12",children:[T.jsxs("div",{className:"col-span-1 lg:col-span-2",children:[T.jsx("div",{className:"mb-6",children:T.jsx("img",{src:"/assets/img/da0fb8044f70de9ced458d51c8c19a2a.png",alt:"DELTA CONNECT",className:"h-10 w-auto brightness-0 invert"})}),T.jsx("p",{className:"text-gray-400 text-sm leading-relaxed mb-6 max-w-sm",children:"Conectando o Piauí e Maranhão ao mundo com ultravelocidade e estabilidade. Somos especialistas em fibra óptica."}),T.jsx("div",{className:"flex gap-4",children:r.map((o,l)=>T.jsx("a",{href:o.href,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded-full bg-white/5 flex items-center justify-center hover:bg-brand-blue hover:text-white text-gray-400 transition-all duration-300","aria-label":o.label,children:T.jsx(o.icon,{size:18})},l))})]}),T.jsxs("div",{children:[T.jsx("h4",{className:"font-bold text-lg mb-6 text-white",children:"Navegação"}),T.jsxs("ul",{className:"space-y-3 text-sm text-gray-400",children:[T.jsx("li",{children:T.jsx("a",{href:"/#hero",className:"hover:text-brand-blue transition-colors",children:"Início"})}),T.jsx("li",{children:T.jsx("a",{href:"/#about",className:"hover:text-brand-blue transition-colors",children:"Sobre Nós"})}),T.jsx("li",{children:T.jsx("a",{href:"/#plans",className:"hover:text-brand-blue transition-colors",children:"Planos Internet"})}),T.jsx("li",{children:T.jsx("a",{href:"https://api.deltaconnect.com.br/",target:"_blank",rel:"noopener noreferrer",className:"hover:text-brand-blue transition-colors",children:"Área do Cliente"})})]})]}),T.jsxs("div",{children:[T.jsx("h4",{className:"font-bold text-lg mb-6 text-white",children:"Contato"}),T.jsxs("div",{className:"space-y-4 text-sm text-gray-400",children:[T.jsxs("p",{children:[T.jsx("span",{className:"block text-gray-500 text-xs uppercase tracking-wider mb-1",children:"Central de Atendimento"}),"0800 086 0100"]}),T.jsxs("p",{children:[T.jsx("span",{className:"block text-gray-500 text-xs uppercase tracking-wider mb-1",children:"Email"}),"[email protected]"]})]})]})]}),T.jsxs("div",{className:"border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center text-sm text-gray-500",children:[T.jsxs("p",{children:["© ",i," DELTA CONNECT. Todos os direitos reservados."]}),T.jsxs("div",{className:"flex gap-6 mt-4 md:mt-0",children:[T.jsx(Iu,{to:"/privacy-policy",className:"hover:text-white transition-colors",children:"Política de Privacidade"}),T.jsx(Iu,{to:"/terms",className:"hover:text-white transition-colors",children:"Termos e Contratos"})]})]})]})})},NC=()=>T.jsx(ht.a,{href:"https://wa.me/55868000860100?text=Ol%C3%A1%2C%20gostaria%20de%20saber%20mais%20sobre%20os%20planos%20da%20Delta%20Connect.",target:"_blank",rel:"noopener noreferrer",className:"fixed bottom-6 right-6 z-50 p-4 rounded-full bg-green-500 text-white shadow-lg cursor-pointer flex items-center justify-center transition-all duration-300 ease-in-out hover:bg-green-600 focus:outline-none focus:ring-4 focus:ring-green-300",initial:{opacity:0,scale:0}
16,animate:{opacity:1,scale:1},transition:{type:"spring",stiffness:260,damping:20,delay:1},whileHover:{scale:1.1,rotate:5},whileTap:{scale:.9},"aria-label":"Atendimento via WhatsApp",children:T.jsx(Gy,{size:32})}),RC=()=>{const[i,r]=E.useState(!1);E.useEffect(()=>{if(!localStorage.getItem("cookieConsent")){const c=setTimeout(()=>r(!0),1e3);return()=>clearTimeout(c)}},[]);const o=()=>{localStorage.setItem("cookieConsent","true"),r(!1)};return T.jsx(Xb,{children:i&&T.jsx(ht.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{duration:.5},className:"fixed bottom-0 left-0 right-0 z-[60] p-4 md:p-6 bg-[#1a1a1a]/95 backdrop-blur-md text-white shadow-2xl border-t border-white/10",children:T.jsxs("div",{className:"container mx-auto flex flex-col md:flex-row items-center justify-between gap-4 md:gap-8",children:[T.jsxs("div",{className:"flex-1 text-center md:text-left",children:[T.jsxs("div",{className:"flex items-center justify-center md:justify-start gap-2 mb-2",children:[T.jsx(vS,{className:"w-5 h-5 text-blue-500"}),T.jsx("h3",{className:"text-lg font-bold text-white",children:"Proteção e privacidade"})]}),T.jsxs("p",{className:"text-sm text-gray-300 leading-relaxed max-w-4xl",children:["Usamos cookies e tecnologias para melhorar sua navegação e personalizar conteúdos. Ao continuar, você concorda com nossa ",T.jsx(Iu,{to:"/privacy-policy",className:"text-blue-400 hover:text-blue-300 underline transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:ring-offset-[#1a1a1a] whitespace-nowrap",children:"Política de Privacidade"})," e com o uso dos seus dados conforme a LGPD."]})]}),T.jsx("div",{className:"flex-shrink-0",children:T.jsx(mn,{onClick:o,className:"bg-blue-600 hover:bg-blue-700 text-white font-bold px-8 py-6 rounded-xl transition-all shadow-lg shadow-blue-900/20 whitespace-nowrap min-w-[140px]",children:"CONTINUAR"})})]})})})},OC=()=>{E.useEffect(()=>{window.scrollTo(0,0)},[]);const i=[{title:"Informações Coletadas",icon:iS,content:"Coletamos informações pessoais que você nos fornece voluntariamente ao se cadastrar em nossos serviços, como nome, endereço, e-mail e número de telefone. Também podemos coletar dados técnicos automaticamente quando você utiliza nossa rede ou visita nosso site, incluindo endereço IP, tipo de dispositivo e dados de navegação, para garantir a qualidade da conexão e o suporte técnico."},{title:"Uso das Informações",icon:$y,content:"As informações coletadas são utilizadas para prover e melhorar nossos serviços de internet, processar pagamentos, realizar atendimento ao cliente e enviar comunicações importantes sobre sua conta. Podemos também utilizar os dados para análises internas visando aprimorar nossa infraestrutura e oferecer planos mais adequados às suas necessidades de consumo."},{title:"Segurança",icon:dS,content:"Estamos comprometidos em proteger a segurança dos seus dados. Implementamos medidas técnicas e organizacionais adequadas, como criptografia, firewalls e controles de acesso rigorosos, para proteger suas informações contra acesso não autorizado, alteração, divulgação ou destruição. Nossa equipe é treinada para manter a confidencialidade e integridade dos seus dados."},{title:"Uso de Cookies",icon:sS,content:"Utilizamos cookies e tecnologias semelhantes para melhorar sua experiência de navegação, personalizar conteúdo e anúncios, e analisar nosso tráfego. Os cookies nos ajudam a lembrar suas preferências e entender como você interage com nosso site. Você pode gerenciar suas preferências de cookies através das configurações do seu navegador a qualquer momento."},{title:"Controle de Informações Pessoais",icon:qy,content:"Você tem o direito de restringir a coleta ou o uso de suas informações pessoais. Se você concordou previamente com o uso de seus dados para fins de marketing, pode mudar de ideia a qualquer momento entrando em contato conosco. Não venderemos, distribuiremos ou alugaremos suas informações pessoais a terceiros sem sua permissão, exceto quando exigido por lei."}
16,{title:"Links para Outros Sites",icon:lS,content:"Nosso site pode conter links para outros sites de interesse. No entanto, depois de usar esses links para sair do nosso site, você deve observar que não temos controle sobre esse outro site. Portanto, não podemos ser responsáveis pela proteção e privacidade de qualquer informação que você fornecer enquanto visita tais sites e eles não são regidos por esta declaração de privacidade."},{title:"Alterações na Política",icon:mS,content:"A Delta Connect reserva-se o direito de atualizar esta política de privacidade a qualquer momento para refletir mudanças em nossos serviços ou na legislação aplicável. Recomendamos que você verifique esta página periodicamente para garantir que está satisfeito com as mudanças. O uso contínuo de nossos serviços após as alterações constitui aceitação da nova política."}];return T.jsx("div",{className:"bg-white min-h-screen pt-24 pb-16",children:T.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-4xl",children:[T.jsxs(ht.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-16",children:[T.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-slate-900 mb-6",children:"Política de Privacidade"}),T.jsx("div",{className:"w-24 h-1.5 bg-blue-600 mx-auto rounded-full mb-6"}),T.jsx("p",{className:"text-lg text-slate-600 max-w-2xl mx-auto",children:"A sua privacidade é nossa prioridade. Conheça como a Delta Connect coleta, utiliza e protege suas informações."})]}),T.jsx("div",{className:"space-y-12",children:i.map((r,o)=>T.jsxs(ht.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.1,duration:.5},className:"bg-slate-50 p-8 rounded-2xl border border-slate-100 hover:shadow-lg transition-shadow duration-300",children:[T.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[T.jsx("div",{className:"p-3 bg-blue-100 text-blue-600 rounded-lg",children:T.jsx(r.icon,{size:24})}),T.jsx("h2",{className:"text-2xl font-bold text-slate-800",children:r.title})]}),T.jsx("p",{className:"text-slate-600 leading-relaxed text-justify",children:r.content})]},o))}),T.jsxs(ht.div,{initial:{opacity:0}
16,whileInView:{opacity:1},viewport:{once:!0},className:"mt-16 pt-8 border-t border-slate-200 text-center",children:[T.jsx("h3",{className:"text-xl font-bold text-slate-800 mb-4",children:"Ficou com dúvidas?"}),T.jsx("p",{className:"text-slate-600 mb-2",children:"Entre em contato com nossa equipe de Privacidade de Dados:"}),T.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600 font-medium hover:underline text-lg",children:"[email protected]"}),T.jsx("p",{className:"text-sm text-slate-400 mt-8",children:"Data de vigência: 17 de Dezembro de 2025"})]})]})})},jC=()=>{E.useEffect(()=>{window.scrollTo(0,0)},[]);const i="https://assinedeltaconnect.com.br/contrato.pdf",r=`https://docs.google.com/gview?url=${i}&embedded=true`;return T.jsx("div",{className:"bg-white min-h-screen pt-24 pb-16",children:T.jsxs("div",{className:"container mx-auto px-4 md:px-6 max-w-4xl",children:[T.jsxs(ht.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-10",children:[T.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-slate-900 mb-6",children:"Termos e Contratos"}),T.jsx("div",{className:"w-24 h-1.5 bg-blue-600 mx-auto rounded-full mb-6"}),T.jsx("p",{className:"text-lg text-slate-600 max-w-2xl mx-auto",children:"Transparência total. Acesse abaixo o nosso contrato de prestação de serviços completo."}),T.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row justify-center gap-4",children:[T.jsx(mn,{asChild:!0,className:"bg-blue-600 hover:bg-blue-700 text-white gap-2",size:"lg",children:T.jsxs("a",{href:i,target:"_blank",rel:"noopener noreferrer",download:!0,children:[T.jsx(rS,{size:20})," Baixar PDF"]})}),T.jsx(mn,{asChild:!0,variant:"outline",className:"gap-2",size:"lg",children:T.jsxs("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:[T.jsx(oS,{size:20})," Abrir em Nova Aba"]})})]})]}),T.jsxs(ht.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{delay:.2,duration:.5},className:"mb-12",children:[T.jsxs("div",{className:"w-full h-[600px] md:h-[900px] bg-slate-100 rounded-xl border border-slate-200 overflow-hidden shadow-lg relative",children:[T.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-slate-400 z-0",children:T.jsx("p",{children:"Carregando visualização do documento..."})}),T.jsx("iframe",{src:r,className:"w-full h-full relative z-10",title:"Visualização do Contrato",frameBorder:"0",children:T.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-6 text-center bg-white",children:[T.jsx($y,{size:48,className:"text-slate-300 mb-4"}),T.jsx("p",{className:"text-slate-600 mb-4 font-medium",children:"Seu navegador não suporta a visualização direta deste PDF."}),T.jsx(mn,{asChild:!0,children:T.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:"Baixar Contrato"})})]})})]}),T.jsx("p",{className:"text-center text-xs text-slate-400 mt-3",children:"* Utilizamos um visualizador externo para melhor compatibilidade. Se não carregar, use os botões de download acima."})]}),T.jsxs(ht.div,{initial:{opacity:0}
vendor: 4,659 bytes, line 16
16,whileInView:{opacity:1},viewport:{once:!0},className:"bg-blue-50 border border-blue-100 rounded-xl p-6 text-center",children:[T.jsx("h3",{className:"text-lg font-bold text-blue-900 mb-2",children:"Ainda tem dúvidas sobre o contrato?"}),T.jsx("p",{className:"text-blue-700 mb-4",children:"Nossa equipe jurídica e de atendimento está à disposição para esclarecer qualquer ponto."}),T.jsx("a",{href:"/#contact",className:"text-blue-600 font-bold hover:underline",children:"Falar com um consultor"})]})]})})};function hn(i,r,{checkForDefaultPrevented:o=!0}={}){return function(c){if(i?.(c),o===!1||!c.defaultPrevented)return r?.(c)}}function m_(i,r=[]){let o=[];function l(f,h){const g=E.createContext(h),v=o.length;o=[...o,h];const x=P=>{const{scope:C,children:R,...z}=P,N=C?.[i]?.[v]||g,M=E.useMemo(()=>z,Object.values(z));return T.jsx(N.Provider,{value:M,children:R})};x.displayName=f+"Provider";function w(P,C){const R=C?.[i]?.[v]||g,z=E.useContext(R);if(z)return z;if(h!==void 0)return h;throw new Error(`\`${P}\` must be used within \`${f}\``)}return[x,w]}const c=()=>{const f=o.map(h=>E.createContext(h));return function(g){const v=g?.[i]||f;return E.useMemo(()=>({[`__scope${i}`]:{...g,[i]:v}}),[g,v])}};return c.scopeName=i,[l,IC(c,...r)]}function IC(...i){const r=i[0];if(i.length===1)return r;const o=()=>{const l=i.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(f){const h=l.reduce((g,{useScope:v,scopeName:x})=>{const P=v(f)[`__scope${x}`];return{...g,...P}},{});return E.useMemo(()=>({[`__scope${r.scopeName}`]:h}),[h])}};return o.scopeName=r.scopeName,o}function zC(i){const r=i+"CollectionProvider",[o,l]=m_(r),[c,f]=o(r,{collectionRef:{current:null},itemMap:new Map}),h=R=>{const{scope:z,children:N}=R,M=lt.useRef(null),D=lt.useRef(new Map).current;return T.jsx(c,{scope:z,itemMap:D,collectionRef:M,children:N})};h.displayName=r;const g=i+"CollectionSlot",v=lt.forwardRef((R,z)=>{const{scope:N,children:M}=R,D=f(g,N),V=ho(z,D.collectionRef);return T.jsx(Ga,{ref:V,children:M})});v.displayName=g;const x=i+"CollectionItemSlot",w="data-radix-collection-item",P=lt.forwardRef((R,z)=>{const{scope:N,children:M,...D}=R,V=lt.useRef(null),W=ho(z,V),Y=f(x,N);return lt.useEffect(()=>(Y.itemMap.set(V,{ref:V,...D}),()=>{Y.itemMap.delete(V)})),T.jsx(Ga,{[w]:"",ref:W,children:M})});P.displayName=x;function C(R){const z=f(i+"CollectionConsumer",R);return lt.useCallback(()=>{const M=z.collectionRef.current;if(!M)return[];const D=Array.from(M.querySelectorAll(`[${w}]`));return Array.from(z.itemMap.values()).sort((Y,J)=>D.indexOf(Y.ref.current)-D.indexOf(J.ref.current))},[z.collectionRef,z.itemMap])}return[{Provider:h,Slot:v,ItemSlot:P},C,l]}var DC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],oi=DC.reduce((i,r)=>{const o=E.forwardRef((l,c)=>{const{asChild:f,...h}=l,g=f?Ga:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),T.jsx(g,{...h,ref:c})});return o.displayName=`Primitive.${r}`,{...i,[r]:o}},{});function g_(i,r){i&&Gu.flushSync(()=>i.dispatchEvent(r))}function Oi(i){const r=E.useRef(i);return E.useEffect(()=>{r.current=i}),E.useMemo(()=>(...o)=>r.current?.(...o),[])}function BC(i,r=globalThis?.document){const o=Oi(i);E.useEffect(()=>{const l=c=>{c.key==="Escape"&&o(c)};return r.addEventListener("keydown",l,{capture:!0}),()=>r.removeEventListener("keydown",l,{capture:!0})},[o,r])}var FC="DismissableLayer",Af="dismissableLayer.update",VC="dismissableLayer.pointerDownOutside",UC="dismissableLayer.focusOutside",Xg,v_=E.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y_=E.forwardRef((i,r)=>{const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:h,onDismiss:g,...v}=i,x=E.useContext(v_),[w,P]=E.useState(null),C=w?.ownerDocument??globalThis?.document,[,R]=E.useState({}),z=ho(r,ue=>P(ue)),N=Array.from(x.layers),[M]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),D=N.indexOf(M),V=w?N.indexOf(w):-1,W=x.layersWithOutsidePointerEventsDisabled.size>0,Y=V>=D,J=ZC(ue=>{const ae=ue.target,Re=[...x.branches].some(Oe=>Oe.contains(ae));!Y||Re||(c?.(ue),h?.(ue),ue.defaultPrevented||g?.())},C),re=WC(ue=>{const ae=ue.target;[...x.branches].some(Oe=>Oe.contains(ae))||(f?.(ue),h?.(ue),ue.defaultPrevented||g?.())},C);return BC(ue=>{V===x.layers.size-1&&(l?.(ue),!ue.defaultPrevented&&g&&(ue.preventDefault(),g()))},C),E.useEffect(()=>{if(w)return o&&(x.layersWithOutsidePointerEventsDisabled.size===0&&(Xg=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(w)),x.layers.add(w),Qg(),(
16)=>{o&&x.layersWithOutsidePointerEventsDisabled.size===1&&(C.body.style.pointerEvents=Xg)}},[w,C,o,x]),E.useEffect(()=>()=>{w&&(x.layers.delete(w),x.layersWithOutsidePointerEventsDisabled.delete(w),Qg())},[w,x]),E.useEffect(()=>{const ue=()=>R({});return document.addEventListener(Af,ue),()=>document.removeEventListener(Af,ue)},[]),T.jsx(oi.div,{...v,ref:z,style:{pointerEvents:W?Y?"auto":"none":void 0,...i.style},onFocusCapture:hn(i.onFocusCapture,re.onFocusCapture),onBlurCapture:hn(i.onBlurCapture,re.onBlurCapture),onPointerDownCapture:hn(i.onPointerDownCapture,J.onPointerDownCapture)})});y_.displayName=FC;var HC="DismissableLayerBranch",__=E.forwardRef((i,r)=>{const o=E.useContext(v_),l=E.useRef(null),c=ho(r,l);return E.useEffect(()=>{const f=l.current;if(f)return o.branches.add(f),()=>{o.branches.delete(f)}},[o.branches]),T.jsx(oi.div,{...i,ref:c})});__.displayName=HC;function ZC(i,r=globalThis?.document){const o=Oi(i),l=E.useRef(!1),c=E.useRef(()=>{});return E.useEffect(()=>{const f=g=>{if(g.target&&!l.current){let v=function(){x_(VC,o,x,{discrete:!0})};const x={originalEvent:g};g.pointerType==="touch"?(r.removeEventListener("click",c.current),c.current=v,r.addEventListener("click",c.current,{once:!0})):v()}else r.removeEventListener("click",c.current);l.current=!1},h=window.setTimeout(()=>{r.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(h),r.removeEventListener("pointerdown",f),r.removeEventListener("click",c.current)}},[r,o]),{onPointerDownCapture:()=>l.current=!0}}function WC(i,r=globalThis?.document){const o=Oi(i),l=E.useRef(!1);return E.useEffect(()=>{const c=f=>{f.target&&!l.current&&x_(UC,o,{originalEvent:f},{discrete:!1})};return r.addEventListener("focusin",c),()=>r.removeEventListener("focusin",c)},[r,o]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}function Qg(){const i=new CustomEvent(Af);document.dispatchEvent(i)}function x_(i,r,o,{discrete:l}){const c=o.originalEvent.target,f=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:o});r&&c.addEventListener(i,r,{once:!0}),l?g_(c,f):c.dispatchEvent(f)}var $C=y_,GC=__,Wu=globalThis?.document?E.useLayoutEffect:()=>{},KC="Portal",w_=E.forwardRef((i,r)=>{const{container:o,...l}=i,[c,f]=E.useState(!1);Wu(()=>f(!0),[]);const h=o||c&&globalThis?.document?.body;return h?B0.createPortal(T.jsx(oi.div,{...l,ref:r}),h):null});w_.displayName=KC;function qC(i,r){return E.useReducer((o,l)=>r[o][l]??o,i)}var T_=i=>{const{present:r,children:o}=i,l=YC(r),c=typeof o=="function"?o({present:l.isPresent}):E.Children.only(o),f=ho(l.ref,XC(c));return typeof o=="function"||l.isPresent?E.cloneElement(c,{ref:f}):null};T_.displayName="Presence";function YC(i){const[r,o]=E.useState(),l=E.useRef({}),c=E.useRef(i),f=E.useRef("none"),h=i?"mounted":"unmounted",[g,v]=qC(h,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const x=Lu(l.current);f.current=g==="mounted"?x:"none"},[g]),Wu(()=>{const x=l.current,w=c.current;if(w!==i){const C=f.current,R=Lu(x);i?v("MOUNT"):R==="none"||x?.display==="none"?v("UNMOUNT"):v(w&&C!==R?"ANIMATION_OUT":"UNMOUNT"),c.current=i}},[i,v]),Wu(()=>{if(r){let x;const w=r.ownerDocument.defaultView??window,P=R=>{const N=Lu(l.current).includes(R.animationName);if(R.target===r&&N&&(v("ANIMATION_END"),!c.current)){const M=r.style.animationFillMode;r.style.animationFillMode="forwards",x=w.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=M)})}},C=R=>{R.target===r&&(f.current=Lu(l.current))};return r.addEventListener("animationstart",C),r.addEventListener("animationcancel",P),r.addEventListener("animationend",P),()=>{w.clearTimeout(x),r.removeEventListener("animationstart",C),r.removeEventListener("animationcancel",P),r.removeEventListener("animationend",P)}}else v("ANIMATION_END")},[r,v]),{isPresent:["mounted","unmountSuspended"].includes(g),ref:E.useCallback(x=>{x&&(l.current=getComputedStyle(x)),o(x)},[])}}function Lu(i){return i?.animationName||"none"}function XC(i){let r=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?i.ref:(r=Object.getOwnPropertyDescriptor(i,"ref")?.get,o=r&&"isReactWarning"in r&&r.isReactWarning,o?i.props.ref:i.props.ref||i.ref)}function QC({prop:i,defaultProp:r,onChange:o=()=>{}}){const[l,c]=JC({defaultProp:r,onChange:o}),f=i!==void 0,h=f?i:l,g=Oi(o),v=E.useCallback(x=>{if(f){const P=typeof x=="function"?x(i):x;P!==i&&g(P)}else c(x)},[f,i,c,g]);return[h,v]}function JC({defaultProp:i,onChange:r}){const o=E.useState(i),[l]=o,c=E.useRef(l),f=Oi(r);return E.useEffect(()=>{c.current!==l&&(f(l),c.current=l)},[l,c,f]),o}var eE="VisuallyHidden",Th=E.forwardRef((i,r)=>
16T.jsx(oi.span,{...i,ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...i.style}}));Th.displayName=eE;var Ph="ToastProvider",[bh,tE,nE]=zC("Toast"),[P_]=m_("Toast",[nE]),[iE,tc]=P_(Ph),b_=i=>{const{__scopeToast:r,label:o="Notification",duration:l=5e3,swipeDirection:c="right",swipeThreshold:f=50,children:h}=i,[g,v]=E.useState(null),[x,w]=E.useState(0),P=E.useRef(!1),C=E.useRef(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ph}\`. Expected non-empty \`string\`.`),T.jsx(bh.Provider,{scope:r,children:T.jsx(iE,{scope:r,label:o,duration:l,swipeDirection:c,swipeThreshold:f,toastCount:x,viewport:g,onViewportChange:v,onToastAdd:E.useCallback(()=>w(R=>R+1),[]),onToastRemove:E.useCallback(()=>w(R=>R-1),[]),isFocusedToastEscapeKeyDownRef:P,isClosePausedRef:C,children:h})})};b_.displayName=Ph;var S_="ToastViewport",rE=["F8"],Mf="toast.viewportPause",Nf="toast.viewportResume",C_=E.forwardRef((i,r)=>{const{__scopeToast:o,hotkey:l=rE,label:c="Notifications ({hotkey})",...f}=i,h=tc(S_,o),g=tE(o),v=E.useRef(null),x=E.useRef(null),w=E.useRef(null),P=E.useRef(null),C=ho(r,P,h.onViewportChange),R=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=h.toastCount>0;E.useEffect(()=>{const M=D=>{l.length!==0&&l.every(W=>D[W]||D.code===W)&&P.current?.focus()};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[l]),E.useEffect(()=>{const M=v.current,D=P.current;if(z&&M&&D){const V=()=>{if(!h.isClosePausedRef.current){const re=new CustomEvent(Mf);D.dispatchEvent(re),h.isClosePausedRef.current=!0}},W=()=>{if(h.isClosePausedRef.current){const re=new CustomEvent(Nf);D.dispatchEvent(re),h.isClosePausedRef.current=!1}},Y=re=>{!M.contains(re.relatedTarget)&&W()},J=()=>
16{M.contains(document.activeElement)||W()};return M.addEventListener("focusin",V),M.addEventListener("focusout",Y),M.addEventListener("pointermove",V),M.addEventListener("pointerleave",J),window.addEventListener("blur",V),window.addEventListener("focus",W),()=>{M.removeEventListener("focusin",V),M.removeEventListener("focusout",Y),M.removeEventListener("pointermove",V),M.removeEventListener("pointerleave",J),window.removeEventListener("blur",V),window.removeEventListener("focus",W)}}},[z,h.isClosePausedRef]);const N=E.useCallback(({tabbingDirection:M})=>{const V=g().map(W=>{const Y=W.ref.current,J=[Y,...vE(Y)];return M==="forwards"?J:J.reverse()});return(M==="forwards"?V.reverse():V).flat()},[g]);return E.useEffect(()=>{const M=P.current;if(M){const D=V=>{const W=V.altKey||V.ctrlKey||V.metaKey;if(V.key==="Tab"&&!W){const J=document.activeElement,re=V.shiftKey;if(V.target===M&&re){x.current?.focus();return}const Re=N({tabbingDirection:re?"backwards":"forwards"}),Oe=Re.findIndex(Me=>Me===J);tf(Re.slice(Oe+1))?V.preventDefault():re?x.current?.focus():w.current?.focus()}};return M.addEventListener("keydown",D),()=>M.removeEventListener("keydown",D)}},[g,N]),T.jsxs(GC,{ref:v,role:"region","aria-label":c.replace("{hotkey}",R),tabIndex:-1,style:{pointerEvents:z?void 0:"none"},children:[z&&T.jsx(Rf,{ref:x,onFocusFromOutsideViewport:()=>{const M=N({tabbingDirection:"forwards"});tf(M)}}),T.jsx(bh.Slot,{scope:o,children:T.jsx(oi.ol,{tabIndex:-1,...f,ref:C})}),z&&T.jsx(Rf,{ref:w,onFocusFromOutsideViewport:()=>{const M=N({tabbingDirection:"backwards"});tf(M)}})]})});C_.displayName=S_;var E_="ToastFocusProxy",Rf=E.forwardRef((i,r)=>{const{__scopeToast:o,onFocusFromOutsideViewport:l,...c}=i,f=tc(E_,o);return T.jsx(Th,{"aria-hidden":!0,tabIndex:0,...c,ref:r,style:{position:"fixed"},onFocus:h=>{const g=h.relatedTarget;!f.viewport?.contains(g)&&l()}})});Rf.displayName=E_;var nc="Toast",oE="toast.swipeStart",sE="toast.swipeMove",aE="toast.swipeCancel",lE="toast.swipeEnd",k_=E.forwardRef((i,r)=>{const{forceMount:o,open:l,defaultOpen:c,onOpenChange:f,...h}=i,[g=!0,v]=QC({prop:l,defaultProp:c,onChange:f});return T.jsx(T_,{present:o||g,children:T.jsx(dE,{open:g,...h,ref:r,onClose:()=>v(!1),onPause:Oi(i.onPause),onResume:Oi(i.onResume),onSwipeStart:hn(i.onSwipeStart,x=>{x.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:hn(i.onSwipeMove,x=>{const{x:w,y:P}=x.detail.delta;x.currentTarget.setAttribute("data-swipe","move"),x.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${w}px`),x.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${P}px`)}),onSwipeCancel:hn(i.onSwipeCancel,x=>{x.currentTarget.setAttribute("data-swipe","cancel"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),x.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:hn(i.onSwipeEnd,x=>{const{x:w,y:P}=x.detail.delta;x.currentTarget.setAttribute("data-swipe","end"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),x.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),x.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${w}px`),x.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${P}px`),v(!1)})})})});k_.displayName=nc;var[uE,cE]=P_(nc,{onClose(){}}),dE=E.forwardRef((i,r)=>{const{__scopeToast:o,type:l="foreground",duration:c,open:f,onClose:h,onEscapeKeyDown:g,onPause:v,onResume:x,onSwipeStart:w,onSwipeMove:P,onSwipeCancel:C,onSwipeEnd:R,...z}=i,N=tc(nc,o),[M,D]=E.useState(null),V=ho(r,de=>D(de)),W=E.useRef(null),Y=E.useRef(null),J=c||N.duration,re=E.useRef(0),ue=E.useRef(J),ae=E.useRef(0),{onToastAdd:Re,onToastRemove:Oe}=N,Me=Oi(()=>{M?.contains(document.activeElement)&&N.viewport?.focus(),h()}),ye=E.useCallback(de=>{!de||de===1/0||(window.clearTimeout(ae.current),re.current=new Date().getTime(),ae.current=window.setTimeout(Me,de))},[Me]);E.useEffect(()=>{const de=N.viewport;if(de){const Ge=()=>{ye(ue.current),x?.()},ke=()=>{const _e=new Date().getTime()-re.current;ue.current=ue.current-_e,window.clearTimeout(ae.current),v?.()};return de.addEventListener(Mf,ke),de.addEventListener(Nf,Ge),()=>{de.removeEventListener(Mf,ke),de.removeEventListener(Nf,Ge)}}},[N.viewport,J,v,x,ye]),E.useEffect(()=>{f&&!N.isClosePausedRef.current&&ye(J)},[f,J,N.isClosePausedRef,ye]),E.useEffect(()=>(Re(),()=>Oe()),[Re,Oe]);const it=E.useMemo(()=>M?j_(M):null,[M]);return N.viewport?T.jsxs(T.Fragment,{children:[it&&T.jsx(fE,{__scopeToast:o,role:"status","aria-live":l==="foreground"?"assertive":"polite","aria-atomic":!0,children:it}),T.jsx(uE,{scope:o,onClose:Me,children:Gu.createPortal(T.jsx(bh.ItemSlot,{scope:o,children:T.jsx($C,{asChild:!0,onEscapeKeyDown:hn(g,()=>{N.isFocusedToastEscapeKeyDownRef.current||Me(),N.isFocusedToastEscapeKeyDownRef.current=!1}),children:T.jsx(oi.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":f?"open":"closed","data-swipe-direction":N.swipeDirection,...z,ref:V,style:{userSelect:"none",touchAction:"none",...i.style},onKeyDown:hn(i.onKeyDown,de=>{de.key==="Escape"&&(g?.(de.nativeEvent),de.nativeEvent.defaultPrevented||(N.isFocusedToastEscapeKeyDownRef.current=!0,Me()))}),onPointerDown:hn(i.onPointerDown,de=>{de.button===0&&(W.current={x:de.clientX,y:de.clientY})}),onPointerMove:hn(i.onPointerMove,de=>{if(!W.current)return;const Ge=de.clientX-W.current.x,ke=de.clientY-W.current.y,_e=!!Y.current,$=["left","right"].includes(N.swipeDirection),oe=["left","up"].includes(N.swipeDirection)?Math.min:Math.max,K=$?oe(0,Ge):0,j=$?0:oe(0,ke),G=de.pointerType==="touch"?10:2,ve={x:K,y:j},he={originalEvent:de,delta:ve};_e?(Y.current=ve,Au(sE,P,he,{discrete:!1})):Jg(ve,N.swipeDirection,G)?(Y.current=ve,Au(oE,w,he,{discrete:!1}),de.target.setPointerCapture(de.pointerId)):(Math.abs(Ge)>G||Math.abs(ke)>G)&&(W.current=null)}),onPointerUp:hn(i.onPointerUp,de=>{const Ge=Y.current,ke=de.target;if(ke.hasPointerCapture(de.pointerId)&&ke.releasePointerCapture(de.pointerId),Y.current=null,W.current=null,Ge){const _e=de.currentTarget,$={originalEvent:de,delta:Ge};Jg(Ge,N.swipeDirection,N.swipeThreshold)?Au(lE,R,$,{discrete:!0}):Au(aE,C,$,{discrete:!0}),_e.addEventListener("click",oe=>oe.preventDefault(),{once:!0})}})})})}),N.viewport)})]}):null}),fE=i=>{const{__scopeToast:r,children:o,...l}=i,c=tc(nc,r),[f,h]=E.useState(!1),[g,v]=E.useState(!1);return mE(()=>h(!0)),E.useEffect(()=>{const x=window.setTimeout(()=>v(!0),1e3);return()=>window.clearTimeout(x)},[]),g?null:T.jsx(w_,{asChild:!0,children:T.jsx(Th,{...l,children:f&&T.jsxs(T.Fragment,{children:[c.label," ",o]})})})},hE="ToastTitle",L_=E.forwardRef((i,r)=>{const{__scopeToast:o,...l}=i;return T.jsx(oi.div,{...l,ref:r})});
16L_.displayName=hE;var pE="ToastDescription",A_=E.forwardRef((i,r)=>{const{__scopeToast:o,...l}=i;return T.jsx(oi.div,{...l,ref:r})});A_.displayName=pE;var M_="ToastAction",N_=E.forwardRef((i,r)=>{const{altText:o,...l}=i;return o.trim()?T.jsx(O_,{altText:o,asChild:!0,children:T.jsx(Sh,{...l,ref:r})}):(console.error(`Invalid prop \`altText\` supplied to \`${M_}\`. Expected non-empty \`string\`.`),null)});N_.displayName=M_;var R_="ToastClose",Sh=E.forwardRef((i,r)=>{const{__scopeToast:o,...l}=i,c=cE(R_,o);return T.jsx(O_,{asChild:!0,children:T.jsx(oi.button,{type:"button",...l,ref:r,onClick:hn(i.onClick,c.onClose)})})});Sh.displayName=R_;var O_=E.forwardRef((i,r)=>{const{__scopeToast:o,altText:l,...c}=i;return T.jsx(oi.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":l||void 0,...c,ref:r})});function j_(i){const r=[];return Array.from(i.childNodes).forEach(l=>{if(l.nodeType===l.TEXT_NODE&&l.textContent&&r.push(l.textContent),gE(l)){const c=l.ariaHidden||l.hidden||l.style.display==="none",f=l.dataset.radixToastAnnounceExclude==="";if(!c)if(f){const h=l.dataset.radixToastAnnounceAlt;h&&r.push(h)}else r.push(...j_(l))}}),r}function Au(i,r,o,{discrete:l}){const c=o.originalEvent.currentTarget,f=new CustomEvent(i,{bubbles:!0,cancelable:!0,detail:o});r&&c.addEventListener(i,r,{once:!0}),l?g_(c,f):c.dispatchEvent(f)}var Jg=(i,r,o=0)=>{const l=Math.abs(i.x),c=Math.abs(i.y),f=l>c;return r==="left"||r==="right"?f&&l>o:!f&&c>o};function mE(i=()=>{}){const r=Oi(i);Wu(()=>{let o=0,l=0;return o=window.requestAnimationFrame(()=>l=window.requestAnimationFrame(r)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(l)}},[r])}function gE(i){return i.nodeType===i.ELEMENT_NODE}function vE(i){const r=[],o=document.createTreeWalker(i,NodeFilter.SHOW_ELEMENT,{acceptNode:l=>{const c=l.tagName==="INPUT"&&l.type==="hidden";return l.disabled||l.hidden||c?NodeFilter.FILTER_SKIP:l.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)r.push(o.currentNode);return r}function tf(i){const r=document.activeElement;return i.some(o=>o===r?!0:(o.focus(),document.activeElement!==r))}var yE=b_,I_=C_,z_=k_,D_=L_,B_=A_,F_=N_,V_=Sh;const _E=yE,U_=lt.forwardRef(({className:i,...r},o)=>T.jsx(I_,{ref:o,className:vo("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]",i),...r}));U_.displayName=I_.displayName;const xE=a_("data-[swipe=move]:transition-none group relative pointer-events-auto 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=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background border",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),H_=lt.forwardRef(({className:i,variant:r,...o},l)=>T.jsx(z_,{ref:l,className:vo(xE({variant:r}),i),...o}));H_.displayName=z_.displayName;const wE=lt.forwardRef(({className:i,...r},o)=>T.jsx(F_,{ref:o,className:vo("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-destructive/30 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",i),...r}));wE.displayName=F_.displayName;const Z_=lt.forwardRef(({className:i,...r},o)=>T.jsx(V_,{ref:o,className:vo("absolute right-2 top-2 rounded-md p-1 text-foreground
16/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",i),"toast-close":"",...r,children:T.jsx(Xy,{className:"h-4 w-4"})}));Z_.displayName=V_.displayName;const W_=lt.forwardRef(({className:i,...r},o)=>T.jsx(D_,{ref:o,className:vo("text-sm font-semibold",i),...r}));W_.displayName=D_.displayName;const $_=lt.forwardRef(({className:i,...r},o)=>T.jsx(B_,{ref:o,className:vo("text-sm opacity-90",i),...r}));$_.displayName=B_.displayName;const TE=1;let nf=0;function PE(){return nf=(nf+1)%Number.MAX_VALUE,nf.toString()}const Wt={state:{toasts:[]},listeners:[],getState:()=>Wt.state,setState:i=>{typeof i=="function"?Wt.state=i(Wt.state):Wt.state={...Wt.state,...i},Wt.listeners.forEach(r=>r(Wt.state))},subscribe:i=>(Wt.listeners.push(i),()=>{Wt.listeners=Wt.listeners.filter(r=>r!==i)})},bE=({...i})=>{const r=PE(),o=c=>Wt.setState(f=>({...f,toasts:f.toasts.map(h=>h.id===r?{...h,...c}:h)})),l=()=>Wt.setState(c=>({...c,toasts:c.toasts.filter(f=>f.id!==r)}));return Wt.setState(c=>({...c,toasts:[{...i,id:r,dismiss:l},...c.toasts].slice(0,TE)})),{id:r,dismiss:l,update:o}};function SE(){const[i,r]=E.useState(Wt.getState());return E.useEffect(()=>Wt.subscribe(l=>{r(l)}),[]),E.useEffect(()=>{const o=[];return i.toasts.forEach(l=>{if(l.duration===1/0)return;const c=setTimeout(()=>{l.dismiss()},l.duration||5e3);o.push(c)}),()=>{o.forEach(l=>clearTimeout(l))}},[i.toasts]),{toast:bE,toasts:i.toasts}}function CE(){const{toasts:i}=SE();return T.jsxs(_E,{children:[i.map(({id:r,title:o,description:l,action:c,...f})=>T.jsxs(H_,{...f,children:[T.jsxs("div",{className:"grid gap-1",children:[o&&T.jsx(W_,{children:o}),l&&T.jsx($_,{children:l})]}),c,T.jsx(Z_,{})]},r)),T.jsx(U_,{})]})}const DCcidades=[{n:"Parnaíba",uf:"PI"},{n:"Cajueiro da Praia",uf:"PI"},{n:"Araioses",uf:"MA"},{n:"Água Doce do Maranhão",uf:"MA"},{n:"Santana do Maranhão",uf:"MA"}];
17const DCcob=()=>{const[c,sc]=E.useState("");const sel=DCcidades.find(x=>x.n===c);return T.jsx("section",{className:"dc-cob",children:T.jsxs("div",{className:"dc-cob-box",children:[T.jsx("h2",{className:"dc-cob-titulo",children:"A Delta chega na sua casa?"}),T.jsx("p",{className:"dc-cob-sub",children:"Escolha sua cidade e veja na hora."}),T.jsxs("div",{className:"dc-cob-linha",children:[T.jsxs("select",{className:"dc-cob-select","aria-label":"Sua cidade",value:c,onChange:e=>sc(e.target.value),children:[T.jsx("option",{value:"",children:"Selecione sua cidade"}),DCcidades.map(x=>T.jsx("option",{value:x.n,children:x.n+" - "+x.uf},x.n))]}),T.jsx("a",{className:"dc-cob-btn",href:"https://wa.me/55868000860100?text=Ol%C3%A1%2C%20gostaria%20de%20contratar%20a%20Delta%20Connect.",target:"_blank",rel:"noopener noreferrer",children:"Quero contratar"})]}),sel?T.jsxs("p",{className:"dc-cob-ok",children:["✅ Sim! Atendemos ",sel.n,". Fale com a gente e agende a instalação."]}):T.jsx("p",{className:"dc-cob-dica",children:"Atendemos 5 cidades no Piauí e no Maranhão."})]})})};
18const DCnumeros=[{v:"16",r:"anos",d:"conectando o Delta do Parnaíba desde 2010"},{v:"100%",r:"fibra óptica",d:"da nossa central até dentro da sua casa"},{v:"5",r:"cidades",d:"no litoral do Piauí e do Maranhão"}];
19const DCnum=()=>T.jsx("section",{className:"dc-num",children:T.jsxs("div",{className:"dc-num-box",children:[T.jsx("h2",{className:"dc-num-titulo",children:"Não é promessa, é estrada"}),T.jsx("div",{className:"dc-num-grid",children:DCnumeros.map(x=>T.jsxs("div",{className:"dc-num-item",children:[T.jsxs("div",{className:"dc-num-valor",children:[x.v,T.jsx("span",{children:x.r})]}),T.jsx("p",{className:"dc-num-desc",children:x.d})]},x.r))})]})});
20const DCcli=()=>T.jsx("section",{className:"dc-cli",children:T.jsxs("div",{className:"dc-cli-box",children:[T.jsx("h2",{className:"dc-cli-titulo",children:"Já é cliente?"}),T.jsx("p",{className:"dc-cli-sub",children:"Resolva sem esperar na linha."}),T.jsxs("div",{className:"dc-cli-grid",children:[T.jsxs("a",{className:"dc-cli-card",href:"https://api.deltaconnect.com.br/",target:"_blank",rel:"noopener noreferrer",children:[T.jsx("strong",{children:"2ª via de boleto"}),T.jsx("span",{children:"Baixe agora pela área do cliente"})]}),T.jsxs("a",{className:"dc-cli-card",href:"https://api.deltaconnect.com.br/",target:"_blank",rel:"noopener noreferrer",children:[T.jsx("strong",{children:"Área do cliente"}),T.jsx("span",{children:"Faturas, contrato e seus dados"})]}),T.jsxs("a",{className:"dc-cli-card",href:"tel:08000860100",children:[T.jsx("strong",{children:"Suporte 0800 086 0100"}),T.jsx("span",{children:"Ligação gratuita, falando com gente daqui"})]})]})]})});
21const DCvelitens=["Um plano simples de entender","Você assiste onde já está acostumado","Combina com qualquer serviço de streaming"];
22const DCvelpracas=[{c:"Parnaíba-PI",v:"358,69"},{c:"Araioses-MA",v:"297,13"}];
23const DCvel=()=>T.jsx("section",{className:"dc-vel",children:T.jsxs("div",{className:"dc-vel-box",children:[T.jsxs("div",{className:"dc-vel-texto",children:[T.jsx("span",{className:"dc-vel-tag",children:"Como a gente monta o seu plano"}),T.jsx("h2",{className:"dc-vel-titulo",children:"A gente cuida da conexão. O resto, você escolhe."}
23),T.jsx("p",{className:"dc-vel-p",children:"A gente prefere colocar tudo o que tem na estrada: fibra até dentro da sua casa, velocidade cheia e uma rede estável no dia a dia."}),T.jsx("p",{className:"dc-vel-p",children:"Streaming, jogo online, chamada de vídeo e trabalho ao mesmo tempo: a rede foi feita para aguentar a casa cheia. Você usa os serviços que já tem, do jeito que preferir."}),T.jsx("ul",{className:"dc-vel-lista",children:DCvelitens.map(x=>T.jsxs("li",{children:[T.jsx("span",{className:"dc-vel-ok",children:"✓"}),x]},x))})]}),T.jsxs("div",{className:"dc-vel-prova",children:[T.jsx("h3",{className:"dc-vel-prova-titulo",children:"A estrada, medida por quem usa"}),T.jsx("div",{className:"dc-vel-prova-grid",children:DCvelpracas.map(x=>T.jsxs("div",{className:"dc-vel-praca",children:[T.jsx("span",{className:"dc-vel-selo",children:"a mais rápida da cidade"}),T.jsxs("div",{className:"dc-vel-valor",children:[x.v,T.jsx("span",{children:"Mbps"})]}),T.jsx("strong",{className:"dc-vel-cidade",children:x.c})]},x.c))}),T.jsx("p",{className:"dc-vel-fonte",children:"Velocidade média real medida nos testes dos próprios moradores de cada cidade — ranking Minha Conexão, atualizado em julho de 2026."})]})]})});
24const EE=()=>T.jsxs(T.Fragment,{children:[T.jsx(iC,{}),T.jsx(DCcob,{}),T.jsx(rC,{}),T.jsx(DCvel,{}),T.jsx(kC,{}),T.jsx(DCnum,{}),T.jsx(EC,{}),T.jsx(DCcli,{}),T.jsx(AC,{})]});function kE(){return E.useEffect(()=>{const i=document.createElement("script");return i.async=!0,i.src="https://www.googletagmanager.com/gtag/js?id=AW-11231984797",document.head.appendChild(i),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config","AW-11231984797"),window.trackConversion=()=>{typeof window.gtag=="function"&&(window.gtag("event","conversion",{send_to:"AW-11231984797/WpSKCMrN2L4YEJ356esp"}),console.log("Google Ads Conversion Tracked"))},()=>{document.head.contains(i)&&document.head.removeChild(i),delete window.trackConversion}},[]),T.jsxs(Dx,{children:[T.jsxs(cf,{children:[T.jsx("title",{children:"Delta Connect: A Internet que Você Precisa!"}),T.jsx("meta",{name:"description",content:"Delta Connect: A Internet que Você Precisa!"}),T.jsx("meta",{property:"og:title",content:"Delta Connect: A Internet que Você Precisa!"}),T.jsx("meta",{property:"og:description",content:"Delta Connect: A Internet que Você Precisa!"})]}),T.jsxs("div",{className:"min-h-screen bg-slate-50 font-sans text-brand-dark flex flex-col",children:[T.jsx(nC,{}),T.jsx("main",{className:"flex-grow",children:T.jsxs(Mx,{children:[T.jsx(Mu,{path:"/",element:T.jsx(EE,{})}),T.jsx(Mu,{path:"/privacy-policy",element:T.jsx(OC,{})}),T.jsx(Mu,{path:"/terms",element:T.jsx(jC,{})})]})}),T.jsx(MC,{}),T.jsx(CE,{}),T.jsx(NC,{}),T.jsx(RC,{})]})]})}D0.createRoot(document.getElementById("root")).render(T.jsx(kE,{}));
25
26/* Garante o CSS das melhorias mesmo quando o navegador recebe o index.html
27   antigo do cache do CDN: aquele HTML não referencia melhorias.css, e sem ele
28   as seções novas aparecem como texto cru. Pode sair depois do purge. */
29(function(){try{if(!document.querySelector('link[href*="melhorias.css"]')){var l=document.createElement('link');l.rel='stylesheet';l.href='/assets/melhorias.css?v=20260921d';document.head.appendChild(l);}}catch(e){}})();

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.