PageSourceSearch

https://clyn.com/assets/index-n0xRKJwK.js

js clyn.com collected 2026-10-09 17:32:22 UTC 1,168,631 bytes, 560 lines download raw bytes

vendor: 4,571 bytes, lines 1-9
1var l4=Object.defineProperty;var bw=e=>{throw TypeError(e)};var c4=(e,t,n)=>t in e?l4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ht=(e,t,n)=>c4(e,typeof t!="symbol"?t+"":t,n),nm=(e,t,n)=>t.has(e)||bw("Cannot "+n);var U=(e,t,n)=>(nm(e,t,"read from private field"),n?n.call(e):t.get(e)),De=(e,t,n)=>t.has(e)?bw("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ye=(e,t,n,r)=>(nm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Xe=(e,t,n)=>(nm(e,t,"access private method"),n);var fd=(e,t,n,r)=>({set _(i){ye(e,t,i,n)},get _(){return U(e,t,r)}});function u4(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function d4(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var rm={exports:{}},Il={},sm={exports:{}},Ke={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ww;function h4(){if(ww)return Ke;ww=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator;function x(L){return L===null||typeof L!="object"?null:(L=m&&L[m]||L["@@iterator"],typeof L=="function"?L:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,w={};function k(L,ee,M){this.props=L,this.context=ee,this.refs=w,this.updater=M||y}k.prototype.isReactComponent={},k.prototype.setState=function(L,ee){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,ee,"setState")},k.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function b(){}b.prototype=k.prototype;function E(L,ee,M){this.props=L,this.context=ee,this.refs=w,this.updater=M||y}var C=E.prototype=new b;C.constructor=E,N(C,k.prototype),C.isPureReactComponent=!0;var T=Array.isArray,I=Object.prototype.hasOwnProperty,_={current:null},V={key:!0,ref:!0,__self:!0,__source:!0};function O(L,ee,M){var pe,Pe={},le=null,re=null;if(ee!=null)for(pe in ee.ref!==void 0&&(re=ee.ref),ee.key!==void 0&&(le=""+ee.key),ee)I.call(ee,pe)&&!V.hasOwnProperty(pe)&&(Pe[pe]=ee[pe]);var me=arguments.length-2;if(me===1)Pe.children=M;else if(1<me){for(var ve=Array(me),Ae=0;Ae<me;Ae++)ve[Ae]=arguments[Ae+2];Pe.children=ve}if(L&&L.defaultProps)for(pe in me=L.defaultProps,me)Pe[pe]===void 0&&(Pe[pe]=me[pe]);return{$$typeof:e,type:L,key:le,ref:re,props:Pe,_owner:_.current}}function W(L,ee){return{$$typeof:e,type:L.type,key:ee,ref:L.ref,props:L.props,_owner:L._owner}}
vendor: 11,662 bytes, lines 9-33
9function R(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function G(L){var ee={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(M){return ee[M]})}var B=/\/+/g;function Q(L,ee){return typeof L=="object"&&L!==null&&L.key!=null?G(""+L.key):ee.toString(36)}function Z(L,ee,M,pe,Pe){var le=typeof L;(le==="undefined"||le==="boolean")&&(L=null);var re=!1;if(L===null)re=!0;else switch(le){case"string":case"number":re=!0;break;case"object":switch(L.$$typeof){case e:case t:re=!0}}if(re)return re=L,Pe=Pe(re),L=pe===""?"."+Q(re,0):pe,T(Pe)?(M="",L!=null&&(M=L.replace(B,"$&/")+"/"),Z(Pe,ee,M,"",function(Ae){return Ae})):Pe!=null&&(R(Pe)&&(Pe=W(Pe,M+(!Pe.key||re&&re.key===Pe.key?"":(""+Pe.key).replace(B,"$&/")+"/")+L)),ee.push(Pe)),1;if(re=0,pe=pe===""?".":pe+":",T(L))for(var me=0;me<L.length;me++){le=L[me];var ve=pe+Q(le,me);re+=Z(le,ee,M,ve,Pe)}else if(ve=x(L),typeof ve=="function")for(L=ve.call(L),me=0;!(le=L.next()).done;)le=le.value,ve=pe+Q(le,me++),re+=Z(le,ee,M,ve,Pe);else if(le==="object")throw ee=String(L),Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.");return re}function te(L,ee,M){if(L==null)return L;var pe=[],Pe=0;return Z(L,pe,"","",function(le){return ee.call(M,le,Pe++)}),pe}function se(L){if(L._status===-1){var ee=L._result;ee=ee(),ee.then(function(M){(L._status===0||L._status===-1)&&(L._status=1,L._result=M)},function(M){(L._status===0||L._status===-1)&&(L._status=2,L._result=M)}),L._status===-1&&(L._status=0,L._result=ee)}if(L._status===1)return L._result.default;throw L._result}var ie={current:null},F={transition:null},J={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:F,ReactCurrentOwner:_};function A(){throw Error("act(...) is not supported in production builds of React.")}return Ke.Children={map:te,forEach:function(L,ee,M){te(L,function(){ee.apply(this,arguments)},M)},count:function(L){var ee=0;return te(L,function(){ee++}),ee},toArray:function(L){return te(L,function(ee){return ee})||[]},only:function(L){if(!R(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},Ke.Component=k,Ke.Fragment=n,Ke.Profiler=i,Ke.PureComponent=E,Ke.StrictMode=r,Ke.Suspense=d,Ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=J,Ke.act=A,Ke.cloneElement=function(L,ee,M){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var pe=N({},L.props),Pe=L.key,le=L.ref,re=L._owner;if(ee!=null){if(ee.ref!==void 0&&(le=ee.ref,re=_.current),ee.key!==void 0&&(Pe=""+ee.key),L.type&&L.type.defaultProps)var me=L.type.defaultProps;for(ve in ee)I.call(ee,ve)&&!V.hasOwnProperty(ve)&&(pe[ve]=ee[ve]===void 0&&me!==void 0?me[ve]:ee[ve])}var ve=arguments.length-2;if(ve===1)pe.children=M;else if(1<ve){me=Array(ve);for(var Ae=0;Ae<ve;Ae++)me[Ae]=arguments[Ae+2];pe.children=me}return{$$typeof:e,type:L.type,key:Pe,ref:le,props:pe,_owner:re}},Ke.createContext=function(L){return L={$$typeof:l,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:a,_context:L},L.Consumer=L},Ke.createElement=O,Ke.createFactory=function(L){var ee=O.bind(null,L);return ee.type=L,ee},Ke.createRef=function(){return{current:null}},Ke.forwardRef=function(L){return{$$typeof:u,render:L}},Ke.isValidElement=R,Ke.lazy=function(L){return{$$typeof:p,_payload:{_status:-1,_result:L},_init:se}},Ke.memo=function(L,ee){return{$$typeof:h,type:L,compare:ee===void 0?null:ee}},Ke.startTransition=function(L){var ee=F.transition;F.transition={};try{L()}finally{F.transition=ee}},Ke.unstable_act=A,Ke.useCallback=function(L,ee){return ie.current.useCallback(L,ee)},Ke.useContext=function(L){return ie.current.useContext(L)},Ke.useDebugValue=function(){},Ke.useDeferredValue=function(L){return ie.current.useDeferredValue(L)},Ke.useEffect=function(L,ee){return ie.current.useEffect(L,ee)},Ke.useId=function(){return ie.current.useId()},Ke.useImperativeHandle=function(L,ee,M){return ie.current.useImperativeHandle(L,ee,M)},Ke.useInsertionEffect=function(L,ee){return ie.current.useInsertionEffect(L,ee)},Ke.useLayoutEffect=function(L,ee){return ie.current.useLayoutEffect(L,ee)},Ke.useMemo=function(L,ee){return ie.current.useMemo(L,ee)},Ke.useReducer=function(L,ee,M){return ie.current.useReducer(L,ee,M)},Ke.useRef=function(L){return ie.current.useRef(L)},Ke.useState=function(L){return ie.current.useState(L)},Ke.useSyncExternalStore=function(L,ee,M){return ie.current.useSyncExternalStore(L,ee,M)},Ke.useTransition=function(){return ie.current.useTransition()},Ke.version="18.3.1",Ke}var jw;function Dx(){return jw||(jw=1,sm.exports=h4()),sm.exports}/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Nw;function f4(){if(Nw)return Il;Nw=1;var e=Dx(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(u,d,h){var p,m={},x=null,y=null;h!==void 0&&(x=""+h),d.key!==void 0&&(x=""+d.key),d.ref!==void 0&&(y=d.ref);for(p in d)r.call(d,p)&&!a.hasOwnProperty(p)&&(m[p]=d[p]);if(u&&u.defaultProps)for(p in d=u.defaultProps,d)m[p]===void 0&&(m[p]=d[p]);return{$$typeof:t,type:u,key:x,ref:y,props:m,_owner:i.current}}return Il.Fragment=n,Il.jsx=l,Il.jsxs=l,Il}var kw;function p4(){return kw||(kw=1,rm.exports=f4()),rm.exports}var s=p4(),S=Dx();const lt=Dc(S),Lx=u4({__proto__:null,default:lt},[S]);var pd={},im={exports:{}},Tn={},om={exports:{}},am={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Sw;function m4(){return Sw||(Sw=1,(function(e){function t(F,J){var A=F.length;F.push(J);e:for(;0<A;){var L=A-1>>>1,ee=F[L];if(0<i(ee,J))F[L]=J,F[A]=ee,A=L;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var J=F[0],A=F.pop();if(A!==J){F[0]=A;e:for(var L=0,ee=F.length,M=ee>>>1;L<M;){var pe=2*(L+1)-1,Pe=F[pe],le=pe+1,re=F[le];if(0>i(Pe,A))le<ee&&0>i(re,Pe)?(F[L]=re,F[le]=A,L=le):(F[L]=Pe,F[pe]=A,L=pe);else if(le<ee&&0>i(re,A))F[L]=re,F[le]=A,L=le;else break e}}return J}function i(F,J){var A=F.sortIndex-J.sortIndex;return A!==0?A:F.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var d=[],h=[],p=1,m=null,x=3,y=!1,N=!1,w=!1,k=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(F){for(var J=n(h);J!==null;){if(J.callback===null)r(h);else if(J.startTime<=F)r(h),J.sortIndex=J.expirationTime,t(d,J);else break;J=n(h)}}function T(F){if(w=!1,C(F),!N)if(n(d)!==null)N=!0,se(I);else{var J=n(h);J!==null&&ie(T,J.startTime-F)}}function I(F,J){N=!1,w&&(w=!1,b(O),O=-1),y=!0;var A=x;try{for(C(J),m=n(d);m!==null&&(!(m.expirationTime>J)||F&&!G());){var L=m.callback;if(typeof L=="function"){m.callback=null,x=m.priorityLevel;var ee=L(m.expirationTime<=J);J=e.unstable_now(),typeof ee=="function"?m.callback=ee:m===n(d)&&r(d),C(J)}else r(d);m=n(d)}if(m!==null)var M=!0;else{var pe=n(h);pe!==null&&ie(T,pe.startTime-J),M=!1}return M}finally{m=null,x=A,y=!1}}var _=!1,V=null,O=-1,W=5,R=-1;function G(){return!(e.unstable_now()-R<W)}function B(){if(V!==null){var F=e.unstable_now();R=F;var J=!0;try{J=V(!0,F)}finally{J?Q():(_=!1,V=null)}}else _=!1}var Q;if(typeof E=="function")Q=function(){E(B)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,te=Z.port2;Z.port1.onmessage=B,Q=function(){te.postMessage(null)}}else Q=function(){k(B,0)};function se(F){V=F,_||(_=!0,Q())}function ie(F,J){O=k(function(){F(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_continueExecution=function(){N||y||(N=!0,se(I))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(d)},e.unstable_next=function(F){switch(x){case 1:case 2:case 3:var J=3;break;default:J=x}var A=x;x=J;try{return F()}finally{x=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,J){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var A=x;x=F;try{return J()}finally{x=A}},e.unstable_scheduleCallback=function(F,J,A){var L=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?L+A:L):A=L,F){case 1:var ee=-1;break;case 2:ee=250;break;case 5:ee=1073741823;break;case 4:ee=1e4;break;default:ee=5e3}return ee=A+ee,F={id:p++,callback:J,priorityLevel:F,startTime:A,expirationTime:ee,sortIndex:-1},A>L?(F.sortIndex=A,t(h,F),n(d)===null&&F===n(h)&&(w?(b(O),O=-1):w=!0,ie(T,A-L))):(F.sortIndex=ee,t(d,F),N||y||(N=!0,se(I))),F},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(F){var J=x;return function(){var A=x;x=J;try{return F.apply(this,arguments)}finally{x=A}}}})(am)),am}var Cw;function g4(){return Cw||(Cw=1,om.exports=m4()),om.exports}/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Ew;function x4(){if(Ew)return Tn;Ew=1;var e=Dx(),t=g4();function n(o){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+o,f=1;f<arguments.length;f++)c+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+o+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,i={};function a(o,c){l(o,c),l(o+"Capture",c)}function l(o,c){for(i[o]=c,o=0;o<c.length;o++)r.add(c[o])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,h=/^[: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]*$/,p={},m={};function x(o){return d.call(m,o)?!0:d.call(p,o)?!1:h.test(o)?m[o]=!0:(p[o]=!0,!1)}function y(o,c,f,g){if(f!==null&&f.type===0)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":return g?!1:f!==null?!f.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function N(o,c,f,g){if(c===null||typeof c>"u"||y(o,c,f,g))return!0;
vendor: 20,577 bytes, lines 33-37
33if(g)return!1;if(f!==null)switch(f.type){case 3:return!c;case 4:return c===!1;case 5:return isNaN(c);case 6:return isNaN(c)||1>c}return!1}function w(o,c,f,g,v,j,P){this.acceptsBooleans=c===2||c===3||c===4,this.attributeName=g,this.attributeNamespace=v,this.mustUseProperty=f,this.propertyName=o,this.type=c,this.sanitizeURL=j,this.removeEmptyString=P}var k={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){k[o]=new w(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var c=o[0];k[c]=new w(c,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){k[o]=new w(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){k[o]=new w(o,2,!1,o,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(o){k[o]=new w(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){k[o]=new w(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){k[o]=new w(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){k[o]=new w(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){k[o]=new w(o,5,!1,o.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function E(o){return o[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(o){var c=o.replace(b,E);k[c]=new w(c,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var c=o.replace(b,E);k[c]=new w(c,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var c=o.replace(b,E);k[c]=new w(c,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){k[o]=new w(o,1,!1,o.toLowerCase(),null,!1,!1)}),k.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){k[o]=new w(o,1,!1,o.toLowerCase(),null,!0,!0)});function C(o,c,f,g){var v=k.hasOwnProperty(c)?k[c]:null;(v!==null?v.type!==0:g||!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(N(c,f,v,g)&&(f=null),g||v===null?x(c)&&(f===null?o.removeAttribute(c):o.setAttribute(c,""+f)):v.mustUseProperty?o[v.propertyName]=f===null?v.type===3?!1:"":f:(c=v.attributeName,g=v.attributeNamespace,f===null?o.removeAttribute(c):(v=v.type,f=v===3||v===4&&f===!0?"":""+f,g?o.setAttributeNS(g,c,f):o.setAttribute(c,f))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,I=Symbol.for("react.element"),_=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),G=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),se=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),F=Symbol.iterator;function J(o){return o===null||typeof o!="object"?null:(o=F&&o[F]||o["@@iterator"],typeof o=="function"?o:null)}var A=Object.assign,L;function ee(o){if(L===void 0)try{throw Error()}catch(f){var c=f.stack.trim().match(/\n( *(at )?)/);L=c&&c[1]||""}return`
34`+L+o}var M=!1;function pe(o,c){if(!o||M)return"";M=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(c)if(c=function(){throw Error()},Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(X){var g=X}Reflect.construct(o,[],c)}else{try{c.call()}catch(X){g=X}o.call(c.prototype)}else{try{throw Error()}catch(X){g=X}o()}}catch(X){if(X&&g&&typeof X.stack=="string"){for(var v=X.stack.split(`
35`),j=g.stack.split(`
36`),P=v.length-1,D=j.length-1;1<=P&&0<=D&&v[P]!==j[D];)D--;for(;1<=P&&0<=D;P--,D--)if(v[P]!==j[D]){if(P!==1||D!==1)do if(P--,D--,0>D||v[P]!==j[D]){var z=`
37`+v[P].replace(" at new "," at ");return o.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",o.displayName)),z}while(1<=P&&0<=D);break}}}finally{M=!1,Error.prepareStackTrace=f}return(o=o?o.displayName||o.name:"")?ee(o):""}function Pe(o){switch(o.tag){case 5:return ee(o.type);case 16:return ee("Lazy");case 13:return ee("Suspense");case 19:return ee("SuspenseList");case 0:case 2:case 15:return o=pe(o.type,!1),o;case 11:return o=pe(o.type.render,!1),o;case 1:return o=pe(o.type,!0),o;default:return""}}function le(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case V:return"Fragment";case _:return"Portal";case W:return"Profiler";case O:return"StrictMode";case Q:return"Suspense";case Z:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case G:return(o.displayName||"Context")+".Consumer";case R:return(o._context.displayName||"Context")+".Provider";case B:var c=o.render;return o=o.displayName,o||(o=c.displayName||c.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case te:return c=o.displayName||null,c!==null?c:le(o.type)||"Memo";case se:c=o._payload,o=o._init;try{return le(o(c))}catch{}}return null}function re(o){var c=o.type;switch(o.tag){case 24:return"Cache";case 9:return(c.displayName||"Context")+".Consumer";case 10:return(c._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=c.render,o=o.displayName||o.name||"",c.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return c;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(c);case 8:return c===O?"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 c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c}return null}function me(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function ve(o){var c=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Ae(o){var c=ve(o)?"checked":"value",f=Object.getOwnPropertyDescriptor(o.constructor.prototype,c),g=""+o[c];if(!o.hasOwnProperty(c)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,j=f.set;return Object.defineProperty(o,c,{configurable:!0,get:function(){return v.call(this)},set:function(P){g=""+P,j.call(this,P)}}),Object.defineProperty(o,c,{enumerable:f.enumerable}),{getValue:function(){return g},setValue:function(P){g=""+P},stopTracking:function(){o._valueTracker=null,delete o[c]}}}}function Ve(o){o._valueTracker||(o._valueTracker=Ae(o))}function Fe(o){if(!o)return!1;var c=o._valueTracker;if(!c)return!0;var f=c.getValue(),g="";return o&&(g=ve(o)?o.checked?"true":"false":o.value),o=g,o!==f?(c.setValue(o),!0):!1}function bt(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function It(o,c){var f=c.checked;return A({},c,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:f??o._wrapperState.initialChecked})}function Et(o,c){var f=c.defaultValue==null?"":c.defaultValue,g=c.checked!=null?c.checked:c.defaultChecked;f=me(c.value!=null?c.value:f),o._wrapperState={initialChecked:g,initialValue:f,controlled:c.type==="checkbox"||c.type==="radio"?c.checked!=null:c.value!=null}}function _e(o,c){c=c.checked,c!=null&&C(o,"checked",c,!1)}function ut(o,c){_e(o,c);var f=me(c.value),g=c.type;if(f!=null)g==="number"?(f===0&&o.value===""||o.value!=f)&&(o.value=""+f):o.value!==""+f&&(o.value=""+f);else if(g==="submit"||g==="reset"){o.removeAttribute("value");return}c.hasOwnProperty("value")?Ft(o,c.type,f):c.hasOwnProperty("defaultValue")&&Ft(o,c.type,me(c.defaultValue)),c.checked==null&&c.defaultChecked!=null&&(o.defaultChecked=!!c.defaultChecked)}function gn(o,c,f){if(c.hasOwnProperty("value")||c.hasOwnProperty("defaultValue")){var g=c.type;if(!(g!=="submit"&&g!=="reset"||c.value!==void 0&&c.value!==null))return;c=""+o._wrapperState.initialValue,f||c===o.value||(o.value=c),o.defaultValue=c}f=o.name,f!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,f!==""&&(o.name=f)}function Ft(o,c,f){(c!=="number"||bt(o.ownerDocument)!==o)&&(f==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+f&&(o.defaultValue=""+f))}var fr=Array.isArray;function Rr(o,c,f,g){if(o=o.options,c){c={};for(var v=0;v<f.length;v++)c["$"+f[v]]=!0;for(f=0;f<o.length;f++)v=c.hasOwnProperty("$"+o[f].value),o[f].selected!==v&&(o[f].selected=v),v&&g&&(o[f].defaultSelected=!0)}else{for(f=""+me(f),c=null,v=0;v<o.length;v++){if(o[v].value===f){o[v].selected=!0,g&&(o[v].defaultSelected=!0);return}c!==null||o[v].disabled||(c=o[v])}c!==null&&(c.selected=!0)}}function pr(o,c){if(c.dangerouslySetInnerHTML!=null)throw Error(n(91));return A({},c,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function ru(o,c){var f=c.value;if(f==null){if(f=c.children,c=c.defaultValue,f!=null){if(c!=null)throw Error(n(92));if(fr(f)){if(1<f.length)throw Error(n(93));f=f[0]}c=f}c==null&&(c=""),f=c}o._wrapperState={initialValue:me(f)}}function su(o,c){var f=me(c.value),g=me(c.defaultValue);f!=null&&(f=""+f,f!==o.value&&(o.value=f),c.defaultValue==null&&o.defaultValue!==f&&(o.defaultValue=f)),g!=null&&(o.defaultValue=""+g)}function iu(o){var c=o.textContent;c===o._wrapperState.initialValue&&c!==""&&c!==null&&(o.value=c)}function ne(o){switch(o){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 fe(o,c){return o==null||o==="http://www.w3.org/1999/xhtml"?ne(c):o==="http://www.w3.org/2000/svg"&&c==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var ze,Ye=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(c,f,g,v){MSApp.execUnsafeLocalFunction(function(){return o(c,f,g,v)})}:o})(function(o,c){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=c;else{for(ze=ze||document.createElement("div"),ze.innerHTML="<svg>"+c.valueOf().toString()+"</svg>",c=ze.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;c.firstChild;)o.appendChild(c.firstChild)}});function tt(o,c){if(c){var f=o.firstChild;if(f&&f===o.lastChild&&f.nodeType===3){f.nodeValue=c;return}}o.textContent=c}var Gt={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},ns=["Webkit","ms","Moz","O"];Object.keys(Gt).forEach(function(o){ns.forEach(function(c){c=c+o.charAt(0).toUpperCase()+o.substring(1),Gt[c]=Gt[o]})});function Qn(o,c,f){return c==null||typeof c=="boolean"||c===""?"":f||typeof c!="number"||c===0||Gt.hasOwnProperty(o)&&Gt[o]?(""+c).trim():c+"px"}function Ss(o,c){o=o.style;for(var f in c)if(c.hasOwnProperty(f)){var g=f.indexOf("--")===0,v=Qn(f,c[f],g);f==="float"&&(f="cssFloat"),g?o.setProperty(f,v):o[f]=v}}var ji=A({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 Yt(o,c){if(c){if(ji[o]&&(c.children!=null||c.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(c.dangerouslySetInnerHTML!=null){if(c.children!=null)throw Error(n(60));if(typeof c.dangerouslySetInnerHTML!="object"||!("__html"in c.dangerouslySetInnerHTML))throw Error(n(61))}if(c.style!=null&&typeof c.style!="object")throw Error(n(62))}}function Ir(o,c){if(o.indexOf("-")===-1)return typeof c.is=="string";switch(o){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 Dn=null;function xf(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var yf=null,ko=null,So=null;function L0(o){if(o=yl(o)){if(typeof yf!="function")throw Error(n(280));var c=o.stateNode;c&&(c=Pu(c),yf(o.stateNode,o.type,c))}}function F0(o){ko?So?So.push(o):So=[o]:ko=o}function z0(){if(ko){var o=ko,c=So;if(So=ko=null,L0(o),c)for(o=0;o<c.length;o++)L0(c[o])}}function B0(o,c){return o(c)}function V0(){}var vf=!1;function U0(o,c,f){if(vf)return o(c,f);vf=!0;try{return B0(o,c,f)}finally{vf=!1,(ko!==null||So!==null)&&(V0(),z0())}}function Xa(o,c){var f=o.stateNode;if(f===null)return null;var g=Pu(f);if(g===null)return null;f=g[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(o=o.type,g=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!g;break e;default:o=!1}if(o)return null;if(f&&typeof f!="function")throw Error(n(231,c,typeof f));return f}var bf=!1;if(u)try{var Ja={};Object.defineProperty(Ja,"passive",{get:function(){bf=!0}}),window.addEventListener("test",Ja,Ja),window.removeEventListener("test",Ja,Ja)}catch{bf=!1}function p_(o,c,f,g,v,j,P,D,z){var X=Array.prototype.slice.call(arguments,3);try{c.apply(f,X)}catch(ae){this.onError(ae)}}var Za=!1,ou=null,au=!1,wf=null,m_={onError:function(o){Za=!0,ou=o}};function g_(o,c,f,g,v,j,P,D,z){Za=!1,ou=null,p_.apply(m_,arguments)}function x_(o,c,f,g,v,j,P,D,z){if(g_.apply(this,arguments),Za){if(Za){var X=ou;Za=!1,ou=null}else throw Error(n(198));au||(au=!0,wf=X)}}function Ni(o){var c=o,f=o;if(o.alternate)for(;c.return;)c=c.return;else{o=c;do c=o,(c.flags&4098)!==0&&(f=c.return),o=c.return;while(o)}return c.tag===3?f:null}function $0(o){if(o.tag===13){var c=o.memoizedState;if(c===null&&(o=o.alternate,o!==null&&(c=o.memoizedState)),c!==null)return c.dehydrated}return null}function H0(o){if(Ni(o)!==o)throw Error(n(188))}function y_(o){var c=o.alternate;if(!c){if(c=Ni(o),c===null)throw Error(n(188));return c!==o?null:o}for(var f=o,g=c;;){var v=f.return;if(v===null)break;var j=v.alternate;if(j===null){if(g=v.return,g!==null){f=g;continue}break}if(v.child===j.child){for(j=v.child;j;){if(j===f)return H0(v),o;if(j===g)return H0(v),c;j=j.sibling}throw Error(n(188))}if(f.return!==g.return)f=v,g=j;else{for(var P=!1,D=v.child;D;){if(D===f){P=!0,f=v,g=j;break}if(D===g){P=!0,g=v,f=j;break}D=D.sibling}if(!P){for(D=j.child;D;){if(D===f){P=!0,f=j,g=v;break}if(D===g){P=!0,g=j,f=v;break}D=D.sibling}if(!P)throw Error(n(189))}}if(f.alternate!==g)throw Error(n(190))}if(f.tag!==3)throw Error(n(188));return f.stateNode.current===f?o:c}function W0(o){return o=y_(o),o!==null?q0(o):null}function q0(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var c=q0(o);if(c!==null)return c;o=o.sibling}return null}var G0=t.unstable_scheduleCallback,Y0=t.unstable_cancelCallback,v_=t.unstable_shouldYield,b_=t.unstable_requestPaint,Pt=t.unstable_now,w_=t.unstable_getCurrentPriorityLevel,jf=t.unstable_ImmediatePriority,K0=t.unstable_UserBlockingPriority,lu=t.unstable_NormalPriority,j_=t.unstable_LowPriority,Q0=t.unstable_IdlePriority,cu=null,Mr=null;function N_(o){if(Mr&&typeof Mr.onCommitFiberRoot=="function")try{Mr.onCommitFiberRoot(cu,o,void 0,(o.current.flags&128)===128)}catch{}}var mr=Math.clz32?Math.clz32:C_,k_=Math.log,S_=Math.LN2;function C_(o){return o>>>=0,o===0?32:31-(k_(o)/S_|0)|0}var uu=64,du=4194304;function el(o){switch(o&-o){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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function hu(o,c){var f=o.pendingLanes;if(f===0)return 0;var g=0,v=o.suspendedLanes,j=o.pingedLanes,P=f&268435455;if(P!==0){var D=P&~v;D!==0?g=el(D):(j&=P,j!==0&&(g=el(j)))}else P=f&~v,P!==0?g=el(P):j!==0&&(g=el(j));if(g===0)return 0;if(c!==0&&c!==g&&(c&v)===0&&(v=g&-g,j=c&-c,v>=j||v===16&&(j&4194240)!==0))return c;if((g&4)!==0&&(g|=f&16),c=o.entangledLanes,c!==0)for(o=o.entanglements,c&=g;0<c;)f=31-mr(c),v=1<<f,g|=o[f],c&=~v;return g}function E_(o,c){switch(o){case 1:case 2:case 4:return c+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 c+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 P_(o,c){for(var f=o.suspendedLanes,g=o.pingedLanes,v=o.expirationTimes,j=o.pendingLanes;0<j;){var P=31-mr(j),D=1<<P,z=v[P];z===-1?((D&f)===0||(D&g)!==0)&&(v[P]=E_(D,c)):z<=c&&(o.expiredLanes|=D),j&=~D}}function Nf(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function X0(){var o=uu;return uu<<=1,(uu&4194240)===0&&(uu=64),o}function kf(o){for(var c=[],f=0;31>f;f++)c.push(o);return c}function tl(o,c,f){o.pendingLanes|=c,c!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,c=31-mr(c),o[c]=f}function T_(o,c){var f=o.pendingLanes&~c;o.pendingLanes=c,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=c,o.mutableReadLanes&=c,o.entangledLanes&=c,c=o.entanglements;var g=o.eventTimes;for(o=o.expirationTimes;0<f;){var v=31-mr(f),j=1<<v;c[v]=0,g[v]=-1,o[v]=-1,f&=~j}}function Sf(o,c){var f=o.entangledLanes|=c;for(o=o.entanglements;f;){var g=31-mr(f),v=1<<g;v&c|o[g]&c&&(o[g]|=c),f&=~v}}var ot=0;function J0(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Z0,Cf,ev,tv,nv,Ef=!1,fu=[],Cs=null,Es=null,Ps=null,nl=new Map,rl=new Map,Ts=[],A_="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 rv(o,c){switch(o){case"focusin":case"focusout":Cs=null;break;case"dragenter":case"dragleave":Es=null;break;case"mouseover":case"mouseout":Ps=null;break;case"pointerover":case"pointerout":nl.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":rl.delete(c.pointerId)}}function sl(o,c,f,g,v,j){return o===null||o.nativeEvent!==j?(o={blockedOn:c,domEventName:f,eventSystemFlags:g,
vendor: 4,281 bytes, line 37
37nativeEvent:j,targetContainers:[v]},c!==null&&(c=yl(c),c!==null&&Cf(c)),o):(o.eventSystemFlags|=g,c=o.targetContainers,v!==null&&c.indexOf(v)===-1&&c.push(v),o)}function __(o,c,f,g,v){switch(c){case"focusin":return Cs=sl(Cs,o,c,f,g,v),!0;case"dragenter":return Es=sl(Es,o,c,f,g,v),!0;case"mouseover":return Ps=sl(Ps,o,c,f,g,v),!0;case"pointerover":var j=v.pointerId;return nl.set(j,sl(nl.get(j)||null,o,c,f,g,v)),!0;case"gotpointercapture":return j=v.pointerId,rl.set(j,sl(rl.get(j)||null,o,c,f,g,v)),!0}return!1}function sv(o){var c=ki(o.target);if(c!==null){var f=Ni(c);if(f!==null){if(c=f.tag,c===13){if(c=$0(f),c!==null){o.blockedOn=c,nv(o.priority,function(){ev(f)});return}}else if(c===3&&f.stateNode.current.memoizedState.isDehydrated){o.blockedOn=f.tag===3?f.stateNode.containerInfo:null;return}}}o.blockedOn=null}function pu(o){if(o.blockedOn!==null)return!1;for(var c=o.targetContainers;0<c.length;){var f=Tf(o.domEventName,o.eventSystemFlags,c[0],o.nativeEvent);if(f===null){f=o.nativeEvent;var g=new f.constructor(f.type,f);Dn=g,f.target.dispatchEvent(g),Dn=null}else return c=yl(f),c!==null&&Cf(c),o.blockedOn=f,!1;c.shift()}return!0}function iv(o,c,f){pu(o)&&f.delete(c)}function R_(){Ef=!1,Cs!==null&&pu(Cs)&&(Cs=null),Es!==null&&pu(Es)&&(Es=null),Ps!==null&&pu(Ps)&&(Ps=null),nl.forEach(iv),rl.forEach(iv)}function il(o,c){o.blockedOn===c&&(o.blockedOn=null,Ef||(Ef=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,R_)))}function ol(o){function c(v){return il(v,o)}if(0<fu.length){il(fu[0],o);for(var f=1;f<fu.length;f++){var g=fu[f];g.blockedOn===o&&(g.blockedOn=null)}}for(Cs!==null&&il(Cs,o),Es!==null&&il(Es,o),Ps!==null&&il(Ps,o),nl.forEach(c),rl.forEach(c),f=0;f<Ts.length;f++)g=Ts[f],g.blockedOn===o&&(g.blockedOn=null);for(;0<Ts.length&&(f=Ts[0],f.blockedOn===null);)sv(f),f.blockedOn===null&&Ts.shift()}var Co=T.ReactCurrentBatchConfig,mu=!0;function I_(o,c,f,g){var v=ot,j=Co.transition;Co.transition=null;try{ot=1,Pf(o,c,f,g)}finally{ot=v,Co.transition=j}}function M_(o,c,f,g){var v=ot,j=Co.transition;Co.transition=null;try{ot=4,Pf(o,c,f,g)}finally{ot=v,Co.transition=j}}function Pf(o,c,f,g){if(mu){var v=Tf(o,c,f,g);if(v===null)qf(o,c,g,gu,f),rv(o,g);else if(__(v,o,c,f,g))g.stopPropagation();else if(rv(o,g),c&4&&-1<A_.indexOf(o)){for(;v!==null;){var j=yl(v);if(j!==null&&Z0(j),j=Tf(o,c,f,g),j===null&&qf(o,c,g,gu,f),j===v)break;v=j}v!==null&&g.stopPropagation()}else qf(o,c,g,null,f)}}var gu=null;function Tf(o,c,f,g){if(gu=null,o=xf(g),o=ki(o),o!==null)if(c=Ni(o),c===null)o=null;else if(f=c.tag,f===13){if(o=$0(c),o!==null)return o;o=null}else if(f===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;o=null}else c!==o&&(o=null);return gu=o,null}function ov(o){switch(o){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(w_()){case jf:return 1;case K0:return 4;case lu:case j_:return 16;case Q0:return 536870912;default:return 16}default:return 16}}var As=null,Af=null,xu=null;function av(){if(xu)return xu;var o,c=Af,f=c.length,g,v="value"in As?As.value:As.textContent,j=v.length;for(o=0;o<f&&c[o]===v[o];o++);var P=f-o;for(g=1;g<=P&&c[f-g]===v[j-g];g++);return xu=v.slice(o,1<g?1-g:void 0)}function yu(o){var c=o.keyCode;
vendor: 21,349 bytes, lines 37-38
37return"charCode"in o?(o=o.charCode,o===0&&c===13&&(o=13)):o=c,o===10&&(o=13),32<=o||o===13?o:0}function vu(){return!0}function lv(){return!1}function Ln(o){function c(f,g,v,j,P){this._reactName=f,this._targetInst=v,this.type=g,this.nativeEvent=j,this.target=P,this.currentTarget=null;for(var D in o)o.hasOwnProperty(D)&&(f=o[D],this[D]=f?f(j):j[D]);return this.isDefaultPrevented=(j.defaultPrevented!=null?j.defaultPrevented:j.returnValue===!1)?vu:lv,this.isPropagationStopped=lv,this}return A(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var f=this.nativeEvent;f&&(f.preventDefault?f.preventDefault():typeof f.returnValue!="unknown"&&(f.returnValue=!1),this.isDefaultPrevented=vu)},stopPropagation:function(){var f=this.nativeEvent;f&&(f.stopPropagation?f.stopPropagation():typeof f.cancelBubble!="unknown"&&(f.cancelBubble=!0),this.isPropagationStopped=vu)},persist:function(){},isPersistent:vu}),c}var Eo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_f=Ln(Eo),al=A({},Eo,{view:0,detail:0}),O_=Ln(al),Rf,If,ll,bu=A({},al,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Of,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==ll&&(ll&&o.type==="mousemove"?(Rf=o.screenX-ll.screenX,If=o.screenY-ll.screenY):If=Rf=0,ll=o),Rf)},movementY:function(o){return"movementY"in o?o.movementY:If}}),cv=Ln(bu),D_=A({},bu,{dataTransfer:0}),L_=Ln(D_),F_=A({},al,{relatedTarget:0}),Mf=Ln(F_),z_=A({},Eo,{animationName:0,elapsedTime:0,pseudoElement:0}),B_=Ln(z_),V_=A({},Eo,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),U_=Ln(V_),$_=A({},Eo,{data:0}),uv=Ln($_),H_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},W_={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"},q_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function G_(o){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(o):(o=q_[o])?!!c[o]:!1}function Of(){return G_}var Y_=A({},al,{key:function(o){if(o.key){var c=H_[o.key]||o.key;if(c!=="Unidentified")return c}return o.type==="keypress"?(o=yu(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?W_[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Of,charCode:function(o){return o.type==="keypress"?yu(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?yu(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),K_=Ln(Y_),Q_=A({},bu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),dv=Ln(Q_),X_=A({},al,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Of}),J_=Ln(X_),Z_=A({},Eo,{propertyName:0,elapsedTime:0,pseudoElement:0}),eR=Ln(Z_),tR=A({},bu,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),nR=Ln(tR),rR=[9,13,27,32],Df=u&&"CompositionEvent"in window,cl=null;u&&"documentMode"in document&&(cl=document.documentMode);var sR=u&&"TextEvent"in window&&!cl,hv=u&&(!Df||cl&&8<cl&&11>=cl),fv=" ",pv=!1;function mv(o,c){switch(o){case"keyup":return rR.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gv(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Po=!1;function iR(o,c){switch(o){case"compositionend":return gv(c);case"keypress":return c.which!==32?null:(pv=!0,fv);case"textInput":return o=c.data,o===fv&&pv?null:o;default:return null}}function oR(o,c){if(Po)return o==="compositionend"||!Df&&mv(o,c)?(o=av(),xu=Af=As=null,Po=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return hv&&c.locale!=="ko"?null:c.data;default:return null}}var aR={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 xv(o){var c=o&&o.nodeName&&o.nodeName.toLowerCase();return c==="input"?!!aR[o.type]:c==="textarea"}function yv(o,c,f,g){F0(g),c=Su(c,"onChange"),0<c.length&&(f=new _f("onChange","change",null,f,g),o.push({event:f,listeners:c}))}var ul=null,dl=null;function lR(o){Dv(o,0)}function wu(o){var c=Io(o);if(Fe(c))return o}function cR(o,c){if(o==="change")return c}var vv=!1;if(u){var Lf;if(u){var Ff="oninput"in document;if(!Ff){var bv=document.createElement("div");bv.setAttribute("oninput","return;"),Ff=typeof bv.oninput=="function"}Lf=Ff}else Lf=!1;vv=Lf&&(!document.documentMode||9<document.documentMode)}function wv(){ul&&(ul.detachEvent("onpropertychange",jv),dl=ul=null)}function jv(o){if(o.propertyName==="value"&&wu(dl)){var c=[];yv(c,dl,o,xf(o)),U0(lR,c)}}function uR(o,c,f){o==="focusin"?(wv(),ul=c,dl=f,ul.attachEvent("onpropertychange",jv)):o==="focusout"&&wv()}function dR(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return wu(dl)}function hR(o,c){if(o==="click")return wu(c)}function fR(o,c){if(o==="input"||o==="change")return wu(c)}function pR(o,c){return o===c&&(o!==0||1/o===1/c)||o!==o&&c!==c}var gr=typeof Object.is=="function"?Object.is:pR;function hl(o,c){if(gr(o,c))return!0;if(typeof o!="object"||o===null||typeof c!="object"||c===null)return!1;var f=Object.keys(o),g=Object.keys(c);if(f.length!==g.length)return!1;for(g=0;g<f.length;g++){var v=f[g];if(!d.call(c,v)||!gr(o[v],c[v]))return!1}return!0}function Nv(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function kv(o,c){var f=Nv(o);o=0;for(var g;f;){if(f.nodeType===3){if(g=o+f.textContent.length,o<=c&&g>=c)return{node:f,offset:c-o};o=g}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=Nv(f)}}function Sv(o,c){return o&&c?o===c?!0:o&&o.nodeType===3?!1:c&&c.nodeType===3?Sv(o,c.parentNode):"contains"in o?o.contains(c):o.compareDocumentPosition?!!(o.compareDocumentPosition(c)&16):!1:!1}function Cv(){for(var o=window,c=bt();c instanceof o.HTMLIFrameElement;){try{var f=typeof c.contentWindow.location.href=="string"}catch{f=!1}if(f)o=c.contentWindow;else break;c=bt(o.document)}return c}function zf(o){var c=o&&o.nodeName&&o.nodeName.toLowerCase();return c&&(c==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||c==="textarea"||o.contentEditable==="true")}function mR(o){var c=Cv(),f=o.focusedElem,g=o.selectionRange;if(c!==f&&f&&f.ownerDocument&&Sv(f.ownerDocument.documentElement,f)){if(g!==null&&zf(f)){if(c=g.start,o=g.end,o===void 0&&(o=c),"selectionStart"in f)f.selectionStart=c,f.selectionEnd=Math.min(o,f.value.length);else if(o=(c=f.ownerDocument||document)&&c.defaultView||window,o.getSelection){o=o.getSelection();var v=f.textContent.length,j=Math.min(g.start,v);g=g.end===void 0?j:Math.min(g.end,v),!o.extend&&j>g&&(v=g,g=j,j=v),v=kv(f,j);var P=kv(f,g);v&&P&&(o.rangeCount!==1||o.anchorNode!==v.node||o.anchorOffset!==v.offset||o.focusNode!==P.node||o.focusOffset!==P.offset)&&(c=c.createRange(),c.setStart(v.node,v.offset),o.removeAllRanges(),j>g?(o.addRange(c),o.extend(P.node,P.offset)):(c.setEnd(P.node,P.offset),o.addRange(c)))}}for(c=[],o=f;o=o.parentNode;)o.nodeType===1&&c.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<c.length;f++)o=c[f],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var gR=u&&"documentMode"in document&&11>=document.documentMode,To=null,Bf=null,fl=null,Vf=!1;function Ev(o,c,f){var g=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;Vf||To==null||To!==bt(g)||(g=To,"selectionStart"in g&&zf(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),fl&&hl(fl,g)||(fl=g,g=Su(Bf,"onSelect"),0<g.length&&(c=new _f("onSelect","select",null,c,f),o.push({event:c,listeners:g}),c.target=To)))}function ju(o,c){var f={};return f[o.toLowerCase()]=c.toLowerCase(),f["Webkit"+o]="webkit"+c,f["Moz"+o]="moz"+c,f}var Ao={animationend:ju("Animation","AnimationEnd"),animationiteration:ju("Animation","AnimationIteration"),animationstart:ju("Animation","AnimationStart"),transitionend:ju("Transition","TransitionEnd")},Uf={},Pv={};u&&(Pv=document.createElement("div").style,"AnimationEvent"in window||(delete Ao.animationend.animation,delete Ao.animationiteration.animation,delete Ao.animationstart.animation),"TransitionEvent"in window||delete Ao.transitionend.transition);function Nu(o){if(Uf[o])return Uf[o];if(!Ao[o])return o;var c=Ao[o],f;for(f in c)if(c.hasOwnProperty(f)&&f in Pv)return Uf[o]=c[f];return o}var Tv=Nu("animationend"),Av=Nu("animationiteration"),_v=Nu("animationstart"),Rv=Nu("transitionend"),Iv=new Map,Mv="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 _s(o,c){Iv.set(o,c),a(c,[o])}for(var $f=0;$f<Mv.length;$f++){var Hf=Mv[$f],xR=Hf.toLowerCase(),yR=Hf[0].toUpperCase()+Hf.slice(1);_s(xR,"on"+yR)}_s(Tv,"onAnimationEnd"),_s(Av,"onAnimationIteration"),_s(_v,"onAnimationStart"),_s("dblclick","onDoubleClick"),_s("focusin","onFocus"),_s("focusout","onBlur"),_s(Rv,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pl="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(" "),vR=new Set("cancel close invalid load scroll toggle".split(" ").concat(pl));function Ov(o,c,f){var g=o.type||"unknown-event";o.currentTarget=f,x_(g,c,void 0,o),o.currentTarget=null}function Dv(o,c){c=(c&4)!==0;for(var f=0;f<o.length;f++){var g=o[f],v=g.event;g=g.listeners;e:{var j=void 0;if(c)for(var P=g.length-1;0<=P;P--){var D=g[P],z=D.instance,X=D.currentTarget;if(D=D.listener,z!==j&&v.isPropagationStopped())break e;Ov(v,D,X),j=z}else for(P=0;P<g.length;P++){if(D=g[P],z=D.instance,X=D.currentTarget,D=D.listener,z!==j&&v.isPropagationStopped())break e;Ov(v,D,X),j=z}}}if(au)throw o=wf,au=!1,wf=null,o}function mt(o,c){var f=c[Jf];f===void 0&&(f=c[Jf]=new Set);var g=o+"__bubble";f.has(g)||(Lv(c,o,2,!1),f.add(g))}function Wf(o,c,f){var g=0;c&&(g|=4),Lv(f,o,g,c)}var ku="_reactListening"+Math.random().toString(36).slice(2);function ml(o){if(!o[ku]){o[ku]=!0,r.forEach(function(f){f!=="selectionchange"&&(vR.has(f)||Wf(f,!1,o),Wf(f,!0,o))});var c=o.nodeType===9?o:o.ownerDocument;c===null||c[ku]||(c[ku]=!0,Wf("selectionchange",!1,c))}}function Lv(o,c,f,g){switch(ov(c)){case 1:var v=I_;break;case 4:v=M_;break;default:v=Pf}f=v.bind(null,c,f,o),v=void 0,!bf||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(v=!0),g?v!==void 0?o.addEventListener(c,f,{capture:!0,passive:v}):o.addEventListener(c,f,!0):v!==void 0?o.addEventListener(c,f,{passive:v}):o.addEventListener(c,f,!1)}function qf(o,c,f,g,v){var j=g;if((c&1)===0&&(c&2)===0&&g!==null)e:for(;;){if(g===null)return;var P=g.tag;if(P===3||P===4){var D=g.stateNode.containerInfo;if(D===v||D.nodeType===8&&D.parentNode===v)break;if(P===4)for(P=g.return;P!==null;){var z=P.tag;if((z===3||z===4)&&(z=P.stateNode.containerInfo,z===v||z.nodeType===8&&z.parentNode===v))return;P=P.return}for(;D!==null;){if(P=ki(D),P===null)return;if(z=P.tag,z===5||z===6){g=j=P;continue e}D=D.parentNode}}g=g.return}U0(function(){var X=j,ae=xf(f),ce=[];e:{var oe=Iv.get(o);if(oe!==void 0){var xe=_f,je=o;switch(o){case"keypress":if(yu(f)===0)break e;case"keydown":case"keyup":xe=K_;break;case"focusin":je="focus",xe=Mf;break;case"focusout":je="blur",xe=Mf;break;case"beforeblur":case"afterblur":xe=Mf;break;case"click":if(f.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":xe=cv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":xe=L_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":xe=J_;break;case Tv:case Av:case _v:xe=B_;break;case Rv:xe=eR;break;case"scroll":xe=O_;break;case"wheel":xe=nR;break;case"copy":case"cut":case"paste":xe=U_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":xe=dv}var Ce=(c&4)!==0,Tt=!Ce&&o==="scroll",Y=Ce?oe!==null?oe+"Capture":null:oe;Ce=[];for(var H=X,K;H!==null;){K=H;var de=K.stateNode;if(K.tag===5&&de!==null&&(K=de,Y!==null&&(de=Xa(H,Y),de!=null&&Ce.push(gl(H,de,K)))),Tt)break;H=H.return}0<Ce.length&&(oe=new xe(oe,je,null,f,ae),ce.push({event:oe,listeners:Ce}))}}if((c&7)===0){e:{if(oe=o==="mouseover"||o==="pointerover",xe=o==="mouseout"||o==="pointerout",oe&&f!==Dn&&(je=f.relatedTarget||f.fromElement)&&(ki(je)||je[rs]))break e;if((xe||oe)&&(oe=ae.window===ae?ae:(oe=ae.ownerDocument)?oe.defaultView||oe.parentWindow:window,xe?(je=f.relatedTarget||f.toElement,xe=X,je=je?ki(je):null,je!==null&&(Tt=Ni(je),je!==Tt||je.tag!==5&&je.tag!==6)&&(je=null)):(xe=null,je=X),xe!==je)){if(Ce=cv,de="onMouseLeave",Y="onMouseEnter",H="mouse",(o==="pointerout"||o==="pointerover")&&(Ce=dv,de="onPointerLeave",Y="onPointerEnter",H="pointer"),Tt=xe==null?oe:Io(xe),K=je==null?oe:Io(je),oe=new Ce(de,H+"leave",xe,f,ae),oe.target=Tt,oe.relatedTarget=K,de=null,ki(ae)===X&&(Ce=new Ce(Y,H+"enter",je,f,ae),Ce.target=K,Ce.relatedTarget=Tt,de=Ce),Tt=de,xe&&je)t:{for(Ce=xe,Y=je,H=0,K=Ce;K;K=_o(K))H++;for(K=0,de=Y;de;de=_o(de))K++;for(;0<H-K;)Ce=_o(Ce),H--;for(;0<K-H;)Y=_o(Y),K--;for(;H--;){if(Ce===Y||Y!==null&&Ce===Y.alternate)break t;Ce=_o(Ce),Y=_o(Y)}Ce=null}else Ce=null;xe!==null&&Fv(ce,oe,xe,Ce,!1),je!==null&&Tt!==null&&Fv(ce,Tt,je,Ce,!0)}}e:{if(oe=X?Io(X):window,xe=oe.nodeName&&oe.nodeName.toLowerCase(),xe==="select"||xe==="input"&&oe.type==="file")var Ee=cR;else if(xv(oe))if(vv)Ee=fR;else{Ee=dR;var Ie=uR}else(xe=oe.nodeName)&&xe.toLowerCase()==="input"&&(oe.type==="checkbox"||oe.type==="radio")&&(Ee=hR);if(Ee&&(Ee=Ee(o,X))){yv(ce,Ee,f,ae);break e}Ie&&Ie(o,oe,X),o==="focusout"&&(Ie=oe._wrapperState)&&Ie.controlled&&oe.type==="number"&&Ft(oe,"number",oe.value)}switch(Ie=X?Io(X):window,o){case"focusin":(xv(Ie)||Ie.contentEditable==="true")&&(To=Ie,Bf=X,fl=null);break;case"focusout":fl=Bf=To=null;break;case"mousedown":Vf=!0;break;case"contextmenu":case"mouseup":case"dragend":Vf=!1,Ev(ce,f,ae);break;case"selectionchange":if(gR)break;case"keydown":case"keyup":Ev(ce,f,ae)}var Me;if(Df)e:{switch(o){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else Po?mv(o,f)&&(Be="onCompositionEnd"):o==="keydown"&&f.keyCode===229&&(Be="onCompositionStart");Be&&(hv&&f.locale!=="ko"&&(Po||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&Po&&(Me=av()):(As=ae,Af="value"in As?As.value:As.textContent,Po=!0)),Ie=Su(X,Be),0<Ie.length&&(Be=new uv(Be,o,null,f,ae),ce.push({event:Be,listeners:Ie}),Me?Be.data=Me:(Me=gv(f),Me!==null&&(Be.data=Me)))),(Me=sR?iR(o,f):oR(o,f))&&(X=Su(X,"onBeforeInput"),0<X.length&&(ae=new uv("onBeforeInput","beforeinput",null,f,ae),ce.push({event:ae,listeners:X}),ae.data=Me))}Dv(ce,c)})}function gl(o,c,f){return{instance:o,listener:c,currentTarget:f}}function Su(o,c){for(var f=c+"Capture",g=[];o!==null;){var v=o,j=v.stateNode;v.tag===5&&j!==null&&(v=j,j=Xa(o,f),j!=null&&g.unshift(gl(o,j,v)),j=Xa(o,c),j!=null&&g.push(gl(o,j,v))),o=o.return}return g}function _o(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Fv(o,c,f,g,v){for(var j=c._reactName,P=[];f!==null&&f!==g;){var D=f,z=D.alternate,X=D.stateNode;if(z!==null&&z===g)break;D.tag===5&&X!==null&&(D=X,v?(z=Xa(f,j),z!=null&&P.unshift(gl(f,z,D))):v||(z=Xa(f,j),z!=null&&P.push(gl(f,z,D)))),f=f.return}P.length!==0&&o.push({event:c,listeners:P})}var bR=/\r\n?/g,wR=/\u0000|\uFFFD/g;function zv(o){return(typeof o=="string"?o:""+o).replace(bR,`
38`).replace(wR,"")}function Cu(o,c,f){if(c=zv(c),zv(o)!==c&&f)throw Error(n(425))}function Eu(){}var Gf=null,Yf=null;function Kf(o,c){return o==="textarea"||o==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var Qf=typeof setTimeout=="function"?setTimeout:void 0,jR=typeof clearTimeout=="function"?clearTimeout:void 0,Bv=typeof Promise=="function"?Promise:void 0,NR=typeof queueMicrotask=="function"?queueMicrotask:typeof Bv<"u"?function(o){return Bv.resolve(null).then(o).catch(kR)}:Qf;function kR(o){setTimeout(function(){throw o})}function Xf(o,c){var f=c,g=0;do{var v=f.nextSibling;if(o.removeChild(f),v&&v.nodeType===8)if(f=v.data,f==="/$"){if(g===0){o.removeChild(v),ol(c);return}g--}else f!=="$"&&f!=="$?"&&f!=="$!"||g++;f=v}while(f);ol(c)}function Rs(o){for(;o!=null;o=o.nextSibling){var c=o.nodeType;if(c===1||c===3)break;if(c===8){if(c=o.data,c==="$"||c==="$!"||c==="$?")break;if(c==="/$")return null}}return o}function Vv(o){o=o.previousSibling;for(var c=0;o;){if(o.nodeType===8){var f=o.data;if(f==="$"||f==="$!"||f==="$?"){if(c===0)return o;c--}else f==="/$"&&c++}o=o.previousSibling}return null}var Ro=Math.random().toString(36).slice(2),Or="__reactFiber$"+Ro,xl="__reactProps$"+Ro,rs="__reactContainer$"+Ro,Jf="__reactEvents$"+Ro,SR="__reactListeners$"+Ro,CR="__reactHandles$"+Ro;function ki(o){var c=o[Or];if(c)return c;for(var f=o.parentNode;f;){if(c=f[rs]||f[Or]){if(f=c.alternate,c.child!==null||f!==null&&f.child!==null)for(o=Vv(o);o!==null;){if(f=o[Or])return f;o=Vv(o)}return c}o=f,f=o.parentNode}return null}function yl(o){return o=o[Or]||o[rs],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Io(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(n(33))}function Pu(o){return o[xl]||null}var Zf=[],Mo=-1;function Is(o){return{current:o}}function gt(o){0>Mo||(o.current=Zf[Mo],Zf[Mo]=null,Mo--)}function dt(o,c){Mo++,Zf[Mo]=o.current,o.current=c}var Ms={},sn=Is(Ms),kn=Is(!1),Si=Ms;function Oo(o,c){var f=o.type.contextTypes;if(!f)return Ms;var g=o.stateNode;if(g&&g.__reactInternalMemoizedUnmaskedChildContext===c)return g.__reactInternalMemoizedMaskedChildContext;var v={},j;for(j in f)v[j]=c[j];return g&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=c,o.__reactInternalMemoizedMaskedChildContext=v),v}function Sn(o){return o=o.childContextTypes,o!=null}function Tu(){gt(kn),gt(sn)}function Uv(o,c,f){if(sn.current!==Ms)throw Error(n(168));dt(sn,c),dt(kn,f)}function $v(o,c,f){var g=o.stateNode;if(c=c.childContextTypes,typeof g.getChildContext!="function")return f;g=g.getChildContext();for(var v in g)if(!(v in c))throw Error(n(108,re(o)||"Unknown",v));return A({},f,g)}function Au(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Ms,Si=sn.current,dt(sn,o),dt(kn,kn.current),!0}function Hv(o,c,f){var g=o.stateNode;if(!g)throw Error(n(169));f?(o=$v(o,c,Si),g.__reactInternalMemoizedMergedChildContext=o,gt(kn),gt(sn),dt(sn,o)):gt(kn),dt(kn,f)}var ss=null,_u=!1,ep=!1;
vendor: 4,974 bytes, line 38
38function Wv(o){ss===null?ss=[o]:ss.push(o)}function ER(o){_u=!0,Wv(o)}function Os(){if(!ep&&ss!==null){ep=!0;var o=0,c=ot;try{var f=ss;for(ot=1;o<f.length;o++){var g=f[o];do g=g(!0);while(g!==null)}ss=null,_u=!1}catch(v){throw ss!==null&&(ss=ss.slice(o+1)),G0(jf,Os),v}finally{ot=c,ep=!1}}return null}var Do=[],Lo=0,Ru=null,Iu=0,Xn=[],Jn=0,Ci=null,is=1,os="";function Ei(o,c){Do[Lo++]=Iu,Do[Lo++]=Ru,Ru=o,Iu=c}function qv(o,c,f){Xn[Jn++]=is,Xn[Jn++]=os,Xn[Jn++]=Ci,Ci=o;var g=is;o=os;var v=32-mr(g)-1;g&=~(1<<v),f+=1;var j=32-mr(c)+v;if(30<j){var P=v-v%5;j=(g&(1<<P)-1).toString(32),g>>=P,v-=P,is=1<<32-mr(c)+v|f<<v|g,os=j+o}else is=1<<j|f<<v|g,os=o}function tp(o){o.return!==null&&(Ei(o,1),qv(o,1,0))}function np(o){for(;o===Ru;)Ru=Do[--Lo],Do[Lo]=null,Iu=Do[--Lo],Do[Lo]=null;for(;o===Ci;)Ci=Xn[--Jn],Xn[Jn]=null,os=Xn[--Jn],Xn[Jn]=null,is=Xn[--Jn],Xn[Jn]=null}var Fn=null,zn=null,vt=!1,xr=null;function Gv(o,c){var f=nr(5,null,null,0);f.elementType="DELETED",f.stateNode=c,f.return=o,c=o.deletions,c===null?(o.deletions=[f],o.flags|=16):c.push(f)}function Yv(o,c){switch(o.tag){case 5:var f=o.type;return c=c.nodeType!==1||f.toLowerCase()!==c.nodeName.toLowerCase()?null:c,c!==null?(o.stateNode=c,Fn=o,zn=Rs(c.firstChild),!0):!1;case 6:return c=o.pendingProps===""||c.nodeType!==3?null:c,c!==null?(o.stateNode=c,Fn=o,zn=null,!0):!1;case 13:return c=c.nodeType!==8?null:c,c!==null?(f=Ci!==null?{id:is,overflow:os}:null,o.memoizedState={dehydrated:c,treeContext:f,retryLane:1073741824},f=nr(18,null,null,0),f.stateNode=c,f.return=o,o.child=f,Fn=o,zn=null,!0):!1;default:return!1}}function rp(o){return(o.mode&1)!==0&&(o.flags&128)===0}function sp(o){if(vt){var c=zn;if(c){var f=c;if(!Yv(o,c)){if(rp(o))throw Error(n(418));c=Rs(f.nextSibling);var g=Fn;c&&Yv(o,c)?Gv(g,f):(o.flags=o.flags&-4097|2,vt=!1,Fn=o)}}else{if(rp(o))throw Error(n(418));o.flags=o.flags&-4097|2,vt=!1,Fn=o}}}function Kv(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;Fn=o}function Mu(o){if(o!==Fn)return!1;if(!vt)return Kv(o),vt=!0,!1;var c;if((c=o.tag!==3)&&!(c=o.tag!==5)&&(c=o.type,c=c!=="head"&&c!=="body"&&!Kf(o.type,o.memoizedProps)),c&&(c=zn)){if(rp(o))throw Qv(),Error(n(418));for(;c;)Gv(o,c),c=Rs(c.nextSibling)}if(Kv(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));e:{for(o=o.nextSibling,c=0;o;){if(o.nodeType===8){var f=o.data;if(f==="/$"){if(c===0){zn=Rs(o.nextSibling);break e}c--}else f!=="$"&&f!=="$!"&&f!=="$?"||c++}o=o.nextSibling}zn=null}}else zn=Fn?Rs(o.stateNode.nextSibling):null;return!0}function Qv(){for(var o=zn;o;)o=Rs(o.nextSibling)}function Fo(){zn=Fn=null,vt=!1}function ip(o){xr===null?xr=[o]:xr.push(o)}var PR=T.ReactCurrentBatchConfig;function vl(o,c,f){if(o=f.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(f._owner){if(f=f._owner,f){if(f.tag!==1)throw Error(n(309));var g=f.stateNode}if(!g)throw Error(n(147,o));var v=g,j=""+o;return c!==null&&c.ref!==null&&typeof c.ref=="function"&&c.ref._stringRef===j?c.ref:(c=function(P){var D=v.refs;P===null?delete D[j]:D[j]=P},c._stringRef=j,c)}if(typeof o!="string")throw Error(n(284));if(!f._owner)throw Error(n(290,o))}return o}function Ou(o,c){throw o=Object.prototype.toString.call(c),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":o))}function Xv(o){var c=o._init;return c(o._payload)}function Jv(o){function c(Y,H){if(o){var K=Y.deletions;K===null?(Y.deletions=[H],Y.flags|=16):K.push(H)}}function f(Y,H){if(!o)return null;for(;H!==null;)c(Y,H),H=H.sibling;return null}function g(Y,H){for(Y=new Map;H!==null;)H.key!==null?Y.set(H.key,H):Y.set(H.index,H),H=H.sibling;return Y}function v(Y,H){return Y=$s(Y,H),Y.index=0,Y.sibling=null,Y}function j(Y,H,K){return Y.index=K,o?(K=Y.alternate,K!==null?(K=K.index,K<H?(Y.flags|=2,H):K):(Y.flags|=2,H)):(Y.flags|=1048576,H)}function P(Y){return o&&Y.alternate===null&&(Y.flags|=2),Y}function D(Y,H,K,de){return H===null||H.tag!==6?(H=Qp(K,Y.mode,de),H.return=Y,H):(H=v(H,K),H.return=Y,H)}function z(Y,H,K,de){var Ee=K.type;return Ee===V?ae(Y,H,K.props.children,de,K.key):H!==null&&(H.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===se&&Xv(Ee)===H.type)?(de=v(H,K.props),de.ref=vl(Y,H,K),de.return=Y,de):(de=id(K.type,K.key,K.props,null,Y.mode,de),de.ref=vl(Y,H,K),de.return=Y,de)}function X(Y,H,K,de){return H===null||H.tag!==4||H.stateNode.containerInfo!==K.containerInfo||H.stateNode.implementation!==K.implementation?(H=Xp(K,Y.mode,de),H.return=Y,H):(H=v(H,K.children||[]),H.return=Y,H)}function ae(Y,H,K,de,Ee){return H===null||H.tag!==7?(H=Oi(K,Y.mode,de,Ee),H.return=Y,H):(H=v(H,K),H.return=Y,H)}function ce(Y,H,K){if(typeof H=="string"&&H!==""||typeof H=="number")return H=Qp(""+H,Y.mode,K),H.return=Y,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case I:return K=id(H.type,H.key,H.props,null,Y.mode,K),K.ref=vl(Y,null,H),K.return=Y,K;case _:return H=Xp(H,Y.mode,K),H.return=Y,H;case se:var de=H._init;return ce(Y,de(H._payload),K)}
vendor: 11,152 bytes, line 38
38if(fr(H)||J(H))return H=Oi(H,Y.mode,K,null),H.return=Y,H;Ou(Y,H)}return null}function oe(Y,H,K,de){var Ee=H!==null?H.key:null;if(typeof K=="string"&&K!==""||typeof K=="number")return Ee!==null?null:D(Y,H,""+K,de);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case I:return K.key===Ee?z(Y,H,K,de):null;case _:return K.key===Ee?X(Y,H,K,de):null;case se:return Ee=K._init,oe(Y,H,Ee(K._payload),de)}if(fr(K)||J(K))return Ee!==null?null:ae(Y,H,K,de,null);Ou(Y,K)}return null}function xe(Y,H,K,de,Ee){if(typeof de=="string"&&de!==""||typeof de=="number")return Y=Y.get(K)||null,D(H,Y,""+de,Ee);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case I:return Y=Y.get(de.key===null?K:de.key)||null,z(H,Y,de,Ee);case _:return Y=Y.get(de.key===null?K:de.key)||null,X(H,Y,de,Ee);case se:var Ie=de._init;return xe(Y,H,K,Ie(de._payload),Ee)}if(fr(de)||J(de))return Y=Y.get(K)||null,ae(H,Y,de,Ee,null);Ou(H,de)}return null}function je(Y,H,K,de){for(var Ee=null,Ie=null,Me=H,Be=H=0,Ht=null;Me!==null&&Be<K.length;Be++){Me.index>Be?(Ht=Me,Me=null):Ht=Me.sibling;var rt=oe(Y,Me,K[Be],de);if(rt===null){Me===null&&(Me=Ht);break}o&&Me&&rt.alternate===null&&c(Y,Me),H=j(rt,H,Be),Ie===null?Ee=rt:Ie.sibling=rt,Ie=rt,Me=Ht}if(Be===K.length)return f(Y,Me),vt&&Ei(Y,Be),Ee;if(Me===null){for(;Be<K.length;Be++)Me=ce(Y,K[Be],de),Me!==null&&(H=j(Me,H,Be),Ie===null?Ee=Me:Ie.sibling=Me,Ie=Me);return vt&&Ei(Y,Be),Ee}for(Me=g(Y,Me);Be<K.length;Be++)Ht=xe(Me,Y,Be,K[Be],de),Ht!==null&&(o&&Ht.alternate!==null&&Me.delete(Ht.key===null?Be:Ht.key),H=j(Ht,H,Be),Ie===null?Ee=Ht:Ie.sibling=Ht,Ie=Ht);return o&&Me.forEach(function(Hs){return c(Y,Hs)}),vt&&Ei(Y,Be),Ee}function Ce(Y,H,K,de){var Ee=J(K);if(typeof Ee!="function")throw Error(n(150));if(K=Ee.call(K),K==null)throw Error(n(151));for(var Ie=Ee=null,Me=H,Be=H=0,Ht=null,rt=K.next();Me!==null&&!rt.done;Be++,rt=K.next()){Me.index>Be?(Ht=Me,Me=null):Ht=Me.sibling;var Hs=oe(Y,Me,rt.value,de);if(Hs===null){Me===null&&(Me=Ht);break}o&&Me&&Hs.alternate===null&&c(Y,Me),H=j(Hs,H,Be),Ie===null?Ee=Hs:Ie.sibling=Hs,Ie=Hs,Me=Ht}if(rt.done)return f(Y,Me),vt&&Ei(Y,Be),Ee;if(Me===null){for(;!rt.done;Be++,rt=K.next())rt=ce(Y,rt.value,de),rt!==null&&(H=j(rt,H,Be),Ie===null?Ee=rt:Ie.sibling=rt,Ie=rt);return vt&&Ei(Y,Be),Ee}for(Me=g(Y,Me);!rt.done;Be++,rt=K.next())rt=xe(Me,Y,Be,rt.value,de),rt!==null&&(o&&rt.alternate!==null&&Me.delete(rt.key===null?Be:rt.key),H=j(rt,H,Be),Ie===null?Ee=rt:Ie.sibling=rt,Ie=rt);return o&&Me.forEach(function(a4){return c(Y,a4)}),vt&&Ei(Y,Be),Ee}function Tt(Y,H,K,de){if(typeof K=="object"&&K!==null&&K.type===V&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case I:e:{for(var Ee=K.key,Ie=H;Ie!==null;){if(Ie.key===Ee){if(Ee=K.type,Ee===V){if(Ie.tag===7){f(Y,Ie.sibling),H=v(Ie,K.props.children),H.return=Y,Y=H;break e}}else if(Ie.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===se&&Xv(Ee)===Ie.type){f(Y,Ie.sibling),H=v(Ie,K.props),H.ref=vl(Y,Ie,K),H.return=Y,Y=H;break e}f(Y,Ie);break}else c(Y,Ie);Ie=Ie.sibling}K.type===V?(H=Oi(K.props.children,Y.mode,de,K.key),H.return=Y,Y=H):(de=id(K.type,K.key,K.props,null,Y.mode,de),de.ref=vl(Y,H,K),de.return=Y,Y=de)}return P(Y);case _:e:{for(Ie=K.key;H!==null;){if(H.key===Ie)if(H.tag===4&&H.stateNode.containerInfo===K.containerInfo&&H.stateNode.implementation===K.implementation){f(Y,H.sibling),H=v(H,K.children||[]),H.return=Y,Y=H;break e}else{f(Y,H);break}else c(Y,H);H=H.sibling}H=Xp(K,Y.mode,de),H.return=Y,Y=H}return P(Y);case se:return Ie=K._init,Tt(Y,H,Ie(K._payload),de)}if(fr(K))return je(Y,H,K,de);if(J(K))return Ce(Y,H,K,de);Ou(Y,K)}return typeof K=="string"&&K!==""||typeof K=="number"?(K=""+K,H!==null&&H.tag===6?(f(Y,H.sibling),H=v(H,K),H.return=Y,Y=H):(f(Y,H),H=Qp(K,Y.mode,de),H.return=Y,Y=H),P(Y)):f(Y,H)}return Tt}var zo=Jv(!0),Zv=Jv(!1),Du=Is(null),Lu=null,Bo=null,op=null;function ap(){op=Bo=Lu=null}function lp(o){var c=Du.current;gt(Du),o._currentValue=c}function cp(o,c,f){for(;o!==null;){var g=o.alternate;if((o.childLanes&c)!==c?(o.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),o===f)break;o=o.return}}function Vo(o,c){Lu=o,op=Bo=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&c)!==0&&(Cn=!0),o.firstContext=null)}function Zn(o){var c=o._currentValue;if(op!==o)if(o={context:o,memoizedValue:c,next:null},Bo===null){if(Lu===null)throw Error(n(308));Bo=o,Lu.dependencies={lanes:0,firstContext:o}}else Bo=Bo.next=o;return c}var Pi=null;function up(o){Pi===null?Pi=[o]:Pi.push(o)}function eb(o,c,f,g){var v=c.interleaved;return v===null?(f.next=f,up(c)):(f.next=v.next,v.next=f),c.interleaved=f,as(o,g)}function as(o,c){o.lanes|=c;var f=o.alternate;for(f!==null&&(f.lanes|=c),f=o,o=o.return;o!==null;)o.childLanes|=c,f=o.alternate,f!==null&&(f.childLanes|=c),f=o,o=o.return;return f.tag===3?f.stateNode:null}var Ds=!1;function dp(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function tb(o,c){o=o.updateQueue,c.updateQueue===o&&(c.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function ls(o,c){return{eventTime:o,lane:c,tag:0,payload:null,callback:null,next:null}}function Ls(o,c,f){var g=o.updateQueue;if(g===null)return null;if(g=g.shared,(nt&2)!==0){var v=g.pending;return v===null?c.next=c:(c.next=v.next,v.next=c),g.pending=c,as(o,f)}return v=g.interleaved,v===null?(c.next=c,up(g)):(c.next=v.next,v.next=c),g.interleaved=c,as(o,f)}function Fu(o,c,f){if(c=c.updateQueue,c!==null&&(c=c.shared,(f&4194240)!==0)){var g=c.lanes;g&=o.pendingLanes,f|=g,c.lanes=f,Sf(o,f)}}function nb(o,c){var f=o.updateQueue,g=o.alternate;if(g!==null&&(g=g.updateQueue,f===g)){var v=null,j=null;if(f=f.firstBaseUpdate,f!==null){do{var P={eventTime:f.eventTime,lane:f.lane,tag:f.tag,payload:f.payload,callback:f.callback,next:null};j===null?v=j=P:j=j.next=P,f=f.next}while(f!==null);j===null?v=j=c:j=j.next=c}else v=j=c;f={baseState:g.baseState,firstBaseUpdate:v,lastBaseUpdate:j,shared:g.shared,effects:g.effects},o.updateQueue=f;return}o=f.lastBaseUpdate,o===null?f.firstBaseUpdate=c:o.next=c,f.lastBaseUpdate=c}function zu(o,c,f,g){var v=o.updateQueue;Ds=!1;var j=v.firstBaseUpdate,P=v.lastBaseUpdate,D=v.shared.pending;if(D!==null){v.shared.pending=null;var z=D,X=z.next;z.next=null,P===null?j=X:P.next=X,P=z;var ae=o.alternate;ae!==null&&(ae=ae.updateQueue,D=ae.lastBaseUpdate,D!==P&&(D===null?ae.firstBaseUpdate=X:D.next=X,ae.lastBaseUpdate=z))}if(j!==null){var ce=v.baseState;P=0,ae=X=z=null,D=j;do{var oe=D.lane,xe=D.eventTime;if((g&oe)===oe){ae!==null&&(ae=ae.next={eventTime:xe,lane:0,tag:D.tag,payload:D.payload,callback:D.callback,next:null});e:{var je=o,Ce=D;switch(oe=c,xe=f,Ce.tag){case 1:if(je=Ce.payload,typeof je=="function"){ce=je.call(xe,ce,oe);break e}ce=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=Ce.payload,oe=typeof je=="function"?je.call(xe,ce,oe):je,oe==null)break e;ce=A({},ce,oe);break e;case 2:Ds=!0}}D.callback!==null&&D.lane!==0&&(o.flags|=64,oe=v.effects,oe===null?v.effects=[D]:oe.push(D))}else xe={eventTime:xe,lane:oe,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ae===null?(X=ae=xe,z=ce):ae=ae.next=xe,P|=oe;if(D=D.next,D===null){if(D=v.shared.pending,D===null)break;oe=D,D=oe.next,oe.next=null,v.lastBaseUpdate=oe,v.shared.pending=null}}while(!0);if(ae===null&&(z=ce),v.baseState=z,v.firstBaseUpdate=X,v.lastBaseUpdate=ae,c=v.shared.interleaved,c!==null){v=c;do P|=v.lane,v=v.next;while(v!==c)}else j===null&&(v.shared.lanes=0);_i|=P,o.lanes=P,o.memoizedState=ce}}function rb(o,c,f){if(o=c.effects,c.effects=null,o!==null)for(c=0;c<o.length;c++){var g=o[c],v=g.callback;if(v!==null){if(g.callback=null,g=f,typeof v!="function")throw Error(n(191,v));v.call(g)}}}var bl={},Dr=Is(bl),wl=Is(bl),jl=Is(bl);function Ti(o){if(o===bl)throw Error(n(174));return o}function hp(o,c){switch(dt(jl,c),dt(wl,o),dt(Dr,bl),o=c.nodeType,o){case 9:case 11:c=(c=c.documentElement)?c.namespaceURI:fe(null,"");break;default:o=o===8?c.parentNode:c,c=o.namespaceURI||null,o=o.tagName,c=fe(c,o)}gt(Dr),dt(Dr,c)}function Uo(){gt(Dr),gt(wl),gt(jl)}function sb(o){Ti(jl.current);var c=Ti(Dr.current),f=fe(c,o.type);c!==f&&(dt(wl,o),dt(Dr,f))}function fp(o){wl.current===o&&(gt(Dr),gt(wl))}var wt=Is(0);function Bu(o){for(var c=o;c!==null;){if(c.tag===13){var f=c.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var pp=[];function mp(){for(var o=0;o<pp.length;o++)pp[o]._workInProgressVersionPrimary=null;pp.length=0}var Vu=T.ReactCurrentDispatcher,gp=T.ReactCurrentBatchConfig,Ai=0,jt=null,zt=null,Ut=null,Uu=!1,Nl=!1,kl=0,TR=0;function on(){throw Error(n(321))}function xp(o,c){if(c===null)return!1;for(var f=0;f<c.length&&f<o.length;f++)if(!gr(o[f],c[f]))return!1;return!0}function yp(o,c,f,g,v,j){if(Ai=j,jt=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,Vu.current=o===null||o.memoizedState===null?IR:MR,o=f(g,v),Nl){j=0;do{if(Nl=!1,kl=0,25<=j)throw Error(n(301));j+=1,Ut=zt=null,c.updateQueue=null,Vu.current=OR,o=f(g,v)}while(Nl)}if(Vu.current=Wu,c=zt!==null&&zt.next!==null,Ai=0,Ut=zt=jt=null,Uu=!1,c)throw Error(n(300));return o}function vp(){var o=kl!==0;return kl=0,o}function Lr(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?jt.memoizedState=Ut=o:Ut=Ut.next=o,Ut}function er(){if(zt===null){var o=jt.alternate;o=o!==null?o.memoizedState:null}else o=zt.next;var c=Ut===null?jt.memoizedState:Ut.next;if(c!==null)Ut=c,zt=o;else{if(o===null)throw Error(n(310));zt=o,o={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},Ut===null?jt.memoizedState=Ut=o:Ut=Ut.next=o}return Ut}function Sl(o,c){return typeof c=="function"?c(o):c}function bp(o){var c=er(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=o;var g=zt,v=g.baseQueue,j=f.pending;if(j!==null){if(v!==null){var P=v.next;v.next=j.next,j.next=P}g.baseQueue=v=j,f.pending=null}if(v!==null){j=v.next,g=g.baseState;var D=P=null,z=null,X=j;do{var ae=X.lane;if((Ai&ae)===ae)z!==null&&(z=z.next={lane:0,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),g=X.hasEagerState?X.eagerState:o(g,X.action);else{var ce={lane:ae,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null};z===null?(D=z=ce,P=g):z=z.next=ce,jt.lanes|=ae,_i|=ae}X=X.next}while(X!==null&&X!==j);z===null?P=g:z.next=D,gr(g,c.memoizedState)||(Cn=!0),c.memoizedState=g,c.baseState=P,c.baseQueue=z,f.lastRenderedState=g}if(o=f.interleaved,o!==null){v=o;do j=v.lane,jt.lanes|=j,_i|=j,v=v.next;while(v!==o)}else v===null&&(f.lanes=0);return[c.memoizedState,f.dispatch]}function wp(o){var c=er(),f=c.queue;if(f===null)throw Error(n(311));f.lastRenderedReducer=o;
vendor: 4,790 bytes, line 38
38var g=f.dispatch,v=f.pending,j=c.memoizedState;if(v!==null){f.pending=null;var P=v=v.next;do j=o(j,P.action),P=P.next;while(P!==v);gr(j,c.memoizedState)||(Cn=!0),c.memoizedState=j,c.baseQueue===null&&(c.baseState=j),f.lastRenderedState=j}return[j,g]}function ib(){}function ob(o,c){var f=jt,g=er(),v=c(),j=!gr(g.memoizedState,v);if(j&&(g.memoizedState=v,Cn=!0),g=g.queue,jp(cb.bind(null,f,g,o),[o]),g.getSnapshot!==c||j||Ut!==null&&Ut.memoizedState.tag&1){if(f.flags|=2048,Cl(9,lb.bind(null,f,g,v,c),void 0,null),$t===null)throw Error(n(349));(Ai&30)!==0||ab(f,c,v)}return v}function ab(o,c,f){o.flags|=16384,o={getSnapshot:c,value:f},c=jt.updateQueue,c===null?(c={lastEffect:null,stores:null},jt.updateQueue=c,c.stores=[o]):(f=c.stores,f===null?c.stores=[o]:f.push(o))}function lb(o,c,f,g){c.value=f,c.getSnapshot=g,ub(c)&&db(o)}function cb(o,c,f){return f(function(){ub(c)&&db(o)})}function ub(o){var c=o.getSnapshot;o=o.value;try{var f=c();return!gr(o,f)}catch{return!0}}function db(o){var c=as(o,1);c!==null&&wr(c,o,1,-1)}function hb(o){var c=Lr();return typeof o=="function"&&(o=o()),c.memoizedState=c.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sl,lastRenderedState:o},c.queue=o,o=o.dispatch=RR.bind(null,jt,o),[c.memoizedState,o]}function Cl(o,c,f,g){return o={tag:o,create:c,destroy:f,deps:g,next:null},c=jt.updateQueue,c===null?(c={lastEffect:null,stores:null},jt.updateQueue=c,c.lastEffect=o.next=o):(f=c.lastEffect,f===null?c.lastEffect=o.next=o:(g=f.next,f.next=o,o.next=g,c.lastEffect=o)),o}function fb(){return er().memoizedState}function $u(o,c,f,g){var v=Lr();jt.flags|=o,v.memoizedState=Cl(1|c,f,void 0,g===void 0?null:g)}function Hu(o,c,f,g){var v=er();g=g===void 0?null:g;var j=void 0;if(zt!==null){var P=zt.memoizedState;if(j=P.destroy,g!==null&&xp(g,P.deps)){v.memoizedState=Cl(c,f,j,g);return}}jt.flags|=o,v.memoizedState=Cl(1|c,f,j,g)}function pb(o,c){return $u(8390656,8,o,c)}function jp(o,c){return Hu(2048,8,o,c)}function mb(o,c){return Hu(4,2,o,c)}function gb(o,c){return Hu(4,4,o,c)}function xb(o,c){if(typeof c=="function")return o=o(),c(o),function(){c(null)};if(c!=null)return o=o(),c.current=o,function(){c.current=null}}function yb(o,c,f){return f=f!=null?f.concat([o]):null,Hu(4,4,xb.bind(null,c,o),f)}function Np(){}function vb(o,c){var f=er();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&xp(c,g[1])?g[0]:(f.memoizedState=[o,c],o)}function bb(o,c){var f=er();c=c===void 0?null:c;var g=f.memoizedState;return g!==null&&c!==null&&xp(c,g[1])?g[0]:(o=o(),f.memoizedState=[o,c],o)}function wb(o,c,f){return(Ai&21)===0?(o.baseState&&(o.baseState=!1,Cn=!0),o.memoizedState=f):(gr(f,c)||(f=X0(),jt.lanes|=f,_i|=f,o.baseState=!0),c)}function AR(o,c){var f=ot;ot=f!==0&&4>f?f:4,o(!0);var g=gp.transition;gp.transition={};try{o(!1),c()}finally{ot=f,gp.transition=g}}function jb(){return er().memoizedState}function _R(o,c,f){var g=Vs(o);if(f={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null},Nb(o))kb(c,f);else if(f=eb(o,c,f,g),f!==null){var v=yn();wr(f,o,g,v),Sb(f,c,g)}}function RR(o,c,f){var g=Vs(o),v={lane:g,action:f,hasEagerState:!1,eagerState:null,next:null};if(Nb(o))kb(c,v);else{var j=o.alternate;if(o.lanes===0&&(j===null||j.lanes===0)&&(j=c.lastRenderedReducer,j!==null))try{var P=c.lastRenderedState,D=j(P,f);if(v.hasEagerState=!0,v.eagerState=D,gr(D,P)){var z=c.interleaved;z===null?(v.next=v,up(c)):(v.next=z.next,z.next=v),c.interleaved=v;return}}catch{}finally{}f=eb(o,c,v,g),f!==null&&(v=yn(),wr(f,o,g,v),Sb(f,c,g))}}function Nb(o){var c=o.alternate;return o===jt||c!==null&&c===jt}function kb(o,c){Nl=Uu=!0;var f=o.pending;f===null?c.next=c:(c.next=f.next,f.next=c),o.pending=c}function Sb(o,c,f){if((f&4194240)!==0){var g=c.lanes;g&=o.pendingLanes,f|=g,c.lanes=f,Sf(o,f)}}var Wu={readContext:Zn,useCallback:on,useContext:on,useEffect:on,useImperativeHandle:on,useInsertionEffect:on,useLayoutEffect:on,useMemo:on,useReducer:on,useRef:on,useState:on,useDebugValue:on,useDeferredValue:on,useTransition:on,useMutableSource:on,useSyncExternalStore:on,useId:on,unstable_isNewReconciler:!1},IR={readContext:Zn,useCallback:function(o,c){return Lr().memoizedState=[o,c===void 0?null:c],o},useContext:Zn,useEffect:pb,useImperativeHandle:function(o,c,f){return f=f!=null?f.concat([o]):null,$u(4194308,4,xb.bind(null,c,o),f)},useLayoutEffect:function(o,c){return $u(4194308,4,o,c)},useInsertionEffect:function(o,c){return $u(4,2,o,c)},useMemo:function(o,c){var f=Lr();return c=c===void 0?null:c,o=o(),f.memoizedState=[o,c],o},useReducer:function(o,c,f){var g=Lr();return c=f!==void 0?f(c):c,g.memoizedState=g.baseState=c,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:c},g.queue=o,o=o.dispatch=_R.bind(null,jt,o),[g.memoizedState,o]}
vendor: 6,750 bytes, lines 38-40
38,useRef:function(o){var c=Lr();return o={current:o},c.memoizedState=o},useState:hb,useDebugValue:Np,useDeferredValue:function(o){return Lr().memoizedState=o},useTransition:function(){var o=hb(!1),c=o[0];return o=AR.bind(null,o[1]),Lr().memoizedState=o,[c,o]},useMutableSource:function(){},useSyncExternalStore:function(o,c,f){var g=jt,v=Lr();if(vt){if(f===void 0)throw Error(n(407));f=f()}else{if(f=c(),$t===null)throw Error(n(349));(Ai&30)!==0||ab(g,c,f)}v.memoizedState=f;var j={value:f,getSnapshot:c};return v.queue=j,pb(cb.bind(null,g,j,o),[o]),g.flags|=2048,Cl(9,lb.bind(null,g,j,f,c),void 0,null),f},useId:function(){var o=Lr(),c=$t.identifierPrefix;if(vt){var f=os,g=is;f=(g&~(1<<32-mr(g)-1)).toString(32)+f,c=":"+c+"R"+f,f=kl++,0<f&&(c+="H"+f.toString(32)),c+=":"}else f=TR++,c=":"+c+"r"+f.toString(32)+":";return o.memoizedState=c},unstable_isNewReconciler:!1},MR={readContext:Zn,useCallback:vb,useContext:Zn,useEffect:jp,useImperativeHandle:yb,useInsertionEffect:mb,useLayoutEffect:gb,useMemo:bb,useReducer:bp,useRef:fb,useState:function(){return bp(Sl)},useDebugValue:Np,useDeferredValue:function(o){var c=er();return wb(c,zt.memoizedState,o)},useTransition:function(){var o=bp(Sl)[0],c=er().memoizedState;return[o,c]},useMutableSource:ib,useSyncExternalStore:ob,useId:jb,unstable_isNewReconciler:!1},OR={readContext:Zn,useCallback:vb,useContext:Zn,useEffect:jp,useImperativeHandle:yb,useInsertionEffect:mb,useLayoutEffect:gb,useMemo:bb,useReducer:wp,useRef:fb,useState:function(){return wp(Sl)},useDebugValue:Np,useDeferredValue:function(o){var c=er();return zt===null?c.memoizedState=o:wb(c,zt.memoizedState,o)},useTransition:function(){var o=wp(Sl)[0],c=er().memoizedState;return[o,c]},useMutableSource:ib,useSyncExternalStore:ob,useId:jb,unstable_isNewReconciler:!1};function yr(o,c){if(o&&o.defaultProps){c=A({},c),o=o.defaultProps;for(var f in o)c[f]===void 0&&(c[f]=o[f]);return c}return c}function kp(o,c,f,g){c=o.memoizedState,f=f(g,c),f=f==null?c:A({},c,f),o.memoizedState=f,o.lanes===0&&(o.updateQueue.baseState=f)}var qu={isMounted:function(o){return(o=o._reactInternals)?Ni(o)===o:!1},enqueueSetState:function(o,c,f){o=o._reactInternals;var g=yn(),v=Vs(o),j=ls(g,v);j.payload=c,f!=null&&(j.callback=f),c=Ls(o,j,v),c!==null&&(wr(c,o,v,g),Fu(c,o,v))},enqueueReplaceState:function(o,c,f){o=o._reactInternals;var g=yn(),v=Vs(o),j=ls(g,v);j.tag=1,j.payload=c,f!=null&&(j.callback=f),c=Ls(o,j,v),c!==null&&(wr(c,o,v,g),Fu(c,o,v))},enqueueForceUpdate:function(o,c){o=o._reactInternals;var f=yn(),g=Vs(o),v=ls(f,g);v.tag=2,c!=null&&(v.callback=c),c=Ls(o,v,g),c!==null&&(wr(c,o,g,f),Fu(c,o,g))}};function Cb(o,c,f,g,v,j,P){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(g,j,P):c.prototype&&c.prototype.isPureReactComponent?!hl(f,g)||!hl(v,j):!0}function Eb(o,c,f){var g=!1,v=Ms,j=c.contextType;return typeof j=="object"&&j!==null?j=Zn(j):(v=Sn(c)?Si:sn.current,g=c.contextTypes,j=(g=g!=null)?Oo(o,v):Ms),c=new c(f,j),o.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=qu,o.stateNode=c,c._reactInternals=o,g&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=v,o.__reactInternalMemoizedMaskedChildContext=j),c}function Pb(o,c,f,g){o=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(f,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(f,g),c.state!==o&&qu.enqueueReplaceState(c,c.state,null)}function Sp(o,c,f,g){var v=o.stateNode;v.props=f,v.state=o.memoizedState,v.refs={},dp(o);var j=c.contextType;typeof j=="object"&&j!==null?v.context=Zn(j):(j=Sn(c)?Si:sn.current,v.context=Oo(o,j)),v.state=o.memoizedState,j=c.getDerivedStateFromProps,typeof j=="function"&&(kp(o,c,j,f),v.state=o.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(c=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),c!==v.state&&qu.enqueueReplaceState(v,v.state,null),zu(o,f,v,g),v.state=o.memoizedState),typeof v.componentDidMount=="function"&&(o.flags|=4194308)}function $o(o,c){try{var f="",g=c;do f+=Pe(g),g=g.return;while(g);var v=f}catch(j){v=`
39Error generating stack: `+j.message+`
40`+j.stack}return{value:o,source:c,stack:v,digest:null}}function Cp(o,c,f){return{value:o,source:null,stack:f??null,digest:c??null}}function Ep(o,c){try{console.error(c.value)}catch(f){setTimeout(function(){throw f})}}var DR=typeof WeakMap=="function"?WeakMap:Map;function Tb(o,c,f){f=ls(-1,f),f.tag=3,f.payload={element:null};var g=c.value;return f.callback=function(){Zu||(Zu=!0,Up=g),Ep(o,c)},f}function Ab(o,c,f){f=ls(-1,f),f.tag=3;var g=o.type.getDerivedStateFromError;if(typeof g=="function"){var v=c.value;f.payload=function(){return g(v)},f.callback=function(){Ep(o,c)}}var j=o.stateNode;return j!==null&&typeof j.componentDidCatch=="function"&&(f.callback=function(){Ep(o,c),typeof g!="function"&&(zs===null?zs=new Set([this]):zs.add(this));var P=c.stack;this.componentDidCatch(c.value,{componentStack:P!==null?P:""})}),f}function _b(o,c,f){var g=o.pingCache;if(g===null){g=o.pingCache=new DR;var v=new Set;g.set(c,v)}else v=g.get(c),v===void 0&&(v=new Set,g.set(c,v));v.has(f)||(v.add(f),o=QR.bind(null,o,c,f),c.then(o,o))}function Rb(o){do{var c;if((c=o.tag===13)&&(c=o.memoizedState,c=c!==null?c.dehydrated!==null:!0),c)return o;o=o.return}while(o!==null);return null}function Ib(o,c,f,g,v){return(o.mode&1)===0?(o===c?o.flags|=65536:(o.flags|=128,f.flags|=131072,f.flags&=-52805,f.tag===1&&(f.alternate===null?f.tag=17:(c=ls(-1,1),c.tag=2,Ls(f,c,1))),f.lanes|=1),o):(o.flags|=65536,o.lanes=v,o)}var LR=T.ReactCurrentOwner,Cn=!1;function xn(o,c,f,g){c.child=o===null?Zv(c,null,f,g):zo(c,o.child,f,g)}function Mb(o,c,f,g,v){f=f.render;var j=c.ref;return Vo(c,v),g=yp(o,c,f,g,j,v),f=vp(),o!==null&&!Cn?(c.updateQueue=o.updateQueue,c.flags&=-2053,o.lanes&=~v,cs(o,c,v)):(vt&&f&&tp(c),c.flags|=1,xn(o,c,g,v),c.child)}function Ob(o,c,f,g,v){if(o===null){var j=f.type;return typeof j=="function"&&!Kp(j)&&j.defaultProps===void 0&&f.compare===null&&f.defaultProps===void 0?(c.tag=15,c.type=j,Db(o,c,j,g,v)):(o=id(f.type,null,g,c,c.mode,v),o.ref=c.ref,o.return=c,c.child=o)}if(j=o.child,(o.lanes&v)===0){var P=j.memoizedProps;if(f=f.compare,f=f!==null?f:hl,f(P,g)&&o.ref===c.ref)return cs(o,c,v)}return c.flags|=1,o=$s(j,g),o.ref=c.ref,o.return=c,c.child=o}function Db(o,c,f,g,v){if(o!==null){var j=o.memoizedProps;if(hl(j,g)&&o.ref===c.ref)if(Cn=!1,c.pendingProps=g=j,(o.lanes&v)!==0)(o.flags&131072)!==0&&(Cn=!0);else return c.lanes=o.lanes,cs(o,c,v)}return Pp(o,c,f,g,v)}
vendor: 39,531 bytes, line 40
40function Lb(o,c,f){var g=c.pendingProps,v=g.children,j=o!==null?o.memoizedState:null;if(g.mode==="hidden")if((c.mode&1)===0)c.memoizedState={baseLanes:0,cachePool:null,transitions:null},dt(Wo,Bn),Bn|=f;else{if((f&1073741824)===0)return o=j!==null?j.baseLanes|f:f,c.lanes=c.childLanes=1073741824,c.memoizedState={baseLanes:o,cachePool:null,transitions:null},c.updateQueue=null,dt(Wo,Bn),Bn|=o,null;c.memoizedState={baseLanes:0,cachePool:null,transitions:null},g=j!==null?j.baseLanes:f,dt(Wo,Bn),Bn|=g}else j!==null?(g=j.baseLanes|f,c.memoizedState=null):g=f,dt(Wo,Bn),Bn|=g;return xn(o,c,v,f),c.child}function Fb(o,c){var f=c.ref;(o===null&&f!==null||o!==null&&o.ref!==f)&&(c.flags|=512,c.flags|=2097152)}function Pp(o,c,f,g,v){var j=Sn(f)?Si:sn.current;return j=Oo(c,j),Vo(c,v),f=yp(o,c,f,g,j,v),g=vp(),o!==null&&!Cn?(c.updateQueue=o.updateQueue,c.flags&=-2053,o.lanes&=~v,cs(o,c,v)):(vt&&g&&tp(c),c.flags|=1,xn(o,c,f,v),c.child)}function zb(o,c,f,g,v){if(Sn(f)){var j=!0;Au(c)}else j=!1;if(Vo(c,v),c.stateNode===null)Yu(o,c),Eb(c,f,g),Sp(c,f,g,v),g=!0;else if(o===null){var P=c.stateNode,D=c.memoizedProps;P.props=D;var z=P.context,X=f.contextType;typeof X=="object"&&X!==null?X=Zn(X):(X=Sn(f)?Si:sn.current,X=Oo(c,X));var ae=f.getDerivedStateFromProps,ce=typeof ae=="function"||typeof P.getSnapshotBeforeUpdate=="function";ce||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(D!==g||z!==X)&&Pb(c,P,g,X),Ds=!1;var oe=c.memoizedState;P.state=oe,zu(c,g,P,v),z=c.memoizedState,D!==g||oe!==z||kn.current||Ds?(typeof ae=="function"&&(kp(c,f,ae,g),z=c.memoizedState),(D=Ds||Cb(c,f,D,g,oe,z,X))?(ce||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(c.flags|=4194308)):(typeof P.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=z),P.props=g,P.state=z,P.context=X,g=D):(typeof P.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{P=c.stateNode,tb(o,c),D=c.memoizedProps,X=c.type===c.elementType?D:yr(c.type,D),P.props=X,ce=c.pendingProps,oe=P.context,z=f.contextType,typeof z=="object"&&z!==null?z=Zn(z):(z=Sn(f)?Si:sn.current,z=Oo(c,z));var xe=f.getDerivedStateFromProps;(ae=typeof xe=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(D!==ce||oe!==z)&&Pb(c,P,g,z),Ds=!1,oe=c.memoizedState,P.state=oe,zu(c,g,P,v);var je=c.memoizedState;D!==ce||oe!==je||kn.current||Ds?(typeof xe=="function"&&(kp(c,f,xe,g),je=c.memoizedState),(X=Ds||Cb(c,f,X,g,oe,je,z)||!1)?(ae||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(g,je,z),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(g,je,z)),typeof P.componentDidUpdate=="function"&&(c.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof P.componentDidUpdate!="function"||D===o.memoizedProps&&oe===o.memoizedState||(c.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||D===o.memoizedProps&&oe===o.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=je),P.props=g,P.state=je,P.context=z,g=X):(typeof P.componentDidUpdate!="function"||D===o.memoizedProps&&oe===o.memoizedState||(c.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||D===o.memoizedProps&&oe===o.memoizedState||(c.flags|=1024),g=!1)}return Tp(o,c,f,g,j,v)}function Tp(o,c,f,g,v,j){Fb(o,c);var P=(c.flags&128)!==0;if(!g&&!P)return v&&Hv(c,f,!1),cs(o,c,j);g=c.stateNode,LR.current=c;var D=P&&typeof f.getDerivedStateFromError!="function"?null:g.render();return c.flags|=1,o!==null&&P?(c.child=zo(c,o.child,null,j),c.child=zo(c,null,D,j)):xn(o,c,D,j),c.memoizedState=g.state,v&&Hv(c,f,!0),c.child}function Bb(o){var c=o.stateNode;c.pendingContext?Uv(o,c.pendingContext,c.pendingContext!==c.context):c.context&&Uv(o,c.context,!1),hp(o,c.containerInfo)}function Vb(o,c,f,g,v){return Fo(),ip(v),c.flags|=256,xn(o,c,f,g),c.child}var Ap={dehydrated:null,treeContext:null,retryLane:0};function _p(o){return{baseLanes:o,cachePool:null,transitions:null}}function Ub(o,c,f){var g=c.pendingProps,v=wt.current,j=!1,P=(c.flags&128)!==0,D;if((D=P)||(D=o!==null&&o.memoizedState===null?!1:(v&2)!==0),D?(j=!0,c.flags&=-129):(o===null||o.memoizedState!==null)&&(v|=1),dt(wt,v&1),o===null)return sp(c),o=c.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((c.mode&1)===0?c.lanes=1:o.data==="$!"?c.lanes=8:c.lanes=1073741824,null):(P=g.children,o=g.fallback,j?(g=c.mode,j=c.child,P={mode:"hidden",children:P},(g&1)===0&&j!==null?(j.childLanes=0,j.pendingProps=P):j=od(P,g,0,null),o=Oi(o,g,f,null),j.return=c,o.return=c,j.sibling=o,c.child=j,c.child.memoizedState=_p(f),c.memoizedState=Ap,o):Rp(c,P));if(v=o.memoizedState,v!==null&&(D=v.dehydrated,D!==null))return FR(o,c,P,g,D,v,f);if(j){j=g.fallback,P=c.mode,v=o.child,D=v.sibling;var z={mode:"hidden",children:g.children};return(P&1)===0&&c.child!==v?(g=c.child,g.childLanes=0,g.pendingProps=z,c.deletions=null):(g=$s(v,z),g.subtreeFlags=v.subtreeFlags&14680064),D!==null?j=$s(D,j):(j=Oi(j,P,f,null),j.flags|=2),j.return=c,g.return=c,g.sibling=j,c.child=g,g=j,j=c.child,P=o.child.memoizedState,P=P===null?_p(f):{baseLanes:P.baseLanes|f,cachePool:null,transitions:P.transitions},j.memoizedState=P,j.childLanes=o.childLanes&~f,c.memoizedState=Ap,g}return j=o.child,o=j.sibling,g=$s(j,{mode:"visible",children:g.children}),(c.mode&1)===0&&(g.lanes=f),g.return=c,g.sibling=null,o!==null&&(f=c.deletions,f===null?(c.deletions=[o],c.flags|=16):f.push(o)),c.child=g,c.memoizedState=null,g}function Rp(o,c){return c=od({mode:"visible",children:c},o.mode,0,null),c.return=o,o.child=c}function Gu(o,c,f,g){return g!==null&&ip(g),zo(c,o.child,null,f),o=Rp(c,c.pendingProps.children),o.flags|=2,c.memoizedState=null,o}function FR(o,c,f,g,v,j,P){if(f)return c.flags&256?(c.flags&=-257,g=Cp(Error(n(422))),Gu(o,c,P,g)):c.memoizedState!==null?(c.child=o.child,c.flags|=128,null):(j=g.fallback,v=c.mode,g=od({mode:"visible",children:g.children},v,0,null),j=Oi(j,v,P,null),j.flags|=2,g.return=c,j.return=c,g.sibling=j,c.child=g,(c.mode&1)!==0&&zo(c,o.child,null,P),c.child.memoizedState=_p(P),c.memoizedState=Ap,j);if((c.mode&1)===0)return Gu(o,c,P,null);if(v.data==="$!"){if(g=v.nextSibling&&v.nextSibling.dataset,g)var D=g.dgst;return g=D,j=Error(n(419)),g=Cp(j,g,void 0),Gu(o,c,P,g)}if(D=(P&o.childLanes)!==0,Cn||D){if(g=$t,g!==null){switch(P&-P){case 4:v=2;break;case 16:v=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:v=32;break;case 536870912:v=268435456;break;default:v=0}v=(v&(g.suspendedLanes|P))!==0?0:v,v!==0&&v!==j.retryLane&&(j.retryLane=v,as(o,v),wr(g,o,v,-1))}return Yp(),g=Cp(Error(n(421))),Gu(o,c,P,g)}return v.data==="$?"?(c.flags|=128,c.child=o.child,c=XR.bind(null,o),v._reactRetry=c,null):(o=j.treeContext,zn=Rs(v.nextSibling),Fn=c,vt=!0,xr=null,o!==null&&(Xn[Jn++]=is,Xn[Jn++]=os,Xn[Jn++]=Ci,is=o.id,os=o.overflow,Ci=c),c=Rp(c,g.children),c.flags|=4096,c)}function $b(o,c,f){o.lanes|=c;var g=o.alternate;g!==null&&(g.lanes|=c),cp(o.return,c,f)}function Ip(o,c,f,g,v){var j=o.memoizedState;j===null?o.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:f,tailMode:v}:(j.isBackwards=c,j.rendering=null,j.renderingStartTime=0,j.last=g,j.tail=f,j.tailMode=v)}function Hb(o,c,f){var g=c.pendingProps,v=g.revealOrder,j=g.tail;if(xn(o,c,g.children,f),g=wt.current,(g&2)!==0)g=g&1|2,c.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=c.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&$b(o,f,c);else if(o.tag===19)$b(o,f,c);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===c)break e;for(;o.sibling===null;){if(o.return===null||o.return===c)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}g&=1}if(dt(wt,g),(c.mode&1)===0)c.memoizedState=null;else switch(v){case"forwards":for(f=c.child,v=null;f!==null;)o=f.alternate,o!==null&&Bu(o)===null&&(v=f),f=f.sibling;f=v,f===null?(v=c.child,c.child=null):(v=f.sibling,f.sibling=null),Ip(c,!1,v,f,j);break;case"backwards":for(f=null,v=c.child,c.child=null;v!==null;){if(o=v.alternate,o!==null&&Bu(o)===null){c.child=v;break}o=v.sibling,v.sibling=f,f=v,v=o}Ip(c,!0,f,null,j);break;case"together":Ip(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Yu(o,c){(c.mode&1)===0&&o!==null&&(o.alternate=null,c.alternate=null,c.flags|=2)}function cs(o,c,f){if(o!==null&&(c.dependencies=o.dependencies),_i|=c.lanes,(f&c.childLanes)===0)return null;if(o!==null&&c.child!==o.child)throw Error(n(153));if(c.child!==null){for(o=c.child,f=$s(o,o.pendingProps),c.child=f,f.return=c;o.sibling!==null;)o=o.sibling,f=f.sibling=$s(o,o.pendingProps),f.return=c;f.sibling=null}return c.child}function zR(o,c,f){switch(c.tag){case 3:Bb(c),Fo();break;case 5:sb(c);break;case 1:Sn(c.type)&&Au(c);break;case 4:hp(c,c.stateNode.containerInfo);break;case 10:var g=c.type._context,v=c.memoizedProps.value;dt(Du,g._currentValue),g._currentValue=v;break;case 13:if(g=c.memoizedState,g!==null)return g.dehydrated!==null?(dt(wt,wt.current&1),c.flags|=128,null):(f&c.child.childLanes)!==0?Ub(o,c,f):(dt(wt,wt.current&1),o=cs(o,c,f),o!==null?o.sibling:null);dt(wt,wt.current&1);break;case 19:if(g=(f&c.childLanes)!==0,(o.flags&128)!==0){if(g)return Hb(o,c,f);c.flags|=128}if(v=c.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),dt(wt,wt.current),g)break;return null;case 22:case 23:return c.lanes=0,Lb(o,c,f)}return cs(o,c,f)}var Wb,Mp,qb,Gb;Wb=function(o,c){for(var f=c.child;f!==null;){if(f.tag===5||f.tag===6)o.appendChild(f.stateNode);else if(f.tag!==4&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===c)break;for(;f.sibling===null;){if(f.return===null||f.return===c)return;f=f.return}f.sibling.return=f.return,f=f.sibling}},Mp=function(){},qb=function(o,c,f,g){var v=o.memoizedProps;if(v!==g){o=c.stateNode,Ti(Dr.current);var j=null;switch(f){case"input":v=It(o,v),g=It(o,g),j=[];break;case"select":v=A({},v,{value:void 0}),g=A({},g,{value:void 0}),j=[];break;case"textarea":v=pr(o,v),g=pr(o,g),j=[];break;default:typeof v.onClick!="function"&&typeof g.onClick=="function"&&(o.onclick=Eu)}Yt(f,g);var P;f=null;for(X in v)if(!g.hasOwnProperty(X)&&v.hasOwnProperty(X)&&v[X]!=null)if(X==="style"){var D=v[X];for(P in D)D.hasOwnProperty(P)&&(f||(f={}),f[P]="")}else X!=="dangerouslySetInnerHTML"&&X!=="children"&&X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&X!=="autoFocus"&&(i.hasOwnProperty(X)?j||(j=[]):(j=j||[]).push(X,null));for(X in g){var z=g[X];if(D=v!=null?v[X]:void 0,g.hasOwnProperty(X)&&z!==D&&(z!=null||D!=null))if(X==="style")if(D){for(P in D)!D.hasOwnProperty(P)||z&&z.hasOwnProperty(P)||(f||(f={}),f[P]="");for(P in z)z.hasOwnProperty(P)&&D[P]!==z[P]&&(f||(f={}),f[P]=z[P])}else f||(j||(j=[]),j.push(X,f)),f=z;else X==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,D=D?D.__html:void 0,z!=null&&D!==z&&(j=j||[]).push(X,z)):X==="children"?typeof z!="string"&&typeof z!="number"||(j=j||[]).push(X,""+z):X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&(i.hasOwnProperty(X)?(z!=null&&X==="onScroll"&&mt("scroll",o),j||D===z||(j=[])):(j=j||[]).push(X,z))}f&&(j=j||[]).push("style",f);var X=j;(c.updateQueue=X)&&(c.flags|=4)}},Gb=function(o,c,f,g){f!==g&&(c.flags|=4)};function El(o,c){if(!vt)switch(o.tailMode){case"hidden":c=o.tail;for(var f=null;c!==null;)c.alternate!==null&&(f=c),c=c.sibling;f===null?o.tail=null:f.sibling=null;break;case"collapsed":f=o.tail;for(var g=null;f!==null;)f.alternate!==null&&(g=f),f=f.sibling;g===null?c||o.tail===null?o.tail=null:o.tail.sibling=null:g.sibling=null}}function an(o){var c=o.alternate!==null&&o.alternate.child===o.child,f=0,g=0;if(c)for(var v=o.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags&14680064,g|=v.flags&14680064,v.return=o,v=v.sibling;else for(v=o.child;v!==null;)f|=v.lanes|v.childLanes,g|=v.subtreeFlags,g|=v.flags,v.return=o,v=v.sibling;return o.subtreeFlags|=g,o.childLanes=f,c}function BR(o,c,f){var g=c.pendingProps;switch(np(c),c.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return an(c),null;case 1:return Sn(c.type)&&Tu(),an(c),null;case 3:return g=c.stateNode,Uo(),gt(kn),gt(sn),mp(),g.pendingContext&&(g.context=g.pendingContext,g.pendingContext=null),(o===null||o.child===null)&&(Mu(c)?c.flags|=4:o===null||o.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,xr!==null&&(Wp(xr),xr=null))),Mp(o,c),an(c),null;case 5:fp(c);var v=Ti(jl.current);if(f=c.type,o!==null&&c.stateNode!=null)qb(o,c,f,g,v),o.ref!==c.ref&&(c.flags|=512,c.flags|=2097152);else{if(!g){if(c.stateNode===null)throw Error(n(166));return an(c),null}if(o=Ti(Dr.current),Mu(c)){g=c.stateNode,f=c.type;var j=c.memoizedProps;switch(g[Or]=c,g[xl]=j,o=(c.mode&1)!==0,f){case"dialog":mt("cancel",g),mt("close",g);break;case"iframe":case"object":case"embed":mt("load",g);break;case"video":case"audio":for(v=0;v<pl.length;v++)mt(pl[v],g);break;case"source":mt("error",g);break;case"img":case"image":case"link":mt("error",g),mt("load",g);break;case"details":mt("toggle",g);break;case"input":Et(g,j),mt("invalid",g);break;case"select":g._wrapperState={wasMultiple:!!j.multiple},mt("invalid",g);break;case"textarea":ru(g,j),mt("invalid",g)}Yt(f,j),v=null;for(var P in j)if(j.hasOwnProperty(P)){var D=j[P];P==="children"?typeof D=="string"?g.textContent!==D&&(j.suppressHydrationWarning!==!0&&Cu(g.textContent,D,o),v=["children",D]):typeof D=="number"&&g.textContent!==""+D&&(j.suppressHydrationWarning!==!0&&Cu(g.textContent,D,o),v=["children",""+D]):i.hasOwnProperty(P)&&D!=null&&P==="onScroll"&&mt("scroll",g)}switch(f){case"input":Ve(g),gn(g,j,!0);break;case"textarea":Ve(g),iu(g);break;case"select":case"option":break;default:typeof j.onClick=="function"&&(g.onclick=Eu)}g=v,c.updateQueue=g,g!==null&&(c.flags|=4)}else{P=v.nodeType===9?v:v.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=ne(f)),o==="http://www.w3.org/1999/xhtml"?f==="script"?(o=P.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof g.is=="string"?o=P.createElement(f,{is:g.is}):(o=P.createElement(f),f==="select"&&(P=o,g.multiple?P.multiple=!0:g.size&&(P.size=g.size))):o=P.createElementNS(o,f),o[Or]=c,o[xl]=g,Wb(o,c,!1,!1),c.stateNode=o;e:{switch(P=Ir(f,g),f){case"dialog":mt("cancel",o),mt("close",o),v=g;break;case"iframe":case"object":case"embed":mt("load",o),v=g;break;case"video":case"audio":for(v=0;v<pl.length;v++)mt(pl[v],o);v=g;break;case"source":mt("error",o),v=g;break;case"img":case"image":case"link":mt("error",o),mt("load",o),v=g;break;case"details":mt("toggle",o),v=g;break;case"input":Et(o,g),v=It(o,g),mt("invalid",o);break;case"option":v=g;break;case"select":o._wrapperState={wasMultiple:!!g.multiple},v=A({},g,{value:void 0}),mt("invalid",o);break;case"textarea":ru(o,g),v=pr(o,g),mt("invalid",o);break;default:v=g}Yt(f,v),D=v;for(j in D)if(D.hasOwnProperty(j)){var z=D[j];j==="style"?Ss(o,z):j==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&Ye(o,z)):j==="children"?typeof z=="string"?(f!=="textarea"||z!=="")&&tt(o,z):typeof z=="number"&&tt(o,""+z):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(i.hasOwnProperty(j)?z!=null&&j==="onScroll"&&mt("scroll",o):z!=null&&C(o,j,z,P))}switch(f){case"input":Ve(o),gn(o,g,!1);break;case"textarea":Ve(o),iu(o);break;case"option":g.value!=null&&o.setAttribute("value",""+me(g.value));break;case"select":o.multiple=!!g.multiple,j=g.value,j!=null?Rr(o,!!g.multiple,j,!1):g.defaultValue!=null&&Rr(o,!!g.multiple,g.defaultValue,!0);break;default:typeof v.onClick=="function"&&(o.onclick=Eu)}switch(f){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}}g&&(c.flags|=4)}c.ref!==null&&(c.flags|=512,c.flags|=2097152)}return an(c),null;case 6:if(o&&c.stateNode!=null)Gb(o,c,o.memoizedProps,g);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(f=Ti(jl.current),Ti(Dr.current),Mu(c)){if(g=c.stateNode,f=c.memoizedProps,g[Or]=c,(j=g.nodeValue!==f)&&(o=Fn,o!==null))switch(o.tag){case 3:Cu(g.nodeValue,f,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&Cu(g.nodeValue,f,(o.mode&1)!==0)}j&&(c.flags|=4)}else g=(f.nodeType===9?f:f.ownerDocument).createTextNode(g),g[Or]=c,c.stateNode=g}return an(c),null;case 13:if(gt(wt),g=c.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(vt&&zn!==null&&(c.mode&1)!==0&&(c.flags&128)===0)Qv(),Fo(),c.flags|=98560,j=!1;else if(j=Mu(c),g!==null&&g.dehydrated!==null){if(o===null){if(!j)throw Error(n(318));if(j=c.memoizedState,j=j!==null?j.dehydrated:null,!j)throw Error(n(317));j[Or]=c}else Fo(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;an(c),j=!1}else xr!==null&&(Wp(xr),xr=null),j=!0;if(!j)return c.flags&65536?c:null}return(c.flags&128)!==0?(c.lanes=f,c):(g=g!==null,g!==(o!==null&&o.memoizedState!==null)&&g&&(c.child.flags|=8192,(c.mode&1)!==0&&(o===null||(wt.current&1)!==0?Bt===0&&(Bt=3):Yp())),c.updateQueue!==null&&(c.flags|=4),an(c),null);case 4:return Uo(),Mp(o,c),o===null&&ml(c.stateNode.containerInfo),an(c),null;case 10:return lp(c.type._context),an(c),null;case 17:return Sn(c.type)&&Tu(),an(c),null;case 19:if(gt(wt),j=c.memoizedState,j===null)return an(c),null;if(g=(c.flags&128)!==0,P=j.rendering,P===null)if(g)El(j,!1);else{if(Bt!==0||o!==null&&(o.flags&128)!==0)for(o=c.child;o!==null;){if(P=Bu(o),P!==null){for(c.flags|=128,El(j,!1),g=P.updateQueue,g!==null&&(c.updateQueue=g,c.flags|=4),c.subtreeFlags=0,g=f,f=c.child;f!==null;)j=f,o=g,j.flags&=14680066,P=j.alternate,P===null?(j.childLanes=0,j.lanes=o,j.child=null,j.subtreeFlags=0,j.memoizedProps=null,j.memoizedState=null,j.updateQueue=null,j.dependencies=null,j.stateNode=null):(j.childLanes=P.childLanes,j.lanes=P.lanes,j.child=P.child,j.subtreeFlags=0,j.deletions=null,j.memoizedProps=P.memoizedProps,j.memoizedState=P.memoizedState,j.updateQueue=P.updateQueue,j.type=P.type,o=P.dependencies,j.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),f=f.sibling;return dt(wt,wt.current&1|2),c.child}o=o.sibling}j.tail!==null&&Pt()>qo&&(c.flags|=128,g=!0,El(j,!1),c.lanes=4194304)}else{if(!g)if(o=Bu(P),o!==null){if(c.flags|=128,g=!0,f=o.updateQueue,f!==null&&(c.updateQueue=f,c.flags|=4),El(j,!0),j.tail===null&&j.tailMode==="hidden"&&!P.alternate&&!vt)return an(c),null}else 2*Pt()-j.renderingStartTime>qo&&f!==1073741824&&(c.flags|=128,g=!0,El(j,!1),c.lanes=4194304);j.isBackwards?(P.sibling=c.child,c.child=P):(f=j.last,f!==null?f.sibling=P:c.child=P,j.last=P)}return j.tail!==null?(c=j.tail,j.rendering=c,j.tail=c.sibling,j.renderingStartTime=Pt(),c.sibling=null,f=wt.current,dt(wt,g?f&1|2:f&1),c):(an(c),null);case 22:case 23:return Gp(),g=c.memoizedState!==null,o!==null&&o.memoizedState!==null!==g&&(c.flags|=8192),g&&(c.mode&1)!==0?(Bn&1073741824)!==0&&(an(c),c.subtreeFlags&6&&(c.flags|=8192)):an(c),null;case 24:return null;case 25:return null}throw Error(n(156,c.tag))}function VR(o,c){switch(np(c),c.tag){case 1:return Sn(c.type)&&Tu(),o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 3:return Uo(),gt(kn),gt(sn),mp(),o=c.flags,(o&65536)!==0&&(o&128)===0?(c.flags=o&-65537|128,c):null;case 5:return fp(c),null;case 13:if(gt(wt),o=c.memoizedState,o!==null&&o.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Fo()}return o=c.flags,o&65536?(c.flags=o&-65537|128,c):null;case 19:return gt(wt),null;case 4:return Uo(),null;case 10:return lp(c.type._context),null;case 22:case 23:return Gp(),null;case 24:return null;default:return null}}var Ku=!1,ln=!1,UR=typeof WeakSet=="function"?WeakSet:Set,be=null;function Ho(o,c){var f=o.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(g){kt(o,c,g)}else f.current=null}function Op(o,c,f){try{f()}catch(g){kt(o,c,g)}}var Yb=!1;function $R(o,c){if(Gf=mu,o=Cv(),zf(o)){if("selectionStart"in o)var f={start:o.selectionStart,end:o.selectionEnd};else e:{f=(f=o.ownerDocument)&&f.defaultView||window;var g=f.getSelection&&f.getSelection();if(g&&g.rangeCount!==0){f=g.anchorNode;var v=g.anchorOffset,j=g.focusNode;g=g.focusOffset;try{f.nodeType,j.nodeType}catch{f=null;break e}var P=0,D=-1,z=-1,X=0,ae=0,ce=o,oe=null;t:for(;;){for(var xe;ce!==f||v!==0&&ce.nodeType!==3||(D=P+v),ce!==j||g!==0&&ce.nodeType!==3||(z=P+g),ce.nodeType===3&&(P+=ce.nodeValue.length),(xe=ce.firstChild)!==null;)oe=ce,ce=xe;for(;;){if(ce===o)break t;if(oe===f&&++X===v&&(D=P),oe===j&&++ae===g&&(z=P),(xe=ce.nextSibling)!==null)break;ce=oe,oe=ce.parentNode}ce=xe}f=D===-1||z===-1?null:{start:D,end:z}}else f=null}f=f||{start:0,end:0}}else f=null;for(Yf={focusedElem:o,selectionRange:f},mu=!1,be=c;be!==null;)if(c=be,o=c.child,(c.subtreeFlags&1028)!==0&&o!==null)o.return=c,be=o;else for(;be!==null;){c=be;try{var je=c.alternate;if((c.flags&1024)!==0)switch(c.tag){case 0:case 11:case 15:break;case 1:if(je!==null){var Ce=je.memoizedProps,Tt=je.memoizedState,Y=c.stateNode,H=Y.getSnapshotBeforeUpdate(c.elementType===c.type?Ce:yr(c.type,Ce),Tt);Y.__reactInternalSnapshotBeforeUpdate=H}break;case 3:var K=c.stateNode.containerInfo;K.nodeType===1?K.textContent="":K.nodeType===9&&K.documentElement&&K.removeChild(K.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(de){kt(c,c.return,de)}if(o=c.sibling,o!==null){o.return=c.return,be=o;break}be=c.return}return je=Yb,Yb=!1,je}function Pl(o,c,f){var g=c.updateQueue;if(g=g!==null?g.lastEffect:null,g!==null){var v=g=g.next;do{if((v.tag&o)===o){var j=v.destroy;v.destroy=void 0,j!==void 0&&Op(c,f,j)}v=v.next}while(v!==g)}}function Qu(o,c){if(c=c.updateQueue,c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&o)===o){var g=f.create;f.destroy=g()}f=f.next}while(f!==c)}}function Dp(o){var c=o.ref;if(c!==null){var f=o.stateNode;switch(o.tag){case 5:o=f;break;default:o=f}typeof c=="function"?c(o):c.current=o}}function Kb(o){var c=o.alternate;c!==null&&(o.alternate=null,Kb(c)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(c=o.stateNode,c!==null&&(delete c[Or],delete c[xl],delete c[Jf],delete c[SR],delete c[CR])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Qb(o){return o.tag===5||o.tag===3||o.tag===4}function Xb(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Qb(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Lp(o,c,f){var g=o.tag;if(g===5||g===6)o=o.stateNode,c?f.nodeType===8?f.parentNode.insertBefore(o,c):f.insertBefore(o,c):(f.nodeType===8?(c=f.parentNode,c.insertBefore(o,f)):(c=f,c.appendChild(o)),f=f._reactRootContainer,f!=null||c.onclick!==null||(c.onclick=Eu));else if(g!==4&&(o=o.child,o!==null))for(Lp(o,c,f),o=o.sibling;o!==null;)Lp(o,c,f),o=o.sibling}function Fp(o,c,f){var g=o.tag;if(g===5||g===6)o=o.stateNode,c?f.insertBefore(o,c):f.appendChild(o);else if(g!==4&&(o=o.child,o!==null))for(Fp(o,c,f),o=o.sibling;o!==null;)Fp(o,c,f),o=o.sibling}var Kt=null,vr=!1;function Fs(o,c,f){for(f=f.child;f!==null;)Jb(o,c,f),f=f.sibling}function Jb(o,c,f){if(Mr&&typeof Mr.onCommitFiberUnmount=="function")try{Mr.onCommitFiberUnmount(cu,f)}catch{}switch(f.tag){case 5:ln||Ho(f,c);case 6:var g=Kt,v=vr;Kt=null,Fs(o,c,f),Kt=g,vr=v,Kt!==null&&(vr?(o=Kt,f=f.stateNode,o.nodeType===8?o.parentNode.removeChild(f):o.removeChild(f)):Kt.removeChild(f.stateNode));break;case 18:Kt!==null&&(vr?(o=Kt,f=f.stateNode,o.nodeType===8?Xf(o.parentNode,f):o.nodeType===1&&Xf(o,f),ol(o)):Xf(Kt,f.stateNode));break;case 4:g=Kt,v=vr,Kt=f.stateNode.containerInfo,vr=!0,Fs(o,c,f),Kt=g,vr=v;break;case 0:case 11:case 14:case 15:if(!ln&&(g=f.updateQueue,g!==null&&(g=g.lastEffect,g!==null))){v=g=g.next;do{var j=v,P=j.destroy;j=j.tag,P!==void 0&&((j&2)!==0||(j&4)!==0)&&Op(f,c,P),v=v.next}while(v!==g)}Fs(o,c,f);break;case 1:if(!ln&&(Ho(f,c),g=f.stateNode,typeof g.componentWillUnmount=="function"))try{g.props=f.memoizedProps,g.state=f.memoizedState,g.componentWillUnmount()}catch(D){kt(f,c,D)}Fs(o,c,f);break;case 21:Fs(o,c,f);break;case 22:f.mode&1?(ln=(g=ln)||f.memoizedState!==null,Fs(o,c,f),ln=g):Fs(o,c,f);break;default:Fs(o,c,f)}}function Zb(o){var c=o.updateQueue;if(c!==null){o.updateQueue=null;var f=o.stateNode;f===null&&(f=o.stateNode=new UR),c.forEach(function(g){var v=JR.bind(null,o,g);f.has(g)||(f.add(g),g.then(v,v))})}}function br(o,c){var f=c.deletions;if(f!==null)for(var g=0;g<f.length;g++){var v=f[g];try{var j=o,P=c,D=P;e:for(;D!==null;){switch(D.tag){case 5:Kt=D.stateNode,vr=!1;break e;case 3:Kt=D.stateNode.containerInfo,vr=!0;break e;case 4:Kt=D.stateNode.containerInfo,vr=!0;break e}D=D.return}if(Kt===null)throw Error(n(160));Jb(j,P,v),Kt=null,vr=!1;var z=v.alternate;z!==null&&(z.return=null),v.return=null}catch(X){kt(v,c,X)}}if(c.subtreeFlags&12854)for(c=c.child;c!==null;)ew(c,o),c=c.sibling}function ew(o,c){var f=o.alternate,g=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(br(c,o),Fr(o),g&4){try{Pl(3,o,o.return),Qu(3,o)}catch(Ce){kt(o,o.return,Ce)}try{Pl(5,o,o.return)}catch(Ce){kt(o,o.return,Ce)}}break;case 1:br(c,o),Fr(o),g&512&&f!==null&&Ho(f,f.return);break;case 5:if(br(c,o),Fr(o),g&512&&f!==null&&Ho(f,f.return),o.flags&32){var v=o.stateNode;try{tt(v,"")}catch(Ce){kt(o,o.return,Ce)}}if(g&4&&(v=o.stateNode,v!=null)){var j=o.memoizedProps,P=f!==null?f.memoizedProps:j,D=o.type,z=o.updateQueue;if(o.updateQueue=null,z!==null)try{D==="input"&&j.type==="radio"&&j.name!=null&&_e(v,j),Ir(D,P);var X=Ir(D,j);for(P=0;P<z.length;P+=2){var ae=z[P],ce=z[P+1];ae==="style"?Ss(v,ce):ae==="dangerouslySetInnerHTML"?Ye(v,ce):ae==="children"?tt(v,ce):C(v,ae,ce,X)}switch(D){case"input":ut(v,j);break;case"textarea":su(v,j);break;case"select":var oe=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!j.multiple;var xe=j.value;xe!=null?Rr(v,!!j.multiple,xe,!1):oe!==!!j.multiple&&(j.defaultValue!=null?Rr(v,!!j.multiple,j.defaultValue,!0):Rr(v,!!j.multiple,j.multiple?[]:"",!1))}v[xl]=j}catch(Ce){kt(o,o.return,Ce)}}break;case 6:if(br(c,o),Fr(o),g&4){if(o.stateNode===null)throw Error(n(162));v=o.stateNode,j=o.memoizedProps;try{v.nodeValue=j}catch(Ce){kt(o,o.return,Ce)}}break;case 3:if(br(c,o),Fr(o),g&4&&f!==null&&f.memoizedState.isDehydrated)try{ol(c.containerInfo)}catch(Ce){kt(o,o.return,Ce)}break;case 4:br(c,o),Fr(o);break;case 13:br(c,o),Fr(o),v=o.child,v.flags&8192&&(j=v.memoizedState!==null,v.stateNode.isHidden=j,!j||v.alternate!==null&&v.alternate.memoizedState!==null||(Vp=Pt())),g&4&&Zb(o);break;case 22:if(ae=f!==null&&f.memoizedState!==null,o.mode&1?(ln=(X=ln)||ae,br(c,o),ln=X):br(c,o),Fr(o),g&8192){if(X=o.memoizedState!==null,(o.stateNode.isHidden=X)&&!ae&&(o.mode&1)!==0)for(be=o,ae=o.child;ae!==null;){for(ce=be=ae;be!==null;){switch(oe=be,xe=oe.child,oe.tag){case 0:case 11:case 14:case 15:Pl(4,oe,oe.return);break;case 1:Ho(oe,oe.return);var je=oe.stateNode;if(typeof je.componentWillUnmount=="function"){g=oe,f=oe.return;try{c=g,je.props=c.memoizedProps,je.state=c.memoizedState,je.componentWillUnmount()}catch(Ce){kt(g,f,Ce)}}break;case 5:Ho(oe,oe.return);break;case 22:if(oe.memoizedState!==null){rw(ce);continue}}xe!==null?(xe.return=oe,be=xe):rw(ce)}ae=ae.sibling}e:for(ae=null,ce=o;;){if(ce.tag===5){if(ae===null){ae=ce;try{v=ce.stateNode,X?(j=v.style,typeof j.setProperty=="function"?j.setProperty("display","none","important"):j.display="none"):(D=ce.stateNode,z=ce.memoizedProps.style,P=z!=null&&z.hasOwnProperty("display")?z.display:null,D.style.display=Qn("display",P))}catch(Ce){kt(o,o.return,Ce)}}}else if(ce.tag===6){if(ae===null)try{ce.stateNode.nodeValue=X?"":ce.memoizedProps}catch(Ce){kt(o,o.return,Ce)}}else if((ce.tag!==22&&ce.tag!==23||ce.memoizedState===null||ce===o)&&ce.child!==null){ce.child.return=ce,ce=ce.child;continue}if(ce===o)break e;for(;ce.sibling===null;){if(ce.return===null||ce.return===o)break e;ae===ce&&(ae=null),ce=ce.return}ae===ce&&(ae=null),ce.sibling.return=ce.return,ce=ce.sibling}}break;case 19:br(c,o),Fr(o),g&4&&Zb(o);break;case 21:break;default:br(c,o),Fr(o)}}function Fr(o){var c=o.flags;if(c&2){try{e:{for(var f=o.return;f!==null;){if(Qb(f)){var g=f;break e}f=f.return}throw Error(n(160))}switch(g.tag){case 5:var v=g.stateNode;g.flags&32&&(tt(v,""),g.flags&=-33);var j=Xb(o);Fp(o,j,v);break;case 3:case 4:var P=g.stateNode.containerInfo,D=Xb(o);Lp(o,D,P);break;default:throw Error(n(161))}}catch(z){kt(o,o.return,z)}o.flags&=-3}c&4096&&(o.flags&=-4097)}function HR(o,c,f){be=o,tw(o)}function tw(o,c,f){for(var g=(o.mode&1)!==0;be!==null;){var v=be,j=v.child;if(v.tag===22&&g){var P=v.memoizedState!==null||Ku;if(!P){var D=v.alternate,z=D!==null&&D.memoizedState!==null||ln;D=Ku;var X=ln;if(Ku=P,(ln=z)&&!X)for(be=v;be!==null;)P=be,z=P.child,P.tag===22&&P.memoizedState!==null?sw(v):z!==null?(z.return=P,be=z):sw(v);for(;j!==null;)be=j,tw(j),j=j.sibling;be=v,Ku=D,ln=X}nw(o)}else(v.subtreeFlags&8772)!==0&&j!==null?(j.return=v,be=j):nw(o)}}function nw(o){for(;be!==null;){var c=be;if((c.flags&8772)!==0){var f=c.alternate;try{if((c.flags&8772)!==0)switch(c.tag){case 0:case 11:case 15:ln||Qu(5,c);break;case 1:var g=c.stateNode;if(c.flags&4&&!ln)if(f===null)g.componentDidMount();else{var v=c.elementType===c.type?f.memoizedProps:yr(c.type,f.memoizedProps);g.componentDidUpdate(v,f.memoizedState,g.__reactInternalSnapshotBeforeUpdate)}var j=c.updateQueue;j!==null&&rb(c,j,g);break;case 3:var P=c.updateQueue;if(P!==null){if(f=null,c.child!==null)switch(c.child.tag){case 5:f=c.child.stateNode;break;case 1:f=c.child.stateNode}rb(c,P,f)}break;case 5:var D=c.stateNode;if(f===null&&c.flags&4){f=D;var z=c.memoizedProps;switch(c.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&f.focus();break;case"img":z.src&&(f.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(c.memoizedState===null){var X=c.alternate;if(X!==null){var ae=X.memoizedState;if(ae!==null){var ce=ae.dehydrated;ce!==null&&ol(ce)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}ln||c.flags&512&&Dp(c)}catch(oe){kt(c,c.return,oe)}}if(c===o){be=null;break}if(f=c.sibling,f!==null){f.return=c.return,be=f;break}be=c.return}}function rw(o){for(;be!==null;){var c=be;if(c===o){be=null;break}var f=c.sibling;if(f!==null){f.return=c.return,be=f;break}be=c.return}}function sw(o){for(;be!==null;){var c=be;try{switch(c.tag){case 0:case 11:case 15:var f=c.return;try{Qu(4,c)}catch(z){kt(c,f,z)}break;case 1:var g=c.stateNode;if(typeof g.componentDidMount=="function"){var v=c.return;try{g.componentDidMount()}catch(z){kt(c,v,z)}}var j=c.return;try{Dp(c)}catch(z){kt(c,j,z)}break;case 5:var P=c.return;try{Dp(c)}catch(z){kt(c,P,z)}}}catch(z){kt(c,c.return,z)}if(c===o){be=null;break}var D=c.sibling;if(D!==null){D.return=c.return,be=D;break}be=c.return}}var WR=Math.ceil,Xu=T.ReactCurrentDispatcher,zp=T.ReactCurrentOwner,tr=T.ReactCurrentBatchConfig,nt=0,$t=null,Mt=null,Qt=0,Bn=0,Wo=Is(0),Bt=0,Tl=null,_i=0,Ju=0,Bp=0,Al=null,En=null,Vp=0,qo=1/0,us=null,Zu=!1,Up=null,zs=null,ed=!1,Bs=null,td=0,_l=0,$p=null,nd=-1,rd=0;function yn(){return(nt&6)!==0?Pt():nd!==-1?nd:nd=Pt()}function Vs(o){return(o.mode&1)===0?1:(nt&2)!==0&&Qt!==0?Qt&-Qt:PR.transition!==null?(rd===0&&(rd=X0()),rd):(o=ot,o!==0||(o=window.event,o=o===void 0?16:ov(o.type)),o)}function wr(o,c,f,g){if(50<_l)throw _l=0,$p=null,Error(n(185));tl(o,f,g),((nt&2)===0||o!==$t)&&(o===$t&&((nt&2)===0&&(Ju|=f),Bt===4&&Us(o,Qt)),Pn(o,g),f===1&&nt===0&&(c.mode&1)===0&&(qo=Pt()+500,_u&&Os()))}function Pn(o,c){var f=o.callbackNode;P_(o,c);var g=hu(o,o===$t?Qt:0);if(g===0)f!==null&&Y0(f),o.callbackNode=null,o.callbackPriority=0;else if(c=g&-g,o.callbackPriority!==c){if(f!=null&&Y0(f),c===1)o.tag===0?ER(ow.bind(null,o)):Wv(ow.bind(null,o)),NR(function(){(nt&6)===0&&Os()}),f=null;else{switch(J0(g)){case 1:f=jf;break;case 4:f=K0;break;case 16:f=lu;break;case 536870912:f=Q0;break;default:f=lu}f=pw(f,iw.bind(null,o))}o.callbackPriority=c,o.callbackNode=f}}function iw(o,c){if(nd=-1,rd=0,(nt&6)!==0)throw Error(n(327));var f=o.callbackNode;if(Go()&&o.callbackNode!==f)return null;var g=hu(o,o===$t?Qt:0);if(g===0)return null;if((g&30)!==0||(g&o.expiredLanes)!==0||c)c=sd(o,g);else{c=g;var v=nt;nt|=2;var j=lw();($t!==o||Qt!==c)&&(us=null,qo=Pt()+500,Ii(o,c));do try{YR();break}catch(D){aw(o,D)}while(!0);ap(),Xu.current=j,nt=v,Mt!==null?c=0:($t=null,Qt=0,c=Bt)}if(c!==0){if(c===2&&(v=Nf(o),v!==0&&(g=v,c=Hp(o,v))),c===1)throw f=Tl,Ii(o,0),Us(o,g),Pn(o,Pt()),f;if(c===6)Us(o,g);else{if(v=o.current.alternate,(g&30)===0&&!qR(v)&&(c=sd(o,g),c===2&&(j=Nf(o),j!==0&&(g=j,c=Hp(o,j))),c===1))throw f=Tl,Ii(o,0),Us(o,g),Pn(o,Pt()),f;switch(o.finishedWork=v,o.finishedLanes=g,c){case 0:case 1:throw Error(n(345));case 2:Mi(o,En,us);break;case 3:if(Us(o,g),(g&130023424)===g&&(c=Vp+500-Pt(),10<c)){if(hu(o,0)!==0)break;if(v=o.suspendedLanes,(v&g)!==g){yn(),o.pingedLanes|=o.suspendedLanes&v;break}o.timeoutHandle=Qf(Mi.bind(null,o,En,us),c);break}Mi(o,En,us);break;case 4:if(Us(o,g),(g&4194240)===g)break;for(c=o.eventTimes,v=-1;0<g;){var P=31-mr(g);j=1<<P,P=c[P],P>v&&(v=P),g&=~j}if(g=v,g=Pt()-g,g=(120>g?120:480>g?480:1080>g?1080:1920>g?1920:3e3>g?3e3:4320>g?4320:1960*WR(g/1960))-g,10<g){o.timeoutHandle=Qf(Mi.bind(null,o,En,us),g);break}Mi(o,En,us);break;case 5:Mi(o,En,us);break;default:throw Error(n(329))}}}return Pn(o,Pt()),o.callbackNode===f?iw.bind(null,o):null}function Hp(o,c){var f=Al;return o.current.memoizedState.isDehydrated&&(Ii(o,c).flags|=256),o=sd(o,c),o!==2&&(c=En,En=f,c!==null&&Wp(c)),o}function Wp(o){En===null?En=o:En.push.apply(En,o)}function qR(o){for(var c=o;;){if(c.flags&16384){var f=c.updateQueue;if(f!==null&&(f=f.stores,f!==null))for(var g=0;g<f.length;g++){var v=f[g],j=v.getSnapshot;v=v.value;try{if(!gr(j(),v))return!1}catch{return!1}}}if(f=c.child,c.subtreeFlags&16384&&f!==null)f.return=c,c=f;else{if(c===o)break;for(;c.sibling===null;){if(c.return===null||c.return===o)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function Us(o,c){for(c&=~Bp,c&=~Ju,o.suspendedLanes|=c,o.pingedLanes&=~c,o=o.expirationTimes;0<c;){var f=31-mr(c),g=1<<f;o[f]=-1,c&=~g}}function ow(o){if((nt&6)!==0)throw Error(n(327));Go();var c=hu(o,0);if((c&1)===0)return Pn(o,Pt()),null;var f=sd(o,c);if(o.tag!==0&&f===2){var g=Nf(o);g!==0&&(c=g,f=Hp(o,g))}if(f===1)throw f=Tl,Ii(o,0),Us(o,c),Pn(o,Pt()),f;if(f===6)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=c,Mi(o,En,us),Pn(o,Pt()),null}function qp(o,c){var f=nt;nt|=1;try{return o(c)}finally{nt=f,nt===0&&(qo=Pt()+500,_u&&Os())}}function Ri(o){Bs!==null&&Bs.tag===0&&(nt&6)===0&&Go();var c=nt;nt|=1;var f=tr.transition,g=ot;try{if(tr.transition=null,ot=1,o)return o()}finally{ot=g,tr.transition=f,nt=c,(nt&6)===0&&Os()}}function Gp(){Bn=Wo.current,gt(Wo)}function Ii(o,c){o.finishedWork=null,o.finishedLanes=0;var f=o.timeoutHandle;if(f!==-1&&(o.timeoutHandle=-1,jR(f)),Mt!==null)for(f=Mt.return;f!==null;){var g=f;switch(np(g),g.tag){case 1:g=g.type.childContextTypes,g!=null&&Tu();break;case 3:Uo(),gt(kn),gt(sn),mp();break;case 5:fp(g);break;case 4:Uo();break;case 13:gt(wt);break;case 19:gt(wt);break;case 10:lp(g.type._context);break;case 22:case 23:Gp()}f=f.return}if($t=o,Mt=o=$s(o.current,null),Qt=Bn=c,Bt=0,Tl=null,Bp=Ju=_i=0,En=Al=null,Pi!==null){for(c=0;c<Pi.length;c++)if(f=Pi[c],g=f.interleaved,g!==null){f.interleaved=null;var v=g.next,j=f.pending;if(j!==null){var P=j.next;j.next=v,g.next=P}f.pending=g}Pi=null}return o}function aw(o,c){do{var f=Mt;try{if(ap(),Vu.current=Wu,Uu){for(var g=jt.memoizedState;g!==null;){var v=g.queue;v!==null&&(v.pending=null),g=g.next}Uu=!1}if(Ai=0,Ut=zt=jt=null,Nl=!1,kl=0,zp.current=null,f===null||f.return===null){Bt=1,Tl=c,Mt=null;break}e:{var j=o,P=f.return,D=f,z=c;if(c=Qt,D.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var X=z,ae=D,ce=ae.tag;if((ae.mode&1)===0&&(ce===0||ce===11||ce===15)){var oe=ae.alternate;oe?(ae.updateQueue=oe.updateQueue,ae.memoizedState=oe.memoizedState,ae.lanes=oe.lanes):(ae.updateQueue=null,ae.memoizedState=null)}var xe=Rb(P);if(xe!==null){xe.flags&=-257,Ib(xe,P,D,j,c),xe.mode&1&&_b(j,X,c),c=xe,z=X;var je=c.updateQueue;if(je===null){var Ce=new Set;Ce.add(z),c.updateQueue=Ce}else je.add(z);break e}else{if((c&1)===0){_b(j,X,c),Yp();break e}z=Error(n(426))}}else if(vt&&D.mode&1){var Tt=Rb(P);if(Tt!==null){(Tt.flags&65536)===0&&(Tt.flags|=256),Ib(Tt,P,D,j,c),ip($o(z,D));break e}}j=z=$o(z,D),Bt!==4&&(Bt=2),Al===null?Al=[j]:Al.push(j),j=P;do{switch(j.tag){case 3:j.flags|=65536,c&=-c,j.lanes|=c;var Y=Tb(j,z,c);nb(j,Y);break e;case 1:D=z;var H=j.type,K=j.stateNode;if((j.flags&128)===0&&(typeof H.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&(zs===null||!zs.has(K)))){j.flags|=65536,c&=-c,j.lanes|=c;var de=Ab(j,D,c);nb(j,de);break e}}j=j.return}while(j!==null)}uw(f)}catch(Ee){c=Ee,Mt===f&&f!==null&&(Mt=f=f.return);continue}break}while(!0)}function lw(){var o=Xu.current;return Xu.current=Wu,o===null?Wu:o}function Yp(){(Bt===0||Bt===3||Bt===2)&&(Bt=4),$t===null||(_i&268435455)===0&&(Ju&268435455)===0||Us($t,Qt)}function sd(o,c){var f=nt;nt|=2;var g=lw();($t!==o||Qt!==c)&&(us=null,Ii(o,c));do try{GR();break}catch(v){aw(o,v)}while(!0);if(ap(),nt=f,Xu.current=g,Mt!==null)throw Error(n(261));return $t=null,Qt=0,Bt}function GR(){for(;Mt!==null;)cw(Mt)}function YR(){for(;Mt!==null&&!v_();)cw(Mt)}function cw(o){var c=fw(o.alternate,o,Bn);o.memoizedProps=o.pendingProps,c===null?uw(o):Mt=c,zp.current=null}function uw(o){var c=o;do{var f=c.alternate;if(o=c.return,(c.flags&32768)===0){if(f=BR(f,c,Bn),f!==null){Mt=f;return}}else{if(f=VR(f,c),f!==null){f.flags&=32767,Mt=f;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{Bt=6,Mt=null;return}}if(c=c.sibling,c!==null){Mt=c;return}Mt=c=o}while(c!==null);Bt===0&&(Bt=5)}function Mi(o,c,f){var g=ot,v=tr.transition;try{tr.transition=null,ot=1,KR(o,c,f,g)}finally{tr.transition=v,ot=g}return null}function KR(o,c,f,g){do Go();while(Bs!==null);if((nt&6)!==0)throw Error(n(327));f=o.finishedWork;var v=o.finishedLanes;if(f===null)return null;if(o.finishedWork=null,o.finishedLanes=0,f===o.current)throw Error(n(177));o.callbackNode=null,o.callbackPriority=0;var j=f.lanes|f.childLanes;if(T_(o,j),o===$t&&(Mt=$t=null,Qt=0),(f.subtreeFlags&2064)===0&&(f.flags&2064)===0||ed||(ed=!0,pw(lu,function(){return Go(),null})),j=(f.flags&15990)!==0,(f.subtreeFlags&15990)!==0||j){j=tr.transition,tr.transition=null;var P=ot;ot=1;var D=nt;nt|=4,zp.current=null,$R(o,f),ew(f,o),mR(Yf),mu=!!Gf,Yf=Gf=null,o.current=f,HR(f),b_(),nt=D,ot=P,tr.transition=j}else o.current=f;if(ed&&(ed=!1,Bs=o,td=v),j=o.pendingLanes,j===0&&(zs=null),N_(f.stateNode),Pn(o,Pt()),c!==null)for(g=o.onRecoverableError,f=0;f<c.length;f++)v=c[f],g(v.value,{componentStack:v.stack,digest:v.digest});if(Zu)throw Zu=!1,o=Up,Up=null,o;return(td&1)!==0&&o.tag!==0&&Go(),j=o.pendingLanes,(j&1)!==0?o===$p?_l++:(_l=0,$p=o):_l=0,Os(),null}function Go(){if(Bs!==null){var o=J0(td),c=tr.transition,f=ot;try{if(tr.transition=null,ot=16>o?16:o,Bs===null)var g=!1;
vendor: 4,438 bytes, line 40
40else{if(o=Bs,Bs=null,td=0,(nt&6)!==0)throw Error(n(331));var v=nt;for(nt|=4,be=o.current;be!==null;){var j=be,P=j.child;if((be.flags&16)!==0){var D=j.deletions;if(D!==null){for(var z=0;z<D.length;z++){var X=D[z];for(be=X;be!==null;){var ae=be;switch(ae.tag){case 0:case 11:case 15:Pl(8,ae,j)}var ce=ae.child;if(ce!==null)ce.return=ae,be=ce;else for(;be!==null;){ae=be;var oe=ae.sibling,xe=ae.return;if(Kb(ae),ae===X){be=null;break}if(oe!==null){oe.return=xe,be=oe;break}be=xe}}}var je=j.alternate;if(je!==null){var Ce=je.child;if(Ce!==null){je.child=null;do{var Tt=Ce.sibling;Ce.sibling=null,Ce=Tt}while(Ce!==null)}}be=j}}if((j.subtreeFlags&2064)!==0&&P!==null)P.return=j,be=P;else e:for(;be!==null;){if(j=be,(j.flags&2048)!==0)switch(j.tag){case 0:case 11:case 15:Pl(9,j,j.return)}var Y=j.sibling;if(Y!==null){Y.return=j.return,be=Y;break e}be=j.return}}var H=o.current;for(be=H;be!==null;){P=be;var K=P.child;if((P.subtreeFlags&2064)!==0&&K!==null)K.return=P,be=K;else e:for(P=H;be!==null;){if(D=be,(D.flags&2048)!==0)try{switch(D.tag){case 0:case 11:case 15:Qu(9,D)}}catch(Ee){kt(D,D.return,Ee)}if(D===P){be=null;break e}var de=D.sibling;if(de!==null){de.return=D.return,be=de;break e}be=D.return}}if(nt=v,Os(),Mr&&typeof Mr.onPostCommitFiberRoot=="function")try{Mr.onPostCommitFiberRoot(cu,o)}catch{}g=!0}return g}finally{ot=f,tr.transition=c}}return!1}function dw(o,c,f){c=$o(f,c),c=Tb(o,c,1),o=Ls(o,c,1),c=yn(),o!==null&&(tl(o,1,c),Pn(o,c))}function kt(o,c,f){if(o.tag===3)dw(o,o,f);else for(;c!==null;){if(c.tag===3){dw(c,o,f);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(zs===null||!zs.has(g))){o=$o(f,o),o=Ab(c,o,1),c=Ls(c,o,1),o=yn(),c!==null&&(tl(c,1,o),Pn(c,o));break}}c=c.return}}function QR(o,c,f){var g=o.pingCache;g!==null&&g.delete(c),c=yn(),o.pingedLanes|=o.suspendedLanes&f,$t===o&&(Qt&f)===f&&(Bt===4||Bt===3&&(Qt&130023424)===Qt&&500>Pt()-Vp?Ii(o,0):Bp|=f),Pn(o,c)}function hw(o,c){c===0&&((o.mode&1)===0?c=1:(c=du,du<<=1,(du&130023424)===0&&(du=4194304)));var f=yn();o=as(o,c),o!==null&&(tl(o,c,f),Pn(o,f))}function XR(o){var c=o.memoizedState,f=0;c!==null&&(f=c.retryLane),hw(o,f)}function JR(o,c){var f=0;switch(o.tag){case 13:var g=o.stateNode,v=o.memoizedState;v!==null&&(f=v.retryLane);break;case 19:g=o.stateNode;break;default:throw Error(n(314))}g!==null&&g.delete(c),hw(o,f)}var fw;fw=function(o,c,f){if(o!==null)if(o.memoizedProps!==c.pendingProps||kn.current)Cn=!0;else{if((o.lanes&f)===0&&(c.flags&128)===0)return Cn=!1,zR(o,c,f);Cn=(o.flags&131072)!==0}else Cn=!1,vt&&(c.flags&1048576)!==0&&qv(c,Iu,c.index);switch(c.lanes=0,c.tag){case 2:var g=c.type;Yu(o,c),o=c.pendingProps;var v=Oo(c,sn.current);Vo(c,f),v=yp(null,c,g,o,v,f);var j=vp();return c.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(c.tag=1,c.memoizedState=null,c.updateQueue=null,Sn(g)?(j=!0,Au(c)):j=!1,c.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,dp(c),v.updater=qu,c.stateNode=v,v._reactInternals=c,Sp(c,g,o,f),c=Tp(null,c,g,!0,j,f)):(c.tag=0,vt&&j&&tp(c),xn(null,c,v,f),c=c.child),c;case 16:g=c.elementType;e:{switch(Yu(o,c),o=c.pendingProps,v=g._init,g=v(g._payload),c.type=g,v=c.tag=e4(g),o=yr(g,o),v){case 0:c=Pp(null,c,g,o,f);break e;case 1:c=zb(null,c,g,o,f);break e;case 11:c=Mb(null,c,g,o,f);break e;case 14:c=Ob(null,c,g,yr(g.type,o),f);break e}throw Error(n(306,g,""))}return c;case 0:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:yr(g,v),Pp(o,c,g,v,f);case 1:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:yr(g,v),zb(o,c,g,v,f);case 3:e:{if(Bb(c),o===null)throw Error(n(387));g=c.pendingProps,j=c.memoizedState,v=j.element,tb(o,c),zu(c,g,null,f);var P=c.memoizedState;if(g=P.element,j.isDehydrated)if(j={element:g,isDehydrated:!1,cache:P.cache,pendingSuspenseBoundaries:P.pendingSuspenseBoundaries,transitions:P.transitions},c.updateQueue.baseState=j,c.memoizedState=j,c.flags&256){v=$o(Error(n(423)),c),c=Vb(o,c,g,f,v);break e}else if(g!==v){v=$o(Error(n(424)),c),c=Vb(o,c,g,f,v);break e}else for(zn=Rs(c.stateNode.containerInfo.firstChild),Fn=c,vt=!0,xr=null,f=Zv(c,null,g,f),c.child=f;f;)f.flags=f.flags&-3|4096,f=f.sibling;else{if(Fo(),g===v){c=cs(o,c,f);break e}xn(o,c,g,f)}c=c.child}return c;case 5:return sb(c),o===null&&sp(c),g=c.type,v=c.pendingProps,j=o!==null?o.memoizedProps:null,P=v.children,Kf(g,v)?P=null:j!==null&&Kf(g,j)&&(c.flags|=32),Fb(
vendor: 12,477 bytes, line 40
40o,c),xn(o,c,P,f),c.child;case 6:return o===null&&sp(c),null;case 13:return Ub(o,c,f);case 4:return hp(c,c.stateNode.containerInfo),g=c.pendingProps,o===null?c.child=zo(c,null,g,f):xn(o,c,g,f),c.child;case 11:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:yr(g,v),Mb(o,c,g,v,f);case 7:return xn(o,c,c.pendingProps,f),c.child;case 8:return xn(o,c,c.pendingProps.children,f),c.child;case 12:return xn(o,c,c.pendingProps.children,f),c.child;case 10:e:{if(g=c.type._context,v=c.pendingProps,j=c.memoizedProps,P=v.value,dt(Du,g._currentValue),g._currentValue=P,j!==null)if(gr(j.value,P)){if(j.children===v.children&&!kn.current){c=cs(o,c,f);break e}}else for(j=c.child,j!==null&&(j.return=c);j!==null;){var D=j.dependencies;if(D!==null){P=j.child;for(var z=D.firstContext;z!==null;){if(z.context===g){if(j.tag===1){z=ls(-1,f&-f),z.tag=2;var X=j.updateQueue;if(X!==null){X=X.shared;var ae=X.pending;ae===null?z.next=z:(z.next=ae.next,ae.next=z),X.pending=z}}j.lanes|=f,z=j.alternate,z!==null&&(z.lanes|=f),cp(j.return,f,c),D.lanes|=f;break}z=z.next}}else if(j.tag===10)P=j.type===c.type?null:j.child;else if(j.tag===18){if(P=j.return,P===null)throw Error(n(341));P.lanes|=f,D=P.alternate,D!==null&&(D.lanes|=f),cp(P,f,c),P=j.sibling}else P=j.child;if(P!==null)P.return=j;else for(P=j;P!==null;){if(P===c){P=null;break}if(j=P.sibling,j!==null){j.return=P.return,P=j;break}P=P.return}j=P}xn(o,c,v.children,f),c=c.child}return c;case 9:return v=c.type,g=c.pendingProps.children,Vo(c,f),v=Zn(v),g=g(v),c.flags|=1,xn(o,c,g,f),c.child;case 14:return g=c.type,v=yr(g,c.pendingProps),v=yr(g.type,v),Ob(o,c,g,v,f);case 15:return Db(o,c,c.type,c.pendingProps,f);case 17:return g=c.type,v=c.pendingProps,v=c.elementType===g?v:yr(g,v),Yu(o,c),c.tag=1,Sn(g)?(o=!0,Au(c)):o=!1,Vo(c,f),Eb(c,g,v),Sp(c,g,v,f),Tp(null,c,g,!0,o,f);case 19:return Hb(o,c,f);case 22:return Lb(o,c,f)}throw Error(n(156,c.tag))};function pw(o,c){return G0(o,c)}function ZR(o,c,f,g){this.tag=o,this.key=f,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nr(o,c,f,g){return new ZR(o,c,f,g)}function Kp(o){return o=o.prototype,!(!o||!o.isReactComponent)}function e4(o){if(typeof o=="function")return Kp(o)?1:0;if(o!=null){if(o=o.$$typeof,o===B)return 11;if(o===te)return 14}return 2}function $s(o,c){var f=o.alternate;return f===null?(f=nr(o.tag,c,o.key,o.mode),f.elementType=o.elementType,f.type=o.type,f.stateNode=o.stateNode,f.alternate=o,o.alternate=f):(f.pendingProps=c,f.type=o.type,f.flags=0,f.subtreeFlags=0,f.deletions=null),f.flags=o.flags&14680064,f.childLanes=o.childLanes,f.lanes=o.lanes,f.child=o.child,f.memoizedProps=o.memoizedProps,f.memoizedState=o.memoizedState,f.updateQueue=o.updateQueue,c=o.dependencies,f.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},f.sibling=o.sibling,f.index=o.index,f.ref=o.ref,f}function id(o,c,f,g,v,j){var P=2;if(g=o,typeof o=="function")Kp(o)&&(P=1);else if(typeof o=="string")P=5;else e:switch(o){case V:return Oi(f.children,v,j,c);case O:P=8,v|=8;break;case W:return o=nr(12,f,c,v|2),o.elementType=W,o.lanes=j,o;case Q:return o=nr(13,f,c,v),o.elementType=Q,o.lanes=j,o;case Z:return o=nr(19,f,c,v),o.elementType=Z,o.lanes=j,o;case ie:return od(f,v,j,c);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case R:P=10;break e;case G:P=9;break e;case B:P=11;break e;case te:P=14;break e;case se:P=16,g=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return c=nr(P,f,c,v),c.elementType=o,c.type=g,c.lanes=j,c}function Oi(o,c,f,g){return o=nr(7,o,g,c),o.lanes=f,o}function od(o,c,f,g){return o=nr(22,o,g,c),o.elementType=ie,o.lanes=f,o.stateNode={isHidden:!1},o}function Qp(o,c,f){return o=nr(6,o,null,c),o.lanes=f,o}function Xp(o,c,f){return c=nr(4,o.children!==null?o.children:[],o.key,c),c.lanes=f,c.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},c}function t4(o,c,f,g,v){this.tag=c,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=kf(0),this.expirationTimes=kf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kf(0),this.identifierPrefix=g,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function Jp(o,c,f,g,v,j,P,D,z){return o=new t4(o,c,f,D,z),c===1?(c=1,j===!0&&(c|=8)):c=0,j=nr(3,null,null,c),o.current=j,j.stateNode=o,j.memoizedState={element:g,isDehydrated:f,cache:null,transitions:null,pendingSuspenseBoundaries:null},dp(j),o}function n4(o,c,f){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_,key:g==null?null:""+g,children:o,containerInfo:c,implementation:f}}function mw(o){if(!o)return Ms;o=o._reactInternals;e:{if(Ni(o)!==o||o.tag!==1)throw Error(n(170));var c=o;do{switch(c.tag){case 3:c=c.stateNode.context;break e;case 1:if(Sn(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break e}}c=c.return}while(c!==null);throw Error(n(171))}if(o.tag===1){var f=o.type;if(Sn(f))return $v(o,f,c)}return c}function gw(o,c,f,g,v,j,P,D,z){return o=Jp(f,g,!0,o,v,j,P,D,z),o.context=mw(null),f=o.current,g=yn(),v=Vs(f),j=ls(g,v),j.callback=c??null,Ls(f,j,v),o.current.lanes=v,tl(o,v,g),Pn(o,g),o}function ad(o,c,f,g){var v=c.current,j=yn(),P=Vs(v);return f=mw(f),c.context===null?c.context=f:c.pendingContext=f,c=ls(j,P),c.payload={element:o},g=g===void 0?null:g,g!==null&&(c.callback=g),o=Ls(v,c,P),o!==null&&(wr(o,v,P,j),Fu(o,v,P)),P}function ld(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function xw(o,c){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var f=o.retryLane;o.retryLane=f!==0&&f<c?f:c}}function Zp(o,c){xw(o,c),(o=o.alternate)&&xw(o,c)}function r4(){return null}var yw=typeof reportError=="function"?reportError:function(o){console.error(o)};function em(o){this._internalRoot=o}cd.prototype.render=em.prototype.render=function(o){var c=this._internalRoot;if(c===null)throw Error(n(409));ad(o,c,null,null)},cd.prototype.unmount=em.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var c=o.containerInfo;Ri(function(){ad(null,o,null,null)}),c[rs]=null}};function cd(o){this._internalRoot=o}cd.prototype.unstable_scheduleHydration=function(o){if(o){var c=tv();o={blockedOn:null,target:o,priority:c};for(var f=0;f<Ts.length&&c!==0&&c<Ts[f].priority;f++);Ts.splice(f,0,o),f===0&&sv(o)}};function tm(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function ud(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function vw(){}function s4(o,c,f,g,v){if(v){if(typeof g=="function"){var j=g;g=function(){var X=ld(P);j.call(X)}}var P=gw(c,g,o,0,null,!1,!1,"",vw);return o._reactRootContainer=P,o[rs]=P.current,ml(o.nodeType===8?o.parentNode:o),Ri(),P}for(;v=o.lastChild;)o.removeChild(v);if(typeof g=="function"){var D=g;g=function(){var X=ld(z);D.call(X)}}var z=Jp(o,0,!1,null,null,!1,!1,"",vw);return o._reactRootContainer=z,o[rs]=z.current,ml(o.nodeType===8?o.parentNode:o),Ri(function(){ad(c,z,f,g)}),z}function dd(o,c,f,g,v){var j=f._reactRootContainer;if(j){var P=j;if(typeof v=="function"){var D=v;v=function(){var z=ld(P);D.call(z)}}ad(c,P,o,v)}else P=s4(f,c,o,v,g);return ld(P)}Z0=function(o){switch(o.tag){case 3:var c=o.stateNode;if(c.current.memoizedState.isDehydrated){var f=el(c.pendingLanes);f!==0&&(Sf(c,f|1),Pn(c,Pt()),(nt&6)===0&&(qo=Pt()+500,Os()))}break;case 13:Ri(function(){var g=as(o,1);if(g!==null){var v=yn();wr(g,o,1,v)}}),Zp(o,1)}},Cf=function(o){if(o.tag===13){var c=as(o,134217728);if(c!==null){var f=yn();wr(c,o,134217728,f)}Zp(o,134217728)}},ev=function(o){if(o.tag===13){var c=Vs(o),f=as(o,c);if(f!==null){var g=yn();wr(f,o,c,g)}Zp(o,c)}},tv=function(){return ot},nv=function(o,c){var f=ot;try{return ot=o,c()}finally{ot=f}},yf=function(o,c,f){switch(c){case"input":if(ut(o,f),c=f.name,f.type==="radio"&&c!=null){for(f=o;f.parentNode;)f=f.parentNode;for(f=f.querySelectorAll("input[name="+JSON.stringify(""+c)+'][type="radio"]'),c=0;c<f.length;c++){var g=f[c];if(g!==o&&g.form===o.form){var v=Pu(g);if(!v)throw Error(n(90));Fe(g),ut(g,v)}}}break;case"textarea":su(o,f);break;case"select":c=f.value,c!=null&&Rr(o,!!f.multiple,c,!1)}},B0=qp,V0=Ri;var i4={usingClientEntryPoint:!1,Events:[yl,Io,Pu,F0,z0,qp]},Rl={findFiberByHostInstance:ki,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},o4={bundleType:Rl.bundleType,version:Rl.version,rendererPackageName:Rl.rendererPackageName,rendererConfig:Rl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=W0(o),o===null?null:o.stateNode},findFiberByHostInstance:Rl.findFiberByHostInstance||r4,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 hd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hd.isDisabled&&hd.supportsFiber)try{cu=hd.inject(o4),Mr=hd}catch{}}return Tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i4,Tn.createPortal=function(o,c){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!tm(c))throw Error(n(200));return n4(o,c,null,f)},Tn.createRoot=function(o,c){if(!tm(o))throw Error(n(299));var f=!1,g="",v=yw;return c!=null&&(c.unstable_strictMode===!0&&(f=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onRecoverableError!==void 0&&(v=c.onRecoverableError)),c=Jp(o,1,!1,null,null,f,!1,g,v),o[rs]=c.current,ml(o.nodeType===8?o.parentNode:o),new em(c)},Tn.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var c=o._reactInternals;if(c===void 0)throw typeof o.render=="function"?Error(n(188)):(o=Object.keys(o).join(","),Error(n(268,o)));return o=W0(c),o=o===null?null:o.stateNode,o},Tn.flushSync=function(o){return Ri(o)},Tn.hydrate=function(o,c,f){if(!ud(c))throw Error(n(200));return dd(null,o,c,!0,f)},Tn.hydrateRoot=function(o,c,f){if(!tm(o))throw Error(n(405));var g=f!=null&&f.hydratedSources||null,v=!1,j="",P=yw;if(f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(j=f.identifierPrefix),f.onRecoverableError!==void 0&&(P=f.onRecoverableError)),c=gw(c,null,o,1,f??null,v,!1,j,P),o[rs]=c.current,ml(o),g)for(o=0;o<g.length;o++)f=g[o],v=f._getVersion,v=v(f._source),c.mutableSourceEagerHydrationData==null?c.mutableSourceEagerHydrationData=[f,v]:c.mutableSourceEagerHydrationData.push(f,v);return new cd(c)},Tn.render=function(o,c,f){if(!ud(c))throw Error(n(200));return dd(null,o,c,!1,f)},Tn.unmountComponentAtNode=function(o){if(!ud(o))throw Error(n(40));return o._reactRootContainer?(Ri(function(){dd(null,null,o,!1,function(){o._reactRootContainer=null,o[rs]=null})}),!0):!1},Tn.unstable_batchedUpdates=qp,Tn.unstable_renderSubtreeIntoContainer=function(o,c,f,g){if(!ud(f))throw Error(n(200));if(o==null||o._reactInternals===void 0)throw Error(n(38));return dd(o,c,f,!1,g)},Tn.version="18.3.1-next-f1338f8080-20240426",Tn}var Pw;function Bk(){if(Pw)return im.exports;Pw=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),im.exports=x4(),im.exports}var Tw;function y4(){if(Tw)return pd;Tw=1;var e=Bk();return pd.createRoot=e.createRoot,pd.hydrateRoot=e.hydrateRoot,pd}var v4=y4();const b4=Dc(v4),w4=20,j4=1e6,ms={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let lm=0;function N4(){return lm=(lm+1)%Number.MAX_VALUE,lm.toString()}const cm=new Map,Aw=e=>{if(cm.has(e))return;const t=setTimeout(()=>{cm.delete(e),sc({type:ms.REMOVE_TOAST,toastId:e})},j4);cm.set(e,t)},k4=(e,t)=>
40{switch(t.type){case ms.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,w4)};case ms.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case ms.DISMISS_TOAST:{const{toastId:n}=t;return n?Aw(n):e.toasts.forEach(r=>{Aw(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case ms.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Dd=[];let Ld={toasts:[]};function sc(e){Ld=k4(Ld,e),Dd.forEach(t=>{t(Ld)})}function S4({...e}){const t=N4(),n=i=>sc({type:ms.UPDATE_TOAST,toast:{...i,id:t}}),r=()=>sc({type:ms.DISMISS_TOAST,toastId:t});return sc({type:ms.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function C4(){const[e,t]=S.useState(Ld);return S.useEffect(()=>(Dd.push(t),()=>{const n=Dd.indexOf(t);n>-1&&Dd.splice(n,1)}),[e]),{...e,toast:S4,dismiss:n=>sc({type:ms.DISMISS_TOAST,toastId:n})}}function Vk(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Vk(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Uk(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Vk(e))&&(r&&(r+=" "),r+=t);return r}const _w=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rw=Uk,Fx=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Rw(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:a}=t,l=Object.keys(i).map(h=>{const p=n==null?void 0:n[h],m=a==null?void 0:a[h];if(p===null)return null;const x=_w(p)||_w(m);return i[h][x]}),u=n&&Object.entries(n).reduce((h,p)=>{let[m,x]=p;return x===void 0||(h[m]=x),h},{}),d=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((h,p)=>{let{class:m,className:x,...y}=p;return Object.entries(y).every(N=>{let[w,k]=N;return Array.isArray(k)?k.includes({...a,...u}[w]):{...a,...u}[w]===k})?[...h,m,x]:h},[]);return Rw(e,l,d,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.475.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const E4=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$k=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.475.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var P4={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.475.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const T4=S.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:l,...u},d)=>S.createElement("svg",{ref:d,...P4,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$k("lucide",i),...u},[...l.map(([h,p])=>S.createElement(h,p)),...Array.isArray(a)?a:[a]]));/**
56 * @license lucide-react v0.475.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const we=(e,t)=>{const n=S.forwardRef(({className:r,...i},a)=>S.createElement(T4,{ref:a,iconNode:t,className:$k(`lucide-${E4(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.475.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const A4=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],zx=we("ArrowLeft",A4);/**
66 * @license lucide-react v0.475.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const _4=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],qt=we("ArrowRight",_4);/**
71 * @license lucide-react v0.475.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const R4=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]],I4=we("BellRing",R4);/**
76 * @license lucide-react v0.475.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const M4=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Hk=we("Bell",M4);/**
81 * @license lucide-react v0.475.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const O4=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Zd=we("BookOpen",O4);/**
86 * @license lucide-react v0.475.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const D4=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Iw=we("Bot",D4);/**
91 * @license lucide-react v0.475.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const L4=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],F4=we("Briefcase",L4);/**
96 * @license lucide-react v0.475.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const z4=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]],fg=we("Building",z4);/**
101 * @license lucide-react v0.475.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const B4=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]],V4=we("Calculator",B4);/**
106 * @license lucide-react v0.475.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const U4=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],vs=we("Calendar",U4);
110/**
111 * @license lucide-react v0.475.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const $4=[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Ea=we("Camera",$4);/**
116 * @license lucide-react v0.475.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const H4=[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]],Mw=we("ChartNoAxesColumnIncreasing",H4);/**
121 * @license lucide-react v0.475.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const W4=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Wk=we("Check",W4);/**
126 * @license lucide-react v0.475.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const q4=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Lc=we("ChevronDown",q4);/**
131 * @license lucide-react v0.475.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const G4=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],In=we("ChevronRight",G4);/**
136 * @license lucide-react v0.475.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const Y4=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],qk=we("ChevronUp",Y4);/**
141 * @license lucide-react v0.475.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const K4=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],he=we("CircleCheckBig",K4);/**
146 * @license lucide-react v0.475.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Q4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ph=we("CircleCheck",Q4);/**
151 * @license lucide-react v0.475.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const X4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],J4=we("Circle",X4);/**
156 * @license lucide-react v0.475.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const Z4=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],e6=we("ClipboardCheck",Z4);/**
161 * @license lucide-react v0.475.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const t6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],vo=we("Clock",t6);/**
166 * @license lucide-react v0.475.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const n6=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],r6=we("Cookie",n6);/**
171 * @license lucide-react v0.475.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const s6=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],i6=we("Copy",s6);/**
176 * @license lucide-react v0.475.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const o6=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],a6=we("CreditCard",o6);/**
181 * @license lucide-react v0.475.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const l6=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],Th=we("DollarSign",l6);/**
186 * @license lucide-react v0.475.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const c6=[["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"}]],u6=we("Download",c6);/**
191 * @license lucide-react v0.475.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const d6=[["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"}]],Da=we("FileText",d6);/**
196 * @license lucide-react v0.475.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const h6=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],f6=we("GitBranch",h6);/**
201 * @license lucide-react v0.475.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const p6=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Bx=we("House",p6);/**
206 * @license lucide-react v0.475.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const m6=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Gk=we("Lightbulb",m6);/**
211 * @license lucide-react v0.475.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const g6=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],pg=we("List",g6);/**
216 * @license lucide-react v0.475.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const x6=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],y6=we("LoaderCircle",x6);/**
221 * @license lucide-react v0.475.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const v6=[["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"}]],b6=we("Lock",v6);/**
226 * @license lucide-react v0.475.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const w6=[["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"}]],Vx=we("Mail",w6);/**
231 * @license lucide-react v0.475.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const j6=[["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"}]],N6=we("Menu",j6);/**
236 * @license lucide-react v0.475.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const k6=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],Ux=we("MessageCircle",k6);/**
241 * @license lucide-react v0.475.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const S6=[["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"}]],so=we("MessageSquare",S6);/**
246 * @license lucide-react v0.475.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const C6=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],fc=we("Package",C6);/**
251 * @license lucide-react v0.475.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const E6=[["path",{d:"M19 5c-1.5 0-2.8 1.4-3 2-3.5-1.5-11-.3-11 5 0 1.8 0 3 2 4.5V20h4v-2h3v2h4v-4c1-.5 1.7-1 2-2h2v-4h-2c0-1-.5-1.5-1-2V5z",key:"1ivx2i"}],["path",{d:"M2 9v1c0 1.1.9 2 2 2h1",key:"nm575m"}],["path",{d:"M16 11h.01",key:"xkw8gn"}]],P6=we("PiggyBank",E6);/**
256 * @license lucide-react v0.475.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const T6=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],Yk=we("Play",T6);/**
261 * @license lucide-react v0.475.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const A6=[["path",{d:"M12 22v-5",key:"1ega77"}
265],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],Kk=we("Plug",A6);/**
266 * @license lucide-react v0.475.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const _6=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],R6=we("Plus",_6);/**
271 * @license lucide-react v0.475.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const I6=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],Qk=we("Puzzle",I6);/**
276 * @license lucide-react v0.475.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const M6=[["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"}]],mg=we("Rocket",M6);/**
281 * @license lucide-react v0.475.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const O6=[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],D6=we("Rss",O6);/**
286 * @license lucide-react v0.475.0 - ISC
287 *
288 * This source code is licensed under the ISC license.
289 * See the LICENSE file in the root directory of this source tree.
290 */const L6=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],F6=we("Scale",L6);/**
291 * @license lucide-react v0.475.0 - ISC
292 *
293 * This source code is licensed under the ISC license.
294 * See the LICENSE file in the root directory of this source tree.
295 */const z6=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],B6=we("Search",z6);/**
296 * @license lucide-react v0.475.0 - ISC
297 *
298 * This source code is licensed under the ISC license.
299 * See the LICENSE file in the root directory of this source tree.
300 */const V6=[["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"}]],Xk=we("ShieldCheck",V6);/**
301 * @license lucide-react v0.475.0 - ISC
302 *
303 * This source code is licensed under the ISC license.
304 * See the LICENSE file in the root directory of this source tree.
305 */const U6=[["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"}]],oi=we("Shield",U6);/**
306 * @license lucide-react v0.475.0 - ISC
307 *
308 * This source code is licensed under the ISC license.
309 * See the LICENSE file in the root directory of this source tree.
310 */const $6=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],Ah=we("ShoppingCart",$6);/**
311 * @license lucide-react v0.475.0 - ISC
312 *
313 * This source code is licensed under the ISC license.
314 * See the LICENSE file in the root directory of this source tree.
315 */const H6=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],W6=we("Smartphone",H6);/**
316 * @license lucide-react v0.475.0 - ISC
317 *
318 * This source code is licensed under the ISC license.
319 * See the LICENSE file in the root directory of this source tree.
320 */const q6=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],io=we("Sparkles",q6);/**
321 * @license lucide-react v0.475.0 - ISC
322 *
323 * This source code is licensed under the ISC license.
324 * See the LICENSE file in the root directory of this source tree.
325 */const G6=[["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"}]],ur=we("Star",G6);/**
326 * @license lucide-react v0.475.0 - ISC
327 *
328 * This source code is licensed under the ISC license.
329 * See the LICENSE file in the root directory of this source tree.
330 */const Y6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],K6=we("Target",Y6);/**
331 * @license lucide-react v0.475.0 - ISC
332 *
333 * This source code is licensed under the ISC license.
334 * See the LICENSE file in the root directory of this source tree.
335 */const Q6=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],X6=we("Terminal",Q6);/**
336 * @license lucide-react v0.475.0 - ISC
337 *
338 * This source code is licensed under the ISC license.
339 * See the LICENSE file in the root directory of this source tree.
340 */const J6=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"8",cy:"12",r:"2",key:"1nvbw3"}]],Z6=we("ToggleLeft",J6);/**
341 * @license lucide-react v0.475.0 - ISC
342 *
343 * This source code is licensed under the ISC license.
344 * See the LICENSE file in the root directory of this source tree.
345 */const eI=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"6",ry:"6",key:"f2vt7d"}],["circle",{cx:"16",cy:"12",r:"2",key:"4ma0v8"}]],tI=we("ToggleRight",eI);/**
346 * @license lucide-react v0.475.0 - ISC
347 *
348 * This source code is licensed under the ISC license.
349 * See the LICENSE file in the root directory of this source tree.
350 */const nI=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],Fc=we("TrendingUp",nI);/**
351 * @license lucide-react v0.475.0 - ISC
352 *
353 * This source code is licensed under the ISC license.
354 * See the LICENSE file in the root directory of this source tree.
355 */const rI=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],$x=we("TriangleAlert",rI);/**
356 * @license lucide-react v0.475.0 - ISC
357 *
358 * This source code is licensed under the ISC license.
359 * See the LICENSE file in the root directory of this source tree.
360 */const sI=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}
vendor: 5,538 bytes, lines 360-390
360],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]],iI=we("UserCheck",sI);/**
361 * @license lucide-react v0.475.0 - ISC
362 *
363 * This source code is licensed under the ISC license.
364 * See the LICENSE file in the root directory of this source tree.
365 */const oI=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],gg=we("UserPlus",oI);/**
366 * @license lucide-react v0.475.0 - ISC
367 *
368 * This source code is licensed under the ISC license.
369 * See the LICENSE file in the root directory of this source tree.
370 */const aI=[["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"}]],lI=we("User",aI);/**
371 * @license lucide-react v0.475.0 - ISC
372 *
373 * This source code is licensed under the ISC license.
374 * See the LICENSE file in the root directory of this source tree.
375 */const cI=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Yn=we("Users",cI);/**
376 * @license lucide-react v0.475.0 - ISC
377 *
378 * This source code is licensed under the ISC license.
379 * See the LICENSE file in the root directory of this source tree.
380 */const uI=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],dI=we("Wrench",uI);/**
381 * @license lucide-react v0.475.0 - ISC
382 *
383 * This source code is licensed under the ISC license.
384 * See the LICENSE file in the root directory of this source tree.
385 */const hI=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],eh=we("X",hI);/**
386 * @license lucide-react v0.475.0 - ISC
387 *
388 * This source code is licensed under the ISC license.
389 * See the LICENSE file in the root directory of this source tree.
390 */const fI=[["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"}]],ui=we("Zap",fI),Hx="-",pI=e=>{const t=gI(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const u=l.split(Hx);return u[0]===""&&u.length!==1&&u.shift(),Jk(u,t)||mI(l)},getConflictingClassGroupIds:(l,u)=>{const d=n[l]||[];return u&&r[l]?[...d,...r[l]]:d}}},Jk=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Jk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(Hx);return(l=t.validators.find(({validator:u})=>u(a)))==null?void 0:l.classGroupId},Ow=/^\[(.+)\]$/,mI=e=>{if(Ow.test(e)){const t=Ow.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},gI=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)xg(n[i],r,i,t);return r},xg=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:Dw(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(xI(i)){xg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,l])=>{xg(l,Dw(t,a),n,r)})})},Dw=(e,t)=>{let n=e;return t.split(Hx).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},xI=e=>e.isThemeGetter,yI=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,l)=>{n.set(a,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let l=n.get(a);if(l!==void 0)return l;if((l=r.get(a))!==void 0)return i(a,l),l},set(a,l){n.has(a)?n.set(a,l):i(a,l)}}},yg="!",vg=":",vI=vg.length,bI=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let l=0,u=0,d=0,h;for(let N=0;N<i.length;N++){let w=i[N];if(l===0&&u===0){if(w===vg){a.push(i.slice(d,N)),d=N+vI;continue}if(w==="/"){h=N;continue}}w==="["?l++:w==="]"?l--:w==="("?u++:w===")"&&u--}const p=a.length===0?i:i.substring(d),m=wI(p),x=m!==p,y=h&&h>d?h-d:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:y}};if(t){const i=t+vg,a=r;r=l=>l.startsWith(i)?a(l.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},wI=e=>e.endsWith(yg)?e.substring(0,e.length-1):e.startsWith(yg)?e.substring(1):e,jI=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let a=[];return r.forEach(l=>{l[0]==="["||t[l]?(i.push(...a.sort(),l),a=[]):a.push(l)}),i.push(...a.sort()),i}},NI=e=>({cache:yI(e.cacheSize),parseClassName:bI(e),sortModifiers:jI(e),...pI(e)}),kI=/\s+/,SI=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,l=[],u=e.trim().split(kI);let d="";for(let h=u.length-1;h>=0;h-=1){const p=u[h],{isExternal:m,modifiers:x,hasImportantModifier:y,baseClassName:N,maybePostfixModifierPosition:w}=n(p);if(m){d=p+(d.length>0?" "+d:d);continue}let k=!!w,b=r(k?N.substring(0,w):N);if(!b){if(!k){d=p+(d.length>0?" "+d:d);continue}if(b=r(N),!b){d=p+(d.length>0?" "+d:d);continue}k=!1}const E=a(x).join(":"),C=y?E+yg:E,T=C+b;if(l.includes(T))continue;l.push(T);const I=i(b,k);for(let _=0;_<I.length;++_){const V=I[_];l.push(C+V)}d=p+(d.length>0?" "+d:d)}return d};
vendor: 4,228 bytes, line 390
390function CI(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Zk(t))&&(r&&(r+=" "),r+=n);return r}const Zk=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Zk(e[r]))&&(n&&(n+=" "),n+=t);return n};function EI(e,...t){let n,r,i,a=l;function l(d){const h=t.reduce((p,m)=>m(p),e());return n=NI(h),r=n.cache.get,i=n.cache.set,a=u,u(d)}function u(d){const h=r(d);if(h)return h;const p=SI(d,n);return i(d,p),p}return function(){return a(CI.apply(null,arguments))}}const Vt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},eS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,tS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,PI=/^\d+\/\d+$/,TI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,AI=/\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$/,_I=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,RI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,II=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yo=e=>PI.test(e),Ge=e=>!!e&&!Number.isNaN(Number(e)),Ws=e=>!!e&&Number.isInteger(Number(e)),um=e=>e.endsWith("%")&&Ge(e.slice(0,-1)),ds=e=>TI.test(e),MI=()=>!0,OI=e=>AI.test(e)&&!_I.test(e),nS=()=>!1,DI=e=>RI.test(e),LI=e=>II.test(e),FI=e=>!Ne(e)&&!ke(e),zI=e=>La(e,iS,nS),Ne=e=>eS.test(e),Di=e=>La(e,oS,OI),dm=e=>La(e,HI,Ge),Lw=e=>La(e,rS,nS),BI=e=>La(e,sS,LI),md=e=>La(e,aS,DI),ke=e=>tS.test(e),Ml=e=>Fa(e,oS),VI=e=>Fa(e,WI),Fw=e=>Fa(e,rS),UI=e=>Fa(e,iS),$I=e=>Fa(e,sS),gd=e=>Fa(e,aS,!0),La=(e,t,n)=>{const r=eS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Fa=(e,t,n=!1)=>{const r=tS.exec(e);return r?r[1]?t(r[1]):n:!1},rS=e=>e==="position"||e==="percentage",sS=e=>e==="image"||e==="url",iS=e=>e==="length"||e==="size"||e==="bg-size",oS=e=>e==="length",HI=e=>e==="number",WI=e=>e==="family-name",aS=e=>e==="shadow",qI=()=>{const e=Vt("color"),t=Vt("font"),n=Vt("text"),r=Vt("font-weight"),i=Vt("tracking"),a=Vt("leading"),l=Vt("breakpoint"),u=Vt("container"),d=Vt("spacing"),h=Vt("radius"),p=Vt("shadow"),m=Vt("inset-shadow"),x=Vt("text-shadow"),y=Vt("drop-shadow"),N=Vt("blur"),w=Vt("perspective"),k=Vt("aspect"),b=Vt("ease"),E=Vt("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...T(),ke,Ne],_=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],O=()=>[ke,Ne,d],W=()=>[Yo,"full","auto",...O()],R=()=>[Ws,"none","subgrid",ke,Ne],G=()=>["auto",{span:["full",Ws,ke,Ne]},Ws,ke,Ne],B=()=>[Ws,"auto",ke,Ne],Q=()=>["auto","min","max","fr",ke,Ne],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],se=()=>["auto",...O()],ie=()=>[Yo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],F=()=>[e,ke,Ne],J=()=>[...T(),Fw,Lw,{position:[ke,Ne]}],A=()=>["no-repeat",{repeat:["","x","y","space","round"]}],L=()=>["auto","cover","contain",UI,zI,{size:[ke,Ne]}],ee=()=>[um,Ml,Di],M=()=>["","none","full",h,ke,Ne],pe=()=>["",Ge,Ml,Di],Pe=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Ge,um,Fw,Lw],me=()=>["","none",N,ke,Ne],ve=()=>["none",Ge,ke,Ne],Ae=()=>["none",Ge,ke,Ne],Ve=()=>[Ge,ke,Ne],Fe=()=>[Yo,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ds],breakpoint:[ds],color:[MI],container:[ds],"drop-shadow":[ds],ease:["in","out","in-out"],font:[FI],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ds],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ds],shadow:[ds],spacing:["px",Ge],text:[ds],"text-shadow":[ds],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yo,Ne,ke,k]}
vendor: 12,882 bytes, line 390
390],container:["container"],columns:[{columns:[Ge,Ne,ke,u]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[Ws,"auto",ke,Ne]}],basis:[{basis:[Yo,"full","auto",u,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ge,Yo,"auto","initial","none",Ne]}],grow:[{grow:["",Ge,ke,Ne]}],shrink:[{shrink:["",Ge,ke,Ne]}],order:[{order:[Ws,"first","last","none",ke,Ne]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Q()}],"auto-rows":[{"auto-rows":Q()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:se()}],mx:[{mx:se()}],my:[{my:se()}],ms:[{ms:se()}],me:[{me:se()}],mt:[{mt:se()}],mr:[{mr:se()}],mb:[{mb:se()}],ml:[{ml:se()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:ie()}],w:[{w:[u,"screen",...ie()]}],"min-w":[{"min-w":[u,"screen","none",...ie()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[l]},...ie()]}],h:[{h:["screen","lh",...ie()]}],"min-h":[{"min-h":["screen","lh","none",...ie()]}],"max-h":[{"max-h":["screen","lh",...ie()]}],"font-size":[{text:["base",n,Ml,Di]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ke,dm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",um,Ne]}],"font-family":[{font:[VI,Ne,t]}],"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:[i,ke,Ne]}],"line-clamp":[{"line-clamp":[Ge,"none",ke,dm]}],leading:[{leading:[a,...O()]}],"list-image":[{"list-image":["none",ke,Ne]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ke,Ne]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ge,"from-font","auto",ke,Di]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[Ge,"auto",ke,Ne]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ke,Ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ke,Ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:J()}],"bg-repeat":[{bg:A()}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ws,ke,Ne],radial:["",ke,Ne],conic:[Ws,ke,Ne]},$I,BI]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Pe(),"hidden","none"]}],"divide-style":[{divide:[...Pe(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...Pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ge,ke,Ne]}],"outline-w":[{outline:["",Ge,Ml,Di]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",p,gd,md]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",m,gd,md]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[Ge,Di]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",x,gd,md]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[Ge,ke,Ne]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ke,Ne]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:J()}],"mask-repeat":[{mask:A()}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ke,Ne]}],filter:[{filter:["","none",ke,Ne]}],blur:[{blur:me()}],brightness:[{brightness:[Ge,ke,Ne]}],contrast:[{contrast:[Ge,ke,Ne]}],"drop-shadow":[{"drop-shadow":["","none",y,gd,md]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",Ge,ke,Ne]}],"hue-rotate":[{"hue-rotate":[Ge,ke,Ne]}],invert:[{invert:["",Ge,ke,Ne]}],saturate:[{saturate:[Ge,ke,Ne]}],sepia:[{sepia:["",Ge,ke,Ne]}],"backdrop-filter":[{"backdrop-filter":["","none",ke,Ne]}],"backdrop-blur":[{"backdrop-blur":me()}],"backdrop-brightness":[{"backdrop-brightness":[Ge,ke,Ne]}],"backdrop-contrast":[{"backdrop-contrast":[Ge,ke,Ne]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ge,ke,Ne]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ge,ke,Ne]}],"backdrop-invert":[{"backdrop-invert":["",Ge,ke,Ne]}],"backdrop-opacity":[{"backdrop-opacity":[Ge,ke,Ne]}],"backdrop-saturate":[{"backdrop-saturate":[Ge,ke,Ne]}],"backdrop-sepia":[{"backdrop-sepia":["",Ge,ke,Ne]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ke,Ne]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ge,"initial",ke,Ne]}],ease:[{ease:["linear","initial",b,ke,Ne]}],delay:[{delay:[Ge,ke,Ne]}],animate:[{animate:["none",E,ke,Ne]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,ke,Ne]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:ve()}],"rotate-x":[{"rotate-x":ve()}],"rotate-y":[{"rotate-y":ve()}],"rotate-z":[{"rotate-z":ve()}],scale:[{scale:Ae()}],"scale-x":[{"scale-x":Ae()}],"scale-y":[{"scale-y":Ae()}],"scale-z":[{"scale-z":Ae()}],"scale-3d":["scale-3d"],skew:[{skew:Ve()}],"skew-x":[{"skew-x":Ve()}],"skew-y":[{"skew-y":Ve()}],transform:[{transform:[ke,Ne,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Fe()}],"translate-x":[{"translate-x":Fe()}],"translate-y":[{"translate-y":Fe()}],"translate-z":[{"translate-z":Fe()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}
vendor: 6,657 bytes, line 390
390],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ke,Ne]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ke,Ne]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[Ge,Ml,Di,dm]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},lS=EI(qI);function He(...e){return lS(Uk(e))}const cS=S.forwardRef(({...e},t)=>s.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));cS.displayName="ToastProvider";const uS=S.forwardRef(({...e},t)=>s.jsx("div",{ref:t,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...e}));uS.displayName="ToastViewport";const GI=Fx("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),dS=S.forwardRef(({className:e,variant:t,...n},r)=>s.jsx("div",{ref:r,className:He(GI({variant:t}),e),...n}));dS.displayName="Toast";const YI=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));YI.displayName="ToastAction";const hS=S.forwardRef(({className:e,...t},n)=>s.jsx("button",{ref:n,className:He("absolute right-2 top-2 rounded-md p-1 text-foreground
390/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:s.jsx(eh,{className:"h-4 w-4"})}));hS.displayName="ToastClose";const fS=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("text-sm font-semibold",e),...t}));fS.displayName="ToastTitle";const pS=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("text-sm opacity-90",e),...t}));pS.displayName="ToastDescription";function KI(){const{toasts:e}=C4();return s.jsxs(cS,{children:[e.map(function({id:t,title:n,description:r,action:i,...a}){return s.jsxs(dS,{...a,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(fS,{children:n}),r&&s.jsx(pS,{children:r})]}),i,s.jsx(hS,{})]},t)}),s.jsx(uS,{})]})}var zc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},QI={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Xs,Ox,Tk,XI=(Tk=class{constructor(){De(this,Xs,QI);De(this,Ox,!1)}setTimeoutProvider(e){ye(this,Xs,e)}setTimeout(e,t){return U(this,Xs).setTimeout(e,t)}clearTimeout(e){U(this,Xs).clearTimeout(e)}setInterval(e,t){return U(this,Xs).setInterval(e,t)}clearInterval(e){U(this,Xs).clearInterval(e)}},Xs=new WeakMap,Ox=new WeakMap,Tk),qi=new XI;function JI(e){setTimeout(e,0)}var lo=typeof window>"u"||"Deno"in globalThis;function Rn(){}function ZI(e,t){return typeof e=="function"?e(t):e}function bg(e){return typeof e=="number"&&e>=0&&e!==1/0}function mS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ai(e,t){return typeof e=="function"?e(t):e}function ar(e,t){return typeof e=="function"?e(t):e}function zw(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==Wx(l,t.options))return!1}else if(!mc(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||i&&i!==t.state.fetchStatus||a&&!a(t))}function Bw(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(pc(t.options.mutationKey)!==pc(a))return!1}else if(!mc(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Wx(e,t){return((t==null?void 0:t.queryKeyHashFn)||pc)(e)}function pc(e){return JSON.stringify(e,(t,n)=>jg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function mc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>mc(e[n],t[n])):!1}var eM=Object.prototype.hasOwnProperty;function gS(e,t){if(e===t)return e;const n=Vw(e)&&Vw(t);if(!n&&!(jg(e)&&jg(t)))return t;const i=(n?e:Object.keys(e)).length,a=n?t:Object.keys(t),l=a.length,u=n?new Array(l):{};let d=0;for(let h=0;h<l;h++){const p=n?h:a[h],m=e[p],x=t[p];if(m===x){u[p]=m,(n?h<i:eM.call(e,p))&&d++;continue}if(m===null||x===null||typeof m!="object"||typeof x!="object"){u[p]=x;continue}const y=gS(m,x);u[p]=y,y===m&&d++}return i===l&&d===i?e:u}function wg(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Vw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function jg(e){if(!Uw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Uw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Uw(e){return Object.prototype.toString.call(e)==="[object Object]"}function tM(e){return new Promise(t=>{qi.setTimeout(t,e)})}function Ng(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?gS(e,t):t}function nM(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function rM(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var qx=Symbol();function xS(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===qx?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function sM(e,t){return typeof e=="function"?e(...t):!!e}var Ki,Js,ma,Ak,iM=(Ak=class extends zc{constructor(){super();De(this,Ki);De(this,Js);De(this,ma);ye(this,ma,t=>{if(!lo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){U(this,Js)||this.setEventListener(U(this,ma))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Js))==null||t.call(this),ye(this,Js,void 0))}setEventListener(t){var n;ye(this,ma,t),(n=U(this,Js))==null||n.call(this),ye(this,Js,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){U(this,Ki)!==t&&(ye(this,Ki,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 5,022 bytes, line 390
390this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof U(this,Ki)=="boolean"?U(this,Ki):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ki=new WeakMap,Js=new WeakMap,ma=new WeakMap,Ak),Gx=new iM;function kg(){let e,t;const n=new Promise((i,a)=>{e=i,t=a});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}var oM=JI;function aM(){let e=[],t=0,n=u=>{u()},r=u=>{u()},i=oM;const a=u=>{t?e.push(u):i(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&i(()=>{r(()=>{u.forEach(d=>{n(d)})})})};return{batch:u=>{let d;t++;try{d=u()}finally{t--,t||l()}return d},batchCalls:u=>(...d)=>{a(()=>{u(...d)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{i=u}}}var Zt=aM(),ga,Zs,xa,_k,lM=(_k=class extends zc{constructor(){super();De(this,ga,!0);De(this,Zs);De(this,xa);ye(this,xa,t=>{if(!lo&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){U(this,Zs)||this.setEventListener(U(this,xa))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Zs))==null||t.call(this),ye(this,Zs,void 0))}setEventListener(t){var n;ye(this,xa,t),(n=U(this,Zs))==null||n.call(this),ye(this,Zs,t(this.setOnline.bind(this)))}setOnline(t){U(this,ga)!==t&&(ye(this,ga,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return U(this,ga)}},ga=new WeakMap,Zs=new WeakMap,xa=new WeakMap,_k),th=new lM;function cM(e){return Math.min(1e3*2**e,3e4)}function yS(e){return(e??"online")==="online"?th.isOnline():!0}var Sg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function vS(e){let t=!1,n=0,r;const i=kg(),a=()=>i.status!=="pending",l=w=>{var k;if(!a()){const b=new Sg(w);x(b),(k=e.onCancel)==null||k.call(e,b)}},u=()=>{t=!0},d=()=>{t=!1},h=()=>Gx.isFocused()&&(e.networkMode==="always"||th.isOnline())&&e.canRun(),p=()=>yS(e.networkMode)&&e.canRun(),m=w=>{a()||(r==null||r(),i.resolve(w))},x=w=>{a()||(r==null||r(),i.reject(w))},y=()=>new Promise(w=>{var k;r=b=>{(a()||h())&&w(b)},(k=e.onPause)==null||k.call(e)}).then(()=>{var w;r=void 0,a()||(w=e.onContinue)==null||w.call(e)}),N=()=>{if(a())return;let w;const k=n===0?e.initialPromise:void 0;try{w=k??e.fn()}catch(b){w=Promise.reject(b)}Promise.resolve(w).then(m).catch(b=>{var _;if(a())return;const E=e.retry??(lo?0:3),C=e.retryDelay??cM,T=typeof C=="function"?C(n,b):C,I=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,b);if(t||!I){x(b);return}n++,(_=e.onFail)==null||_.call(e,n,b),tM(T).then(()=>h()?void 0:y()).then(()=>{t?x(b):N()})})};return{promise:i,status:()=>i.status,cancel:l,continue:()=>(r==null||r(),i),cancelRetry:u,continueRetry:d,canStart:p,start:()=>(p()?N():y().then(N),i)}}var Qi,Rk,bS=(Rk=class{constructor(){De(this,Qi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),bg(this.gcTime)&&ye(this,Qi,qi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(lo?1/0:300*1e3))}clearGcTimeout(){U(this,Qi)&&(qi.clearTimeout(U(this,Qi)),ye(this,Qi,void 0))}},Qi=new WeakMap,Rk),Xi,ya,or,Ji,Wt,_c,Zi,kr,hs,Ik,uM=(Ik=class extends bS{constructor(t){super();De(this,kr);De(this,Xi);De(this,ya);De(this,or);De(this,Ji);De(this,Wt);De(this,_c);De(this,Zi);ye(this,Zi,!1),ye(this,_c,t.defaultOptions),this.setOptions(t.options),this.observers=[],ye(this,Ji,t.client),ye(this,or,U(this,Ji).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ye(this,Xi,$w(this.options)),this.state=t.state??U(this,Xi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=U(this,Wt))==null?void 0:t.promise}setOptions(t){if(this.options={...U(this,_c),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=$w(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}),ye(this,Xi,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,or).remove(this)}setData(t,n){const r=Ng(this.state.data,t,this.options);return Xe(this,kr,hs).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Xe(this,kr,hs).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=U(this,Wt))==null?void 0:r.promise;return(i=U(this,Wt))==null||i.cancel(t),n?n.then(Rn).catch(Rn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,Xi))}isActive(){return this.observers.some(t=>ar(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qx||this.state.dataUpdateCount+this.state.errorUpdate
390Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ai(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!mS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,Wt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,Wt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),U(this,or).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(U(this,Wt)&&(U(this,Zi)?U(this,Wt).cancel({revert:!0}):U(this,Wt).cancelRetry()),this.scheduleGc()),U(this,or).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Xe(this,kr,hs).call(this,{type:"invalidate"})}async fetch(t,n){var d,h,p,m,x,y,N,w,k,b,E,C;if(this.state.fetchStatus!=="idle"&&((d=U(this,Wt))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(U(this,Wt))return U(this,Wt).continueRetry(),U(this,Wt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(I=>I.options.queryFn);T&&this.setOptions(T.options)}const r=new AbortController,i=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(ye(this,Zi,!0),r.signal)})},a=()=>{const T=xS(this.options,n),_=(()=>{const V={client:U(this,Ji),queryKey:this.queryKey,meta:this.meta};return i(V),V})();return ye(this,Zi,!1),this.options.persister?this.options.persister(T,_,this):T(_)},u=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:U(this,Ji),state:this.state,fetchFn:a};return i(T),T})();(h=this.options.behavior)==null||h.onFetch(u,this),ye(this,ya,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=u.fetchOptions)==null?void 0:p.meta))&&Xe(this,kr,hs).call(this,{type:"fetch",meta:(m=u.fetchOptions)==null?void 0:m.meta}),ye(this,Wt,vS({initialPromise:n==null?void 0:n.initialPromise,fn:u.fetchFn,onCancel:T=>{T instanceof Sg&&T.revert&&this.setState({...U(this,ya),fetchStatus:"idle"}),r.abort()},onFail:(T,I)=>{Xe(this,kr,hs).call(this,{type:"failed",failureCount:T,error:I})},onPause:()=>{Xe(this,kr,hs).call(this,{type:"pause"})},onContinue:()=>{Xe(this,kr,hs).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0}));try{const T=await U(this,Wt).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(y=(x=U(this,or).config).onSuccess)==null||y.call(x,T,this),(w=(N=U(this,or).config).onSettled)==null||w.call(N,T,this.state.error,this),T}catch(T){if(T instanceof Sg){if(T.silent)return U(this,Wt).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw Xe(this,kr,hs).call(this,{type:"error",error:T}),(b=(k=U(this,or).config).onError)==null||b.call(k,T,this),(C=(E=U(this,or).config).onSettled)==null||C.call(E,this.state.data,T,this),T}finally{this.scheduleGc()}}},Xi=new WeakMap,ya=new WeakMap,or=new WeakMap,Ji=new WeakMap,Wt=new WeakMap,_c=new WeakMap,Zi=new WeakMap,kr=new WeakSet,hs=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...wS(r.data,this.options),fetchMeta:t.meta??null};case"success":const i={...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ye(this,ya,t.manual?i:void 0),i;case"error":const a=t.error;
vendor: 13,753 bytes, line 390
390return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Zt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),U(this,or).notify({query:this,type:"updated",action:t})})},Ik);function wS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:yS(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function $w(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var _n,Je,Rc,vn,eo,va,fs,ei,Ic,ba,wa,to,no,ti,ja,it,Gl,Cg,Eg,Pg,Tg,Ag,_g,Rg,jS,Mk,dM=(Mk=class extends zc{constructor(t,n){super();De(this,it);De(this,_n);De(this,Je);De(this,Rc);De(this,vn);De(this,eo);De(this,va);De(this,fs);De(this,ei);De(this,Ic);De(this,ba);De(this,wa);De(this,to);De(this,no);De(this,ti);De(this,ja,new Set);this.options=n,ye(this,_n,t),ye(this,ei,null),ye(this,fs,kg()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(U(this,Je).addObserver(this),Hw(U(this,Je),this.options)?Xe(this,it,Gl).call(this):this.updateResult(),Xe(this,it,Tg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ig(U(this,Je),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ig(U(this,Je),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Xe(this,it,Ag).call(this),Xe(this,it,_g).call(this),U(this,Je).removeObserver(this)}setOptions(t){const n=this.options,r=U(this,Je);if(this.options=U(this,_n).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ar(this.options.enabled,U(this,Je))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Xe(this,it,Rg).call(this),U(this,Je).setOptions(this.options),n._defaulted&&!wg(this.options,n)&&U(this,_n).getQueryCache().notify({type:"observerOptionsUpdated",query:U(this,Je),observer:this});const i=this.hasListeners();i&&Ww(U(this,Je),r,this.options,n)&&Xe(this,it,Gl).call(this),this.updateResult(),i&&(U(this,Je)!==r||ar(this.options.enabled,U(this,Je))!==ar(n.enabled,U(this,Je))||ai(this.options.staleTime,U(this,Je))!==ai(n.staleTime,U(this,Je)))&&Xe(this,it,Cg).call(this);const a=Xe(this,it,Eg).call(this);i&&(U(this,Je)!==r||ar(this.options.enabled,U(this,Je))!==ar(n.enabled,U(this,Je))||a!==U(this,ti))&&Xe(this,it,Pg).call(this,a)}getOptimisticResult(t){const n=U(this,_n).getQueryCache().build(U(this,_n),t),r=this.createResult(n,t);return fM(this,r)&&(ye(this,vn,r),ye(this,va,this.options),ye(this,eo,U(this,Je).state)),r}getCurrentResult(){return U(this,vn)}trackResult(t,n){return new Proxy(t,{get:(r,i)=>(this.trackProp(i),n==null||n(i),i==="promise"&&!this.options.experimental_prefetchInRender&&U(this,fs).status==="pending"&&U(this,fs).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,i))})}trackProp(t){U(this,ja).add(t)}getCurrentQuery(){return U(this,Je)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=U(this,_n).defaultQueryOptions(t),r=U(this,_n).getQueryCache().build(U(this,_n),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Xe(this,it,Gl).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),U(this,vn)))}createResult(t,n){var W;const r=U(this,Je),i=this.options,a=U(this,vn),l=U(this,eo),u=U(this,va),h=t!==r?t.state:U(this,Rc),{state:p}=t;let m={...p},x=!1,y;if(n._optimisticResults){const R=this.hasListeners(),G=!R&&Hw(t,n),B=R&&Ww(t,r,n,i);(G||B)&&(m={...m,...wS(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:N,errorUpdatedAt:w,status:k}=m;y=m.data;let b=!1;if(n.placeholderData!==void 0&&y===void 0&&k==="pending"){let R;a!=null&&a.isPlaceholderData&&n.placeholderData===(u==null?void 0:u.placeholderData)?(R=a.data,b=!0):R=typeof n.placeholderData=="function"?n.placeholderData((W=U(this,wa))==null?void 0:W.state.data,U(this,wa)):n.placeholderData,R!==void 0&&(k="success",y=Ng(a==null?void 0:a.data,R,n),x=!0)}if(n.select&&y!==void 0&&!b)if(a&&y===(l==null?void 0:l.data)&&n.select===U(this,Ic))y=U(this,ba);else try{ye(this,Ic,n.select),y=n.select(y),y=Ng(a==null?void 0:a.data,y,n),ye(this,ba,y),ye(this,ei,null)}catch(R){ye(this,ei,R)}U(this,ei)&&(N=U(this,ei),y=U(this,ba),w=Date.now(),k="error");const E=m.fetchStatus==="fetching",C=k==="pending",T=k==="error",I=C&&E,_=y!==void 0,O={status:k,fetchStatus:m.fetchStatus,isPending:C,isSuccess:k==="success",isError:T,isInitialLoading:I,isLoading:I,data:y,dataUpdatedAt:m.dataUpdatedAt,error:N,errorUpdatedAt:w,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>h.dataUpdateCount||m.errorUpdateCount>h.errorUpdateCount,isFetching:E,isRefetching:E&&!C,isLoadingError:T&&!_,isPaused:m.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:T&&_,isStale:Yx(t,n),refetch:this.refetch,promise:U(this,fs),isEnabled:ar(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const R=Q=>{O.status==="error"?Q.reject(O.error):O.data!==void 0&&Q.resolve(O.data)},G=()=>{const Q=ye(this,fs,O.promise=kg());R(Q)},B=U(this,fs);switch(B.status){case"pending":t.queryHash===r.queryHash&&R(B);break;case"fulfilled":(O.status==="error"||O.data!==B.value)&&G();break;case"rejected":(O.status!=="error"||O.error!==B.reason)&&G();break}}return O}updateResult(){const t=U(this,vn),n=this.createResult(U(this,Je),this.options);if(ye(this,eo,U(this,Je).state),ye(this,va,this.options),U(this,eo).data!==void 0&&ye(this,wa,U(this,Je)),wg(n,t))return;ye(this,vn,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!U(this,ja).size)return!0;const l=new Set(a??U(this,ja));return this.options.throwOnError&&l.add("error"),Object.keys(U(this,vn)).some(u=>{const d=u;return U(this,vn)[d]!==t[d]&&l.has(d)})};Xe(this,it,jS).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Xe(this,it,Tg).call(this)}},_n=new WeakMap,Je=new WeakMap,Rc=new WeakMap,vn=new WeakMap,eo=new WeakMap,va=new WeakMap,fs=new WeakMap,ei=new WeakMap,Ic=new WeakMap,ba=new WeakMap,wa=new WeakMap,to=new WeakMap,no=new WeakMap,ti=new WeakMap,ja=new WeakMap,it=new WeakSet,Gl=function(t){Xe(this,it,Rg).call(this);let n=U(this,Je).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Rn)),n},Cg=function(){Xe(this,it,Ag).call(this);const t=ai(this.options.staleTime,U(this,Je));if(lo||U(this,vn).isStale||!bg(t))return;const r=mS(U(this,vn).dataUpdatedAt,t)+1;ye(this,to,qi.setTimeout(()=>{U(this,vn).isStale||this.updateResult()},r))},Eg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(U(this,Je)):this.options.refetchInterval)??!1},Pg=function(t){Xe(this,it,_g).call(this),ye(this,ti,t),!(lo||ar(this.options.enabled,U(this,Je))===!1||!bg(U(this,ti))||U(this,ti)===0)&&ye(this,no,qi.setInterval(()=>{(this.options.refetchIntervalInBackground||Gx.isFocused())&&Xe(this,it,Gl).call(this)},U(this,ti)))},Tg=function(){Xe(this,it,Cg).call(this),Xe(this,it,Pg).call(this,Xe(this,it,Eg).call(this))},Ag=function(){U(this,to)&&(qi.clearTimeout(U(this,to)),ye(this,to,void 0))},_g=function(){U(this,no)&&(qi.clearInterval(U(this,no)),ye(this,no,void 0))},Rg=function(){const t=U(this,_n).getQueryCache().build(U(this,_n),this.options);if(t===U(this,Je))return;const n=U(this,Je);ye(this,Je,t),ye(this,Rc,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},jS=function(t){Zt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(U(this,vn))}),U(this,_n).getQueryCache().notify({query:U(this,Je),type:"observerResultsUpdated"})})},Mk);function hM(e,t){return ar(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Hw(e,t){return hM(e,t)||e.state.data!==void 0&&Ig(e,t,t.refetchOnMount)}function Ig(e,t,n){if(ar(t.enabled,e)!==!1&&ai(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Yx(e,t)}return!1}function Ww(e,t,n,r){return(e!==t||ar(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Yx(e,n)}function Yx(e,t){return ar(t.enabled,e)!==!1&&e.isStaleByTime(ai(t.staleTime,e))}function fM(e,t){return!wg(e.getCurrentResult(),t)}function qw(e){return{onFetch:(t,n)=>{var p,m,x,y,N;const r=t.options,i=(x=(m=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,a=((y=t.state.data)==null?void 0:y.pages)||[],l=((N=t.state.data)==null?void 0:N.pageParams)||[];let u={pages:[],pageParams:[]},d=0;const h=async()=>{let w=!1;const k=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},b=xS(t.options,t.fetchOptions),E=async(C,T,I)=>{if(w)return Promise.reject();if(T==null&&C.pages.length)return Promise.resolve(C);const V=(()=>{const G={client:t.client,queryKey:t.queryKey,pageParam:T,direction:I?"backward":"forward",meta:t.options.meta};return k(G),G})(),O=await b(V),{maxPages:W}=t.options,R=I?rM:nM;return{pages:R(C.pages,O,W),pageParams:R(C.pageParams,T,W)}};if(i&&a.length){const C=i==="backward",T=C?pM:Gw,I={pages:a,pageParams:l},_=T(r,I);u=await E(I,_,C)}else{const C=e??a.length;do{const T=d===0?l[0]??r.initialPageParam:Gw(r,u);if(d>0&&T==null)break;u=await E(u,T),d++}while(d<C)}return u};t.options.persister?t.fetchFn=()=>{var w,k;return(k=(w=t.options).persister)==null?void 0:k.call(w,h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=h}}}function Gw(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function pM(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Mc,Vr,bn,ro,Ur,Ys,Ok,mM=(Ok=class extends bS{constructor(t){super();De(this,Ur);De(this,Mc);De(this,Vr);De(this,bn);De(this,ro);ye(this,Mc,t.client),this.mutationId=t.mutationId,ye(this,bn,t.mutationCache),ye(this,Vr,[]),this.state=t.state||gM(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){U(this,Vr).includes(t)||(U(this,Vr).push(t),this.clearGcTimeout(),U(this,bn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ye(this,Vr,U(this,Vr).filter(n=>n!==t)),this.scheduleGc(),U(this,bn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){U(this,Vr).length||(this.state.status==="pending"?this.scheduleGc():U(this,bn).remove(this))}continue(){var t;return((t=U(this,ro))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,u,d,h,p,m,x,y,N,w,k,b,E,C,T,I,_,V,O,W;const n=()=>{Xe(this,Ur,Ys).call(this,{type:"continue"})},r={client:U(this,Mc),meta:this.options.meta,mutationKey:this.options.mutationKey};ye(this,ro,vS({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(R,G)=>{Xe(this,Ur,Ys).call(this,{type:"failed",failureCount:R,error:G})},onPause:()=>{Xe(this,Ur,Ys).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,bn).canRun(this)}));const i=this.state.status==="pending",a=!U(this,ro).canStart();try{if(i)n();else{Xe(this,Ur,Ys).call(this,{type:"pending",variables:t,isPaused:a}),await((u=(l=U(this,bn).config).onMutate)==null?void 0:u.call(l,t,this,r));const G=await((h=(d=this.options).onMutate)==null?void 0:h.call(d,t,r));G!==this.state.context&&Xe(this,Ur,Ys).call(this,{type:"pending",context:G,variables:t,isPaused:a})}const R=await U(this,ro).start();return await((m=(p=U(this,bn).config).onSuccess)==null?void 0:m.call(p,R,t,this.state.context,this,r)),await((y=(x=this.options).onSuccess)==null?void 0:y.call(x,R,t,this.state.context,r)),await((w=(N=U(this,bn).config).onSettled)==null?void 0:w.call(N,R,null,this.state.variables,this.state.context,this,r)),await((b=(k=this.options).onSettled)==null?void 0:b.call(k,R,null,t,this.state.context,r)),Xe(this,Ur,Ys).call(this,{type:"success",data:R}),R}catch(R){try{throw await((C=(E=U(this,bn).config).onError)==null?void 0:C.call(E,R,t,this.state.context,this,r)),await((I=(T=this.options).onError)==null?void 0:I.call(T,R,t,this.state.context,r)),await((V=(_=U(this,bn).config).onSettled)==null?void 0:V.call(_,void 0,R,this.state.variables,this.state.context,this,r)),await((W=(O=this.options).onSettled)==null?void 0:W.call(O,void 0,R,t,this.state.context,r)),R}finally{Xe(this,Ur,Ys).call(this,{type:"error",error:R})}}finally{U(this,bn).runNext(this)}}},Mc=new WeakMap,Vr=new WeakMap,bn=new WeakMap,ro=new WeakMap,Ur=new WeakSet,Ys=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
390case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Zt.batch(()=>{U(this,Vr).forEach(r=>{r.onMutationUpdate(t)}),U(this,bn).notify({mutation:this,type:"updated",action:t})})},Ok);function gM(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ps,Sr,Oc,Dk,xM=(Dk=class extends zc{constructor(t={}){super();De(this,ps);De(this,Sr);De(this,Oc);this.config=t,ye(this,ps,new Set),ye(this,Sr,new Map),ye(this,Oc,0)}build(t,n,r){const i=new mM({client:t,mutationCache:this,mutationId:++fd(this,Oc)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){U(this,ps).add(t);const n=xd(t);if(typeof n=="string"){const r=U(this,Sr).get(n);r?r.push(t):U(this,Sr).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(U(this,ps).delete(t)){const n=xd(t);if(typeof n=="string"){const r=U(this,Sr).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&U(this,Sr).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=xd(t);if(typeof n=="string"){const r=U(this,Sr).get(n),i=r==null?void 0:r.find(a=>a.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=xd(t);if(typeof n=="string"){const i=(r=U(this,Sr).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Zt.batch(()=>{U(this,ps).forEach(t=>{this.notify({type:"removed",mutation:t})}),U(this,ps).clear(),U(this,Sr).clear()})}getAll(){return Array.from(U(this,ps))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Bw(n,r))}findAll(t={}){return this.getAll().filter(n=>Bw(t,n))}notify(t){Zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Zt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Rn))))}},ps=new WeakMap,Sr=new WeakMap,Oc=new WeakMap,Dk);function xd(e){var t;return(t=e.options.scope)==null?void 0:t.id}var $r,Lk,yM=(Lk=class extends zc{constructor(t={}){super();De(this,$r);this.config=t,ye(this,$r,new Map)}build(t,n,r){const i=n.queryKey,a=n.queryHash??Wx(i,n);let l=this.get(a);return l||(l=new uM({client:t,queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(l)),l}add(t){U(this,$r).has(t.queryHash)||(U(this,$r).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=U(this,$r).get(t.queryHash);n&&(t.destroy(),n===t&&U(this,$r).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Zt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return U(this,$r).get(t)}getAll(){return[...U(this,$r).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>zw(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>zw(t,r)):n}notify(t){Zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Zt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Zt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$r=new WeakMap,Lk),St,ni,ri,Na,ka,si,Sa,Ca,Fk,vM=(Fk=class{constructor(e={}){De(this,St);De(this,ni);De(this,ri);De(this,Na);De(this,ka);De(this,si);De(this,Sa);De(this,Ca);ye(this,St,e.queryCache||new yM),ye(this,ni,e.mutationCache||new xM),ye(this,ri,e.defaultOptions||{}),ye(this,Na,new Map),ye(this,ka,new Map),ye(this,si,0)}mount(){fd(this,si)._++,U(this,si)===1&&(ye(this,Sa,Gx.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,St).onFocus())})),ye(this,Ca,th.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,St).onOnline())})))}unmount(){var e,t;fd(this,si)._--,U(this,si)===0&&((e=U(this,Sa))==null||e.call(this),ye(this,Sa,void 0),(t=U(this,Ca))==null||t.call(this),ye(this,Ca,void 0))}isFetching(e){return U(this,St).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return U(this,ni).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=U(this,St).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=U(this,St).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ai(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return U(this,St).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=U(this,St).get(r.queryHash),a=i==null?void 0:i.state.data,l=ZI(t,a);if(l!==void 0)return U(this,St).build(this,r).setData(l,{...n,manual:!0})}
vendor: 3,143 bytes, line 390
390setQueriesData(e,t,n){return Zt.batch(()=>U(this,St).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=U(this,St).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=U(this,St);Zt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=U(this,St);return Zt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Zt.batch(()=>U(this,St).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Rn).catch(Rn)}invalidateQueries(e,t={}){return Zt.batch(()=>(U(this,St).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Zt.batch(()=>U(this,St).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(Rn)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(Rn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=U(this,St).build(this,t);return n.isStaleByTime(ai(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Rn).catch(Rn)}fetchInfiniteQuery(e){return e.behavior=qw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Rn).catch(Rn)}ensureInfiniteQueryData(e){return e.behavior=qw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return th.isOnline()?U(this,ni).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,St)}getMutationCache(){return U(this,ni)}getDefaultOptions(){return U(this,ri)}setDefaultOptions(e){ye(this,ri,e)}setQueryDefaults(e,t){U(this,Na).set(pc(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...U(this,Na).values()],n={};return t.forEach(r=>{mc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){U(this,ka).set(pc(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...U(this,ka).values()],n={};return t.forEach(r=>{mc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...U(this,ri).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Wx(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===qx&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...U(this,ri).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){U(this,St).clear(),U(this,ni).clear()}},St=new WeakMap,ni=new WeakMap,ri=new WeakMap,Na=new WeakMap,ka=new WeakMap,si=new WeakMap,Sa=new WeakMap,Ca=new WeakMap,Fk),NS=S.createContext(void 0),bM=e
390=>{const t=S.useContext(NS);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},wM=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(NS.Provider,{value:e,children:t})),kS=S.createContext(!1),jM=()=>S.useContext(kS);kS.Provider;function NM(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var kM=S.createContext(NM()),SM=()=>S.useContext(kM),CM=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},EM=e=>{S.useEffect(()=>{e.clearReset()},[e])},PM=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||sM(n,[e.error,r])),TM=e=>{if(e.suspense){const n=i=>i==="static"?i:Math.max(i??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...i)=>n(r(...i)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},AM=(e,t)=>e.isLoading&&e.isFetching&&!t,_M=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Yw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function RM(e,t,n){var m,x,y,N,w;const r=jM(),i=SM(),a=bM(),l=a.defaultQueryOptions(e);(x=(m=a.getDefaultOptions().queries)==null?void 0:m._experimental_beforeQuery)==null||x.call(m,l),l._optimisticResults=r?"isRestoring":"optimistic",TM(l),CM(l,i),EM(i);const u=!a.getQueryCache().get(l.queryHash),[d]=S.useState(()=>new t(a,l)),h=d.getOptimisticResult(l),p=!r&&e.subscribed!==!1;if(S.useSyncExternalStore(S.useCallback(k=>{const b=p?d.subscribe(Zt.batchCalls(k)):Rn;return d.updateResult(),b},[d,p]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),S.useEffect(()=>{d.setOptions(l)},[l,d]),_M(l,h))throw Yw(l,d,i);if(PM({result:h,errorResetBoundary:i,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw h.error;if((N=(y=a.getDefaultOptions().queries)==null?void 0:y._experimental_afterQuery)==null||N.call(y,l,h),l.experimental_prefetchInRender&&!lo&&AM(h,r)){const k=u?Yw(l,d,i):(w=a.getQueryCache().get(l.queryHash))==null?void 0:w.promise;k==null||k.catch(Rn).finally(()=>{d.updateResult()})}return l.notifyOnChangeProps?h:d.trackResult(h)}function IM(e,t){return RM(e,dM)}const MM=new vM({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});function OM(){const[e,t]=S.useState(!1),n=S.useRef(!1),[r,i]=S.useState(!1),a=S.useRef(!1),[l,u]=S.useState(!1),d=S.useRef(!1),h=S.useRef([]),p=S.useRef([]),m=S.useRef([]),x=S.useRef(null),y=(O=!1)=>{const W=document.createElement("div");return W.style.position="absolute",W.style.pointerEvents="none",W.style.transition="all 0.1s ease-in-out",W.style.zIndex="9999",O?W.style.border="2px solid #2563EB":(W.style.border="2px solid #95a5fc",W.style.backgroundColor="rgba(99, 102, 241, 0.05)"),W},N=(O,W,R=!1)=>{if(!W||!n.current)return;W.offsetWidth;const G=W.getBoundingClientRect();O.style.top=`${G.top+window.scrollY}px`,O.style.left=`${G.left+window.scrollX}px`,O.style.width=`${G.width}px`,O.style.height=`${G.height}px`;let B=O.querySelector("div");B||(B=document.createElement("div"),B.textContent=W.tagName.toLowerCase(),B.style.position="absolute",B.style.top="-27px",B.style.left="-2px",B.style.padding="2px 8px",B.style.fontSize="11px",B.style.fontWeight=R?"500":"400",B.style.color=R?"#ffffff":"#526cff",B.style.backgroundColor=R?"#526cff":"#DBEAFE",B.style.borderRadius="3px",B.style.boxShadow="none",B.style.minWidth="24px",B.style.textAlign="center",O.appendChild(B))},w=O=>{if(!O)return[];const W=[...document.querySelectorAll(`[data-source-location="${O}"]`)];return W.length>0?W:[...document.querySelectorAll(`[data-visual-selector-id="${O}"]`)]},k=()=>{h.current.forEach(O=>{O&&O.parentNode&&O.remove()}),h.current=[],m.current=[]},b=O=>{if(!n.current||a.current)return;if(d.current){k();return}if(O.target.tagName.toLowerCase()==="path"){k();return}const W=O.target.closest("[data-source-location], [data-visual-selector-id]");if(!W){k();return}const R=W.dataset.sourceLocation||W.dataset.visualSelectorId;if(W.dataset.sourceLocation,x.current===R){k();return}const G=w(R);k(),G.forEach(B=>{const Q=y(!1);document.body.appendChild(Q),h.current.push(Q),N(Q,B)}),m.current=G},E=()=>{a.current||k()},C=O=>{var te;if(!n.current)return;if(d.current){O.preventDefault(),O.stopPropagation(),O.stopImmediatePropagation(),window.parent.postMessage({type:"close-dropdowns"},"*");return}if(O.target.tagName.toLowerCase()==="path")return;O.preventDefault(),O.stopPropagation(),O.stopImmediatePropagation();const W=O.target.closest("[data-source-location], [data-visual-selector-id]");if(!W)return;const R=W.dataset.sourceLocation||W.dataset.visualSelectorId;W.dataset.sourceLocation,p.current.forEach(se=>{se&&se.parentNode&&se.remove()}
390),p.current=[],w(R).forEach(se=>{const ie=y(!0);document.body.appendChild(ie),p.current.push(ie),N(ie,se,!0)}),x.current=R,k();const B=W.getBoundingClientRect(),Q={top:B.top,left:B.left,right:B.right,bottom:B.bottom,width:B.width,height:B.height,centerX:B.left+B.width/2,centerY:B.top+B.height/2},Z={type:"element-selected",tagName:W.tagName,classes:((te=W.className)==null?void 0:te.baseVal)||W.className||"",visualSelectorId:R,content:W.innerText,dataSourceLocation:W.dataset.sourceLocation,isDynamicContent:W.dataset.dynamicContent==="true",linenumber:W.dataset.linenumber,filename:W.dataset.filename,position:Q};window.parent.postMessage(Z,"*")},T=()=>{p.current.forEach(O=>{O&&O.parentNode&&O.remove()}),p.current=[],x.current=null},I=(O,W,R=!1)=>{const G=w(O);G.length!==0&&(G.forEach(B=>{var Q;if(R)B.className=W;else{const Z=((Q=B.className)==null?void 0:Q.baseVal)||B.className||"";B.className=lS(Z,W)}}),setTimeout(()=>{var B,Q;x.current===O&&p.current.forEach((Z,te)=>{te<G.length&&N(Z,G[te])}),m.current.length>0&&((Q=(B=m.current[0])==null?void 0:B.dataset)==null?void 0:Q.visualSelectorId)===O&&h.current.forEach((te,se)=>{se<m.current.length&&N(te,m.current[se])})},50))},_=(O,W)=>{const R=w(O);R.length!==0&&(R.forEach(G=>{G.innerText=W}),setTimeout(()=>{x.current===O&&p.current.forEach((G,B)=>{B<R.length&&N(G,R[B])})},50))},V=O=>{t(O),n.current=O,O?(document.body.style.cursor="crosshair",document.addEventListener("mouseover",b),document.addEventListener("mouseout",E),document.addEventListener("click",C,!0)):(k(),p.current.forEach(W=>{W&&W.parentNode&&W.remove()}),p.current=[],m.current=[],x.current=null,document.body.style.cursor="default",document.removeEventListener("mouseover",b),document.removeEventListener("mouseout",E),document.removeEventListener("click",C,!0))};return S.useEffect(()=>{document.querySelectorAll("[data-linenumber]:not([data-visual-selector-id])").forEach((G,B)=>{const Q=`visual-id-${G.dataset.filename}-${G.dataset.linenumber}-${B}`;G.dataset.visualSelectorId=Q});const W=()=>{if(x.current){const G=w(x.current);if(G.length>0){const Q=G[0].getBoundingClientRect(),Z=window.innerHeight,te=window.innerWidth,se=Q.top<Z&&Q.bottom>0&&Q.left<te&&Q.right>0,ie={top:Q.top,left:Q.left,right:Q.right,bottom:Q.bottom,width:Q.width,height:Q.height,centerX:Q.left+Q.width/2,centerY:Q.top+Q.height/2};window.parent.postMessage({type:"element-position-update",position:ie,isInViewport:se,visualSelectorId:x.current},"*")}}},R=G=>{const B=G.data;switch(B.type){case"toggle-visual-edit-mode":V(B.data.enabled);break;case"update-classes":B.data&&B.data.classes!==void 0?I(B.data.visualSelectorId,B.data.classes,B.data.replace||!1):console.warn("[Agent] Invalid update-classes message:",B);break;case"unselect-element":T();break;case"refresh-page":window.location.reload();break;case"update-content":B.data&&B.data.content!==void 0?_(B.data.visualSelectorId,B.data.content):console.warn("[Agent] Invalid update-content message:",B);break;case"request-element-position":if(x.current){const Q=w(x.current);if(Q.length>0){const te=Q[0].getBoundingClientRect(),se=window.innerHeight,ie=window.innerWidth,F=te.top<se&&te.bottom>0&&te.left<ie&&te.right>0,J={top:te.top,left:te.left,right:te.right,bottom:te.bottom,width:te.width,height:te.height,centerX:te.left+te.width/2,centerY:te.top+te.height/2};window.parent.postMessage({type:"element-position-update",position:J,isInViewport:F,visualSelectorId:x.current},"*")}}break;case"popover-drag-state":B.data&&B.data.isDragging!==void 0&&(i(B.data.isDragging),a.current=B.data.isDragging,B.data.isDragging&&k());break;case"dropdown-state":B.data&&B.data.isOpen!==void 0&&(u(B.data.isOpen),d.current=B.data.isOpen,B.data.isOpen&&k());break}};return window.addEventListener("message",R),window.addEventListener("scroll",W,!0),document.addEventListener("scroll",W,!0),window.parent.postMessage({type:"visual-edit-agent-ready"},"*"),()=>{window.removeEventListener("message",R),window.removeEventListener("scroll",W,!0),document.removeEventListener("scroll",W,!0),document.removeEventListener("mouseover",b),document.removeEventListener("mouseout",E),document.removeEventListener("click",C,!0),k(),p.current.forEach(G=>{G&&G.parentNode&&G.remove()})}},[]),S.useEffect(()=>{n.current=e},[e]),S.useEffect(()=>{a.current=r},[r]),S.useEffect(()=>{d.current=l},[l]),S.useEffect(()=>{const O=()=>{if(x.current){const R=w(x.current);p.current.forEach((G,B)=>{B<R.length&&N(G,R[B])})}m.current.length>0&&h.current.forEach((R,G)=>{G<m.current.length&&N(R,m.current[G])})},W=new MutationObserver(R=>{R.some(B=>{const Q=te=>{if(te.nodeType===Node.ELEMENT_NODE){if(te.dataset&&te.dataset.visualSelectorId)return!0;for(let se=0;se<te.children.length;se++)if(Q(te.children[se]))return!0}return!1};return B.type==="attributes"&&(B.attributeName==="style"||B.attributeName==="class"||B.attributeName==="width"||B.attributeName==="height")&&Q(B.target)})&&setTimeout(O,50)});return W.observe(document.body,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["style","class","width","height"]}),window.addEventListener("resize",O),window.addEventListener("scroll",O),()=>{window.removeEventListener("resize",O),window.removeEventListener("scroll",O),W.disconnect()}},[]),null}var Bc=Bk();const DM=Dc(Bc);/**
391 * @remix-run/router v1.23.0
392 *
393 * Copyright (c) Remix Software Inc.
394 *
395 * This source code is licensed under the MIT license found in the
396 * LICENSE.md file in the root directory of this source tree.
397 *
398 * @license MIT
399 */function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gc.apply(this,arguments)}var ii;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ii||(ii={}));const Kw="popstate";function LM(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:l,hash:u}=r.location;return Mg("",{pathname:a,search:l,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:nh(i)}return zM(t,n,null,e)}function _t(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function SS(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FM(){return Math.random().toString(36).substr(2,8)}function Qw(e,t){return{usr:e.state,key:e.key,idx:t}}function Mg(e,t,n,r){return n===void 0&&(n=null),gc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?za(t):t,{state:n,key:t&&t.key||r||FM()})}function nh(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function za(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function zM(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,l=i.history,u=ii.Pop,d=null,h=p();h==null&&(h=0,l.replaceState(gc({},l.state,{idx:h}),""));function p(){return(l.state||{idx:null}).idx}function m(){u=ii.Pop;let k=p(),b=k==null?null:k-h;h=k,d&&d({action:u,location:w.location,delta:b})}function x(k,b){u=ii.Push;let E=Mg(w.location,k,b);h=p()+1;let C=Qw(E,h),T=w.createHref(E);try{l.pushState(C,"",T)}
vendor: 3,212 bytes, line 399
399catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;i.location.assign(T)}a&&d&&d({action:u,location:w.location,delta:1})}function y(k,b){u=ii.Replace;let E=Mg(w.location,k,b);h=p();let C=Qw(E,h),T=w.createHref(E);l.replaceState(C,"",T),a&&d&&d({action:u,location:w.location,delta:0})}function N(k){let b=i.location.origin!=="null"?i.location.origin:i.location.href,E=typeof k=="string"?k:nh(k);return E=E.replace(/ $/,"%20"),_t(b,"No window.location.(origin|href) available to create URL for href: "+E),new URL(E,b)}let w={get action(){return u},get location(){return e(i,l)},listen(k){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(Kw,m),d=k,()=>{i.removeEventListener(Kw,m),d=null}},createHref(k){return t(i,k)},createURL:N,encodeLocation(k){let b=N(k);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:x,replace:y,go(k){return l.go(k)}};return w}var Xw;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Xw||(Xw={}));function BM(e,t,n){return n===void 0&&(n="/"),VM(e,t,n)}function VM(e,t,n,r){let i=typeof t=="string"?za(t):t,a=Kx(i.pathname||"/",n);if(a==null)return null;let l=CS(e);UM(l);let u=null;for(let d=0;u==null&&d<l.length;++d){let h=eO(a);u=XM(l[d],h)}return u}function CS(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,l,u)=>{let d={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};d.relativePath.startsWith("/")&&(_t(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(r.length));let h=li([r,d.relativePath]),p=n.concat(d);a.children&&a.children.length>0&&(_t(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),CS(a.children,t,p,h)),!(a.path==null&&!a.index)&&t.push({path:h,score:KM(h,a.index),routesMeta:p})};return e.forEach((a,l)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))i(a,l);else for(let d of ES(a.path))i(a,l,d)}),t}function ES(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let l=ES(r.join("/")),u=[];return u.push(...l.map(d=>d===""?a:[a,d].join("/"))),i&&u.push(...l),u.map(d=>e.startsWith("/")&&d===""?"/":d)}function UM(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:QM(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $M=/^:[\w-]+$/,HM=3,WM=2,qM=1,GM=10,YM=-2,Jw=e=>e==="*";function KM(e,t){let n=e.split("/"),r=n.length;return n.some(Jw)&&(r+=YM),t&&(r+=WM),n.filter(i=>!Jw(i)).reduce((i,a)=>i+($M.test(a)?HM:a===""?qM:GM),r)}function QM(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function XM(e,t,n){let{routesMeta:r}=e,i={},a="/",l=[];for(let u=0;u<r.length;++u){let d=r[u],h=u===r.length-1,p=a==="/"?t:t.slice(a.length)||"/",m=JM({path:d.relativePath,caseSensitive:d.caseSensitive,end:h},p),x=d.route;if(!m)return null;
vendor: 9,002 bytes, lines 399-408
399Object.assign(i,m.params),l.push({params:i,pathname:li([a,m.pathname]),pathnameBase:sO(li([a,m.pathnameBase])),route:x}),m.pathnameBase!=="/"&&(a=li([a,m.pathnameBase]))}return l}function JM(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ZM(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],l=a.replace(/(.)\/+$/,"$1"),u=i.slice(1);return{params:r.reduce((h,p,m)=>{let{paramName:x,isOptional:y}=p;if(x==="*"){let w=u[m]||"";l=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const N=u[m];return y&&!N?h[x]=void 0:h[x]=(N||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:l,pattern:e}}function ZM(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),SS(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,d)=>(r.push({paramName:u,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function eO(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return SS(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Kx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function tO(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?za(e):e;return{pathname:n?n.startsWith("/")?n:nO(n,t):t,search:iO(r),hash:oO(i)}}function nO(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function hm(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function rO(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Qx(e,t){let n=rO(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Xx(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=za(e):(i=gc({},e),_t(!i.pathname||!i.pathname.includes("?"),hm("?","pathname","search",i)),_t(!i.pathname||!i.pathname.includes("#"),hm("#","pathname","hash",i)),_t(!i.search||!i.search.includes("#"),hm("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let x=l.split("/");for(;x[0]==="..";)x.shift(),m-=1;i.pathname=x.join("/")}u=m>=0?t[m]:"/"}let d=tO(i,u),h=l&&l!=="/"&&l.endsWith("/"),p=(a||l===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(h||p)&&(d.pathname+="/"),d}const li=e=>e.join("/").replace(/\/\/+/g,"/"),sO=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iO=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,oO=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function aO(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PS=["post","put","patch","delete"];new Set(PS);const lO=["get",...PS];new Set(lO);/**
400 * React Router v6.30.1
401 *
402 * Copyright (c) Remix Software Inc.
403 *
404 * This source code is licensed under the MIT license found in the
405 * LICENSE.md file in the root directory of this source tree.
406 *
407 * @license MIT
408 */function xc(){return xc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xc.apply(this,arguments)}const Jx=S.createContext(null),cO=S.createContext(null),gi=S.createContext(null),_h=S.createContext(null),Ns=S.createContext({outlet:null,matches:[],isDataRoute:!1}),TS=S.createContext(null);function uO(e,t){let{relative:n}=t===void 0?{}:t;Ba()||_t(!1);let{basename:r,navigator:i}=S.useContext(gi),{hash:a,pathname:l,search:u}=RS(e,{relative:n}),d=l;return r!=="/"&&(d=l==="/"?r:li([r,l])),i.createHref({pathname:d,search:u,hash:a})}function Ba(){return S.useContext(_h)!=null}function Zr(){return Ba()||_t(!1),S.useContext(_h).location}function AS(e){S.useContext(gi).static||S.useLayoutEffect(e)}function Rh(){let{isDataRoute:e}=S.useContext(Ns);return e?NO():dO()}function dO(){Ba()||_t(!1);let e=S.useContext(Jx),{basename:t,future:n,navigator:r}=S.useContext(gi),{matches:i}=S.useContext(Ns),{pathname:a}=Zr(),l=JSON.stringify(Qx(i,n.v7_relativeSplatPath)),u=S.useRef(!1);return AS(()=>{u.current=!0}),S.useCallback(function(h,p){if(p===void 0&&(p={}),!u.current)return;if(typeof h=="number"){r.go(h);return}let m=Xx(h,JSON.parse(l),a,p.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:li([t,m.pathname])),(p.replace?r.replace:r.push)(m,p.state,p)},[t,r,l,a,e])}function _S(){let{matches:e}=S.useContext(Ns),t=e[e.length-1];return t?t.params:{}}function RS(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=S.useContext(gi),{matches:i}=S.useContext(Ns),{pathname:a}=Zr(),l=JSON.stringify(Qx(i,r.v7_relativeSplatPath));return S.useMemo(()=>Xx(e,JSON.parse(l),a,n==="path"),[e,l,a,n])}function hO(e,t){return fO(e,t)}function fO(e,t,n,r){Ba()||_t(!1);let{navigator:i}=S.useContext(gi),{matches:a}=S.useContext(Ns),l=a[a.length-1],u=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let h=Zr(),p;if(t){var m;let k=typeof t=="string"?za(t):t;d==="/"||(m=k.pathname)!=null&&m.startsWith(d)||_t(!1),p=k}else p=h;let x=p.pathname||"/",y=x;if(d!=="/"){let k=d.replace(/^\//,"").split("/");y="/"+x.replace(/^\//,"").split("/").slice(k.length).join("/")}let N=BM(e,{pathname:y}),w=yO(N&&N.map(k=>Object.assign({},k,{params:Object.assign({},u,k.params),pathname:li([d,i.encodeLocation?i.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?d:li([d,i.encodeLocation?i.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),a,n,r);return t&&w?S.createElement(_h.Provider,{value:{location:xc({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ii.Pop}},w):w}function pO(){let e=jO(),t=aO(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:i},n):null,null)}const mO=S.createElement(pO,null);class gO extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?S.createElement(Ns.Provider,{value:this.props.routeContext},S.createElement(TS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function xO(e){let{routeContext:t,match:n,children:r}=e,i=S.useContext(Jx);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(Ns.Provider,{value:t},r)}function yO(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,u=(i=n)==null?void 0:i.errors;if(u!=null){let p=l.findIndex(m=>m.route.id&&(u==null?void 0:u[m.route.id])!==void 0);p>=0||_t(!1),l=l.slice(0,Math.min(l.length,p+1))}let d=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<l.length;p++){let m=l[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(h=p),m.route.id){let{loaderData:x,errors:y}=n,N=m.route.loader&&x[m.route.id]===void 0&&(!y||y[m.route.id]===void 0);if(m.route.lazy||N){d=!0,h>=0?l=l.slice(0,h+1):l=[l[0]];break}}}return l.reduceRight((p,m,x)=>{let y,N=!1,w=null,k=null;n&&(y=u&&m.route.id?u[m.route.id]:void 0,w=m.route.errorElement||mO,d&&(h<0&&x===0?(kO
408("route-fallback"),N=!0,k=null):h===x&&(N=!0,k=m.route.hydrateFallbackElement||null)));let b=t.concat(l.slice(0,x+1)),E=()=>{let C;return y?C=w:N?C=k:m.route.Component?C=S.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=p,S.createElement(xO,{match:m,routeContext:{outlet:p,matches:b,isDataRoute:n!=null},children:C})};return n&&(m.route.ErrorBoundary||m.route.errorElement||x===0)?S.createElement(gO,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:E(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):E()},null)}var IS=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(IS||{}),MS=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(MS||{});function vO(e){let t=S.useContext(Jx);return t||_t(!1),t}function bO(e){let t=S.useContext(cO);return t||_t(!1),t}function wO(e){let t=S.useContext(Ns);return t||_t(!1),t}function OS(e){let t=wO(),n=t.matches[t.matches.length-1];return n.route.id||_t(!1),n.route.id}function jO(){var e;let t=S.useContext(TS),n=bO(),r=OS();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function NO(){let{router:e}=vO(IS.UseNavigateStable),t=OS(MS.UseNavigateStable),n=S.useRef(!1);return AS(()=>{n.current=!0}),S.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,xc({fromRouteId:t},a)))},[e,t])}const Zw={};function kO(e,t,n){Zw[e]||(Zw[e]=!0)}function SO(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function CO(e){let{to:t,replace:n,state:r,relative:i}=e;Ba()||_t(!1);let{future:a,static:l}=S.useContext(gi),{matches:u}=S.useContext(Ns),{pathname:d}=Zr(),h=Rh(),p=Xx(t,Qx(u,a.v7_relativeSplatPath),d,i==="path"),m=JSON.stringify(p);return S.useEffect(()=>h(JSON.parse(m),{replace:n,state:r,relative:i}),[h,m,i,n,r]),null}function zr(e){_t(!1)}function EO(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ii.Pop,navigator:a,static:l=!1,future:u}=e;Ba()&&_t(!1);let d=t.replace(/^\/*/,"/"),h=S.useMemo(()=>({basename:d,navigator:a,static:l,future:xc({v7_relativeSplatPath:!1},u)}),[d,u,a,l]);typeof r=="string"&&(r=za(r));let{pathname:p="/",search:m="",hash:x="",state:y=null,key:N="default"}=r,w=S.useMemo(()=>{let k=Kx(p,d);return k==null?null:{location:{pathname:k,search:m,hash:x,state:y,key:N},navigationType:i}},[d,p,m,x,y,N,i]);return w==null?null:S.createElement(gi.Provider,{value:h},S.createElement(_h.Provider,{children:n,value:w}))}function PO(e){let{children:t,location:n}=e;return hO(Og(t),n)}new Promise(()=>{});function Og(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,i)=>{if(!S.isValidElement(r))return;let a=[...t,i];if(r.type===S.Fragment){n.push.apply(n,Og(r.props.children,a));return}r.type!==zr&&_t(!1),!r.props.index||!r.props.children||_t(!1);let l={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Og(r.props.children,a)),n.push(l)}),n}/**
409 * React Router DOM v6.30.1
410 *
411 * Copyright (c) Remix Software Inc.
412 *
413 * This source code is licensed under the MIT license found in the
414 * LICENSE.md file in the root directory of this source tree.
415 *
416 * @license MIT
417 */function Dg(){return Dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dg.apply(this,arguments)}function TO(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function AO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function _O(e,t){return e.button===0&&(!t||t==="_self")&&!AO(e)}function Lg(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function RO(e,t){let n=Lg(e);return t&&t.forEach((r,i)=>
417{n.has(i)||t.getAll(i).forEach(a=>{n.append(i,a)})}),n}const IO=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],MO="6";try{window.__reactRouterVersion=MO}catch{}const OO="startTransition",e1=Lx[OO];function DO(e){let{basename:t,children:n,future:r,window:i}=e,a=S.useRef();a.current==null&&(a.current=LM({window:i,v5Compat:!0}));let l=a.current,[u,d]=S.useState({action:l.action,location:l.location}),{v7_startTransition:h}=r||{},p=S.useCallback(m=>{h&&e1?e1(()=>d(m)):d(m)},[d,h]);return S.useLayoutEffect(()=>l.listen(p),[l,p]),S.useEffect(()=>SO(r),[r]),S.createElement(EO,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:l,future:r})}const LO=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",FO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$e=S.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:l,state:u,target:d,to:h,preventScrollReset:p,viewTransition:m}=t,x=TO(t,IO),{basename:y}=S.useContext(gi),N,w=!1;if(typeof h=="string"&&FO.test(h)&&(N=h,LO))try{let C=new URL(window.location.href),T=h.startsWith("//")?new URL(C.protocol+h):new URL(h),I=Kx(T.pathname,y);T.origin===C.origin&&I!=null?h=I+T.search+T.hash:w=!0}catch{}let k=uO(h,{relative:i}),b=zO(h,{replace:l,state:u,target:d,preventScrollReset:p,relative:i,viewTransition:m});function E(C){r&&r(C),C.defaultPrevented||b(C)}return S.createElement("a",Dg({},x,{href:N||k,onClick:w||a?r:E,ref:n,target:d}))});var t1;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(t1||(t1={}));var n1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(n1||(n1={}));function zO(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:l,viewTransition:u}=t===void 0?{}:t,d=Rh(),h=Zr(),p=RS(e,{relative:l});return S.useCallback(m=>{if(_O(m,n)){m.preventDefault();let x=r!==void 0?r:nh(h)===nh(p);d(e,{replace:x,state:i,preventScrollReset:a,relative:l,viewTransition:u})}},[h,d,p,r,i,n,e,a,l,u])}function BO(e){let t=S.useRef(Lg(e)),n=S.useRef(!1),r=Zr(),i=S.useMemo(()=>RO(r.search,n.current?null:t.current),[r.search]),a=Rh(),l=S.useCallback((u,d)=>{const h=Lg(typeof u=="function"?u(i):u);n.current=!0,a("?"+h,d)},[a,i]);return[i,l]}function DS(e,t){return function(){return e.apply(t,arguments)}}const{toString:VO}=Object.prototype,{getPrototypeOf:Pa}=Object,{iterator:Vc,toStringTag:LS}=Symbol,rh=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),yc=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),rh(n,t))return!0;n=Pa(n)}return!1},UO=(e,t)=>
vendor: 20,742 bytes, lines 417-419
417e!=null&&yc(e,t)?e[t]:void 0,Zx=(e=>t=>{const n=VO.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hr=e=>(e=e.toLowerCase(),t=>Zx(t)===e),Ih=e=>t=>typeof t===e,{isArray:co}=Array,uo=Ih("undefined");function Va(e){return e!==null&&!uo(e)&&e.constructor!==null&&!uo(e.constructor)&&Mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const FS=hr("ArrayBuffer");function $O(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&FS(e.buffer),t}const HO=Ih("string"),Mn=Ih("function"),zS=Ih("number"),Ua=e=>e!==null&&typeof e=="object",WO=e=>e===!0||e===!1,Fd=e=>{if(!Ua(e))return!1;const t=Pa(e);return(t===null||t===Object.prototype||Pa(t)===null)&&!yc(e,LS)&&!yc(e,Vc)},qO=e=>{if(!Ua(e)||Va(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},GO=hr("Date"),YO=hr("File"),KO=e=>!!(e&&typeof e.uri<"u"),QO=e=>e&&typeof e.getParts<"u",XO=hr("Blob"),JO=hr("FileList"),ZO=hr("Set"),e5=e=>Ua(e)&&Mn(e.pipe);function t5(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const r1=t5(),s1=typeof r1.FormData<"u"?r1.FormData:void 0,n5=e=>{if(!e)return!1;if(s1&&e instanceof s1)return!0;const t=Pa(e);if(!t||t===Object.prototype||!Mn(e.append))return!1;const n=Zx(e);return n==="formdata"||n==="object"&&Mn(e.toString)&&e.toString()==="[object FormData]"},r5=hr("URLSearchParams"),[s5,i5,o5,a5]=["ReadableStream","Request","Response","Headers"].map(hr),l5=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Uc(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),co(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Va(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let u;for(r=0;r<l;r++)u=a[r],t.call(null,e[u],u,e)}}function BS(e,t){if(Va(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Gi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,VS=e=>!uo(e)&&e!==Gi;function Fg(...e){const{caseless:t,skipUndefined:n}=VS(this)&&this||{},r={},i=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const u=t&&typeof l=="string"&&BS(r,l)||l,d=rh(r,u)?r[u]:void 0;Fd(d)&&Fd(a)?r[u]=Fg(d,a):Fd(a)?r[u]=Fg({},a):co(a)?r[u]=a.slice():(!n||!uo(a))&&(r[u]=a)};for(let a=0,l=e.length;a<l;a++){const u=e[a];if(!u||Va(u)||(Uc(u,i),typeof u!="object"||co(u)))continue;const d=Object.getOwnPropertySymbols(u);for(let h=0;h<d.length;h++){const p=d[h];b5.call(u,p)&&i(u[p],p)}}return r}const c5=(e,t,n,{allOwnKeys:r}={})=>(Uc(t,(i,a)=>{n&&Mn(i)?Object.defineProperty(e,a,{__proto__:null,value:DS(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),u5=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),d5=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},h5=(e,t,n,r)=>{let i,a,l;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)l=i[a],(!r||r(l,e,t))&&!u[l]&&(t[l]=e[l],u[l]=!0);e=n!==!1&&Pa(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},f5=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},p5=e=>{if(!e)return null;if(co(e))return e;let t=e.length;if(!zS(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},m5=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Pa(Uint8Array)),g5=(e,t)=>{const r=(e&&e[Vc]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},x5=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},y5=hr("HTMLFormElement"),v5=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),{propertyIsEnumerable:b5}=Object.prototype,w5=hr("RegExp"),US=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Uc(n,(i,a)=>{let l;(l=t(i,a,e))!==!1&&(r[a]=l||i)}),Object.defineProperties(e,r)},j5=e=>{US(e,(t,n)=>{if(Mn(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(Mn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},N5=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return co(e)?r(e):r(String(e).split(t)),n},k5=()=>{},S5=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function C5(e){return!!(e&&Mn(e.append)&&e[LS]==="FormData"&&e[Vc])}const E5=e=>{const t=new WeakSet,n=r=>{if(Ua(r)){if(t.has(r))return;if(Va(r))return r;if(!("toJSON"in r)){t.add(r);let i;if(ZO(r)){i=[];for(const a of r){const l=n(a);!uo(l)&&i.push(l)}}else i=co(r)?[]:{},Uc(r,(a,l)=>{const u=n(a);!uo(u)&&(i[l]=u)});return t.delete(r),i}}return r};return n(e)},P5=hr("AsyncFunction"),T5=e=>e&&(Ua(e)||Mn(e))&&Mn(e.then)&&Mn(e.catch),$S=((e,t)=>e?setImmediate:t?((n,r)=>(Gi.addEventListener("message",({source:i,data:a})=>{i===Gi&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Gi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mn(Gi.postMessage)),A5=typeof queueMicrotask<"u"?queueMicrotask.bind(Gi):typeof process<"u"&&process.nextTick||$S,HS=e=>e!=null&&Mn(e[Vc]),_5=e=>e!=null&&yc(e,Vc)&&HS(e),$={isArray:co,isArrayBuffer:FS,isBuffer:Va,isFormData:n5,isArrayBufferView:$O,isString:HO,isNumber:zS,isBoolean:WO,isObject:Ua,isPlainObject:Fd,isEmptyObject:qO,isReadableStream:s5,isRequest:i5,isResponse:o5,isHeaders:a5,isUndefined:uo,isDate:GO,isFile:YO,isReactNativeBlob:KO,isReactNative:QO,isBlob:XO,isRegExp:w5,isFunction:Mn,isStream:e5,isURLSearchParams:r5,isTypedArray:m5,isFileList:JO,forEach:Uc,merge:Fg,extend:c5,trim:l5,stripBOM:u5,inherits:d5,toFlatObject:h5,kindOf:Zx,kindOfTest:hr,endsWith:f5,toArray:p5,forEachEntry:g5,matchAll:x5,isHTMLForm:y5,hasOwnProperty:rh,hasOwnProp:rh,hasOwnInPrototypeChain:yc,getSafeProp:UO,reduceDescriptors:US,freezeMethods:j5,toObjectSet:N5,toCamelCase:v5,noop:k5,toFiniteNumber:S5,findKey:BS,global:Gi,isContextDefined:VS,isSpecCompliantForm:C5,toJSONObject:E5,isAsyncFn:P5,isThenable:T5,setImmediate:$S,asap:A5,isIterable:HS,isSafeIterable:_5},R5=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),I5=e=>{const t={};let n,r,i;return e&&e.split(`
418`).forEach(function(l){i=l.indexOf(":"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim();const u=$.hasOwnProp(t,n);!n||u&&$.hasOwnProp(R5,n)||(n==="set-cookie"?u?t[n].push(r):t[n]=[r]:t[n]=u?t[n]+", "+r:r)}),t};function M5(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const O5=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),D5=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ey(e,t){return $.isArray(e)?e.map(n=>ey(n,t)):M5(String(e).replace(t,""))}const L5=e=>ey(e,O5),F5=e=>ey(e,D5);function WS(e){const t=Object.create(null);return $.forEach(e.toJSON(),(n,r)=>{t[r]=F5(n)}),t}const i1=Symbol("internals");function Ol(e){return e&&String(e).trim().toLowerCase()}function zd(e){return e===!1||e==null?e:$.isArray(e)?e.map(zd):L5(String(e))}function z5(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const B5=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function fm(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function V5(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r<t;r++){const i=e.charCodeAt(r);if(i===34||i===92&&(r+=1,r>=t))return e;n+=e[r]}return n}function U5(e){const t=Object.create(null),n=String(e);let r=0,i=!1,a=!1;function l(u){const d=fm(n.slice(r,u)),h=d.indexOf("=");if(h<1)return;const p=fm(d.slice(0,h));if(!B5.test(p))return;const m=p.toLowerCase();if(m==="__proto__"||m==="constructor"||m==="prototype")return;const x=fm(d.slice(h+1));t[m]=V5(x)}for(let u=0;u<n.length;u++){const d=n.charCodeAt(u);i?a?a=!1:d===92?a=!0:d===34&&(i=!1):d===34?i=!0:(d===44||d===59)&&(l(u),r=u+1)}return l(n.length),t}const $5=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pm(e,t,n,r,i){if($.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!$.isString(t)){if($.isString(r))return t.indexOf(r)!==-1;if($.isRegExp(r))return r.test(t)}}function H5(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function W5(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(i,a,l){return this[r].call(this,t,i,a,l)},configurable:!0})})}let pn=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,d,h){const p=Ol(d);if(!p)return;const m=$.findKey(i,p);(!m||i[m]===void 0||h===!0||h===void 0&&i[m]!==!1)&&(i[m||d]=zd(u))}const l=(u,d)=>$.forEach(u,(h,p)=>a(h,p,d));if($.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if($.isString(t)&&(t=t.trim())&&!$5(t))l(I5(t),n);else if($.isObject(t)&&$.isSafeIterable(t)){let u=Object.create(null),d,h;for(const p of t){if(!$.isArray(p))throw new TypeError("Object iterator must return a key-value pair");h=p[0],$.hasOwnProp(u,h)?(d=u[h],u[h]=$.isArray(d)?[...d,p[1]]:[d,p[1]]):u[h]=p[1]}l(u,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Ol(t),t){const r=$.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return z5(i);if($.isFunction(n))return n.call(this,i,r);if($.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ol(t),t){const r=$.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||pm(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(l){if(l=Ol(l),l){const u=$.findKey(r,l);u&&(!n||pm(r,r[u],u,n))&&(delete r[u],i=!0)}}return $.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||pm(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return $.forEach(this,(i,a)=>{const l=$.findKey(r,a);if(l){n[l]=zd(i),delete n[a];return}const u=t?H5(a):String(a).trim();u!==a&&delete n[a],n[u]=zd(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&$.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
419`)}getSetCookie(){const t=this.get("set-cookie");return $.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return U5(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[i1]=this[i1]={accessors:{}}).accessors,i=this.prototype;function a(l){const u=Ol(l);r[u]||(W5(i,l),r[u]=!0)}return $.isArray(t)?t.forEach(a):a(t),this}};pn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(pn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});$.freezeMethods(pn);const sh="[REDACTED ****]";function q5(e){if($.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if($.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function G5(e,t){const n=new Set(t.map(a=>String(a).toLowerCase())),r=[],i=a=>{if(a===null||typeof a!="object"||$.isBuffer(a))return a;if(r.indexOf(a)!==-1)return;a instanceof pn&&(a=a.toJSON()),r.push(a);let l;if($.isArray(a))l=[],a.forEach((u,d)=>{const h=i(u);$.isUndefined(h)||(l[d]=h)});else{if(!$.isPlainObject(a)&&q5(a))return r.pop(),a;l=Object.create(null);for(const[u,d]of Object.entries(a)){const h=n.has(u.toLowerCase())?sh:i(d);$.isUndefined(h)||(l[u]=h)}}return r.pop(),l};return i(e)}function o1(e){try{return String(e)}catch{return""}}function Y5(e){return e.errors.map(n=>{try{return n&&n.message?o1(n.message):o1(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let ge=class qS extends Error{static from(t,n,r,i,a,l){let u=t.message;!u&&$.isArray(t.errors)&&t.errors.length&&(u=Y5(t));const d=new qS(u,n||t.code,r,i,a);return Object.defineProperty(d,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),l&&Object.assign(d,l),d}constructor(t,n,r,i,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,n=t&&$.hasOwnProp(t,"redact")?t.redact:void 0,r=$.isArray(n)&&n.length>0?G5(t,n):$.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};ge.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ge.ERR_BAD_OPTION="ERR_BAD_OPTION";ge.ECONNABORTED="ECONNABORTED";ge.ETIMEDOUT="ETIMEDOUT";ge.ECONNREFUSED="ECONNREFUSED";ge.ERR_NETWORK="ERR_NETWORK";ge.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ge.ERR_DEPRECATED="ERR_DEPRECATED";ge.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ge.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ge.ERR_CANCELED="ERR_CANCELED";ge.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ge.ERR_INVALID_URL="ERR_INVALID_URL";ge.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const K5=null,GS=100;function zg(e){return $.isPlainObject(e)||$.isArray(e)}function YS(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function mm(e,t,n){return e?e.concat(t).map(function(i,a){return i=YS(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function Q5(e){return $.isArray(e)&&!e.some(zg)}const X5=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function Mh(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,C){return!$.isUndefined(C[E])});const r=n.metaTokens,i=n.visitor||N,a=n.dots,l=n.indexes,u=n.Blob||typeof Blob<"u"&&Blob,d=n.maxDepth===void 0?GS:n.maxDepth,h=u&&$.isSpecCompliantForm(t),p=[];if(!$.isFunction(i))throw new TypeError("visitor must be a function");function m(b){if(b===null)return"";if($.isDate(b))return b.toISOString();if($.isBoolean(b))return b.toString();if(!h&&$.isBlob(b))throw new ge("Blob is not supported. Use a Buffer instead.");if($.isArrayBuffer(b)||$.isTypedArray(b)){if(h&&typeof u=="function")return new u([b]);throw new ge("Blob is not supported. Use a Buffer instead.",ge.ERR_NOT_SUPPORT)}return b}function x(b){if(b>d)throw new ge("Object is too deeply nested ("+b+" levels). Max depth: "+d,ge.ERR_FORM_DATA_DEPTH_EXCEEDED)}function y(b,E){if(d===1/0)return JSON.stringify(b);const C=[];return JSON.stringify(b,function(I,_){if(!$.isObject(_))return _;for(;C.length&&C[C.length-1]!==this;)C.pop();return C.push(_),x(E+C.length-1),_})}function N(b,E,C){let T=b;if($.isReactNative(t)&&$.isReactNativeBlob(b))return t.append(mm(C,E,a),m(b)),!1;if(b&&!C&&typeof b=="object"){if($.endsWith(E,"{}"))E=r?E:E.slice(0,-2),b=y(b,1);else if($.isArray(b)&&Q5(b)||($.isFileList(b)||$.endsWith(E,"[]"))&&(T=$.toArray(b)))return E=YS(E),T.forEach(function(_,V){!($.isUndefined(_)||_===null)&&t.append(l===!0?mm([E],V,a):l===null?E:E+"[]",m(_))}),!1}return zg(b)?!0:(t.append(mm(C,E,a),m(b)),!1)}const w=Object.assign(X5,{defaultVisitor:N,convertValue:m,isVisitable:zg});function k(b,E,C=0){if(!$.isUndefined(b)){if(x(C),p.indexOf(b)!==-1)throw new Error("Circular reference detected in "+E.join("."));p.push(b),$.forEach(b,function(I,_){(!($.isUndefined(I)||I===null)&&i.call(t,I,$.isString(_)?_.trim():_,E,w))===!0&&k(I,E?E.concat(_):[_],C+1)}),p.pop()}}if(!$.isObject(e))throw new TypeError("data must be an object");return k(e),t}function a1(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function ty(e,t){this._pairs=[],e&&Mh(e,this,t)}const KS=ty.prototype;KS.append=function(t,n){this._pairs.push([t,n])};KS.toString=function(t){const n=t?r=>t.call(this,r,a1):a1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function J5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function QS(e,t,n){if(!t)return e;e=e||"";const r=$.isFunction(n)?{serialize:n}:n,i=$.getSafeProp(r,"encode")||J5,a=$.getSafeProp(r,"serialize");let l;if(a?l=a(t,r):l=$.isURLSearchParams(t)?t.toString():new ty(t,r).toString(i),l){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class l1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ny={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Z5=typeof URLSearchParams<"u"?URLSearchParams:ty,eD=typeof FormData<"u"?FormData:null,tD=typeof Blob<"u"?Blob:null,nD={isBrowser:!0,classes:{URLSearchParams:Z5,FormData:eD,Blob:tD},protocols:["http","https","file","blob","url","data"]},ry=typeof window<"u"&&typeof document<"u",Bg=typeof navigator=="object"&&navigator||void 0,rD=ry&&(!Bg||["ReactNative","NativeScript","NS"].indexOf(Bg.product)<0),sD=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iD=ry&&window.location.href||"http://localhost",oD=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ry,hasStandardBrowserEnv:rD,hasStandardBrowserWebWorkerEnv:sD,navigator:Bg,origin:iD},Symbol.toStringTag,{value:"Module"})),en={...oD,...nD};function aD(e,t){return Mh(e,new en.classes.URLSearchParams,{visitor:function(n,r,i,a){return en.isNode&&$.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}const c1=GS;function XS(e){if(e>c1)throw new ge("FormData field is too deeply nested ("+e+" levels). Max depth: "+c1,ge.ERR_FORM_DATA_DEPTH_EXCEEDED)}function lD(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)XS(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function cD(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function JS(e){function t(n,r,i,a){XS(a);let l=n[a++];if(l==="__proto__")return!0;const u=Number.isFinite(+l),d=a>=n.length;return l=!l&&$.isArray(i)?i.length:l,d?($.hasOwnProp(i,l)?i[l]=$.isArray(i[l])?i[l].concat(r):[i[l],r]:i[l]=r,!u):((!$.hasOwnProp(i,l)||!$.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],a)&&$.isArray(i[l])&&(i[l]=cD(i[l])),!u)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,(r,i)=>{t(lD(r),i,n,0)}),n}return null}const Ko=(e,t)=>e!=null&&$.hasOwnProp(e,t)?e[t]:void 0;function uD(e,t,n){if($.isString(e))try{return(t||JSON.parse)(e),$.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const $c={transitional:ny,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=$.isObject(t);if(a&&$.isHTMLForm(t)&&(t=new FormData(t)),$.isFormData(t))return i?JSON.stringify(JS(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;
vendor: 21,638 bytes, lines 419-421
419if(a){const d=Ko(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return aD(t,d).toString();if((u=$.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=Ko(this,"env"),p=h&&h.FormData;return Mh(u?{"files[]":t}:t,p&&new p,d)}}return a||i?(n.setContentType("application/json",!1),uD(t)):t}],transformResponse:[function(t){const n=Ko(this,"transitional")||$c.transitional,r=n&&n.forcedJSONParsing,i=Ko(this,"responseType"),a=i==="json";if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(r&&!i||a)){const u=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,Ko(this,"parseReviver"))}catch(d){if(u)throw d.name==="SyntaxError"?ge.from(d,ge.ERR_BAD_RESPONSE,this,null,Ko(this,"response")):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:en.classes.FormData,Blob:en.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch","query"],e=>{$c.headers[e]={}});function gm(e,t){const n=this||$c,r=t||n,i=pn.from(r.headers);let a=r.data;return $.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function ZS(e){return!!(e&&e.__CANCEL__)}let Hc=class extends ge{constructor(t,n,r){super(t??"canceled",ge.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function eC(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ge("Request failed with status code "+n.status,n.status>=400&&n.status<500?ge.ERR_BAD_REQUEST:ge.ERR_BAD_RESPONSE,n.config,n.request,n))}function dD(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function hD(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,l;return t=t!==void 0?t:1e3,function(d){const h=Date.now(),p=r[a];l||(l=h),n[i]=d,r[i]=h;let m=a,x=0;for(;m!==i;)x+=n[m++],m=m%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),h-l<t)return;const y=p&&h-p;return y?Math.round(x*1e3/y):void 0}}function fD(e,t){let n=0,r=1e3/t,i,a;const l=(h,p=Date.now())=>{n=p,i=null,a&&(clearTimeout(a),a=null),e(...h)};return[(...h)=>{const p=Date.now(),m=p-n;m>=r?l(h,p):(i=h,a||(a=setTimeout(()=>{a=null,l(i)},r-m)))},()=>i&&l(i)]}const ih=(e,t,n=3)=>{let r=0;const i=hD(50,250);return fD(a=>{if(!a||typeof a.loaded!="number")return;const l=a.loaded,u=a.lengthComputable?a.total:void 0,d=Math.max(0,u!=null?Math.min(l,u):l),h=Math.max(0,d-r),p=i(h);r=Math.max(r,d);const m={loaded:d,total:u,progress:u?d/u:void 0,bytes:h,rate:p||void 0,estimated:p&&u?(u-d)/p:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(m)},n)},u1=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},d1=(e,t=$.asap)=>(...n)=>t(()=>e(...n)),pD=en.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,en.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(en.origin),en.navigator&&/(msie|trident)/i.test(en.navigator.userAgent)):()=>!0,mD=en.hasStandardBrowserEnv?{write(e,t,n,r,i,a,l){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];$.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),$.isString(r)&&u.push(`path=${r}`),$.isString(i)&&u.push(`domain=${i}`),a===!0&&u.push("secure"),$.isString(l)&&u.push(`SameSite=${l}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(i!==-1&&r.slice(0,i)===e)try{return decodeURIComponent(r.slice(i+1))}catch{return r.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function gD(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xD(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const yD=/^https?:(?!\/\/)/i,vD=/[\t\n\r]/g;function bD(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function wD(e){return bD(e).replace(vD,"")}function jD(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,n,r="")=>`${n}${r}${sh}`)}function ND(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${sh}@`),n=t.indexOf("#"),i=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${sh}`);return n===-1?i:`${i}#${jD(t.slice(n+1))}`}function h1(e,t){if(typeof e=="string"){const n=wD(e);if(yD.test(n))throw new ge(`Invalid URL ${JSON.stringify(ND(n))}: missing "//" after protocol`,ge.ERR_INVALID_URL,t)}}function tC(e,t,n,r){h1(t,r);let i=!gD(t);return e&&(i||n===!1)?(h1(e,r),xD(e,t)):t}const f1=e=>e instanceof pn?{...e}:e,kD=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function ho(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(p,m,x,y){return $.isPlainObject(p)&&$.isPlainObject(m)?$.merge.call({caseless:y},p,m):$.isPlainObject(m)?$.merge({},m):$.isArray(m)?m.slice():m}function i(p,m,x,y){if($.isUndefined(m)){if(!$.isUndefined(p))return r(void 0,p,x,y)}else return r(p,m,x,y)}function a(p,m){if(!$.isUndefined(m))return r(void 0,m)}function l(p,m){if($.isUndefined(m)){if(!$.isUndefined(p))return r(void 0,p)}else return r(void 0,m)}function u(p){const m=$.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!$.isUndefined(m))if($.isPlainObject(m)){if($.hasOwnProp(m,p))return m[p]}else return;const x=$.hasOwnProp(e,"transitional")?e.transitional:void 0;if($.isPlainObject(x)&&$.hasOwnProp(x,p))return x[p]}function d(p,m,x){if($.hasOwnProp(t,x))return r(p,m);if($.hasOwnProp(e,x))return r(void 0,p)}const h={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:d,headers:(p,m,x)=>i(f1(p),f1(m),x,!0)};return $.forEach(kD({...e,...t}),function(m){if(m==="__proto__"||m==="constructor"||m==="prototype")return;const x=$.hasOwnProp(h,m)?h[m]:i,y=$.hasOwnProp(e,m)?e[m]:void 0,N=$.hasOwnProp(t,m)?t[m]:void 0,w=x(y,N,m);$.isUndefined(w)&&x!==d||(n[m]=w)}),$.hasOwnProp(t,"validateStatus")&&$.isUndefined(t.validateStatus)&&u("validateStatusUndefinedResolves")===!1&&($.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const SD=["content-type","content-length"];function CD(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,i])=>{SD.includes(r.toLowerCase())&&e.set(r,i)})}const ED=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function nC(e){const t=ho({},e),n=x=>$.hasOwnProp(t,x)?t[x]:void 0,r=n("data");let i=n("withXSRFToken");const a=n("xsrfHeaderName"),l=n("xsrfCookieName");let u=n("headers");const d=n("auth"),h=n("baseURL"),p=n("allowAbsoluteUrls"),m=n("url");if(t.headers=u=pn.from(u),t.url=QS(tC(h,m,p,t),n("params"),n("paramsSerializer")),d){const x=$.getSafeProp(d,"username")||"",y=$.getSafeProp(d,"password")||"";try{u.set("Authorization","Basic "+btoa(x+":"+(y?ED(y):"")))}catch(N){throw ge.from(N,ge.ERR_BAD_OPTION_VALUE,e)}}if($.isFormData(r)&&(en.hasStandardBrowserEnv||en.hasStandardBrowserWebWorkerEnv||$.isReactNative(r)?u.setContentType(void 0):$.isFunction(r.getHeaders)&&CD(u,r.getHeaders(),n("formDataHeaderPolicy"))),en.hasStandardBrowserEnv&&($.isFunction(i)&&(i=i(t)),i===!0||i==null&&pD(t.url))){const y=a&&l&&mD.read(l);y&&u.set(a,y)}return t}const PD=typeof XMLHttpRequest<"u",TD=PD&&function(e){return new Promise(function(n,r){const i=nC(e);let a=i.data;const l=pn.from(i.headers).normalize();let{responseType:u,onUploadProgress:d,onDownloadProgress:h}=i,p,m,x,y,N;function w(){y&&y(),N&&N(),i.cancelToken&&i.cancelToken.unsubscribe(p),i.signal&&i.signal.removeEventListener("abort",p)}let k=new XMLHttpRequest;k.open(i.method.toUpperCase(),i.url,!0),k.timeout=i.timeout;function b(){if(!k)return;const C=pn.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),I={data:!u||u==="text"||u==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:C,config:e,request:k};eC(function(V){n(V),w()},function(V){r(V),w()},I),k=null}"onloadend"in k?k.onloadend=b:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.startsWith("file:"))||setTimeout(b)},k.onabort=function(){k&&(r(new ge("Request aborted",ge.ECONNABORTED,e,k)),w(),k=null)},k.onerror=function(T){const I=T&&T.message?T.message:"Network Error",_=new ge(I,ge.ERR_NETWORK,e,k);_.event=T||null,r(_),w(),k=null},k.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const I=i.transitional||ny;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new ge(T,I.clarifyTimeoutError?ge.ETIMEDOUT:ge.ECONNABORTED,e,k)),w(),k=null},a===void 0&&l.setContentType(null),"setRequestHeader"in k&&$.forEach(WS(l),function(T,I){k.setRequestHeader(I,T)}),$.isUndefined(i.withCredentials)||(k.withCredentials=!!i.withCredentials),u&&u!=="json"&&(k.responseType=i.responseType),h&&([x,N]=ih(h,!0),k.addEventListener("progress",x)),d&&k.upload&&([m,y]=ih(d),k.upload.addEventListener("progress",m),k.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(p=C=>{k&&(r(!C||C.type?new Hc(null,e,k):C),k.abort(),w(),k=null)},i.cancelToken&&i.cancelToken.subscribe(p),i.signal&&(i.signal.aborted?p():i.signal.addEventListener("abort",p)));const E=dD(i.url);if(E&&!en.protocols.includes(E)){r(new ge("Unsupported protocol "+E+":",ge.ERR_BAD_REQUEST,e)),w();return}k.send(a||null)})},AD=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(d){if(!r){r=!0,l();const h=d instanceof Error?d:this.reason;n.abort(h instanceof ge?h:new Hc(h instanceof Error?h.message:h))}};let a=t&&setTimeout(()=>{a=null,i(new ge(`timeout of ${t}ms exceeded`,ge.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>{if(!r){if(d.aborted){i.call(d);return}d.addEventListener("abort",i,{once:!0})}});const{signal:u}=n;return u.unsubscribe=()=>$.asap(l),u},_D=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},RD=async function*(e,t){for await(const n of ID(e))yield*_D(n,t)},ID=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},p1=(e,t,n,r)=>{const i=RD(e,t);let a=0,l,u=d=>{l||(l=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:h,value:p}=await i.next();if(h){u(),d.close();return}let m=p.byteLength;if(n){let x=a+=m;n(x)}d.enqueue(new Uint8Array(p))}catch(h){throw u(h),h}},cancel(d){return u(d),i.return()}},{highWaterMark:2})},m1=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,rC=(e,t,n)=>t+2<n&&m1(e.charCodeAt(t+1))&&m1(e.charCodeAt(t+2)),g1=e=>e<=57?e-48:(e&223)-55,MD=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,OD=e=>e===9||e===10||e===12||e===13||e===32,DD=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},LD=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},FD=e=>{const t=e.length;let n=0,r=0,i=!1;for(let a=0;a<t;a++){let l=e.charCodeAt(a);if(l===37&&rC(e,a,t)&&(l=g1(e.charCodeAt(a+1))*16+g1(e.charCodeAt(a+2)),a+=2),!OD(l)){if(l===61){r++;continue}if(!MD(l)||r>0){i=!0;continue}n++}}return i||r>2||r>0&&(n+r)%4!==0||n%4===1?LD(e):DD(n)},zD=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),i=e.slice(n+1);if(/;base64/i.test(r))return t(i);let l=0;for(let u=0,d=i.length;u<d;u++){const h=i.charCodeAt(u);if(h===37&&rC(i,u,d))l+=1,u+=2;else if(h<128)l+=1;else if(h<2048)l+=2;else if(h>=55296&&h<=56319&&u+1<d){const p=i.charCodeAt(u+1);p>=56320&&p<=57343?(l+=4,u++):l+=3}else l+=3}return l};function BD(e){const t=typeof e=="string"?e.indexOf("#"):-1;return zD(t===-1?e:e.slice(0,t),FD)}const sy="1.19.0",x1=64*1024,{isFunction:yd}=$,VD=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),y1=e=>{if(!$.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},v1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},UD=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},$D=e=>{const t=$.global!==void 0&&$.global!==null?$.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=$.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:l}=e,u=i?yd(i):typeof fetch=="function",d=yd(a),h=yd(l);if(!u)return!1;const p=u&&yd(n),m=u&&(typeof r=="function"?(b=>E=>b.encode(E))(new r):async b=>new Uint8Array(await new a(b).arrayBuffer())),x=d&&p&&v1(()=>{let b=!1;const E=new a(en.origin,{body:new n,method:"POST",get duplex(){return b=!0,"half"}}),C=E.headers.has("Content-Type");return E.body!=null&&E.body.cancel(),b&&!C}),y=h&&p&&v1(()=>$.isReadableStream(new l("").body)),N={stream:y&&(b=>b.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!N[b]&&(N[b]=(E,C)=>{let T=E&&E[b];if(T)return T.call(E);throw new ge(`Response type '${b}' is not supported`,ge.ERR_NOT_SUPPORT,C)})});const w=async b=>{if(b==null)return 0;if($.isBlob(b))return b.size;if($.isSpecCompliantForm(b))return(await new a(en.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if($.isArrayBufferView(b)||$.isArrayBuffer(b))return b.byteLength;if($.isURLSearchParams(b)&&(b=b+""),$.isString(b))return(await m(b)).byteLength},k=async(b,E)=>{const C=$.toFiniteNumber(b.getContentLength());return C??w(E)};return async b=>{let{url:E,method:C,data:T,signal:I,cancelToken:_,timeout:V,onDownloadProgress:O,onUploadProgress:W,responseType:R,headers:G,withCredentials:B="same-origin",fetchOptions:Q,maxContentLength:Z,maxBodyLength:te}=nC(b);const se=$.isNumber(Z)&&Z>-1,ie=$.isNumber(te)&&te>-1,F=le=>$.hasOwnProp(b,le)?b[le]:void 0;let J=i||fetch;R=R?(R+"").toLowerCase():"text";let A=AD([I,_&&_.toAbortSignal()],V),L=null;const ee=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let M,pe=null;const Pe=()=>new ge("Request body larger than maxBodyLength limit",ge.ERR_BAD_REQUEST,b,L);try{let le;const re=F("auth");if(re){const _e=$.getSafeProp(re,"username")||"",ut=$.getSafeProp(re,"password")||"";le={username:_e,password:ut}}if(UD(E)){const _e=new URL(E,en.origin);if(!le&&(_e.username||_e.password)){const ut=y1(_e.username),gn=y1(_e.password);le={username:ut,password:gn}}(_e.username||_e.password)&&(_e.username="",_e.password="",E=_e.href)}if(le&&(G.delete("authorization"),G.set("Authorization","Basic "+btoa(VD((le.username||"")+":"+(le.password||""))))),se&&typeof E=="string"&&E.startsWith("data:")&&BD(E)>Z)throw new ge("maxContentLength size of "+Z+" exceeded",ge.ERR_BAD_RESPONSE,b,L);if(ie&&C!=="get"&&C!=="head"){const _e=await w(T);if(typeof _e=="number"&&isFinite(_e)&&(M=_e,_e>te))throw Pe()}const me=ie&&($.isReadableStream(T)||$.isStream(T)),ve=(_e,ut,gn)=>p1(_e,x1,Ft=>{if(ie&&Ft>te)throw pe=Pe();ut&&ut(Ft)},gn);if(x&&C!=="get"&&C!=="head"&&(W||me)){if(M=M??await k(G,T),M!==0||me){let _e=new a(E,{method:"POST",body:T,duplex:"half"}),ut;if($.isFormData(T)&&(ut=_e.headers.get("content-type"))&&G.setContentType(ut),_e.body){const[gn,Ft]=W&&u1(M,ih(d1(W)))||[];T=ve(_e.body,gn,Ft)}}}else if(me&&!d&&p&&C!=="get"&&C!=="head")T=ve(T);else if(me&&d&&!x&&C!=="get"&&C!=="head")throw new ge("Stream request bodies are not supported by the current fetch implementation",ge.ERR_NOT_SUPPORT,b,L);$.isString(B)||(B=B?"include":"omit");const Ae=d&&"credentials"in a.prototype;if($.isFormData(T)){const _e=G.getContentType();_e&&/^multipart\/form-data/i.test(_e)&&!/boundary=/i.test(_e)&&G.delete("content-type")}G.set("User-Agent","axios/"+sy,!1);const Ve={...Q,signal:A,method:C.toUpperCase(),headers:WS(G.normalize()),body:T,duplex:"half",credentials:Ae?B:void 0};L=d&&new a(E,Ve);let Fe=await(d?J(L,Q):J(E,Ve));const bt=pn.from(Fe.headers);if(se){const _e=$.toFiniteNumber(bt.getContentLength());if(_e!=null&&_e>Z)throw new ge("maxContentLength size of "+Z+" exceeded",ge.ERR_BAD_RESPONSE,b,L)}const It=y&&(R==="stream"||R==="response");if(y&&Fe.body&&(O||se||It&&ee)){const _e={};["status","statusText","headers"].forEach(pr=>{_e[pr]=Fe[pr]});const ut=$.toFiniteNumber(bt.getContentLength()),[gn,Ft]=O&&u1(ut,ih(d1(O),!0))||[];let fr=0;const Rr=pr=>{if(se&&(fr=pr,fr>Z))throw new ge("maxContentLength size of "+Z+" exceeded",ge.ERR_BAD_RESPONSE,b,L);gn&&gn(pr)};Fe=new l(p1(Fe.body,x1,Rr,()=>{Ft&&Ft(),ee&&ee()}),_e)}R=R||"text";let Et=await N[$.findKey(N,R)||"text"](Fe,b);if(se&&!y&&!It){let _e;if(Et!=null&&(typeof Et.byteLength=="number"?_e=Et.byteLength:typeof Et.size=="number"?_e=Et.size:typeof Et=="string"&&(_e=typeof r=="function"?new r().encode(Et).byteLength:Et.length)),typeof _e=="number"&&_e>Z)throw new ge("maxContentLength size of "+Z+" exceeded",ge.ERR_BAD_RESPONSE,b,L)}return!It&&ee&&ee(),await new Promise((_e,ut)=>{eC(_e,ut,{data:Et,headers:pn.from(Fe.headers),status:Fe.status,statusText:Fe.statusText,config:b,request:L})})}catch(le){if(ee&&ee(),A&&A.aborted&&A.reason instanceof ge){const re=A.reason;throw re.config=b,L&&(re.request=L),le!==re&&Object.defineProperty(re,"cause",{__proto__:null,value:le,writable:!0,enumerable:!1,configurable:!0}),re}if(pe)throw L&&!pe.request&&(pe.request=L),pe;if(le instanceof ge)throw L&&!le.request&&(le.request=L),le;if(le&&le.name==="TypeError"&&/Load failed|fetch/i.test(le.message)){const re=new ge("Network Error",ge.ERR_NETWORK,b,L,le&&le.response);throw Object.defineProperty(re,"cause",{__proto__:null,value:le.cause||le,writable:!0,enumerable:!1,configurable:!0}),re}throw ge.from(le,le&&le.code,b,L,le&&le.response)}}},HD=new Map,sC=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let l=a.length,u=l,d,h,p=HD;for(;u--;)d=a[u],h=p.get(d),h===void 0&&p.set(d,h=u?new Map:$D(t)),p=h;return h};sC();const iy={http:K5,xhr:TD,fetch:{get:sC}};$.forEach(iy,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const b1=e=>`- ${e}`,WD=e=>$.isFunction(e)||e===null||e===!1;function qD(e,t){e=$.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let l=0;l<n;l++){r=e[l];let u;if(i=r,!WD(r)&&(i=iy[(u=String(r)).toLowerCase()],i===void 0))throw new ge(`Unknown adapter '${u}'`);if(i&&($.isFunction(i)||(i=i.get(t))))break;a[u||"#"+l]=i}if(!i){const l=Object.entries(a).map(([d,h])=>`adapter ${d} `+(h===!1?"is not supported by the environment":"is not available in the build"));let u=n?l.length>1?`since :
420`+l.map(b1).join(`
421`):" "+b1(l[0]):"as no adapter specified";throw new ge("There is no suitable adapter to dispatch the request "+u,ge.ERR_NOT_SUPPORT)}return i}const iC={getAdapter:qD,adapters:iy};function xm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hc(null,e)}function ym(e){return xm(e),e.headers=pn.from(e.headers),e.data=gm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),iC.getAdapter(e.adapter||$c.adapter,e)(e).then(function(r){xm(e),e.response=r;try{r.data=gm.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=pn.from(r.headers),r},function(r){if(!ZS(r)&&(xm(e),r&&r.response)){e.response=r.response;try{r.response.data=gm.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=pn.from(r.response.headers)}return Promise.reject(r)})}const Oh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Oh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const w1={};Oh.transitional=function(t,n,r){function i(a,l){return"[Axios v"+sy+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return(a,l,u)=>{if(t===!1)throw new ge(i(l," has been removed"+(n?" in "+n:"")),ge.ERR_DEPRECATED);return n&&!w1[l]&&(w1[l]=!0,console.warn(i(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,u):!0}};Oh.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function GD(e,t,n){if(typeof e!="object"||e===null)throw new ge("options must be an object",ge.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],l=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(l){const u=e[a],d=u===void 0||l(u,a,e);if(d!==!0)throw new ge("option "+a+" must be "+d,ge.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ge("Unknown option "+a,ge.ERR_BAD_OPTION)}}const Bd={assertOptions:GD,validators:Oh},cn=Bd.validators;let oo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new l1,response:new l1}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>
vendor: 4,063 bytes, lines 421-425
421{if(!i.stack)return"";const l=i.stack.indexOf(`
422`);return l===-1?"":i.stack.slice(l+1)})();try{if(!r.stack)r.stack=a;else if(a){const l=a.indexOf(`
423`),u=l===-1?-1:a.indexOf(`
424`,l+1),d=u===-1?"":a.slice(u+1);String(r.stack).endsWith(d)||(r.stack+=`
425`+a)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ho(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Bd.assertOptions(r,{silentJSONParsing:cn.transitional(cn.boolean),forcedJSONParsing:cn.transitional(cn.boolean),clarifyTimeoutError:cn.transitional(cn.boolean),legacyInterceptorReqResOrdering:cn.transitional(cn.boolean),advertiseZstdAcceptEncoding:cn.transitional(cn.boolean),validateStatusUndefinedResolves:cn.transitional(cn.boolean)},!1),i!=null&&($.isFunction(i)?n.paramsSerializer={serialize:i}:Bd.assertOptions(i,{encode:cn.function,serialize:cn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Bd.assertOptions(n,{baseUrl:cn.spelling("baseURL"),withXsrfToken:cn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=a&&$.merge(a.common,a[n.method]);a&&$.forEach(["delete","get","head","post","put","patch","query","common"],N=>{delete a[N]}),n.headers=pn.concat(l,a);const u=[];let d=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;d=d&&w.synchronous;const k=n.transitional||ny;k&&k.legacyInterceptorReqResOrdering?u.unshift(w.fulfilled,w.rejected):u.push(w.fulfilled,w.rejected)});const h=[];this.interceptors.response.forEach(function(w){h.push(w.fulfilled,w.rejected)});let p,m=0,x;if(!d){const N=[ym.bind(this),void 0];for(N.unshift(...u),N.push(...h),x=N.length,p=Promise.resolve(n);m<x;)p=p.then(N[m++],N[m++]);return p}x=u.length;let y=n;for(;m<x;){const N=u[m++],w=u[m++];try{y=N?N(y):y}catch(k){if(!w){p=Promise.reject(k);break}try{const b=w.call(this,k);$.isThenable(b)&&(p=Promise.resolve(b).then(()=>ym.call(this,y)))}catch(b){p=Promise.reject(b)}break}}if(!p)try{p=ym.call(this,y)}catch(N){p=Promise.reject(N)}for(m=0,x=h.length;m<x;)p=p.then(h[m++],h[m++]);return p}getUri(t){t=ho(this.defaults,t);const n=tC(t.baseURL,t.url,t.allowAbsoluteUrls,t);return QS(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){oo.prototype[t]=function(n,r){return this.request(ho(r||{},{method:t,url:n,data:r&&$.hasOwnProp(r,"data")?r.data:void 0}))}});$.forEach(["post","put","patch","query"],function(t){function n(r){return function(a,l,u){return this.request(ho(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}oo.prototype[t]=n(),t!=="query"&&(oo.prototype[t+"Form"]=n(!0))});let YD=class oC{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const l=new Promise(u=>{r.subscribe(u),a=u}).then(i);return l.cancel=function(){r.unsubscribe(a)},l},t(function(a,l,u){r.reason||(r.reason=new Hc(a,l,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new oC(function(i){t=i}),cancel:t}}};function KD(e){return function(n){return e.apply(null,n)}}function QD(e){return $.isObject(e)&&e.isAxiosError===!0}const Vg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
425alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Vg).forEach(([e,t])=>{Vg[t]=e});function aC(e){const t=new oo(e),n=DS(oo.prototype.request,t);return $.extend(n,oo.prototype,t,{allOwnKeys:!0}),$.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return aC(ho(e,i))},n}const Rt=aC($c);Rt.Axios=oo;Rt.CanceledError=Hc;Rt.CancelToken=YD;Rt.isCancel=ZS;Rt.VERSION=sy;Rt.toFormData=Mh;Rt.AxiosError=ge;Rt.Cancel=Rt.CanceledError;Rt.all=function(t){return Promise.all(t)};Rt.spread=KD;Rt.isAxiosError=QD;Rt.mergeConfig=ho;Rt.AxiosHeaders=pn;Rt.formToJSON=e=>JS($.isHTMLForm(e)?new FormData(e):e);Rt.getAdapter=iC.getAdapter;Rt.HttpStatusCode=Vg;Rt.default=Rt;const{Axios:eee,AxiosError:tee,CanceledError:nee,isCancel:ree,CancelToken:see,VERSION:iee,all:oee,Cancel:aee,isAxiosError:lee,spread:cee,toFormData:uee,AxiosHeaders:dee,HttpStatusCode:hee,formToJSON:fee,getAdapter:pee,mergeConfig:mee,create:gee}=Rt,lC=typeof window>"u",j1=!lC&&window.self!==window.top,XD=!lC&&typeof document>"u",cC=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),Xt=[];for(let e=0;e<256;++e)Xt.push((e+256).toString(16).slice(1));function JD(e,t=0){return(Xt[e[t+0]]+Xt[e[t+1]]+Xt[e[t+2]]+Xt[e[t+3]]+"-"+Xt[e[t+4]]+Xt[e[t+5]]+"-"+Xt[e[t+6]]+Xt[e[t+7]]+"-"+Xt[e[t+8]]+Xt[e[t+9]]+"-"+Xt[e[t+10]]+Xt[e[t+11]]+Xt[e[t+12]]+Xt[e[t+13]]+Xt[e[t+14]]+Xt[e[t+15]]).toLowerCase()}let vm;const ZD=new Uint8Array(16);function e3(){if(!vm){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");vm=crypto.getRandomValues.bind(crypto)}return vm(ZD)}const t3=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),N1={randomUUID:t3};function n3(e,t,n){var i;e=e||{};const r=e.random??((i=e.rng)==null?void 0:i.call(e))??e3();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,JD(r)}function r3(e,t,n){return N1.randomUUID&&!e?N1.randomUUID():n3(e)}const Dl=typeof window<"u"?window:{base44SharedInstances:{}};function s3(e,t){return Dl.base44SharedInstances||(Dl.base44SharedInstances={}),Dl.base44SharedInstances[e]||(Dl.base44SharedInstances[e]={instance:t()}),Dl.base44SharedInstances[e].instance}const i3="__user_heartbeat_event__",o3="__initialization_event__",a3="__session_duration_event__",k1="analytics-enable",S1="base44_analytics_session_id",l3={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},c3="analytics",st=s3(c3,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,fallbackSessionId:null,config:{...l3,...x3()}})),u3=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:r,enabled:i})=>{var a;const{maxQueueSize:l,throttleTime:u,batchSize:d}=st.config;if(!i||!(!((a=st.config)===null||a===void 0)&&a.enabled)||XD)return{track:()=>{},cleanup:()=>{}};let h;const p=`${t}/api/apps/${n}/analytics/track/batch`,m=async T=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:T}})},x=T=>{try{const I=JSON.stringify({events:T}),_=new Blob([I],{type:"application/json"});return typeof navigator>"u"||I.length>6e4||!navigator.sendBeacon(p,_)}catch{return!1}},y=async(T,I={})=>
425{if(T.length===0)return;const _=await g3(r),V=T.map(m3(_));try{(!I.isBeacon||!x(V))&&await m(V)}catch{}},N=()=>{E1(y,{throttleTime:u,batchSize:d})},w=T=>{if(st.requestsQueue.length>=l)return;const I=p3();st.requestsQueue.push({...T,...I}),N()},k=()=>{E1(y,{throttleTime:u,batchSize:d}),h=P1(w),h3()},b=()=>{C1(),h==null||h(),f3(w);const T=st.requestsQueue.splice(0);y(T,{isBeacon:!0})},E=()=>{typeof window>"u"||(document.visibilityState==="hidden"?b():document.visibilityState==="visible"&&k())},C=()=>{C1(),h==null||h(),typeof window<"u"&&window.removeEventListener("visibilitychange",E)};return N(),h=P1(w),d3(w),typeof window<"u"&&window.addEventListener("visibilitychange",E),{track:w,cleanup:C}};function C1(){st.isProcessing=!1}async function E1(e,t){if(st.isProcessing)return;st.isProcessing=!0;const{throttleTime:n=1e3,batchSize:r=30}=t??{};for(;st.isProcessing&&st.requestsQueue.length>0;){const i=st.requestsQueue.splice(0,r);i.length&&await e(i),await new Promise(a=>setTimeout(a,n))}st.isProcessing=!1}function P1(e){var t;if(typeof window>"u"||st.isHeartBeatProcessing||((t=st.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};st.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:i3})},st.config.heartBeatInterval);return()=>{clearInterval(n),st.isHeartBeatProcessing=!1}}function d3(e){typeof window>"u"||st.wasInitializationTracked||(st.wasInitializationTracked=!0,e({eventName:o3,properties:{referrer:document==null?void 0:document.referrer}}))}function h3(){typeof window>"u"||st.sessionStartTime!==null||(st.sessionStartTime=new Date().toISOString())}function f3(e){if(typeof window>"u"||st.sessionStartTime===null)return;const t=new Date().getTime()-new Date(st.sessionStartTime).getTime();st.sessionStartTime=null,e({eventName:a3,properties:{sessionDuration:t}})}function p3(){var e,t;return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"&&(t=(e=window.location)===null||e===void 0?void 0:e.pathname)!==null&&t!==void 0?t:null}}function m3(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let Yl=null;function T1(){st.sessionContext=null,Yl=null}async function g3(e){if(!st.sessionContext){if(!e.hasToken())return{user_id:null,session_id:oh()};if(!Yl){const r=oh();Yl=e.me().then(i=>({user_id:i.id,session_id:r})).catch(()=>({user_id:null,session_id:r}))}const t=Yl,n=await t;return Yl===t&&(st.sessionContext=n),n}return st.sessionContext}function x3(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(k1);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(k1);const r=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",r),{enabled:t==="true"}}function A1(){var e;return(e=st.fallbackSessionId)!==null&&e!==void 0?e:st.fallbackSessionId=cC()}function oh(){if(typeof window>"u")return A1();try{const e=localStorage.getItem(S1);if(!e){const t=cC();return localStorage.setItem(S1,t),t}return e}catch{return A1()}}class uC extends Error{constructor(t,n,r,i,a){super(t),this.name="Base44Error",this.status=n,this.code=r,this.data=i,this.originalError=a}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function ra({baseURL:e,headers:t={},token:n,interceptResponses:r=!0,onError:i}){const a=Rt.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return n&&(a.defaults.headers.common.Authorization=`Bearer ${n}`),a.interceptors.request.use(l=>{typeof window<"u"&&(window.location&&l.headers.set("X-Origin-URL",window.location.href),l.headers.get("Authorization")||l.headers.set("X-Base44-Anonymous-Id",oh()));const u=r3();if(l.requestId=u,j1)try{window.parent.postMessage({type:"api-request-start",requestId:u,data:{url:e+l.url,method:l.method,body:l.data instanceof FormData?"[FormData object]":l.data}},"*")}catch{}return l}),r&&a.interceptors.response.use(l=>{var u;const d=(u=l.config)===null||u===void 0?void 0:u.requestId;try{j1&&d&&window.parent.postMessage({type:"api-request-end",requestId:d,data:{statusCode:l.status,response:l.data}},"*")}catch{}return l.data},l=>{var u,d,h,p,m,x,y,N,w,k,b,E;const C=(u=l.response)===null||u===void 0?void 0:u.data,T=((d=C==null?void 0:C.error)===null||d===void 0?void 0:d.message)||(C==null?void 0:C.message)||(C==null?void 0:C.detail)||l.message,I=new uC(T,(h=l.response)===null||h===void 0?void 0:h.status,(k=(x=(m=(p=C==null?void 0:C.error)===null||p===void 0?void 0:p.code)!==null&&m!==void 0?m:C==null?void 0:C.code)!==null&&x!==void 0?x:(w=(N=(y=l.response)===null||y===void 0?void 0:y.headers)===null||N===void 0?void 0:N.get)===null||w===void 0?void 0:w.call(N,"x-base44-connector-error"))!==null&&k!==void 0?k:(E=(b=l.response)===null||b===void 0?void 0:b.headers)===null||E===void 0?void 0:E["x-base44-connector-error"],C,l);return i==null||i(I),Promise.reject(I)}),a}function _1(e){const{axios:t,appId:n,getSocket:r}=e;return new Proxy({},{get(i,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return b3(t,n,a,r)}})}function y3(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}const v3=100;function R1(e){return typeof e=="object"&&e!==null}function b3(e,t,n,r){const i=`/apps/${t}/entities/${n}`,a=d=>Array.isArray(d)?d.join(","):d,l=(d,h,p,m,x)=>{const y={};return x&&(y.q=JSON.stringify(x)),d&&(y.sort=d),h&&(y.limit=h),p&&(y.skip=p),m&&(y.fields=a(m)),e.get(i,{params:y})},u=(d,h)=>{const p={};return h&&(p.q=JSON.stringify(h)),p.limit=d.limit||v3,d.cursor&&(p.cursor=d.cursor),"distinct"in d?p.distinct=d.distinct:(d.sort&&(p.sort=d.sort),d.fields&&(p.fields=a(d.fields))),e.get(`${i}/v2/list`,{params:p})};return{async list(...d){const[h,p,m,x]=d;return R1(h)?u(h):l(h,p,m,x)},async filter(d,...h){const[p,m,x,y]=h;return R1(p)?u(p,d):l(p,m,x,y,d)},async get(d){return e.get(`${i}/${d}`)},async create(d){return e.post(i,d)},async update(d,h){return e.put(`${i}/${d}`,h)},async delete(d){return e.delete(`${i}/${d}`)},async deleteMany(d){return e.delete(i,{data:d})},async bulkCreate(d){return e.post(`${i}/bulk`,d)},async updateMany(d,h){return e.patch(`${i}/update-many`,{query:d,data:h})},async count(d){const h={};return d&&(h.q=JSON.stringify(d)),(await e.get(`${i}/count`,{params:h})).count},async aggregate(d){return e.post(`${i}
425/aggregate`,d)},async upsert(d,h){return e.post(`${i}/upsert`,{records:d,key:h.key})},async bulkUpdate(d){return e.put(`${i}/bulk`,d)},async importEntities(d){const h=new FormData;return h.append("file",d,d.name),e.post(`${i}/import`,h,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(d){const h=`entities:${t}:${n}`;return r().subscribeToRoom(h,{update_model:x=>{var y;const N=y3(x.data);if(N){N.type!=="delete"&&(!((y=N.data)===null||y===void 0)&&y._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${N.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${N.id}")\` to fetch the full record.`);try{d(N)}catch(w){console.error("[Base44 SDK] Subscription callback error:",w)}}}})}}}function w3(e,t){return{async call(n,r,i){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(r!=null&&r.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:a,queryParams:l,...u}=i??{},d={...u,...a&&{path_params:a},...l&&{query_params:l}};return await e.post(`/apps/${t}/integrations/custom/${n}/${r}`,d)}}}function I1(e,t){const n=w3(e,t);return new Proxy({},{get(r,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return i==="custom"?n:new Proxy({},{get(a,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return async u=>{if(typeof u=="string")throw new Error(`Integration ${l} must receive an object with named parameters, received: ${u}`);let d,h;return u instanceof FormData||u&&Object.values(u).some(p=>p instanceof File)?(d=new FormData,Object.keys(u).forEach(p=>{u[p]instanceof File?d.append(p,u[p],u[p].name):typeof u[p]=="object"&&u[p]!==null?d.append(p,JSON.stringify(u[p])):d.append(p,u[p])}),h="multipart/form-data"):(d=u,h="application/json"),i==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${l}`,d||u,{headers:{"Content-Type":h}}):e.post(`/apps/${t}/integration-endpoints/installable/${i}/integration-endpoints/${l}`,d||u,{headers:{"Content-Type":h}})}}})}})}function j3(){return typeof window>"u"?!1:window!==window.parent}function N3(e,t,n){const a=Math.round(window.screenX+(window.outerWidth-500)/2),l=Math.round(window.screenY+(window.outerHeight-600)/2),u=window.open(e,"base44_auth",`width=500,height=600,left=${a},top=${l},resizable=yes,scrollbars=yes`);if(!u)return;const d=()=>{window.removeEventListener("message",h),clearInterval(p),u.closed||u.close()},h=m=>{var x;if(m.origin!==n||m.source!==u||!(!((x=m.data)===null||x===void 0)&&x.access_token))return;d();const y=new URL(t),{access_token:N,is_new_user:w}=m.data;y.searchParams.set("access_token",N),w!=null&&y.searchParams.set("is_new_user",String(w)),window.location.href=y.toString()},p=setInterval(()=>{u.closed&&d()},500);window.addEventListener("message",h)}function k3(e,t,n,r){let i=null;const a=()=>{i=null};let l=!!r.token;return{hasToken(){return l},async me(){const u=i??e.get(`/apps/${n}/entities/User/me`).finally(()=>{i===u&&(i=null)});return i=u,u},async updateMe(u){return e.put(`/apps/${n}/entities/User/me`,u)},redirectToLogin(u){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const d=u?new URL(u,window.location.origin).toString():window.location.href,h=`${r.appBaseUrl}/login?from_url=${encodeURIComponent(d)}`;window.location.href=h},loginWithProvider(u,d="/"){const h=new URL(d,window.location.origin).toString(),p=`app_id=${n}&from_url=${encodeURIComponent(h)}`;let m;u==="sso"?m=`/apps/${n}/auth/sso/login`:m=`/apps/auth${u==="google"?"":`/${u}`}/login`;const x=`${r.appBaseUrl}/api${m}?${p}`;if(j3()){const y=`${x}&popup_origin=${encodeURIComponent(window.location.origin)}`;return N3(y,h,window.location.origin)}window.location.href=x},logout(u){if(delete e.defaults.headers.common.Authorization,a(),T1(),l=!1,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(p){console.error("Failed to remove token from localStorage:",p)}const d=u||window.location.href,h=`${r.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(d)}`;window.location.href=h}},setToken(u,d=!0){if(u&&(a(),T1(),l=!0,e.defaults.headers.common.Authorization=`Bearer ${u}`,t.defaults.headers.common.Authorization=`Bearer ${u}
425`,d&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",u),window.localStorage.setItem("token",u)}catch(h){console.error("Failed to save token to localStorage:",h)}},async loginViaEmailPassword(u,d,h){var p;try{const m=await e.post(`/apps/${n}/auth/login`,{email:u,password:d,...h&&{turnstile_token:h}}),{access_token:x,user:y}=m;return x&&this.setToken(x),{access_token:x,user:y}}catch(m){throw((p=m.response)===null||p===void 0?void 0:p.status)===401&&await this.logout(),m}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(u,d){return e.post(`/apps/${n}/users/invite-user`,{user_email:u,role:d})},register(u){return e.post(`/apps/${n}/auth/register`,u)},verifyOtp({email:u,otpCode:d}){return e.post(`/apps/${n}/auth/verify-otp`,{email:u,otp_code:d})},resendOtp(u){return e.post(`/apps/${n}/auth/resend-otp`,{email:u})},resetPasswordRequest(u){return e.post(`/apps/${n}/auth/reset-password-request`,{email:u})},resetPassword({resetToken:u,newPassword:d}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:u,new_password:d})},changePassword({userId:u,currentPassword:d,newPassword:h}){return e.post(`/apps/${n}/auth/change-password`,{user_id:u,current_password:d,new_password:h})}}}function S3(e,t){return{async getAccessToken(n){const r=`/apps/${t}/auth/sso/accesstoken/${n}`;return e.get(r)},async getIdToken(n){const r=`/apps/${t}/auth/sso/idtoken/${n}`;return e.get(r)}}}const C3=new Set(["GET","POST","PUT","PATCH","DELETE","HEAD"]);function E3(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`)).access_token},async getConnection(n){var r;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const a=await e.get(`/apps/${t}/external-auth/tokens/${encodeURIComponent(n)}`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}},async getWorkspaceConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const a=await e.get(`/apps/${t}/external-auth/tokens/connectors/${encodeURIComponent(n)}`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`)).access_token},async getCurrentAppUserConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const a=await e.get(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/token`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}},async callApi(n,r){return dC(n,"Integration type"),P3(e,`/apps/${t}/connectors/${encodeURIComponent(n)}/call`,r)}}}function dC(e,t){if(!e||typeof e!="string")throw new Error(`${t} is required and must be a string`)}async function P3(e,t,n){var r,i,a,l,u,d,h,p,m;if(!n||typeof n!="object")throw new Error("Request is required and must be an object");dC(n.path,"Request path");const x=(r=n.method)!==null&&r!==void 0?r:"GET";if(!C3.has(x))throw new Error("Request method must be one of GET, POST, PUT, PATCH, DELETE, or HEAD");const N=await e.post(t,{method:x,...n.host==null?{}:{host:n.host},path:n.path,query:(i=n.query)!==null&&i!==void 0?i:{},headers:(a=n.headers)!==null&&a!==void 0?a:{},body:(l=n.body)!==null&&l!==void 0?l:null});return{success:N.success,phase:N.phase,status:(u=N.status_code)!==null&&u!==void 0?u:null,data:N.data,dataBase64:(d=N.data_base64)!==null&&d!==void 0?d:null,contentType:(h=N.content_type)!==null&&h!==void 0?h:null,headers:(p=N.headers)!==null&&p!==void 0?p:{},creditsCharged:(m=N.credits_charged)!==null&&m!==void 0?m:0}}function T3(e,t){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}/initiate`)).redirect_url}
425,async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await e.delete(`/apps/${t}/app-user-auth/connectors/${encodeURIComponent(n)}`)}}}function gs(e={}){const{storageKey:t="base44_access_token",paramName:n="access_token",saveToStorage:r=!0,removeFromUrl:i=!0}=e;let a=null;if(typeof window<"u"&&window.location)try{const l=new URLSearchParams(window.location.search);if(a=l.get(n),a){if(r&&hC(a,{storageKey:t}),i){l.delete(n);const u=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,u)}return a}}catch(l){console.error("Error retrieving token from URL:",l)}if(typeof window<"u"&&window.localStorage)try{return a=window.localStorage.getItem(t),a}catch(l){console.error("Error retrieving token from local storage:",l)}return null}function hC(e,t){const{storageKey:n="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(n,e),window.localStorage.setItem("token",e),!0}catch(r){return console.error("Error saving token to local storage:",r),!1}}function A3(e){const{storageKey:t="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage)return!1;try{return window.localStorage.removeItem(t),!0}catch(n){return console.error("Error removing token from local storage:",n),!1}}function _3(e,t){const{serverUrl:n,appId:r,loginPath:i="/login"}=t;if(!n||!r)throw new Error("serverUrl and appId are required to construct login URL");const a=encodeURIComponent(e||(typeof window<"u"?window.location.href:""));return`${n}${i}?from_url=${a}&app_id=${r}`}function R3({axios:e,serviceRoleAxios:t,appId:n,serverUrl:r,functionsVersion:i,platformHeaders:a}){const l=new Headers(a),u=d=>{const h=d.defaults.headers.common.Authorization;return typeof h=="string"&&h.startsWith("Bearer ")?h:null};return async function(h,p={}){I3(h);const{fetch:m=fetch,...x}=p,y=new Headers(p.headers),N=(w,k)=>{k&&!y.has(w)&&y.set(w,k)};return N("Authorization",u(e)),N("Base44-Service-Authorization",u(t)),N("Base44-App-Id",n),N("Base44-Api-Url",r),N("Base44-Functions-Version",i),N("Base44-State",l.get("Base44-State")),N("X-Data-Env",l.get("X-Data-Env")),m(h,{...x,headers:y})}}function I3(e){if(typeof e!="string"||e==="")throw new Error("fetchWithAuth() requires a path, such as '/api/orders'.");const t=e.replace(/[\t\n\r]/g,"").replace(/^[\x00-\x20]+/,"");if(!t.startsWith("/")||t.startsWith("//")||t.startsWith("/\\"))throw new Error(`fetchWithAuth() only sends requests to your app's own origin, so your app's credentials never reach a third party. "${e}" is not a path on it — pass a relative path such as '/api/orders'. Use base44.functions.fetch() to call a Base44 backend function, or plain fetch() for another origin.`)}function M1(e,t,n){const r=(a,l)=>a?`${String(a).replace(/\/$/,"")}${l}`:l,i=a=>{const l=new Headers;if(n!=null&&n.getAuthHeaders){const u=n.getAuthHeaders();Object.entries(u).forEach(([d,h])=>{h!=null&&l.set(d,String(h))})}return a&&new Headers(a).forEach((u,d)=>{l.set(d,u)}),l};return{async invoke(a,l){if(typeof l=="string")throw new Error(`Function ${a} must receive an object with named parameters, received: ${l}`);let u,d;return l instanceof FormData||l&&Object.values(l).some(h=>h instanceof File)?(u=new FormData,Object.keys(l).forEach(h=>{l[h]instanceof File?u.append(h,l[h],l[h].name):typeof l[h]=="object"&&l[h]!==null?u.append(h,JSON.stringify(l[h])):u.append(h,l[h])}),d="multipart/form-data"):(u=l,d="application/json"),e.post(`/apps/${t}/functions/${a}`,u||l,{headers:{"Content-Type":d}})},async fetch(a,l={}){const d=`/functions${a.startsWith("/")?a:`/${a}`}`,h=i(l.headers),p={...l,headers:h};return await fetch(r(n==null?void 0:n.baseURL,d),p)}}}function O1({axios:e,getSocket:t,appId:n,serverUrl:r,token:i}){const a=`/apps/${n}/agents`,l={},u=()=>e.get(`${a}/conversations`),d=w=>e.get(`${a}/conversations/${w}`);return{getConversations:u,getConversation:d,listConversations:w=>e.get(`${a}/conversations`,{params:w}),createConversation:w=>e.post(`${a}/conversations`,w),addMessage:async(w,k)=>e.post(`${a}/conversations/v2/${w.id}/messages`,k),subscribeToConversation:(w,k)=>{const b=`/agent-conversations/${w}`,E=t(),C=d(w).then(T=>(l[w]=T,T));return E.subscribeToRoom(b,{connect:()=>{},update_model:async({data:T})=>{const I=JSON.parse(T);if(I._message){await C;const _=I._message,V=l[w];if(V){const O=V.messages||[],W=O.findIndex(G=>G.id===_.id),R=W!==-1?O.map((G,B)=>B===W?_:G):[...O,_];l[w]={...V,messages:R},k==null||k(l[w])}}}})},getWhatsAppConnectURL:w=>{const k=`${r}/api/apps/${n}/agents/${encodeURIComponent(w)}/whatsapp`,b=i??gs();return b?`${k}?token=${b}`:k},getTelegramConnectURL:w=>{const k=`${r}/api/apps/${n}/agents/${encodeURIComponent(w)}/telegram`,b=i??gs();return b?`${k}?token=${b}`:k}}}const D1={openai:"openai",typesafe:"typesafe"};function L1({serverUrl:e,token:t,appId:n,headers:r={}}){return{connection:({provider:a="openai"}={})=>{var l;if(!Object.prototype.hasOwnProperty.call(D1,a))throw new Error(`Unsupported AI Gateway provider: ${a}`);const u=D1[a];return{baseURL:`${e}/api/apps/${n}/ai/${u}/v1`,token:(l=t??gs())!==null&&l!==void 0?l:"",headers:{...r}}}}}function F1(e,t){const n=`/app-logs/${t}`;return{async logUserInApp(r){await e.post(`${n}/log-user-in-app/${r}`)},async fetchLogs(r={}){return await e.get(n,{params:r})},async getStats(r={}){return await e.get(`${n}/stats`,{params:r})}}}function M3(e,t){return{async getPublicSettings(){return e.get(`/apps/public/prod/public-settings/by-id/${t}`)}}}function O3(e,t){return{async inviteUser(n,r){if(r!=="user"&&r!=="admin")throw new Error(`Invalid role: "${r}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:n,role:r})}}}const Qr=Object.create(null);Qr.open="0";Qr.close="1";Qr.ping="2";Qr.pong="3";Qr.message="4";Qr.upgrade="5";Qr.noop="6";
vendor: 6,018 bytes, line 425
425const Vd=Object.create(null);Object.keys(Qr).forEach(e=>{Vd[Qr[e]]=e});const Ug={type:"error",data:"parser error"},fC=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",pC=typeof ArrayBuffer=="function",mC=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,oy=({type:e,data:t},n,r)=>fC&&t instanceof Blob?n?r(t):z1(t,r):pC&&(t instanceof ArrayBuffer||mC(t))?n?r(t):z1(new Blob([t]),r):r(Qr[e]+(t||"")),z1=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function B1(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let bm;function D3(e,t){if(fC&&e.data instanceof Blob)return e.data.arrayBuffer().then(B1).then(t);if(pC&&(e.data instanceof ArrayBuffer||mC(e.data)))return t(B1(e.data));oy(e,!1,n=>{bm||(bm=new TextEncoder),t(bm.encode(n))})}const V1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<V1.length;e++)Kl[V1.charCodeAt(e)]=e;const L3=e=>{let t=e.length*.75,n=e.length,r,i=0,a,l,u,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const h=new ArrayBuffer(t),p=new Uint8Array(h);for(r=0;r<n;r+=4)a=Kl[e.charCodeAt(r)],l=Kl[e.charCodeAt(r+1)],u=Kl[e.charCodeAt(r+2)],d=Kl[e.charCodeAt(r+3)],p[i++]=a<<2|l>>4,p[i++]=(l&15)<<4|u>>2,p[i++]=(u&3)<<6|d&63;return h},F3=typeof ArrayBuffer=="function",ay=(e,t)=>{if(typeof e!="string")return{type:"message",data:gC(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:z3(e.substring(1),t)}:Vd[n]?e.length>1?{type:Vd[n],data:e.substring(1)}:{type:Vd[n]}:Ug},z3=(e,t)=>{if(F3){const n=L3(e);return gC(n,t)}else return{base64:!0,data:e}},gC=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},xC="�",B3=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((a,l)=>{oy(a,!1,u=>{r[l]=u,++i===n&&t(r.join(xC))})})},V3=(e,t)=>{const n=e.split(xC),r=[];for(let i=0;i<n.length;i++){const a=ay(n[i],t);if(r.push(a),a.type==="error")break}return r};function U3(){return new TransformStream({transform(e,t){D3(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const a=new DataView(i.buffer);a.setUint8(0,126),a.setUint16(1,r)}else{i=new Uint8Array(9);const a=new DataView(i.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let wm;function vd(e){return e.reduce((t,n)=>t+n.length,0)}function bd(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function $3(e,t){wm||(wm=new TextDecoder);const n=[];let r=0,i=-1,a=!1;return new TransformStream({transform(l,u){for(n.push(l);;){if(r===0){if(vd(n)<1)break;const d=bd(n,1);a=(d[0]&128)===128,i=d[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(vd(n)<2)break;const d=bd(n,2);i=new DataView(d.buffer,d.byteOffset,d.length).getUint16(0),r=3}else if(r===2){if(vd(n)<8)break;const d=bd(n,8),h=new DataView(d.buffer,d.byteOffset,d.length),p=h.getUint32(0);if(p>Math.pow(2,21)-1){u.enqueue(Ug);break}i=p*Math.pow(2,32)+h.getUint32(4),r=3}else{if(vd(n)<i)break;const d=bd(n,i);u.enqueue(ay(a?d:wm.decode(d),t)),r=0}if(i===0||i>e){u.enqueue(Ug);break}}}})}const yC=4;function Lt(e){if(e)return H3(e)}function H3(e){for(var t in Lt.prototype)e[t]=Lt.prototype[t];return e}Lt.prototype.on=Lt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Lt.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Lt.prototype.off=Lt.prototype.removeListener=Lt.prototype.removeAllListeners=Lt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Lt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};Lt.prototype.emitReserved=Lt.prototype.emit;Lt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Lt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Dh=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),lr=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),W3="arraybuffer";function vC(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const q3=lr.setTimeout,G3=lr.clearTimeout;function Lh(e,t){t.useNativeTimers?(e.setTimeoutFn=q3.bind(lr),e.clearTimeoutFn=G3.bind(lr)):(e.setTimeoutFn=lr.setTimeout.bind(lr),e.clearTimeoutFn=lr.clearTimeout.bind(lr))}const Y3=1.33;function K3(e){return typeof e=="string"?Q3(e):Math.ceil((e.byteLength||e.size)*Y3)}function Q3(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function bC(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function X3(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function J3(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let a=n[r].split("=");
vendor: 6,261 bytes, line 425
425t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}class Z3 extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class ly extends Lt{constructor(t){super(),this.writable=!1,Lh(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new Z3(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=ay(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=X3(t);return n.length?"?"+n:""}}class eL extends ly{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};V3(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,B3(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=bC()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let wC=!1;try{wC=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const tL=wC;function nL(){}class rL extends eL{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,a)=>{this.onError("xhr post error",i,a)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class qr extends Lt{constructor(t,n,r){super(),this.createRequest=t,Lh(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=vC(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=qr.requestsCount++,qr.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=nL,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete qr.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}qr.requestsCount=0;qr.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",U1);else if(typeof addEventListener=="function"){const e="onpagehide"in lr?"pagehide":"unload";addEventListener(e,U1,!1)}}function U1(){for(let e in qr.requests)qr.requests.hasOwnProperty(e)&&qr.requests[e].abort()}const sL=(function(){const e=jC({xdomain:!1});return e&&e.responseType!==null})();class iL extends rL{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=sL&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new qr(jC,this.uri(),t)}}function jC(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||tL))return new XMLHttpRequest}catch{}if(!t)try{return new lr[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const NC=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class oL extends ly{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=NC?{}:vC(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}
vendor: 10,324 bytes, line 425
425this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;oy(r,this.supportsBinary,a=>{try{this.doWrite(r,a)}catch{}i&&Dh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=bC()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const jm=lr.WebSocket||lr.MozWebSocket;class aL extends oL{createSocket(t,n,r){return NC?new jm(t,n,r):n?new jm(t,n):new jm(t)}doWrite(t,n){this.ws.send(n)}}class lL extends ly{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=$3(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=U3();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const a=()=>{r.read().then(({done:u,value:d})=>{u||(this.onPacket(d),a())}).catch(u=>{})};a();const l={type:"open"};this.query.sid&&(l.data=`{"sid":"${this.query.sid}"}`),this._writer.write(l).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&Dh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const cL={websocket:aL,webtransport:lL,polling:iL},uL=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,dL=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function $g(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=uL.exec(e||""),a={},l=14;for(;l--;)a[dL[l]]=i[l]||"";return n!=-1&&r!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=hL(a,a.path),a.queryKey=fL(a,a.query),a}function hL(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function fL(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,a){i&&(n[i]=a)}),n}const Hg=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ud=[];Hg&&addEventListener("offline",()=>{Ud.forEach(e=>e())},!1);class ci extends Lt{constructor(t,n){if(super(),this.binaryType=W3,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=$g(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=$g(n.host).host);Lh(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=J3(this.opts.query)),Hg&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Ud.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=yC,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&ci.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",ci.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=K3(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Dh(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const a={type:t,data:n,options:r};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(ci.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Hg&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Ud.indexOf(this._offlineEventListener);r!==-1&&Ud.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}ci.protocol=yC;class pL extends ci{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;ci.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",m=>{if(!r)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;ci.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(p(),this.setTransport(n),n.send([{type:"upgrade"}
vendor: 11,000 bytes, line 425
425]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const x=new Error("probe error");x.transport=n.name,this.emitReserved("upgradeError",x)}}))};function a(){r||(r=!0,p(),n.close(),n=null)}const l=m=>{const x=new Error("probe error: "+m);x.transport=n.name,a(),this.emitReserved("upgradeError",x)};function u(){l("transport closed")}function d(){l("socket closed")}function h(m){n&&m.name!==n.name&&a()}const p=()=>{n.removeListener("open",i),n.removeListener("error",l),n.removeListener("close",u),this.off("close",d),this.off("upgrading",h)};n.once("open",i),n.once("error",l),n.once("close",u),this.once("close",d),this.once("upgrading",h),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let mL=class extends pL{constructor(t,n={}){const r=typeof t=="object",i=r?{...t}:{...n};(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(a=>cL[a]).filter(a=>!!a)),super(r?i:t,i)}};function gL(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=$g(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const a=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port+t,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}const xL=typeof ArrayBuffer=="function",yL=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,kC=Object.prototype.toString,vL=typeof Blob=="function"||typeof Blob<"u"&&kC.call(Blob)==="[object BlobConstructor]",bL=typeof File=="function"||typeof File<"u"&&kC.call(File)==="[object FileConstructor]";function cy(e){return xL&&(e instanceof ArrayBuffer||yL(e))||vL&&e instanceof Blob||bL&&e instanceof File}function $d(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if($d(e[n]))return!0;return!1}if(cy(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return $d(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&$d(e[n]))return!0;return!1}function wL(e){const t=[],n=e.data,r=e;return r.data=Wg(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Wg(e,t){if(!e)return e;if(cy(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Wg(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Wg(e[r],t));return n}return e}function jL(e,t){return e.data=qg(e.data,t),delete e.attachments,e}function qg(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=qg(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=qg(e[n],t));return e}const SC=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],NL=5;var qe;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(qe||(qe={}));class kL{constructor(t){this.replacer=t}encode(t){return(t.type===qe.EVENT||t.type===qe.ACK)&&$d(t)?this.encodeAsBinary({type:t.type===qe.EVENT?qe.BINARY_EVENT:qe.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===qe.BINARY_EVENT||t.type===qe.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=wL(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}class uy extends Lt{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===qe.BINARY_EVENT;r||n.type===qe.BINARY_ACK?(n.type=r?qe.EVENT:qe.ACK,this.reconstructor=new SL(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(cy(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(qe[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===qe.BINARY_EVENT||r.type===qe.BINARY_ACK){const a=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const l=t.substring(a,n);if(l!=Number(l)||t.charAt(n)!=="-")throw new Error("Illegal attachments");const u=Number(l);if(!CC(u)||u<0)throw new Error("Illegal attachments");if(u>this.opts.maxAttachments)throw new Error("too many attachments");r.attachments=u}if(t.charAt(n+1)==="/"){const a=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(a,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const a=n+1;for(;++n;){const l=t.charAt(n);if(l==null||Number(l)!=l){--n;break}if(n===t.length)break}r.id=Number(t.substring(a,n+1))}if(t.charAt(++n)){const a=this.tryParse(t.substr(n));if(uy.isPayloadValid(r.type,a))r.data=a;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case qe.CONNECT:return ah(n);case qe.DISCONNECT:return n===void 0;case qe.CONNECT_ERROR:return typeof n=="string"||ah(n);case qe.EVENT:case qe.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&SC.indexOf(n[0])===-1);case qe.ACK:case qe.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class SL{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=jL(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function CL(e){return typeof e=="string"}const CC=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};function EL(e){return e===void 0||CC(e)}function ah(e){return Object.prototype.toString.call(e)==="[object Object]"}function PL(e,t){switch(e){case qe.CONNECT:return t===void 0||ah(t);case qe.DISCONNECT:return t===void 0;case qe.EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&SC.indexOf(t[0])===-1);case qe.ACK:return Array.isArray(t);case qe.CONNECT_ERROR:return typeof t=="string"||ah(t);default:return!1}}function TL(e){return CL(e.nsp)&&EL(e.id)&&PL(e.type,e.data)}const AL=Object.freeze(Object.defineProperty({__proto__:null,Decoder:uy,Encoder:kL,get PacketType(){return qe},isPacketValid:TL,protocol:NL},Symbol.toStringTag,{value:"Module"}));function Cr(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const _L=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class EC extends Lt{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Cr(t,"open",this.onopen.bind(this)),Cr(t,"packet",this.onpacket.bind(this)),Cr(t,"error",this.onerror.bind(this)),Cr(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,i,a;if(_L.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const l={type:qe.EVENT,data:n};if(l.options={},l.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const p=this.ids++,m=n.pop();this._registerAckCallback(p,m),l.id=p}const u=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,d=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!u||(d?(this.notifyOutgoingListeners(l),this.packet(l)):this.sendBuffer.push(l)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const a=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let u=0;u<this.sendBuffer.length;u++)this.sendBuffer[u].id===t&&this.sendBuffer.splice(u,1);n.call(this,new Error("operation has timed out"))},i),l=(...u)=>{this.io.clearTimeoutFn(a),n.apply(this,u)};l.withError=!0,this.acks[t]=l}emitWithAck(t,...n){return new Promise((r,i)=>{const a=(l,u)=>l?i(l):r(u);a.withError=!0,n.push(a),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...a)=>(this._queue[0],i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...a)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:qe.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 7,087 bytes, line 425
425_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case qe.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case qe.EVENT:case qe.BINARY_EVENT:this.onevent(t);break;case qe.ACK:case qe.BINARY_ACK:this.onack(t);break;case qe.DISCONNECT:this.ondisconnect();break;case qe.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:qe.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:qe.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function $a(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}$a.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};$a.prototype.reset=function(){this.attempts=0};$a.prototype.setMin=function(e){this.ms=e};$a.prototype.setMax=function(e){this.max=e};$a.prototype.setJitter=function(e){this.jitter=e};class Gg extends Lt{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Lh(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new $a({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||AL;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new mL(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Cr(n,"open",function(){r.onopen(),t&&t()}),a=u=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",u),t?t(u):this.maybeReconnectOnOpen()},l=Cr(n,"error",a);if(this._timeout!==!1){const u=this._timeout,d=this.setTimeoutFn(()=>{i(),a(new Error("timeout")),n.close()},u);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}return this.subs.push(i),this.subs.push(l),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Cr(t,"ping",this.onping.bind(this)),Cr(t,"data",this.ondata.bind(this)),Cr(t,"error",this.onerror.bind(this)),Cr(t,"close",this.onclose.bind(this)),Cr(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){Dh(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new EC(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}
425cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Ll={};function Hd(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=gL(e,t.path||"/socket.io"),r=n.source,i=n.id,a=n.path,l=Ll[i]&&a in Ll[i].nsps,u=t.forceNew||t["force new connection"]||t.multiplex===!1||l;let d;return u?d=new Gg(r,t):(Ll[i]||(Ll[i]=new Gg(r,t)),d=Ll[i]),n.query&&!t.query&&(t.query=n.queryKey),d.socket(n.path,t)}Object.assign(Hd,{Manager:Gg,Socket:EC,io:Hd,connect:Hd});const RL=250;function $1(e,t){var n;const r=(n=e.token)!==null&&n!==void 0?n:gs(),i={app_id:e.appId};r?i.token=r:i.anonymous_id=oh();const a=Hd(e.serverUrl,{path:e.mountPath,transports:e.transports,query:i});return a.on("connect",async()=>{var l;return console.log("connect",a.id),(l=t.connect)===null||l===void 0?void 0:l.call(t)}),a.on("update_model",async l=>{var u;return(u=t.update_model)===null||u===void 0?void 0:u.call(t,l)}),a.on("error",async l=>{var u;return(u=t.error)===null||u===void 0?void 0:u.call(t,l)}),a.on("connect_error",async l=>{var u;return console.error("connect_error",l),(u=t.error)===null||u===void 0?void 0:u.call(t,l)}),a}function IL({config:e}){let t={...e};const n={},r={},i={connect:async()=>{const b=[];Object.keys(n).forEach(E=>{const C=x(E);C.length!==0&&(h(E),C.forEach(({connect:T})=>{const I=async()=>T==null?void 0:T();b.push(I())}))}),await Promise.all(b)},update_model:async b=>{const C=x(b.room).map(T=>{var I;return(I=T.update_model)===null||I===void 0?void 0:I.call(T,b)});await Promise.all(C)},error:async b=>{console.error("error",b);const E=Object.values(n).flat().map(C=>{var T;return(T=C.error)===null||T===void 0?void 0:T.call(C,b)});await Promise.all(E)}};let a=$1(e,i);function l(){u()}function u(){N(),a&&a.disconnect()}function d(b){l(),t={...t,...b},a=$1(t,i)}function h(b){a.emit("join",b)}function p(b){a.emit("leave",b)}async function m(b,E){var C;const T=JSON.stringify(E);return(C=i.update_model)===null||C===void 0?void 0:C.call(i,{room:b,data:T})}function x(b){var E;return(E=n[b])!==null&&E!==void 0?E:[]}function y(b){const E=r[b];E&&(clearTimeout(E),delete r[b])}function N(){Object.keys(r).forEach(b=>{var E,C;clearTimeout(r[b]),delete r[b],((C=(E=n[b])===null||E===void 0?void 0:E.length)!==null&&C!==void 0?C:0)===0&&delete n[b]})}function w(b){y(b),r[b]=setTimeout(()=>{var E,C;delete r[b],!(((C=(E=n[b])===null||E===void 0?void 0:E.length)!==null&&C!==void 0?C:0)>0)&&(p(b),delete n[b])},RL)}return{socket:a,subscribeToRoom:(b,E)=>{n[b]?y(b):(h(b),n[b]=[]),n[b].push(E);let C=!1;return()=>{var T,I;C||(C=!0,n[b]=(I=(T=n[b])===null||T===void 0?void 0:T.filter(_=>_!==E))!==null&&I!==void 0?I:[],n[b].length===0&&w(b))}},updateConfig:d,updateModel:m,disconnect:u}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
426  PartySocket requires a global 'EventTarget' class to be available!
427  You can polyfill this global by adding this to your code before any partysocket imports: 
428  
429  \`\`\`
430  import 'partysocket/event-target-polyfill';
431  \`\`\`
432  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
433`);
vendor: 5,074 bytes, line 433
433var PC=class extends Event{constructor(t,n){super("error",n);ht(this,"message");ht(this,"error");this.message=t.message,this.error=t}},TC=class extends Event{constructor(t=1e3,n="",r){super("close",r);ht(this,"code");ht(this,"reason");ht(this,"wasClean",!0);this.code=t,this.reason=n}},Nm={Event,ErrorEvent:PC,CloseEvent:TC};function ML(e,t){if(!e)throw new Error(t)}function OL(e){return new e.constructor(e.type,e)}function DL(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new TC(e.code||1999,e.reason||"unknown reason",e):"error"in e?new PC(e.error,e):new Event(e.type,e)}var zk,LL=typeof process<"u"&&typeof((zk=process.versions)==null?void 0:zk.node)<"u"&&typeof document>"u",wd=LL?DL:OL,Li={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},H1=!1,FL=class Vi extends EventTarget{constructor(n,r,i={}){super();ht(this,"_ws");ht(this,"_retryCount",-1);ht(this,"_uptimeTimeout");ht(this,"_connectTimeout");ht(this,"_shouldReconnect",!0);ht(this,"_connectLock",!1);ht(this,"_binaryType","blob");ht(this,"_closeCalled",!1);ht(this,"_messageQueue",[]);ht(this,"_url");ht(this,"_protocols");ht(this,"_options");ht(this,"onclose",null);ht(this,"onerror",null);ht(this,"onmessage",null);ht(this,"onopen",null);ht(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:r=Li.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),r),ML(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(i=>{var a;return(a=this._ws)==null?void 0:a.send(i)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(wd(n))});ht(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(wd(n))});ht(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(wd(n)),this._connect()});ht(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(wd(n))});this._url=n,this._protocols=r,this._options=i,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return Vi.CONNECTING}get OPEN(){return Vi.OPEN}get CLOSING(){return Vi.CLOSING}get CLOSED(){return Vi.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((r,i)=>(typeof i=="string"?r+=i.length:i instanceof Blob?r+=i.size:r+=i.byteLength,r),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?Vi.CLOSED:Vi.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,r){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,r)}reconnect(n,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,r),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:r=Li.maxEnqueuedMessages}=this._options;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=Li.reconnectionDelayGrowFactor,minReconnectionDelay:r=Li.minReconnectionDelay,maxReconnectionDelay:i=Li.maxReconnectionDelay}=this._options;let a=0;return this._retryCount>0&&(a=r*Math.pow(n,this._retryCount-1),a>i&&(a=i)),this._debug("next delay",a),a}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const r=n();if(!r)return Promise.resolve(null);if(typeof r=="string"||Array.isArray(r))return Promise.resolve(r);if(r.then)return r}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const r=n();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
433const{maxRetries:n=Li.maxRetries,connectionTimeout:r=Li.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([i,a])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!H1&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
434
435For example, if you're using node.js, run \`npm install ws\`, and then in your code:
436
437import PartySocket from 'partysocket';
438import WS from 'ws';
439
440const partysocket = new PartySocket({
441  host: "127.0.0.1:1999",
442  room: "test-room",
443  WebSocket: WS
444});
445
446`),H1=!0);const l=this._options.WebSocket||WebSocket;this._debug("connect",{url:i,protocols:a}),this._ws=a?new l(i,a):new l(i),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),r)}).catch(i=>{this._connectLock=!1,this._handleError(new Nm.ErrorEvent(Error(i.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new Nm.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,r){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,r),this._handleClose(new Nm.CloseEvent(n,r,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*!
447 * Reconnecting WebSocket
448 * by Pedro Ladaria <[email protected]>
449 * https://github.com/pladaria/reconnecting-websocket
450 * License MIT
451 */const zL=1e3,BL=3e3,VL=new Set([405,409,422,503]),UL=new Set([400,403,404]);function $L(e){const t=e&&typeof e=="object"?e.status:void 0;return typeof t=="number"?t:void 0}function HL(e){return e instanceof Error?e:new Error(String(e))}class WL{constructor(t,n,r,i,a){var l;this.onClose=a,this.listeners=new Set,this.heartbeat=null,this.closed=!1,this.id=(l=i==null?void 0:i.id)!==null&&l!==void 0?l:crypto.randomUUID();let u=r.transport==="proxy";const d=async()=>{var x;if(this.closed)throw new Error("Actor connection is closed");if(!u)try{const{websocket_url:y,token:N}=await r.mintConnectionToken(t,n,this.id),w=y.includes("?")?"&":"?";return`${y}${w}token=${encodeURIComponent(N)}`}catch(y){const N=$L(y);if(!(r.transport!=="direct"&&N!==void 0&&VL.has(N))){N!==void 0&&UL.has(N)&&this.close();try{(x=r.onMintError)===null||x===void 0||x.call(r,HL(y))}catch{}throw y}u=!0}return GL(r.host,t,n,this.id,r.appId,r.getAuthToken(),r.functionsVersion)},h=new FL(d);this.ws=h;let p=Date.now();const m=()=>{p=Date.now()};h.addEventListener("open",m),h.addEventListener("message",x=>{m();let y;try{y=JSON.parse(x.data)}catch{return}if((y&&typeof y=="object"?y.type:void 0)!=="__pong")for(const w of this.listeners)w(y)}),this.heartbeat=setInterval(()=>{if(Date.now()-p>BL){m(),h.readyState===h.OPEN&&h.reconnect();return}try{h.send(JSON.stringify({type:"__ping"}))}catch{}},zL)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.closed||this.ws.send(JSON.stringify(t))}close(){this.closed||(this.closed=!0,this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose())}}function qL(e,t,n,r){let i=null;return{connect(a){if(i)return i;const l=new WL(e,t,n,a,()=>{r.delete(l),i===l&&(i=null)});return i=l,r.add(l),l}}}function GL(e,t,n,r,i,a,l){let u=e.replace(/^(http|https|ws|wss):\/\//,"");u.endsWith("/")&&(u=u.slice(0,-1));const d=u.startsWith("localhost:")||u.startsWith("127.0.0.1:")||u.startsWith("192.168.")||u.startsWith("10.")||u.startsWith("172.")&&u.split(".")[1]>="16"&&u.split(".")[1]<="31"||u.startsWith("[::ffff:7f00:1]:"),h=new URLSearchParams([["_pk",r],["app_id",i],["handler",t]]);return a&&h.append("token",a),l&&h.append("fv",l),`${d?"ws":"wss"}://${u}/parties/${t}/${n}?${h}`}function YL(e,t){return e&&!e.startsWith("/")?e:t??e}function KL(e){const t=new Set;return{module:new Proxy({}
451,{get(r,i){if(!(typeof i!="string"||i==="then"))return a=>qL(i,a,e,t)}}),closeAll:()=>{for(const r of[...t])r.close()}}}function dy(e){var t,n,r,i;const{serverUrl:a="https://base44.app",appId:l,analytics:u,token:d,serviceToken:h,requiresAuth:p=!1,appBaseUrl:m,options:x,functionsVersion:y,headers:N}=e,w=typeof m=="string"?m:"",k={serverUrl:a,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:d};let b=null;const E=()=>(b||(b=IL({config:k})),b),C={...N,"X-App-Id":String(l)},T=N==null?void 0:N["Base44-State"],I=T?{"Base44-State":T}:{},_=y?{...C,"Base44-Functions-Version":y}:C,V=ra({baseURL:`${a}/api`,headers:C,token:d,onError:x==null?void 0:x.onError}),O=ra({baseURL:`${a}/api`,headers:_,token:d,interceptResponses:!1,onError:x==null?void 0:x.onError}),W={...C,...d?{"on-behalf-of":`Bearer ${d}`}:{}},R=ra({baseURL:`${a}/api`,headers:W,token:h,onError:x==null?void 0:x.onError}),G=ra({baseURL:`${a}/api`,headers:_,token:h,interceptResponses:!1}),B=ra({baseURL:`${a}/api`,headers:C}),Q=k3(V,O,l,{appBaseUrl:w,token:d});if(typeof window<"u"){const F=d||gs();F&&Q.setToken(F)}const Z=KL({appId:l,host:YL(a,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:y,getAuthToken:()=>d||gs(),mintConnectionToken:async(F,J,A)=>{const L=d||gs();return await B.post(`/apps/${l}/actors/${encodeURIComponent(F)}/connection-token`,{room:J,connection_id:A},{headers:{...L?{Authorization:`Bearer ${L}`}:{},...y?{"Base44-Functions-Version":y}:{}}})},transport:x==null?void 0:x.actorsTransport,onMintError:x==null?void 0:x.onError}),te={entities:_1({axios:V,appId:l,getSocket:E}),integrations:I1(V,l),connectors:T3(V,l),auth:Q,functions:M1(O,l,{getAuthHeaders:()=>{const F={},J=d||gs();return J&&(F.Authorization=`Bearer ${J}`),F},baseURL:(n=O.defaults)===null||n===void 0?void 0:n.baseURL}),agents:O1({axios:V,getSocket:E,appId:l,serverUrl:a,token:d}),aiGateway:L1({serverUrl:a,token:d,appId:l,headers:I}),appLogs:F1(V,l),app:M3(V,l),users:O3(V,l),analytics:u3({axiosClient:V,serverUrl:a,appId:l,userAuthModule:Q,enabled:(r=u==null?void 0:u.enabled)!==null&&r!==void 0?r:!0}),actors:Z.module,cleanup:()=>{te.analytics.cleanup(),Z.closeAll(),b&&b.disconnect()}},se={entities:_1({axios:R,appId:l,getSocket:E}),integrations:I1(R,l),sso:S3(R,l),connectors:E3(R,l),functions:M1(G,l,{getAuthHeaders:()=>{const F={};return h&&(F.Authorization=`Bearer ${h}`),F},baseURL:(i=G.defaults)===null||i===void 0?void 0:i.baseURL}),agents:O1({axios:R,getSocket:E,appId:l,serverUrl:a,token:d}),aiGateway:L1({serverUrl:a,token:h,appId:l,headers:I}),appLogs:F1(R,l),cleanup:()=>{b&&b.disconnect()}};return p&&typeof window<"u"&&setTimeout(async()=>{try{await te.auth.isAuthenticated()||te.auth.redirectToLogin(window.location.href)}catch(F){console.error("Authentication check failed:",F),te.auth.redirectToLogin(window.location.href)}},0),{...te,fetchWithAuth:R3({axios:V,serviceRoleAxios:R,appId:String(l),serverUrl:a,functionsVersion:y,platformHeaders:N}),setToken(F){te.auth.setToken(F),b&&b.updateConfig({token:F}),k.token=F},getConfig(){return{serverUrl:a,appId:l,requiresAuth:p}},get asServiceRole(){if(!h)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return se}}}function QL(e){const t=e.headers.get("Authorization"),n=e.headers.get("Base44-Service-Authorization"),r=e.headers.get("Base44-App-Id"),i=e.headers.get("Base44-Api-Url"),a=e.headers.get("Base44-Functions-Version"),l=e.headers.get("Base44-State"),u=e.headers.get("X-Data-Env");if(!r)throw new Error("Base44-App-Id header is required, but is was not found on the request");let d,h;if(n!==null){if(n===""||!n.startsWith("Bearer ")||n.split(" ").length!==2)throw new Error('Invalid authorization header format. Expected "Bearer <token>"');d=n.split(" ")[1]}if(t!==null){if(t===""||!t.startsWith("Bearer ")||t.split(" ").length!==2)throw new Error('Invalid authorization header format. Expected "Bearer <token>"');h=t.split(" ")[1]}const p={};return l&&(p["Base44-State"]=l),(u==="dev"||u==="prod")&&(p["X-Data-Env"]=u),dy({serverUrl:i||"https://base44.app",appId:r,token:h,serviceToken:d,functionsVersion:a??void 0,headers:p})}class XL{constructor(){this.tickIntervalMs=100}handleStart(){}handleWake(t){}schedule(t,n){throw new Error("Actor.schedule() is only available inside a deployed actor")}cancelSchedule(t){throw new Error("Actor.cancelSchedule() is only available inside a deployed actor")}broadcast(t){throw new Error("Actor.broadcast() is only available inside a deployed actor")}getConnections(){throw new Error("Actor.getConnections() is only available inside a deployed actor")}get instanceId(){throw new Error("Actor.instanceId is only available inside a deployed actor")}get storage(){throw new Error("Actor.storage is only available inside a deployed actor")}get client(){throw new Error("Actor.client is only available inside a deployed actor")}}const JL=Object.freeze(Object.defineProperty({__proto__:null,Actor:XL,Base44Error:uC,createClient:dy,createClientFromRequest:QL,getAccessToken:gs,getLoginUrl:_3,removeAccessToken:A3,saveAcce
451ssToken:hC},Symbol.toStringTag,{value:"Module"})),AC=typeof window>"u",ZL=AC?{localStorage:new Map}:window,ic=ZL.localStorage,eF=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Qo=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>{if(AC)return t;const r=`base44_${eF(e)}`,i=new URLSearchParams(window.location.search),a=i.get(e);if(n){i.delete(e);const u=`${window.location.pathname}${i.toString()?`?${i.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,u)}if(a)return ic.setItem(r,a),a;if(t)return ic.setItem(r,t),t;const l=ic.getItem(r);return l||null},tF=()=>(Qo("clear_access_token")==="true"&&(ic.removeItem("base44_access_token"),ic.removeItem("token")),{appId:Qo("app_id",{defaultValue:"6887ee5a7c2ec1c9feee474b"}),serverUrl:Qo("server_url",{defaultValue:"https://base44.app"}),token:Qo("access_token",{removeFromUrl:!0}),fromUrl:Qo("from_url",{defaultValue:window.location.href}),functionsVersion:Qo("functions_version")}),sa={...tF()},{appId:nF,serverUrl:rF,token:sF,functionsVersion:iF}=sa,Hn=dy({appId:nF,serverUrl:rF,token:sF,functionsVersion:iF,requiresAuth:!1}),_C=S.createContext(),oF=({children:e})=>{const[t,n]=S.useState(null),[r,i]=S.useState(!1),[a,l]=S.useState(!0),[u,d]=S.useState(!0),[h,p]=S.useState(null),[m,x]=S.useState(null);S.useEffect(()=>{y()},[]);const y=async()=>{var b,E;try{d(!0),p(null);const C=ra({baseURL:`${sa.serverUrl}/api/apps/public`,headers:{"X-App-Id":sa.appId},token:sa.token,interceptResponses:!0});try{const T=await C.get(`/prod/public-settings/by-id/${sa.appId}`);x(T),sa.token?await N():(l(!1),i(!1)),d(!1)}catch(T){if(console.error("App state check failed:",T),T.status===403&&((E=(b=T.data)==null?void 0:b.extra_data)!=null&&E.reason)){const I=T.data.extra_data.reason;p(I==="auth_required"?{type:"auth_required",message:"Authentication required"}:I==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:I,message:T.message})}else p({type:"unknown",message:T.message||"Failed to load app"});d(!1),l(!1)}}catch(C){console.error("Unexpected error:",C),p({type:"unknown",message:C.message||"An unexpected error occurred"}),d(!1),l(!1)}},N=async()=>{try{l(!0);const b=await Hn.auth.me();n(b),i(!0),l(!1)}catch(b){console.error("User auth check failed:",b),l(!1),i(!1),(b.status===401||b.status===403)&&p({type:"auth_required",message:"Authentication required"})}},w=(b=!0)=>{n(null),i(!1),b?Hn.auth.logout(window.location.href):Hn.auth.logout()},k=()=>{Hn.auth.redirectToLogin(window.location.href)};return s.jsx(_C.Provider,{value:{user:t,isAuthenticated:r,isLoadingAuth:a,isLoadingPublicSettings:u,authError:h,appPublicSettings:m,logout:w,navigateToLogin:k,checkAppState:y},children:e})},RC=()=>{const e=S.useContext(_C);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},Fh=S.createContext(null);function hy(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const fy=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class aF extends S.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function lF({children:e,isPresent:t}){const n=S.useId(),r=S.useRef(null),i=S.useRef({width:0,height:0,top:0,left:0}),{nonce:a}=S.useContext(fy);return S.useInsertionEffect(()=>{const{width:l,height:u,top:d,left:h}=i.current;if(t||!r.current||!l||!u)return;r.current.dataset.motionPopId=n;const p=document.createElement("style");return a&&(p.nonce=a),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
452          [data-motion-pop-id="${n}"] {
453            position: absolute !important;
454            width: ${l}px !important;
455            height: ${u}px !important;
456            top: ${d}px !important;
457            left: ${h}px !important;
458          }
459        `),()=>{document.head.removeChild(p)}},[t]),s.jsx(aF,{isPresent:t,childRef:r,sizeRef:i,children:S.cloneElement(e,{ref:r})})}const cF=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:l})=>{const u=hy(uF),d=S.useId(),h=S.useCallback(m=>{u.set(m,!0);for(const x of u.values())if(!x)return;r&&r()},[u,r]),p=S.useMemo(()=>({id:d,initial:t,isPresent:n,custom:i,onExitComplete:h,register:m=>(u.set(m,!1),()=>u.delete(m))}),a?[Math.random(),h]:[n,h]);return S.useMemo(()=>{u.forEach((m,x)=>u.set(x,!1))},[n]),S.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),l==="popLayout"&&(e=s.jsx(lF,{isPresent:n,children:e})),s.jsx(Fh.Provider,{value:p,children:e})};function uF(){return new Map}const py=S.createContext({}),Wn=e=>e;let IC=Wn;function my(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ta=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},xs=e=>e*1e3,ys=e=>e/1e3,jd=e=>e.key||"";function W1(e){const t=[];
vendor: 9,487 bytes, line 459
459return S.Children.forEach(e,n=>{S.isValidElement(n)&&t.push(n)}),t}const gy=typeof window<"u",MC=gy?S.useLayoutEffect:S.useEffect,zh=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:l="sync"})=>{const u=S.useMemo(()=>W1(e),[e]),d=u.map(jd),h=S.useRef(!0),p=S.useRef(u),m=hy(()=>new Map),[x,y]=S.useState(u),[N,w]=S.useState(u);MC(()=>{h.current=!1,p.current=u;for(let E=0;E<N.length;E++){const C=jd(N[E]);d.includes(C)?m.delete(C):m.get(C)!==!0&&m.set(C,!1)}},[N,d.length,d.join("-")]);const k=[];if(u!==x){let E=[...u];for(let C=0;C<N.length;C++){const T=N[C],I=jd(T);d.includes(I)||(E.splice(C,0,T),k.push(T))}l==="wait"&&k.length&&(E=k),w(W1(E)),y(u);return}const{forceRender:b}=S.useContext(py);return s.jsx(s.Fragment,{children:N.map(E=>{const C=jd(E),T=u===N||d.includes(C),I=()=>{if(m.has(C))m.set(C,!0);else return;let _=!0;m.forEach(V=>{V||(_=!1)}),_&&(b==null||b(),w(p.current),i&&i())};return s.jsx(cF,{isPresent:T,initial:!h.current||r?void 0:!1,custom:T?void 0:n,presenceAffectsLayout:a,mode:l,onExitComplete:T?void 0:I,children:E},C)})})},dF={useManualTiming:!1};function hF(e){let t=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function u(h){a.has(h)&&(d.schedule(h),e()),h(l)}const d={schedule:(h,p=!1,m=!1)=>{const y=m&&r?t:n;return p&&a.add(h),y.has(h)||y.add(h),h},cancel:h=>{n.delete(h),a.delete(h)},process:h=>{if(l=h,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(u),t.clear(),r=!1,i&&(i=!1,d.process(h))}};return d}const Nd=["read","resolveKeyframes","update","preRender","render","postRender"],fF=40;function OC(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=Nd.reduce((b,E)=>(b[E]=hF(a),b),{}),{read:u,resolveKeyframes:d,update:h,preRender:p,render:m,postRender:x}=l,y=()=>{const b=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(b-i.timestamp,fF),1),i.timestamp=b,i.isProcessing=!0,u.process(i),d.process(i),h.process(i),p.process(i),m.process(i),x.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},N=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:Nd.reduce((b,E)=>{const C=l[E];return b[E]=(T,I=!1,_=!1)=>(n||N(),C.schedule(T,I,_)),b},{}),cancel:b=>{for(let E=0;E<Nd.length;E++)l[Nd[E]].cancel(b)},state:i,steps:l}}const{schedule:yt,cancel:di,state:Jt,steps:km}=OC(typeof requestAnimationFrame<"u"?requestAnimationFrame:Wn,!0),DC=S.createContext({strict:!1}),q1={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"]},Aa={};for(const e in q1)Aa[e]={isEnabled:t=>q1[e].some(n=>!!t[n])};function pF(e){for(const t in e)Aa[t]={...Aa[t],...e[t]}}const mF=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 lh(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||mF.has(e)}let LC=e=>!lh(e);function gF(e){e&&(LC=t=>t.startsWith("on")?!lh(t):e(t))}try{gF(require("@emotion/is-prop-valid").default)}catch{}function xF(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(LC(i)||n===!0&&lh(i)||!t&&!lh(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function yF(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}const Bh=S.createContext({});function vc(e){return typeof e=="string"||Array.isArray(e)}function Vh(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const xy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yy=["initial",...xy];function Uh(e){return Vh(e.animate)||yy.some(t=>vc(e[t]))}function FC(e){return!!(Uh(e)||e.variants)}function vF(e,t){if(Uh(e)){const{initial:n,animate:r}=e;return{initial:n===!1||vc(n)?n:void 0,animate:vc(r)?r:void 0}}return e.inherit!==!1?t:{}}function bF(e){const{initial:t,animate:n}=vF(e,S.useContext(Bh));return S.useMemo(()=>({initial:t,animate:n}),[G1(t),G1(n)])}function G1(e){return Array.isArray(e)?e.join(" "):e}const wF=Symbol.for("motionComponentSymbol");function aa(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function jF(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):aa(n)&&(n.current=r))},[t])}const vy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),NF="framerAppearId",zC="data-"+vy(NF),{schedule:by}=OC(queueMicrotask,!1),BC=S.createContext({});function kF(e,t,n,r,i){var a,l;const{visualElement:u}=S.useContext(Bh),d=S.useContext(DC),h=S.useContext(Fh),p=S.useContext(fy).reducedMotion,m=S.useRef(null);r=r||d.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:u,props:n,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:p}));const x=m.current,y=S.useContext(BC);x&&!x.projection&&i&&(x.type==="html"||x.type==="svg")&&SF(m.current,n,i,y);const N=S.useRef(!1);S.useInsertionEffect(()=>{x&&N.current&&x.update(n,h)});const w=n[zC],k=S.useRef(!!w&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,w))&&((l=window.MotionHasOptimisedAnimation)===null||l===void 0?void 0:l.call(window,w)));return MC(()=>{x&&(N.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),by.render(x.render),k.current&&x.animationState&&x.animationState.animateChanges())}),S.useEffect(()=>{x&&(!k.current&&x.animationState&&x.animationState.animateChanges(),k.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,w)}),k.current=!1))}),x}function SF(e,t,n,r){const{layoutId:i,layout:a,drag:l,dragConstraints:u,layoutScroll:d,layoutRoot:h}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:VC(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!l||u&&aa(u),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:r,layoutScroll:d,layoutRoot:h})}function VC(e){if(e)return e.options.allowProjection!==!1?e.projection:VC(e.parent)}function CF({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var a,l;e&&pF(e);function u(h,p){let m;const x={...S.useContext(fy),...h,layoutId:EF(h)},{isStatic:y}=x,N=bF(h),w=r(h,y);if(!y&&gy){PF();const k=TF(x);m=k.MeasureLayout,N.visualElement=kF(i,w,x,t,k.ProjectionNode)}return s.jsxs(Bh.Provider,{value:N,children:[m&&N.visualElement?s.jsx(m,{visualElement:N.visualElement,...x}):null,n(i,h,jF(w,N.visualElement,p),w,y,N.visualElement)]})}u.displayName=`motion.${typeof i=="string"?i:`create(${(l=(a=i.displayName)!==null&&a!==void 0?a:i.name)!==null&&l!==void 0?l:""})`}`;const d=S.forwardRef(u);return d[wF]=i,d}function EF({layoutId:e}){const t=S.useContext(py).id;return t&&e!==void 0?t+"-"+e:e}function PF(e,t){S.useContext(DC).strict}function TF(e){const{drag:t,layout:n}=Aa;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const AF=["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 wy(e){return typeof e!="string"||e.includes("-")?!1:!!(AF.indexOf(e)>-1||/[A-Z]/u.test(e))}function UC(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const $C=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 HC(e,t,n,r){UC(e,t,void 0,r);for(const i in t.attrs)e.setAttribute($C.has(i)?i:vy(i),t.attrs[i])}const hn=e=>!!(e&&e.getVelocity),ch={};function _F(e){Object.assign(ch,e)}const Wc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bo=new Set(Wc);function WC(e,{layout:t,layoutId:n}){return bo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ch[e]||e==="opacity")}function jy(e,t,n){var r;const{style:i}=e,a={};for(const l in i)(hn(i[l])||t.style&&hn(t.style[l])||WC(l,e)||((r=n==null?void 0:n.getValue(l))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[l]=i[l]);return a}function qC(e,t,n){const r=jy(e,t,n);for(const i in e)if(hn(e[i])||hn(t[i])){const a=Wc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}function Y1(e){const t=[{},{}];
vendor: 4,296 bytes, line 459
459return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Ny(e,t,n,r){if(typeof t=="function"){const[i,a]=Y1(r);t=t(n!==void 0?n:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=Y1(r);t=t(n!==void 0?n:e.custom,i,a)}return t}const Yg=e=>Array.isArray(e),RF=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),IF=e=>Yg(e)?e[e.length-1]||0:e;function Wd(e){const t=hn(e)?e.get():e;return RF(t)?t.toValue():t}function MF({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const l={latestValues:OF(r,i,a,e),renderState:t()};return n&&(l.mount=u=>n(r,u,l)),l}const GC=e=>(t,n)=>{const r=S.useContext(Bh),i=S.useContext(Fh),a=()=>MF(e,t,r,i);return n?a():hy(a)};function OF(e,t,n,r){const i={},a=r(e,{});for(const x in a)i[x]=Wd(a[x]);let{initial:l,animate:u}=e;const d=Uh(e),h=FC(e);t&&h&&!d&&e.inherit!==!1&&(l===void 0&&(l=t.initial),u===void 0&&(u=t.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const m=p?u:l;if(m&&typeof m!="boolean"&&!Vh(m)){const x=Array.isArray(m)?m:[m];for(let y=0;y<x.length;y++){const N=Ny(e,x[y]);if(N){const{transitionEnd:w,transition:k,...b}=N;for(const E in b){let C=b[E];if(Array.isArray(C)){const T=p?C.length-1:0;C=C[T]}C!==null&&(i[E]=C)}for(const E in w)i[E]=w[E]}}}return i}const ky=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),YC=()=>({...ky(),attrs:{}}),KC=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bs=(e,t,n)=>n>t?t:n<e?e:n,Ha={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},bc={...Ha,transform:e=>bs(0,1,e)},kd={...Ha,default:1},qc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ks=qc("deg"),Gr=qc("%"),Le=qc("px"),DF=qc("vh"),LF=qc("vw"),K1={...Gr,parse:e=>Gr.parse(e)/100,transform:e=>Gr.transform(e*100)},FF={borderWidth:Le,borderTopWidth:Le,borderRightWidth:Le,borderBottomWidth:Le,borderLeftWidth:Le,borderRadius:Le,radius:Le,borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomRightRadius:Le,borderBottomLeftRadius:Le,width:Le,maxWidth:Le,height:Le,maxHeight:Le,top:Le,right:Le,bottom:Le,left:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,backgroundPositionX:Le,backgroundPositionY:Le},zF={rotate:Ks,rotateX:Ks,rotateY:Ks,rotateZ:Ks,scale:kd,scaleX:kd,scaleY:kd,scaleZ:kd,skew:Ks,skewX:Ks,skewY:Ks,distance:Le,translateX:Le,translateY:Le,translateZ:Le,x:Le,y:Le,z:Le,perspective:Le,transformPerspective:Le,opacity:bc,originX:K1,originY:K1,originZ:Le},Q1={...Ha,transform:Math.round},Sy={...FF,...zF,zIndex:Q1,size:Le,fillOpacity:bc,strokeOpacity:bc,numOctaves:Q1},BF={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VF=Wc.length;function UF(e,t,n){let r="",i=!0;for(let a=0;a<VF;a++){const l=Wc[a],u=e[l];if(u===void 0)continue;let d=!0;if(typeof u=="number"?d=u===(l.startsWith("scale")?1:0):d=parseFloat(u)===0,!d||n){const h=KC(u,Sy[l]);if(!d){i=!1;const p=BF[l]||l;r+=`${p}(${h}) `}n&&(t[l]=h)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}const QC=e=>t=>typeof t=="string"&&t.startsWith(e),XC=QC("--"),$F=QC("var(--"),Cy=e=>$F(e)?HF.test(e.split("/*")[0].trim()):!1,HF=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ey(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let l=!1,u=!1;for(const d in t){const h=t[d];if(bo.has(d)){l=!0;continue}else if(XC(d)){i[d]=h;continue}else{const p=KC(h,Sy[d]);d.startsWith("origin")?(u=!0,a[d]=p):r[d]=p}}if(t.transform||(l||n?r.transform=UF(t,e.transform,n):r.transform&&(r.transform="none")),u){const{originX:d="50%",originY:h="50%",originZ:p=0}=a;r.transformOrigin=`${d} ${h} ${p}`}}function X1(e,t,n){return typeof e=="string"?e:Le.transform(t+n*e)}function WF(e,t,n){const r=X1(t,e.x,e.width),i=X1(n,e.y,e.height);return`${r} ${i}`}const qF={offset:"stroke-dashoffset",array:"stroke-dasharray"},GF={offset:"strokeDashoffset",array:"strokeDasharray"};function YF(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?qF:GF;e[a.offset]=Le.transform(-r);const l=Le.transform(t),u=Le.transform(n);e[a.array]=`${l} ${u}`}function Py(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:l,pathSpacing:u=1,pathOffset:d=0,...h}
vendor: 25,593 bytes, line 459
459,p,m){if(Ey(e,h,m),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:x,style:y,dimensions:N}=e;x.transform&&(N&&(y.transform=x.transform),delete x.transform),N&&(i!==void 0||a!==void 0||y.transform)&&(y.transformOrigin=WF(N,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(x.x=t),n!==void 0&&(x.y=n),r!==void 0&&(x.scale=r),l!==void 0&&YF(x,l,u,d,!1)}const Ty=e=>typeof e=="string"&&e.toLowerCase()==="svg",KF={useVisualState:GC({scrapeMotionValuesFromProps:qC,createRenderState:YC,onMount:(e,t,{renderState:n,latestValues:r})=>{yt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),yt.render(()=>{Py(n,r,Ty(t.tagName),e.transformTemplate),HC(t,n)})}})},QF={useVisualState:GC({scrapeMotionValuesFromProps:jy,createRenderState:ky})};function JC(e,t,n){for(const r in t)!hn(t[r])&&!WC(r,n)&&(e[r]=t[r])}function XF({transformTemplate:e},t){return S.useMemo(()=>{const n=ky();return Ey(n,t,e),Object.assign({},n.vars,n.style)},[t])}function JF(e,t){const n=e.style||{},r={};return JC(r,n,e),Object.assign(r,XF(e,t)),r}function ZF(e,t){const n={},r=JF(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function ez(e,t,n,r){const i=S.useMemo(()=>{const a=YC();return Py(a,t,Ty(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};JC(a,e.style,e),i.style={...a,...i.style}}return i}function tz(e=!1){return(n,r,i,{latestValues:a},l)=>{const d=(wy(n)?ez:ZF)(r,a,l,n),h=xF(r,typeof n=="string",e),p=n!==S.Fragment?{...h,...d,ref:i}:{},{children:m}=r,x=S.useMemo(()=>hn(m)?m.get():m,[m]);return S.createElement(n,{...p,children:x})}}function nz(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const l={...wy(r)?KF:QF,preloadedFeatures:e,useRender:tz(i),createVisualElement:t,Component:r};return CF(l)}}function ZC(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function $h(e,t,n){const r=e.getProps();return Ny(r,t,n!==void 0?n:r.custom,e)}const rz=my(()=>window.ScrollTimeline!==void 0);class sz{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>{if(rz()&&i.attachTimeline)return i.attachTimeline(t);if(typeof n=="function")return n(i)});return()=>{r.forEach((i,a)=>{i&&i(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class iz extends sz{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Ay(e,t){return e?e[t]||e.default||e:void 0}const Kg=2e4;function e2(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Kg;)t+=n,r=e.next(t);return t>=Kg?1/0:t}function _y(e){return typeof e=="function"}function J1(e,t){e.timeline=t,e.onfinish=null}const Ry=e=>Array.isArray(e)&&typeof e[0]=="number",oz={linearEasing:void 0};function az(e,t){const n=my(e);return()=>{var r;return(r=oz[t])!==null&&r!==void 0?r:n()}}const uh=az(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),t2=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=e(Ta(0,i-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function n2(e){return!!(typeof e=="function"&&uh()||!e||typeof e=="string"&&(e in Qg||uh())||Ry(e)||Array.isArray(e)&&e.every(n2))}const Ql=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Qg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ql([0,.65,.55,1]),circOut:Ql([.55,0,1,.45]),backIn:Ql([.31,.01,.66,-.59]),backOut:Ql([.33,1.53,.69,.99])};function r2(e,t){if(e)return typeof e=="function"&&uh()?t2(e,t):Ry(e)?Ql(e):Array.isArray(e)?e.map(n=>r2(n,t)||Qg.easeOut):Qg[e]}const jr={x:!1,y:!1};function s2(){return jr.x||jr.y}function lz(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let i=document;const a=(r=void 0)!==null&&r!==void 0?r:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function i2(e,t){const n=lz(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Z1(e){return t=>{t.pointerType==="touch"||s2()||e(t)}}function cz(e,t,n={}){const[r,i,a]=i2(e,n),l=Z1(u=>{const{target:d}=u,h=t(u);if(typeof h!="function"||!d)return;const p=Z1(m=>{h(m),d.removeEventListener("pointerleave",p)});d.addEventListener("pointerleave",p,i)});return r.forEach(u=>{u.addEventListener("pointerenter",l,i)}),a}const o2=(e,t)=>t?e===t?!0:o2(e,t.parentElement):!1,Iy=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,uz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dz(e){return uz.has(e.tagName)||e.tabIndex!==-1}const Xl=new WeakSet;function ej(e){return t=>{t.key==="Enter"&&e(t)}}function Sm(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const hz=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=ej(()=>{if(Xl.has(n))return;Sm(n,"down");const i=ej(()=>{Sm(n,"up")}),a=()=>Sm(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function tj(e){return Iy(e)&&!s2()}function fz(e,t,n={}){const[r,i,a]=i2(e,n),l=u=>{const d=u.currentTarget;if(!tj(u)||Xl.has(d))return;Xl.add(d);const h=t(u),p=(y,N)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",x),!(!tj(y)||!Xl.has(d))&&(Xl.delete(d),typeof h=="function"&&h(y,{success:N}))},m=y=>{p(y,n.useGlobalTarget||o2(d,y.target))},x=y=>{p(y,!1)};window.addEventListener("pointerup",m,i),window.addEventListener("pointercancel",x,i)};return r.forEach(u=>{!dz(u)&&u.getAttribute("tabindex")===null&&(u.tabIndex=0),(n.useGlobalTarget?window:u).addEventListener("pointerdown",l,i),u.addEventListener("focus",h=>hz(h,i),i)}),a}function pz(e){return e==="x"||e==="y"?jr[e]?null:(jr[e]=!0,()=>{jr[e]=!1}):jr.x||jr.y?null:(jr.x=jr.y=!0,()=>{jr.x=jr.y=!1})}let qd;function mz(){qd=void 0}const Yr={now:()=>(qd===void 0&&Yr.set(Jt.isProcessing||dF.useManualTiming?Jt.timestamp:performance.now()),qd),set:e=>{qd=e,queueMicrotask(mz)}};function My(e,t){e.indexOf(t)===-1&&e.push(t)}function Oy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Dy{constructor(){this.subscriptions=[]}add(t){return My(this.subscriptions,t),()=>Oy(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function a2(e,t){return t?e*(1e3/t):0}const nj=30,gz=e=>!isNaN(parseFloat(e));class xz{constructor(t,n={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=Yr.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Yr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=gz(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Dy);const r=this.events[t].add(n);return t==="change"?()=>{r(),yt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Yr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>nj)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,nj);return a2(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function wc(e,t){return new xz(e,t)}function yz(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wc(n))}function vz(e,t){const n=$h(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const l in a){const u=IF(a[l]);yz(e,l,u)}}function bz(e){return!!(hn(e)&&e.add)}function Xg(e,t){const n=e.getValue("willChange");if(bz(n))return n.add(t)}function l2(e){return e.props[zC]}const c2=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,wz=1e-7,jz=12;function Nz(e,t,n,r,i){let a,l,u=0;do l=t+(n-t)/2,a=c2(l,r,i)-e,a>0?n=l:t=l;while(Math.abs(a)>wz&&++u<jz);return l}function Gc(e,t,n,r){if(e===t&&n===r)return Wn;const i=a=>Nz(a,0,1,e,n);return a=>a===0||a===1?a:c2(i(a),t,r)}const u2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,d2=e=>t=>1-e(1-t),h2=Gc(.33,1.53,.69,.99),Ly=d2(h2),f2=u2(Ly),p2=e=>(e*=2)<1?.5*Ly(e):.5*(2-Math.pow(2,-10*(e-1))),Fy=e=>1-Math.sin(Math.acos(e)),m2=d2(Fy),g2=u2(Fy),x2=e=>/^0[^.\s]+$/u.test(e);function kz(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||x2(e):!0}const y2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Sz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Cz(e){const t=Sz.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function v2(e,t,n=1){const[r,i]=Cz(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return y2(l)?parseFloat(l):l}return Cy(i)?v2(i,t,n+1):i}const Ez=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rj=e=>e===Ha||e===Le,sj=(e,t)=>parseFloat(e.split(", ")[t]),ij=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return sj(i[1],t);{const a=r.match(/^matrix\((.+)\)$/u);return a?sj(a[1],e):0}},Pz=new Set(["x","y","z"]),Tz=Wc.filter(e=>!Pz.has(e));function Az(e){const t=[];return Tz.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const _a={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ij(4,13),y:ij(5,14)};_a.translateX=_a.x;_a.translateY=_a.y;const b2=e=>t=>t.test(e),_z={test:e=>e==="auto",parse:e=>e},w2=[Ha,Le,Gr,Ks,LF,DF,_z],oj=e=>w2.find(b2(e)),ao=new Set;let Jg=!1,Zg=!1;function j2(){if(Zg){const e=Array.from(ao).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=Az(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([a,l])=>{var u;(u=r.getValue(a))===null||u===void 0||u.set(l)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Zg=!1,Jg=!1,ao.forEach(e=>e.complete()),ao.clear()}function N2(){ao.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zg=!0)})}function Rz(){N2(),j2()}class zy{constructor(t,n,r,i,a,l=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=l}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ao.add(this),Jg||(Jg=!0,yt.read(N2),yt.resolveKeyframes(j2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const l=i==null?void 0:i.get(),u=t[t.length-1];if(l!==void 0)t[0]=l;else if(r&&n){const d=r.readValue(n,u);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=u),i&&l===void 0&&i.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ao.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ao.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const oc=e=>Math.round(e*1e5)/1e5,By=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Iz(e){return e==null}const Mz=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Vy=(e,t)=>n=>!!(typeof n=="string"&&Mz.test(n)&&n.startsWith(e)||t&&!Iz(n)&&Object.prototype.hasOwnProperty.call(n,t)),k2=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,l,u]=r.match(By);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(l),alpha:u!==void 0?parseFloat(u):1}},Oz=e=>bs(0,255,e),Cm={...Ha,transform:e=>Math.round(Oz(e))},Yi={test:Vy("rgb","red"),parse:k2("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Cm.transform(e)+", "+Cm.transform(t)+", "+Cm.transform(n)+", "+oc(bc.transform(r))+")"};function Dz(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const ex={test:Vy("#"),parse:Dz,transform:Yi.transform},la={test:Vy("hsl","hue"),parse:k2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Gr.transform(oc(t))+", "+Gr.transform(oc(n))+", "+oc(bc.transform(r))+")"},dn={test:e=>Yi.test(e)||ex.test(e)||la.test(e),parse:e=>Yi.test(e)?Yi.parse(e):la.test(e)?la.parse(e):ex.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Yi.transform(e):la.transform(e)},Lz=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fz(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(By))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Lz))===null||n===void 0?void 0:n.length)||0)>0}const S2="number",C2="color",zz="var",Bz="var(",aj="${}",Vz=/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 jc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const u=t.replace(Vz,d=>(dn.test(d)?(r.color.push(a),i.push(C2),n.push(dn.parse(d))):d.startsWith(Bz)?(r.var.push(a),i.push(zz),n.push(d)):(r.number.push(a),i.push(S2),n.push(parseFloat(d))),++a,aj)).split(aj);return{values:n,split:u,indexes:r,types:i}}function E2(e){return jc(e).values}function P2(e){const{split:t,types:n}=jc(e),r=t.length;return i=>{let a="";for(let l=0;l<r;l++)if(a+=t[l],i[l]!==void 0){const u=n[l];u===S2?a+=oc(i[l]):u===C2?a+=dn.transform(i[l]):a+=i[l]}return a}}const Uz=e=>typeof e=="number"?0:e;function $z(e){const t=E2(e);return P2(e)(t.map(Uz))}const hi={test:Fz,parse:E2,createTransformer:P2,getAnimatableNone:$z},Hz=new Set(["brightness","contrast","saturate","opacity"]);function Wz(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(By)||[];if(!r)return e;const i=n.replace(r,"");let a=Hz.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const qz=/\b([a-z-]*)\(.*?\)/gu,tx={...hi,getAnimatableNone:e=>{const t=e.match(qz);return t?t.map(Wz).join(" "):e}},Gz={...Sy,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:tx,WebkitFilter:tx},Uy=e=>Gz[e];function T2(e,t){let n=Uy(e);return n!==tx&&(n=hi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Yz=new Set(["auto","none","0"]);function Kz(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!Yz.has(a)&&jc(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=T2(n,i)}class A2 extends zy{constructor(t,n,r,i,a){super(t,n,r,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let h=t[d];if(typeof h=="string"&&(h=h.trim(),Cy(h))){const p=v2(h,n.current);p!==void 0&&(t[d]=p),d===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Ez.has(r)||t.length!==2)return;const[i,a]=t,l=oj(i),u=oj(a);if(l!==u)if(rj(l)&&rj(u))for(let d=0;d<t.length;d++){const h=t[d];typeof h=="string"&&(t[d]=parseFloat(h))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)kz(t[i])&&r.push(i);r.length&&Kz(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=_a[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const a=n.getValue(r);a&&a.jump(this.measuredOrigin,!1);const l=i.length-1,u=i[l];i[l]=_a[r](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([d,h])=>{n.getValue(d).set(h)}),this.resolveNoneKeyframes()}}const lj=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(hi.test(e)||e==="0")&&!e.startsWith("url("));function Qz(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Xz(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],l=lj(i,t),u=lj(a,t);return!l||!u?!1:Qz(e)||(n==="spring"||_y(n))&&r}const Jz=e=>e!==null;function Hh(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(Jz),a=t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const Zz=40;class _2{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:l="loop",...u}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Yr.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:l,...u},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>Zz?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Rz(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Yr.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:a,delay:l,onComplete:u,onUpdate:d,isGenerator:h}=this.options;if(!h&&!Xz(t,r,i,a))if(l)this.options.duration=0;else{d==null||d(Hh(t,this.options,n)),u==null||u(),this.resolveFinishedPromise();return}const p=this.initPlayback(t,n);p!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...p},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Nt=(e,t,n)=>e+(t-e)*n;function Em(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function e8({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,l=0;if(!t)i=a=l=n;else{const u=n<.5?n*(1+t):n+t-n*t,d=2*n-u;i=Em(d,u,e+1/3),a=Em(d,u,e),l=Em(d,u,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}function dh(e,t){return n=>n>0?t:e}const Pm=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},t8=[ex,Yi,la],n8=e=>t8.find(t=>t.test(e));function cj(e){const t=n8(e);if(!t)return!1;let n=t.parse(e);return t===la&&(n=e8(n)),n}const uj=(e,t)=>{const n=cj(e),r=cj(t);if(!n||!r)return dh(e,t);const i={...n};return a=>(i.red=Pm(n.red,r.red,a),i.green=Pm(n.green,r.green,a),i.blue=Pm(n.blue,r.blue,a),i.alpha=Nt(n.alpha,r.alpha,a),Yi.transform(i))},r8=(e,t)=>n=>t(e(n)),Yc=(...e)=>e.reduce(r8),nx=new Set(["none","hidden"]);function s8(e,t){return nx.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function i8(e,t){return n=>Nt(e,t,n)}function $y(e){return typeof e=="number"?i8:typeof e=="string"?Cy(e)?dh:dn.test(e)?uj:l8:Array.isArray(e)?R2:typeof e=="object"?dn.test(e)?uj:o8:dh}function R2(e,t){const n=[...e],r=n.length,i=e.map((a,l)=>$y(a)(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=i[l](a);return n}}function o8(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=$y(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function a8(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const l=t.types[a],u=e.indexes[l][i[l]],d=(n=e.values[u])!==null&&n!==void 0?n:0;r[a]=d,i[l]++}return r}const l8=(e,t)=>{const n=hi.createTransformer(t),r=jc(e),i=jc(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?nx.has(e)&&!i.values.length||nx.has(t)&&!r.values.length?s8(e,t):Yc(R2(a8(r,i),i.values),n):dh(e,t)};function I2(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Nt(e,t,n):$y(e)(e,t)}const c8=5;function M2(e,t,n){const r=Math.max(t-c8,0);return a2(n-e(r),t-r)}const Ct={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},Tm=.001;function u8({duration:e=Ct.duration,bounce:t=Ct.bounce,velocity:n=Ct.velocity,mass:r=Ct.mass}){let i,a,l=1-t;l=bs(Ct.minDamping,Ct.maxDamping,l),e=bs(Ct.minDuration,Ct.maxDuration,ys(e)),l<1?(i=h=>{const p=h*l,m=p*e,x=p-n,y=rx(h,l),N=Math.exp(-m);return Tm-x/y*N},a=h=>{const m=h*l*e,x=m*n+n,y=Math.pow(l,2)*Math.pow(h,2)*e,N=Math.exp(-m),w=rx(Math.pow(h,2),l);return(-i(h)+Tm>0?-1:1)*((x-y)*N)/w}):(i=h=>{const p=Math.exp(-h*e),m=(h-n)*e+1;return-Tm+p*m},a=h=>{const p=Math.exp(-h*e),m=(n-h)*(e*e);return p*m});const u=5/e,d=h8(i,a,u);if(e=xs(e),isNaN(d))return{stiffness:Ct.stiffness,damping:Ct.damping,duration:e};{const h=Math.pow(d,2)*r;return{stiffness:h,damping:l*2*Math.sqrt(r*h),duration:e}}}const d8=12;function h8(e,t,n){let r=n;for(let i=1;i<d8;i++)r=r-e(r)/t(r);return r}function rx(e,t){return e*Math.sqrt(1-t*t)}const f8=["duration","bounce"],p8=["stiffness","damping","mass"];function dj(e,t){return t.some(n=>e[n]!==void 0)}function m8(e){let t={velocity:Ct.velocity,stiffness:Ct.stiffness,damping:Ct.damping,mass:Ct.mass,isResolvedFromDuration:!1,...e};if(!dj(e,p8)&&dj(e,f8))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*bs(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Ct.mass,stiffness:i,damping:a}}else{const n=u8(e);t={...t,...n,mass:Ct.mass},t.isResolvedFromDuration=!0}return t}function O2(e=Ct.visualDuration,t=Ct.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:d,damping:h,mass:p,duration:m,velocity:x,isResolvedFromDuration:y}=m8({...n,velocity:-ys(n.velocity||0)}),N=x||0,w=h/(2*Math.sqrt(d*p)),k=l-a,b=ys(Math.sqrt(d/p)),E=Math.abs(k)<5;r||(r=E?Ct.restSpeed.granular:Ct.restSpeed.default),i||(i=E?Ct.restDelta.granular:Ct.restDelta.default);let C;if(w<1){const I=rx(b,w);C=_=>{const V=Math.exp(-w*b*_);return l-V*((N+w*b*k)/I*Math.sin(I*_)+k*Math.cos(I*_))}}else if(w===1)C=I=>l-Math.exp(-b*I)*(k+(N+b*k)*I);else{const I=b*Math.sqrt(w*w-1);C=_=>{const V=Math.exp(-w*b*_),O=Math.min(I*_,300);
vendor: 5,491 bytes, line 459
459return l-V*((N+w*b*k)*Math.sinh(O)+I*k*Math.cosh(O))/I}}const T={calculatedDuration:y&&m||null,next:I=>{const _=C(I);if(y)u.done=I>=m;else{let V=0;w<1&&(V=I===0?xs(N):M2(C,I,_));const O=Math.abs(V)<=r,W=Math.abs(l-_)<=i;u.done=O&&W}return u.value=u.done?l:_,u},toString:()=>{const I=Math.min(e2(T),Kg),_=t2(V=>T.next(I*V).value,I,30);return I+"ms "+_}};return T}function hj({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:d,restDelta:h=.5,restSpeed:p}){const m=e[0],x={done:!1,value:m},y=O=>u!==void 0&&O<u||d!==void 0&&O>d,N=O=>u===void 0?d:d===void 0||Math.abs(u-O)<Math.abs(d-O)?u:d;let w=n*t;const k=m+w,b=l===void 0?k:l(k);b!==k&&(w=b-m);const E=O=>-w*Math.exp(-O/r),C=O=>b+E(O),T=O=>{const W=E(O),R=C(O);x.done=Math.abs(W)<=h,x.value=x.done?b:R};let I,_;const V=O=>{y(x.value)&&(I=O,_=O2({keyframes:[x.value,N(x.value)],velocity:M2(C,O,x.value),damping:i,stiffness:a,restDelta:h,restSpeed:p}))};return V(0),{calculatedDuration:null,next:O=>{let W=!1;return!_&&I===void 0&&(W=!0,T(O),V(O)),I!==void 0&&O>=I?_.next(O-I):(!W&&T(O),x)}}}const g8=Gc(.42,0,1,1),x8=Gc(0,0,.58,1),D2=Gc(.42,0,.58,1),y8=e=>Array.isArray(e)&&typeof e[0]!="number",v8={linear:Wn,easeIn:g8,easeInOut:D2,easeOut:x8,circIn:Fy,circInOut:g2,circOut:m2,backIn:Ly,backInOut:f2,backOut:h2,anticipate:p2},fj=e=>{if(Ry(e)){IC(e.length===4);const[t,n,r,i]=e;return Gc(t,n,r,i)}else if(typeof e=="string")return v8[e];return e};function b8(e,t,n){const r=[],i=n||I2,a=e.length-1;for(let l=0;l<a;l++){let u=i(e[l],e[l+1]);if(t){const d=Array.isArray(t)?t[l]||Wn:t;u=Yc(d,u)}r.push(u)}return r}function w8(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(IC(a===t.length),a===1)return()=>t[0];if(a===2&&e[0]===e[1])return()=>t[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=b8(t,r,i),u=l.length,d=h=>{let p=0;if(u>1)for(;p<e.length-2&&!(h<e[p+1]);p++);const m=Ta(e[p],e[p+1],h);return l[p](m)};return n?h=>d(bs(e[0],e[a-1],h)):d}function j8(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ta(0,t,r);e.push(Nt(n,1,i))}}function N8(e){const t=[0];return j8(t,e.length-1),t}function k8(e,t){return e.map(n=>n*t)}function S8(e,t){return e.map(()=>t||D2).splice(0,e.length-1)}function hh({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=y8(r)?r.map(fj):fj(r),a={done:!1,value:t[0]},l=k8(n&&n.length===t.length?n:N8(t),e),u=w8(l,t,{ease:Array.isArray(i)?i:S8(t,i)});return{calculatedDuration:e,next:d=>(a.value=u(d),a.done=d>=e,a)}}const C8=e=>{const t=({timestamp:n})=>e(n);return{start:()=>yt.update(t,!0),stop:()=>di(t),now:()=>Jt.isProcessing?Jt.timestamp:Yr.now()}},E8={decay:hj,inertia:hj,tween:hh,keyframes:hh,spring:O2},P8=e=>e/100;class Hy extends _2{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:d}=this.options;d&&d()};const{name:n,motionValue:r,element:i,keyframes:a}=this.options,l=(i==null?void 0:i.KeyframeResolver)||zy,u=(d,h)=>this.onKeyframesResolved(d,h);this.resolver=new l(a,u,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:l=0}=this.options,u=_y(n)?n:E8[n]||hh;let d,h;u!==hh&&typeof t[0]!="number"&&(d=Yc(P8,I2(t[0],t[1])),t=[0,100]);const p=u({...this.options,keyframes:t});a==="mirror"&&(h=u({...this.options,keyframes:[...t].reverse(),velocity:-l})),p.calculatedDuration===null&&(p.calculatedDuration=e2(p));const{calculatedDuration:m}=p,x=m+i,y=x*(r+1)-i;return{generator:p,mirroredGenerator:h,mapPercentToKeyframes:d,calculatedDuration:m,resolvedDuration:x,totalDuration:y}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:O}=this.options;return{done:!0,value:O[O.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:l,mapPercentToKeyframes:u,keyframes:d,calculatedDuration:h,totalDuration:p,resolvedDuration:m}=r;if(this.startTime===null)return a.next(0);const{delay:x,repeat:y,repeatType:N,repeatDelay:w,onUpdate:k}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-p/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-x*(this.speed>=0?1:-1),E=this.speed>=0?b<0:b>p;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let C=this.currentTime,T=a;if(y){const O=Math.min(this.currentTime,p)/m;let W=Math.floor(O),R=O%1;!R&&O>=1&&(R=1),R===1&&W--,W=Math.min(W,y+1),!!(W%2)&&(N==="reverse"?(R=1-R,w&&(R-=w/m)):N==="mirror"&&(T=l)),C=bs(0,1,R)*m}const I=E?{done:!1,value:d[0]}:T.next(C);u&&(I.value=u(I.value));let{done:_}=I;!E&&h!==null&&(_=this.speed>=0?this.currentTime>=p:this.currentTime<=0);const V=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&_);return V&&i!==void 0&&(I.value=Hh(d,this.options,i)),k&&k(I.value),V&&this.finish(),I}get duration(){const{resolved:t}=this;return t?ys(t.calculatedDuration):0}
vendor: 67,233 bytes, line 459
459get time(){return ys(this.currentTime)}set time(t){t=xs(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=ys(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=C8,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const T8=new Set(["opacity","clipPath","filter","transform"]);function A8(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:l="loop",ease:u="easeInOut",times:d}={}){const h={[t]:n};d&&(h.offset=d);const p=r2(u,i);return Array.isArray(p)&&(h.easing=p),e.animate(h,{delay:r,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}const _8=my(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),fh=10,R8=2e4;function I8(e){return _y(e.type)||e.type==="spring"||!n2(e.ease)}function M8(e,t){const n=new Hy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let a=0;for(;!r.done&&a<R8;)r=n.sample(a),i.push(r.value),a+=fh;return{times:void 0,keyframes:i,duration:a-fh,ease:"linear"}}const L2={anticipate:p2,backInOut:f2,circInOut:g2};function O8(e){return e in L2}class pj extends _2{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:a}=this.options;this.resolver=new A2(a,(l,u)=>this.onKeyframesResolved(l,u),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:a,ease:l,type:u,motionValue:d,name:h,startTime:p}=this.options;if(!(!((r=d.owner)===null||r===void 0)&&r.current))return!1;if(typeof l=="string"&&uh()&&O8(l)&&(l=L2[l]),I8(this.options)){const{onComplete:x,onUpdate:y,motionValue:N,element:w,...k}=this.options,b=M8(t,k);t=b.keyframes,t.length===1&&(t[1]=t[0]),i=b.duration,a=b.times,l=b.ease,u="keyframes"}const m=A8(d.owner.current,h,t,{...this.options,duration:i,times:a,ease:l});return m.startTime=p??this.calcStartTime(),this.pendingTimeline?(J1(m,this.pendingTimeline),this.pendingTimeline=void 0):m.onfinish=()=>{const{onComplete:x}=this.options;d.set(Hh(t,this.options,n)),x&&x(),this.cancel(),this.resolveFinishedPromise()},{animation:m,duration:i,times:a,type:u,ease:l,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return ys(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ys(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=xs(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Wn;const{animation:r}=n;J1(r,t)}return Wn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:a,ease:l,times:u}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:h,onUpdate:p,onComplete:m,element:x,...y}=this.options,N=new Hy({...y,keyframes:r,duration:i,type:a,ease:l,times:u,isGenerator:!0}),w=xs(this.time);h.setWithVelocity(N.sample(w-fh).value,N.sample(w).value,fh)}const{onStop:d}=this.options;d&&d(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:l,type:u}=t;return _8()&&r&&T8.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&a!=="mirror"&&l!==0&&u!=="inertia"}}const D8={type:"spring",stiffness:500,damping:25,restSpeed:10},L8=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),F8={type:"keyframes",duration:.8},z8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},B8=(e,{keyframes:t})=>t.length>2?F8:bo.has(e)?e.startsWith("scale")?L8(t[1]):D8:z8;function V8({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:l,repeatDelay:u,from:d,elapsed:h,...p}){return!!Object.keys(p).length}const Wy=(e,t,n,r={},i,a)=>l=>{const u=Ay(r,e)||{},d=u.delay||r.delay||0;let{elapsed:h=0}=r;h=h-xs(d);let p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-h,onUpdate:x=>{t.set(x),u.onUpdate&&u.onUpdate(x)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:a?void 0:i};V8(u)||(p={...p,...B8(e,p)}),p.duration&&(p.duration=xs(p.duration)),p.repeatDelay&&(p.repeatDelay=xs(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let m=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(m=!0)),m&&!a&&t.get()!==void 0){const x=Hh(p.keyframes,u);if(x!==void 0)return yt.update(()=>{p.onUpdate(x),p.onComplete()}),new iz([])}return!a&&pj.supports(p)?new pj(p):new Hy(p)};function U8({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function F2(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:l=e.getDefaultTransition(),transitionEnd:u,...d}=t;r&&(l=r);const h=[],p=i&&e.animationState&&e.animationState.getState()[i];for(const m in d){const x=e.getValue(m,(a=e.latestValues[m])!==null&&a!==void 0?a:null),y=d[m];if(y===void 0||p&&U8(p,m))continue;const N={delay:n,...Ay(l||{},m)};let w=!1;if(window.MotionHandoffAnimation){const b=l2(e);if(b){const E=window.MotionHandoffAnimation(b,m,yt);E!==null&&(N.startTime=E,w=!0)}}Xg(e,m),x.start(Wy(m,x,y,e.shouldReduceMotion&&bo.has(m)?{type:!1}:N,e,w));const k=x.animation;k&&h.push(k)}return u&&Promise.all(h).then(()=>{yt.update(()=>{u&&vz(e,u)})}),h}function sx(e,t,n={}){var r;const i=$h(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const l=i?()=>Promise.all(F2(e,i,n)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(h=0)=>{const{delayChildren:p=0,staggerChildren:m,staggerDirection:x}=a;return $8(e,t,p+h,m,x,n)}:()=>Promise.resolve(),{when:d}=a;if(d){const[h,p]=d==="beforeChildren"?[l,u]:[u,l];return h().then(()=>p())}else return Promise.all([l(),u(n.delay)])}function $8(e,t,n=0,r=0,i=1,a){const l=[],u=(e.variantChildren.size-1)*r,d=i===1?(h=0)=>h*r:(h=0)=>u-h*r;return Array.from(e.variantChildren).sort(H8).forEach((h,p)=>{h.notify("AnimationStart",t),l.push(sx(h,t,{...a,delay:n+d(p)}).then(()=>h.notify("AnimationComplete",t)))}),Promise.all(l)}function H8(e,t){return e.sortNodePosition(t)}function W8(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>sx(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=sx(e,t,n);else{const i=typeof t=="function"?$h(e,t,n.custom):t;r=Promise.all(F2(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const q8=yy.length;function z2(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?z2(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<q8;n++){const r=yy[n],i=e.props[r];(vc(i)||i===!1)&&(t[r]=i)}return t}const G8=[...xy].reverse(),Y8=xy.length;function K8(e){return t=>Promise.all(t.map(({animation:n,options:r})=>W8(e,n,r)))}function Q8(e){let t=K8(e),n=mj(),r=!0;const i=d=>(h,p)=>{var m;const x=$h(e,p,d==="exit"?(m=e.presenceContext)===null||m===void 0?void 0:m.custom:void 0);if(x){const{transition:y,transitionEnd:N,...w}=x;h={...h,...w,...N}}return h};function a(d){t=d(e)}function l(d){const{props:h}=e,p=z2(e.parent)||{},m=[],x=new Set;let y={},N=1/0;for(let k=0;k<Y8;k++){const b=G8[k],E=n[b],C=h[b]!==void 0?h[b]:p[b],T=vc(C),I=b===d?E.isActive:null;I===!1&&(N=k);let _=C===p[b]&&C!==h[b]&&T;if(_&&r&&e.manuallyAnimateOnMount&&(_=!1),E.protectedKeys={...y},!E.isActive&&I===null||!C&&!E.prevProp||Vh(C)||typeof C=="boolean")continue;const V=X8(E.prevProp,C);let O=V||b===d&&E.isActive&&!_&&T||k>N&&T,W=!1;const R=Array.isArray(C)?C:[C];let G=R.reduce(i(b),{});I===!1&&(G={});const{prevResolvedValues:B={}}=E,Q={...B,...G},Z=ie=>{O=!0,x.has(ie)&&(W=!0,x.delete(ie)),E.needsAnimating[ie]=!0;const F=e.getValue(ie);F&&(F.liveStyle=!1)};for(const ie in Q){const F=G[ie],J=B[ie];if(y.hasOwnProperty(ie))continue;let A=!1;Yg(F)&&Yg(J)?A=!ZC(F,J):A=F!==J,A?F!=null?Z(ie):x.add(ie):F!==void 0&&x.has(ie)?Z(ie):E.protectedKeys[ie]=!0}E.prevProp=C,E.prevResolvedValues=G,E.isActive&&(y={...y,...G}),r&&e.blockInitialAnimation&&(O=!1),O&&(!(_&&V)||W)&&m.push(...R.map(ie=>({animation:ie,options:{type:b}})))}if(x.size){const k={};x.forEach(b=>{const E=e.getBaseTarget(b),C=e.getValue(b);C&&(C.liveStyle=!0),k[b]=E??null}),m.push({animation:k})}let w=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(m):Promise.resolve()}function u(d,h){var p;if(n[d].isActive===h)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(x=>{var y;return(y=x.animationState)===null||y===void 0?void 0:y.setActive(d,h)}),n[d].isActive=h;const m=l(d);for(const x in n)n[x].protectedKeys={};return m}return{animateChanges:l,setActive:u,setAnimateFunction:a,getState:()=>n,reset:()=>{n=mj(),r=!0}}}function X8(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ZC(t,e):!1}function Fi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mj(){return{animate:Fi(!0),whileInView:Fi(),whileHover:Fi(),whileTap:Fi(),whileDrag:Fi(),whileFocus:Fi(),exit:Fi()}}class xi{constructor(t){this.isMounted=!1,this.node=t}update(){}}class J8 extends xi{constructor(t){super(t),t.animationState||(t.animationState=Q8(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Vh(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let Z8=0;class eB extends xi{constructor(){super(...arguments),this.id=Z8++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const tB={animation:{Feature:J8},exit:{Feature:eB}};function Nc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Kc(e){return{point:{x:e.pageX,y:e.pageY}}}const nB=e=>t=>Iy(t)&&e(t,Kc(t));function ac(e,t,n,r){return Nc(e,t,nB(n),r)}const gj=(e,t)=>Math.abs(e-t);function rB(e,t){const n=gj(e.x,t.x),r=gj(e.y,t.y);return Math.sqrt(n**2+r**2)}class B2{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!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 m=_m(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,y=rB(m.offset,{x:0,y:0})>=3;if(!x&&!y)return;const{point:N}=m,{timestamp:w}=Jt;this.history.push({...N,timestamp:w});const{onStart:k,onMove:b}=this.handlers;x||(k&&k(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,m)},this.handlePointerMove=(m,x)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=Am(x,this.transformPagePoint),yt.update(this.updatePoint,!0)},this.handlePointerUp=(m,x)=>{this.end();const{onEnd:y,onSessionEnd:N,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const k=_m(m.type==="pointercancel"?this.lastMoveEventInfo:Am(x,this.transformPagePoint),this.history);this.startEvent&&y&&y(m,k),N&&N(m,k)},!Iy(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const l=Kc(t),u=Am(l,this.transformPagePoint),{point:d}=u,{timestamp:h}=Jt;this.history=[{...d,timestamp:h}];const{onSessionStart:p}=n;p&&p(t,_m(u,this.history)),this.removeListeners=Yc(ac(this.contextWindow,"pointermove",this.handlePointerMove),ac(this.contextWindow,"pointerup",this.handlePointerUp),ac(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),di(this.updatePoint)}}function Am(e,t){return t?{point:t(e.point)}:e}function xj(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _m({point:e},t){return{point:e,delta:xj(e,V2(t)),offset:xj(e,sB(t)),velocity:iB(t,.1)}}function sB(e){return e[0]}function V2(e){return e[e.length-1]}function iB(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=V2(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>xs(t)));)n--;if(!r)return{x:0,y:0};const a=ys(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}const U2=1e-4,oB=1-U2,aB=1+U2,$2=.01,lB=0-$2,cB=0+$2;function Kn(e){return e.max-e.min}function uB(e,t,n){return Math.abs(e-t)<=n}function yj(e,t,n,r=.5){e.origin=r,e.originPoint=Nt(t.min,t.max,e.origin),e.scale=Kn(n)/Kn(t),e.translate=Nt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=oB&&e.scale<=aB||isNaN(e.scale))&&(e.scale=1),(e.translate>=lB&&e.translate<=cB||isNaN(e.translate))&&(e.translate=0)}function lc(e,t,n,r){yj(e.x,t.x,n.x,r?r.originX:void 0),yj(e.y,t.y,n.y,r?r.originY:void 0)}function vj(e,t,n){e.min=n.min+t.min,e.max=e.min+Kn(t)}function dB(e,t,n){vj(e.x,t.x,n.x),vj(e.y,t.y,n.y)}function bj(e,t,n){e.min=t.min-n.min,e.max=e.min+Kn(t)}function cc(e,t,n){bj(e.x,t.x,n.x),bj(e.y,t.y,n.y)}function hB(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Nt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Nt(n,e,r.max):Math.min(e,n)),e}function wj(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function fB(e,{top:t,left:n,bottom:r,right:i}){return{x:wj(e.x,n,i),y:wj(e.y,t,r)}}function jj(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function pB(e,t){return{x:jj(e.x,t.x),y:jj(e.y,t.y)}}function mB(e,t){let n=.5;const r=Kn(e),i=Kn(t);return i>r?n=Ta(t.min,t.max-r,e.min):r>i&&(n=Ta(e.min,e.max-i,t.min)),bs(0,1,n)}function gB(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ix=.35;function xB(e=ix){return e===!1?e=0:e===!0&&(e=ix),{x:Nj(e,"left","right"),y:Nj(e,"top","bottom")}}function Nj(e,t,n){return{min:kj(e,t),max:kj(e,n)}}function kj(e,t){return typeof e=="number"?e:e[t]||0}const Sj=()=>({translate:0,scale:1,origin:0,originPoint:0}),ca=()=>({x:Sj(),y:Sj()}),Cj=()=>({min:0,max:0}),At=()=>({x:Cj(),y:Cj()});function sr(e){return[e("x"),e("y")]}function H2({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function yB({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function vB(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Rm(e){return e===void 0||e===1}function ox({scale:e,scaleX:t,scaleY:n}){return!Rm(e)||!Rm(t)||!Rm(n)}function Ui(e){return ox(e)||W2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function W2(e){return Ej(e.x)||Ej(e.y)}function Ej(e){return e&&e!=="0%"}function ph(e,t,n){const r=e-n,i=t*r;return n+i}function Pj(e,t,n,r,i){return i!==void 0&&(e=ph(e,i,r)),ph(e,n,r)+t}function ax(e,t=0,n=1,r,i){e.min=Pj(e.min,t,n,r,i),e.max=Pj(e.max,t,n,r,i)}function q2(e,{x:t,y:n}){ax(e.x,t.translate,t.scale,t.originPoint),ax(e.y,n.translate,n.scale,n.originPoint)}const Tj=.999999999999,Aj=1.0000000000001;function bB(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,l;for(let u=0;u<i;u++){a=n[u],l=a.projectionDelta;const{visualElement:d}=a.options;d&&d.props.style&&d.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&da(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,q2(e,l)),r&&Ui(a.latestValues)&&da(e,a.latestValues))}t.x<Aj&&t.x>Tj&&(t.x=1),t.y<Aj&&t.y>Tj&&(t.y=1)}function ua(e,t){e.min=e.min+t,e.max=e.max+t}function _j(e,t,n,r,i=.5){const a=Nt(e.min,e.max,i);ax(e,t,n,a,r)}function da(e,t){_j(e.x,t.x,t.scaleX,t.scale,t.originX),_j(e.y,t.y,t.scaleY,t.scale,t.originY)}function G2(e,t){return H2(vB(e.getBoundingClientRect(),t))}function wB(e,t,n){const r=G2(e,n),{scroll:i}=t;return i&&(ua(r.x,i.offset.x),ua(r.y,i.offset.y)),r}const Y2=({current:e})=>e?e.ownerDocument.defaultView:null,jB=new WeakMap;class NB{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=At(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=p=>{const{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Kc(p).point)},a=(p,m)=>{const{drag:x,dragPropagation:y,onDragStart:N}=this.getProps();if(x&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pz(x),!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),sr(k=>{let b=this.getAxisMotionValue(k).get()||0;if(Gr.test(b)){const{projection:E}=this.visualElement;if(E&&E.layout){const C=E.layout.layoutBox[k];C&&(b=Kn(C)*(parseFloat(b)/100))}}this.originPoint[k]=b}),N&&yt.postRender(()=>N(p,m)),Xg(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},l=(p,m)=>{const{dragPropagation:x,dragDirectionLock:y,onDirectionLock:N,onDrag:w}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:k}=m;if(y&&this.currentDirection===null){this.currentDirection=kB(k),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",m.point,k),this.updateAxis("y",m.point,k),this.visualElement.render(),w&&w(p,m)},u=(p,m)=>this.stop(p,m),d=()=>sr(p=>{var m;return this.getAnimationState(p)==="paused"&&((m=this.getAxisMotionValue(p).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:h}=this.getProps();this.panSession=new B2(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,contextWindow:Y2(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&yt.postRender(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Sd(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=hB(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&aa(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=fB(i.layoutBox,n):this.constraints=!1,this.elastic=xB(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&sr(l=>{this.constraints!==!1&&this.getAxisMotionValue(l)&&(this.constraints[l]=gB(i.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!aa(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=wB(r,i.root,this.visualElement.getTransformPagePoint());let l=pB(i.layout.layoutBox,a);if(n){const u=n(yB(l));this.hasMutatedConstraints=!!u,u&&(l=H2(u))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:u}=this.getProps(),d=this.constraints||{},h=sr(p=>{if(!Sd(p,n,this.currentDirection))return;let m=d&&d[p]||{};l&&(m={min:0,max:0});const x=i?200:1e6,y=i?40:1e7,N={type:"inertia",velocity:r?t[p]:0,bounceStiffness:x,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10,...a,...m};return this.startAxisValueAnimation(p,N)});return Promise.all(h).then(u)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Xg(this.visualElement,t),r.start(Wy(t,r,0,n,this.visualElement,!1))}stopAnimation(){sr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){sr(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){sr(n=>{const{drag:r}=this.getProps();if(!Sd(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:l,max:u}=i.layout.layoutBox[n];a.set(t[n]-Nt(l,u,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!aa(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};sr(l=>{const u=this.getAxisMotionValue(l);if(u&&this.constraints!==!1){const d=u.get();i[l]=mB({min:d,max:d},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),sr(l=>{if(!Sd(l,t,null))return;const u=this.getAxisMotionValue(l),{min:d,max:h}=this.constraints[l];u.set(Nt(d,h,i[l]))})}addListeners(){if(!this.visualElement.current)return;jB.set(this.visualElement,this);const t=this.visualElement.current,n=ac(t,"pointerdown",d=>{const{drag:h,dragListener:p=!0}=this.getProps();h&&p&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();aa(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),yt.read(r);const l=Nc(window,"resize",()=>this.scalePositionWithinConstraints()),u=i.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:h})=>{this.isDragging&&h&&(sr(p=>{const m=this.getAxisMotionValue(p);m&&(this.originPoint[p]+=d[p].translate,m.set(m.get()+d[p].translate))}),this.visualElement.render())}));return()=>{l(),n(),a(),u&&u()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:l=ix,dragMomentum:u=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:l,dragMomentum:u}}}function Sd(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function kB(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class SB extends xi{constructor(t){super(t),this.removeGroupControls=Wn,this.removeListeners=Wn,this.controls=new NB(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Wn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Rj=e=>(t,n)=>{e&&yt.postRender(()=>e(t,n))};class CB extends xi{constructor(){super(...arguments),this.removePointerDownListener=Wn}onPointerDown(t){this.session=new B2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Y2(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Rj(t),onStart:Rj(n),onMove:r,onEnd:(a,l)=>{delete this.session,i&&yt.postRender(()=>i(a,l))}}}mount(){this.removePointerDownListener=ac(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function EB(){const e=S.useContext(Fh);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();S.useEffect(()=>r(i),[]);const a=S.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,a]:[!0]}const Gd={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ij(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Fl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Le.test(e))e=parseFloat(e);else return e;const n=Ij(e,t.target.x),r=Ij(e,t.target.y);return`${n}% ${r}%`}},PB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=hi.parse(e);if(i.length>5)return r;const a=hi.createTransformer(e),l=typeof i[0]!="number"?1:0,u=n.x.scale*t.x,d=n.y.scale*t.y;i[0+l]/=u,i[1+l]/=d;const h=Nt(u,d,.5);return typeof i[2+l]=="number"&&(i[2+l]/=h),typeof i[3+l]=="number"&&(i[3+l]/=h),a(i)}};class TB extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;_F(AB),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Gd.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,i||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||yt.postRender(()=>{const u=l.getStack();(!u||!u.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),by.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function K2(e){const[t,n]=EB(),r=S.useContext(py);return s.jsx(TB,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(BC),isPresent:t,safeToRemove:n})}const AB={borderRadius:{...Fl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fl,borderTopRightRadius:Fl,borderBottomLeftRadius:Fl,borderBottomRightRadius:Fl,boxShadow:PB};function _B(e,t,n){const r=hn(e)?e:wc(e);return r.start(Wy("",r,t,n)),r.animation}function RB(e){return e instanceof SVGElement&&e.tagName!=="svg"}const IB=(e,t)=>e.depth-t.depth;class MB{constructor(){this.children=[],this.isDirty=!1}add(t){My(this.children,t),this.isDirty=!0}remove(t){Oy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(IB),this.isDirty=!1,this.children.forEach(t)}}function OB(e,t){const n=Yr.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(di(r),e(a-t))};return yt.read(r,!0),()=>di(r)}const Q2=["TopLeft","TopRight","BottomLeft","BottomRight"],DB=Q2.length,Mj=e=>typeof e=="string"?parseFloat(e):e,Oj=e=>typeof e=="number"||Le.test(e);function LB(e,t,n,r,i,a){i?(e.opacity=Nt(0,n.opacity!==void 0?n.opacity:1,FB(r)),e.opacityExit=Nt(t.opacity!==void 0?t.opacity:1,0,zB(r))):a&&(e.opacity=Nt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<DB;l++){const u=`border${Q2[l]}Radius`;let d=Dj(t,u),h=Dj(n,u);if(d===void 0&&h===void 0)continue;d||(d=0),h||(h=0),d===0||h===0||Oj(d)===Oj(h)?(e[u]=Math.max(Nt(Mj(d),Mj(h),r),0),(Gr.test(h)||Gr.test(d))&&(e[u]+="%")):e[u]=h}(t.rotate||n.rotate)&&(e.rotate=Nt(t.rotate||0,n.rotate||0,r))}function Dj(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const FB=X2(0,.5,m2),zB=X2(.5,.95,Wn);function X2(e,t,n){return r=>r<e?0:r>t?1:n(Ta(e,t,r))}function Lj(e,t){e.min=t.min,e.max=t.max}function rr(e,t){Lj(e.x,t.x),Lj(e.y,t.y)}function Fj(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function zj(e,t,n,r,i){return e-=t,e=ph(e,1/n,r),i!==void 0&&(e=ph(e,1/i,r)),e}function BB(e,t=0,n=1,r=.5,i,a=e,l=e){if(Gr.test(t)&&(t=parseFloat(t),t=Nt(l.min,l.max,t/100)-l.min),typeof t!="number")return;let u=Nt(a.min,a.max,r);e===a&&(u-=t),e.min=zj(e.min,t,n,u,i),e.max=zj(e.max,t,n,u,i)}function Bj(e,t,[n,r,i],a,l){BB(e,t[n],t[r],t[i],t.scale,a,l)}const VB=["x","scaleX","originX"],UB=["y","scaleY","originY"];function Vj(e,t,n,r){Bj(e.x,t,VB,n?n.x:void 0,r?r.x:void 0),Bj(e.y,t,UB,n?n.y:void 0,r?r.y:void 0)}function Uj(e){return e.translate===0&&e.scale===1}function J2(e){return Uj(e.x)&&Uj(e.y)}function $j(e,t){return e.min===t.min&&e.max===t.max}function $B(e,t){return $j(e.x,t.x)&&$j(e.y,t.y)}function Hj(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Z2(e,t){return Hj(e.x,t.x)&&Hj(e.y,t.y)}function Wj(e){return Kn(e.x)/Kn(e.y)}function qj(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class HB{constructor(){this.members=[]}add(t){My(this.members,t),t.scheduleRender()}remove(t){if(Oy(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function WB(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y,l=(n==null?void 0:n.z)||0;if((i||a||l)&&(r=`translate3d(${i}px, ${a}px, ${l}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:p,rotateX:m,rotateY:x,skewX:y,skewY:N}=n;h&&(r=`perspective(${h}px) ${r}`),p&&(r+=`rotate(${p}deg) `),m&&(r+=`rotateX(${m}deg) `),x&&(r+=`rotateY(${x}deg) `),y&&(r+=`skewX(${y}deg) `),N&&(r+=`skewY(${N}deg) `)}const u=e.x.scale*t.x,d=e.y.scale*t.y;return(u!==1||d!==1)&&(r+=`scale(${u}, ${d})`),r||"none"}const $i={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Jl=typeof window<"u"&&window.MotionDebug!==void 0,Im=["","X","Y","Z"],qB={visibility:"hidden"},Gj=1e3;let GB=0;function Mm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function eE(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=l2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",yt,!(i||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&eE(r)}function tE({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(l={},u=t==null?void 0:t()){this.id=GB++,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,Jl&&($i.totalNodes=$i.resolvedTargetDeltas=$i.recalculatedProjection=0),this.nodes.forEach(QB),this.nodes.forEach(tV),this.nodes.forEach(nV),this.nodes.forEach(XB),Jl&&window.MotionDebug.record($i)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new MB)}addEventListener(l,u){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Dy),this.eventHandlers.get(l).add(u)}notifyListeners(l,...u){const d=this.eventHandlers.get(l);d&&d.notify(...u)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,u=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=RB(l),this.instance=l;const{layoutId:d,layout:h,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),u&&(h||d)&&(this.isLayoutDirty=!0),e){let m;const x=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=OB(x,250),Gd.hasAnimatedSinceResize&&(Gd.hasAnimatedSinceResize=!1,this.nodes.forEach(Kj))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||h)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:x,hasRelativeTargetChanged:y,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||p.getDefaultTransition()||aV,{onLayoutAnimationStart:k,onLayoutAnimationComplete:b}=p.getProps(),E=!this.targetLayout||!Z2(this.targetLayout,N)||y,C=!x&&y;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||C||x&&(E||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,C);const T={...Ay(w,"layout"),onPlay:k,onComplete:b};(p.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else x||Kj(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,di(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(rV),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&eE(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const m=this.path[p];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:u,layout:d}=this.options;if(u===void 0&&!d)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Yj);return}this.isUpdating||this.nodes.forEach(ZB),this.isUpdating=!1,this.nodes.forEach(eV),this.nodes.forEach(YB),this.nodes.forEach(KB),this.clearAllSnapshots();const u=Yr.now();Jt.delta=bs(0,1e3/60,u-Jt.timestamp),Jt.timestamp=u,Jt.isProcessing=!0,km.update.process(Jt),km.preRender.process(Jt),km.render.process(Jt),Jt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,by.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(JB),this.sharedNodes.forEach(sV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,yt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){yt.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 d=0;d<this.path.length;d++)this.path[d].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=At(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:u}=this.options;u&&u.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let u=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(u=!1),u){const d=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:d,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!i)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&&!J2(this.projectionDelta),d=this.getTransformTemplate(),h=d?d(this.latestValues,""):void 0,p=h!==this.prevTransformTemplateValue;l&&(u||Ui(this.latestValues)||p)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const u=this.measurePageBox();let d=this.removeElementScroll(u);return l&&(d=this.removeTransform(d)),lV(d),{animationId:this.root.animationId,measuredBox:u,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var l;const{visualElement:u}=this.options;if(!u)return At();const d=u.measureViewportBox();if(!(((l=this.scroll)===null||l===void 0?void 0:l.wasRoot)||this.path.some(cV))){const{scroll:p}=this.root;p&&(ua(d.x,p.offset.x),ua(d.y,p.offset.y))}return d}removeElementScroll(l){var u;const d=At();if(rr(d,l),!((u=this.scroll)===null||u===void 0)&&u.wasRoot)return d;for(let h=0;h<this.path.length;h++){const p=this.path[h],{scroll:m,options:x}=p;p!==this.root&&m&&x.layoutScroll&&(m.wasRoot&&rr(d,l),ua(d.x,m.offset.x),ua(d.y,m.offset.y))}return d}applyTransform(l,u=!1){const d=At();rr(d,l);for(let h=0;h<this.path.length;h++){const p=this.path[h];!u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&da(d,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Ui(p.latestValues)&&da(d,p.latestValues)}return Ui(this.latestValues)&&da(d,this.latestValues),d}removeTransform(l){const u=At();rr(u,l);for(let d=0;d<this.path.length;d++){const h=this.path[d];if(!h.instance||!Ui(h.latestValues))continue;ox(h.latestValues)&&h.updateSnapshot();const p=At(),m=h.measurePageBox();rr(p,m),Vj(u,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,p)}return Ui(this.latestValues)&&Vj(u,this.latestValues),u}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.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!==Jt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var u;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==d;if(!(l||h&&this.isSharedProjectionDirty||this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:m,layoutId:x}=this.options;if(!(!this.layout||!(m||x))){if(this.resolvedRelativeTargetAt=Jt.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=At(),this.relativeTargetOrigin=At(),cc(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),rr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=At(),this.targetWithTransforms=At()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dB(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rr(this.target,this.layout.layoutBox),q2(this.target,this.targetDelta)):rr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=At(),this.relativeTargetOrigin=At(),cc(this.relativeTargetOrigin,this.target,y.target),rr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Jl&&$i.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ox(this.parent.latestValues)||W2(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 l;const u=this.getLead(),d=!!this.resumingFrom||this!==u;let h=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(h=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Jt.timestamp&&(h=!1),h)return;const{layout:p,layoutId:m}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||m))return;rr(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,y=this.treeScale.y;bB(this.layoutCorrected,this.treeScale,this.path,d),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=At());const{target:N}=u;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fj(this.prevProjectionDelta.x,this.projectionDelta.x),Fj(this.prevProjectionDelta.y,this.projectionDelta.y)),lc(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==y||!qj(this.projectionDelta.x,this.prevProjectionDelta.x)||!qj(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N)),Jl&&$i.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){var u;if((u=this.options.visualElement)===null||u===void 0||u.scheduleRender(),l){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ca(),this.projectionDelta=ca(),this.projectionDeltaWithTransform=ca()}setAnimationOrigin(l,u=!1){const d=this.snapshot,h=d?d.latestValues:{},p={...this.latestValues},m=ca();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const x=At(),y=d?d.source:void 0,N=this.layout?this.layout.source:void 0,w=y!==N,k=this.getStack(),b=!k||k.members.length<=1,E=!!(w&&!b&&this.options.crossfade===!0&&!this.path.some(oV));this.animationProgress=0;let C;this.mixTargetDelta=T=>{const I=T/1e3;Qj(m.x,l.x,I),Qj(m.y,l.y,I),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cc(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),iV(this.relativeTarget,this.relativeTargetOrigin,x,I),C&&$B(this.relativeTarget,C)&&(this.isProjectionDirty=!1),C||(C=At()),rr(C,this.relativeTarget)),w&&(this.animationValues=p,LB(p,h,this.latestValues,I,E,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(di(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=yt.update(()=>{Gd.hasAnimatedSinceResize=!0,this.currentAnimation=_B(0,Gj,{...l,onUpdate:u=>{this.mixTargetDelta(u),l.onUpdate&&l.onUpdate(u)},onComplete:()=>{l.onComplete&&l.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 l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Gj),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:u,target:d,layout:h,latestValues:p}=l;if(!(!u||!d||!h)){if(this!==l&&this.layout&&h&&nE(this.options.animationType,this.layout.layoutBox,h.layoutBox)){d=this.target||At();const m=Kn(this.layout.layoutBox.x);d.x.min=l.target.x.min,d.x.max=d.x.min+m;const x=Kn(this.layout.layoutBox.y);d.y.min=l.target.y.min,d.y.max=d.y.min+x}rr(u,d),da(u,p),lc(this.projectionDeltaWithTransform,this.layoutCorrected,u,p)}}registerSharedNode(l,u){this.sharedNodes.has(l)||this.sharedNodes.set(l,new HB),this.sharedNodes.get(l).add(u);const h=u.options.initialPromotionConfig;u.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(u):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:u}=this.options;return u?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:u}=this.options;return u?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:u,preserveFollowOpacity:d}={}){const h=this.getStack();h&&h.promote(this,d),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let u=!1;const{latestValues:d}=l;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(u=!0),!u)return;const h={};d.z&&Mm("z",l,h,this.animationValues);for(let p=0;p<Im.length;p++)Mm(`rotate${Im[p]}`,l,h,this.animationValues),Mm(`skew${Im[p]}`,l,h,this.animationValues);l.render();for(const p in h)l.setStaticValue(p,h[p]),this.animationValues&&(this.animationValues[p]=h[p]);l.scheduleRender()}getProjectionStyles(l){var u,d;if(!this.instance||this.isSVG)return;if(!this.isVisible)return qB;const h={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=Wd(l==null?void 0:l.pointerEvents)||"",h.transform=p?p(this.latestValues,""):"none",h;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const w={};return this.options.layoutId&&(w.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,w.pointerEvents=Wd(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Ui(this.latestValues)&&(w.transform=p?p({},""):"none",this.hasProjected=!1),w}const x=m.animationValues||m.latestValues;this.applyTransformsToTarget(),h.transform=WB(this.projectionDeltaWithTransform,this.treeScale,x),p&&(h.transform=p(x,h.transform));const{x:y,y:N}=this.projectionDelta;h.transformOrigin=`${y.origin*100}% ${N.origin*100}% 0`,m.animationValues?h.opacity=m===this?(d=(u=x.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:h.opacity=m===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const w in ch){if(x[w]===void 0)continue;const{correct:k,applyTo:b}=ch[w],E=h.transform==="none"?x[w]:k(x[w],m);if(b){const C=b.length;for(let T=0;T<C;T++)h[b[T]]=E}else h[w]=E}return this.options.layoutId&&(h.pointerEvents=m===this?Wd(l==null?void 0:l.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var u;return(u=l.currentAnimation)===null||u===void 0?void 0:u.stop()}),this.root.nodes.forEach(Yj),this.root.sharedNodes.clear()}}}function YB(e){e.updateLayout()}function KB(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?sr(m=>{const x=l?n.measuredBox[m]:n.layoutBox[m],y=Kn(x);x.min=r[m].min,x.max=x.min+y}):nE(a,n.layoutBox,r)&&sr(m=>{const x=l?n.measuredBox[m]:n.layoutBox[m],y=Kn(r[m]);x.max=x.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[m].max=e.relativeTarget[m].min+y)});const u=ca();lc(u,r,n.layoutBox);const d=ca();l?lc(d,e.applyTransform(i,!0),n.measuredBox):lc(d,r,n.layoutBox);const h=!J2(u);let p=!1;if(!e.resumeFrom){const m=e.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:x,layout:y}=m;if(x&&y){const N=At();cc(N,n.layoutBox,x.layoutBox);const w=At();cc(w,r,y.layoutBox),Z2(N,w)||(p=!0),m.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=N,e.relativeParent=m)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:u,hasLayoutChanged:h,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function QB(e){Jl&&$i.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function XB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function JB(e){e.clearSnapshot()}function Yj(e){e.clearMeasurements()}function ZB(e){e.isLayoutDirty=!1}function eV(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Kj(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function tV(e){e.resolveTargetDelta()}function nV(e){e.calcProjection()}function rV(e){e.resetSkewAndRotation()}function sV(e){e.removeLeadSnapshot()}function Qj(e,t,n){e.translate=Nt(t.translate,0,n),e.scale=Nt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Xj(e,t,n,r){e.min=Nt(t.min,n.min,r),e.max=Nt(t.max,n.max,r)}function iV(e,t,n,r){Xj(e.x,t.x,n.x,r),Xj(e.y,t.y,n.y,r)}function oV(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const aV={duration:.45,ease:[.4,0,.1,1]},Jj=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Zj=Jj("applewebkit/")&&!Jj("chrome/")?Math.round:Wn;function eN(e){e.min=Zj(e.min),e.max=Zj(e.max)}function lV(e){eN(e.x),eN(e.y)}function nE(e,t,n){return e==="position"||e==="preserve-aspect"&&!uB(Wj(t),Wj(n),.2)}function cV(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const uV=tE({attachResizeListener:(e,t)=>Nc(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Om={current:void 0},rE=tE({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Om.current){const e=new uV({});e.mount(window),e.setOptions({layoutScroll:!0}),Om.current=e}return Om.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),dV={pan:{Feature:CB},drag:{Feature:SB,ProjectionNode:rE,MeasureLayout:K2}};function tN(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,a=r[i];a&&yt.postRender(()=>a(t,Kc(t)))}class hV extends xi{mount(){const{current:t}=this.node;t&&(this.unmount=cz(t,n=>(tN(this.node,n,"Start"),r=>tN(this.node,r,"End"))))}unmount(){}}class fV extends xi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yc(Nc(this.node.current,"focus",()=>this.onFocus()),Nc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nN(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),a=r[i];a&&yt.postRender(()=>a(t,Kc(t)))}class pV extends xi{mount(){const{current:t}=this.node;t&&(this.unmount=fz(t,n=>(nN(this.node,n,"Start"),(r,{success:i})=>nN(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const lx=new WeakMap,Dm=new WeakMap,mV=e=>{const t=lx.get(e.target);t&&t(e)},gV=e=>{e.forEach(mV)};function xV({root:e,...t}){const n=e||document;Dm.has(n)||Dm.set(n,{});const r=Dm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(gV,{root:e,...t})),r[i]}function yV(e,t,n){const r=xV(t);return lx.set(e,n),r.observe(e),()=>{lx.delete(e),r.unobserve(e)}}const vV={some:0,all:1};class bV extends xi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:vV[i]},u=d=>{const{isIntersecting:h}=d;if(this.isInView===h||(this.isInView=h,a&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:p,onViewportLeave:m}=this.node.getProps(),x=h?p:m;x&&x(d)};return yV(this.node.current,l,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(wV(t,n))&&this.startObserver()}unmount(){}}function wV({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const jV={inView:{Feature:bV},tap:{Feature:pV},focus:{Feature:fV},hover:{Feature:hV}},NV={layout:{ProjectionNode:rE,MeasureLayout:K2}},cx={current:null},sE={current:!1};function kV(){if(sE.current=!0,!!gy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cx.current=e.matches;e.addListener(t),t()}else cx.current=!1}function SV(e,t,n){for(const r in t){const i=t[r],a=n[r];if(hn(i))e.addValue(r,i);else if(hn(a))e.addValue(r,wc(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const l=e.getValue(r);l.liveStyle===!0?l.jump(i):l.hasAnimated||l.set(i)}else{const l=e.getStaticValue(r);e.addValue(r,wc(l!==void 0?l:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const rN=new WeakMap,CV=[...w2,dn,hi],EV=e=>CV.find(b2(e)),sN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class PV{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=zy,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 x=Yr.now();this.renderScheduledAt<x&&(this.renderScheduledAt=x,yt.render(this.render,!1,!0))};const{latestValues:d,renderState:h}=l;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=u,this.blockInitialAnimation=!!a,this.isControllingVariants=Uh(n),this.isVariantNode=FC(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(const x in m){const y=m[x];d[x]!==void 0&&hn(y)&&y.set(d[x],!1)}}mount(t){this.current=t,rN.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),sE.current||kV(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cx.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){rN.delete(this.current),this.projection&&this.projection.unmount(),di(this.notifyUpdate),di(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=bo.has(t),i=n.on("change",u=>{this.latestValues[t]=u,this.props.onUpdate&&yt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);let l;window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a(),l&&l(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Aa){const n=Aa[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):At()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<sN.length;r++){const i=sN[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,l=t[a];l&&(this.propEventSubscriptions[i]=this.on(i,l))}this.prevMotionValues=SV(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=wc(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(y2(i)||x2(i))?i=parseFloat(i):!EV(i)&&hi.test(n)&&(i=T2(t,n)),this.setBaseTarget(t,hn(i)?i.get():i)),hn(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const l=Ny(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);l&&(i=l[t])}if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!hn(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Dy),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class iE extends PV{constructor(){super(...arguments),this.KeyframeResolver=A2}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;hn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function TV(e){return window.getComputedStyle(e)}class AV extends iE{constructor(){super(...arguments),this.type="html",this.renderInstance=UC}readValueFromInstance(t,n){if(bo.has(n)){const r=Uy(n);return r&&r.default||0}else{const r=TV(t),i=(XC(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return G2(t,n)}build(t,n,r){Ey(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return jy(t,n,r)}}class _V extends iE{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=At}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(bo.has(n)){const r=Uy(n);return r&&r.default||0}return n=$C.has(n)?n:vy(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return qC(t,n,r)}build(t,n,r){Py(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){HC(t,n,r,i)}mount(t){this.isSVGTag=Ty(t.tagName),super.mount(t)}}const RV=(e,t)=>wy(e)?new _V(t):new AV(t,{allowProjection:e!==S.Fragment}),IV=nz({...tB,...jV,...dV,...NV},RV),q=yF(IV);function iN(e,t){if(typeof e=="function")return e(t);
vendor: 4,746 bytes, line 459
459e!=null&&(e.current=t)}function Wh(...e){return t=>{let n=!1;const r=e.map(i=>{const a=iN(i,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let i=0;i<r.length;i++){const a=r[i];typeof a=="function"?a():iN(e[i],null)}}}}function pt(...e){return S.useCallback(Wh(...e),e)}function Ra(e){const t=OV(e),n=S.forwardRef((r,i)=>{const{children:a,...l}=r,u=S.Children.toArray(a),d=u.find(LV);if(d){const h=d.props.children,p=u.map(m=>m===d?S.Children.count(h)>1?S.Children.only(null):S.isValidElement(h)?h.props.children:null:m);return s.jsx(t,{...l,ref:i,children:S.isValidElement(h)?S.cloneElement(h,void 0,p):null})}return s.jsx(t,{...l,ref:i,children:a})});return n.displayName=`${e}.Slot`,n}var MV=Ra("Slot");function OV(e){const t=S.forwardRef((n,r)=>{const{children:i,...a}=n;if(S.isValidElement(i)){const l=zV(i),u=FV(a,i.props);return i.type!==S.Fragment&&(u.ref=r?Wh(r,l):l),S.cloneElement(i,u)}return S.Children.count(i)>1?S.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DV=Symbol("radix.slottable");function LV(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DV}function FV(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...u)=>{const d=a(...u);return i(...u),d}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function zV(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const BV=Fx("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Se=S.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>{const l=r?MV:"button";return s.jsx(l,{className:He(BV({variant:t,size:n,className:e})),ref:a,...i})});Se.displayName="Button";const Te=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Te.displayName="Card";const tn=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("flex flex-col space-y-1.5 p-6",e),...t}));tn.displayName="CardHeader";const nn=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("font-semibold leading-none tracking-tight",e),...t}));nn.displayName="CardTitle";const wn=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("text-sm text-muted-foreground",e),...t}));wn.displayName="CardDescription";const Ue=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("p-6 pt-0",e),...t}));Ue.displayName="CardContent";const VV=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{ref:n,className:He("flex items-center p-6 pt-0",e),...t}));VV.displayName="CardFooter";const UV=Fx("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Dt({className:e,variant:t,...n}){return s.jsx("div",{className:He(UV({variant:t}),e),...n})}const $V="https://chat.whatsapp.com/Hx9DgWPdiHjCqAW1GTWC5f";function qh({className:e=""}){return s.jsxs("div",{className:`rounded-2xl p-8 md:p-10 text-center bg-[#EEF3FF] ${e}`,style:{fontFamily:"'DM Sans', sans-serif"},children:[s.jsx("div",{className:"flex justify-center mb-5",children:s.jsx("div",{className:"w-14 h-14 roun
459ded-full flex items-center justify-center bg-[#00C2A8]",children:s.jsx(Ux,{className:"w-7 h-7 text-white"})})}),s.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-3",children:"Join Clyn Host Circle"}),s.jsx("p",{className:"text-gray-600 max-w-xl mx-auto mb-6 leading-relaxed",children:"A free WhatsApp community where Airbnb and short term rental hosts swap tips on cleaners, turnovers, reviews and guest damage."}),s.jsx("a",{href:$V,target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-[#1E5BFF] hover:bg-[#1A4FE0] text-white px-8 py-3 font-semibold shadow-md hover:shadow-lg transition-all duration-300",children:"Join on WhatsApp"})})]})}function HV(){const e=[{icon:Yn,title:"Manual Cleaner Coordination",description:"Endless calls and texts to manage multiple cleaning crews across properties"},{icon:vo,title:"Inconsistent Turnovers",description:"Missing items, incomplete cleans, and last-minute surprises that upset hosts"},{icon:so,title:"Endless Communication Overhead",description:"Constantly updating hosts, managing crew schedules, and handling complaints"},{icon:oi,title:"Ambiguous Damage Disputes",description:"He-said-she-said arguments with no clear evidence when issues arise"}],t=[{icon:he,title:"Automated Assignment & Scheduling",description:"Smart crew matching and automatic scheduling based on availability and location"},{icon:ui,title:"AI-Powered Checklist Adherence",description:"Photo verification ensures every task is completed to your standards"},{icon:so,title:"Streamlined Host & Crew Messaging",description:"Automated updates keep everyone informed without your constant involvement"},{icon:Ea,title:"Crystal-Clear AI Damage Reports",description:"Photo evidence and AI analysis provide indisputable documentation"}],n=[{icon:vs,title:"Automated Turnovers",description:"Never worry about a missed detail again. Clyn generates AI-ready checklists from any document you upload, ensuring every cleaning is perfect.",color:"from-blue-500 to-cyan-500"},{icon:Ea,title:"Instant Damage Reports",description:"Receive AI-analyzed reports on damages and missing items directly from your cleaning crew. Clear evidence for every claim.",color:"from-blue-600 to-teal-500"},{icon:so,title:"Effortless Communication",description:"Our AI agent handles routine communications with your cleaning crews and hosts, freeing up your time.",color:"from-blue-600 to-teal-500"},{icon:ui,title:"Seamless PMS Integration",description:"Connect your Airbnb and other PMS accounts instantly. Clyn syncs your bookings and schedules turnovers automatically.",color:"from-blue-600 to-teal-500"}];return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn for Airbnb Co Hosts"}),s.jsx("meta",{name:"description",content:"Clyn helps Airbnb co hosts verify every turnover with photo based AI checks, so listings stay guest ready without an in person inspection."}),s.jsx("meta",{property:"og:title",content:"Clyn for Airbnb Co Hosts"}),s.jsx("meta",{property:"og:description",content:"Clyn helps Airbnb co hosts verify every turnover with photo based AI checks, so listings stay guest ready without an in person inspection."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/AirbnbCoHosts"})]}),s.jsx("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 to-blue-50 py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center lg:text-left",children:[s.jsxs(q.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2},className:"inline-flex items-center px-4 py-2 rounded-full bg-blue-50 text-blue-700 text-sm font-medium mb-8",children:[s.jsx(ur,{className:"w-4 h-4 mr-2"}),"For Airbnb Co-Hosts"]}),s.jsxs("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:["Seamlessly Manage Your"," ",s.jsx("span",{className:"text-blue-600",children:"Co Hosting"})," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Business"})]}),s.jsx("p",{className:"text-xl text-gray-600 leading-relaxed mb-8",children:"Clyn is designed to empower professional co-h
459osts like you. Our AI-powered platform automates tedious tasks, from turnovers to communication, so you can delight your hosts and grow your business."}),s.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start mb-8",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",children:"Get Started"})})}),s.jsxs("div",{className:"grid grid-cols-2 gap-6 mt-8",children:[s.jsxs("div",{className:"text-center lg:text-left",children:[s.jsx("div",{className:"text-2xl font-bold text-gray-900",children:"15+ hrs"}),s.jsx("div",{className:"text-gray-600",children:"Saved per week"})]}),s.jsxs("div",{className:"text-center lg:text-left",children:[s.jsx("div",{className:"text-2xl font-bold text-gray-900",children:"95%"}),s.jsx("div",{className:"text-gray-600",children:"Host satisfaction"})]})]})]}),s.jsxs(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.3},className:"relative",children:[s.jsx("img",{src:"https://images.unsplash.com/photo-1560472355-536de3962603?w=800&auto=format&fit=crop",alt:"Professional co-host managing properties efficiently",className:"rounded-2xl shadow-2xl w-full h-auto object-cover"}),s.jsxs(q.div,{className:"absolute top-4 right-4 bg-white p-4 rounded-lg shadow-2xl flex items-center gap-3",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.2,duration:.5},children:[s.jsx("div",{className:"w-10 h-10 bg-gradient-to-r from-blue-600 to-teal-500 rounded-full flex items-center justify-center",children:s.jsx(ur,{className:"w-5 h-5 text-white fill-current"})}),s.jsxs("div",{children:[s.jsx("div",{className:"font-bold text-gray-900",children:"Superhost"}),s.jsx("div",{className:"text-sm text-gray-500",children:"Status Maintained"})]})]})]})]})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"Stop Struggling. Start Scaling."}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Transform your co-hosting challenges into competitive advantages"})]}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-16",children:[s.jsxs(q.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("h3",{className:"text-2xl font-bold text-gray-900 mb-8 flex items-center gap-3",children:[s.jsx(eh,{className:"w-6 h-6 text-red-500"}),"Common Co-Host Struggles"]}),s.jsx("div",{className:"space-y-6",children:e.map((r,i)=>s.jsxs("div",{className:"flex items-start gap-4 p-4 bg-red-50 rounded-lg border-l-4 border-red-400",children:[s.jsx(r.icon,{className:"w-6 h-6 text-red-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:r.title}),s.jsx("p",{className:"text-gray-600",children:r.description})]})]},i))})]}),s.jsxs(q.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:[s.jsxs("h3",{className:"text-2xl font-bold text-gray-900 mb-8 flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500"}),"How Clyn Solves Each Problem"]}),s.jsx("div",{className:"space-y-6",children:t.map((r,i)=>s.jsxs("div",{className:"flex items-start gap-4 p-4 bg-green-50 rounded-lg border-l-4 border-green-400",children:[s.jsx(r.icon,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:r.title}),s.jsx("p",{className:"text-gray-600",children:r.description})]})]},i))})]})]})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"Built for Co-Host Success"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Features designed specifically for professional co-h
459osts who manage multiple properties"})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:n.map((r,i)=>s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:i*.1},children:s.jsx(Te,{className:"h-full bg-white border-0 shadow-lg hover:shadow-xl transition-all duration-300",children:s.jsxs(Ue,{className:"p-8",children:[s.jsx("div",{className:`w-16 h-16 rounded-2xl bg-gradient-to-r ${r.color} flex items-center justify-center mb-6`,children:s.jsx(r.icon,{className:"w-8 h-8 text-white"})}),s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:r.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:r.description})]})})},i))})]})}),s.jsx("section",{className:"py-16 bg-gradient-to-r from-blue-600 to-teal-500 text-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center",children:[s.jsxs("div",{className:"flex justify-center items-center gap-4 mb-6",children:[s.jsx("div",{className:"w-12 h-12 bg-white rounded-full flex items-center justify-center",children:s.jsx(ur,{className:"w-6 h-6 text-blue-600 fill-current"})}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold",children:"Clyn, Your Essential Partner for Airbnb Co-Hosting Success"})]}),s.jsx("p",{className:"text-xl text-blue-100 max-w-3xl mx-auto leading-relaxed",children:"As the co-hosting landscape evolves, Clyn provides the professional tools you need to excel. We understand the unique challenges and opportunities for Airbnb co-hosts and are perfectly aligned to help you thrive in this growing market."})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx(qh,{className:"max-w-2xl mx-auto"})})}),s.jsx("section",{className:"py-24 bg-gray-900 text-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold mb-8",children:"Ready to Scale Your Co-Hosting Business?"}),s.jsx("p",{className:"text-xl text-gray-300 max-w-3xl mx-auto mb-12",children:"Join the pilot program and discover how Clyn can transform your co-hosting operations. Limited spots available."}),s.jsx("div",{className:"flex flex-wrap justify-center gap-6 mb-12",children:["Setup in 60 seconds","Free pilot access","Save 15+ hours per week","Maintain Superhost status"].map((r,i)=>s.jsxs("div",{className:"flex items-center gap-2 bg-white/10 backdrop-blur-sm px-4 py-2 rounded-full",children:[s.jsx(he,{className:"w-5 h-5 text-green-400"}),s.jsx("span",{className:"text-white font-medium",children:r})]},i))}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-12 py-6 text-xl font-bold shadow-2xl hover:shadow-3xl transition-all duration-300 rounded-full group",children:["Get Started",s.jsx(qt,{className:"w-6 h-6 ml-3 group-hover:translate-x-1 transition-transform duration-300"})]})}),s.jsx("p",{className:"text-gray-400 mt-6",children:"No credit card required"})]})})})]})}function xt(e){return"/"+e.replace(/ /g,"-")}var Lm={};const WV=d4(JL);var oN;function qV(){if(oN)return Lm;oN=1;const{createClient:e}=WV;return Lm.base44=e({appId:"6887ee5a7c2ec1c9feee474b",serverUrl:"https://base44.app"}),Lm}var Fm,aN;function GV(){if(aN)return Fm;aN=1;const{base44:e}=qV();return Fm=new Proxy({},{get:(t,n)=>new Proxy({},{get:(r,i)=>{if(n==="User"){if(i==="me")return e.auth.me;if(i==="loginWithRedirect"||i==="login")return e.auth.loginWithRedirect;if(i==="logout")return e.auth.logout;if(i==="updateMyUserData")return e.auth.updateMe}return e.entities[n][i]}})}),Fm}var YV=GV();function Ar(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function fo(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const oE=6048e5,KV=864e5;let QV={};function Gh(){return QV}function kc(e,t){var u,d,h,p;const n=Gh(),r=(t==null?void 0:t.weekStartsOn)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((p=(h=n.locale)==null?void 0:h.options)==null?void 0:p.weekStartsOn)??0,i=Ar(e),a=i.getDay(),l=(a<r?7:0)+a-r;return i.setDate(i.getDate()-l),i.setHours(0,0,0,0),i}function mh(e){return kc(e,{weekStartsOn:1}
vendor: 19,104 bytes, line 459
459)}function aE(e){const t=Ar(e),n=t.getFullYear(),r=fo(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=mh(r),a=fo(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const l=mh(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function lN(e){const t=Ar(e);return t.setHours(0,0,0,0),t}function cN(e){const t=Ar(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function XV(e,t){const n=lN(e),r=lN(t),i=+n-cN(n),a=+r-cN(r);return Math.round((i-a)/KV)}function JV(e){const t=aE(e),n=fo(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),mh(n)}function ZV(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function e9(e){if(!ZV(e)&&typeof e!="number")return!1;const t=Ar(e);return!isNaN(Number(t))}function t9(e){const t=Ar(e),n=fo(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const n9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r9=(e,t,n)=>{let r;const i=n9[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function zm(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const s9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},i9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},o9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},a9={date:zm({formats:s9,defaultWidth:"full"}),time:zm({formats:i9,defaultWidth:"full"}),dateTime:zm({formats:o9,defaultWidth:"full"})},l9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},c9=(e,t,n,r)=>l9[e];function zl(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=n!=null&&n.width?String(n.width):l;i=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[u]||e.values[l]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const u9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},d9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},h9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},f9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},p9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},m9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g9=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},x9={ordinalNumber:g9,era:zl({values:u9,defaultWidth:"wide"}),quarter:zl({values:d9,defaultWidth:"wide",argumentCallback:e=>e-1}),month:zl({values:h9,defaultWidth:"wide"}),day:zl({values:f9,defaultWidth:"wide"}),dayPeriod:zl({values:p9,defaultWidth:"wide",formattingValues:m9,defaultFormattingWidth:"wide"})};function Bl(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;const l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?v9(u,m=>m.test(l)):y9(u,m=>m.test(l));let h;h=e.valueCallback?e.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const p=t.slice(l.length);return{value:h,rest:p}}}function y9(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function v9(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function b9(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],a=t.match(e.parsePattern);if(!a)return null;let l=e.valueCallback?e.valueCallback(a[0]):a[0];l=n.valueCallback?n.valueCallback(l):l;const u=t.slice(i.length);return{value:l,rest:u}}}const w9=/^(\d+)(th|st|nd|rd)?/i,j9=/\d+/i,N9={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},k9={any:[/^b/i,/^(a|c)/i]},S9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},C9={any:[/1/i,/2/i,/3/i,/4/i]},E9={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},P9={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},T9={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},A9={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_9={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},R9={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},I9={ordinalNumber:b9({matchPattern:w9,parsePattern:j9,valueCallback:e=>parseInt(e,10)}),era:Bl({matchPatterns:N9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any"}),quarter:Bl({matchPatterns:S9,defaultMatchWidth:"wide",parsePatterns:C9,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Bl({matchPatterns:E9,defaultMatchWidth:"wide",parsePatterns:P9,defaultParseWidth:"any"}),day:Bl({matchPatterns:T9,defaultMatchWidth:"wide",parsePatterns:A9,defaultParseWidth:"any"}),dayPeriod:Bl({matchPatterns:_9,defaultMatchWidth:"any",parsePatterns:R9,defaultParseWidth:"any"})},M9={code:"en-US",formatDistance:r9,formatLong:a9,formatRelative:c9,localize:x9,match:I9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function O9(e){const t=Ar(e);return XV(t,t9(t))+1}function D9(e){const t=Ar(e),n=+mh(t)-+JV(t);return Math.round(n/oE)+1}function lE(e,t){var p,m,x,y;const n=Ar(e),r=n.getFullYear(),i=Gh(),a=(t==null?void 0:t.firstWeekContainsDate)??((m=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??i.firstWeekContainsDate??((y=(x=i.locale)==null?void 0:x.options)==null?void 0:y.firstWeekContainsDate)??1,l=fo(e,0);l.setFullYear(r+1,0,a),l.setHours(0,0,0,0);const u=kc(l,t),d=fo(e,0);d.setFullYear(r,0,a),d.setHours(0,0,0,0);const h=kc(d,t);return n.getTime()>=u.getTime()?r+1:n.getTime()>=h.getTime()?r:r-1}function L9(e,t){var u,d,h,p;const n=Gh(),r=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((p=(h=n.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??1,i=lE(e,t),a=fo(e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),kc(a,t)}function F9(e,t){const n=Ar(e),r=+kc(n,t)-+L9(n,t);return Math.round(r/oE)+1}function at(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const qs={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return at(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):at(n+1,2)},d(e,t){return at(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return at(e.getHours()%12||12,t.length)},H(e,t){return at(e.getHours(),t.length)},m(e,t){return at(e.getMinutes(),t.length)},s(e,t){return at(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return at(i,t.length)}},Xo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uN={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return qs.y(e,t)},Y:function(e,t,n,r){const i=lE(e,r),a=i>0?i:1-i;if(t==="YY"){const l=a%100;return at(l,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):at(a,t.length)},R:function(e,t){const n=aE(e);return at(n,t.length)},u:function(e,t){const n=e.getFullYear();return at(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return at(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return at(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return qs.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return at(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=F9(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):at(i,t.length)},I:function(e,t,n){const r=D9(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):at(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):qs.d(e,t)},D:function(e,t,n){const r=O9(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):at(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return at(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return at(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return at(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=Xo.noon:r===0?i=Xo.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=Xo.evening:r>=12?i=Xo.afternoon:r>=4?i=Xo.morning:i=Xo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return qs.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):qs.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):at(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):at(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):qs.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):qs.s(e,t)},S:function(e,t){return qs.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return hN(r);case"XXXX":case"XX":return Hi(r);case"XXXXX":case"XXX":default:return Hi(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return hN(r);case"xxxx":case"xx":return Hi(r);case"xxxxx":case"xxx":default:return Hi(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+dN(r,":");case"OOOO":default:return"GMT"+Hi(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+dN(r,":");case"zzzz":default:return"GMT"+Hi(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return at(r,t.length)},T:function(e,t,n){const r=e.getTime();return at(r,t.length)}};function dN(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;return a===0?n+String(i):n+String(i)+t+at(a,2)}function hN(e,t){return e%60===0?(e>0?"-":"+")+at(Math.abs(e)/60,2):Hi(e,t)}function Hi(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=at(Math.trunc(r/60),2),a=at(r%60,2);return n+i+t+a}const fN=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},cE=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},z9=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return fN(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",fN(r,t)).replace("{{time}}",cE(i,t))},B9={p:cE,P:z9},V9=/^D+$/,U9=/^Y+$/,$9=["D","DD","YY","YYYY"];function H9(e){return V9.test(e)}function W9(e){return U9.test(e)}function q9(e,t,n){const r=G9(e,t,n);if(console.warn(r),$9.includes(e))throw new RangeError(r)}function G9(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Y9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,K9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Q9=/^'([^]*?)'?$/,X9=/''/g,J9=/[a-zA-Z]/;function Ia(e,t,n){var p,m,x,y;const r=Gh(),i=r.locale??M9,a=r.firstWeekContainsDate??((m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,l=r.weekStartsOn??((y=(x=r.locale)==null?void 0:x.options)==null?void 0:y.weekStartsOn)??0,u=Ar(e);if(!e9(u))throw new RangeError("Invalid time value");let d=t.match(K9).map(N=>{const w=N[0];if(w==="p"||w==="P"){const k=B9[w];return k(N,i.formatLong)}return N}).join("").match(Y9).map(N=>{if(N==="''")return{isToken:!1,value:"'"};const w=N[0];if(w==="'")return{isToken:!1,value:Z9(N)};if(uN[w])return{isToken:!0,value:N};
459if(w.match(J9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return{isToken:!1,value:N}});i.localize.preprocessor&&(d=i.localize.preprocessor(u,d));const h={firstWeekContainsDate:a,weekStartsOn:l,locale:i};return d.map(N=>{if(!N.isToken)return N.value;const w=N.value;(W9(w)||H9(w))&&q9(w,t,String(e));const k=uN[w[0]];return k(u,w,i.localize,h)}).join("")}function Z9(e){const t=e.match(Q9);return t?t[1].replace(X9,"'"):e}function un({className:e,...t}){return s.jsx("div",{className:He("animate-pulse rounded-md bg-primary/10",e),...t})}function eU(){const[e,t]=S.useState([]),[n,r]=S.useState(!0);S.useEffect(()=>{async function l(){r(!0);const u=await YV.BlogPost.filter({status:"published"},"-published_date");t(u),r(!1)}l()},[]);const i=e[0],a=e.slice(1);return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Blog | Clyn"}),s.jsx("meta",{name:"description",content:"Insights on cleaning operations, hospitality QA, and how AI verification is changing facilities management."}),s.jsx("meta",{property:"og:title",content:"Blog | Clyn"}),s.jsx("meta",{property:"og:description",content:"Insights on cleaning operations, hospitality QA, and how AI verification is changing facilities management."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Blog"})]}),s.jsx(q.section,{initial:{opacity:0}
459,animate:{opacity:1},transition:{duration:.8},className:"py-24 bg-gradient-to-br from-slate-50 to-blue-50 text-center",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:[s.jsxs(Dt,{className:"bg-blue-100 text-blue-800 border-blue-200 mb-6",children:[s.jsx(D6,{className:"w-4 h-4 mr-2"}),"Clyn Operations Hub"]}),s.jsx("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 mb-6",children:"Insights for Modern Property Managers"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Expert tips on AI automation, inventory management, and operational excellence for vacation rentals."})]})}),s.jsx("section",{className:"py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:n?s.jsx(tU,{}):s.jsxs(s.Fragment,{children:[i&&s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-20",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsx($e,{to:`/blog/${i.slug}`,children:s.jsx("img",{src:i.featured_image_url,alt:i.title,className:"rounded-2xl w-full h-96 object-cover shadow-2xl hover:scale-105 transition-transform duration-500"})}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex items-center gap-4 text-sm text-gray-500",children:[s.jsx("span",{children:Ia(new Date(i.published_date),"MMMM d, yyyy")}),s.jsx("div",{className:"w-1 h-1 bg-gray-300 rounded-full"}),s.jsx("div",{className:"flex gap-2",children:i.tags.slice(0,2).map(l=>s.jsx(Dt,{variant:"secondary",children:l},l))})]}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 hover:text-blue-600 transition-colors",children:s.jsx($e,{to:`/blog/${i.slug}`,children:i.title})}),s.jsx("p",{className:"text-gray-600 leading-relaxed text-lg",children:i.excerpt}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("img",{src:i.author_image_url,alt:i.author_name,className:"w-12 h-12 rounded-full"}),s.jsxs("div",{children:[s.jsx("div",{className:"font-semibold text-gray-900",children:i.author_name}),s.jsx("div",{className:"text-gray-500 text-sm",children:"Clyn Content Team"})]})]}),s.jsx(Se,{asChild:!0,variant:"link",className:"p-0 text-lg",children:s.jsxs($e,{to:`/blog/${i.slug}`,children:["Read Full Article ",s.jsx(qt,{className:"w-4 h-4 ml-2"})]})})]})]})}),s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:a.map((l,u)=>s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:u*.1},className:"flex flex-col",children:s.jsxs("div",{className:"bg-white border rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-500 overflow-hidden flex flex-col h-full",children:[s.jsx($e,{to:`/blog/${l.slug}`,children:s.jsx("img",{src:l.featured_image_url,alt:l.title,className:"w-full h-56 object-cover"})}),s.jsxs("div",{className:"p-6 flex flex-col flex-grow",children:[s.jsxs("div",{className:"flex-grow",children:[s.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-500 mb-3",children:[s.jsx("span",{children:Ia(new Date(l.published_date),"MMM d, yyyy")}),s.jsx("div",{className:"w-1 h-1 bg-gray-300 rounded-full"}),l.tags[0]&&s.jsx(Dt,{variant:"secondary",children:l.tags[0]})]}),s.jsx("h3",{className:"text-xl font-bold text-gray-900 hover:text-blue-600 transition-colors mb-3",children:s.jsx($e,{to:`/blog/${l.slug}`,children:l.title})}),s.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:l.excerpt})]}),s.jsxs("div",{className:"mt-auto pt-4 border-t border-gray-100 flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("img",{src:l.author_image_url,alt:l.author_name,className:"w-8 h-8 rounded-full"}),s.jsx("span",{className:"text-sm font-semibold",children:l.author_name})]}),s.jsx(Se,{asChild:!0,variant:"ghost",size:"sm",children:s.jsx($e,{to:`/blog/${l.slug}`,children:s.jsx(qt,{className:"w-4 h-4"})})})]})]})]})},l.id))})]})})}),s.jsx("section",{className:"pb-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx(qh,{className:"max-w-2xl mx-auto"})})})]})}const tU=()=>s.jsxs("div",{children:[s.jsxs("div",{className:"mb-20 grid lg:grid-cols-2 gap-12 items-center",children:[s.jsx(un,{className:"w-full h-96 rounded-2xl"}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsx(un,{className:"h-4 w-24"}),s.jsx(un,{className:"h-4 w-20"})]}),s.jsx(un,{className:"h-10 w-full"}),s.jsx(un,{className:"h-8 w-4/5"}),s.jsx(un,{className:"h-16 w-full"}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(un,{className:"w-12 h-12 rounded-full"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(un,{className:"h-4 w-32"}),s.jsx(un,{className:"h-4 w-24"})]})]})]})]}),s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:[1,2,3].map(e=>s.jsxs("div",{className:"space-y-4 p-4 border rounded-2xl",children:[s.jsx(un,{className:"h-56 w-full"}),s.jsx(un,{className:"h-4 w-20"}),s.jsx(un,{className:"h-6 w-full"}),s.jsx(un,{className:"h-12 w-full"}),s.jsxs("div",{className:"flex justify-between items-center pt-4 border-t",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(un,{className:"w-8 h-8 rounded-full"}),s.jsx(un,{className:"h-4 w-24"})]}),s.jsx(un,{className:"w-8 h-8"})]})]},e))})]});function nU(){const e=[{icon:io,title:"Housekeeping Autopilot",copy:"“Clio, assign cleaning to Team Alpha after tomorrow’s 11 AM checkout.”",details:"Turnovers auto-scheduled, cleaners notified, and progress tracked in real time."},{icon:dI,title:"Maintenance Triage",copy:"“Clio, log a maintenance request for Unit 203, AC not cooling.”",details:"Issues captured, vendors dispatched, and status updates sent, before the next guest arrives."},{icon:fc,title:"Inventory & Restocking",copy:"“Clio, reorder linens for units below threshold.”",details:"Automated supply tracking keeps essentials stocked and costs under control."},{icon:e6,title:"Inspection Checklists",copy:"“Clio, generate a post-clean inspection for Unit 12.”",details:"Digital checklists ensure every detail is perfect, from smoke detectors to fresh towels."},{icon:Zd,title:"Team Knowledge Base",copy:"“Clio, what’s our pet-friendly cleaning protocol?”",details:"Instant SOP access reduces onboarding time and guarantees consistent service."}],t=[{number:"60%",label:"Faster Turnovers",description:"Automated scheduling and real-time updates keep units guest-ready.",icon:vo},{number:"30%",label:"Fewer Guest Complaints",description:"Proactive maintenance and inspections catch issues before check-in.",icon:Fc},{number:"3 hrs",label:"Saved per Property/Week",description:"Less manual coordination, more time for growth.",icon:Th}],n=[{quote:"Our turnovers run like clockwork now. Clio handles cleaning, maintenance, and even restocking.",author:"Operations Lead",company:"Coastal Getaways",image:"https://images.unsplash.com/photo-1557862921-37829c790f19?w=150&h=150&fit=crop&crop=face"},{quote:"We went from 4.7 to 4.9 stars in two months thanks to flawless turnovers.",author:"Property Manager",company:"UrbanStay",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=150&h=150&fit=crop&crop=face"}],r=[{text:"256-bit encryption for data in transit and at rest.",icon:oi},{text:"Role-based permissions for cleaners, managers, and vendors.",icon:oi},{text:"GDPR-compliant data handling and audit logs.",icon:oi}],i=a=>{var l;(l=document.getElementById(a))==null||l.scrollIntoView({behavior:"smooth"})};return s.jsxs("div",{className:"bg-white text-gray-800",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clio AI | Clyn"}),s.jsx("meta",{name:"description",content:"Learn about Clio, part of Clyn's AI platform."}),s.jsx("meta",{property:"og:title",content:"Clio AI | Clyn"}),s.jsx("meta",{property:"og:description",content:"Learn about Clio, part of Clyn's AI platform."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ClioAI"})]}),s.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 via-white to-blue-50 py-24",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse delay-1000"})]}),s.jsxs("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[s.jsxs(q.h1,{initial:{opacity:0,y:20}
459,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:["Flawless turnovers, every stay."," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Powered by Clio."})]}),s.jsx(q.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-xl text-gray-600 leading-relaxed max-w-3xl mx-auto mb-10",children:"From cleaning schedules to last-minute fixes, Clio automates the entire guest turnover process so you deliver 5-star experiences every time."}),s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",children:"Get Started"})}),s.jsxs(Se,{size:"lg",variant:"outline",className:"px-8 py-4 text-lg font-semibold",onClick:()=>i("how-it-works"),children:["See How It Works ",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})]})]})]}),s.jsx("section",{className:"bg-slate-50 py-6 border-y border-slate-100",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs("p",{className:"text-gray-600 font-medium flex items-center justify-center gap-2",children:[s.jsx(ur,{className:"w-5 h-5 text-yellow-400 fill-current"}),"Trusted by leading property managers who average 4.9-star guest ratings."]})})}),s.jsx("section",{className:"py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-8",children:e.map((a,l)=>{const u=a.icon;return s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l*.1},children:s.jsxs(Te,{className:"h-full bg-white border-0 text-center p-6 shadow-lg hover:shadow-xl transition-shadow",children:[s.jsx("div",{className:"w-12 h-12 mx-auto mb-4 bg-blue-100 rounded-xl flex items-center justify-center",children:s.jsx(u,{className:"w-6 h-6 text-blue-600"})}),s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:a.title}),s.jsxs("p",{className:"text-sm text-gray-500 italic mb-3",children:['"',a.copy.split("“")[1].split("”")[0],'"']}),s.jsx("p",{className:"text-sm text-gray-600",children:a.details})]})},a.title)})})})}),s.jsx("section",{className:"py-24 bg-gradient-to-br from-blue-50 to-teal-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx("div",{className:"grid md:grid-cols-3 gap-12 text-center",children:t.map((a,l)=>{const u=a.icon;return s.jsxs(q.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:l*.15},children:[s.jsx("div",{className:"w-16 h-16 mx-auto mb-4 bg-white rounded-2xl flex items-center justify-center shadow-md",children:s.jsx(u,{className:"w-8 h-8 text-blue-600"})}),s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-2",children:a.number}),s.jsx("h4",{className:"text-xl font-semibold text-gray-800 mb-2",children:a.label}),s.jsx("p",{className:"text-gray-600 max-w-xs mx-auto",children:a.description})]},a.label)})}),s.jsx("p",{className:"text-center text-sm text-gray-500 mt-12",children:"Data from early adopters managing 25–100 units."})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-8 space-y-12",children:n.map((a,l)=>s.jsx(q.div,{initial:{opacity:0,x:l%2===0?-50:50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.7},children:s.jsx(Te,{className:"bg-white border-gray-200 shadow-xl overflow-hidden",children:s.jsxs(Ue,{className:"p-8 md:p-12",children:[s.jsxs("blockquote",{className:"text-xl lg:text-2xl text-gray-700 text-center font-medium leading-relaxed mb-6",children:['"',a.quote,'"']}),s.jsxs("div",{className:"flex items-center justify-center gap-4",children:[s.jsx("img",{src:a.image,alt:a.author,className:"w-12 h-12 rounded-full object-cover"}),s.jsxs("div",{children:[s.jsx("div",{className:"font-bold text-gray-900",children:a.author}),s.jsx("div",{className:"text-gray-600",children:a.company})]})]})]})})},l))})}),s.jsx("section",{id:"how-it-works",className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-4",children:"How It Works"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Get started in three simple steps."})]}),s.jsxs("div",{className:"grid md:grid-cols-3 gap-8 text-center relative",children:[s.jsx("div",{className:"hidden md:block absolute top-1/2 left-0 w-full h-0.5 -mt-6",children:s.jsx("svg",{width:"100%",height:"2",className:"text-gray-200",children:s.jsx("line",{x1:"0",y1:"1",x2:"100%",y2:"1",stroke:"currentColor",strokeWidth:"2",strokeDasharray:"8 8"})})}),[{icon:Yn,title:"Connect Your Team & Vendors",description:"Invite cleaners, contractors, and staff in minutes."},{icon:Ux,title:"Talk to Clio",description:"Use voice or text to assign tasks, reorder supplies, or pull checklists."},{icon:qt,title:"Watch It Happen",description:"Clio schedules, tracks, and logs every step, no spreadsheets needed."}].map((a,l)=>{const u=a.icon;return s.jsxs(q.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:l*.2},className:"relative z-10",children:[s.jsx("div",{className:"w-20 h-20 mx-auto mb-6 bg-white rounded-full flex items-center justify-center shadow-lg border-4 border-slate-50",children:s.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center",children:s.jsx(u,{className:"w-6 h-6 text-blue-600"})})}),s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:a.title}),s.jsx("p",{className:"text-gray-600",children:a.description})]},a.title)})]})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:[s.jsx("div",{className:"text-center mb-12",children:s.jsx("h2",{className:"text-4xl font-bold text-gray-900",children:"Security & Compliance"})}),s.jsx("div",{className:"space-y-6",children:r.map((a,l)=>{const u=a.icon;return s.jsxs(q.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:l*.2},className:"flex items-center gap-4 p-4 bg-slate-50 rounded-lg",children:[s.jsx(u,{className:"w-6 h-6 text-green-500 flex-shrink-0"}),s.jsx("p",{className:"text-gray-700",children:a.text})]},l)})})]})}),s.jsx("section",{className:"py-24 bg-gradient-to-r from-blue-700 to-teal-600",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center text-white",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold mb-4",children:"Ready to deliver flawless guest turnovers?"}),s.jsx("p",{className:"text-xl mb-10",children:"Join the limited pilot and see Clio in action."}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-100 px-8 py-4 text-lg font-semibold shadow-lg",children:"Get Started"})})})]})}),s.jsx("div",{className:"bg-gray-800 py-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center text-gray-400 text-sm",children:[s.jsxs("div",{className:"flex justify-center items-center gap-x-6 gap-y-2 flex-wrap mb-2",children:[s.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Docs & API"}),s.jsx("a",{href:"#",className:"hover:text-white transition-colors",children:"Community Forum"}),s.jsx($e,{to:xt("PrivacyPolicy"),className:"hover:text-white transition-colors",children:"Privacy Policy"}),s.jsx($e,{to:xt("TermsOfService"),className:"hover:text-white transition-colors",children:"Terms of Service"})]}),s.jsx("p",{children:"© 2025 Clyn, Inc."})]})})]})}function rU(){const[e,t]=S.useState(0),n=[{type:"before-photo"},{type:"after-photo"},{type:"amazon-restock"},{type:"calendar-assign"}];S.useEffect(()=>{const i=setInterval(()=>{t(a=>(a+1)%n.length)},1500);return()=>clearInterval(i)},[n.length]);const r={initial:{opacity:0,scale:.95,filter:"blur(5px)"}
459,animate:{opacity:1,scale:1,filter:"blur(0px)"},exit:{opacity:0,scale:.95,filter:"blur(5px)"}};return s.jsx(s.Fragment,{children:s.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 via-white to-blue-50 pt-20 pb-24",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse delay-1000"})]}),s.jsx("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center lg:text-left",children:[s.jsxs(q.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2},className:"inline-flex items-center px-4 py-2 rounded-full bg-purple-50 text-purple-700 text-sm font-medium mb-8",children:[s.jsx(mg,{className:"w-4 h-4 mr-2"}),"Major Update Coming!"]}),s.jsx("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Clyn v4.3 is now live"})}),s.jsx("p",{className:"text-xl text-gray-600 leading-relaxed mb-8 max-w-2xl",children:"Start your 14-day free trial today"}),s.jsx(q.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.8},className:"mb-8 flex justify-center lg:justify-start",children:s.jsxs("div",{className:"inline-flex items-center justify-center lg:justify-start gap-2 bg-blue-50 border border-blue-200 text-blue-700 font-semibold px-4 py-2 rounded-full",children:[s.jsx(q.div,{className:"w-2 h-2 rounded-full",animate:{backgroundColor:["#2563EB","#10B981","#2563EB"]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}}),s.jsxs("span",{children:[s.jsx("span",{className:"font-bold",children:"Be among the first"})," to experience the future of turnover management"]})]})}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start",children:[s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",children:"Start Your Free Trial"})}),s.jsx("p",{className:"text-sm text-gray-500 text-center lg:text-left",children:"14-day free trial · No contracts"})]})]}),s.jsxs(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.3},className:"relative",children:[s.jsxs("div",{className:"relative bg-white rounded-2xl shadow-2xl p-4 border border-gray-100 min-h-[400px] flex items-center justify-center overflow-hidden",children:[s.jsxs(zh,{mode:"wait",children:[n[e].type==="before-photo"&&s.jsx(q.div,{variants:r,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full h-full absolute inset-0 bg-cover bg-center rounded-lg flex items-center justify-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1540518614846-7eded433c457?w=800&auto=format&fit=crop')"},children:s.jsx("div",{className:"w-32 h-48 border-4 border-red-500 border-dashed rounded-lg bg-red-500/10 backdrop-blur-sm relative",children:s.jsxs("div",{className:"absolute -top-10 left-1/2 -translate-x-1/2 bg-red-500 text-white text-sm font-semibold px-3 py-1 rounded-full flex items-center gap-2",children:[s.jsx($x,{className:"w-4 h-4"})," Missing Lamp"]})})},"before"),n[e].type==="after-photo"&&s.jsx(q.div,{variants:r,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full h-full absolute inset-0 bg-cover bg-center rounded-lg flex items-center justify-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=800&auto=format&fit=crop')"},children:s.jsx("div",{className:"w-32 h-48 border-4 border-green-500 border-dashed rounded-lg bg-green-500/10 backdrop-blur-sm relative",children:s.jsxs("div",{className:"absolute -top-10 left-1/2 -translate-x-1/2 bg-green-500 text-white text-sm font-semibold px-3 py-1 rounded-full flex items-center gap-2",children:[s.jsx(he,{className:"w-4 h-4"})," Resolved"]})})},"after"),n[e].type==="amazon-restock"&&s.jsxs(q.div,{variants:r,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"flex flex-col items-center justify-center text-center w-full h-full absolute inset-0",children:[s.jsx("img",{src:"https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg",alt:"Amazon",className:"h-16 mb-4"}),s.jsx("div",{className:"text-xl font-bold text-gray-800",children:"Restock Ordered"}),s.jsx("div",{className:"text-gray-500",children:"Premium Lamp, Model #123"})]},"amazon"),n[e].type==="calendar-assign"&&s.jsx(q.div,{variants:r,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full p-4 absolute inset-0 flex flex-col justify-center items-center",children:s.jsxs("div",{className:"w-full max-w-sm",children:[s.jsxs("div",{className:"text-center mb-4",children:[s.jsx("div",{className:"font-bold text-xl",children:"Vendor Schedule"}),s.jsx("div",{className:"text-gray-500",children:"July 25, 2024"})]}),s.jsxs("div",{className:"bg-gray-50 rounded-lg p-4 space-y-2",children:[s.jsx("div",{className:"text-sm text-gray-400",children:"10:00 AM - Cleaner"}),s.jsxs(q.div,{initial:{opacity:0,y:-10}
459,animate:{opacity:1,y:0},transition:{delay:.2},className:"bg-blue-100 border-l-4 border-blue-500 rounded-r-lg p-3",children:[s.jsx("div",{className:"font-semibold text-blue-800",children:"Plumber – Leak Repair"}),s.jsx("div",{className:"text-sm text-blue-600",children:"Property: Ocean View #12"})]}),s.jsx("div",{className:"text-sm text-gray-400",children:"02:00 PM - Landscaper"})]})]})},"calendar")]}),s.jsx("div",{className:"absolute bottom-4 left-4 flex items-center gap-2",children:n.map((i,a)=>s.jsx(q.div,{className:"h-1 rounded-full",animate:{backgroundColor:e>=a?"#0066CC":"#E5E7EB",width:e===a?"24px":"8px"},transition:{duration:.5}},a))})]}),s.jsxs(q.div,{className:"absolute top-4 right-4 bg-white p-4 rounded-lg shadow-2xl flex items-center gap-4 border-l-4 border-blue-500",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.5,duration:.5},children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/e3ccd8a80_Clyn42logo.png",alt:"Clyn",className:"w-8 h-8 object-contain rounded-lg"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-semibold text-gray-800",children:"Turnover Task Created"}),s.jsx("p",{className:"text-sm text-gray-500",children:"Cleaner: Assigned to Jane D."})]}),s.jsx(he,{className:"w-6 h-6 text-green-500"})]}),s.jsxs(q.div,{animate:{y:[0,-10,0]},transition:{duration:3,repeat:1/0},className:"absolute -top-8 -left-8 bg-gradient-to-r from-blue-500 to-teal-500 text-white p-4 rounded-xl shadow-lg",children:[s.jsx("div",{className:"text-2xl font-bold",children:"AI"}),s.jsx("div",{className:"text-xs opacity-90",children:"Powered"})]}),s.jsxs(q.div,{animate:{y:[0,10,0]},transition:{duration:4,repeat:1/0,delay:1},className:"absolute -bottom-4 -right-8 bg-white border border-gray-200 p-4 rounded-xl shadow-lg",children:[s.jsx("div",{className:"text-2xl font-bold text-green-600",children:"v4.3"}),s.jsx("div",{className:"text-xs text-gray-500",children:"Launch"})]})]})]})})]})})}function sU(){return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn V43 Launch"}),s.jsx("meta",{name:"description",content:"Details on what's new in Clyn's V43 release."}),s.jsx("meta",{property:"og:title",content:"Clyn V43 Launch"}),s.jsx("meta",{property:"og:description",content:"Details on what's new in Clyn's V43 release."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ClynV43Launch"})]}),s.jsx(rU,{}),s.jsx("section",{className:"py-20 bg-gray-50",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:[s.jsx(q.h2,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-8",children:"The Wait Is Almost Over."}),s.jsxs(q.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"text-xl text-gray-700 leading-relaxed mb-6",children:["We are officially launching Clyn v4.3 on ",s.jsx("span",{className:"font-semibold text-blue-600",children:"Monday, January 26th"}),"."]}),s.jsx(q.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},className:"text-lg text-gray-600 leading-relaxed mb-10",children:"This update introduces owner-ready Turnover QA reporting with real-time cleaner notifications, a core capability many of you have been asking for."}),s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.8},className:"bg-white p-8 rounded-2xl shadow-xl border border-gray-100 max-w-2xl mx-auto",children:[s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Want to get in before the public launch?"}),s.jsx("p",{className:"text-md text-gray-700 mb-6",children:"We are opening a limited number of Early Onboarding slots this week. Booking a time ensures your properties, users, and notifications are fully set up so you can start using Clyn immediately on launch day."}),s.jsx("p",{className:"text-md text-gray-700 mb-8",children:"If you prefer to wait, keep an eye on your inbox next Monday for the official login link."}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx("button",{className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 rounded-full font-bold text-lg shadow-lg hover:shadow-xl transition-all duration-300",children:"Book Your Early Onboarding"})}),s.jsx("p",{className:"text-sm text-gray-500 mt-6 italic",children:"P.S. Most teams who book onboarding do it to avoid figuring things out mid-turnover. If that's you, early access will save time next week."})]})]})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx(q.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6},className:"text-4xl lg:text-5xl font-bold text-gray-900 text-center mb-16",children:"What makes us so excited for you:"}),s.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-10",children:[s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.1},className:"bg-gradient-to-br from-blue-50 to-white p-8 rounded-2xl shadow-lg border border-blue-100",children:[s.jsx(ui,{className:"w-10 h-10 text-blue-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"QA AI Layer"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Turn photo evidence into consistent outcomes. Verify every clean with a per-turnover QA report sent to you and your team, reducing re-cleans and back-and-forth."})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.2},className:"bg-gradient-to-br from-teal-50 to-white p-8 rounded-2xl shadow-lg border border-teal-100",children:[s.jsx(Xk,{className:"w-10 h-10 text-teal-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"PMS Integrations + automation"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Connect your Guesty, Hostfully, Ownerrez or Jurny account so your cleaning ops and QA attach directly to bookings, turns, and portfolio operations."})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.3},className:"bg-gradient-to-br from-purple-50 to-white p-8 rounded-2xl shadow-lg border border-purple-100",children:[s.jsx(Ah,{className:"w-10 h-10 text-purple-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Marketplace + Backup Coverage"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Get coverage quickly for emergency cleaning or to supp
459ort your growing portfolio."})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.4},className:"bg-gradient-to-br from-yellow-50 to-white p-8 rounded-2xl shadow-lg border border-yellow-100",children:[s.jsx(I4,{className:"w-10 h-10 text-yellow-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Solve turnover conflicts before they happen"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"See and notify your cleaner if guests enjoy their stay a little longer."})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.5},className:"bg-gradient-to-br from-red-50 to-white p-8 rounded-2xl shadow-lg border border-red-100",children:[s.jsx(iI,{className:"w-10 h-10 text-red-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Cleaner + Operator Workflows"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Your cleaners don't require onboarding. They get a link, upload pre- and post-clean photos in bulk and we'll flag issues against your checklist."})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,delay:.6},className:"bg-gradient-to-br from-green-50 to-white p-8 rounded-2xl shadow-lg border border-green-100",children:[s.jsx(Yn,{className:"w-10 h-10 text-green-600 mb-6"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Free Backoffice for your crew"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"Your cleaning contractor gets a Backoffice for free so they don't have to worry about your portfolio cleaning schedules ever again. They can auto-assign each crew to each turnover while you have visibility and peace of mind."})]})]})]})}),s.jsx("section",{className:"py-16 bg-gradient-to-br from-blue-600 to-teal-500 text-white",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6},className:"grid lg:grid-cols-[1fr,auto] gap-8 items-center",children:[s.jsx("div",{children:s.jsx("p",{className:"text-lg lg:text-xl italic leading-relaxed",children:`"As we've worked closely with operators over the past year, one thing became clear. Visibility matters more than volume. v4.3 reflects that belief. It's designed to help you trust what's happening on the ground without adding more steps, tools, or follow-ups to your day."`})}),s.jsxs("div",{className:"flex flex-col gap-6",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6887ee5a7c2ec1c9feee474b/3461060c7__ORL8298-Edit.jpg",alt:"Diana Muturia",className:"w-16 h-16 rounded-full object-cover object-top border-2 border-white shadow-lg"}),s.jsxs("div",{children:[s.jsx("div",{className:"font-semibold text-lg",children:"Diana Muturia"}),s.jsx("div",{className:"text-blue-100 text-sm",children:"CEO, Clyn"})]})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/6887ee5a7c2ec1c9feee474b/9c2835aff__ORL8354-Edit.jpg",alt:"Einstein Wafula",className:"w-16 h-16 rounded-full object-cover object-top border-2 border-white shadow-lg"}),s.jsxs("div",{children:[s.jsx("div",{className:"font-semibold text-lg",children:"Einstein Wafula"}),s.jsx("div",{className:"text-blue-100 text-sm",children:"CTO, Clyn"})]})]})]})]})})})]})}const uE=S.forwardRef(({className:e,...t},n)=>s.jsx("textarea",{className:He("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));uE.displayName="Textarea";function pN(e,[t,n]){return Math.min(n,Math.max(t,e))}function Re(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function yi(e,t=[]){let n=[];function r(a,l){const u=S.createContext(l),d=n.length;n=[...n,l];const h=m=>{var b;const{scope:x,children:y,...N}=m,w=((b=x==null?void 0:x[e])==null?void 0:b[d])||u,k=S.useMemo(()=>N,Object.values(N));return s.jsx(w.Provider,{value:k,children:y})};h.displayName=a+"Provider";function p(m,x){var w;const y=((w=x==null?void 0:x[e])==null?void 0:w[d])||u,N=S.useContext(y);if(N)return N;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[h,p]}const i=()=>{const a=n.map(l=>S.createContext(l));
vendor: 39,116 bytes, line 459
459return function(u){const d=(u==null?void 0:u[e])||a;return S.useMemo(()=>({[`__scope${e}`]:{...u,[e]:d}}),[u,d])}};return i.scopeName=e,[r,iU(i,...t)]}function iU(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const l=r.reduce((u,{useScope:d,scopeName:h})=>{const m=d(a)[`__scope${h}`];return{...u,...m}},{});return S.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function Yh(e){const t=e+"CollectionProvider",[n,r]=yi(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=w=>{const{scope:k,children:b}=w,E=lt.useRef(null),C=lt.useRef(new Map).current;return s.jsx(i,{scope:k,itemMap:C,collectionRef:E,children:b})};l.displayName=t;const u=e+"CollectionSlot",d=Ra(u),h=lt.forwardRef((w,k)=>{const{scope:b,children:E}=w,C=a(u,b),T=pt(k,C.collectionRef);return s.jsx(d,{ref:T,children:E})});h.displayName=u;const p=e+"CollectionItemSlot",m="data-radix-collection-item",x=Ra(p),y=lt.forwardRef((w,k)=>{const{scope:b,children:E,...C}=w,T=lt.useRef(null),I=pt(k,T),_=a(p,b);return lt.useEffect(()=>(_.itemMap.set(T,{ref:T,...C}),()=>void _.itemMap.delete(T))),s.jsx(x,{[m]:"",ref:I,children:E})});y.displayName=p;function N(w){const k=a(e+"CollectionConsumer",w);return lt.useCallback(()=>{const E=k.collectionRef.current;if(!E)return[];const C=Array.from(E.querySelectorAll(`[${m}]`));return Array.from(k.itemMap.values()).sort((_,V)=>C.indexOf(_.ref.current)-C.indexOf(V.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:l,Slot:h,ItemSlot:y},N,r]}var oU=S.createContext(void 0);function Kh(e){const t=S.useContext(oU);return e||t||"ltr"}var aU=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],et=aU.reduce((e,t)=>{const n=Ra(`Primitive.${t}`),r=S.forwardRef((i,a)=>{const{asChild:l,...u}=i,d=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(d,{...u,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function dE(e,t){e&&Bc.flushSync(()=>e.dispatchEvent(t))}function Xr(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lU(e,t=globalThis==null?void 0:globalThis.document){const n=Xr(e);S.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var cU="DismissableLayer",ux="dismissableLayer.update",uU="dismissableLayer.pointerDownOutside",dU="dismissableLayer.focusOutside",mN,hE=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),qy=S.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:u,...d}=e,h=S.useContext(hE),[p,m]=S.useState(null),x=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=S.useState({}),N=pt(t,V=>m(V)),w=Array.from(h.layers),[k]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),b=w.indexOf(k),E=p?w.indexOf(p):-1,C=h.layersWithOutsidePointerEventsDisabled.size>0,T=E>=b,I=pU(V=>{const O=V.target,W=[...h.branches].some(R=>R.contains(O));!T||W||(i==null||i(V),l==null||l(V),V.defaultPrevented||u==null||u())},x),_=mU(V=>{const O=V.target;[...h.branches].some(R=>R.contains(O))||(a==null||a(V),l==null||l(V),V.defaultPrevented||u==null||u())},x);return lU(V=>{E===h.layers.size-1&&(r==null||r(V),!V.defaultPrevented&&u&&(V.preventDefault(),u()))},x),S.useEffect(()=>{if(p)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(mN=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),gN(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=mN)}},[p,x,n,h]),S.useEffect(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),gN())},[p,h]),S.useEffect(()=>{const V=()=>y({});return document.addEventListener(ux,V),()=>document.removeEventListener(ux,V)},[]),s.jsx(et.div,{...d,ref:N,style:{pointerEvents:C?T?"auto":"none":void 0,...e.style},onFocusCapture:Re(e.onFocusCapture,_.onFocusCapture),onBlurCapture:Re(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:Re(e.onPointerDownCapture,I.onPointerDownCapture)})});qy.displayName=cU;var hU="DismissableLayerBranch",fU=S.forwardRef((e,t)=>{const n=S.useContext(hE),r=S.useRef(null),i=pt(t,r);return S.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),s.jsx(et.div,{...e,ref:i})});fU.displayName=hU;function pU(e,t=globalThis==null?void 0:globalThis.document){const n=Xr(e),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const a=u=>{if(u.target&&!r.current){let d=function(){fE(uU,n,h,{discrete:!0})};const h={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=d,t.addEventListener("click",i.current,{once:!0})):d()}else t.removeEventListener("click",i.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function mU(e,t=globalThis==null?void 0:globalThis.document){const n=Xr(e),r=S.useRef(!1);return S.useEffect(()=>{const i=a=>{a.target&&!r.current&&fE(dU,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function gN(){const e=new CustomEvent(ux);document.dispatchEvent(e)}function fE(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?dE(i,a):i.dispatchEvent(a)}var Bm=0;function pE(){S.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xN()),document.body.insertAdjacentElement("beforeend",e[1]??xN()),Bm++,()=>{Bm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Bm--}},[])}function xN(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Vm="focusScope.autoFocusOnMount",Um="focusScope.autoFocusOnUnmount",yN={bubbles:!1,cancelable:!0},gU="FocusScope",Gy=S.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...l}=e,[u,d]=S.useState(null),h=Xr(i),p=Xr(a),m=S.useRef(null),x=pt(t,w=>d(w)),y=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let w=function(C){if(y.paused||!u)return;const T=C.target;u.contains(T)?m.current=T:Qs(m.current,{select:!0})},k=function(C){if(y.paused||!u)return;const T=C.relatedTarget;T!==null&&(u.contains(T)||Qs(m.current,{select:!0}))},b=function(C){if(document.activeElement===document.body)for(const I of C)I.removedNodes.length>0&&Qs(u)};document.addEventListener("focusin",w),document.addEventListener("focusout",k);const E=new MutationObserver(b);return u&&E.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",k),E.disconnect()}}},[r,u,y.paused]),S.useEffect(()=>{if(u){bN.add(y);const w=document.activeElement;if(!u.contains(w)){const b=new CustomEvent(Vm,yN);u.addEventListener(Vm,h),u.dispatchEvent(b),b.defaultPrevented||(xU(jU(mE(u)),{select:!0}),document.activeElement===w&&Qs(u))}return()=>{u.removeEventListener(Vm,h),setTimeout(()=>{const b=new CustomEvent(Um,yN);u.addEventListener(Um,p),u.dispatchEvent(b),b.defaultPrevented||Qs(w??document.body,{select:!0}),u.removeEventListener(Um,p),bN.remove(y)},0)}}},[u,h,p,y]);const N=S.useCallback(w=>{if(!n&&!r||y.paused)return;const k=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,b=document.activeElement;if(k&&b){const E=w.currentTarget,[C,T]=yU(E);C&&T?!w.shiftKey&&b===T?(w.preventDefault(),n&&Qs(C,{select:!0})):w.shiftKey&&b===C&&(w.preventDefault(),n&&Qs(T,{select:!0})):b===E&&w.preventDefault()}},[n,r,y.paused]);return s.jsx(et.div,{tabIndex:-1,...l,ref:x,onKeyDown:N})});Gy.displayName=gU;function xU(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Qs(r,{select:t}),document.activeElement!==n)return}function yU(e){const t=mE(e),n=vN(t,e),r=vN(t.reverse(),e);return[n,r]}function mE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vN(e,t){for(const n of e)if(!vU(n,{upTo:t}))return n}function vU(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function bU(e){return e instanceof HTMLInputElement&&"select"in e}function Qs(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&bU(e)&&t&&e.select()}}var bN=wU();function wU(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=wN(e,t),e.unshift(t)},remove(t){var n;e=wN(e,t),(n=e[0])==null||n.resume()}}}function wN(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function jU(e){return e.filter(t=>t.tagName!=="A")}var rn=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},NU=Lx[" useId ".trim().toString()]||(()=>{}),kU=0;function fi(e){const[t,n]=S.useState(NU());return rn(()=>{n(r=>r??String(kU++))},[e]),t?`radix-${t}`:""}const SU=["top","right","bottom","left"],pi=Math.min,$n=Math.max,gh=Math.round,Cd=Math.floor,Kr=e=>({x:e,y:e}),CU={left:"right",right:"left",bottom:"top",top:"bottom"},EU={start:"end",end:"start"};function dx(e,t,n){return $n(e,pi(t,n))}function ws(e,t){return typeof e=="function"?e(t):e}function js(e){return e.split("-")[0]}function Wa(e){return e.split("-")[1]}function Yy(e){return e==="x"?"y":"x"}function Ky(e){return e==="y"?"height":"width"}const PU=new Set(["top","bottom"]);function Wr(e){return PU.has(js(e))?"y":"x"}function Qy(e){return Yy(Wr(e))}function TU(e,t,n){n===void 0&&(n=!1);const r=Wa(e),i=Qy(e),a=Ky(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=xh(l)),[l,xh(l)]}function AU(e){const t=xh(e);return[hx(e),t,hx(t)]}function hx(e){return e.replace(/start|end/g,t=>EU[t])}const jN=["left","right"],NN=["right","left"],_U=["top","bottom"],RU=["bottom","top"];function IU(e,t,n){switch(e){case"top":case"bottom":return n?t?NN:jN:t?jN:NN;case"left":case"right":return t?_U:RU;default:return[]}}function MU(e,t,n,r){const i=Wa(e);let a=IU(js(e),n==="start",r);return i&&(a=a.map(l=>l+"-"+i),t&&(a=a.concat(a.map(hx)))),a}function xh(e){return e.replace(/left|right|bottom|top/g,t=>CU[t])}function OU(e){return{top:0,right:0,bottom:0,left:0,...e}}function gE(e){return typeof e!="number"?OU(e):{top:e,right:e,bottom:e,left:e}}function yh(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function kN(e,t,n){let{reference:r,floating:i}=e;const a=Wr(t),l=Qy(t),u=Ky(l),d=js(t),h=a==="y",p=r.x+r.width/2-i.width/2,m=r.y+r.height/2-i.height/2,x=r[u]/2-i[u]/2;let y;switch(d){case"top":y={x:p,y:r.y-i.height};break;case"bottom":y={x:p,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-i.width,y:m};break;default:y={x:r.x,y:r.y}}switch(Wa(t)){case"start":y[l]-=x*(n&&h?-1:1);break;case"end":y[l]+=x*(n&&h?-1:1);break}return y}const DU=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:l}=n,u=a.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(t));let h=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:m}=kN(h,r,d),x=r,y={},N=0;for(let w=0;w<u.length;w++){const{name:k,fn:b}=u[w],{x:E,y:C,data:T,reset:I}=await b({x:p,y:m,initialPlacement:r,placement:x,strategy:i,middlewareData:y,rects:h,platform:l,elements:{reference:e,floating:t}});p=E??p,m=C??m,y={...y,[k]:{...y[k],...T}},I&&N<=50&&(N++,typeof I=="object"&&(I.placement&&(x=I.placement),I.rects&&(h=I.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):I.rects),{x:p,y:m}=kN(h,x,d)),w=-1)}return{x:p,y:m,placement:x,strategy:i,middlewareData:y}};async function Sc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:l,elements:u,strategy:d}=e,{boundary:h="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:x=!1,padding:y=0}=ws(t,e),N=gE(y),k=u[x?m==="floating"?"reference":"floating":m],b=yh(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(k)))==null||n?k:k.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(u.floating)),boundary:h,rootBoundary:p,strategy:d})),E=m==="floating"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u.floating)),T=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},I=yh(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:E,offsetParent:C,strategy:d}):E);return{top:(b.top-I.top+N.top)/T.y,bottom:(I.bottom-b.bottom+N.bottom)/T.y,left:(b.left-I.left+N.left)/T.x,right:(I.right-b.right+N.right)/T.x}}const LU=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:l,elements:u,middlewareData:d}=t,{element:h,padding:p=0}=ws(e,t)||{};if(h==null)return{};const m=gE(p),x={x:n,y:r},y=Qy(i),N=Ky(y),w=await l.getDimensions(h),k=y==="y",b=k?"top":"left",E=k?"bottom":"right",C=k?"clientHeight":"clientWidth",T=a.reference[N]+a.reference[y]-x[y]-a.floating[N],I=x[y]-a.reference[y],_=await(l.getOffsetParent==null?void 0:l.getOffsetParent(h));let V=_?_[C]:0;(!V||!await(l.isElement==null?void 0:l.isElement(_)))&&(V=u.floating[C]||a.floating[N]);const O=T/2-I/2,W=V/2-w[N]/2-1,R=pi(m[b],W),G=pi(m[E],W),B=R,Q=V-w[N]-G,Z=V/2-w[N]/2+O,te=dx(B,Z,Q),se=!d.arrow&&Wa(i)!=null&&Z!==te&&a.reference[N]/2-(Z<B?R:G)-w[N]/2<0,ie=se?Z<B?Z-B:Z-Q:0;return{[y]:x[y]+ie,data:{[y]:te,centerOffset:Z-te-ie,...se&&{alignmentOffset:ie}},reset:se}}}),FU=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:l,initialPlacement:u,platform:d,elements:h}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:w=!0,...k}=ws(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const b=js(i),E=Wr(u),C=js(u)===u,T=await(d.isRTL==null?void 0:d.isRTL(h.floating)),I=x||(C||!w?[xh(u)]:AU(u)),_=N!=="none";!x&&_&&I.push(...MU(u,w,N,T));const V=[u,...I],O=await Sc(t,k),W=[];let R=((r=a.flip)==null?void 0:r.overflows)||[];if(p&&W.push(O[b]),m){const Z=TU(i,l,T);W.push(O[Z[0]],O[Z[1]])}if(R=[...R,{placement:i,overflows:W}],!W.every(Z=>Z<=0)){var G,B;const Z=(((G=a.flip)==null?void 0:G.index)||0)+1,te=V[Z];if(te&&(!(m==="alignment"?E!==Wr(te):!1)||R.every(F=>Wr(F.placement)===E?F.overflows[0]>0:!0)))return{data:{index:Z,overflows:R},reset:{placement:te}};let se=(B=R.filter(ie=>ie.overflows[0]<=0).sort((ie,F)=>ie.overflows[1]-F.overflows[1])[0])==null?void 0:B.placement;if(!se)switch(y){case"bestFit":{var Q;const ie=(Q=R.filter(F=>{if(_){const J=Wr(F.placement);return J===E||J==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(J=>J>0).reduce((J,A)=>J+A,0)]).sort((F,J)=>F[1]-J[1])[0])==null?void 0:Q[0];ie&&(se=ie);break}case"initialPlacement":se=u;break}if(i!==se)return{reset:{placement:se}}}return{}}}};function SN(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function CN(e){return SU.some(t=>e[t]>=0)}const zU=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=ws(e,t);switch(r){case"referenceHidden":{const a=await Sc(t,{...i,elementContext:"reference"}),l=SN(a,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:CN(l)}}}case"escaped":{const a=await Sc(t,{...i,altBoundary:!0}),l=SN(a,n.floating);return{data:{escapedOffsets:l,escaped:CN(l)}}}default:return{}}}}},xE=new Set(["left","top"]);async function BU(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),l=js(n),u=Wa(n),d=Wr(n)==="y",h=xE.has(l)?-1:1,p=a&&d?-1:1,m=ws(t,e);let{mainAxis:x,crossAxis:y,alignmentAxis:N}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&typeof N=="number"&&(y=u==="end"?N*-1:N),d?{x:y*p,y:x*h}:{x:x*h,y:y*p}}const VU=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:l,middlewareData:u}=t,d=await BU(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:l}}}}},UU=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:u={fn:k=>{let{x:b,y:E}=k;return{x:b,y:E}}},...d}=ws(e,t),h={x:n,y:r},p=await Sc(t,d),m=Wr(js(i)),x=Yy(m);let y=h[x],N=h[m];if(a){const k=x==="y"?"top":"left",b=x==="y"?"bottom":"right",E=y+p[k],C=y-p[b];y=dx(E,y,C)}if(l){const k=m==="y"?"top":"left",b=m==="y"?"bottom":"right",E=N+p[k],C=N-p[b];N=dx(E,N,C)}const w=u.fn({...t,[x]:y,[m]:N});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[x]:a,[m]:l}}}}}},$U=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:l}=t,{offset:u=0,mainAxis:d=!0,crossAxis:h=!0}=ws(e,t),p={x:n,y:r},m=Wr(i),x=Yy(m);let y=p[x],N=p[m];const w=ws(u,t),k=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(d){const C=x==="y"?"height":"width",T=a.reference[x]-a.floating[C]+k.mainAxis,I=a.reference[x]+a.reference[C]-k.mainAxis;y<T?y=T:y>I&&(y=I)}if(h){var b,E;const C=x==="y"?"width":"height",T=xE.has(js(i)),I=a.reference[m]-a.floating[C]+(T&&((b=l.offset)==null?void 0:b[m])||0)+(T?0:k.crossAxis),_=a.reference[m]+a.reference[C]+(T?0:((E=l.offset)==null?void 0:E[m])||0)-(T?k.crossAxis:0);N<I?N=I:N>_&&(N=_)}return{[x]:y,[m]:N}}}},HU=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:l,elements:u}=t,{apply:d=()=>{},...h}=ws(e,t),p=await Sc(t,h),m=js(i),x=Wa(i),y=Wr(i)==="y",{width:N,height:w}=a.floating;let k,b;m==="top"||m==="bottom"?(k=m,b=x===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(b=m,k=x==="end"?"top":"bottom");const E=w-p.top-p.bottom,C=N-p.left-p.right,T=pi(w-p[k],E),I=pi(N-p[b],C),_=!t.middlewareData.shift;let V=T,O=I;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(O=C),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(V=E),_&&!x){const R=$n(p.left,0),G=$n(p.right,0),B=$n(p.top,0),Q=$n(p.bottom,0);y?O=N-2*(R!==0||G!==0?R+G:$n(p.left,p.right)):V=w-2*(B!==0||Q!==0?B+Q:$n(p.top,p.bottom))}await d({...t,availableWidth:O,availableHeight:V});const W=await l.getDimensions(u.floating);return N!==W.width||w!==W.height?{reset:{rects:!0}}:{}}}};function Qh(){return typeof window<"u"}function qa(e){return yE(e)?(e.nodeName||"").toLowerCase():"#document"}function qn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function es(e){var t;return(t=(yE(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yE(e){return Qh()?e instanceof Node||e instanceof qn(e).Node:!1}function Pr(e){return Qh()?e instanceof Element||e instanceof qn(e).Element:!1}function Jr(e){return Qh()?e instanceof HTMLElement||e instanceof qn(e).HTMLElement:!1}function EN(e){return!Qh()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qn(e).ShadowRoot}const WU=new Set(["inline","contents"]);function Qc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Tr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!WU.has(i)}const qU=new Set(["table","td","th"]);function GU(e){return qU.has(qa(e))}const YU=[":popover-open",":modal"];function Xh(e){return YU.some(t=>{try{return e.matches(t)}catch{return!1}})}const KU=["transform","translate","scale","rotate","perspective"],QU=["transform","translate","scale","rotate","perspective","filter"],XU=["paint","layout","strict","content"];function Xy(e){const t=Jy(),n=Pr(e)?Tr(e):e;return KU.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||QU.some(r=>(n.willChange||"").includes(r))||XU.some(r=>(n.contain||"").includes(r))}function JU(e){let t=mi(e);for(;Jr(t)&&!Ma(t);){if(Xy(t))return t;if(Xh(t))return null;t=mi(t)}return null}function Jy(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const ZU=new Set(["html","body","#document"]);function Ma(e){return ZU.has(qa(e))}function Tr(e){return qn(e).getComputedStyle(e)}function Jh(e){return Pr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mi(e){if(qa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||EN(e)&&e.host||es(e);return EN(t)?t.host:t}function vE(e){const t=mi(e);return Ma(t)?e.ownerDocument?e.ownerDocument.body:e.body:Jr(t)&&Qc(t)?t:vE(t)}function Cc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=vE(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),l=qn(i);if(a){const u=fx(l);return t.concat(l,l.visualViewport||[],Qc(i)?i:[],u&&n?Cc(u):[])}return t.concat(i,Cc(i,[],n))}function fx(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bE(e){const t=Tr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Jr(e),a=i?e.offsetWidth:n,l=i?e.offsetHeight:r,u=gh(n)!==a||gh(r)!==l;return u&&(n=a,r=l),{width:n,height:r,$:u}}function Zy(e){return Pr(e)?e:e.contextElement}function ha(e){const t=Zy(e);if(!Jr(t))return Kr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=bE(t);let l=(a?gh(n.width):n.width)/r,u=(a?gh(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const e$=Kr(0);function wE(e){const t=qn(e);return!Jy()||!t.visualViewport?e$:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function t$(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qn(e)?!1:t}function po(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Zy(e);let l=Kr(1);t&&(r?Pr(r)&&(l=ha(r)):l=ha(e));const u=t$(a,n,r)?wE(a):Kr(0);let d=(i.left+u.x)/l.x,h=(i.top+u.y)/l.y,p=i.width/l.x,m=i.height/l.y;if(a){const x=qn(a),y=r&&Pr(r)?qn(r):r;let N=x,w=fx(N);for(;w&&r&&y!==N;){const k=ha(w),b=w.getBoundingClientRect(),E=Tr(w),C=b.left+(w.clientLeft+parseFloat(E.paddingLeft))*k.x,T=b.top+(w.clientTop+parseFloat(E.paddingTop))*k.y;d*=k.x,h*=k.y,p*=k.x,m*=k.y,d+=C,h+=T,N=qn(w),w=fx(N)}}return yh({width:p,height:m,x:d,y:h})}function Zh(e,t){const n=Jh(e).scrollLeft;return t?t.left+n:po(es(e)).left+n}function jE(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Zh(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function n$(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",l=es(r),u=t?Xh(t.floating):!1;if(r===l||u&&a)return n;let d={scrollLeft:0,scrollTop:0},h=Kr(1);const p=Kr(0),m=Jr(r);if((m||!m&&!a)&&((qa(r)!=="body"||Qc(l))&&(d=Jh(r)),Jr(r))){const y=po(r);h=ha(r),p.x=y.x+r.clientLeft,p.y=y.y+r.clientTop}const x=l&&!m&&!a?jE(l,d):Kr(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+p.x+x.x,y:n.y*h.y-d.scrollTop*h.y+p.y+x.y}}function r$(e){return Array.from(e.getClientRects())}function s$(e){const t=es(e),n=Jh(e),r=e.ownerDocument.body,i=$n(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=$n(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Zh(e);const u=-n.scrollTop;return Tr(r).direction==="rtl"&&(l+=$n(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:l,y:u}}const PN=25;function i$(e,t){const n=qn(e),r=es(e),i=n.visualViewport;let a=r.clientWidth,l=r.clientHeight,u=0,d=0;if(i){a=i.width,l=i.height;const p=Jy();(!p||p&&t==="fixed")&&(u=i.offsetLeft,d=i.offsetTop)}const h=Zh(r);if(h<=0){const p=r.ownerDocument,m=p.body,x=getComputedStyle(m),y=p.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,N=Math.abs(r.clientWidth-m.clientWidth-y);N<=PN&&(a-=N)}else h<=PN&&(a+=h);return{width:a,height:l,x:u,y:d}}const o$=new Set(["absolute","fixed"]);function a$(e,t){const n=po(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Jr(e)?ha(e):Kr(1),l=e.clientWidth*a.x,u=e.clientHeight*a.y,d=i*a.x,h=r*a.y;return{width:l,height:u,x:d,y:h}}function TN(e,t,n){let r;if(t==="viewport")r=i$(e,n);else if(t==="document")r=s$(es(e));else if(Pr(t))r=a$(t,n);else{const i=wE(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return yh(r)}function NE(e,t){const n=mi(e);return n===t||!Pr(n)||Ma(n)?!1:Tr(n).position==="fixed"||NE(n,t)}function l$(e,t){const n=t.get(e);if(n)return n;let r=Cc(e,[],!1).filter(u=>Pr(u)&&qa(u)!=="body"),i=null;const a=Tr(e).position==="fixed";let l=a?mi(e):e;for(;Pr(l)&&!Ma(l);){const u=Tr(l),d=Xy(l);!d&&u.position==="fixed"&&(i=null),(a?!d&&!i:!d&&u.position==="static"&&!!i&&o$.has(i.position)||Qc(l)&&!d&&NE(e,l))?r=r.filter(p=>p!==l):i=u,l=mi(l)}return t.set(e,r),r}function c$(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const l=[...n==="clippingAncestors"?Xh(t)?[]:l$(t,this._c):[].concat(n),r],u=l[0],d=l.reduce((h,p)=>{const m=TN(t,p,i);return h.top=$n(m.top,h.top),h.right=pi(m.right,h.right),h.bottom=pi(m.bottom,h.bottom),h.left=$n(m.left,h.left),h},TN(t,u,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function u$(e){const{width:t,height:n}=bE(e);return{width:t,height:n}}function d$(e,t,n){const r=Jr(t),i=es(t),a=n==="fixed",l=po(e,!0,a,t);let u={scrollLeft:0,scrollTop:0};const d=Kr(0);function h(){d.x=Zh(i)}if(r||!r&&!a)if((qa(t)!=="body"||Qc(i))&&(u=Jh(t)),r){const y=po(t,!0,a,t);d.x=y.x+t.clientLeft,d.y=y.y+t.clientTop}else i&&h();a&&!r&&i&&h();const p=i&&!r&&!a?jE(i,u):Kr(0),m=l.left+u.scrollLeft-d.x-p.x,x=l.top+u.scrollTop-d.y-p.y;return{x:m,y:x,width:l.width,height:l.height}}function $m(e){return Tr(e).position==="static"}function AN(e,t){if(!Jr(e)||Tr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return es(e)===n&&(n=n.ownerDocument.body),n}function kE(e,t){const n=qn(e);if(Xh(e))return n;if(!Jr(e)){let i=mi(e);for(;i&&!Ma(i);){if(Pr(i)&&!$m(i))return i;i=mi(i)}return n}let r=AN(e,t);for(;r&&GU(r)&&$m(r);)r=AN(r,t);return r&&Ma(r)&&$m(r)&&!Xy(r)?n:r||JU(e)||n}const h$=async function(e){const t=this.getOffsetParent||kE,n=this.getDimensions,r=await n(e.floating);return{reference:d$(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function f$(e){return Tr(e).direction==="rtl"}const p$={convertOffsetParentRelativeRectToViewportRelativeRect:n$,getDocumentElement:es,getClippingRect:c$,getOffsetParent:kE,getElementRects:h$,getClientRects:r$,getDimensions:u$,getScale:ha,isElement:Pr,isRTL:f$};function SE(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function m$(e,t){let n=null,r;const i=es(e);function a(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,d){u===void 0&&(u=!1),d===void 0&&(d=1),a();const h=e.getBoundingClientRect(),{left:p,top:m,width:x,height:y}=h;if(u||t(),!x||!y)return;const N=Cd(m),w=Cd(i.clientWidth-(p+x)),k=Cd(i.clientHeight-(m+y)),b=Cd(p),C={rootMargin:-N+"px "+-w+"px "+-k+"px "+-b+"px",threshold:$n(0,pi(1,d))||1};let T=!0;function I(_){const V=_[0].intersectionRatio;if(V!==d){if(!T)return l();V?l(!1,V):r=setTimeout(()=>{l(!1,1e-7)},1e3)}V===1&&!SE(h,e.getBoundingClientRect())&&l(),T=!1}try{n=new IntersectionObserver(I,{...C,root:i.ownerDocument})}catch{n=new IntersectionObserver(I,C)}n.observe(e)}return l(!0),a}function g$(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,h=Zy(e),p=i||a?[...h?Cc(h):[],...Cc(t)]:[];p.forEach(b=>{i&&b.addEventListener("scroll",n,{passive:!0}),a&&b.addEventListener("resize",n)});const m=h&&u?m$(h,n):null;let x=-1,y=null;l&&(y=new ResizeObserver(b=>{let[E]=b;E&&E.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var C;(C=y)==null||C.observe(t)})),n()}),h&&!d&&y.observe(h),y.observe(t));let N,w=d?po(e):null;d&&k();function k(){const b=po(e);w&&!SE(w,b)&&n(),w=b,N=requestAnimationFrame(k)}return n(),()=>{var b;p.forEach(E=>{i&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),m==null||m(),(b=y)==null||b.disconnect(),y=null,d&&cancelAnimationFrame(N)}}const x$=VU,y$=UU,v$=FU,b$=HU,w$=zU,_N=LU,j$=$U,N$=(e,t,n)=>{const r=new Map,i={platform:p$,...n},a={...i.platform,_c:r};return DU(e,t,{...i,platform:a})};var k$=typeof document<"u",S$=function(){},Yd=k$?S.useLayoutEffect:S$;function vh(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!vh(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!vh(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function CE(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function RN(e,t){const n=CE(e);return Math.round(t*n)/n}function Hm(e){const t=S.useRef(e);return Yd(()=>{t.current=e}),t}function C$(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:l}={},transform:u=!0,whileElementsMounted:d,open:h}=e,[p,m]=S.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,y]=S.useState(r);vh(x,r)||y(r);const[N,w]=S.useState(null),[k,b]=S.useState(null),E=S.useCallback(F=>{F!==_.current&&(_.current=F,w(F))},[]),C=S.useCallback(F=>{F!==V.current&&(V.current=F,b(F))},[]),T=a||N,I=l||k,_=S.useRef(null),V=S.useRef(null),O=S.useRef(p),W=d!=null,R=Hm(d),G=Hm(i),B=Hm(h),Q=S.useCallback(()=>{if(!_.current||!V.current)return;const F={placement:t,strategy:n,middleware:x};G.current&&(F.platform=G.current),N$(_.current,V.current,F).then(J=>{const A={...J,isPositioned:B.current!==!1};Z.current&&!vh(O.current,A)&&(O.current=A,Bc.flushSync(()=>{m(A)}))})},[x,t,n,G,B]);Yd(()=>{h===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,m(F=>({...F,isPositioned:!1})))},[h]);const Z=S.useRef(!1);Yd(()=>(Z.current=!0,()=>{Z.current=!1}),[]),Yd(()=>{if(T&&(_.current=T),I&&(V.current=I),T&&I){if(R.current)return R.current(T,I,Q);Q()}},[T,I,Q,R,W]);const te=S.useMemo(()=>({reference:_,floating:V,setReference:E,setFloating:C}),[E,C]),se=S.useMemo(()=>({reference:T,floating:I}),[T,I]),ie=S.useMemo(()=>{const F={position:n,left:0,top:0};if(!se.floating)return F;const J=RN(se.floating,p.x),A=RN(se.floating,p.y);return u?{...F,transform:"translate("+J+"px, "+A+"px)",...CE(se.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:J,top:A}},[n,u,se.floating,p.x,p.y]);return S.useMemo(()=>({...p,update:Q,refs:te,elements:se,floatingStyles:ie}),[p,Q,te,se,ie])}const E$=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?_N({element:r.current,padding:i}).fn(n):{}:r?_N({element:r,padding:i}).fn(n):{}}}},P$=(e,t)=>({...x$(e),options:[e,t]}),T$=(e,t)=>({...y$(e),options:[e,t]}),A$=(e,t)=>({...j$(e),options:[e,t]}),_$=(e,t)=>({...v$(e),options:[e,t]}),R$=(e,t)=>({...b$(e),options:[e,t]}),I$=(e,t)=>({...w$(e),options:[e,t]}),M$=(e,t)=>({...E$(e),options:[e,t]});var O$="Arrow",EE=S.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return s.jsx(et.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});EE.displayName=O$;var D$=EE;function L$(e){const[t,n]=S.useState(void 0);return rn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,u;if("borderBoxSize"in a){const d=a.borderBoxSize,h=Array.isArray(d)?d[0]:d;l=h.inlineSize,u=h.blockSize}else l=e.offsetWidth,u=e.offsetHeight;n({width:l,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var e0="Popper",[PE,ef]=yi(e0),[F$,TE]=PE(e0),AE=e=>{const{__scopePopper:t,children:n}=e,[r,i]=S.useState(null);return s.jsx(F$,{scope:t,anchor:r,onAnchorChange:i,children:n})};AE.displayName=e0;var _E="PopperAnchor",RE=S.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=TE(_E,n),l=S.useRef(null),u=pt(t,l),d=S.useRef(null);return S.useEffect(()=>{const h=d.current;d.current=(r==null?void 0:r.current)||l.current,h!==d.current&&a.onAnchorChange(d.current)}),r?null:s.jsx(et.div,{...i,ref:u})});RE.displayName=_E;var t0="PopperContent",[z$,B$]=PE(t0),IE=S.forwardRef((e,t)=>{var re,me,ve,Ae,Ve,Fe;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:l=0,arrowPadding:u=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:y="optimized",onPlaced:N,...w}=e,k=TE(t0,n),[b,E]=S.useState(null),C=pt(t,bt=>E(bt)),[T,I]=S.useState(null),_=L$(T),V=(_==null?void 0:_.width)??0,O=(_==null?void 0:_.height)??0,W=r+(a!=="center"?"-"+a:""),R=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},G=Array.isArray(h)?h:[h],B=G.length>0,Q={padding:R,boundary:G.filter(U$),altBoundary:B},{refs:Z,floatingStyles:te,placement:se,isPositioned:ie,middlewareData:F}=C$({strategy:"fixed",placement:W,whileElementsMounted:(...bt)=>g$(...bt,{animationFrame:y==="always"}),elements:{reference:k.anchor},middleware:[P$({mainAxis:i+O,alignmentAxis:l}),d&&T$({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?A$():void 0,...Q}),d&&_$({...Q}),R$({...Q,apply:({elements:bt,rects:It,availableWidth:Et,availableHeight:_e})=>{const{width:ut,height:gn}=It.reference,Ft=bt.floating.style;Ft.setProperty("--radix-popper-available-width",`${Et}px`),Ft.setProperty("--radix-popper-available-height",`${_e}px`),Ft.setProperty("--radix-popper-anchor-width",`${ut}px`),Ft.setProperty("--radix-popper-anchor-height",`${gn}px`)}}),T&&M$({element:T,padding:u}),$$({arrowWidth:V,arrowHeight:O}),x&&I$({strategy:"referenceHidden",...Q})]}),[J,A]=DE(se),L=Xr(N);rn(()=>{ie&&(L==null||L())},[ie,L]);const ee=(re=F.arrow)==null?void 0:re.x,M=(me=F.arrow)==null?void 0:me.y,pe=((ve=F.arrow)==null?void 0:ve.centerOffset)!==0,[Pe,le]=S.useState();return rn(()=>{b&&le(window.getComputedStyle(b).zIndex)},[b]),s.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...te,transform:ie?te.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pe,"--radix-popper-transform-origin":[(Ae=F.transformOrigin)==null?void 0:Ae.x,(Ve=F.transformOrigin)==null?void 0:Ve.y].join(" "),...((Fe=F.hide)==null?void 0:Fe.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:s.jsx(z$,{scope:n,placedSide:J,onArrowChange:I,arrowX:ee,arrowY:M,shouldHideArrow:pe,children:s.jsx(et.div,{"data-side":J,"data-align":A,...w,ref:C,style:{...w.style,animation:ie?void 0:"none"}})})})});IE.displayName=t0;var ME="PopperArrow",V$={top:"bottom",right:"left",bottom:"top",left:"right"},OE=S.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=B$(ME,r),l=V$[a.placedSide];return s.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:s.jsx(D$,{...i,ref:n,style:{...i.style,display:"block"}})})});OE.displayName=ME;function U$(e){return e!==null}var $$=e=>({name:"transformOrigin",options:e,fn(t){var k,b,E;const{placement:n,rects:r,middlewareData:i}=t,l=((k=i.arrow)==null?void 0:k.centerOffset)!==0,u=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[h,p]=DE(n),m={start:"0%",center:"50%",end:"100%"}[p],x=(((b=i.arrow)==null?void 0:b.x)??0)+u/2,y=(((E=i.arrow)==null?void 0:E.y)??0)+d/2;let N="",w="";return h==="bottom"?(N=l?m:`${x}px`,w=`${-d}px`):h==="top"?(N=l?m:`${x}px`,w=`${r.floating.height+d}px`):h==="right"?(N=`${-d}px`,w=l?m:`${y}px`):h==="left"&&(N=`${r.floating.width+d}px`,w=l?m:`${y}px`),{data:{x:N,y:w}}}});function DE(e){const[t,n="center"]=e.split("-");return[t,n]}var LE=AE,FE=RE,zE=IE,BE=OE,H$="Portal",n0=S.forwardRef((e,t)=>{var u;const{container:n,...r}=e,[i,a]=S.useState(!1);rn(()=>a(!0),[]);const l=n||i&&((u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body);return l?DM.createPortal(s.jsx(et.div,{...r,ref:t}),l):null});n0.displayName=H$;var W$=Lx[" useInsertionEffect ".trim().toString()]||rn;function mo({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,a,l]=q$({defaultProp:t,onChange:n}),u=e!==void 0,d=u?e:i;{const p=S.useRef(e!==void 0);S.useEffect(()=>{const m=p.current;m!==u&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=u},[u,r])}const h=S.useCallback(p=>{var m;if(u){const x=G$(p)?p(e):p;x!==e&&((m=l.current)==null||m.call(l,x))}else a(p)},[u,e,a,l]);return[d,h]}function q$({defaultProp:e,onChange:t}){const[n,r]=S.useState(e),i=S.useRef(n),a=S.useRef(t);return W$(()=>{a.current=t},[t]),S.useEffect(()=>{var l;i.current!==n&&((l=a.current)==null||l.call(a,n),i.current=n)},[n,i]),[n,r,a]}function G$(e){return typeof e=="function"}function Y$(e){const t=S.useRef({value:e,previous:e});return S.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var VE=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),K$="VisuallyHidden",Q$=S.forwardRef((e,t)=>
vendor: 7,152 bytes, lines 459-474
459s.jsx(et.span,{...e,ref:t,style:{...VE,...e.style}}));Q$.displayName=K$;var X$=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Jo=new WeakMap,Ed=new WeakMap,Pd={},Wm=0,UE=function(e){return e&&(e.host||UE(e.parentNode))},J$=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=UE(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Z$=function(e,t,n,r){var i=J$(t,Array.isArray(e)?e:[e]);Pd[n]||(Pd[n]=new WeakMap);var a=Pd[n],l=[],u=new Set,d=new Set(i),h=function(m){!m||u.has(m)||(u.add(m),h(m.parentNode))};i.forEach(h);var p=function(m){!m||d.has(m)||Array.prototype.forEach.call(m.children,function(x){if(u.has(x))p(x);else try{var y=x.getAttribute(r),N=y!==null&&y!=="false",w=(Jo.get(x)||0)+1,k=(a.get(x)||0)+1;Jo.set(x,w),a.set(x,k),l.push(x),w===1&&N&&Ed.set(x,!0),k===1&&x.setAttribute(n,"true"),N||x.setAttribute(r,"true")}catch(b){console.error("aria-hidden: cannot operate on ",x,b)}})};return p(t),u.clear(),Wm++,function(){l.forEach(function(m){var x=Jo.get(m)-1,y=a.get(m)-1;Jo.set(m,x),a.set(m,y),x||(Ed.has(m)||m.removeAttribute(r),Ed.delete(m)),y||m.removeAttribute(n)}),Wm--,Wm||(Jo=new WeakMap,Jo=new WeakMap,Ed=new WeakMap,Pd={})}},$E=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=X$(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Z$(r,i,n,"aria-hidden")):function(){return null}},Hr=function(){return Hr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},Hr.apply(this,arguments)};function HE(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function e7(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Kd="right-scroll-bar-position",Qd="width-before-scroll-bar",t7="with-scroll-bars-hidden",n7="--removed-body-scroll-bar-size";function qm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function r7(e,t){var n=S.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var s7=typeof window<"u"?S.useLayoutEffect:S.useEffect,IN=new WeakMap;function i7(e,t){var n=r7(null,function(r){return e.forEach(function(i){return qm(i,r)})});return s7(function(){var r=IN.get(n);if(r){var i=new Set(r),a=new Set(e),l=n.current;i.forEach(function(u){a.has(u)||qm(u,null)}),a.forEach(function(u){i.has(u)||qm(u,l)})}IN.set(n,e)},[e]),n}function o7(e){return e}function a7(e,t){t===void 0&&(t=o7);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var l=t(a,r);return n.push(l),function(){n=n.filter(function(u){return u!==l})}},assignSyncMedium:function(a){for(r=!0;n.length;){var l=n;n=[],l.forEach(a)}n={push:function(u){return a(u)},filter:function(){return n}}},assignMedium:function(a){r=!0;var l=[];if(n.length){var u=n;n=[],u.forEach(a),l=n}var d=function(){var p=l;l=[],p.forEach(a)},h=function(){return Promise.resolve().then(d)};h(),n={push:function(p){l.push(p),h()},filter:function(p){return l=l.filter(p),n}}}};return i}function l7(e){e===void 0&&(e={});var t=a7(null);return t.options=Hr({async:!0,ssr:!1},e),t}var WE=function(e){var t=e.sideCar,n=HE(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return S.createElement(r,Hr({},n))};WE.isSideCarExport=!0;function c7(e,t){return e.useMedium(t),WE}var qE=l7(),Gm=function(){},tf=S.forwardRef(function(e,t){var n=S.useRef(null),r=S.useState({onScrollCapture:Gm,onWheelCapture:Gm,onTouchMoveCapture:Gm}),i=r[0],a=r[1],l=e.forwardProps,u=e.children,d=e.className,h=e.removeScrollBar,p=e.enabled,m=e.shards,x=e.sideCar,y=e.noRelative,N=e.noIsolation,w=e.inert,k=e.allowPinchZoom,b=e.as,E=b===void 0?"div":b,C=e.gapMode,T=HE(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),I=x,_=i7([n,t]),V=Hr(Hr({},T),i);return S.createElement(S.Fragment,null,p&&S.createElement(I,{sideCar:qE,removeScrollBar:h,shards:m,noRelative:y,noIsolation:N,inert:w,setCallbacks:a,allowPinchZoom:!!k,lockRef:n,gapMode:C}),l?S.cloneElement(S.Children.only(u),Hr(Hr({},V),{ref:_})):S.createElement(E,Hr({},V,{className:d,ref:_}),u))});tf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};tf.classNames={fullWidth:Qd,zeroRight:Kd};var u7=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function d7(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u7();return t&&e.setAttribute("nonce",t),e}function h7(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function f7(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var p7=function(){var e=0,t=null;return{add:function(n){e==0&&(t=d7())&&(h7(t,n),f7(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},m7=function(){var e=p7();return function(t,n){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},GE=function(){var e=m7(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},g7={left:0,top:0,right:0,gap:0},Ym=function(e){return parseInt(e||"",10)||0},x7=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Ym(n),Ym(r),Ym(i)]},y7=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return g7;var t=x7(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},v7=GE(),fa="data-scroll-locked",b7=function(e,t,n,r){var i=e.left,a=e.top,l=e.right,u=e.gap;return n===void 0&&(n="margin"),`
460  .`.concat(t7,` {
461   overflow: hidden `).concat(r,`;
462   padding-right: `).concat(u,"px ").concat(r,`;
463  }
464  body[`).concat(fa,`] {
465    overflow: hidden `).concat(r,`;
466    overscroll-behavior: contain;
467    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
468    padding-left: `.concat(i,`px;
469    padding-top: `).concat(a,`px;
470    padding-right: `).concat(l,`px;
471    margin-left:0;
472    margin-top:0;
473    margin-right: `).concat(u,"px ").concat(r,`;
474    `),n==="padding"&&"padding-right: ".concat(u,"px ").concat(r,";
474")].filter(Boolean).join(""),`
475  }
476  
477  .`).concat(Kd,` {
478    right: `).concat(u,"px ").concat(r,`;
479  }
480  
481  .`).concat(Qd,` {
482    margin-right: `).concat(u,"px ").concat(r,`;
483  }
484  
485  .`).concat(Kd," .").concat(Kd,` {
486    right: 0 `).concat(r,`;
487  }
488  
489  .`).concat(Qd," .").concat(Qd,` {
490    margin-right: 0 `).concat(r,`;
491  }
492  
493  body[`).concat(fa,`] {
494    `).concat(n7,": ").concat(u,`px;
495  }
496`)},MN=function(){var e=parseInt(document.body.getAttribute(fa)||"0",10);return isFinite(e)?e:0},w7=function(){S.useEffect(function(){return document.body.setAttribute(fa,(MN()+1).toString()),function(){var e=MN()-1;e<=0?document.body.removeAttribute(fa):document.body.setAttribute(fa,e.toString())}},[])},j7=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;w7();var a=S.useMemo(function(){return y7(i)},[i]);return S.createElement(v7,{styles:b7(a,!t,i,n?"":"!important")})},px=!1;if(typeof window<"u")try{var Td=Object.defineProperty({},"passive",{get:function(){return px=!0,!0}});window.addEventListener("test",Td,Td),window.removeEventListener("test",Td,Td)}catch{px=!1}var Zo=px?{passive:!1}:!1,N7=function(e){return e.tagName==="TEXTAREA"},YE=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!N7(e)&&n[t]==="visible")},k7=function(e){return YE(e,"overflowY")},S7=function(e){return YE(e,"overflowX")},ON=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=KE(e,r);if(i){var a=QE(e,r),l=a[1],u=a[2];if(l>u)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},C7=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},E7=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},KE=function(e,t){return e==="v"?k7(t):S7(t)},QE=function(e,t){return e==="v"?C7(t):E7(t)},P7=function(e,t){return e==="h"&&t==="rtl"?-1:1},T7=function(e,t,n,r,i){var a=P7(e,window.getComputedStyle(t).direction),l=a*r,u=n.target,d=t.contains(u),h=!1,p=l>0,m=0,x=0;do{if(!u)break;var y=QE(e,u),N=y[0],w=y[1],k=y[2],b=w-k-a*N;(N||b)&&KE(e,u)&&(m+=b,x+=N);var E=u.parentNode;u=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!d&&u!==document.body||d&&(t.contains(u)||t===u));return(p&&Math.abs(m)<1||!p&&Math.abs(x)<1)&&(h=!0),h},Ad=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},DN=function(e){return[e.deltaX,e.deltaY]},LN=function(e){return e&&"current"in e?e.current:e},A7=function(e,t){return e[0]===t[0]&&e[1]===t[1]},_7=function(e){return`
497  .block-interactivity-`.concat(e,` {pointer-events: none;}
498  .allow-interactivity-`).concat(e,` {pointer-events: all;}
499`)},R7=0,ea=[];function I7(e){var t=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),i=S.useState(R7++)[0],a=S.useState(GE)[0],l=S.useRef(e);S.useEffect(function(){l.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var w=e7([e.lockRef.current],(e.shards||[]).map(LN),!0).filter(Boolean);return w.forEach(function(k){return k.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),w.forEac
vendor: 4,631 bytes, line 499
499h(function(k){return k.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=S.useCallback(function(w,k){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!l.current.allowPinchZoom;var b=Ad(w),E=n.current,C="deltaX"in w?w.deltaX:E[0]-b[0],T="deltaY"in w?w.deltaY:E[1]-b[1],I,_=w.target,V=Math.abs(C)>Math.abs(T)?"h":"v";if("touches"in w&&V==="h"&&_.type==="range")return!1;var O=ON(V,_);if(!O)return!0;if(O?I=V:(I=V==="v"?"h":"v",O=ON(V,_)),!O)return!1;if(!r.current&&"changedTouches"in w&&(C||T)&&(r.current=I),!I)return!0;var W=r.current||I;return T7(W,k,w,W==="h"?C:T)},[]),d=S.useCallback(function(w){var k=w;if(!(!ea.length||ea[ea.length-1]!==a)){var b="deltaY"in k?DN(k):Ad(k),E=t.current.filter(function(I){return I.name===k.type&&(I.target===k.target||k.target===I.shadowParent)&&A7(I.delta,b)})[0];if(E&&E.should){k.cancelable&&k.preventDefault();return}if(!E){var C=(l.current.shards||[]).map(LN).filter(Boolean).filter(function(I){return I.contains(k.target)}),T=C.length>0?u(k,C[0]):!l.current.noIsolation;T&&k.cancelable&&k.preventDefault()}}},[]),h=S.useCallback(function(w,k,b,E){var C={name:w,delta:k,target:b,should:E,shadowParent:M7(b)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(T){return T!==C})},1)},[]),p=S.useCallback(function(w){n.current=Ad(w),r.current=void 0},[]),m=S.useCallback(function(w){h(w.type,DN(w),w.target,u(w,e.lockRef.current))},[]),x=S.useCallback(function(w){h(w.type,Ad(w),w.target,u(w,e.lockRef.current))},[]);S.useEffect(function(){return ea.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:x}),document.addEventListener("wheel",d,Zo),document.addEventListener("touchmove",d,Zo),document.addEventListener("touchstart",p,Zo),function(){ea=ea.filter(function(w){return w!==a}),document.removeEventListener("wheel",d,Zo),document.removeEventListener("touchmove",d,Zo),document.removeEventListener("touchstart",p,Zo)}},[]);var y=e.removeScrollBar,N=e.inert;return S.createElement(S.Fragment,null,N?S.createElement(a,{styles:_7(i)}):null,y?S.createElement(j7,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function M7(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const O7=c7(qE,I7);var r0=S.forwardRef(function(e,t){return S.createElement(tf,Hr({},e,{ref:t,sideCar:O7}))});r0.classNames=tf.classNames;var D7=[" ","Enter","ArrowUp","ArrowDown"],L7=[" ","Enter"],go="Select",[nf,rf,F7]=Yh(go),[Ga]=yi(go,[F7,ef]),sf=ef(),[z7,vi]=Ga(go),[B7,V7]=Ga(go),XE=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:l,defaultValue:u,onValueChange:d,dir:h,name:p,autoComplete:m,disabled:x,required:y,form:N}=e,w=sf(t),[k,b]=S.useState(null),[E,C]=S.useState(null),[T,I]=S.useState(!1),_=Kh(h),[V,O]=mo({prop:r,defaultProp:i??!1,onChange:a,caller:go}),[W,R]=mo({prop:l,defaultProp:u,onChange:d,caller:go}),G=S.useRef(null),B=k?N||!!k.closest("form"):!0,[Q,Z]=S.useState(new Set),te=Array.from(Q).map(se=>se.props.value).join(";");return s.jsx(LE,{...w,children:s.jsxs(z7,{required:y,scope:t,trigger:k,onTriggerChange:b,valueNode:E,onValueNodeChange:C,valueNodeHasChildren:T,onValueNodeHasChildrenChange:I,contentId:fi(),value:W,onValueChange:R,open:V,onOpenChange:O,dir:_,triggerPointerDownPosRef:G,disabled:x,children:[s.jsx(nf.Provider,{scope:t,children:s.jsx(B7,{scope:e.__scopeSelect,onNativeOptionAdd:S.useCallback(se=>{Z(ie=>new Set(ie).add(se))},[]),onNativeOptionRemove:S.useCallback(se=>{Z(ie=>{const F=new Set(ie);return F.delete(se),F})},[]),children:n})}),B?s.jsxs(wP,{"aria-hidden":!0,required:y,tabIndex:-1,name:p,autoComplete:m,value:W,onChange:se=>R(se.target.value),disabled:x,form:N,children:[W===void 0?s.jsx("option",{value:""}):null,Array.from(Q)]},te):null]})})};XE.displayName=go;var JE="SelectTrigger",ZE=S.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,a=sf(n),l=vi(JE,n),u=l.disabled||r,d=pt(t,l.onTriggerChange),h=rf(n),p=S.useRef("touch"),[m,x,y]=NP(w=>{const k=h().filter(C=>!C.disabled),b=k.find(C=>C.value===l.value),E=kP(k,w,b);E!==void 0&&l.onValueChange(E.value)}),N=w=>{u||(l.onOpenChange(!0),y()),w&&(l.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return s.jsx(FE,{asChild:!0,...a,children:s.jsx(et.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":jP(l.value)?"":void 0,...i,ref:d,onClick:Re(i.onClick,w=>
vendor: 14,381 bytes, line 499
499{w.currentTarget.focus(),p.current!=="mouse"&&N(w)}),onPointerDown:Re(i.onPointerDown,w=>{p.current=w.pointerType;const k=w.target;k.hasPointerCapture(w.pointerId)&&k.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(N(w),w.preventDefault())}),onKeyDown:Re(i.onKeyDown,w=>{const k=m.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&x(w.key),!(k&&w.key===" ")&&D7.includes(w.key)&&(N(),w.preventDefault())})})})});ZE.displayName=JE;var eP="SelectValue",tP=S.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:a,placeholder:l="",...u}=e,d=vi(eP,n),{onValueNodeHasChildrenChange:h}=d,p=a!==void 0,m=pt(t,d.onValueNodeChange);return rn(()=>{h(p)},[h,p]),s.jsx(et.span,{...u,ref:m,style:{pointerEvents:"none"},children:jP(d.value)?s.jsx(s.Fragment,{children:l}):a})});tP.displayName=eP;var U7="SelectIcon",nP=S.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return s.jsx(et.span,{"aria-hidden":!0,...i,ref:t,children:r||"▼"})});nP.displayName=U7;var $7="SelectPortal",rP=e=>s.jsx(n0,{asChild:!0,...e});rP.displayName=$7;var xo="SelectContent",sP=S.forwardRef((e,t)=>{const n=vi(xo,e.__scopeSelect),[r,i]=S.useState();if(rn(()=>{i(new DocumentFragment)},[]),!n.open){const a=r;return a?Bc.createPortal(s.jsx(iP,{scope:e.__scopeSelect,children:s.jsx(nf.Slot,{scope:e.__scopeSelect,children:s.jsx("div",{children:e.children})})}),a):null}return s.jsx(oP,{...e,ref:t})});sP.displayName=xo;var Nr=10,[iP,bi]=Ga(xo),H7="SelectContentImpl",W7=Ra("SelectContent.RemoveScroll"),oP=S.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:l,side:u,sideOffset:d,align:h,alignOffset:p,arrowPadding:m,collisionBoundary:x,collisionPadding:y,sticky:N,hideWhenDetached:w,avoidCollisions:k,...b}=e,E=vi(xo,n),[C,T]=S.useState(null),[I,_]=S.useState(null),V=pt(t,re=>T(re)),[O,W]=S.useState(null),[R,G]=S.useState(null),B=rf(n),[Q,Z]=S.useState(!1),te=S.useRef(!1);S.useEffect(()=>{if(C)return $E(C)},[C]),pE();const se=S.useCallback(re=>{const[me,...ve]=B().map(Fe=>Fe.ref.current),[Ae]=ve.slice(-1),Ve=document.activeElement;for(const Fe of re)if(Fe===Ve||(Fe==null||Fe.scrollIntoView({block:"nearest"}),Fe===me&&I&&(I.scrollTop=0),Fe===Ae&&I&&(I.scrollTop=I.scrollHeight),Fe==null||Fe.focus(),document.activeElement!==Ve))return},[B,I]),ie=S.useCallback(()=>se([O,C]),[se,O,C]);S.useEffect(()=>{Q&&ie()},[Q,ie]);const{onOpenChange:F,triggerPointerDownPosRef:J}=E;S.useEffect(()=>{if(C){let re={x:0,y:0};const me=Ae=>{var Ve,Fe;re={x:Math.abs(Math.round(Ae.pageX)-(((Ve=J.current)==null?void 0:Ve.x)??0)),y:Math.abs(Math.round(Ae.pageY)-(((Fe=J.current)==null?void 0:Fe.y)??0))}},ve=Ae=>{re.x<=10&&re.y<=10?Ae.preventDefault():C.contains(Ae.target)||F(!1),document.removeEventListener("pointermove",me),J.current=null};return J.current!==null&&(document.addEventListener("pointermove",me),document.addEventListener("pointerup",ve,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",me),document.removeEventListener("pointerup",ve,{capture:!0})}}},[C,F,J]),S.useEffect(()=>{const re=()=>F(!1);return window.addEventListener("blur",re),window.addEventListener("resize",re),()=>{window.removeEventListener("blur",re),window.removeEventListener("resize",re)}},[F]);const[A,L]=NP(re=>{const me=B().filter(Ve=>!Ve.disabled),ve=me.find(Ve=>Ve.ref.current===document.activeElement),Ae=kP(me,re,ve);Ae&&setTimeout(()=>Ae.ref.current.focus())}),ee=S.useCallback((re,me,ve)=>{const Ae=!te.current&&!ve;(E.value!==void 0&&E.value===me||Ae)&&(W(re),Ae&&(te.current=!0))},[E.value]),M=S.useCallback(()=>C==null?void 0:C.focus(),[C]),pe=S.useCallback((re,me,ve)=>{const Ae=!te.current&&!ve;(E.value!==void 0&&E.value===me||Ae)&&G(re)},[E.value]),Pe=r==="popper"?mx:aP,le=Pe===mx?{side:u,sideOffset:d,align:h,alignOffset:p,arrowPadding:m,collisionBoundary:x,collisionPadding:y,sticky:N,hideWhenDetached:w,avoidCollisions:k}:{};return s.jsx(iP,{scope:n,content:C,viewport:I,onViewportChange:_,itemRefCallback:ee,selectedItem:O,onItemLeave:M,itemTextRefCallback:pe,focusSelectedItem:ie,selectedItemText:R,position:r,isPositioned:Q,searchRef:A,children:s.jsx(r0,{as:W7,allowPinchZoom:!0,children:s.jsx(Gy,{asChild:!0,trapped:E.open,onMountAutoFocus:re=>{re.preventDefault()},onUnmountAutoFocus:Re(i,re=>{var me;(me=E.trigger)==null||me.focus({preventScroll:!0}),re.preventDefault()}),children:s.jsx(qy,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:re=>re.preventDefault(),onDismiss:()=>E.onOpenChange(!1),children:s.jsx(Pe,{role:"listbox",id:E.contentId,"data-state":E.open?"open":"closed",dir:E.dir,onContextMenu:re=>re.preventDefault(),...b,...le,onPlaced:()=>Z(!0),ref:V,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:Re(b.onKeyDown,re=>{const me=re.ctrlKey||re.altKey||re.metaKey;if(re.key==="Tab"&&re.preventDefault(),!me&&re.key.length===1&&L(re.key),["ArrowUp","ArrowDown","Home","End"].includes(re.key)){let Ae=B().filter(Ve=>!Ve.disabled).map(Ve=>Ve.ref.current);if(["ArrowUp","End"].includes(re.key)&&(Ae=Ae.slice().reverse()),["ArrowUp","ArrowDown"].includes(re.key)){const Ve=re.target,Fe=Ae.indexOf(Ve);Ae=Ae.slice(Fe+1)}setTimeout(()=>se(Ae)),re.preventDefault()}})})})})})})});oP.displayName=H7;var q7="SelectItemAlignedPosition",aP=S.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,a=vi(xo,n),l=bi(xo,n),[u,d]=S.useState(null),[h,p]=S.useState(null),m=pt(t,V=>p(V)),x=rf(n),y=S.useRef(!1),N=S.useRef(!0),{viewport:w,selectedItem:k,selectedItemText:b,focusSelectedItem:E}=l,C=S.useCallback(()=>{if(a.trigger&&a.valueNode&&u&&h&&w&&k&&b){const V=a.trigger.getBoundingClientRect(),O=h.getBoundingClientRect(),W=a.valueNode.getBoundingClientRect(),R=b.getBoundingClientRect();if(a.dir!=="rtl"){const Ve=R.left-O.left,Fe=W.left-Ve,bt=V.left-Fe,It=V.width+bt,Et=Math.max(It,O.width),_e=window.innerWidth-Nr,ut=pN(Fe,[Nr,Math.max(Nr,_e-Et)]);u.style.minWidth=It+"px",u.style.left=ut+"px"}else{const Ve=O.right-R.right,Fe=window.innerWidth-W.right-Ve,bt=window.innerWidth-V.right-Fe,It=V.width+bt,Et=Math.max(It,O.width),_e=window.innerWidth-Nr,ut=pN(Fe,[Nr,Math.max(Nr,_e-Et)]);u.style.minWidth=It+"px",u.style.right=ut+"px"}const G=x(),B=window.innerHeight-Nr*2,Q=w.scrollHeight,Z=window.getComputedStyle(h),te=parseInt(Z.borderTopWidth,10),se=parseInt(Z.paddingTop,10),ie=parseInt(Z.borderBottomWidth,10),F=parseInt(Z.paddingBottom,10),J=te+se+Q+F+ie,A=Math.min(k.offsetHeight*5,J),L=window.getComputedStyle(w),ee=parseInt(L.paddingTop,10),M=parseInt(L.paddingBottom,10),pe=V.top+V.height/2-Nr,Pe=B-pe,le=k.offsetHeight/2,re=k.offsetTop+le,me=te+se+re,ve=J-me;if(me<=pe){const Ve=G.length>0&&k===G[G.length-1].ref.current;u.style.bottom="0px";const Fe=h.clientHeight-w.offsetTop-w.offsetHeight,bt=Math.max(Pe,le+(Ve?M:0)+Fe+ie),It=me+bt;u.style.height=It+"px"}else{const Ve=G.length>0&&k===G[0].ref.current;u.style.top="0px";const bt=Math.max(pe,te+w.offsetTop+(Ve?ee:0)+le)+ve;u.style.height=bt+"px",w.scrollTop=me-pe+w.offsetTop}u.style.margin=`${Nr}px 0`,u.style.minHeight=A+"px",u.style.maxHeight=B+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[x,a.trigger,a.valueNode,u,h,w,k,b,a.dir,r]);rn(()=>C(),[C]);const[T,I]=S.useState();rn(()=>{h&&I(window.getComputedStyle(h).zIndex)},[h]);const _=S.useCallback(V=>{V&&N.current===!0&&(C(),E==null||E(),N.current=!1)},[C,E]);return s.jsx(Y7,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:y,onScrollButtonChange:_,children:s.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:s.jsx(et.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});aP.displayName=q7;var G7="SelectPopperPosition",mx=S.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Nr,...a}=e,l=sf(n);return s.jsx(zE,{...l,...a,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});mx.displayName=G7;var[Y7,s0]=Ga(xo,{}),gx="SelectViewport",lP=S.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,a=bi(gx,n),l=s0(gx,n),u=pt(t,a.onViewportChange),d=S.useRef(0);return s.jsxs(s.Fragment,{children:[s.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),s.jsx(nf.Slot,{scope:n,children:s.jsx(et.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:Re(i.onScroll,h=>{const p=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:x}=l;if(x!=null&&x.current&&m){const y=Math.abs(d.current-p.scrollTop);if(y>0){const N=window.innerHeight-Nr*2,w=parseFloat(m.style.minHeight),k=parseFloat(m.style.height),b=Math.max(w,k);if(b<N){const E=b+y,C=Math.min(N,E),T=E-C;m.style.height=C+"px",m.style.bottom==="0px"&&(p.scrollTop=T>0?T:0,m.style.justifyContent="flex-end")}}}d.current=p.scrollTop})})})]})});lP.displayName=gx;var cP="SelectGroup",[K7,Q7]=Ga(cP),X7=S.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=fi();return s.jsx(K7,{scope:n,id:i,children:s.jsx(et.div,{role:"group","aria-labelledby":i,...r,ref:t})})});X7.displayName=cP;var uP="SelectLabel",dP=S.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Q7(uP,n);return s.jsx(et.div,{id:i.id,...r,ref:t})});dP.displayName=uP;var bh="SelectItem",[J7,hP]=Ga(bh),fP=S.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...l}=e,u=vi(bh,n),d=bi(bh,n),h=u.value===r,[p,m]=S.useState(a??""),[x,y]=S.useState(!1),N=pt(t,E=>{var C;return(C=d.itemRefCallback)==null?void 0:C.call(d,E,r,i)}),w=fi(),k=S.useRef("touch"),b=()=>{i||(u.onValueChange(r),u.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return s.jsx(J7,{scope:n,value:r,disabled:i,textId:w,isSelected:h,onItemTextChange:S.useCallback(E=>{m(C=>C||((E==null?void 0:E.textContent)??"").trim())},[]),children:s.jsx(nf.ItemSlot,{scope:n,value:r,disabled:i,textValue:p,children:s.jsx(et.div,{role:"option","aria-labelledby":w,"data-highlighted":x?"":void 0,"aria-selected":h&&x,"data-state":h?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...l,ref:N,onFocus:Re(l.onFocus,()=>y(!0)),onBlur:Re(l.onBlur,()=>y(!1)),onClick:Re(l.onClick,()=>{k.current!=="mouse"&&b()}),onPointerUp:Re(l.onPointerUp,()=>{k.current==="mouse"&&b()}),onPointerDown:Re(l.onPointerDown,E=>{k.current=E.pointerType}),onPointerMove:Re(l.onPointerMove,E=>{var C;k.current=E.pointerType,i?(C=d.onItemLeave)==null||C.call(d):k.current==="mouse"&&E.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Re(l.onPointerLeave,E=>{var C;E.currentTarget===document.activeElement&&((C=d.onItemLeave)==null||C.call(d))}),onKeyDown:Re(l.onKeyDown,E=>{var T;((T=d.searchRef)==null?void 0:T.current)!==""&&E.key===" "||(L7.includes(E.key)&&b(),E.key===" "&&E.preventDefault())})})})})});fP.displayName=bh;var Zl="SelectItemText",pP=S.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...a}=e,l=vi(Zl,n),u=bi(Zl,n),d=hP(Zl,n),h=V7(Zl,n),[p,m]=S.useState(null),x=pt(t,b=>m(b),d.onItemTextChange,b=>{var E;return(E=u.itemTextRefCallback)==null?void 0:E.call(u,b,d.value,d.disabled)}),y=p==null?void 0:p.textContent,N=S.useMemo(()=>s.jsx("option",{value:d.value,disabled:d.disabled,children:y},d.value),[d.disabled,d.value,y]),{onNativeOptionAdd:w,onNativeOptionRemove:k}=h;return rn(()=>(w(N),()=>k(N)),[w,k,N]),s.jsxs(s.Fragment,{children:[s.jsx(et.span,{id:d.textId,...a,ref:x}),d.isSelected&&l.valueNode&&!l.valueNodeHasChildren?Bc.createPortal(a.children,l.valueNode):null]})});pP.displayName=Zl;var mP="SelectItemIndicator",gP=S.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return hP(mP,n).isSelected?s.jsx(et.span,{"aria-hidden":!0,...r,ref:t}):null});gP.displayName=mP;var xx="SelectScrollUpButton",xP=S.forwardRef((e,t)=>{const n=bi(xx,e.__scopeSelect),r=s0(xx,e.__scopeSelect),[i,a]=S.useState(!1),l=pt(t,r.onScrollButtonChange);return rn(()=>{if(n.viewport&&n.isPositioned){let u=function(){const h=d.scrollTop>0;a(h)};const d=n.viewport;return u(),d.addEventListener("scroll",u),()=>d.removeEventListener("scroll",u)}},[n.viewport,n.isPositioned]),i?s.jsx(vP,{...e,ref:l,onAutoScroll:()=>{const{viewport:u,selectedItem:d}=n;u&&d&&(u.scrollTop=u.scrollTop-d.offsetHeight)}}):null});xP.displayName=xx;var yx="SelectScrollDownButton",yP=S.forwardRef((e,t)=>{const n=bi(yx,e.__scopeSelect),r=s0(yx,e.__scopeSelect),[i,a]=S.useState(!1),l=pt(t,r.onScrollButtonChange);return rn(()=>{if(n.viewport&&n.isPositioned){let u=function(){const h=d.scrollHeight-d.clientHeight,p=Math.ceil(d.scrollTop)<h;a(p)};const d=n.viewport;return u(),d.addEventListener("scroll",u),()=>d.removeEventListener("scroll",u)}},[n.viewport,n.isPositioned]),i?s.jsx(vP,{...e,ref:l,onAutoScroll:()=>{const{viewport:u,selectedItem:d}=n;u&&d&&(u.scrollTop=u.scrollTop+d.offsetHeight)}}):null});yP.displayName=yx;var vP=S.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,a=bi("SelectScrollButton",n),l=S.useRef(null),u=rf(n),d=S.useCallback(()=>{l.current!==null&&(window.clearInterval(l.current),l.current=null)},[]);return S.useEffect(()=>()=>d(),[d]),rn(()=>{var p;const h=u().find(m=>m.ref.current===document.activeElement);(p=h==null?void 0:h.ref.current)==null||p.scrollIntoView({block:"nearest"})},[u]),s.jsx(et.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:Re(i.onPointerDown,()=>{l.current===null&&(l.current=window.setInterval(r,50))}),onPointerMove:Re(i.onPointerMove,()=>{var h;(h=a.onItemLeave)==null||h.call(a),l.current===null&&(l.current=window.setInterval(r,50))}),onPointerLeave:Re(i.onPointerLeave,()=>{d()})})}),Z7="SelectSeparator",bP=S.forwardRef((e,t)=>
vendor: 4,756 bytes, line 499
499{const{__scopeSelect:n,...r}=e;return s.jsx(et.div,{"aria-hidden":!0,...r,ref:t})});bP.displayName=Z7;var vx="SelectArrow",eH=S.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=sf(n),a=vi(vx,n),l=bi(vx,n);return a.open&&l.position==="popper"?s.jsx(BE,{...i,...r,ref:t}):null});eH.displayName=vx;var tH="SelectBubbleInput",wP=S.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=S.useRef(null),a=pt(r,i),l=Y$(t);return S.useEffect(()=>{const u=i.current;if(!u)return;const d=window.HTMLSelectElement.prototype,p=Object.getOwnPropertyDescriptor(d,"value").set;if(l!==t&&p){const m=new Event("change",{bubbles:!0});p.call(u,t),u.dispatchEvent(m)}},[l,t]),s.jsx(et.select,{...n,style:{...VE,...n.style},ref:a,defaultValue:t})});wP.displayName=tH;function jP(e){return e===""||e===void 0}function NP(e){const t=Xr(e),n=S.useRef(""),r=S.useRef(0),i=S.useCallback(l=>{const u=n.current+l;t(u),(function d(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>d(""),1e3))})(u)},[t]),a=S.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return S.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function kP(e,t,n){const i=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let l=nH(e,Math.max(a,0));i.length===1&&(l=l.filter(h=>h!==n));const d=l.find(h=>h.textValue.toLowerCase().startsWith(i.toLowerCase()));return d!==n?d:void 0}function nH(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var rH=XE,SP=ZE,sH=tP,iH=nP,oH=rP,CP=sP,aH=lP,EP=dP,PP=fP,lH=pP,cH=gP,TP=xP,AP=yP,_P=bP;const uH=rH,dH=sH,RP=S.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(SP,{ref:r,className:He("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,s.jsx(iH,{asChild:!0,children:s.jsx(Lc,{className:"h-4 w-4 opacity-50"})})]}));RP.displayName=SP.displayName;const IP=S.forwardRef(({className:e,...t},n)=>s.jsx(TP,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(qk,{className:"h-4 w-4"})}));IP.displayName=TP.displayName;const MP=S.forwardRef(({className:e,...t},n)=>s.jsx(AP,{ref:n,className:He("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(Lc,{className:"h-4 w-4"})}));MP.displayName=AP.displayName;const OP=S.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>s.jsx(oH,{children:s.jsxs(CP,{ref:i,className:He("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[s.jsx(IP,{}),s.jsx(aH,{className:He("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),s.jsx(MP,{})]})}));OP.displayName=CP.displayName;const hH=S.forwardRef(({className:e,...t},n)=>s.jsx(EP,{ref:n,className:He("px-2 py-1.5 text-sm font-semibold",e),...t}));hH.displayName=EP.displayName;const DP=S.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(PP,{ref:r,className:He("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[s.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(cH,{children:s.jsx(Wk,{className:"h-4 w-4"})})}),s.jsx(lH,{children:t})]}));DP.displayName=PP.displayName;const fH=S.forwardRef(({className:e,...t},n)=>s.jsx(_P,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t}));fH.displayName=_P.displayName;function pH(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}Array(12).fill(0);let bx=1;class mH{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>
vendor: 3,664 bytes, line 499
499{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...i}=t,a=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:bx++,l=this.toasts.find(d=>d.id===a),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),l?this.toasts=this.toasts.map(d=>d.id===a?(this.publish({...d,...t,id:a,title:r}),{...d,...t,id:a,dismissible:u,title:r}):d):this.addToast({title:r,...i,dismissible:u,id:a}),a},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let a=r!==void 0,l;const u=i.then(async h=>{if(l=["resolve",h],lt.isValidElement(h))a=!1,this.create({id:r,type:"default",message:h});else if(xH(h)&&!h.ok){a=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${h.status}`):n.error,x=typeof n.description=="function"?await n.description(`HTTP error! status: ${h.status}`):n.description,N=typeof m=="object"&&!lt.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...N})}else if(h instanceof Error){a=!1;const m=typeof n.error=="function"?await n.error(h):n.error,x=typeof n.description=="function"?await n.description(h):n.description,N=typeof m=="object"&&!lt.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...N})}else if(n.success!==void 0){a=!1;const m=typeof n.success=="function"?await n.success(h):n.success,x=typeof n.description=="function"?await n.description(h):n.description,N=typeof m=="object"&&!lt.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:x,...N})}}).catch(async h=>{if(l=["reject",h],n.error!==void 0){a=!1;const p=typeof n.error=="function"?await n.error(h):n.error,m=typeof n.description=="function"?await n.description(h):n.description,y=typeof p=="object"&&!lt.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:m,...y})}}).finally(()=>{a&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),d=()=>new Promise((h,p)=>u.then(()=>l[0]==="reject"?p(l[1]):h(l[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:d}:Object.assign(r,{unwrap:d})},this.custom=(t,n)=>{const r=(n==null?void 0:n.id)||bx++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ir=new mH,gH=(e,t)=>{const n=(t==null?void 0:t.id)||bx++;return ir.addToast({title:e,...t,id:n}),n},xH=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",yH=gH,vH=()=>ir.toasts,bH=()=>ir.getActiveToasts(),Vl=Object.assign(yH,{success:ir.success,info:ir.info,warning:ir.warning,error:ir.error,custom:ir.custom,message:ir.message,promise:ir.promise,dismiss:ir.dismiss,loading:ir.loading},{getHistory:vH,getToasts:bH});pH
vendor: 4,787 bytes, line 499
499("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;
vendor: 10,086 bytes, line 499
499left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
499wH(){const[e,t]=S.useState(""),[n,r]=S.useState("blog post"),[i,a]=S.useState(""),[l,u]=S.useState(!1),d=["blog post","social media post","email newsletter","product description","landing page copy","documentation","marketing copy","press release"],h=async()=>{var x,y;if(!e.trim()){Vl.error("Please enter a prompt");return}u(!0);try{const N=await Hn.functions.invoke("generateContent",{prompt:e,content_type:n});a(N.data.content),Vl.success("Content generated successfully!")}catch(N){Vl.error(((y=(x=N.response)==null?void 0:x.data)==null?void 0:y.error)||"Failed to generate content")}finally{u(!1)}},p=()=>{navigator.clipboard.writeText(i),Vl.success("Copied to clipboard!")},m=()=>{const x=new Blob([i],{type:"text/plain"}),y=URL.createObjectURL(x),N=document.createElement("a");N.href=y,N.download=`generated-content-${Date.now()}.txt`,N.click(),URL.revokeObjectURL(y),Vl.success("Downloaded successfully!")};return s.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-50 to-gray-100 py-12 px-6",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Content Generator | Clyn"}),s.jsx("meta",{name:"description",content:"A Clyn tool for generating content."}),s.jsx("meta",{property:"og:title",content:"Content Generator | Clyn"}),s.jsx("meta",{property:"og:description",content:"A Clyn tool for generating content."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ContentGenerator"})]}),s.jsx("div",{className:"max-w-6xl mx-auto",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.5},children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-gradient-to-r from-blue-600 to-purple-600 rounded-2xl mb-4",children:s.jsx(io,{className:"w-8 h-8 text-white"})}),s.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"AI Content Generator"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Create high-quality content instantly with AI. Generate blog posts, social media content, emails, and more."})]}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[s.jsxs(Te,{children:[s.jsxs(tn,{children:[s.jsx(nn,{children:"Content Request"}),s.jsx(wn,{children:"Describe what content you need"})]}),s.jsxs(Ue,{className:"space-y-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx("label",{className:"text-sm font-medium text-gray-700",children:"Content Type"}),s.jsxs(uH,{value:n,onValueChange:r,children:[s.jsx(RP,{children:s.jsx(dH,{})}),s.jsx(OP,{children:d.map(x=>s.jsx(DP,{value:x,children:x.charAt(0).toUpperCase()+x.slice(1)},x))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx("label",{className:"text-sm font-medium text-gray-700",children:"Prompt"}),s.jsx(uE,{placeholder:"Example: Write a blog post about the benefits of AI-
499powered property management for vacation rentals...",value:e,onChange:x=>t(x.target.value),className:"min-h-[300px] resize-none"})]}),s.jsx(Se,{onClick:h,disabled:l,className:"w-full bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700",size:"lg",children:l?s.jsxs(s.Fragment,{children:[s.jsx(y6,{className:"w-4 h-4 mr-2 animate-spin"}),"Generating..."]}):s.jsxs(s.Fragment,{children:[s.jsx(io,{className:"w-4 h-4 mr-2"}),"Generate Content"]})})]})]}),s.jsxs(Te,{children:[s.jsx(tn,{children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx(nn,{children:"Generated Content"}),s.jsx(wn,{children:"Your AI-generated content will appear here"})]}),i&&s.jsxs("div",{className:"flex gap-2",children:[s.jsx(Se,{variant:"outline",size:"icon",onClick:p,children:s.jsx(i6,{className:"w-4 h-4"})}),s.jsx(Se,{variant:"outline",size:"icon",onClick:m,children:s.jsx(u6,{className:"w-4 h-4"})})]})]})}),s.jsx(Ue,{children:i?s.jsx("div",{className:"prose prose-sm max-w-none",children:s.jsx("div",{className:"bg-gray-50 rounded-lg p-6 min-h-[300px] whitespace-pre-wrap text-gray-800",children:i})}):s.jsx("div",{className:"flex items-center justify-center min-h-[300px] text-gray-400",children:s.jsxs("div",{className:"text-center",children:[s.jsx(io,{className:"w-12 h-12 mx-auto mb-4 opacity-50"}),s.jsx("p",{children:"Generated content will appear here"})]})})})]})]}),s.jsxs(Te,{className:"mt-8",children:[s.jsx(tn,{children:s.jsx(nn,{children:"💡 Tips for Better Results"})}),s.jsx(Ue,{children:s.jsxs("ul",{className:"grid md:grid-cols-2 gap-4 text-sm text-gray-600",children:[s.jsxs("li",{className:"flex gap-2",children:[s.jsx("span",{className:"text-blue-600",children:"•"}),s.jsx("span",{children:"Be specific about your target audience and tone"})]}),s.jsxs("li",{className:"flex gap-2",children:[s.jsx("span",{className:"text-blue-600",children:"•"}),s.jsx("span",{children:"Include key points or facts you want covered"})]}),s.jsxs("li",{className:"flex gap-2",children:[s.jsx("span",{className:"text-blue-600",children:"•"}),s.jsx("span",{children:"Mention desired word count or length"})]}),s.jsxs("li",{className:"flex gap-2",children:[s.jsx("span",{className:"text-blue-600",children:"•"}),s.jsx("span",{children:"Specify any keywords to include for SEO"})]})]})})]})]})})]})}function jH(){return s.jsxs("div",{className:"bg-white font-sans text-gray-800",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Cookie Policy | Clyn"}),s.jsx("meta",{name:"description",content:"Clyn's cookie policy, explaining what cookies we use and why."}),s.jsx("meta",{property:"og:title",content:"Cookie Policy | Clyn"}),s.jsx("meta",{property:"og:description",content:"Clyn's cookie policy, explaining what cookies we use and why."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/CookiePolicy"})]}),s.jsxs(q.div,{initial:{opacity:0}
499,animate:{opacity:1},transition:{duration:.8},className:"max-w-4xl mx-auto px-6 lg:px-8 py-16",children:[s.jsxs("nav",{className:"flex items-center text-sm text-gray-500 mb-8",children:[s.jsx($e,{to:"/",className:"hover:text-blue-600",children:"Home"}),s.jsx(In,{className:"w-4 h-4 mx-1"}),s.jsx("span",{children:"Cookie Policy"})]}),s.jsxs("header",{className:"mb-12 border-b pb-8",children:[s.jsxs("h1",{className:"text-4xl lg:text-5xl font-extrabold text-gray-900 mb-4 flex items-center gap-4",children:[s.jsx(r6,{className:"w-10 h-10 text-blue-600"}),"Cookie Policy"]}),s.jsx("p",{className:"text-lg text-gray-600",children:"How we use cookies to improve your experience."})]}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-8",children:[s.jsxs("section",{children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"What Are Cookies?"}),s.jsx("p",{children:"Cookies are small text files that are stored on your computer or mobile device when you visit a website. They are widely used to make websites work, or work more efficiently, as well as to provide information to the owners of the site."})]}),s.jsxs("section",{children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"How We Use Cookies"}),s.jsx("p",{className:"mb-4",children:"We use cookies for a variety of reasons detailed below. Unfortunately, in most cases, there are no industry standard options for disabling cookies without completely disabling the functionality and features they add to this site. It is recommended that you leave on all cookies if you are not sure whether you need them or not in case they are used to provide a service that you use."}),s.jsxs("ul",{className:"list-disc list-inside space-y-3",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Essential Cookies:"})," These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in, or filling in forms."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Performance and Analytics Cookies:"})," These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Functionality Cookies:"})," These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third-party providers whose services we have added to our pages."]})]})]}),s.jsxs("section",{children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Managing Your Cookies"}),s.jsx("p",{children:"You can control and/or delete cookies as you wish – for details, see aboutcookies.org. You can delete all cookies that are already on your computer and you can set most browsers to prevent them from being placed. If you do this, however, you may have to manually adjust some preferences every time you visit a site and some services and functionalities may not work."})]}),s.jsxs("section",{children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Changes to This Policy"}),s.jsx("p",{children:"We may update our Cookie Policy from time to time. We will notify you of any changes by posting the new Cookie Policy on this page. You are advised to review this Cookie Policy periodically for any changes."})]})]}),s.jsx("footer",{className:"mt-16 pt-8 border-t text-center text-gray-500 text-sm",children:s.jsxs("p",{children:["Last updated: ",Ia(new Date,"MMMM d, yyyy")]})})]})]})}function NH(){return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Design Partner Program | Clyn"}),s.jsx("meta",{name:"description",content:"Join Clyn's design partner program to help shape new features and get early access to upcoming product updates."}),s.jsx("meta",{property:"og:title",content:"Design Partner Program | Clyn"}),s.jsx("meta",{property:"og:description",content:"Join Clyn's design partner program to help shape new features and get early access to upcoming product updates."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/DesignPartnerProgram"})]}),s.jsx("section",{className:"pt-20 pb-16 bg-gradient-to-br from-slate-50 via-white to-teal-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,x:-20}
vendor: 16,384 bytes, line 499
499,animate:{opacity:1,x:0},transition:{duration:.6},children:[s.jsx(Dt,{className:"mb-6 bg-gradient-to-r from-blue-600 to-teal-500 text-white px-4 py-2 text-sm",children:"Limited to 50 Teams"}),s.jsx("h1",{className:"text-5xl lg:text-6xl font-bold text-gray-900 mb-6",children:"Clyn Design Partner Program"}),s.jsx("p",{className:"text-2xl lg:text-3xl text-gray-700 mb-4 font-semibold",children:"Help shape the future of QA AI for property operations."}),s.jsx("p",{className:"text-xl text-gray-600 mb-6",children:"We're inviting 50 forward‑thinking teams to join our first Design Partner cohort."}),s.jsx("p",{className:"text-lg text-gray-600 mb-10",children:"No contracts. No onboarding fee. Month‑to‑month."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsx("a",{href:"https://form.typeform.com/to/j1SAfU4F",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-gradient-to-r from-blue-600 to-teal-500 hover:opacity-90 text-white px-8 py-4 text-lg font-semibold",children:"Apply to Join the Cohort"})}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",variant:"outline",className:"px-8 py-4 text-lg font-semibold",children:"Talk to Us First"})})]})]}),s.jsx(q.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.6,delay:.2},className:"relative",children:s.jsx("img",{src:"https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=800&auto=format&fit=crop",alt:"Team collaboration",className:"rounded-2xl shadow-2xl w-full h-auto"})})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"What Is the Design Partner Program?"}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs("div",{className:"prose prose-lg max-w-none text-gray-600",children:[s.jsx("p",{className:"text-xl leading-relaxed mb-6",children:"The Design Partner Program is a limited early‑access cohort for teams using Clyn's QA AI in real operations and providing feedback to help shape the product."}),s.jsxs("div",{className:"bg-slate-50 border-l-4 border-blue-600 p-6 rounded-lg space-y-3",children:[s.jsxs("p",{className:"flex items-start gap-3 text-lg",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsx("span",{children:s.jsx("strong",{children:"This is not a discount program."})})]}),s.jsxs("p",{className:"flex items-start gap-3 text-lg",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsx("span",{children:s.jsx("strong",{children:"This is a partnership."})})]}),s.jsxs("p",{className:"flex items-start gap-3 text-lg",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsx("span",{children:s.jsx("strong",{children:"Design Partners get expanded access and influence."})})]})]})]}),s.jsx("div",{children:s.jsx("img",{src:"https://plus.unsplash.com/premium_photo-1661658414736-60a9103cbdae?w=800&auto=format&fit=crop",alt:"Woman using laptop at home",className:"rounded-2xl shadow-xl w-full h-auto"})})]})]})})}),s.jsx("section",{className:"py-20 bg-slate-50",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"Who This Is For"}),s.jsx("p",{className:"text-xl text-gray-600 mb-10 text-center max-w-3xl mx-auto",children:"This program is designed for qualified property operations teams who are serious about quality assurance."}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-6 mb-8",children:[s.jsx(Te,{className:"border-2",children:s.jsx(Ue,{className:"pt-6",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center flex-shrink-0",children:s.jsx(Yn,{className:"w-6 h-6 text-blue-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Teams managing 10+ properties"}),s.jsx("p",{className:"text-gray-600",children:"You operate at scale and need consistent quality across your portfolio."})]})]})})}),s.jsx(Te,{className:"border-2",children:s.jsx(Ue,{className:"pt-6",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-teal-100 flex items-center justify-center flex-shrink-0",children:s.jsx(K6,{className:"w-6 h-6 text-teal-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Operators who care about quality consistency"}),s.jsx("p",{className:"text-gray-600",children:"You prioritize verified quality over self‑reported checklists."})]})]})})}),s.jsx(Te,{className:"border-2",children:s.jsx(Ue,{className:"pt-6",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0",children:s.jsx(he,{className:"w-6 h-6 text-purple-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Teams who want proof, not just checklists"}),s.jsx("p",{className:"text-gray-600",children:"You need AI‑verified evidence of every turnover."})]})]})})}),s.jsx(Te,{className:"border-2",children:s.jsx(Ue,{className:"pt-6",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center flex-shrink-0",children:s.jsx(so,{className:"w-6 h-6 text-green-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Teams open to sharing feedback"}),s.jsx("p",{className:"text-gray-600",children:"You're willing to help shape the product through honest input."})]})]})})})]}),s.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-6",children:s.jsxs("p",{className:"text-gray-700",children:[s.jsx("strong",{children:"Note:"})," If you're casually evaluating Clyn or just looking for a discount, we recommend starting with the standard Pilot plan instead."]})})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"What Design Partners Get"}),s.jsx("p",{className:"text-xl text-gray-600 mb-12 text-center max-w-3xl mx-auto",children:"Expanded access and influence to shape the future of QA AI."}),s.jsx("div",{className:"mb-12",children:s.jsx("img",{src:"https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1200&auto=format&fit=crop",alt:"Team collaboration video call",className:"rounded-2xl shadow-xl w-full h-auto max-h-96 object-cover"})}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center flex-shrink-0",children:s.jsx(ui,{className:"w-6 h-6 text-blue-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Expanded QA AI report limits"}),s.jsx("p",{className:"text-gray-600",children:"150 QA AI reports per month, more capacity to run operations at scale."})]})]}),s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-teal-100 flex items-center justify-center flex-shrink-0",children:s.jsx(b6,{className:"w-6 h-6 text-teal-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Preferred pricing locked for 12 months"}),s.jsx("p",{className:"text-gray-600",children:"Rate protection as the product evolves and scales."})]})]}),s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0",children:s.jsx(ur,{className:"w-6 h-6 text-purple-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Early access to new QA features"}),s.jsx("p",{className:"text-gray-600",children:"See and use new capabilities before they're released to the broader market."})]})]}),s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center flex-shrink-0",children:s.jsx(so,{className:"w-6 h-6 text-green-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Direct feedback channel with the product team"}),s.jsx("p",{className:"text-gray-600",children:"Share input directly with the team building Clyn."})]})]}),s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-amber-100 flex items-center justify-center flex-shrink-0",children:s.jsx(ur,{className:"w-6 h-6 text-amber-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Design Partner status"}),s.jsx("p",{className:"text-gray-600",children:"Recognition as an early partner helping shape the platform."})]})]})]})]})})}),s.jsx("section",{className:"py-20 bg-slate-50",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"How the Program Works"}),s.jsx("p",{className:"text-xl text-gray-600 mb-12 text-center max-w-3xl mx-auto",children:"Simple, straightforward, and no obligations."}),s.jsxs("div",{className:"grid md:grid-cols-4 gap-6",children:[s.jsx(Te,{className:"border-2 text-center",children:s.jsxs(Ue,{className:"pt-8",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-blue-100 flex items-center justify-center mx-auto mb-4",children:s.jsx("span",{className:"text-2xl font-bold text-blue-600",children:"1"})}),s.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Apply to join"}),s.jsx("p",{className:"text-gray-600",children:"Submit your application to be considered for the cohort."})]})}),s.jsx(Te,{className:"border-2 text-center",children:s.jsxs(Ue,{className:"pt-8",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-teal-100 flex items-center justify-center mx-auto mb-4",children:s.jsx("span",{className:"text-2xl font-bold text-teal-600",children:"2"})}),s.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Get Design Partner access activated"}),s.jsx("p",{className:"text-gray-600",children:"Once accepted, your account is upgraded with Design Partner benefits."})]})}),s.jsx(Te,{className:"border-2 text-center",children:s.jsxs(Ue,{className:"pt-8",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-purple-100 flex items-center justify-center mx-auto mb-4",children:s.jsx("span",{className:"text-2xl font-bold text-purple-600",children:"3"})}),s.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Use QA AI in real operations"}),s.jsx("p",{className:"text-gray-600",children:"Run Clyn in your live turnover workflows."})]})}),s.jsx(Te,{className:"border-2 text-center",children:s.jsxs(Ue,{className:"pt-8",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-green-100 flex items-center justify-center mx-auto mb-4",children:s.jsx("span",{className:"text-2xl font-bold text-green-600",children:"4"})}),s.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Share feedback periodically"}),s.jsx("p",{className:"text-gray-600",children:"Provide honest input to help shape the product."})]})})]})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"What We Ask in Return"}),s.jsx("p",{className:"text-xl text-gray-600 mb-10 text-center max-w-3xl mx-auto",children:"This is a partnership. Here's what we need from Design Partners:"}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center mb-12",children:[s.jsx("img",{src:"https://images.unsplash.com/photo-1551434678-e076c223a692?w=800&auto=format&fit=crop",alt:"Business professionals in video meeting",className:"rounded-2xl shadow-xl w-full h-auto order-2 lg:order-1"}),s.jsxs("div",{className:"space-y-6 order-1 lg:order-2",children:[s.jsxs("div",{className:"flex items-start gap-4 bg-slate-50 border rounded-lg p-6",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Use Clyn in live operations"}),s.jsx("p",{className:"text-gray-600",children:"We need you to run Clyn in real property turnovers, not just demo environments."})]})]}),s.jsxs("div",{className:"flex items-start gap-4 bg-slate-50 border rounded-lg p-6",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Share honest feedback"}),s.jsx("p",{className:"text-gray-600",children:"Tell us what works, what doesn't, and what you need. Candid input is what makes this valuable."})]})]}),s.jsxs("div",{className:"flex items-start gap-4 bg-slate-50 border rounded-lg p-6",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Optional testimonial or case study once value is proven"}),s.jsx("p",{className:"text-gray-600",children:"If Clyn delivers results, we'd love to share your story, but it's optional."})]})]})]})]}),s.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-6 max-w-4xl mx-auto",children:s.jsx("p",{className:"text-gray-700 font-semibold",children:"There is no long‑term commitment. This is month‑to‑month, and you can cancel anytime."})})]})})}),s.jsx("section",{className:"py-20 bg-slate-50",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"Pricing for Design Partners"}),s.jsx(Te,{className:"border-2 border-teal-500",children:s.jsxs(Ue,{className:"pt-8",children:[s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-1",children:"Preferred pricing"}),s.jsx("p",{className:"text-gray-600",children:"Design Partners receive a rate lower than standard plans."})]})]}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-1",children:"Pricing locked for 12 months"}),s.jsx("p",{className:"text-gray-600",children:"Your rate is guaranteed for a full year."})]})]}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-1",children:"Month‑to‑month billing"}),s.jsx("p",{className:"text-gray-600",children:"No annual contracts. Cancel anytime."})]})]}),s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-
499600 flex-shrink-0 mt-1"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-1",children:"No onboarding fee"}),s.jsx("p",{className:"text-gray-600",children:"Get started without any setup costs."})]})]})]}),s.jsx("div",{className:"mt-8 bg-teal-50 border border-teal-200 rounded-lg p-6",children:s.jsxs("p",{className:"text-gray-700",children:[s.jsx("strong",{children:"Note:"})," Exact pricing is shared upon acceptance to keep the cohort intentional and ensure serious applicants."]})})]})})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6 text-center",children:"Limited Availability"}),s.jsx("div",{className:"bg-gradient-to-br from-slate-50 to-blue-50 border-2 border-blue-200 rounded-lg p-8",children:s.jsxs("div",{className:"space-y-6 text-center",children:[s.jsxs("div",{className:"flex items-center justify-center gap-3",children:[s.jsx(Yn,{className:"w-8 h-8 text-blue-600"}),s.jsx("p",{className:"text-2xl font-bold text-gray-900",children:"Limited to 50 teams"})]}),s.jsx("p",{className:"text-lg text-gray-700",children:"The Design Partner Program will close once the cohort is full."}),s.jsx("p",{className:"text-lg text-gray-700",children:"After that, new customers will join via standard plans."}),s.jsx("div",{className:"pt-4",children:s.jsx("a",{href:"https://form.typeform.com/to/j1SAfU4F",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Dt,{className:"bg-gradient-to-r from-blue-600 to-teal-500 text-white px-6 py-3 text-base cursor-pointer hover:opacity-90",children:"Cohort 2026 Open | Apply Now"})})})]})})]})})}),s.jsx("section",{className:"py-20 bg-gradient-to-br from-blue-600 to-teal-600",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-white mb-6",children:"Ready to help shape the future of QA AI?"}),s.jsx("p",{className:"text-xl text-blue-100 mb-10 max-w-3xl mx-auto",children:"If you're a qualified property operations team looking for expanded access and influence, we'd love to have you in the first cohort."}),s.jsx("a",{href:"https://form.typeform.com/to/j1SAfU4F",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-50 px-10 py-4 text-xl font-semibold",children:["Apply to Join the Design Partner Program ",s.jsx(qt,{className:"w-6 h-6 ml-2"})]})})]})})})]})}function kH(){return s.jsxs("div",{className:"min-h-screen bg-gray-900 text-white flex flex-col items-center justify-center p-8",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Developers"}),s.jsx("meta",{name:"description",content:"Clyn API and integration docs, including setup guides for Guesty, Hostfully, OwnerRez, Hostaway, Jurny, and Airbnb."}),s.jsx("meta",{property:"og:title",content:"Developers"}),s.jsx("meta",{property:"og:description",content:"Clyn API and integration docs, including setup guides for Guesty, Hostfully, OwnerRez, Hostaway, Jurny, and Airbnb."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Developers"})]}),s.jsxs("div",{className:"text-center",children:[s.jsx(X6,{className:"w-16 h-16 mx-auto mb-6 text-blue-400"}),s.jsx("h1",{className:"text-4xl font-bold",children:"API Documentation"}),s.jsx("p",{className:"mt-4 text-xl text-gray-400",children:"Our developer documentation is coming soon."}),s.jsx("p",{className:"mt-2 text-gray-500",children:"You'll be able to build powerful custom integrations with Clyn's robust API."}),s.jsx(Se,{asChild:!0,variant:"secondary",className:"mt-8",children:s.jsxs($e,{to:"/",children:[s.jsx(zx,{className:"w-4 h-4 mr-2"}),"Back to Home"]})})]})]})}const LP=S.forwardRef(({className:e,type:t,...n},r)=>s.jsx("input",{type:t,className:He("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));LP.displayName="Input";function SH({tutorial:e}){const n={"account-setup":{title:"Account Setup & Initial Onboarding",icon:Bx,color:"from-blue-500 to-cyan-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Help new customers sign in and connect their property management system (PMS) or add properties manually."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Open Clyn Rentals"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Navigate to ",s.jsx("strong",{children:"rentals.clyn.com"})," in your browser. If prompted, click ",s.jsx("strong",{children:"Login"})," and enter your Clyn Rentals credentials."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Connect a PMS or upload properties"}),s.jsxs("p",{className:"text-gray-700 mb-4",children:["On your first visit, Clyn Rentals offers three options: ",s.jsx("strong",{children:"Connect PMS"}),", ",s.jsx("strong",{children:"Upload CSV"}),", or ",s.jsx("strong",{children:"Manual Entry"}),"."]}),s.jsxs("ul",{className:"list-disc pl-6 space-y-3 text-gray-700 mb-6",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Connect PMS:"})," If you use platforms like Guesty or Hospitable, click Connect PMS and follow the prompts to authorize Clyn Rentals. This will import your properties automatically."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Upload CSV:"})," If you have property data in a spreadsheet, choose Upload CSV and follow the instructions to map columns such as property name, address and number of rooms."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Manual Entry:"})," To enter a single property manually, choose Manual Entry. Fill in the property name, full address and select the property type (house, apartment, condo, etc.) then click Next. Continue through the four‑step wizard to specify details like bedrooms and bathrooms, property photos, access instructions and an optional cleaning checklist."]})]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Invite Team Members (optional)"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Navigate to ",s.jsx("strong",{children:"Team Members"})," in the left menu. Click ",s.jsx("strong",{children:"Add Team Member"}
499),", enter their email address and select a role such as Viewer, Editor or Owner. Click ",s.jsx("strong",{children:"Send Invite"}),". The invitee will receive an email to join your Clyn Rentals tenant."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Connect Additional Integrations"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Under ",s.jsx("strong",{children:"Integrations"}),", you can connect third‑party services like Hostfully, Jurny, OwnerRez or booking channels such as Airbnb. Click ",s.jsx("strong",{children:"Connect"})," on any integration to follow the authorization process."]})]})},properties:{title:"Adding & Managing Properties Manually",icon:pg,color:"from-green-500 to-emerald-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Demonstrate how to add new properties when they aren't imported from a PMS."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Navigate to Properties"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Properties"})," in the left navigation. At the top right, select ",s.jsx("strong",{children:"Add Property"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Step 1: Property Identity"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["In the four‑step property wizard, enter the property name (e.g., Sunset Villa), address and select the property type from the dropdown. Click ",s.jsx("strong",{children:"Next"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Step 2: Details & Photos"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Provide key details such as the number of bedrooms and bathrooms. Upload photos that clearly show each room. These photos help cleaning teams understand the layout. Click ",s.jsx("strong",{children:"Next"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Step 3: Access Instructions"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Add any door codes or smart lock instructions needed by cleaners. You can also include parking directions or gate codes here. Click ",s.jsx("strong",{children:"Next"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Step 4: Assign Checklist & Providers"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Choose a cleaning checklist template (see tutorial 3) and assign a service provider if you already work with one. If you haven't created a checklist yet, you can leave this blank and assign it later from the property details panel. Click ",s.jsx("strong",{children:"Finish"})," to save the property."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. Review Property Details"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["After saving, the property appears in your Properties table. Click a row to open a side panel with tabs for ",s.jsx("strong",{children:"Information"}),", ",s.jsx("strong",{children:"Reports"})," and ",s.jsx("strong",{children:"Checklist"}),". Use the Information tab to edit details or upload more photos. The Reports tab will show cleaning reports once cleans have been completed."]})]})},inviteteam:{title:"Invite, Resend Invite, and Edit a Cleaning Team Member",icon:pg,color:"from-green-500 to-emerald-500",content:s.jsx("iframe",{src:"https://scribehow.com/embed/How_to_Invite_Resend_Invite_and_Edit_a_Cleaning_Team_Member__6kHg68j3QVuLag9F0Kky2A?as=video",width:"100%",height:"800",allow:"fullscreen",style:{aspectRatio:"16 / 12",border:0,minHeight:"480px"}})},acceptinvite:{title:"Accept Cleaning Teammate Invite",icon:gg,color:"from-yellow-500 to-orange-500",content:s.jsx("iframe",{src:"https://scribehow.com/embed/Accept_Cleaning_Teammate_Invite__VXiaE8VLT_yEmBfZEvGW3Q?as=vi
499deo",width:"100%",height:"800",allow:"fullscreen",style:{aspectRatio:"16 / 12",border:0,minHeight:"480px"}})},checklists:{title:"Creating & Assigning Cleaning Checklists",icon:Ph,color:"from-purple-500 to-pink-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Show how to build a customized checklist for cleaners and assign it to properties."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Open the Checklists section"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Checklists"})," in the left menu. Select ",s.jsx("strong",{children:"Create Checklist"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Enter name and description"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Give the checklist a meaningful name, such as ",s.jsx("em",{children:"Standard Turnover Cleaning"}),", and a short description outlining its purpose. This helps differentiate multiple templates."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Add Sections and Tasks"}),s.jsxs("p",{className:"text-gray-700 mb-4",children:["Click ",s.jsx("strong",{children:"Add Section"})," to create logical groups, such as Kitchen, Bedrooms or Outdoor Areas. For each section:"]}),s.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-gray-700 mb-6",children:[s.jsx("li",{children:"Type the section name."}),s.jsxs("li",{children:["Click ",s.jsx("strong",{children:"Add Task"}),' and enter individual tasks, for example, "Wipe down countertops" or "Change bedding."']}),s.jsx("li",{children:"Select a priority (Low, Medium, High) if available."}),s.jsx("li",{children:"Repeat until all tasks are listed. You can reorder tasks by dragging the handle to the left of each entry."})]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Upload via CSV (optional)"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["If you already have checklist tasks in a spreadsheet, choose ",s.jsx("strong",{children:"Upload CSV"})," at the top of the checklist editor. Follow the mapping instructions so that each column corresponds to a section and task description."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Save the checklist"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["When you're finished, click ",s.jsx("strong",{children:"Create Checklist"})," to save. The new checklist appears in the checklist table."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"6. Assign the checklist to a property"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Navigate back to ",s.jsx("strong",{children:"Properties"}),". Click a property row, then open the ",s.jsx("strong",{children:"Checklist"})," tab in the side panel. Choose ",s.jsx("strong",{children:"Assign Checklist"})," and select your new template. Click ",s.jsx("strong",{children:"Save"}),". This template will now be sent to cleaners for that property."]})]})},"service-providers":{title:"Finding & Managing Service Providers",icon:Yn,color:"from-orange-500 to-red-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Guide users on how to find professional cleaners, invite existing partners and assign them to properties."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Open Service Providers"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Service Providers"})," from the left navigation. You'll see a list of your current providers with their status, number of assigned properties and primary contact."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Find new providers"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click the ",s.jsx("strong",{children:"Find Providers"})," button. Enter your location and service requirements in the search form. Clyn Rentals will display available cleaning companies in your area. Review their ratings and click ",s.jsx("strong",{children:"Request Quote"})," or ",s.jsx("strong",{children:"Connect"})," to begin working with them."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Invite a provider you already know"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["If you work with a cleaner not listed on Clyn Rentals, click ",s.jsx("strong",{children:"Invite Provider"}),". Enter their email address and name, then send the invitation. They'll receive a link to create a service provider account."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Assign properties to a provider"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["From the Service Providers page, click a provider row to open a side panel. In the ",s.jsx("strong",{children:"Assigned Properties"})," section, click ",s.jsx("strong",{children:"Assign New"}),". Select one or more properties from the search box and confirm b
499y clicking ",s.jsx("strong",{children:"Assign"}),". This provider will now appear on those properties."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. View provider details"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["The side panel shows the provider's contact email and a list of assigned properties. You can click each property to jump to its details. To remove a property assignment, open the property row and choose ",s.jsx("strong",{children:"Unassign"})," from the options."]})]})},scheduling:{title:"Scheduling a Cleaning",icon:vs,color:"from-indigo-500 to-purple-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Explain how to schedule cleanings for properties and view the calendar."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Initiate scheduling"}),s.jsx("p",{className:"text-gray-700 mb-4",children:"You can schedule a clean from multiple places:"}),s.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-gray-700 mb-6",children:[s.jsxs("li",{children:["Click the ",s.jsx("strong",{children:"Schedule Cleaning"})," button at the top right of Dashboard or Timeline."]}),s.jsxs("li",{children:["From the Clean Reports page, click ",s.jsx("strong",{children:"Schedule Cleaning"}),"."]}),s.jsxs("li",{children:["From a property's detail panel, look for ",s.jsx("strong",{children:"Schedule Cleaning"}),"."]})]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Fill out cleaning details"}),s.jsx("p",{className:"text-gray-700 mb-4",children:"When the scheduling dialog appears:"}),s.jsxs("ul",{className:"list-disc pl-6 space-y-2 text-gray-700 mb-6",children:[s.jsxs("li",{children:["Choose the ",s.jsx("strong",{children:"Property"})," from the dropdown."]}),s.jsxs("li",{children:["Select the ",s.jsx("strong",{children:"Service Provider"})," or leave it unassigned to send to your preferred default."]}),s.jsxs("li",{children:["Set the ",s.jsx("strong",{children:"Date"})," and ",s.jsx("strong",{children:"Start Time"})," for the clean."]}),s.jsxs("li",{children:["Estimate the ",s.jsx("strong",{children:"Duration"})," (e.g., 3 hours)."]}),s.jsx("li",{children:"Add any notes or instructions for the cleaner, such as guest departure times or specific tasks."})]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Confirm the clean"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Review the information and click ",s.jsx("strong",{children:"Schedule"}),". The clean will appear on the Timeline and Dashboard calendars."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Monitor status on the Timeline"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["In ",s.jsx("strong",{children:"Timeline"}),", each property shows horizontal bars representing scheduled cleans. Gray bars indicate scheduled tasks; blue bars represent cleaning in progress or confirmed events. You can filter by date using the day/week view and search for a specific property in the search bar."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. View job status on the Dashboard"}),s.jsx("p",{className:"text-gray-700 mb-6",children:"The Dashboard displays an overview of job statuses. A donut chart summarizes how many cleans are Pending, In Progress, Completed, or Needs Attention. You can click these statuses to jump into individual clean reports."})]})},reports:{title:"Monitoring & Receiving Clean Reports",icon:Da,color:"from-teal-500 to-green-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Show how to access completed cleaning reports, review images and provide feedback."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Open Clean Reports"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Clean Reports"})," in the left menu. This table lists all cleaning assignments. Use the tabs at the top (",s.jsx("strong",{children:"Scheduled"}),", ",s.jsx("strong",{children:"In Progress"}),", ",s.jsx("strong",{children:"Completed"}),", ",s.jsx("strong",{children:"Cancelled"})," and ",s.jsx("strong",{children:"Needs Attention"}),") to filter."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. View a completed report"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Once a cleaning is finished, its status becomes ",s.jsx("strong",{children:"Completed"}),". Click the row to open the report. You'll see before‑and‑after photos, checklist results and any notes from the cleaner."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Download or share the report"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["You can download the report as a PDF for your records or share a link 
499with your team or guests. Look for the ",s.jsx("strong",{children:"Download"})," or ",s.jsx("strong",{children:"Share"})," buttons in the report header."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Provide feedback"}),s.jsx("p",{className:"text-gray-700 mb-6",children:"At the bottom of the report, there's usually an option to rate the service and leave comments. Constructive feedback helps cleaning partners improve and ensures consistent quality."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"5. Handle issues"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["If a report is flagged as ",s.jsx("strong",{children:"Needs Attention"}),", review the details and contact the service provider via the Messages feature to resolve the issue promptly."]})]})},messages:{title:"Using the Messages Feature",icon:so,color:"from-pink-500 to-rose-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Demonstrate how to communicate with service providers and team members within Clyn Rentals."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Access Messages"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Messages"})," in the left navigation. The conversation list appears on the left and the message thread on the right."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Start a new conversation"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"New Conversation"})," and select a service provider or team member from the list. Enter your message and send."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Read and respond"}),s.jsx("p",{className:"text-gray-700 mb-6",children:"Select any conversation to see the message history. Use the text box at the bottom to type replies and click the send icon."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Coordinate cleans"}),s.jsx("p",{className:"text-gray-700 mb-6",children:"Use messaging to confirm arrival times, clarify instructions or discuss special requests. Keeping communications within Clyn Rentals ensures that conversations are tied to the relevant properties and cleans."})]})},team:{title:"Managing Team Members",icon:gg,color:"from-yellow-500 to-orange-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Show how to invite, edit and review the team members who have access to your Clyn Rentals tenant."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Invite team members"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Navigate to ",s.jsx("strong",{children:"Team Members"}),". Click ",s.jsx("strong",{children:"Add Team Member"}),", enter the person's email and choose a role. Roles determine the level of access: ",s.jsx("strong",{children:"Viewer"})," can only view data, ",s.jsx("strong",{children:"Editor"})," can modify properties and schedules, and ",s.jsx("strong",{children:"Owner"})," has full administrative access. Send the invitation."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Review team list"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["The table lists names, roles, dates added and status. Use the tabs above to filter by ",s.jsx("strong",{children:"Active"}),", ",s.jsx("strong",{children:"Pending Invitation"})," or ",s.jsx("strong",{children:"Deactivated"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. View member details"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click the three‑dot ",s.jsx("strong",{children:"Actions"})," menu next to any member and choose ",s.jsx("strong",{children:"View Details"}),". A side panel displays contact information, join date and role permissions."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Edit a member"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["From the Actions menu, select ",s.jsx("strong",{children:"Edit Member"})," to change the person's role or deactivate them. Confirm changes to update their permissions."]})]})},"integrations-tutorial":{title:"Exploring Integrations",icon:Qk,color:"from-blue-600 to-indigo-600",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Describe how to connect third-party services to automate operations."}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"1. Open Integrations"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Click ",s.jsx("strong",{children:"Integrations"})," in the left menu. The page is divided into ",s.jsx("strong",{children:"Connected"})," and ",s.jsx("strong",{children:"Available Integrations"}),"."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"2. Review connected integrations"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Under ",s.jsx("strong",{children:"Connected"}),", you'll see services already linked to your account, such as Guesty or Hospitable. Use the refresh icon to reauthorize if needed."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"3. Connect a new integration"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Scroll to ",s.jsx("strong",{children:"Available Integrations"})," and review options like Hostfully, Jurny, OwnerRez, or channel managers such as Airbnb and Vrbo. Click ",s.jsx("strong",{children:"Connect"})," on a card and follow the authorization steps. You may need to sign into the third‑party service and grant permission for Clyn Rentals to access bookings and property data."]}),s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"4. Coming soon"}),s.jsxs("p",{className:"text-gray-700 mb-6",children:["Integrations labeled ",s.jsx("strong",{children:"Coming Soon"})," are not yet available. You can check back later or contact Clyn Rentals support for updates."]})]})}
499,tips:{title:"Tips for Efficient Use",icon:Gk,color:"from-amber-500 to-yellow-500",content:s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"Best practices to get the most out of Clyn Rentals."}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"bg-blue-50 border-l-4 border-blue-500 p-4 rounded-r-lg",children:[s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Use checklists consistently"}),s.jsx("p",{className:"text-gray-700",children:"Having a standardized checklist for each property ensures cleaners follow the same quality standards. Customize tasks only when a property has unique features."})]}),s.jsxs("div",{className:"bg-green-50 border-l-4 border-green-500 p-4 rounded-r-lg",children:[s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Leverage the Dashboard"}),s.jsxs("p",{className:"text-gray-700",children:["Regularly review the Job Status chart on the dashboard to see how many cleans are pending or in progress. Address any cleans marked ",s.jsx("strong",{children:"Needs Attention"})," immediately."]})]}),s.jsxs("div",{className:"bg-purple-50 border-l-4 border-purple-500 p-4 rounded-r-lg",children:[s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Communicate often"}),s.jsx("p",{className:"text-gray-700",children:"Use Messages to coordinate with service providers and team members. Clear communication reduces delays and misunderstandings."})]}),s.jsxs("div",{className:"bg-orange-50 border-l-4 border-orange-500 p-4 rounded-r-lg",children:[s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Keep information up to date"}),s.jsx("p",{className:"text-gray-700",children:"Ensure that property details, access instructions and checklists remain current. Update them whenever you change locks, add amenities or adjust guest policies."})]}),s.jsxs("div",{className:"bg-teal-50 border-l-4 border-teal-500 p-4 rounded-r-lg",children:[s.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:"Explore integrations"}),s.jsx("p",{className:"text-gray-700",children:"Integrating your booking platform allows Clyn Rentals to automatically import check‑out dates and schedule cleans, reducing manual work."})]})]})]})}}[e];if(!n)return s.jsx("div",{className:"min-h-screen bg-white flex items-center justify-center",children:s.jsxs("div",{className:"text-center",children:[s.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Tutorial Not Found"}),s.jsx($e,{to:"/docs/tutorials",children:s.jsx(Se,{children:"Back to Tutorials"})})]})});const r=n.icon;return e==="acceptinvite"?s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"How to Accept a Team Invite | Clyn Docs"}),s.jsx("meta",{name:"description",content:"Step by step instructions for accepting a Clyn invitation and getting set up on your team's account."}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/tutorials/acceptinvite"})]}),n.content]}):e==="inviteteam"?s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsxs("title",{children:[n.title," | Clyn Documentation"]}),s.jsx("meta",{name:"description",content:n.title}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/tutorials/inviteteam"})]}),n.content]}):s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsxs("title",{children:[n.title," | Clyn Documentation"]}),s.jsx("meta",{name:"description",content:n.title}),s.jsx("link",{rel:"canonical",href:`https://clyn.com/docs/tutorials/${e}`})]}),s.jsx("section",{className:`bg-gradient-to-br ${n.color} py-16 px-6`,children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsxs($e,{to:xt("Docs"),className:"inline-flex items-center text-white/90 hover:text-white mb-6 transition-colors",children:[s.jsx(In,{className:"w-4 h-4 rotate-180 mr-2"}),"Back to Tutorials"]}),s.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[s.jsx("div",{className:"w-16 h-16 rounded-2xl bg-white/20 backdrop-blur-sm flex items-center justify-center",children:s.jsx(r,{className:"w-8 h-8 text-white"})}),s.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white",children:n.title})]})]})}),s.jsx("section",{className:"py-16 px-6",children:s.jsxs("div",{className:"max-w-4xl mx-auto",children:[s.jsx(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.6},className:"prose prose-lg max-w-none",children:n.content}),s.jsx("div",{className:"mt-12 pt-8 border-t border-gray-200",children:s.jsx($e,{to:"/docs/tutorials",children:s.jsxs(Se,{size:"lg",variant:"outline",className:"w-full sm:w-auto",children:[s.jsx(In,{className:"w-4 h-4 rotate-180 mr-2"}),"View All Tutorials"]})})})]})})]})}function CH(){const e=Zr(),t=_S(),n=new URLSearchParams(e.search),r=e.pathname,i=n.get("page")||(r.startsWith("/docs/tutorials")?"tutorials":null)||(r.startsWith("/docs/integrations")?"integrations":null),a=t.integrationSlug||n.get("integration"),l=t.tutorialSlug||n.get("tutorial");return i==="integrations"&&a==="hospitable"?s.jsx(_H,{}):i==="integrations"&&a==="guesty"?s.jsx(AH,{}):i==="integrations"&&a==="hostfully"?s.jsx(RH,{}):i==="integrations"&&a==="jurny"?s.jsx(IH,{}):i==="integrations"?s.jsx(TH,{}):i==="tutorials"&&l?s.jsx(SH,{tutorial:l}):i==="tutorials"?s.jsx(PH,{}):s.jsx(EH,{})}function EH(){const e=[{name:"Hospitable",href:"/docs/integrations/hospitable"},{name:"Guesty",href:"/docs/integrations/guesty"},{name:"Hostfully",href:"/docs/integrations/hostfully"},{name:"Jurny",href:"/docs/integrations/jurny"},{name:"Airbnb",href:"#"},{name:"Vrbo",href:"#"},{name:"Amazon Business",href:"#"}],t=[{name:"Account Setup",href:"/docs/tutorials/account-setup"},{name:"Properties",href:"/docs/tutorials/properties"},{name:"Checklists",href:"/docs/tutorials/checklists"},{name:"Service Providers",href:"/docs/tutorials/service-providers"},{name:"Scheduling",href:"/docs/tutorials/scheduling"},{name:"Reports",href:"/docs/tutorials/reports"}],n=[{name:"Account Setup",href:"/docs/tutorials/account-setup"},{name:"Invite, Resend Invite, and Edit a Cleaning Team Member",href:"/docs/tutorials/inviteteam"},{name:"Accept Cleaning Teammate Invite",href:"/docs/tutorials/acceptinvite"},{name:"Checklists",href:"/docs/tutorials/checklists"},{name:"Service Providers",href:"/docs/tutorials/service-providers"},{name:"Scheduling",href:"/docs/tutorials/scheduling"},{name:"Reports",href:"/docs/tutorials/reports"}];return s.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Documentation | Clyn"}),s.jsx("meta",{name:"description",content:"Setup guides and tutorials for getting started with Clyn, covering account setup, integrations, and day to day use."}),s.jsx("meta",{property:"og:title",content:"Documentation | Clyn"}),s.jsx("meta",{property:"og:description",content:"Setup guides and tutorials for getting started with Clyn, covering account setup, integrations, and day to day use."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Docs"})]}),s.jsx("section",{className:"py-20 px-6",children:s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[s.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-gray-900 mb-6",children:"Tutorials"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Everything you need to get started and master Clyn's AI-powered property management platform."})]})})}),s.jsx("section",{className:"py-16 px-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto",children:[s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:s.jsxs(Te,{className:"mb-8",children:[s.jsxs(tn,{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500 to-teal-500 flex items-center justify-center",children:s.jsx(Kk,{className:"w-5 h-5 text-white"})}),s.jsx(nn,{className:"text-2xl",children:"Integrations"})]}),s.jsxs(wn,{children:["Connect Clyn with the platforms you already use."," ",s.jsx($e,{to:"/docs/integrations",className:"text-blue-600 hover:underline font-medium",children:"View all integrations →"})]})]}),s.jsx(Ue,{children:s.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-4 gap-3",children:e.map(r=>s.jsxs($e,{to:r.href,className:`flex items-center justify-between p-4 rounded-lg border-2 transition-all duration-200 ${r.href==="#"?"bg-gray-50 border-gray-200 cursor-not-allowed opacity-60":"bg-white border-gray-200 hover:border-blue-300 hover:shadow-md"}`,children:[s.jsx("span",{className:"font-medium text-gray-700",children:r.name}),r.href!=="#"&&s.jsx(In,{className:"w-4 h-4 text-gray-400"})]},r.name))})})]})}),s.jsx(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:s.jsxs(Te,{children:[s.jsxs(tn,{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500 to-green-500 flex items-center justify-center",children:s.jsx(Zd,{className:"w-5 h-5 text-white"})}),s.jsx(nn,{className:"text-2xl",children:"Tutorials for Property Managers"})]}),s.jsxs(wn,{children:["Step-by-step guides to help you get the most out of Clyn."," ",s.jsx($e,{to:"/docs/tutorials",className:"text-blue-600 hover:underline font-medium",children:"View all tutorials →"})]})]}),s.jsx(Ue,{children:s.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-3 gap-3",children:t.map(r=>s.jsxs($e,{to:r.href,className:"flex items-center justify-between p-4 rounded-lg border-2 bg-white border-gray-200 hover:border-blue-300 hover:shadow-md transition-all duration-200",children:[s.jsx("span",{className:"font-medium text-gray-700",children:r.name}),s.jsx(In,{className:"w-4 h-4 text-gray-400"})]},r.name))})})]})}),s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:s.jsxs(Te,{children:[s.jsxs(tn,{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[s.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-br from-purple-500 to-blue-500 flex items-center justify-center",children:s.jsx(Zd,{className:"w-5 h-5 text-white"})}),s.jsx(nn,{className:"text-2xl",children:"Tutorials for Service Providers"})]}),s.jsxs(wn,{children:["Step-by-step guides to help you get the most out of Clyn."," ",s.jsx($e,{to:"/docs/tutorials",className:"text-blue-600 hover:underline font-medium",children:"View all tutorials →"})]})]}),s.jsx(Ue,{children:s.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-3 gap-3",children:n.map(r=>s.jsxs($e,{to:r.href,className:"flex items-center justify-between p-4 rounded-lg border-2 bg-white border-gray-200 hover:border-blue-300 hover:shadow-md transition-all duration-200",children:[s.jsx("span",{className:"font-medium text-gray-700",children:r.name}),s.jsx(In,{className:"w-4 h-4 text-gray-400"})]},r.name))})})]})})]})})]})}function PH(){const[e,t]=S.useState(""),r=[{name:"Account Setup & Initial Onboarding",icon:Bx,slug:"account-setup",description:"Get started with Clyn Rentals and connect your properties",color:"from-blue-500 to-cyan-500"},{name:"Adding & Managing Properties Manually",icon:pg,slug:"properties",description:"Learn how to add and manage your properties",color:"from-green-500 to-emerald-500"},{name:"Creating & Assigning Cleaning Checklists",icon:Ph,slug:"checklists",description:"Build custom checklists for your cleaning teams",color:"from-purple-500 to-pink-500"},{name:"Finding & Managing Service Providers",icon:Yn,slug:"service-providers",description:"Connect with professional cleaners and manage providers",color:"from-orange-500 to-red-500"},{name:"Scheduling a Cleaning",icon:vs,slug:"scheduling",description:"Schedule and coordinate cleaning appointments",color:"from-indigo-500 to-purple-500"},{name:"Monitoring & Receiving Clean Reports",icon:Da,slug:"reports",description:"Review completed cleaning reports and provide feedback",color:"from-teal-500 to-green-500"},{name:"Using the Messages Feature",icon:so,slug:"messages",description:"Communicate with providers and team members",color:"from-pink-500 to-rose-500"},{name:"Managing Team Members",icon:gg,slug:"team",description:"Invite and manage your team access",color:"from-yellow-500 to-orange-500"},{name:"Exploring Integrations",icon:Qk,slug:"integrations-tutorial",description:"Connect third-party services to automate operations",color:"from-blue-600 to-indigo-600"},{name:"Tips for Efficient Use",icon:Gk,slug:"tips",description:"Best practices to get the most out of Clyn",color:"from-amber-500 to-yellow-500"}].filter(i=>i.name.toLowerCase().includes(e.toLowerCase())||i.description.toLowerCase().includes(e.toLowerCase()));return s.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn Tutorials | Turnover Ops for Hospitable & Guesty Users"}),s.jsx("meta",{name:"description",content:"Step-by-step tutorials for STR operators running 10-15 units on Hospitable, Guesty, Hostfully, or OwnerRez. Set up photo-verified cleaning turnovers in Clyn."}),s.jsx("meta",{property:"og:title",content:"Clyn Tutorials | Turnover Ops for PMS Users"}),s.jsx("meta",{property:"og:description",content:"Tutorials for STR operators on Hospitable, Guesty, Hostfully, or OwnerRez to set up photo-verified turnovers."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/tutorials"})]}),s.jsx("section",{className:"py-20 px-6",children:s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[s.jsxs("div",{className:"inline-flex items-center gap-2 bg-purple-100 text-purple-700 px-4 py-2 rounded-full text-sm font-semibold mb-6",children:[s.jsx(Zd,{className:"w-4 h-4"}),"Tutorials"]}),s.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-gray-900 mb-6",children:"Learn Clyn Rentals"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-8",children:"Step-by-step guides to help you get the most out of your property management platform."}),s.jsxs("div",{className:"max-w-2xl mx-auto relative",children:[s.jsx(B6,{className:"absolute left-4 top-1/2 transform -translate-y-1/2 w-5 h-5 text-gray-400"}),s.jsx(LP,{type:"text",placeholder:"Search tutorials...",value:e,onChange:i=>t(i.target.value),className:"pl-12 pr-4 py-6 text-lg border-2 focus:border-blue-500 rounded-xl"})]})]})})}),s.jsx("section",{className:"py-16 px-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto",children:[s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:r.map((i,a)=>{const l=i.icon;return s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:a*.05},children:s.jsx($e,{to:`/docs/tutorials/${i.slug}`,children:s.jsx(Te,{className:"h-full border-2 hover:border-blue-500 hover:shadow-lg cursor-pointer transition-all duration-300",children:s.jsxs(tn,{children:[s.jsx("div",{className:`w-14 h-14 rounded-2xl bg-gradient-to-br ${i.color} flex items-center justify-center mb-4`,children:s.jsx(l,{className:"w-7 h-7 text-white"})}),s.jsx(nn,{className:"text-xl mb-2",children:i.name}),s.jsx(wn,{className:"text-gray-600",children:i.description})]})})})},i.slug)})}),r.length===0&&s.jsx("div",{className:"text-center py-12",children:s.jsxs("p",{className:"text-gray-500 text-lg",children:['No tutorials found matching "',e,'"']})})]})})]})}function TH(){const e=[{name:"Hospitable",description:"Sync bookings, automate tasks, and streamline guest communication.",icon:"🏠",status:"available",url:xt("Docs")+"?page=integrations&integration=hospitable",color:"from-purple-500 to-pink-500"},{name:"Hostfully",description:"Sync your Hostfully bookings and properties into Clyn.",icon:"🔗",status:"available",url:xt("Docs")+"?page=integrations&integration=hostfully",color:"from-blue-500 to-cyan-500"},{name:"Jurny",description:"Connect Jurny to sync properties and automate turnover workflows.",icon:"🌐",status:"available",url:xt("Docs")+"?page=integrations&integration=jurny",color:"from-teal-500 to-green-500"},{name:"Airbnb",description:"Connect directly with Airbnb for seamless property management.",icon:"🏡",status:"coming_soon",url:"#",color:"from-red-500 to-pink-500"},{name:"Vrbo",description:"Integrate with Vrbo to manage bookings and guest interactions.",icon:"🌴",status:"coming_soon",url:"#",color:"from-blue-500 to-cyan-500"},{name:"Booking.com",description:"Sync your Booking.com properties and reservations.",icon:"🌍",status:"coming_soon",url:"#",color:"from-blue-600 to-blue-400"},{name:"Amazon Business",description:"Automate restocking with Amazon Business integration.",icon:"📦",status:"coming_soon",url:"#",color:"from-orange-500 to-yellow-500"},{name:"Stripe",description:"Process payments securely through Stripe.",icon:"💳",status:"coming_soon",url:"#",color:"from-indigo-500 to-purple-500"}];return s.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn Integrations | Hospitable, Guesty & PMS Sync for STR Operators"}),s.jsx("meta",{name:"description",content:"Connect Clyn with Hospitable, Guesty, Hostfully, or OwnerRez to sync bookings and automate photo-verified cleaning turnovers for your 10-15 unit STR portfolio."}),s.jsx("meta",{property:"og:title",content:"Clyn Integrations | Hospitable, Guesty & PMS Sync"}),s.jsx("meta",{property:"og:description",content:"Connect Clyn with Hospitable, Guesty, Hostfully, or OwnerRez for photo-verified turnover automation."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/integrations"})]}),s.jsx("section",{className:"py-20 px-6",children:s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[s.jsxs("div",{className:"inline-flex items-center gap-2 bg-blue-100 text-blue-700 px-4 py-2 rounded-full text-sm font-semibold mb-6",children:[s.jsx(Kk,{className:"w-4 h-4"}),"Integrations"]}),s.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-gray-900 mb-6",children:"Connect Everything"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Clyn integrates with the tools you already use to create a seamless property management experience."})]})})}),s.jsx("section",{className:"py-16 px-6",children:s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map((t,n)=>s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:n*.1},children:s.jsx($e,{to:t.url,children:s.jsx(Te,{className:`h-full border-2 transition-all duration-300 ${t.status==="available"?"hover:border-blue-500 hover:shadow-lg cursor-pointer":"opacity-60 cursor-not-allowed"}`,children:s.jsxs(tn,{children:[s.jsx("div",{className:`w-16 h-16 rounded-2xl bg-gradient-to-br ${t.color} flex items-center justify-center text-3xl mb-4`,children:t.icon}),s.jsxs("div",{className:"flex items-center justify-between mb-2",children:[s.jsx(nn,{className:"text-2xl",children:t.name}),t.status==="available"?s.jsx("span",{className:"px-3 py-1 bg-green-100 text-green-700 text-xs font-semibold rounded-full",children:"Available"}):s.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-600 text-xs font-semibold rounded-full",children:"Coming Soon"})]}),s.jsx(wn,{className:"text-gray-600",children:t.description})]})})})},t.name))})})}),s.jsx("section",{className:"py-20 px-6",children:s.jsx("div",{className:"max-w-4xl mx-auto",children:s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"bg-gradient-to-r from-blue-600 to-teal-500 rounded-3xl p-12 text-center text-white",children:[s.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Need a Custom Integration?"}),s.jsx("p",{className:"text-xl text-gray-100 mb-8 max-w-2xl mx-auto",children:"We're always expanding our integration library. Let us know what platform you'd like to connect."}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-100 px-8 py-6 text-lg font-semibold",children:"Schedule a Meeting"})})]})})})]})}function AH(){return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Guesty Integration | Clyn Documentation for STR Operators"}),s.jsx("meta",{name:"description",content:"Connect Clyn with Guesty to sync bookings and automate photo-verified cleaning turnovers for your 10-15 unit STR portfolio."}),s.jsx("meta",{property:"og:title",content:"Guesty Integration | Clyn for STR Operators"}),s.jsx("meta",{property:"og:description",content:"Connect Clyn with Guesty for photo-verified cleaning turnovers on your STR portfolio."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/integrations/guesty"})]}),s.jsx("iframe",{src:"https://scribehow.com/embed/Getting_Started_with_Clyn_Rentals_for_Guesty_Users__EkihgpSaQMKetXSxq6IxJA?as=video",width:"100%",height:"800",allow:"fullscreen",style:{aspectRatio:"16 / 12",border:0,minHeight:"480px"}})]})}function _H(){return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Hospitable Integration | Clyn Documentation for STR Operators"}),s.jsx("meta",{name:"description",content:"Connect Clyn with Hospitable to sync bookings and automate photo-verified cleaning turnovers for your 10-15 unit STR portfolio."}),s.jsx("meta",{property:"og:title",content:"Hospitable Integration | Clyn for STR Operators"}),s.jsx("meta",{property:"og:description",content:"Connect Clyn with Hospitable for photo-verified cleaning turnovers on your STR portfolio."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/integrations/hospitable"})]}),s.jsx("iframe",{src:"https://scribehow.com/embed/Getting_Started_with_Clyn_Re
499ntals_for_Hospitable_Users__cXdWEjpTTNCPzDLxQoey0w?as=video",width:"100%",height:"800",allow:"fullscreen",style:{aspectRatio:"16 / 12",border:0,minHeight:"480px"}})]})}function RH(){return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Hostfully Integration | Clyn Documentation for STR Operators"}),s.jsx("meta",{name:"description",content:"Connect Clyn with Hostfully to sync bookings and automate photo-verified cleaning turnovers for your 10-15 unit STR portfolio."}),s.jsx("meta",{property:"og:title",content:"Hostfully Integration | Clyn for STR Operators"}),s.jsx("meta",{property:"og:description",content:"Connect Clyn with Hostfully for photo-verified cleaning turnovers on your STR portfolio."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/integrations/hostfully"})]}),s.jsxs("div",{className:"max-w-3xl mx-auto py-20 px-6 text-center",children:[s.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Hostfully Integration"}),s.jsx("p",{className:"text-lg text-gray-600 mb-8",children:"Hostfully is now live in Clyn Rentals. Sign in and connect Hostfully from the Integrations tab to sync your bookings and properties."}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-6 text-lg font-semibold",children:"Open Clyn Rentals"})})]})]})}function IH(){return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Jurny Integration | Clyn Documentation for STR Operators"}),s.jsx("meta",{name:"description",content:"Connect Clyn with Jurny to sync bookings and automate photo-verified cleaning turnovers for your 10-15 unit STR portfolio."}),s.jsx("meta",{property:"og:title",content:"Jurny Integration | Clyn for STR Operators"}),s.jsx("meta",{property:"og:description",content:"Connect Clyn with Jurny for photo-verified cleaning turnovers on your STR portfolio."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/docs/integrations/jurny"})]}),s.jsxs("div",{className:"max-w-3xl mx-auto py-20 px-6 text-center",children:[s.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Jurny Integration"}),s.jsx("p",{className:"text-lg text-gray-600 mb-8",children:"Jurny is now live in Clyn Rentals. Sign in and connect Jurny from the Integrations tab to sync your bookings and properties."}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-6 text-lg font-semibold",children:"Open Clyn Rentals"})})]})]})}function MH(){return s.jsx(s.Fragment,{children:s.jsxs("section",{id:"hero",className:"relative overflow-hidden bg-gradient-to-br from-slate-50 via-white to-blue-50 pt-20 pb-24","aria-label":"Hero section",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse delay-1000"})]}),s.jsx("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,y:30}
499,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center lg:text-left",children:[s.jsxs(q.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{delay:.2},className:"inline-flex items-center px-4 py-2 rounded-full bg-blue-50 text-blue-700 text-sm font-medium mb-8",children:[s.jsx(he,{className:"w-4 h-4 mr-2"}),"AI-Powered Cleaning Verification"]}),s.jsxs("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:["If It's Not"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Verified"}),", It's Not Clean."]}),s.jsx("p",{className:"text-xl text-gray-700 leading-relaxed mb-8 max-w-2xl",children:"Clyn verifies every cleaning turnover with before-and-after photos and an AI match score, giving property managers, hotels, and cleaning companies proof the job was done right."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start",children:[s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",onClick:()=>{try{Hn.analytics.track({eventName:"hero_get_early_access_clicked"}).catch(()=>{})}catch{}},children:"Start Your Free Trial"})}),s.jsx("p",{className:"text-sm text-gray-500 text-center lg:text-left",children:"14-day free trial · No contracts"})]})]}),s.jsx(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.3},className:"relative",children:s.jsx("div",{className:"relative w-full overflow-hidden aspect-[3/2] rounded-2xl",children:s.jsx("video",{src:"https://media.base44.com/videos/public/6887ee5a7c2ec1c9feee474b/76f0fb3cf_ClynAIInspection2.mp4",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full scale-105",style:{objectFit:"cover"},"aria-label":"Clyn AI inspection demo"})})})]})})]})})}function OH(){const e=["PMS-Native","Hands-on Onboarding","No Setup Fees"];return s.jsx("section",{className:"bg-gray-50 py-6 border-t border-gray-100",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"flex flex-wrap items-center justify-center gap-2 lg:gap-4",children:e.map((t,n)=>s.jsxs(lt.Fragment,{children:[s.jsx("span",{className:"text-gray-800 font-semibold text-sm lg:text-base",children:t}),n<e.length-1&&s.jsx("span",{className:"text-gray-400 font-bold",children:"·"})]},t))})})})}function DH(){const e=[{icon:Ea,title:"Proof on Every Turnover",description:"AI-matched before-and-after photos give you a defensible record for every cleaning, no walkthrough required.",color:"from-blue-500 to-cyan-500",bgColor:"bg-blue-50"},{icon:oi,title:"Zero Damage Surprises",description:"AI photo inspections catch issues before guests do.",color:"from-red-500 to-pink-500",bgColor:"bg-red-50"},{icon:Yn,title:"Every Cleaner, One Dashboard",description:"See every job, every cleaner, and every turnover status in one place.",color:"from-orange-500 to-yellow-500",bgColor:"bg-orange-50"},{icon:F6,title:"Fewer Disputes, Faster Payouts",description:"Photo-verified proof means fewer chargeback disputes and faster resolution when something's questioned.",color:"from-green-500 to-teal-500",bgColor:"bg-green-50"}];
499return s.jsx("section",{id:"benefits",className:"py-24 bg-white","aria-labelledby":"benefits-heading",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsxs("h2",{id:"benefits-heading",className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:["Why Property Managers"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Choose Clyn"})]}),s.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Transform chaos into seamless operations with AI-powered automation"})]}),s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((t,n)=>{const r=t.icon;return s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:n*.1},whileHover:{y:-5},className:"group",children:s.jsx(Te,{className:"h-full bg-white border-0 shadow-lg hover:shadow-2xl transition-all duration-500 overflow-hidden",children:s.jsxs(Ue,{className:"p-8 text-center",children:[s.jsx("div",{className:`w-16 h-16 mx-auto mb-6 ${t.bgColor} rounded-2xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300`,children:s.jsx("div",{className:`w-8 h-8 rounded-lg bg-gradient-to-br ${t.color} flex items-center justify-center`,children:s.jsx(r,{className:"w-5 h-5 text-white"})})}),s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:t.title}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:t.description}),s.jsx("div",{className:`absolute inset-x-0 bottom-0 h-1 bg-gradient-to-r ${t.color} transform scale-x-0 group-hover:scale-x-100 transition-transform duration-500`})]})})},n)})})]})})}function LH({number:e,subheading:t,heading:n,body:r,visual:i,reverse:a}){return s.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-10 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:a?"lg:order-2":"",children:[s.jsx("div",{className:"text-5xl font-bold text-blue-600 mb-3 leading-none",children:e}),s.jsx("p",{className:"text-sm font-semibold uppercase tracking-widest text-slate-500 mb-3",children:t}),s.jsx("h3",{className:"text-2xl lg:text-3xl font-bold text-slate-900 mb-4 leading-tight",children:n}),s.jsx("p",{className:"text-lg text-slate-600 leading-relaxed",children:r})]}),s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15},className:a?"lg:order-1":"",children:s.jsx("div",{className:"bg-blue-50/60 rounded-3xl p-6 lg:p-8",children:i})})]})}const FH=[{name:"Homey Apartment In The Heart Of Kilimani",address:"PQ6R+XG3, Maalim Juma Rd, Nairobi, Kenya"},{name:"Sunny Studio Near Yaya Centre",address:"PQ5R+2C4, Argwings Kodhek Rd, Nairobi, Kenya"}];function zH(){return s.jsxs("div",{className:"w-full max-w-md mx-auto bg-white rounded-2xl shadow-2xl border border-slate-100 overflow-hidden",children:[s.jsxs("div",{className:"p-6",children:[s.jsxs("div",{className:"flex items-center justify-between mb-1",children:[s.jsx("h3",{className:"text-lg font-bold text-slate-900",children:"Diana's Cleaning Business!!"}),s.jsx("span",{className:"px-2.5 py-1 rounded-full bg-blue-600 text-white text-xs font-semibold",children:"Active"})]}),s.jsx("p",{className:"text-sm text-slate-500 mb-5",children:"[email protected]"}),s.jsxs("button",{className:"w-full mb-5 flex items-center justify-center gap-2 rounded-lg border border-slate-200 py-2.5 text-sm font-medium text-slate-700 hover:bg-slate-50 transition-colors",children:[s.jsx(R6,{className:"w-4 h-4"})," Assign New"]}),s.jsx("p",{className:"text-xs font-semibold text-slate-400 uppercase tracking-wide mb-3",children:"Assigned Properties"}),s.jsx("div",{className:"space-y-1",children:FH.map((e,t)=>s.jsxs("div",{className:"flex items-center gap-3 py-3 border-t border-slate-100",children:[s.jsx("div",{className:"w-9 h-9 rounded-lg bg-blue-50 flex items-center justify-center flex-shrink-0",children:s.jsx(Bx,{className:"w-5 h-5 text-blue-600"})}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"text-sm font-medium text-slate-900 truncate",children:e.name}),s.jsx("p",{className:"text-xs text-slate-500 truncate",children:e.address})]}),s.jsx("span",{className:"text-xs font-medium text-blue-600 flex-shrink-0",children:"Active"})]},t))})]}),s.jsxs("div",{className:"flex items-center justify-end gap-3 px-6 py-4 bg-slate-50 border-t border-slate-100",children:[s.jsx("button",{className:"text-sm font-medium text-slate-500 hover:text-slate-700",children:"Close"}),s.jsx("button",{className:"px-4 py-2 rounded-lg bg-blue-600 text-white text-sm font-semibold hover:bg-blue-700 transition-colors",children:"Edit Partners"})]})]})}const BH=["https://media.base44.com/images/public/6887ee5a7c2ec1c9feee474b/881ff39ef_WhatsAppImage2026-02-05at110238AM.jpeg","https://media.base44.com/images/public/6887ee5a7c2ec1c9feee474b/637ec57ea_WhatsAppImage2026-02-05at110239AM3.jpeg","https://media.base44.com/images/public/6887ee5a7c2ec1c9feee474b/e4abef2f8_WhatsAppImage2026-02-05at110238AM1.jpeg","https://media.base44.com/images/public/6887ee5a7c2ec1c9feee474b/5d2e9977c_WhatsAppImage2026-02-05at110238AM3.jpeg"];function VH(){return s.jsxs("div",{className:"w-full max-w-md mx-auto relative pb-8",children:[s.jsx("div",{className:"grid grid-cols-2 gap-3",children:BH.map((e,t)=>s.jsx("div",{className:"overflow-hidden rounded-xl shadow-md aspect-square",children:s.jsx("img",{src:e,alt:`Interior ${t+1}`,className:"w-full h-full object-cover",loading:"lazy"})},t))}),s.jsxs("div",{className:"absolute -bottom-2 left-1/2 -translate-x-1/2 bg-slate-900 rounded-xl px-5 py-3 shadow-2xl flex items-center gap-2 whitespace-nowrap",children:[s.jsx(ur,{className:"w-4 h-4 text-yellow-400 fill-current"}),s.jsx("span",{className:"text-white text-sm font-medium",children:"AI sorted: Kitchen • Bedroom • Bath"})]})]})}const UH=[{property:"Homey Apartment, Kilimani",date:"Jul 5",status:"Verified"},{property:"Sunny Studio, Yaya",date:"Jul 4",status:"Verified"},{property:"Loft Near CBD",date:"Jul 3",status:"Pending"}];function $H(){return s.jsxs("div",{className:"w-full max-w-md mx-auto bg-white rounded-2xl shadow-2xl border border-slate-100 overflow-hidden",children:[s.jsxs("div",{className:"flex items-center gap-2 px-6 py-4 border-b border-slate-100",children:[s.jsx(Da,{className:"w-5 h-5 text-blue-600"}),s.jsx("h3",{className:"text-base font-bold text-slate-900",children:"Clean Reports"})]}),s.jsx("div",{className:"divide-y divide-slate-100",children:UH.map((e,t)=>s.jsxs("div",{className:"flex items-center gap-3 px-6 py-3.5",children:[s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsx("p",{className:"text-sm font-medium text-slate-900 truncate",children:e.property}),s.jsx("p",{className:"text-xs text-slate-500",children:e.date})]}),s.jsxs("span",{className:`flex items-center gap-1 text-xs font-medium ${e.status==="Verified"?"text-green-600":"text-amber-600"}`,children:[e.status==="Verified"?s.jsx(Ph,{className:"w-4 h-4"}):s.jsx(vo,{className:"w-4 h-4"}),e.status]})]},t))})]})}const HH=[{number:"01",subheading:"Bring Your Crew On Board",heading:"Invite a cleaning partner. Assign properties in a click.",body:"Add your cleaner, open their profile and hand off exactly the properties they cover.",visual:s.jsx(zH,{})},{number:"02",subheading:"Upload Once, Sorted For You",heading:"Cleaners drop every photo. AI sorts them by room.",body:"No manual tagging. Upload the whole batch and Clyn figures out what's what.",visual:s.jsx(VH,{}),reverse:!0},{number:"03",subheading:"Proof, Every Clean",heading:"Proof of a spotless clean, every time.",body:"Track every job, with reports and checklists you can trust. No site visit required.",visual:s.jsx($H,{})}];function WH(){return s.jsx("section",{id:"how-it-works",className:"py-16 bg-gradient-to-br from-slate-50 to-blue-50","aria-labelledby":"how-it-works-heading",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:s.jsx("h2",{id:"how-it-works-heading",className:"text-4xl lg:text-5xl font-bold text-slate-900 mb-6",children:"How It Works"})}),s.jsx("div",{className:"space-y-6",children:HH.map((e,t)=>s.jsx(LH,{...e},t))})]})})}function qH(){return s.jsx("section",{id:"solutions",className:"bg-slate-50 pt-24 pb-0","aria-labelledby":"solutions-heading",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[s.jsxs("h2",{id:"solutions-heading",className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:["Every property you manage, ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"in one place."})]}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Computer vision and automation that actually works"})]}),s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},className:"bg-white rounded-t-2xl shadow-2xl overflow-hidden max-w-3xl mx-auto",children:[s.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 border-b border-gray-100",children:[s.jsxs("div",{className:"flex gap-1.5",children:[s.jsx("span",{className:"w-3 h-3 rounded-full bg-red-400"}),s.jsx("span",{className:"w-3 h-3 rounded-full bg-yellow-400"}),s.jsx("span",{className:"w-3 h-3 rounded-full bg-green-400"})]}),s.jsx("div",{className:"flex-1 flex justify-center",children:s.jsx("span",{className:"text-sm text-gray-500 bg-gray-50 px-4 py-1 rounded-md",children:"rentals.clyn.com"})})]}),s.jsx("img",{src:"https://media.base44.com/images/public/6887ee5a7c2ec1c9feee474b/f2309497e_image.png",alt:"Clyn dashboard showing alerts and property calendar",className:"block w-full h-auto"})]})]})})}const GH=[{name:"Guesty",logo:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/4ab811234_Guesty.jpg",width:32,height:32},{name:"Hostfully",logo:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/3547ef615_Hostfully_favicon-1.png",width:32,height:32},{name:"Hospitable",logo:"https://www.google.com/s2/favicons?domain=hospitable.com&sz=64",width:32,height:32},{name:"OwnerRez",logo:"https://www.google.com/s2/favicons?domain=ownerrez.com&sz=64",width:32,height:32},{name:"Jurny",logo:"https://www.google.com/s2/favicons?domain=jurny.com&sz=64",width:32,height:32}];function YH(){return s.jsx("section",{id:"integrations",className:"pt-28 pb-24 bg-white","aria-labelledby":"integrations-heading",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[s.jsx(q.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},className:"relative h-96",children:s.jsx("div",{className:"absolute inset-0 bg-slate-100 rounded-2xl p-8 flex items-center justify-center overflow-hidden",children:s.jsxs(q.div,{className:"w-full max-w-sm space-y-4",initial:{y:50,opacity:0}
499,animate:{y:0,opacity:1},transition:{delay:.5,type:"spring"},children:[s.jsxs("div",{className:"bg-white p-4 rounded-lg shadow-lg flex items-center gap-4",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/4ab811234_Guesty.jpg",alt:"Guesty",width:"24",height:"24",loading:"lazy",decoding:"async",className:"h-6 object-contain"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-semibold text-gray-800",children:"New Booking: Ocean View #12"}),s.jsx("p",{className:"text-sm text-gray-500",children:"July 28 - Aug 2"})]})]}),s.jsx(q.div,{className:"flex justify-center",initial:{scale:0},animate:{scale:1},transition:{delay:1.2,duration:.5},children:s.jsx(qt,{className:"w-8 h-8 text-blue-500"})}),s.jsxs(q.div,{className:"bg-white p-4 rounded-lg shadow-2xl flex items-center gap-4 border-l-4 border-blue-500",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:1.5,duration:.5},children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/e3ccd8a80_Clyn42logo.png",alt:"Clyn",width:"32",height:"32",loading:"lazy",className:"w-8 h-8 rounded-lg"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-semibold text-gray-800",children:"Turnover Task Created"}),s.jsx("p",{className:"text-sm text-gray-500",children:"Cleaner: Assigned to Jane D."})]}),s.jsx(he,{className:"w-6 h-6 text-green-500"})]})]})})}),s.jsxs(q.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"space-y-8",children:[s.jsx("h2",{id:"integrations-heading",className:"text-4xl lg:text-5xl font-bold text-gray-900",children:"Integrations That Just Work"}),s.jsx("p",{className:"text-xl text-gray-700 leading-relaxed",children:"Connect your entire tech stack in seconds. Clyn syncs with your PMS, smart locks, payment gateways, and more to automate your workflow from end to end."}),s.jsx("div",{className:"grid grid-cols-2 gap-6",children:GH.map(e=>s.jsxs("div",{className:"flex items-center gap-3 p-4 bg-gray-50 rounded-lg transition-transform hover:scale-105",children:[s.jsx("div",{className:"flex-shrink-0 h-8 w-8 flex items-center justify-center",children:s.jsx("img",{src:e.logo,alt:e.name,width:e.width,height:e.height,loading:"lazy",decoding:"async",className:"max-h-full max-w-full object-contain"})}),s.jsx("span",{className:"font-medium text-gray-700",children:e.name})]},e.name))})]})]})})})}function KH(){return s.jsx("section",{id:"about",className:"py-24 bg-white","aria-labelledby":"about-heading",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{id:"about-heading",className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"The Clyn Standard"}),s.jsx("p",{className:"text-xl text-gray-700 max-w-3xl mx-auto",children:"Every property, perfectly prepared, every time."})]}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[s.jsx(q.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8},children:s.jsx("img",{src:"https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&auto=format&fit=crop",alt:"A gorgeous, well-maintained home representing the Clyn standard",className:"rounded-2xl shadow-2xl w-full h-auto object-cover"})}),s.jsxs(q.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"space-y-6",children:[s.jsx("h3",{className:"text-3xl font-bold text-gray-900",children:"Built on Industry Experience"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Clyn is built by a team with 9 years of experience in the hospitality industry, designed around the real operational problems property managers face every day."})]})]})]})})}function QH(){return s.jsx("section",{className:"py-24 bg-white",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-8 leading-tight",children:"Built for What Property Managers Actually Ask For"}),s.jsx("p",{className:"text-lg lg:text-xl text-gray-700 leading-relaxed",children:"When we showed our AI photo-verification feature to an STR operator already evaluating a competitor, his reaction was immediate. He'd already asked that competitor for exactly this capability. They didn't have it. We do."})]})})})}function XH(){return s.jsxs("section",{id:"contact",className:"py-24 bg-gradient-to-br from-blue-600 via-blue-700 to-teal-600 relative overflow-hidden","aria-labelledby":"
499cta-heading",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-white/10 rounded-full mix-blend-multiply filter blur-xl animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-300/20 rounded-full mix-blend-multiply filter blur-xl animate-pulse delay-1000"})]}),s.jsx("div",{className:"relative max-w-6xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},children:[s.jsxs("h2",{id:"cta-heading",className:"text-4xl lg:text-6xl font-bold text-white mb-8 leading-tight",children:["Put Your Operations"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-teal-200 to-blue-200",children:"on Autopilot"})]}),s.jsx("p",{className:"text-xl lg:text-2xl text-blue-100 mb-12 max-w-3xl mx-auto",children:"Eliminate manual work and increase guest satisfaction with AI-powered automation."}),s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"flex flex-wrap justify-center gap-6 mb-12",children:["14-day free trial","No contracts"].map((e,t)=>s.jsxs("div",{className:"flex items-center gap-2 bg-white/10 backdrop-blur-sm px-4 py-2 rounded-full",children:[s.jsx(he,{className:"w-5 h-5 text-teal-200"}),s.jsx("span",{className:"text-white font-medium",children:e})]},t))}),s.jsx(q.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"mb-8",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-50 px-12 py-6 text-xl font-bold shadow-2xl hover:shadow-3xl transition-all duration-300 rounded-full group",onClick:()=>{try{Hn.analytics.track({eventName:"final_cta_get_early_access_clicked"}).catch(()=>{})}catch{}},children:["Start Your Free Trial",s.jsx(qt,{className:"w-6 h-6 ml-3 group-hover:translate-x-1 transition-transform duration-300"})]})})})]})})]})}function JH(){const[e]=BO();return S.useEffect(()=>{e.get("page_id")&&window.history.replaceState(null,"","/")},[e]),S.useEffect(()=>{const t="Clyn | AI Cleaning Verification for Hotels and Rentals";document.title=t;const n=(r,i,a,l)=>{let u=document.head.querySelector(r);u||(u=document.createElement("meta"),u.setAttribute(i,a),document.head.appendChild(u)),u.setAttribute("content",l)};n("meta[property='og:title']","property","og:title",t),n("meta[name='twitter:title']","name","twitter:title",t)},[]),s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("meta",{name:"description",content:"Clyn verifies every cleaning turnover with before-and-after photos and an AI match score, giving property managers, hotels, and cleaning companies proof the job was done right."}),s.jsx("meta",{property:"og:description",content:"Clyn verifies every cleaning turnover with before-and-after photos and an AI match score, giving property managers, hotels, and cleaning companies proof the job was done right."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"Clyn",applicationCategory:"BusinessApplication",operatingSystem:"Web",description:"Clyn is a B2B AI computer vision platform that guides, trains, and verifies cleaning operations across hotels, short term rentals, offices, restaurants, gyms, and healthcare facilities.",url:"https://clyn.com",offers:{"@type":"AggregateOffer",lowPrice:"9",highPrice:"15",priceCurrency:"USD",offerCount:"3"}})})]}),s.jsx(MH,{}),s.jsx(OH,{}),s.jsx(DH,{}),s.jsx(WH,{}),s.jsx(qH,{}),s.jsx(YH,{}),s.jsx(KH,{}),s.jsx(QH,{}),s.jsx(XH,{})]})}const FP=S.forwardRef(({className:e,...t},n)=>s.jsx("div",{className:"relative w-full overflow-auto",children:s.jsx("table",{ref:n,className:He("w-full caption-bottom text-sm",e),...t})}));FP.displayName="Table";const zP=S.forwardRef(({className:e,...t},n)=>s.jsx("thead",{ref:n,className:He("[&_tr]:border-b",e),...t}));zP.displayName="TableHeader";const BP=S.forwardRef(({className:e,...t},n)=>s.jsx("tbody",{ref:n,className:He("[&_tr:last-child]:border-0",e),...t}));BP.displayName="TableBody";const ZH=S.forwardRef(({className:e,...t},n)=>s.jsx("tfoot",{ref:n,className:He("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));ZH.displayName="TableFooter";const ia=S.forwardRef(({className:e,...t},n)=>s.jsx("tr",{ref:n,className:He("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));ia.displayName="TableRow";const Xd=S.forwardRef(({className:e,...t},n)=>s.jsx("th",{ref:n,className:He("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Xd.displayName="TableHead";const Vn=S.forwardRef(({className:e,...t},n)=>s.jsx("td",{ref:n,className:He("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));Vn.displayName="TableCell";const eW=S.forwardRef(({className:e,...t},n)=>s.jsx("caption",{ref:n,className:He("mt-4 text-sm text-muted-foreground",e),...t}));
499eW.displayName="TableCaption";function tW(){const e=t=>{var n;(n=document.getElementById(t))==null||n.scrollIntoView({behavior:"smooth"})};return s.jsxs("div",{className:"bg-white text-gray-800",children:[s.jsxs("head",{children:[s.jsx("title",{children:"MTR Pilot Program | Clyn"}),s.jsx("meta",{name:"description",content:"Details on Clyn's pilot program for mid term rental operators."}),s.jsx("meta",{property:"og:title",content:"MTR Pilot Program | Clyn"}),s.jsx("meta",{property:"og:description",content:"Details on Clyn's pilot program for mid term rental operators."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/MTRPilotProgram"})]}),s.jsx("section",{className:"py-24 bg-gradient-to-br from-slate-50 to-blue-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{duration:.8},children:[s.jsx("h1",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6 leading-tight",children:"Never Miss a Turnover. Pay Only When You Need Us."}),s.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Automated cleaner scheduling, AI-powered inspections, and instant restocking orders, designed for Mid-Term Rental owners who want zero hassle and zero wasted spend."}),s.jsx(Se,{asChild:!0,size:"lg",children:s.jsxs("a",{href:"https://ukl3t5q8s8s4.typeform.com/o/bngp8UdS",target:"_blank",rel:"noopener noreferrer",children:["Join the Pilot Program Waitlist ",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})}),s.jsx("p",{className:"text-sm text-gray-500 mt-4",children:"Spots are limited for early access. Reserve yours now."})]}),s.jsx(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[{title:"Auto Scheduling",icon:vs},{title:"AI Inspections",icon:Iw},{title:"Auto Restocking",icon:fc}].map(t=>s.jsxs(Te,{className:"text-center p-4 shadow-lg",children:[s.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-3",children:s.jsx(t.icon,{className:"w-6 h-6 text-blue-600"})}),s.jsx("h3",{className:"font-semibold",children:t.title})]},t.title))})]})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-center mb-12",children:"You Don’t Need a Monthly Cleaning Service. You Need a Smart One."}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[s.jsx(Te,{className:"border-red-300 border-2 shadow-xl",children:s.jsxs(Ue,{className:"p-8",children:[s.jsx("h3",{className:"text-2xl font-bold text-red-600 mb-4",children:"Traditional Model"}),s.jsxs("ul",{className:"space-y-3 text-lg text-gray-600",children:[s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-red-500"}),s.jsx("span",{children:"Monthly fees even when there are no turnovers"})]}),s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-red-500"}),s.jsx("span",{children:"Manual coordination and chasing cleaners"})]}),s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-red-500"}),s.jsx("span",{children:"Late discovery of damage or missing items"})]})]})]})}),s.jsx(Te,{className:"border-green-400 border-2 shadow-xl",children:s.jsxs(Ue,{className:"p-8",children:[s.jsx("h3",{className:"text-2xl font-bold text-green-600 mb-4",children:"Clyn Model"}),s.jsxs("ul",{className:"space-y-3 text-lg text-gray-700",children:[s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500"}),s.jsx("span",{children:"Pay-per-event, only when you need it"})]}),s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500"}),s.jsx("span",{children:"Automated scheduling & confirmations"})]}),s.jsxs("li",{className:"flex items-center gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500"}),s.jsx("span",{children:"AI inspection reports and smart restocking"})]})]})]})})]})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-center mb-12",children:"Meet Clyn for Mid-Term Rentals"}),s.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{icon:ui,title:"Automatic Scheduling",description:"We pull your move-out dates from your calendar or PMS and instantly book your preferred cleaner."},{icon:Iw,title:"AI Inspections",description:"Cleaners upload photos; our AI checks for damage, missing items, and cleanliness standards, then sends you a report."},{icon:fc,title:"Smart Restocking",description:"We detect when essentials are low and automatically place replenishment orders."}].map(t=>s.jsxs(Te,{className:"p-8 text-center shadow-lg",children:[s.jsx("div",{className:"w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-6",children:s.jsx(t.icon,{className:"w-8 h-8 text-blue-600"})}),s.jsx("h3",{className:"text-xl font-bold mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600",children:t.description})]},t.title))})]})}),s.jsx("section",{id:"how-it-works",className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-center mb-16",children:"How It Works"}),s.jsxs("div",{className:"grid md:grid-cols-3 gap-8 relative",children:[s.jsx("div",{className:"hidden md:block absolute top-1/2 left-0 w-full h-1",children:s.jsx("svg",{width:"100%",height:"100%",children:s.jsx("line",{x1:"0",y1:"50%",x2:"100%",y2:"50%",strokeWidth:"2",strokeDasharray:"5,5",className:"stroke-gray-300"})})}),[{num:1,title:"Connect or Add Dates",desc:"Connect your platform or enter your tenant turnover dates manually."},{num:2,title:"Automation Kicks In",desc:"We schedule, inspect, and restock automatically at turnover."},{num:3,title:"Report & Invoice",desc:"Receive a detailed report and pay only for what you use."}].map(t=>s.jsxs("div",{className:"text-center relative bg-white px-4",children:[s.jsx("div",{className:"w-12 h-12 bg-blue-600 text-white rounded-full flex items-center justify-center mx-auto mb-4 font-bold text-xl",children:t.num}),s.jsx("h3",{className:"text-xl font-bold mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600",children:t.desc})]},t.num))]})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-center mb-12",children:"Transparent Pay-Per-Event Pricing"}),s.jsx(Te,{className:"shadow-2xl",children:s.jsxs(FP,{children:[s.jsx(zP,{children:s.jsxs(ia,{children:[s.jsx(Xd,{className:"w-[40%]",children:"Feature"}),s.jsx(Xd,{children:"Description"}),s.jsx(Xd,{className:"text-right",children:"Price"})]})}),s.jsxs(BP,{children:[s.jsxs(ia,{children:[s.jsx(Vn,{className:"font-medium",children:"Turnover Scheduling"}),s.jsx(Vn,{children:"Auto cleaner booking & confirmation"}),s.jsx(Vn,{className:"text-right font-semibold",children:"$15–20/event"})]}),s.jsxs(ia,{children:[s.jsx(Vn,{className:"font-medium",children:"AI Inspection Report"}),s.jsx(Vn,{children:"Photo review + damage/missing item detection"}),s.jsx(Vn,{className:"text-right font-semibold",children:"$20–30/event"})]}),s.jsxs(ia,{children:[s.jsx(Vn,{className:"font-medium",children:"Restocking Automation"}),s.jsx(Vn,{children:"Supply tracking + order placement"}),s.jsx(Vn,{className:"text-right font-semibold",children:"$10–15/event + supplies"})]}),s.jsxs(ia,{className:"bg-blue-50",children:[s.jsx(Vn,{className:"font-bold text-blue-700",children:"Bundle"}),s.jsx(Vn,{className:"font-medium",children:"Scheduling + inspection + restocking"}),s.jsx(Vn,{className:"text-right font-bold text-blue-700",children:"$35–50/event"})]})]})]})})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:[{icon:Da,title:"Case Study",desc:"How a Chicago MTR owner cut turnover time from 4 days to 1 using Clyn."},{icon:fg,title:"Integrations",desc:"Furnished Finder, CHBO, Buildium, AppFolio, iGMS, and more."},{icon:Xk,title:"Guarantee",desc:"Only pay when you turn over a unit. No monthly fees."}].map(t=>s.jsxs(Te,{className:"p-8 text-center shadow-lg border-t-4 border-blue-500",children:[s.jsx("div",{className:"w-16 h-16 bg-blue-50 rounded-full flex items-center justify-center mx-auto mb-6",children:s.jsx(t.icon,{className:"w-8 h-8 text-blue-600"})}),s.jsx("h3",{className:"text-xl font-bold mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600",children:t.desc})]},t.title))})})}),s.jsx("section",{id:"waitlist",className:"py-24 bg-gradient-to-br from-blue-600 to-teal-600",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:[s.jsx("h2",{className:"text-4xl font-bold text-white mb-4",children:"No Monthly Fees. No Wasted Spend."}),s.jsx("p",{className:"text-xl text-blue-100 mb-8 max-w-3xl mx-auto",children:"Join the self-onboarding pilot and see how much time and money you'll save with Clyn."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx(Se,{asChild:!0,size:"lg",className:"bg-white text-blue-600 hover:bg-gray-100",children:s.jsx("a",{href:"https://ukl3t5q8s8s4.typeform.com/o/bngp8UdS",target:"_blank",rel:"noopener noreferrer",children:"Join the Waitlist"})}),s.jsx(Se,{size:"lg",variant:"outline",className:"text-white border-white hover:bg-white/10",onClick:()=>e("how-it-works"),children:"See How the Pilot Works"})]})]})})]})}function nW(e,t){return S.useReducer((n,r)=>t[n][r]??n,e)}var Ya=e=>{const{present:t,children:n}=e,r=rW(t),i=typeof n=="function"?n({present:r.isPresent}):S.Children.only(n),a=pt(r.ref,sW(i));return typeof n=="function"||r.isPresent?S.cloneElement(i,{ref:a}):null};Ya.displayName="Presence";function rW(e){const[t,n]=S.useState(),r=S.useRef(null),i=S.useRef(e),a=S.useRef("none"),l=e?"mounted":"unmounted",[u,d]=nW(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const h=_d(r.current);a.current=u==="mounted"?h:"none"},[u]),rn(()=>{const h=r.current,p=i.current;if(p!==e){const x=a.current,y=_d(h);e?d("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(p&&x!==y?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,d]),rn(()=>
499{if(t){let h;const p=t.ownerDocument.defaultView??window,m=y=>{const w=_d(r.current).includes(CSS.escape(y.animationName));if(y.target===t&&w&&(d("ANIMATION_END"),!i.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",h=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},x=y=>{y.target===t&&(a.current=_d(r.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(h),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:S.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function _d(e){return(e==null?void 0:e.animationName)||"none"}function sW(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var of="Collapsible",[iW,VP]=yi(of),[oW,i0]=iW(of),UP=S.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:l,...u}=e,[d,h]=mo({prop:r,defaultProp:i??!1,onChange:l,caller:of});return s.jsx(oW,{scope:n,disabled:a,contentId:fi(),open:d,onOpenToggle:S.useCallback(()=>h(p=>!p),[h]),children:s.jsx(et.div,{"data-state":a0(d),"data-disabled":a?"":void 0,...u,ref:t})})});UP.displayName=of;var $P="CollapsibleTrigger",HP=S.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=i0($P,n);return s.jsx(et.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":a0(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:Re(e.onClick,i.onOpenToggle)})});HP.displayName=$P;var o0="CollapsibleContent",WP=S.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=i0(o0,e.__scopeCollapsible);return s.jsx(Ya,{present:n||i.open,children:({present:a})=>s.jsx(aW,{...r,ref:t,present:a})})});WP.displayName=o0;var aW=S.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...a}=e,l=i0(o0,n),[u,d]=S.useState(r),h=S.useRef(null),p=pt(t,h),m=S.useRef(0),x=m.current,y=S.useRef(0),N=y.current,w=l.open||u,k=S.useRef(w),b=S.useRef(void 0);return S.useEffect(()=>{const E=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(E)},[]),rn(()=>{const E=h.current;if(E){b.current=b.current||{transitionDuration:E.style.transitionDuration,animationName:E.style.animationName},E.style.transitionDuration="0s",E.style.animationName="none";const C=E.getBoundingClientRect();m.current=C.height,y.current=C.width,k.current||(E.style.transitionDuration=b.current.transitionDuration,E.style.animationName=b.current.animationName),d(r)}},[l.open,r]),s.jsx(et.div,{"data-state":a0(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!w,...a,ref:p,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":N?`${N}px`:void 0,...e.style},children:w&&i})});function a0(e){return e?"open":"closed"}var lW=UP,cW=HP,uW=WP,_r="Accordion",dW=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[l0,hW,fW]=Yh(_r),[af]=yi(_r,[fW,VP]),c0=VP(),qP=lt.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,a=r;return s.jsx(l0.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?s.jsx(xW,{...a,ref:t}):s.jsx(gW,{...i,ref:t})})});qP.displayName=_r;var[GP,pW]=af(_r),[YP,mW]=af(_r,{collapsible:!1}),gW=lt.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:a=!1,...l}=e,[u,d]=mo({prop:n,defaultProp:r??"",onChange:i,caller:_r});return s.jsx(GP,{scope:e.__scopeAccordion,value:lt.useMemo(()=>u?[u]:[],[u]),onItemOpen:d,onItemClose:lt.useCallback(()=>a&&d(""),[a,d]),children:s.jsx(YP,{scope:e.__scopeAccordion,collapsible:a,children:s.jsx(KP,{...l,ref:t})})})}),xW=lt.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...a}=e,[l,u]=mo({prop:n,defaultProp:r??[],onChange:i,caller:_r}),d=lt.useCallback(p=>u((m=[])=>[...m,p]),[u]),h=lt.useCallback(p=>u((m=[])=>m.filter(x=>x!==p)),[u]);return s.jsx(GP,{scope:e.__scopeAccordion,value:l,onItemOpen:d,onItemClose:h,children:s.jsx(YP,{scope:e.__scopeAccordion,collapsible:!0,children:s.jsx(KP,{...a,ref:t})})})}),[yW,lf]=af(_r),KP=lt.forwardRef((e,t)=>
499{const{__scopeAccordion:n,disabled:r,dir:i,orientation:a="vertical",...l}=e,u=lt.useRef(null),d=pt(u,t),h=hW(n),m=Kh(i)==="ltr",x=Re(e.onKeyDown,y=>{var O;if(!dW.includes(y.key))return;const N=y.target,w=h().filter(W=>{var R;return!((R=W.ref.current)!=null&&R.disabled)}),k=w.findIndex(W=>W.ref.current===N),b=w.length;if(k===-1)return;y.preventDefault();let E=k;const C=0,T=b-1,I=()=>{E=k+1,E>T&&(E=C)},_=()=>{E=k-1,E<C&&(E=T)};switch(y.key){case"Home":E=C;break;case"End":E=T;break;case"ArrowRight":a==="horizontal"&&(m?I():_());break;case"ArrowDown":a==="vertical"&&I();break;case"ArrowLeft":a==="horizontal"&&(m?_():I());break;case"ArrowUp":a==="vertical"&&_();break}const V=E%b;(O=w[V].ref.current)==null||O.focus()});return s.jsx(yW,{scope:n,disabled:r,direction:i,orientation:a,children:s.jsx(l0.Slot,{scope:n,children:s.jsx(et.div,{...l,"data-orientation":a,ref:d,onKeyDown:r?void 0:x})})})}),wh="AccordionItem",[vW,u0]=af(wh),QP=lt.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,a=lf(wh,n),l=pW(wh,n),u=c0(n),d=fi(),h=r&&l.value.includes(r)||!1,p=a.disabled||e.disabled;return s.jsx(vW,{scope:n,open:h,disabled:p,triggerId:d,children:s.jsx(lW,{"data-orientation":a.orientation,"data-state":nT(h),...u,...i,ref:t,disabled:p,open:h,onOpenChange:m=>{m?l.onItemOpen(r):l.onItemClose(r)}})})});QP.displayName=wh;var XP="AccordionHeader",JP=lt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=lf(_r,n),a=u0(XP,n);return s.jsx(et.h3,{"data-orientation":i.orientation,"data-state":nT(a.open),"data-disabled":a.disabled?"":void 0,...r,ref:t})});JP.displayName=XP;var wx="AccordionTrigger",ZP=lt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=lf(_r,n),a=u0(wx,n),l=mW(wx,n),u=c0(n);return s.jsx(l0.ItemSlot,{scope:n,children:s.jsx(cW,{"aria-disabled":a.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...u,...r,ref:t})})});ZP.displayName=wx;var eT="AccordionContent",tT=lt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=lf(_r,n),a=u0(eT,n),l=c0(n);return s.jsx(uW,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...l,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});tT.displayName=eT;function nT(e){return e?"open":"closed"}var bW=qP,wW=QP,jW=JP,rT=ZP,sT=tT;const NW=bW,ec=S.forwardRef(({className:e,...t},n)=>s.jsx(wW,{ref:n,className:He("border-b",e),...t}));ec.displayName="AccordionItem";const tc=S.forwardRef(({className:e,children:t,...n},r)=>s.jsx(jW,{className:"flex",children:s.jsxs(rT,{ref:r,className:He("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,s.jsx(Lc,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));tc.displayName=rT.displayName;const nc=S.forwardRef(({className:e,children:t,...n},r)=>s.jsx(sT,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:s.jsx("div",{className:He("pb-4 pt-0",e),children:t})}));nc.displayName=sT.displayName;function kW(){return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Pricing | Clyn"}),s.jsx("meta",{name:"description",content:"Clyn pricing for AI powered cleaning verification, live across 4 countries. See plans for hotels, short term rentals, offices, and facilities teams."}),s.jsx("meta",{property:"og:title",content:"Pricing | Clyn"}),s.jsx("meta",{property:"og:description",content:"Clyn pricing for AI powered cleaning verification, live across 4 countries. See plans for hotels, short term rentals, offices, and facilities teams."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Pricing"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Do you limit properties on Pilot?",acceptedA
499nswer:{"@type":"Answer",text:"No. Pilot includes portfolio access for all your properties at $12/property/month. The limit is on monthly QA AI reports (50/month), not the number of properties. This lets you evaluate Clyn with your full portfolio while keeping QA usage predictable during your evaluation period."}},{"@type":"Question",name:"Can I upgrade anytime?",acceptedAnswer:{"@type":"Answer",text:"Yes. Upgrade from Pilot ($12/property) to Operations ($15/property, unlimited QA AI) or Portfolio ($9/property annually) at any time. No penalties, no hassle. Your upgrade takes effect immediately and you'll only pay the difference for that billing period."}},{"@type":"Question",name:"Do you offer month-to-month pricing at scale?",acceptedAnswer:{"@type":"Answer",text:"Yes. The Operations plan ($15/property/month) offers month-to-month billing with unlimited QA AI reports, perfect for teams who need full capacity without long-term commitment. Portfolio plan ($9/property/month) requires annual billing but delivers 40% savings for teams ready to commit long-term."}},{"@type":"Question",name:"Is White-Glove Setup required?",acceptedAnswer:{"@type":"Answer",text:"No. White-Glove Setup is completely optional. Most teams get started on their own. The $250 setup is available if you want hands-on help with property setup, checklist mapping, and your first QA report walkthrough."}}]})})]}),s.jsx("section",{className:"pt-20 pb-16 bg-gradient-to-br from-slate-50 via-white to-blue-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[s.jsxs("h1",{className:"text-5xl lg:text-6xl font-bold text-gray-900 mb-6",children:["Pricing that scales with"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"proof, not pressure"})]}),s.jsx("p",{className:"text-xl lg:text-2xl text-gray-600 max-w-4xl mx-auto mb-8 leading-relaxed",children:"Start flexible. Upgrade when QA becomes part of daily operations. No contracts. No forced onboarding."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-8",children:[s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold",children:"Start Pilot"})}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",variant:"outline",className:"px-8 py-4 text-lg font-semibold",children:"Talk to Sales"})})]}),s.jsx("p",{className:"text-gray-600 max-w-3xl mx-auto",children:"AI‑verified quality (not self‑reported checklists) + flexibility to turn properties on/off anytime."})]})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:[s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsxs(Te,{className:"h-full border-2 border-gray-200 bg-white flex flex-col",children:[s.jsxs(tn,{className:"pb-6",children:[s.jsx(nn,{className:"text-2xl mb-3",children:"Starter"}),s.jsx(Dt,{className:"w-fit mb-3 bg-blue-600 text-white text-xs",children:"1 property limit"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-1",children:"Free"}),s.jsx("div",{className:"text-sm text-gray-600",children:"forever"})]}),s.jsx(wn,{className:"text-sm text-gray-600",children:"Perfect for single property owners testing Clyn"})]}),s.jsxs(Ue,{className:"pt-0 flex-1 flex flex-col",children:[s.jsxs("div",{className:"space-y-2.5 mb-6",children:[s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"1 property only"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"5 QA AI reports/month"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Core dashboards"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Issue tracking"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"No onboarding fee"})]})]}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",className:"block mt-auto",children:s.jsx(Se,{className:"w-full bg-blue-600 hover:bg-blue-700",children:"Get Started"})})]})]})}),s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs(Te,{className:"h-full border-2 border-gray-200 bg-white flex flex-col",children:[s.jsxs(tn,{className:"pb-6",children:[s.jsx(nn,{className:"text-2xl mb-3",children:"Operations"}),s.jsx(Dt,{className:"w-fit mb-3 bg-blue-600 text-white text-xs",children:"Billed monthly"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-1",children:"$15"}),s.jsx("div",{className:"text-sm text-gray-600",children:"per property / month"})]}),s.jsx(wn,{className:"text-sm text-gray-600",children:"For teams running QA as part of daily operations"})]}),s.jsxs(Ue,{className:"pt-0 flex-1 flex flex-col",children:[s.jsxs("div",{className:"space-y-2.5 mb-6",children:[s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700 font-semibold",children:"Unlimited QA AI reports"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Portfolio access"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Full workflows"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Advanced analytics"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Priority support"})]})]}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",className:"block mt-auto",children:s.jsx(Se,{className:"w-full bg-blue-600 hover:bg-blue-700",children:"Get Started"})})]})]})}),s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs(Te,{className:"h-full border-2 border-gray-200 bg-white flex flex-col",children:[s.jsxs(tn,{className:"pb-6",children:[s.jsx(nn,{className:"text-2xl mb-3",children:"Portfolio"}),s.jsx(Dt,{className:"w-fit mb-3 bg-teal-600 text-white text-xs",children:"Billed annually"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-1",children:"$9"}),s.jsx("div",{className:"text-sm text-gray-600",children:"per property / month"})]}),s.jsx(wn,{className:"text-sm text-gray-600",children:"For scaling teams ready to lock in long‑term savings"})]}),s.jsxs(Ue,{className:"pt-0 flex-1 flex flex-col",children:[s.jsxs("div",{className:"space-y-2.5 mb-6",children:[s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Everything in Operations"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Portfolio-level reporting"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Early QA AI model access"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"SLA‑level support"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-blue-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700 font-semibold",children:"40% savings"})]})]}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",className:"block mt-auto",children:s.jsx(Se,{className:"w-full bg-blue-600 hover:bg-blue-700",children:"Get Started"})})]})]})}),s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3},children:s.jsxs(Te,{className:"h-full border-2 border-teal-500 bg-gradient-to-br from-teal-50 to-white relative overflow-hidden flex flex-col",children:[s.jsxs(tn,{className:"pb-6",children:[s.jsx(nn,{className:"text-2xl mb-3",children:"Design Partner"}),s.jsx(Dt,{className:"w-fit mb-3 bg-gradient-to-r from-blue-600 to-teal-500 text-white text-xs",children:"Limited to first 50 teams"}),s.jsxs("div",{className:"mb-4",children:[s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-1",children:"$7"}),s.jsx("div",{className:"text-sm text-gray-600",children:"per property / month"})]}),s.jsx(wn,{className:"text-sm text-gray-600",children:"For early teams who want more access and influence"})]}),s.jsxs(Ue,{className:"pt-0 flex-1 flex flex-col",children:[s.jsxs("div",{className:"space-y-2.5 mb-6",children:[s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-teal-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"150 QA AI reports/month"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-teal-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Rate locked 12 months"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-teal-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Early feature access"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-teal-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"Direct product team channel"})]}),s.jsxs("div",{className:"flex items-start gap-2.5",children:[s.jsx(he,{className:"w-4 h-4 text-teal-600 mt-0.5 flex-shrink-0"}),s.jsx("span",{className:"text-sm text-gray-700",children:"All Pilot features"})]})]}),s.jsx("a",{href:xt("DesignPartnerProgram"),className:"block mt-auto",children:s.jsx(Se,{className:"w-full bg-gradient-to-r from-blue-600 to-teal-500 hover:opacity-90 transition-opacity",children:"Apply Now"})})]})]})})]})})}),s.jsx("section",{className:"py-16 bg-slate-50",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},children:s.jsxs(Te,{className:"border-2",children:[s.jsx(tn,{children:s.jsxs("div",{className:"flex items-start justify-between",children:[s.jsxs("div",{children:[s.jsx(nn,{className:"text-2xl mb-2",children:"White‑Glove Setup (Optional)"}),s.jsx(wn,{children:"Totally optional. No onboarding fee required."})]}),s.jsxs("div",{className:"text-right",children:[s.jsx("div",{className:"text-3xl font-bold text-gray-900",children:"$250"}),s.jsx("div",{className:"text-sm text-gray-600",children:"one‑time"})]})]})}),s.jsx(Ue,{children:s.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[s.jsxs("div",{className:"flex items-start gap-2",children:[s.jsx(he,{className:"w-5 h-5 text-green-600 mt-0.5 flex-shrink-0"}),s.jsx("div",{children:s.jsx("div",{className:"font-semibold text-gray-900",children:"Property setup"})})]}),s.jsxs("div",{className:"flex items-start gap-2",children:[s.jsx(he,{className:"w-5 h-5 text-green-600 mt-0.5 flex-shrink-0"}),s.jsx("div",{children:s.jsx("div",{className:"font-semibold text-gray-900",children:"Checklist mapping"})})]}),s.jsxs("div",{className:"flex items-start gap-2",children:[s.jsx(he,{className:"w-5 h-5 text-green-600 mt-0.5 flex-shrink-0"}),s.jsx("div",{children:s.jsx("div",{className:"font-semibold text-gray-900",children:"First QA report walkthrough"})})]})]})})]})})})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6 lg:px-8",children:[s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center mb-12",children:s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Why Teams Choose Clyn"})}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[s.jsxs(q.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5},className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center flex-shrink-0",children:s.jsx(he,{className:"w-6 h-6 text-blue-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"QA AI reports that verify quality with evidence"}),s.jsx("p",{className:"text-gray-600",children:"Not self‑reported checklists. Get AI‑verified photo evidence of every inspection."})]})]}),s.jsxs(q.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5},className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-teal-100 flex items-center justify-center flex-shrink-0",children:s.jsx(he,{className:"w-6 h-6 text-teal-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"No forced onboarding or long‑term contracts"}),s.jsx("p",{className:"text-gray-600",children:"Start flexible, upgrade when ready. Cancel anytime."})]})]}),s.jsxs(q.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center flex-shrink-0",children:s.jsx(he,{className:"w-6 h-6 text-purple-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Flexibility to turn properties on/off anytime"}),s.jsx("p",{className:"text-gray-600",children:"Only pay for what you use. Perfect for seasonal properties."})]})]}),s.jsxs(q.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.1},className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-green-100 flex items-center justify-center flex-shrink-0",children:s.jsx(he,{className:"w-6 h-6 text-green-600"})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Built for real operations, not demos"}),s.jsx("p",{className:"text-gray-600",children:"Evaluate in live operations with real properties, real cleaners, real results."})]})]})]})]})}),s.jsx("section",{className:"py-20 bg-slate-50",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:[s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center mb-12",children:s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Frequently Asked Questions"})}),s.jsxs(NW,{
499type:"single",collapsible:!0,className:"w-full space-y-4",children:[s.jsxs(ec,{value:"item-1",className:"bg-white border rounded-lg px-6",children:[s.jsx(tc,{className:"text-lg font-semibold hover:no-underline",children:"Do you limit properties on Pilot?"}),s.jsx(nc,{className:"text-gray-600",children:"No. Pilot includes portfolio access for all your properties at $12/property/month. The limit is on monthly QA AI reports (50/month), not the number of properties. This lets you evaluate Clyn with your full portfolio while keeping QA usage predictable during your evaluation period."})]}),s.jsxs(ec,{value:"item-2",className:"bg-white border rounded-lg px-6",children:[s.jsx(tc,{className:"text-lg font-semibold hover:no-underline",children:"Can I upgrade anytime?"}),s.jsx(nc,{className:"text-gray-600",children:"Yes. Upgrade from Pilot ($12/property) to Operations ($15/property, unlimited QA AI) or Portfolio ($9/property annually) at any time. No penalties, no hassle. Your upgrade takes effect immediately and you'll only pay the difference for that billing period."})]}),s.jsxs(ec,{value:"item-3",className:"bg-white border rounded-lg px-6",children:[s.jsx(tc,{className:"text-lg font-semibold hover:no-underline",children:"Do you offer month‑to‑month pricing at scale?"}),s.jsx(nc,{className:"text-gray-600",children:"Yes. The Operations plan ($15/property/month) offers month‑to‑month billing with unlimited QA AI reports, perfect for teams who need full capacity without long‑term commitment. Portfolio plan ($9/property/month) requires annual billing but delivers 40% savings for teams ready to commit long‑term."})]}),s.jsxs(ec,{value:"item-4",className:"bg-white border rounded-lg px-6",children:[s.jsx(tc,{className:"text-lg font-semibold hover:no-underline",children:"Is White‑Glove Setup required?"}),s.jsx(nc,{className:"text-gray-600",children:"No. White‑Glove Setup is completely optional. Most teams get started on their own. The $250 setup is available if you want hands‑on help with property setup, checklist mapping, and your first QA report walkthrough."})]})]})]})}),s.jsx("section",{className:"py-16 bg-gradient-to-br from-blue-600 to-teal-600",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center",children:[s.jsx("h3",{className:"text-3xl lg:text-4xl font-bold text-white mb-6",children:"No contracts. No forced onboarding."}),s.jsx("p",{className:"text-xl text-blue-100 mb-8",children:"AI‑verified quality, not self‑reported checklists."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-50 px-8 py-4 text-lg font-semibold",children:["Start Pilot ",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",variant:"outline",className:"border-2 border-white bg-white/10 text-white hover:bg-white/20 px-8 py-4 text-lg font-semibold",children:"Talk to Sales"})})]})]})})})]})}function SW(){const e=[{id:"info-we-collect",title:"1. Information We Collect"},{id:"how-we-use-info",title:"2. How We Use Your Information"},{id:"legal-bases",title:"3. Legal Bases for Processing"},{id:"sharing-disclosure",title:"4. Sharing & Disclosure"},{id:"security",title:"5. International Transfers & Security"},{id:"data-retention",title:"6. Data Retention & Deletion"},{id:"your-rights",title:"7. Your Rights"},{id:"childrens-privacy",title:"8. Children’s Privacy"},{id:"updates",title:"9. Updates to This Policy"},{id:"contact",title:"10. Contact Us"}];return s.jsxs("div",{className:"bg-white font-sans text-gray-800",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Privacy Policy | Clyn"}),s.jsx("meta",{name:"description",content:"Clyn's privacy policy, covering how we collect, use, and protect your data."}),s.jsx("meta",{property:"og:title",content:"Privacy Policy | Clyn"}),s.jsx("meta",{property:"og:description",content:"Clyn's privacy policy, covering how we collect, use, and protect your data."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/PrivacyPolicy"})]}),s.jsxs(q.div,{initial:{opacity:0}
499,animate:{opacity:1},transition:{duration:.8},className:"max-w-4xl mx-auto px-6 lg:px-8 py-16",children:[s.jsxs("nav",{className:"flex items-center text-sm text-gray-500 mb-8",children:[s.jsx($e,{to:"/",className:"hover:text-blue-600",children:"Home"}),s.jsx(In,{className:"w-4 h-4 mx-1"}),s.jsx("span",{children:"Privacy Policy"})]}),s.jsxs("header",{className:"mb-12 border-b pb-8",children:[s.jsx("h1",{className:"text-4xl lg:text-5xl font-extrabold text-gray-900 mb-4",children:"Privacy Policy"}),s.jsx("p",{className:"text-lg text-gray-600",children:"Your privacy is critically important to us. At Clyn, we have a few fundamental principles."})]}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-4 mb-12",children:[s.jsx("p",{children:'Welcome to Clyn’s Privacy Policy. This document explains how Clyn Technologies Inc. ("Clyn," "we," "us," or "our") collects, uses, and discloses your information when you use our operations platform and services (the "Services"). We are committed to protecting your personal data and respecting your privacy in compliance with applicable laws, including the General Data Protection Regulation (GDPR).'}),s.jsx("p",{children:"Our goal is to be transparent about the data we collect and how it is used to power our AI-driven inspections, automated restocking, and vendor management tools. This policy is designed to help you understand your privacy rights and how you can control your information."})]}),s.jsxs("div",{className:"mb-12 p-6 bg-slate-50 rounded-2xl border",children:[s.jsxs("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center",children:[s.jsx(Da,{className:"w-6 h-6 mr-3 text-blue-600"}),"Table of Contents"]}),s.jsx("ul",{className:"space-y-2",children:e.map(t=>s.jsx("li",{children:s.jsxs("a",{href:`#${t.id}`,className:"text-blue-600 hover:text-blue-700 hover:underline flex items-center",children:[s.jsx(In,{className:"w-4 h-4 mr-2"}),t.title]})},t.id))})]}),s.jsxs("div",{className:"space-y-12",children:[s.jsxs("section",{id:"info-we-collect",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"1. Information We Collect"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"To provide our Services, we collect the following types of information:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-3 text-gray-700",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Account Data:"})," When you register, we collect your name, email address, phone number, and company details."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Property & Inspection Data:"})," We collect property addresses, and you provide photos and videos of your properties for inspection. Our AI analyzes this visual data to detect issues."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Vendor & Crew Details:"})," To manage your team, we store information you provide about your vendors, such as names, contact details, and service types."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Financial Information:"})," For billing, we use third-party payment processors (e.g., Stripe) and do not store your credit card details directly."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Usage & Analytics Data:"})," We automatically collect information about how you interact with our Services to improve performance and user experience."]})]})]}),s.jsxs("section",{id:"how-we-use-info",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"2. How We Use Your Information"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Your data is used to deliver and enhance our Services in the following ways:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-3 text-gray-700 mt-4",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"To Provide AI Inspections:"})," We use property photos to train our computer vision models and provide you with detailed inspection reports."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"To Fulfill Auto-Restock Orders:"})," We use property and inventory data to automatically place restock orders on your behalf through connected accounts like Amazon."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"To Coordinate Your Crew:"})," Vendor information is used to schedule services, send notifications, and manage communications within the platform."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"For Support & Communication:"})," We use your contact information to provide customer support, send service-related announcements, and share updates."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"For Analytics & Improvement:"})," We analyze usage data to understand service performance, identify trends, and develop new features."]})]})]}),s.jsxs("section",{id:"legal-bases",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"3. Legal Bases for Processing (GDPR)"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"If you are in the European Economic Area (EEA), we process your data based on the following legal grounds under GDPR Article 6:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-3 text-gray-700 mt-4",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Performance of a Contract:"})," We process your data to fulfill our contractual obligations to provide the Services you have signed up for."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Legitimate Interest:"})," We process data for legitimate interests, such as improving our Services, preventing fraud, and for analytics, provided these interests are not overridden by your rights."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Consent:"})," Where required by law, we will ask for your consent to process your data for specific purposes, such as marketing communications. You can withdraw your consent at any time."]})]})]}),s.jsxs("section",{id:"sharing-disclosure",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"4. Sharing & Disclosure"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"We do not sell your personal data. We only share information with third parties under the following circumstances:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-3 text-gray-700 mt-4",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Service Providers:"})," We use third-party services for payment processing (e.g., Str
499ipe) and cloud hosting. These providers are bound by strict data protection terms."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Connected Third-Party Accounts:"})," If you connect your Amazon account for auto-restocking, we will share necessary order information with Amazon to fulfill your requests."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Legal Compliance:"})," We may disclose information if required by law, subpoena, or other legal process."]})]})]}),s.jsxs("section",{id:"security",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"5. International Transfers & Security"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"We take data security seriously and implement industry-standard measures, including encryption of data in transit and at rest. Clyn is built on a secure infrastructure and we are pursuing SOC 2 compliance to demonstrate our commitment to security. Data may be transferred to and processed in countries outside of your own, and we ensure adequate safeguards are in place for such transfers."})]}),s.jsxs("section",{id:"data-retention",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"6. Data Retention & Deletion"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"We retain your personal data for as long as your account is active or as needed to provide you with the Services. You can request deletion of your account and associated data at any time, subject to our legal obligations to retain certain information."})]}),s.jsxs("section",{id:"your-rights",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"7. Your Rights"}),s.jsx("p",{className:"text-gray-700 leading-relaxed mb-4",children:"You have rights over your personal data, including:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-3 text-gray-700 mt-4",children:[s.jsxs("li",{children:[s.jsx("strong",{children:"Right to Access:"})," You can request a copy of the personal data we hold about you."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Right to Rectification:"})," You can correct any inaccurate information."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Right to Erasure ('Right to be Forgotten'):"})," You can request that we delete your personal data."]}),s.jsxs("li",{children:[s.jsx("strong",{children:"Right to Data Portability:"})," You can request your data in a machine-readable format."]})]}),s.jsxs("p",{className:"text-gray-700 leading-relaxed mt-4",children:["To exercise these rights, please contact us at ",s.jsx("a",{href:"mailto:[email protected]",className:"text-blue-600 underline",children:"[email protected]"}),"."]})]}),s.jsxs("section",{id:"childrens-privacy",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"8. Children’s Privacy"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"Our Services are not directed to individuals under the age of 18. We do not knowingly collect personal information from children. If we become aware that a child has provided us with personal data, we will take steps to delete such information."})]}),s.jsxs("section",{id:"updates",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"9. Updates to This Policy"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"We may update this Privacy Policy from time to time. We will notify you of any significant changes by posting the new policy on this page and, where appropriate, through other channels like email. We encourage you to review this policy periodically."})]}),s.jsxs("section",{id:"contact",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"10. Contact Us"}),s.jsx("p",{className:"text-gray-700 leading-relaxed",children:"If you have any questions or concerns about this Privacy Policy or our data practices, please do not hesitate to contact us."}),s.jsxs("div",{className:"mt-4 inline-flex items-center gap-3 bg-slate-100 p-4 rounded-lg",children:[s.jsx(Vx,{className:"w-5 h-5 text-blue-600"}),s.jsx("a",{href:"mailto:[email protected]",className:"font-semibold text-blue-600 hover:underline",children:"[email protected]"})]})]})]}),s.jsx("footer",{className:"mt-16 pt-8 border-t text-center text-gray-500 text-sm",children:s.jsxs("p",{children:["Last updated: ",Ia(new Date,"MMMM d, yyyy")]})})]})]})}function CW(){const e=(t,n)=>{t.preventDefault();const r=document.querySelector(n);r&&r.scrollIntoView({behavior:"smooth"})};return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Product Roadmap"}),s.jsx("meta",{name:"description",content:"See what Clyn is building next and track progress on upcoming features for cleaning verification and reporting."}),s.jsx("meta",{property:"og:title",content:"Product Roadmap"}),s.jsx("meta",{property:"og:description",content:"See what Clyn is building next and track progress on upcoming features for cleaning verification and reporting."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ProductRoadmapProgress"})]}),s.jsx("section",{className:"relative overflow-hidden bg-gradient-to-br from-blue-50 to-teal-50 pt-32 pb-20",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center",children:[s.jsx("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:"Product Roadmap & Progress"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-8",children:"Quality should be provable, not debatable."}),s.jsxs("div",{className:"mt-8",children:[s.jsx("p",{className:"text-lg font-semibold text-gray-700 mb-4",children:"Want to see more detailed release notes?"}),s.jsx($e,{to:xt("ReleaseNotes"),children:s.jsx(Se,{className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-3 font-semibold shadow-lg transition-all duration-300",children:"View Latest Release Notes"})})]})]})})}),s.jsx("section",{className:"py-16 bg-white border-b border-gray-200",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"2026 Product Year"}),s.jsx("p",{className:"text-sm text-gray-600",children:"From shipped to future releases"})]}),s.jsxs("div",{className:"relative px-8",children:[s.jsxs("div",{className:"absolute top-6 left-8 right-8 h-0.5 bg-gray-200",children:[s.jsx("div",{className:"absolute h-full bg-green-600 transition-all duration-1000",style:{width:"33.33%",boxShadow:"0 0 12px rgba(22, 163, 74, 0.4)"}}),s.jsx("div",{className:"absolute h-full bg-blue-600 transition-all duration-1000",style:{left:"33.33%",width:"33.34%",boxShadow:"0 0 12px rgba(59, 130, 246, 0.4)"}}),s.jsx("div",{className:"absolute h-full bg-yellow-500 transition-all duration-1000",style:{left:"66.67%",width:"16.67%",opacity:.4}})]}),s.jsxs("div",{className:"grid grid-cols-4 gap-4 relative",children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("a",{href:"#shipped",onClick:t=>e(t,"#shipped"),className:"w-3 h-16 rounded-full bg-green-600 mb-4 relative z-10 cursor-pointer hover:opacity-80 transition-opacity",style:{boxShadow:"0 0 16px rgba(22, 163, 74, 0.6), 0 0 32px rgba(22, 163, 74, 0.3)"}}),s.jsxs("a",{href:"#shipped",onClick:t=>e(t,"#shipped"),className:"text-center hover:opacity-70 transition-opacity cursor-pointer",children:[s.jsx("p",{className:"text-sm font-semibold text-gray-900 mb-1",children:"Shipped"}),s.jsx("p",{className:"text-xs text-gray-600",children:"QA AI, Turnover Ops, Platform"})]})]}),s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("a",{href:"#v43",onClick:t=>e(t,"#v43"),className:"w-3 h-16 rounded-full bg-blue-600 mb-4 relative z-10 animate-pulse cursor-pointer hover:opacity-80 transition-opacity",style:{boxShadow:"0 0 16px rgba(37, 99, 235, 0.6), 0 0 32px rgba(37, 99, 235, 0.3)",animationDuration:"2s"}}),s.jsxs("a",{href:"#v43",onClick:t=>e(t,"#v43"),className:"text-center hover:opacity-70 transition-opacity cursor-pointer",children:[s.jsx("p",{className:"text-sm font-semibold text-gray-900 mb-1",children:"v4.3 | Jan 26"}),s.jsx("p",{className:"text-xs text-gray-600",children:"Performance & Speed"})]})]}),s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("a",{href:"#q2-2026",onClick:t=>e(t,"#q2-2026"),className:"w-3 h-16 rounded-full bg-yellow-500 mb-4 relative z-10 cursor-pointer hover:opacity-80 transition-opacity",style:{boxShadow:"0 0 16px rgba(234, 179, 8, 0.5), 0 0 28px rgba(234, 179, 8, 0.25)"}}),s.jsxs("a",{href:"#q2-2026",onClick:t=>e(t,"#q2-2026"),className:"text-center hover:opacity-70 transition-opacity cursor-pointer",children:[s.jsx("p",{className:"text-sm font-semibold text-gray-900 mb-1",children:"Q2 2026"}),s.jsx("p",{className:"text-xs text-gray-600",children:"Sharing & Roles"})]})]}),s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("a",{href:"#mid-2026",onClick:t=>e(t,"#mid-2026"),className:"w-3 h-16 rounded-full border-2 border-gray-400 bg-white mb-4 relative z-10 cursor-pointer hover:opacity-80 transition-opacity"}),s.jsxs("a",{href:"#mid-2026",onClick:t=>e(t,"#mid-2026"),className:"text-center hover:opacity-70 transition-opacity cursor-pointer",children:[s.jsx("p",{className:"text-sm font-semibold text-gray-900 mb-1",children:"Mid–2026"}),s.jsx("p",{className:"text-xs text-gray-600",children:"AI Restocking"})]})]})]})]}),s.jsx("div",{className:"mt-16 max-w-3xl mx-auto",children:s.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-gray-300 to-transparent"})})]})}),s.jsx("section",{id:"shipped",className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"mb-12",children:[s.jsx(Dt,{className:"bg-green-600 text-white border-0 mb-4 py-2 px-4",children:"Shipped"}),s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-4",children:"Shipped (Last 12 Months)"})]}),s.jsxs("div",{className:"space-y-12",children:[s.jsxs("div",{className:"border-l-4 border-blue-600 pl-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(io,{className:"w-6 h-6 text-blue-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Quality Assurance AI"})]}),s.jsxs("ul",{className:"space-y-3 text-gray-700",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Pre-clean and post-clean photo analysis"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Task-level verification against scope of work"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"QA reports generated per turnover"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"QA confidence scoring per turnover (iterative improvements ongoing)"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Cleaner accountability without manual review"})]})]})]}),s.jsxs("div",{className:"border-l-4 border-teal-600 pl-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(mg,{className:"w-6 h-6 text-teal-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Turnover Operations"})]}),s.jsxs("ul",{className:"space-y-3 text-gray-700",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Guest extension vs cleaner arrival conflict detection"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Per-turnover QA (not monthly audits)"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Bulk photo uploads optimized for mobile"})]})]})]}),s.jsxs("div",{className:"border-l-4 border-purple-600 pl-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(Mw,{className:"w-6 h-6 text-purple-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Alerts & Automation"})]}),s.jsx("ul",{className:"space-y-3 text-gray-700",children:s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-purple-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Alerts triggered only after QA confirmation"})]})})]}),s.jsxs("div",{className:"border-l-4 border-gray-600 pl-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(fg,{className:"w-6 h-6 text-gray-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Platform"})]}),s.jsxs("ul",{className:"space-y-3 text-gray-700",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-gray-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Property-based subscriptions"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-gray-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Role-based dashboards: operator, cleaner"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-gray-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"PMS-driven automation triggers"})]})]})]}),s.jsxs("div",{className:"border-l-4 border-orange-600 pl-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(Fc,{className:"w-6 h-6 text-orange-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"Scale Readiness"})]}),s.jsxs("ul",{className:"space-y-3 text-gray-700",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-orange-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Multi-property portfolio support"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-orange-600 flex-shrink-0 mt-0.5"}
499),s.jsx("span",{children:"Infrastructure optimized for AI inference"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-orange-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{children:"Stable production usage"})]})]})]})]})]})})}),s.jsx("section",{id:"v43",className:"py-20 bg-gradient-to-br from-blue-50 to-teal-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"mb-12",children:[s.jsx(Dt,{className:"bg-blue-600 text-white border-0 mb-4 py-2 px-4",children:"Launching January 26, 2026"}),s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-4",children:"January 26, 2026 | Clyn v4.3"})]}),s.jsx("div",{className:"bg-white rounded-2xl shadow-xl p-8",children:s.jsxs("ul",{className:"space-y-4",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Faster QA analysis and report generation"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Improved photo ingestion and bulk uploads"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Clearer task-level verification inside reports"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-blue-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Enterprise-grade performance baseline"})]})]})})]})})}),s.jsx("section",{id:"q2-2026",className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"mb-12",children:[s.jsx(Dt,{className:"bg-purple-600 text-white border-0 mb-4 py-2 px-4",children:"Q2 2026"}),s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-4",children:"Q2 2026"})]}),s.jsxs("div",{className:"grid md:grid-cols-3 gap-8",children:[s.jsxs("div",{className:"bg-gradient-to-br from-blue-50 to-white rounded-2xl p-8 shadow-lg",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(Mw,{className:"w-6 h-6 text-blue-600"}),s.jsx("h3",{className:"text-xl font-bold text-gray-900",children:"Reporting & Sharing"})]}),s.jsxs("ul",{className:"space-y-3 text-gray-700",children:[s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"text-blue-600 font-bold",children:"•"}),s.jsx("span",{children:"Reports shareable with owners and external stakeholders"})]}),s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"text-blue-600 font-bold",children:"•"}),s.jsx("span",{children:"Permission-based report access"})]}),s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"text-blue-600 font-bold",children:"•"}),s.jsx("span",{children:"Exportable, owner-ready QA summaries"})]})]})]}),s.jsxs("div",{className:"bg-gradient-to-br from-teal-50 to-white rounded-2xl p-8 shadow-lg",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(io,{className:"w-6 h-6 text-teal-600"}),s.jsx("h3",{className:"text-xl font-bold text-gray-900",children:"Notifications"})]}),s.jsx("ul",{className:"space-y-3 text-gray-700",children:s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"text-teal-600 font-bold",children:"•"}),s.jsx("span",{children:"Cleaner notifications sent via SMS (text) in addition to email"})]})})]}),s.jsxs("div",{className:"bg-gradient-to-br from-purple-50 to-white rounded-2xl p-8 shadow-lg",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(fg,{className:"w-6 h-6 text-purple-600"}),s.jsx("h3",{className:"text-xl font-bold text-gray-900",children:"Roles & Access"})]}),s.jsx("ul",{className:"space-y-3 text-gray-700",children:s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx("span",{className:"text-purple-600 font-bold",children:"•"}),s.jsx("span",{children:"Role-based dashboards: manager, viewer, and additional operational roles"})]})})]})]})]})})}),s.jsx("section",{id:"mid-2026",className:"py-20 bg-gradient-to-br from-teal-50 to-blue-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"mb-12",children:[s.jsx(Dt,{className:"bg-teal-600 text-white border-0 mb-4 py-2 px-4",children:"Mid-2026 (Q2–Q3)"}),s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold text-gray-900 mb-4",children:"Mid–2026 (Q2–Q3)"})]}),s.jsxs("div",{className:"bg-white rounded-2xl shadow-xl p-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[s.jsx(mg,{className:"w-8 h-8 text-teal-600"}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:"AI-Powered Restocking"})]}),s.jsxs("ul",{className:"space-y-4",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Detection of depleted or missing supplies from post-clean photos"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Restocking recommendations tied to verified QA results"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-600 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-lg",children:"Actions driven only by confirmed QA signals"})]})]})]})]})})}),s.jsx("section",{className:"py-20 bg-gray-900 text-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsxs("div",{className:"mb-12",children:[s.jsx(Dt,{className:"bg-white text-gray-900 border-0 mb-4 py-2 px-4",children:"Enterprise"}),s.jsx("h2",{className:"text-3xl lg:text-5xl font-bold mb-4",children:"Enterprise Track (Built in Parallel)"})]}),s.jsx("div",{className:"bg-white/10 backdrop-blur-sm rounded-2xl p-8",children:s.jsxs("ul",{className:"space-y-4",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-400 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-lg",children:"Multi-site ingestion at commercial scale"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-400 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-lg",children:"Branch and regional management views"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-400 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-lg",children:"Enterprise QA models for large operators"})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-teal-400 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-lg",children:"Separate deployment track from customer platform"})]})]})})]})})}),s.jsx("section",{className:"py-24 bg-gradient-to-r from-blue-600 to-teal-500 text-white",children:s.jsx("div",{className:"max-w-4xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold mb-8",children:"Ready to Experience the Future?"}),s.jsx("p",{className:"text-xl text-blue-100 mb-8",children:"Start your 14-day free trial and put your operations on autopilot"}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx("button",{className:"bg-white text-blue-600 hover:bg-gray-50 px-12 py-4 rounded-full font-bold text-lg shadow-xl transition-all duration-300",children:"Get Started"})})]})})})]})}function EW(){const e=[{icon:F4,title:"Multi-Location Chaos",description:"Struggling to standardize operations across dozens or hundreds of units."},{icon:Yn,title:"Vendor Management",description:"Coordinating schedules and payments for multiple teams is inefficient."},{icon:f6,title:"Lack of Integration",description:"Wasting time with disconnected software that doesn’t talk to each other."}],t=[{quote:"Clyn's API allowed us to integrate our custom booking system in a day. The multi-location dashboard gives us a 10,000-foot view we never had before. It’s the OS for our entire operation.",author:"Mark Chen",role:"Director of Ops, Summit Stays",image:"https://images.unsplash.com/photo-1557862921-37829c790f19?w=150&h=150&fit=crop&crop=face"}];return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn for Property Management Companies"}),s.jsx("meta",{name:"description",content:"Clyn gives property management companies computer vision verified cleaning, so every unit is guest ready without manual inspections."}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/PropertyManagementCompanies"})]}),s.jsx("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 to-teal-50 py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.6},children:[s.jsx(Dt,{className:"bg-teal-100 text-teal-800 mb-6",children:"For PMCs & Enterprise"}),s.jsx("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 mb-6",children:"Scale Your Portfolio, Not Your Headcount"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-8",children:"Standardize operations, manage vendors at scale, and gain portfolio-wide insights with Clyn’s enterprise-grade platform and robust API."}),s.jsx(Se,{size:"lg",asChild:!0,children:s.jsxs($e,{to:"/#contact",children:["Request a Demo ",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})})]})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"Built for Complexity"}),s.jsx("p",{className:"text-lg text-gray-500 mt-4",children:"We solve the unique challenges of managing large portfolios."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:e.map((n,r)=>s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:r*.1},children:s.jsxs(Te,{className:"text-center p-8 border-0 shadow-lg",children:[s.jsx("div",{className:"w-16 h-16 bg-teal-50 rounded-full flex items-center justify-center mx-auto mb-6",children:s.jsx(n.icon,{className:"w-8 h-8 text-teal-600"})}),s.jsx("h3",{className:"text-xl font-bold mb-2",children:n.title}),s.jsx("p",{className:"text-gray-600",children:n.description})]})},r))})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 grid lg:grid-cols-2 gap-16 items-center",children:[s.jsxs("div",{className:"space-y-6",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"The Command Center for Your Business"}),s.jsx("p",{className:"text-xl text-gray-600",children:"Our Scale & Enterprise plans provide the power and flexibility you need."}),s.jsxs("ul",{className:"space-y-4",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold",children:"Robust API & Integrations"}),s.jsx("p",{className:"text-gray-600",children:"Connect Clyn to your existing PMS, accounting software, and business intelligence tools for a seamless workflow."})]})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold",children:"Multi-Location Dashboard"}),s.jsx("p",{className:"text-gray-600",children:"Gain a bird's-eye view of your entire portfolio. Track KPIs, manage teams, and monitor performance from a single dashboard."})]})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold",children:"Priority Support & CSM"}),s.jsx("p",{className:"text-gray-600",children:"Get a dedicated Customer Success Manager and priority support to ensure a smooth rollout and ongoing success."})]})]})]})]}),s.jsx("div",{children:s.jsxs(Te,{className:"bg-white shadow-2xl p-8 text-center",children:[s.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Scale & Enterprise"}),s.jsx("p",{className:"text-4xl font-extrabold text-teal-600 mb-4",children:"Custom Pricing"}),s.jsx("p",{className:"text-gray-600 font-medium mb-6",children:"Built for 20+ properties"}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"w-full bg-teal-600 hover:bg-teal-700",children:"Request Pricing"})}),s.jsx("p",{className:"text-xs text-gray-400 mt-4",children:"Volume discounts and custom features available."})]})})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsx("div",{className:"max-w-3xl mx-auto px-6 lg:px-8",children:s.jsx(Te,{className:"bg-gradient-to-br from-teal-50 to-cyan-50 border-0 shadow-xl",children:s.jsxs(Ue,{className:"p-12 text-center",children:[s.jsx("img",{src:t[0].image,alt:t[0].author,className:"w-20 h-20 rounded-full mx-auto mb-6 border-4 border-white"}),s.jsxs("blockquote",{className:"text-xl text-gray-700 leading-relaxed mb-6",children:['"',t[0].quote,'"']}),s.jsx("div",{className:"font-bold text-gray-900",children:t[0].author}),s.jsx("div",{className:"text-gray-600",children:t[0].role})]})})})}),s.jsx("section",{className:"py-24 bg-gray-900 text-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[s.jsx("h2",{className:"text-4xl font-bold mb-6",children:"Ready to Scale Your Operations?"}),s.jsx("p",{className:"text-xl text-gray-300 max-w-3xl mx-auto mb-8",children:"Let's discuss your specific needs and build a plan to take your business to the next level."}),s.jsx(Se,{size:"lg",variant:"secondary",asChild:!0,children:s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:"Request a Demo"})})]})})]})}function PW(){const[e,t]=S.useState(["2026-02-27"]),n=i=>{t(a=>a.includes(i)?a.filter(l=>l!==i):[...a,i])},r=[{id:"2026-02-27",title:"Week ending Friday 27 February 2026",publishedDate:"Friday 27 February 2026 at 7:00 AM CT",dateRange:"21 Feb – 27 Feb 2026",summary:"The team shipped new features that simplify invitations and scheduling, improved multi‑organisation performance, and resolved a few bugs in our property management integrations.",updates:{frontend:[{title:"Simpler multi‑use invitation links and partnership automation",description:"The latest release introduces shared invite links. Hosts can now generate invitations that support multiple uses and set expiration dates and usage limits. These links simplify inviting team members and partners without needing to send individual emails. The invite links can be managed from a new Shared Links page and automatically expire based on your chosen settings. Partnership workflows are now automated. When a partner signs up, the system can automatically accept or reject requests based on your configured rules. Hosts receive notifications when partners join, and partners can see pending invitations from within their accounts. Additionally, the scheduling view has been improved. You can choose custom date ranges for the schedule, and the app remembers your view preferences for future sessions. The interface features a new Beta badge to highlight upcoming features and includes better handling for connection errors during onboarding and email verification."}],backend:[{title:"Multi‑use invitations and stronger approval logic",description:"On the backend, a new architecture supports multi‑use invitation links and adds robust approval logic for partnerships. This release enforces tenant context on invites and logs more information when invite links are redeemed. It also includes stricter validation for invitation rules."},{title:"Improved scheduling for cleaning teams",description:"A new endpoint aggregates cleaners' schedules across multiple properties. It merges daily schedules into a single list, applies role‑based filtering, and uses high‑performance indices to 
499speed up queries. This makes it easier for large organisations with several properties to view and manage cleaning assignments and reduces load times when viewing schedules."},{title:"Invitation resend and idempotency framework",description:"The backend now supports resending invitations. If an invitee loses their invite, administrators can resend without creating duplicates thanks to an idempotency framework that identifies and deduplicates repeated requests. This release also includes better integration with billing tokens and improvements to Firestore repositories to support idempotent operations."}]},fixes:{frontend:[],backend:[{title:"Hospitable integration fix",description:"A bug in the Hospitable webhook handler caused some property IDs to be unresolved when they were provided in alternate fields. The handler now checks multiple fields and array values to correctly resolve property identifiers and logs the resolution process. This ensures bookings and property changes from Hospitable are synced reliably and without data loss."}]}},{id:"2026-02-13-summary",title:"Week ending February 20, 2026",publishedDate:"February 20, 2026 at 7:00 AM CT",dateRange:"7 Feb - 13 Feb 2026",updates:{frontend:[{title:"Improved onboarding flows",description:"Improved onboarding flows to make provider invitations clearer and easier to complete."},{title:"Enhanced partnership workflow visibility",description:"Enhanced partnership workflow visibility so users can better understand pending and active relationships."},{title:"UI refinements across dashboards",description:"UI refinements across dashboards to improve clarity and reduce friction when navigating between properties and cleaning activity timelines."}],backend:[{title:"Invite partners without Clyn accounts",description:"Introduced the ability to invite partners who do not yet have a Clyn account, enabling faster outreach and collaboration."},{title:"Administrative controls for invitations",description:"Added administrative controls allowing operators to recall pending invitations to prevent errors or outdated requests."},{title:"Role aware timeline logic",description:"Improved role aware timeline logic so operators see full property activity while providers see only relevant assignments."},{title:"Pagination for partnership invitations",description:"Implemented pagination for pending partnership invitations to ensure consistent performance as account activity grows."}]},fixes:{frontend:[{title:"Partnership status display",description:"Resolved minor interface inconsistencies that caused confusion when viewing pending partnership statuses."},{title:"Property timeline ordering",description:"Fixed display issues affecting property timeline ordering."}],backend:[{title:"Invitation token validation",description:"Addressed invitation token validation edge cases to ensure recalled invites cannot be accepted."},{title:"Role filtering logic",description:"Corrected role filtering logic affecting provider timeline visibility."},{title:"Tenant partnership aggregation",description:"Fixed aggregation logic related to tenant partnership views."}]}},{id:"2026-02-13-detailed",title:"Week ending Friday 13 February 2026",publishedDate:"Friday 13 February 2026 at 7:00 AM CT",dateRange:"7 Feb - 13 Feb 2026",updates:{frontend:[{title:"Timezone‑aware scheduling forms and localised time display",description:"The app now displays and edits times in the property's local timezone and clearly labels the timezone next to inputs. When you schedule cleans or view timelines across regions, forms convert between the property's timezone and UTC behind the scenes, and date/time utilities ensure consistency across components. Times shown on the clean cards and timeline include timezone abbreviations, reducing confusion when managing properties in different regions."},{title:"Property timezone support",description:"Properties now include a timezone field, and date/time formatting functions accept a timezone parameter. This allows all pages (schedule dialog, timeline, and clean details) to respect each property's local time. Where a property's geocode hasn't been set, the system gracefully falls back to UTC."},{title:"Zero‑Click cleaner onboarding and partnership refinements",description:"Cleaners invited to join a provider can now accept an invitation instantly without logging in or clicking confirm. Partnership management tables support dynamic columns and an invite‑recall feature, making it easier to manage partners and see who has joined. These improvements streamline the onboarding flow and reduce manual steps for both providers and cleaners."}
499,{title:"Provider timeline and navigation infrastructure",description:"A new provider timeline page provides a chronological overview of upcoming cleans and events. Navigation and dashboard pages have been reorganised to make the timeline more accessible and intuitive."},{title:"Partnership security wall and UX improvements",description:"A new security wall ensures that only authorised users can access partnership data. Providers on the starter plan now see a usage meter and can manage upgrades more easily. Additional identity‑verification prompts help protect accounts and comply with regulatory requirements."},{title:"Routing standardisation and DNS alignment",description:"Routes for provider pages have been standardised, and subdomain changes (e.g., providers.clyn.com) ensure consistent navigation and better SEO. Redirect logic ensures old links still work."},{title:"Google sign‑in account picker",description:"When signing in with Google, users are now prompted to choose an account, preventing accidental sign‑in with the wrong Google profile."}],backend:[{title:"Structured property events and messaging (v4.5.2)",description:"Introduced a formal PropertyEvent model to standardise messages published by the property hydration pipeline. Each event now contains structured metadata (action type, context, timestamps), enabling downstream services to trace and audit property changes. Hydration workers and the property service have been updated to emit and consume these messages, improving reliability and transparency."},{title:"Asynchronous geocoding and hydration worker (v4.5.1)",description:"Property geocoding and hydration tasks now run asynchronously via Google Cloud Pub/Sub, offloading heavy work from user‑facing requests and accelerating response times. A new worker listens to hydration messages, processes geocoding, and updates properties without blocking API calls. Infrastructure for the Pub/Sub topics and subscriptions is provisioned automatically."},{title:"Global property localisation and geo‑data pipeline (v4.5.0)",description:"The backend now enriches properties with timezone, city, state, and postal‑code information, enabling timezone‑aware scheduling and regional filtering. A new GeoService integrates with geocoding providers, and the timeline service has been updated to respect each property's timezone. Migration scripts backfill existing properties, ensuring all listings display accurate local times."},{title:"Cold invites and virtual tenants (v4.4.9)",description:"Partnership invites can now be sent to cold leads who are not yet registered, creating temporary tenants and auto‑generating membership information. Providers can recall outstanding invites and see invite statuses at a glance. Timeline responses now honour role boundaries, and pagination has been added to the timeline API for better performance."},{title:"Partnership request workflow and starter‑tier enhancements (v4.4.7)",description:"Introduced a formal partnership request flow with review queues and exceptions, allowing cross‑domain invitations while protecting existing relationships. Starter‑tier providers gain clearer upgrade paths and refined UX around invites and memberships."},{title:"PMS architecture hardening and defensive data mapping (v4.4.6)",description:"The PMS integration has been rebuilt to handle external payload inconsistencies gracefully. Robust data mapping and standardised resolution logic reduce errors when synchronising cleans and properties. Automated tests and improved logging increase confidence when connecting to third‑party property‑management systems."},{title:"Event‑driven PMS sync and asynchronous reconciliation (v4.4.5)",description:"PMS synchronisation now uses an event‑driven pattern; messages are published to Pub/Sub when changes occur, and an asynchronous worker reconciles the data. This reduces latency, improves resilience against external API failures, and simplifies scaling."}]},fixes:{frontend:[{title:"Timezone handling in scheduling forms",description:"Corrected an issue where scheduling forms populated date‑time inputs using the app's default timezone. Forms n
499ow populate and convert times using the property's timezone and display a timezone label next to each input, ensuring users schedule cleans at the correct local time."}],backend:[{title:"Provider timeline data accuracy (v4.4.8)",description:"Fixed the timeline service for providers so that data is derived from assignment‑based queries instead of preferred‑provider filters. Reservations and property events now appear correctly, optional reservation fields are handled gracefully, and new Firestore indexes improve query performance."}]}}];return s.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-gray-50 to-white py-12 px-6",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Release Notes | Clyn"}),s.jsx("meta",{name:"description",content:"The latest product updates and feature releases from Clyn, covering cleaning verification, integrations, and reporting."}),s.jsx("meta",{property:"og:title",content:"Release Notes | Clyn"}),s.jsx("meta",{property:"og:description",content:"The latest product updates and feature releases from Clyn, covering cleaning verification, integrations, and reporting."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ReleaseNotes"})]}),s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-12",children:[s.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-gradient-to-r from-blue-600 to-purple-600 rounded-2xl mb-4",children:s.jsx(fc,{className:"w-8 h-8 text-white"})}),s.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:"Clyn STR Release Notes"}),s.jsx("p",{className:"text-lg text-gray-600 max-w-2xl mx-auto",children:"Weekly updates on new features, improvements, and fixes to the Clyn platform. Release notes are published every Friday at 7:00 AM CT."})]}),s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"mb-8",children:s.jsx(Te,{className:"border-2 border-green-400 bg-gradient-to-r from-green-50 to-emerald-50",children:s.jsx(Ue,{className:"py-6",children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"flex-shrink-0",children:s.jsx(q.div,{animate:{scale:[1,1.2,1],opacity:[1,.8,1]},transition:{duration:2,repeat:1/0},className:"w-4 h-4 bg-green-500 rounded-full"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h2",{className:"text-xl font-bold text-gray-900 mb-2",children:"Service Now Globally Available"}),s.jsx("p",{className:"text-gray-700 mb-3",children:"Service status:"}),s.jsxs("ul",{className:"space-y-2 mb-3",children:[s.jsxs("li",{className:"flex items-center gap-2 text-gray-700",children:[s.jsx(q.div,{animate:{opacity:[1,.5,1]},transition:{duration:2,repeat:1/0},className:"w-2 h-2 bg-green-500 rounded-full"}),s.jsxs("span",{children:[s.jsx("strong",{children:"rentals.clyn.com"})," | Property management platform ",s.jsx("span",{className:"text-green-600 font-semibold",children:"(Restored)"})]})]}),s.jsxs("li",{className:"flex items-center gap-2 text-gray-700",children:[s.jsx(q.div,{animate:{opacity:[1,.5,1]},transition:{duration:2,repeat:1/0},className:"w-2 h-2 bg-green-500 rounded-full"}),s.jsxs("span",{children:[s.jsx("strong",{children:"providers.clyn.com"})," | Service provider portal ",s.jsx("span",{className:"text-green-600 font-semibold",children:"(Restored)"})]})]})]}),s.jsx("p",{className:"text-gray-700",children:"Both services have been fully restored for all global regions. We apologize for any inconvenience and appreciate your patience during the outage."}),s.jsxs("p",{className:"text-sm text-gray-600 mt-3",children:[s.jsx("strong",{children:"Last updated:"})," February 19, 2026 at 4:00 PM CT"]})]})]})})})}),s.jsx("div",{className:"space-y-6",children:r.map((i,a)=>{const l=e.includes(i.id),u=a===0;return s.jsx(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.5,delay:a*.1},children:s.jsxs(Te,{className:`border-2 ${u?"border-blue-500 shadow-lg":"border-gray-200"}`,children:[s.jsx(tn,{children:s.jsxs("div",{className:"flex items-start justify-between",children:[s.jsxs("div",{className:"flex-1",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[u&&s.jsx("span",{className:"px-3 py-1 bg-blue-100 text-blue-700 text-xs font-semibold rounded-full",children:"Latest"}),s.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[s.jsx(vs,{className:"w-4 h-4"}),s.jsxs("span",{children:["Published ",i.publishedDate]})]})]}),s.jsx(nn,{className:"text-2xl mb-2",children:i.title}),s.jsxs(wn,{className:"text-base",children:["Changes merged ",i.dateRange]})]}),s.jsx(Se,{variant:"ghost",size:"icon",onClick:()=>n(i.id),className:"flex-shrink-0",children:l?s.jsx(qk,{className:"w-5 h-5"}):s.jsx(Lc,{className:"w-5 h-5"})})]})}),l&&s.jsxs(Ue,{className:"space-y-8",children:[s.jsxs("p",{className:"text-sm text-gray-600 italic",children:["These notes summarize changes merged into the Clyn STR web‑app and backend between ",i.dateRange,". They are organized by whether they are Updates or Fixes, and whether they impact the Frontend or Backend."]}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h3",{className:"text-xl font-bold text-gray-900",children:"Updates"}),s.jsx("div",{className:"h-px flex-1 bg-gray-200"})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Frontend"}),s.jsx("div",{className:"space-y-3",children:i.updates.frontend.map((d,h)=>s.jsx("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-green-500 rounded-full mt-2"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h5",{className:"font-semibold text-gray-900 mb-1",children:d.title}),s.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:d.description})]})]})},h))})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Backend"}),s.jsx("div",{className:"space-y-3",children:i.updates.backend.map((d,h)=>s.jsx("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-green-500 rounded-full mt-2"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h5",{className:"font-semibold text-gray-900 mb-1",children:d.title}),s.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:d.description})]})]})},h))})]})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h3",{className:"text-xl font-bold text-gray-900",children:"Fixes"}),s.jsx("div",{className:"h-px flex-1 bg-gray-200"})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Frontend"}),i.fixes.frontend.length>0?s.jsx("div",{className:"space-y-3",children:i.fixes.frontend.map((d,h)=>s.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-blue-500 rounded-full mt-2"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h5",{className:"font-semibold text-gray-900 mb-1",children:d.title}),s.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:d.description})]})]})},h))}):s.jsx("p",{className:"text-sm text-gray-500 italic",children:"No frontend-specific fixes were merged this week."})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-lg font-semibold text-gray-800 mb-3",children:"Backend"}),i.fixes.backend.length>0?s.jsx("div",{className:"space-y-3",children:i.fixes.backend.map((d,h)=>s.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"flex-shrink-0 w-2 h-2 bg-blue-500 rounded-full mt-2"}),s.jsxs("div",{className:"flex-1",children:[s.jsx("h5",{className:"font-semibold text-gray-900 mb-1",children:d.title}),s.jsx("p",{className:"text-sm text-gray-700 leading-relaxed",children:d.description})]})]})},h))}):s.jsx("p",{className:"text-sm text-gray-500 italic",children:"No backend-specific fixes were merged this week."})]})]})]})]})},i.id)})}),s.jsx(q.div,{initial:{opacity:0}
499,animate:{opacity:1},transition:{duration:.5,delay:.3},className:"mt-12 text-center",children:s.jsx(Te,{className:"bg-gray-50",children:s.jsx(Ue,{className:"py-6",children:s.jsx("p",{className:"text-sm text-gray-600",children:"📅 Release notes are updated every Friday. Check back weekly for the latest updates!"})})})})]})]})}function TW(){return s.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col items-center justify-center p-8",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Customer Reviews | Clyn"}),s.jsx("meta",{name:"description",content:"See what hospitality and facilities teams say about using Clyn to guide, train, and verify their cleaning operations."}),s.jsx("meta",{property:"og:title",content:"Customer Reviews | Clyn"}),s.jsx("meta",{property:"og:description",content:"See what hospitality and facilities teams say about using Clyn to guide, train, and verify their cleaning operations."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Reviews"})]}),s.jsxs("div",{className:"text-center",children:[s.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[s.jsx(ur,{className:"w-12 h-12 text-yellow-400 fill-current"}),s.jsx(ur,{className:"w-12 h-12 text-yellow-400 fill-current"}),s.jsx(ur,{className:"w-12 h-12 text-yellow-400 fill-current"}),s.jsx(ur,{className:"w-12 h-12 text-yellow-400 fill-current"}),s.jsx(ur,{className:"w-12 h-12 text-yellow-400 fill-current"})]}),s.jsx("h1",{className:"text-4xl font-bold text-gray-800",children:"Reviews Page"}),s.jsx("p",{className:"mt-4 text-xl text-gray-600",children:"Customer reviews and testimonials will be displayed here."}),s.jsx("p",{className:"mt-2 text-gray-500",children:"This is a placeholder page."}),s.jsx(Se,{asChild:!0,className:"mt-8",children:s.jsxs($e,{to:"/",children:[s.jsx(zx,{className:"w-4 h-4 mr-2"}),"Back to Home"]})})]})]})}function AW(){const e=[{icon:vs,title:"Consistent Work",description:"Get recurring jobs from property owners nationwide with automated scheduling."},{icon:Th,title:"Fast Payments",description:"Receive payments within 48 hours of completed jobs. No more chasing clients."},{icon:oi,title:"Quality Support",description:"AI-powered quality checks ensure fair evaluation and protect your reputation."},{icon:Fc,title:"Grow Your Business",description:"Access training, tools, and resources to scale your cleaning business."}],t=[{step:"1",title:"Apply Online",description:"Fill out our quick application form and tell us about your cleaning business."},{step:"2",title:"Get Verified",description:"Complete our simple background check and quality standards verification."},{step:"3",title:"Start Earning",description:"Receive job offers in your area and start building your client base."}];return s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn for Cleaning Service Providers"}),s.jsx("meta",{name:"description",content:"Clyn gives cleaning companies a way to prove job quality to clients with photo verified checklists, cutting disputes and re cleans."}),s.jsx("meta",{property:"og:title",content:"Clyn for Cleaning Service Providers"}),s.jsx("meta",{property:"og:description",content:"Clyn gives cleaning companies a way to prove job quality to clients with photo verified checklists, cutting disputes and re cleans."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/ServiceProviders"})]}),s.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-purple-600 via-purple-700 to-indigo-800 py-20 px-6",children:[s.jsx("div",{className:"absolute inset-0 bg-[url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00em0wLTEwYzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgNC0xLjc5IDQtNHptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDQtMS43OSA0LTR6Ii8+PC9nPjwvZz48L3N2Zz4=')] opacity-20"}),s.jsx("div",{className:"max-w-7xl mx-auto",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,x:-50}
499,animate:{opacity:1,x:0},transition:{duration:.6},className:"text-white relative z-10",children:[s.jsx("h1",{className:"text-5xl md:text-6xl font-bold mb-6 leading-tight",children:"Join the Clyn Partner Network"}),s.jsx("p",{className:"text-xl text-purple-100 mb-8 leading-relaxed",children:"Become a preferred cleaning and service provider for property owners nationwide. Get recurring jobs, streamlined payments, and grow your business with Clyn."}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-8",children:[s.jsx("a",{href:"https://providers.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-white text-purple-700 hover:bg-gray-100 px-8 py-6 text-lg font-semibold shadow-xl",onClick:()=>Hn.analytics.track({eventName:"provider_hero_apply_clicked"}),children:["Join as a Provider",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",variant:"outline",className:"bg-transparent border-2 border-white text-white hover:bg-white/10 px-8 py-6 text-lg",children:"Schedule a Call"})})]})]}),s.jsx(q.div,{initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{duration:.6,delay:.3},className:"relative hidden lg:block",children:s.jsxs("div",{className:"relative",children:[s.jsx("img",{src:"https://images.unsplash.com/photo-1581578731548-c64695cc6952?q=80&w=1200",alt:"Professional cleaner",className:"rounded-2xl shadow-2xl w-full h-[500px] object-cover"}),s.jsxs("div",{className:"absolute -bottom-6 -left-6 bg-white rounded-xl shadow-2xl p-6 max-w-xs",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[s.jsx(Ph,{className:"w-6 h-6 text-green-500"}),s.jsx("span",{className:"font-semibold text-gray-900",children:"Quality Verified"})]}),s.jsx("p",{className:"text-sm text-gray-600",children:"All providers pass background checks and quality standards"})]})]})})]})})]}),s.jsx("section",{className:"py-20 px-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Why Partner with Clyn?"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"We're committed to helping cleaning professionals build sustainable, profitable businesses."})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:e.map((n,r)=>{const i=n.icon;return s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:r*.1},children:s.jsx(Te,{className:"h-full border-2 hover:border-purple-500 hover:shadow-lg transition-all duration-300",children:s.jsxs(tn,{children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-purple-500 to-indigo-600 flex items-center justify-center mb-4",children:s.jsx(i,{className:"w-6 h-6 text-white"})}),s.jsx(nn,{className:"text-2xl",children:n.title}),s.jsx(wn,{className:"text-gray-600 text-base",children:n.description})]})})},n.title)})})]})}),s.jsx("section",{className:"py-20 px-6 bg-gray-50",children:s.jsxs("div",{className:"max-w-5xl mx-auto",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4",children:"How to Get Started"}),s.jsx("p",{className:"text-xl text-gray-600",children:"Join our network in three simple steps."})]}),s.jsx("div",{className:"space-y-6",children:t.map((n,r)=>s.jsx(q.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5,delay:r*.1},children:s.jsx(Te,{className:"border-2 hover:border-purple-500 transition-all duration-300",children:s.jsx(Ue,{className:"p-6",children:s.jsxs("div",{className:"flex items-start gap-6",children:[s.jsx("div",{className:"flex-shrink-0",children:s.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-purple-500 to-indigo-600 flex items-center justify-center",children:s.jsx("span",{className:"text-white font-bold text-xl",children:n.step})})}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:n.title}),s.jsx("p",{className:"text-gray-600",children:n.description})]})]})})})},n.step))})]})}),s.jsx("section",{className:"py-20 px-6 bg-gradient-to-r from-purple-600 to-indigo-600",children:s.jsx("div",{className:"max-w-4xl mx-auto text-center text-white",children:s.jsxs(q.div,{initial:{opacity:0,y:20}
499,animate:{opacity:1,y:0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:"Questions About Becoming a Provider?"}),s.jsx("p",{className:"text-xl text-purple-100 mb-8 max-w-2xl mx-auto",children:"Our team is here to help. Schedule a call to learn more about partnership opportunities."}),s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-white text-purple-700 hover:bg-gray-100 px-8 py-6 text-lg font-semibold shadow-xl",children:"Schedule a Call"})})]})})})]})}function _W(){const e=[{icon:vo,title:"Not Enough Time",description:"Juggling bookings, cleaning, and maintenance is a full-time job."},{icon:P6,title:"Tight Budgets",description:"Every dollar counts, and professional tools seem too expensive."},{icon:io,title:"DIY Cleaning",description:"Spending hours cleaning between guests instead of growing your business."}];return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn for Solo Hosts"}),s.jsx("meta",{name:"description",content:"Clyn helps solo short term rental hosts verify cleaning quality between guests, without hiring a full time inspector."}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/SoloHosts"})]}),s.jsx("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 to-blue-50 py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[s.jsx(Dt,{className:"bg-blue-100 text-blue-800 mb-6",children:"For Solo Hosts & Small Portfolios"}),s.jsx("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 mb-6",children:"More Hosting, Less Housekeeping"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-8",children:"Clyn automates your turnovers with AI inspections, so you can focus on providing 5 star guest experiences."}),s.jsx(Se,{size:"lg",asChild:!0,children:s.jsxs($e,{to:"/Pricing",children:["Apply for Free Access ",s.jsx(qt,{className:"w-5 h-5 ml-2"})]})})]})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs("div",{className:"text-center mb-16",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"Sound Familiar?"}),s.jsx("p",{className:"text-lg text-gray-500 mt-4",children:"You're not alone. We built Clyn for hosts like you."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:e.map((t,n)=>s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:n*.1},children:s.jsxs(Te,{className:"text-center p-8 border-0 shadow-lg",children:[s.jsx("div",{className:"w-16 h-16 bg-blue-50 rounded-full flex items-center justify-center mx-auto mb-6",children:s.jsx(t.icon,{className:"w-8 h-8 text-blue-600"})}),s.jsx("h3",{className:"text-xl font-bold mb-2",children:t.title}),s.jsx("p",{className:"text-gray-600",children:t.description})]})},n))})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 grid lg:grid-cols-2 gap-16 items-center",children:[s.jsxs("div",{className:"space-y-6",children:[s.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"Your Operations on Autopilot"}),s.jsx("p",{className:"text-xl text-gray-600",children:"Our Starter plan is free and designed to give you back your time."}),s.jsxs("ul",{className:"space-y-4",children:[s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold",children:"Free to Start"}),s.jsx("p",{className:"text-gray-600",children:"Get started with our core features for free. The Starter plan is free forever for 1 property with 5 QA AI reports per month."})]})]}),s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-6 h-6 text-green-500 mt-1 flex-shrink-0"}),s.jsxs("div",{children:[s.jsx("h4",{className:"font-semibold",children:"Manage On The Go"}),s.jsx("p",{className:"text-gray-600",children:"Use our mobile app to get inspection reports, notifications, and manage turnovers from anywhere."})]})]})]})]}),s.jsx("div",{children:s.jsxs(Te,{className:"bg-white shadow-2xl p-8 text-center",children:[s.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Starter Plan"}),s.jsx("p",{className:"text-4xl font-extrabold text-blue-600 mb-4",children:"Free"}),s.jsx("p",{className:"text-gray-600 font-medium mb-6",children:"Free forever for 1 property, 5 QA AI reports per month"}),s.jsx(Se,{size:"lg",className:"w-full",asChild:!0,children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:"Get Started"})}),s.jsxs("p",{className:"text-xs text-gray-400 mt-4",children:["Operations plan: $15 per property per month with unlimited QA AI reports. ",s.jsx($e,{to:"/Pricing",className:"text-blue-600 hover:underline",children:"See pricing"})]})]})})]})}),s.jsx("section",{className:"py-20 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx(qh,{className:"max-w-2xl mx-auto"})})}),s.jsx("section",{className:"py-24 bg-blue-600 text-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:[s.jsx("h2",{className:"text-4xl font-bold mb-6",children:"Ready to Automate Your Hosting?"}),s.jsx("p",{className:"text-xl text-blue-100 max-w-3xl mx-auto mb-8",children:"Save time, reduce stress, and get 5-star reviews more consistently. Apply for pilot access today."}),s.jsx(Se,{size:"lg",variant:"secondary",asChild:!0,children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:"Get Started"})})]})})]})}function RW(){const e=[{icon:Ea,label:"AI Inspections"},{icon:Ah,label:"Auto-Restock"},{icon:Yn,label:"Vendor Hub"},{icon:Hk,label:"Real-Time Alerts"}];return s.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 via-white to-blue-50 pt-20 pb-24",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-100 rounded-full mix-blend-multiply filter blur-xl opacity-30 animate-pulse delay-1000"})]}),s.jsx("div",{className:"relative max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"text-center",children:[s.jsxs(q.div,{initial:{opacity:0,scale:.9}
499,animate:{opacity:1,scale:1},transition:{delay:.2},className:"inline-flex items-center px-4 py-2 rounded-full bg-blue-50 text-blue-700 text-sm font-medium mb-8",children:[s.jsx(he,{className:"w-4 h-4 mr-2"}),"Complete Operations Platform"]}),s.jsxs(q.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:[s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"AI Powered Inspections"})," ","and Restocking for Every Property"]}),s.jsx(q.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-xl text-gray-600 leading-relaxed mb-12 max-w-3xl mx-auto",children:"Transform your property management operations with intelligent automation that prevents issues, manages inventory, and coordinates your entire service team."}),s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"flex flex-wrap justify-center items-center gap-8 mb-12",children:e.map((t,n)=>{const r=t.icon;return s.jsxs("div",{className:"flex items-center gap-3 bg-white/80 backdrop-blur-sm px-6 py-3 rounded-full shadow-lg border border-gray-100",children:[s.jsx("div",{className:"w-8 h-8 bg-gradient-to-r from-blue-500 to-teal-500 rounded-lg flex items-center justify-center",children:s.jsx(r,{className:"w-4 h-4 text-white"})}),s.jsx("span",{className:"font-medium text-gray-700",children:t.label})]},n)})}),s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsxs(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",children:["Start Free Pilot",s.jsx(qt,{className:"w-5 h-5 ml-2"})]}),s.jsxs(Se,{variant:"ghost",size:"lg",className:"text-gray-700 hover:text-gray-900 px-8 py-4 text-lg font-semibold border border-gray-200 hover:border-gray-300",children:[s.jsx(Yk,{className:"w-5 h-5 mr-2"}),"See How It Works"]})]}),s.jsx(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},className:"mt-16 grid grid-cols-2 lg:grid-cols-4 gap-8 max-w-4xl mx-auto",children:[{number:"12hrs",label:"Saved Per Week"}].map((t,n)=>s.jsxs("div",{className:"text-center",children:[s.jsx("div",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-2",children:t.number}),s.jsx("div",{className:"text-gray-600 font-medium",children:t.label})]},n))})]})})]})}function IW(){const e=[{icon:Ea,title:"AI Photo Inspections",description:"Computer vision detects damages, cleanliness issues, and missing amenities automatically after every turnover.",benefits:["Identifies 200+ common property issues","99.2% accuracy in damage detection","Before & after photo comparisons","Instant alerts for urgent repairs"],color:"from-red-500 to-pink-500",bgColor:"bg-red-50",badge:"AI Powered"},{icon:Ah,title:"Amazon Auto-Restock",description:"Automatically reorder supplies via Amazon when inventory runs low. No more manual tracking or emergency store runs.",benefits:["Connects to Amazon Business account","Smart reorder based on usage patterns","Bulk pricing and next-day delivery","Zero manual inventory management"],color:"from-orange-500 to-yellow-500",bgColor:"bg-orange-50",badge:"Automated"},{icon:Yn,title:"Vendor Hub",description:"Coordinate cleaners, plumbers, landscapers, and maintenance crews from one unified dashboard.",benefits:["Shared calendar for all service providers","Automated scheduling and notifications","Performance tracking and ratings","Centralized communication hub"],color:"from-blue-500 to-cyan-500",bgColor:"bg-blue-50",badge:"Unified"},{icon:Hk,title:"Real-Time Notifications",description:"Get instant alerts about property issues, completed services, and upcoming maintenance needs.",benefits:["SMS and email notifications","Priority-based alert system","Custom notification preferences","Integration with mobile app"],color:"from-green-500 to-teal-500",bgColor:"bg-green-50",badge:"Instant"}];return s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsxs("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:["Complete Property Operations"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Automation"})]}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Every tool you need to run a flawless property management operation"})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:e.map((t,n)=>{const r=t.icon;return s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:n*.1},whileHover:{y:-5},className:"group",children:s.jsx(Te,{className:"h-full bg-white border-0 shadow-lg hover:shadow-2xl transition-all duration-500 overflow-hidden",children:s.jsxs(Ue,{className:"p-8",children:[s.jsxs("div",{className:"flex items-start justify-between mb-6",children:[s.jsx("div",{className:`w-16 h-16 ${t.bgColor} rounded-2xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300`,children:s.jsx("div",{className:`w-8 h-8 rounded-lg bg-gradient-to-br ${t.color} flex items-center justify-center`,children:s.jsx(r,{className:"w-5 h-5 text-white"})})}),s.jsx(Dt,{className:`${t.bgColor} border-0 text-gray-700`,children:t.badge})]}),s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed mb-6",children:t.description}),s.jsx("div",{className:"space-y-3",children:t.benefits.map((i,a)=>s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(he,{className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-gray-700 text-sm",children:i})]},a))}),s.jsx("div",{className:`absolute inset-x-0 bottom-0 h-1 bg-gradient-to-r ${t.color} transform scale-x-0 group-hover:scale-x-100 transition-transform duration-500`})]})})},n)})}),s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"mt-20 text-center",children:s.jsx(Te,{className:"bg-gradient-to-br from-blue-50 to-teal-50 border-blue-200 border-2",children:s.jsxs(Ue,{className:"p-12",children:[s.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Seamless Integrations"}),s.jsx("p",{className:"text-gray-600 mb-8 max-w-2xl mx-auto",children:"Connect with your existing tools and platforms for a complete operations ecosystem"}),s.jsx("div",{className:"flex flex-wrap justify-center items-center gap-8 opacity-70",children:[{name:"Airbnb",logo:"🏠"},{name:"VRBO",logo:"🏡"},{name:"Amazon",logo:"📦"},{name:"Google Calendar",logo:"📅"},{name:"Slack",logo:"💬"},{name:"QuickBooks",logo:"💰"}].map((t,n)=>s.jsxs("div",{className:"flex items-center gap-2 bg-white px-4 py-2 rounded-lg shadow-sm",children:[s.jsx("span",{className:"text-2xl",children:t.logo}),s.jsx("span",{className:"font-medium text-gray-700",children:t.name})]},n))})]})})})]})})}const iT=lt.forwardRef(({className:e,min:t,max:n,step:r,value:i,onValueChange:a,...l},u)=>{const d=h=>{const p=parseInt(h.target.value);a([p])};return s.jsxs("div",{className:"relative",children:[s.jsx("input",{type:"range",min:t,max:n,step:r,value:i[0],onChange:d,className:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer slider",ref:u,...l}),s.jsx("style",{jsx:!0,children:`
500        .slider::-webkit-slider-thumb {
501          appearance: none;
502          width: 20px;
503          height: 20px;
504          border-radius: 50%;
505          background: #2563eb;
506          cursor: pointer;
507          border: 2px solid #ffffff;
508          box-shadow: 0 2px 4px rgba(0,0,0,0.2);
509        }
510        .slider::-moz-range-thumb {
511          width: 20px;
512          height: 20px;
513          border-radius: 50%;
514          background: #2563eb;
515          cursor: pointer;
516          border: 2px solid #ffffff;
517          box-shadow: 0 2px 4px rgba(0,0,0,0.2);
518        }
519      `})]})});iT.displayName="Slider";function MW(){const[e,t]=S.useState([10]),[n,r]=S.useState(!1),i=h=>{const N=h*3*25*4.33,w=h*150,k=N+w,E=h*9.99,C=k-E,T=E>0?(C/E*100).toFixed(0):0;return{hoursPerWeek:h*3,monthlySavings:N.toFixed(0),damagesSaved:w.toFixed(0),totalSavings:k.toFixed(0),totalCost:E.toFixed(0),netSavings:C.toFixed(0),roi:T}},a=h=>{const p=h*150,m=h*85,x=h*12,y=h*15,N=h*5,w=h*2;return{without:{damageCosts:p,supplyCosts:m,vendorHours:x},with:{damageCosts:y,supplyCosts:N,vendorHours:w}}},l=i(e[0]),u=a(e[0]),d=e[0]===300;return s.jsx("section",{className:"py-24 bg-gradient-to-br from-slate-50 to-blue-50",children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsxs("div",{className:"inline-flex items-center px-4 py-2 rounded-full bg-blue-50 text-blue-700 text-sm font-medium mb-6",children:[s.jsx(V4,{className:"w-4 h-4 mr-2"}),"ROI Calculator"]}),s.jsxs("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:["Calculate Your"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Savings"})]}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"See how much time and money Clyn can save your property management operations"})]}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-start",children:[s.jsx(q.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:s.jsxs(Te,{className:"bg-white border-0 shadow-xl",children:[s.jsx(tn,{className:"text-center pb-6",children:s.jsx(nn,{className:"text-2xl font-bold text-gray-900",children:"How many properties do you manage?"})}),s.jsxs(Ue,{className:"p-8",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("div",{className:"text-6xl font-bold text-blue-600 mb-2",children:e[0]}),s.jsx("div",{className:"text-gray-600 font-medium",children:e[0]===1?"Property":"Properties"})]}),s.jsxs("div",{className:"mb-8",children:[s.jsx(iT,{value:e,onValueChange:t,max:300,min:1,step:1,className:"w-full"}),s.jsxs("div",{className:"flex justify-between text-sm text-gray-500 mt-2",children:[s.jsx("span",{children:"1"}),s.jsx("span",{children:"300"})]})]}),s.jsx("div",{className:"grid grid-cols-4 gap-2 mb-8",children:[25,50,100,200].map(h=>s.jsx(Se,{variant:e[0]===h?"default":"outline",size:"sm",onClick:()=>t([h]),className:"text-sm",children:h},h))}),d&&s.jsxs(q.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},className:"mb-8 p-4 bg-blue-50 border border-blue-200 rounded-lg text-center",children:[s.jsx("p",{className:"text-sm text-blue-800 font-medium mb-2",children:"Need to manage more than 300 properties?"}),s.jsxs(Se,{variant:"outline",size:"sm",children:[s.jsx(Vx,{className:"w-4 h-4 mr-2"})," Contact Sales"]})]}),s.jsx("div",{className:"border-t pt-6",children:s.jsxs("div",{className:"flex items-center justify-between mb-4",children:[s.jsx("span",{className:"font-semibold text-gray-900",children:"View Comparison"}),s.jsxs("button",{onClick:()=>r(!n),className:"flex items-center gap-2 text-blue-600 hover:text-blue-700 transition-colors",children:[n?s.jsx(tI,{className:"w-6 h-6"}):s.jsx(Z6,{className:"w-6 h-6"}),s.jsxs("span",{className:"font-medium",children:[n?"Hide":"Show"," Details"]})]})]})})]})]})}),s.jsx(q.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"space-y-6",children:s.jsx(zh,{mode:"wait",children:n?s.jsxs(q.div,{initial:{opacity:0,y:20}
519,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"space-y-6",children:[s.jsx(Te,{className:"bg-white border-0 shadow-lg",children:s.jsxs(Ue,{className:"p-6",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-10 h-10 bg-red-50 rounded-lg flex items-center justify-center",children:s.jsx($x,{className:"w-5 h-5 text-red-500"})}),s.jsx("h4",{className:"font-bold text-gray-900",children:"Avg. Damage Refund Costs"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-red-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-red-600 font-medium mb-1",children:"Without Clyn"}),s.jsxs("div",{className:"text-2xl font-bold text-red-700",children:["$",u.without.damageCosts.toLocaleString()]}),s.jsx("div",{className:"text-xs text-red-500",children:"per month"})]}),s.jsxs("div",{className:"bg-green-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-green-600 font-medium mb-1",children:"With AI & Restock"}),s.jsxs("div",{className:"text-2xl font-bold text-green-700",children:["$",u.with.damageCosts.toLocaleString()]}),s.jsx("div",{className:"text-xs text-green-500",children:"90% reduction"})]})]})]})}),s.jsx(Te,{className:"bg-white border-0 shadow-lg",children:s.jsxs(Ue,{className:"p-6",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-10 h-10 bg-orange-50 rounded-lg flex items-center justify-center",children:s.jsx(Ah,{className:"w-5 h-5 text-orange-500"})}),s.jsx("h4",{className:"font-bold text-gray-900",children:"Avg. Supply Run Costs"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-red-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-red-600 font-medium mb-1",children:"Without Clyn"}),s.jsxs("div",{className:"text-2xl font-bold text-red-700",children:["$",u.without.supplyCosts.toLocaleString()]}),s.jsx("div",{className:"text-xs text-red-500",children:"per month"})]}),s.jsxs("div",{className:"bg-green-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-green-600 font-medium mb-1",children:"With AI & Restock"}),s.jsxs("div",{className:"text-2xl font-bold text-green-700",children:["$",u.with.supplyCosts.toLocaleString()]}),s.jsx("div",{className:"text-xs text-green-500",children:"94% reduction"})]})]})]})}),s.jsx(Te,{className:"bg-white border-0 shadow-lg",children:s.jsxs(Ue,{className:"p-6",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-10 h-10 bg-blue-50 rounded-lg flex items-center justify-center",children:s.jsx(Yn,{className:"w-5 h-5 text-blue-500"})}),s.jsx("h4",{className:"font-bold text-gray-900",children:"Hours Coordinating Vendors"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-red-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-red-600 font-medium mb-1",children:"Without Clyn"}),s.jsxs("div",{className:"text-2xl font-bold text-red-700",children:[u.without.vendorHours,"h"]}),s.jsx("div",{className:"text-xs text-red-500",children:"per month"})]}),s.jsxs("div",{className:"bg-green-50 rounded-lg p-4 text-center",children:[s.jsx("div",{className:"text-sm text-green-600 font-medium mb-1",children:"With AI & Restock"}),s.jsxs("div",{className:"text-2xl font-bold text-green-700",children:[u.with.vendorHours,"h"]}),s.jsx("div",{className:"text-xs text-green-500",children:"83% reduction"})]})]})]})}),s.jsx(Te,{className:"bg-gradient-to-r from-green-600 to-teal-600 text-white border-0",children:s.jsxs(Ue,{className:"p-6",children:[s.jsx("h4",{className:"font-bold text-lg mb-4 text-center",children:"Total Monthly Impact"}),s.jsxs("div",{className:"grid grid-cols-3 gap-4 text-center",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"text-2xl font-bold",children:["$",(u.without.damageCosts-u.with.damageCosts).toLocaleString()]}),s.jsx("div",{className:"text-sm text-green-100",children:"Damage Savings"})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"text-2xl font-bold",children:["$",(u.without.supplyCosts-u.with.supplyCosts).toLocaleStr
519ing()]}),s.jsx("div",{className:"text-sm text-green-100",children:"Supply Savings"})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"text-2xl font-bold",children:[u.without.vendorHours-u.with.vendorHours,"h"]}),s.jsx("div",{className:"text-sm text-green-100",children:"Time Saved"})]})]}),s.jsx("div",{className:"mt-6 pt-4 border-t border-white/20 text-center",children:s.jsxs(Se,{className:"bg-white text-green-600 hover:bg-gray-50 font-semibold",size:"lg",children:["Start Free Trial",s.jsx(qt,{className:"w-4 h-4 ml-2"})]})})]})})]},"comparison"):s.jsxs(q.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"space-y-6",children:[s.jsx(Te,{className:"bg-gradient-to-br from-blue-50 to-blue-100 border-blue-200",children:s.jsx(Ue,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-blue-500 rounded-xl flex items-center justify-center",children:s.jsx(vo,{className:"w-6 h-6 text-white"})}),s.jsxs("div",{children:[s.jsxs("div",{className:"text-3xl font-bold text-blue-900",children:[l.hoursPerWeek," hrs"]}),s.jsx("div",{className:"text-blue-700 font-medium",children:"Saved per week"})]})]})})}),s.jsx(Te,{className:"bg-gradient-to-br from-green-50 to-green-100 border-green-200",children:s.jsx(Ue,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-green-500 rounded-xl flex items-center justify-center",children:s.jsx(Th,{className:"w-6 h-6 text-white"})}),s.jsxs("div",{children:[s.jsxs("div",{className:"text-3xl font-bold text-green-900",children:["$",l.totalSavings]}),s.jsx("div",{className:"text-green-700 font-medium",children:"Total monthly savings"})]})]})})}),s.jsx(Te,{className:"bg-gradient-to-br from-purple-50 to-purple-100 border-purple-200",children:s.jsx(Ue,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 bg-purple-500 rounded-xl flex items-center justify-center",children:s.jsx(Fc,{className:"w-6 h-6 text-white"})}),s.jsxs("div",{children:[s.jsxs("div",{className:"text-3xl font-bold text-purple-900",children:[l.roi,"%"]}),s.jsx("div",{className:"text-purple-700 font-medium",children:"Return on investment"})]})]})})}),s.jsx(Te,{className:"bg-white border-0 shadow-lg",children:s.jsxs(Ue,{className:"p-6",children:[s.jsx("h4",{className:"font-bold text-gray-900 mb-4",children:"Monthly Breakdown"}),s.jsxs("div",{className:"space-y-3 text-sm",children:[s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-gray-600",children:"Labor cost savings"}),s.jsxs("span",{className:"font-medium",children:["$",l.monthlySavings]})]}),s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-gray-600",children:"Damage refunds avoided"}),s.jsxs("span",{className:"font-medium",children:["$",l.damagesSaved]})]}),s.jsxs("div",{className:"flex justify-between",children:[s.jsx("span",{className:"text-gray-600",children:"Clyn subscription cost"}),s.jsxs("span",{className:"font-medium text-red-600",children:["-$",l.totalCost]})]}),s.jsxs("div",{className:"border-t pt-3 flex justify-between",children:[s.jsx("span",{className:"font-bold text-gray-900",children:"Net monthly savings"}),s.jsxs("span",{className:"font-bold text-green-600",children:["$",l.netSavings]})]})]})]})}),s.jsx(Te,{className:"bg-gradient-to-r from-blue-600 to-teal-600 text-white border-0",children:s.jsxs(Ue,{className:"p-6 text-center",children:[s.jsx("h4",{className:"font-bold text-lg mb-2",children:"Ready to start saving?"}),s.jsx("p",{className:"text-blue-100 mb-4 text-sm",children:"Join 300+ property managers already using Clyn"}),s.jsxs(Se,{className:"bg-white text-blue-600 hover:bg-gray-50 font-semibold",size:"lg",children:["Start Free 14-Day Trial",s.jsx(qt,{className:"w-4 h-4 ml-2"})]})]})})]},"results")})})]})]})})}function OW(){const e=[{icon:vo,text:"Setup in 60 seconds"},{icon:oi,text:"14-day free trial"},{icon:ui,text:"No contracts or commitments"},{icon:he,text:"Cancel anytime"}];return s.jsxs("section",{className:"py-24 bg-gradient-to-br from-blue-600 via-blue-700 to-teal-600 relative overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-white/10 rounded-full mix-blend-multiply filter blur-xl animate-pulse"}),s.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-teal-300/20 rounded-full mix-blend-multiply filter blur-xl animate-pulse delay-1000"})]}),s.jsx("div",{className:"relative max-w-6xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8},children:[s.jsxs(Dt,{className:"bg-white/20 text-white border-0 mb-6",children:[s.jsx(ui,{className:"w-4 h-4 mr-1"}),"Ready to Transform Your Operations?"]}),s.jsxs("h2",{className:"text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:["Start Your"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-teal-200 to-blue-200",children:"Free Pilot"})," ","Today"]}),s.jsx("p",{className:"text-xl text-blue-100 mb-8 leading-relaxed",children:"Eliminate manual work, prevent costly damages, and increase guest satisfaction with Clyn's AI-powered platform."}),s.jsx("div",{className:"grid grid-cols-2 gap-4 mb-8",children:e.map((t,n)=>{const r=t.icon;return s.jsxs("div",{className:"flex items-center gap-3 text-white",children:[s.jsx("div",{className:"w-8 h-8 bg-white/20 rounded-lg flex items-center justify-center",children:s.jsx(r,{className:"w-4 h-4"})}),s.jsx("span",{className:"font-medium",children:t.text})]},n)})}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[s.jsxs(Se,{size:"lg",className:"bg-white text-blue-600 hover:bg-gray-50 px-8 py-4 text-lg font-bold shadow-xl hover:shadow-2xl transition-all duration-300 group",children:["Start Free Pilot",s.jsx(qt,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform duration-300"})]}),s.jsxs(Se,{variant:"ghost",size:"lg",className:"text-white hover:bg-white/10 px-8 py-4 text-lg font-semibold border border-white/30 hover:border-white/50",children:[s.jsx(Yk,{className:"w-5 h-5 mr-2"}),"Watch Demo"]})]})]}),s.jsx(q.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,delay:.3},className:"space-y-6",children:[{title:"AI Damage Detection",description:"Identifies property issues automatically",stat:"37 issues found",color:"from-red-400 to-pink-400"},{title:"Automated Restocking",description:"Zero manual inventory management required",stat:"120 orders placed",color:"from-orange-400 to-yellow-400"},{title:"Vendor Coordination",description:"All service providers in one dashboard",stat:"48 hrs saved/month",color:"from-green-400 to-teal-400"}].map((t,n)=>s.jsx(Te,{className:"bg-white/10 backdrop-blur-sm border-white/20 text-white",children:s.jsxs(Ue,{className:"p-6",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h4",{className:"font-bold text-lg",children:t.title}),s.jsx(Dt,{className:`bg-gradient-to-r ${t.color} text-white border-0`,children:t.stat})]}),s.jsx("p",{className:"text-blue-100 text-sm",children:t.description})]})}
519,n))})]})})]})}function DW(){return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Solutions | Clyn"}),s.jsx("meta",{name:"description",content:"Explore how Clyn's AI computer vision platform verifies cleaning across hotels, STRs, offices, restaurants, gyms, and healthcare facilities."}),s.jsx("meta",{property:"og:title",content:"Solutions | Clyn"}),s.jsx("meta",{property:"og:description",content:"Explore how Clyn's AI computer vision platform verifies cleaning across hotels, STRs, offices, restaurants, gyms, and healthcare facilities."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/Solutions"})]}),s.jsx(RW,{}),s.jsx(IW,{}),s.jsx(MW,{}),s.jsx(OW,{})]})}function LW(){const e=[{id:"definitions",title:"1. Definitions"},{id:"account-responsibilities",title:"2. Account Responsibilities"},{id:"subscription-payments",title:"3. Subscription & Payments"},{id:"ai-inspections-restock",title:"4. AI Photo Inspections & Amazon Restock Authorization"},{id:"vendor-management",title:"5. Vendor Management Hub Usage"},{id:"acceptable-use",title:"6. Acceptable Use Policy"},{id:"intellectual-property",title:"7. Intellectual Property"},{id:"confidentiality",title:"8. Confidentiality"},{id:"termination-refunds",title:"9. Termination & Refunds"},{id:"disclaimers-liability",title:"10. Disclaimers & Limitation of Liability"},{id:"governing-law",title:"11. Governing Law"},{id:"changes-terms",title:"12. Changes to Terms"},{id:"contact",title:"13. Contact"}];return s.jsxs("div",{className:"bg-white font-sans text-gray-800",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Terms of Service | Clyn"}),s.jsx("meta",{name:"description",content:"Clyn's terms of service outlining the rules and conditions for using the platform."}),s.jsx("meta",{property:"og:title",content:"Terms of Service | Clyn"}),s.jsx("meta",{property:"og:description",content:"Clyn's terms of service outlining the rules and conditions for using the platform."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/TermsOfService"})]}),s.jsxs(q.div,{initial:{opacity:0}
519,animate:{opacity:1},transition:{duration:.8},className:"max-w-4xl mx-auto px-6 lg:px-8 py-16",children:[s.jsxs("nav",{className:"flex items-center text-sm text-gray-500 mb-8",children:[s.jsx($e,{to:"/",className:"hover:text-blue-600",children:"Home"}),s.jsx(In,{className:"w-4 h-4 mx-1"}),s.jsx("span",{children:"Terms of Service"})]}),s.jsxs("header",{className:"mb-12 border-b pb-8",children:[s.jsx("h1",{className:"text-4xl lg:text-5xl font-extrabold text-gray-900 mb-4",children:"Terms of Service"}),s.jsx("p",{className:"text-lg text-gray-600",children:"Please read these terms carefully before using the Clyn platform."})]}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-4 mb-12",children:[s.jsx("p",{children:`By accessing or using Clyn Technologies Inc.'s ("Clyn," "we," "us," or "our") operations platform and services (the "Services"), you agree to be bound by these Terms of Service ("Terms"). If you do not agree to these Terms, please do not use our Services.`}),s.jsx("p",{children:"These Terms constitute a legally binding agreement between you and Clyn regarding your use of our AI-powered property management platform, including photo inspections, automated restocking, and vendor coordination services."})]}),s.jsxs("div",{className:"mb-12 p-6 bg-slate-50 rounded-2xl border",children:[s.jsxs("h2",{className:"text-2xl font-bold text-gray-900 mb-4 flex items-center",children:[s.jsx(Da,{className:"w-6 h-6 mr-3 text-blue-600"}),"Table of Contents"]}),s.jsx("ul",{className:"space-y-2",children:e.map(t=>s.jsx("li",{children:s.jsxs("a",{href:`#${t.id}`,className:"text-blue-600 hover:text-blue-700 hover:underline flex items-center",children:[s.jsx(In,{className:"w-4 h-4 mr-2"}),t.title]})},t.id))})]}),s.jsxs("div",{className:"space-y-12",children:[s.jsxs("section",{id:"definitions",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"1. Definitions"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsxs("p",{children:[s.jsx("strong",{children:'"Services"'})," refers to Clyn's AI-powered property management platform, including but not limited to photo inspections, automated restocking, vendor management, and related features."]}),s.jsxs("p",{children:[s.jsx("strong",{children:'"User" or "you"'})," refers to any individual or entity that accesses or uses our Services."]}),s.jsxs("p",{children:[s.jsx("strong",{children:'"Content"'})," refers to all data, information, photos, videos, and other materials uploaded, submitted, or generated through the Services."]}),s.jsxs("p",{children:[s.jsx("strong",{children:'"Vendor"'})," refers to third-party service providers (cleaners, plumbers, landscapers, etc.) coordinated through our platform."]})]})]}),s.jsxs("section",{id:"account-responsibilities",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"2. Account Responsibilities"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"You are responsible for:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Maintaining the confidentiality of your account credentials"}),s.jsx("li",{children:"All activities that occur under your account"}),s.jsx("li",{children:"Providing accurate and current information during registration"}),s.jsx("li",{children:"Notifying us immediately of any unauthorized use of your account"}),s.jsx("li",{children:"Ensuring your use of the Services complies with applicable laws and regulations"})]})]})]}),s.jsxs("section",{id:"subscription-payments",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"3. Subscription & Payments"}),s.jsxs("div",{className:"bg-blue-50 border-l-4 border-blue-500 p-6 mb-6 rounded-r-lg",children:[s.jsxs("div",{className:"flex items-center mb-3",children:[s.jsx(oi,{className:"w-6 h-6 text-blue-600 mr-2"}),s.jsx("h4",{className:"font-bold text-blue-900",children:"Pricing & Billing"})]}),s.jsxs("ul",{className:"text-blue-800 space-y-2",children:[s.jsx("li",{children:"• Monthly subscription: $9.99 per property per month"}),s.jsx("li",{children:"• 14-day free trial for new users"}),s.jsx("li",{children:"• Payment processing handled securely by Stripe"}),s.jsx("li",{children:"• Automatic billing unless cancelled"})]})]}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"Subscription fees are billed monthly in advance. You authorize us to charge your payment method for all applicable fees. If payment fails, we may suspend your access to the Services until payment is resolved."}),s.jsx("p",{children:"All fees are non-refundable except as explicitly stated in these Terms or required by law."})]})]}),s.jsxs("section",{id:"ai-inspections-restock",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"4. AI Photo Inspections & Amazon Re
519stock Authorization"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"By using our AI inspection services, you grant Clyn permission to:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Analyze photos and videos of your properties using computer vision technology"}),s.jsx("li",{children:"Generate inspection reports based on AI analysis"}),s.jsx("li",{children:"Store and process visual data to improve our AI models"})]}),s.jsx("p",{children:"For automated restocking services, you authorize Clyn to:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Place orders on your behalf through connected Amazon accounts"}),s.jsx("li",{children:"Access necessary account information to fulfill restock orders"}),s.jsx("li",{children:"Charge connected payment methods for approved purchases"})]}),s.jsx("p",{children:"You may revoke these authorizations at any time through your account settings, though this may limit functionality of the Services."})]})]}),s.jsxs("section",{id:"vendor-management",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"5. Vendor Management Hub Usage"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"The vendor management hub allows you to coordinate with service providers. You acknowledge that:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Clyn acts as a coordination platform and is not responsible for vendor performance"}),s.jsx("li",{children:"All contractual relationships are between you and your vendors"}),s.jsx("li",{children:"You are responsible for vetting and managing your service providers"}),s.jsx("li",{children:"Clyn does not guarantee vendor availability, quality, or reliability"}),s.jsx("li",{children:"You must comply with all local laws regarding employment and contractor relationships"})]})]})]}),s.jsxs("section",{id:"acceptable-use",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"6. Acceptable Use Policy"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"You agree not to:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Use the Services for any illegal or unauthorized purpose"}),s.jsx("li",{children:"Upload content that is defamatory, obscene, or violates intellectual property rights"}),s.jsx("li",{children:"Attempt to gain unauthorized access to our systems or other users' accounts"}),s.jsx("li",{children:"Interfere with or disrupt the Services or servers"}),s.jsx("li",{children:"Use the Services to spam, harass, or harm others"}),s.jsx("li",{children:"Reverse engineer or attempt to extract source code from our Services"}),s.jsx("li",{children:"Use automated tools to access the Services without permission"})]})]})]}),s.jsxs("section",{id:"intellectual-property",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"7. Intellectual Property"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"Clyn retains all rights, title, and interest in the Services, including all software, technology, and intellectual property. You retain ownership of your property photos and data, but grant us a license to use such content to provide the Services."}),s.jsx("p",{children:"Our AI models and algorithms are proprietary and protected by intellectual property laws. You may not copy, modify, or create derivative works based on our technology."})]})]}),s.jsxs("section",{id:"confidentiality",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"8. Confidentiality"}),s.jsx("div",{className:"text-gray-700 leading-relaxed space-y-3",children:s.jsx("p",{children:"We will maintain the confidentiality of your property data and business information in accordance with our Privacy Policy. You agree to maintain the confidentiality of any proprietary information about our Services that you may learn through your use of the platform."})})]}),s.jsxs("section",{id:"termination-refunds",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"9. Termination & Refunds"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"You may terminate your account at any time through your account settings. We may terminate or suspend your access immediately for violation of these Terms."}),s.jsx("p",{children:"Upon termination:"}),s.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[s.jsx("li",{children:"Your access to the Services will cease"}),s.jsx("li",{children:"You remain liable for all charges incurred before termination"}),s.jsx("li",{children:"We may delete your data after a reasonable notice period"}),s.jsx("li",{children:"No refunds will be provided for unused subscription time, except during the free trial period"})]})]})]}),s.jsxs("section",{id:"disclaimers-liability",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"10. Disclaimers & Limitation of Liability"}),s.jsxs("div",{className:"bg-yellow-50 border-l-4 border-yellow-500 p-6 mb-6 rounded-r-lg",children:[s.jsx("div",{className:"text-yellow-800 font-semibold mb-2",children:"Important Legal Notice"}),s.jsx("p",{className:"text-yellow-700 text-sm",children:'The Services are provided "as is" without warranties. AI inspections may not detect all issues, and automated systems may occasionally malfunction.'})]}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"TO THE MAXIMUM EXTENT PERMITTED BY LAW, CLYN DISCLAIMS ALL WARRANTIES AND SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OF THE SERVICES."}),s.jsx("p",{children:"Our total liability to you shall not exceed the amount paid by you for the Services in the twelve months preceding the claim."})]})]}),s.jsxs("section",{id:"governing-law",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"11. Governing Law"}),s.jsx("div",{className:"text-gray-700 leading-relaxed space-y-3",children:s.jsx("p",{children:"These Terms are governed by the laws of the State of Delaware, USA, without regard to conflict of law principles. Any disputes shall be resolved 
519in the courts of Delaware."})})]}),s.jsxs("section",{id:"changes-terms",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"12. Changes to Terms"}),s.jsx("div",{className:"text-gray-700 leading-relaxed space-y-3",children:s.jsx("p",{children:"We may update these Terms from time to time. We will notify you of material changes by email or through the Services. Continued use after changes constitutes acceptance of the new Terms."})})]}),s.jsxs("section",{id:"contact",children:[s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"13. Contact"}),s.jsxs("div",{className:"text-gray-700 leading-relaxed space-y-3",children:[s.jsx("p",{children:"If you have questions about these Terms of Service, please contact us:"}),s.jsxs("div",{className:"mt-4 inline-flex items-center gap-3 bg-slate-100 p-4 rounded-lg",children:[s.jsx(Vx,{className:"w-5 h-5 text-blue-600"}),s.jsx("a",{href:"mailto:[email protected]",className:"font-semibold text-blue-600 hover:underline",children:"[email protected]"})]})]})]})]}),s.jsx("footer",{className:"mt-16 pt-8 border-t text-center text-gray-500 text-sm",children:s.jsxs("p",{children:["Last updated: ",Ia(new Date,"MMMM d, yyyy")]})})]})]})}function FW(){const e=[{text:"Same‑day booking sync",icon:vs},{text:"Auto‑assign cleaners",icon:Yn},{text:"Photo proof & damage reports",icon:Ea},{text:"Instant cleaner payouts",icon:a6},{text:"Guest messaging templates",icon:Ux}],t=[{name:"Calendar Sync",icon:vs},{name:"Mobile Checklists",icon:W6},{name:"Inventory Tracking",icon:fc},{name:"FastPay™",icon:ui}],n=[{number:"60%",label:"Fewer guest complaints",icon:Fc},{number:"2×",label:"Faster turnovers",icon:vo},{number:"$1,240",label:"Avg. annual savings per property",icon:Th}],r=[{number:"1",title:"Connect your Vrbo calendar",description:"Instant sync with your existing bookings and availability",color:"from-blue-500 to-blue-600"},{number:"2",title:"Invite your cleaners",description:"Add your trusted cleaning crew to the platform",color:"from-green-500 to-green-600"},{number:"3",title:"Let Clyn auto‑schedule and verify every clean",description:"Sit back while we handle coordination and quality checks",color:"from-purple-500 to-purple-600"}],i=[{question:"Is the pilot really free?",answer:"Yes! Join our pilot program at no cost and experience Clyn's full capabilities."},{question:"Does Clyn work with Airbnb too?",answer:"Absolutely. Clyn integrates with all major booking platforms including Airbnb, VRBO, and direct bookings."},{question:"How do payouts work?",answer:"FastPay™ enables instant payments to your cleaning crew upon task completion verification."},{question:"What if my cleaner doesn't use smartphones?",answer:"Our platform works on any device with internet access, including tablets and basic smartphones."},{question:"Can I export reports for taxes?",answer:"Yes, generate detailed financial reports and export them in multiple formats for tax purposes."}],[a,l]=S.useState(0),u=[{type:"before-photo"},{type:"after-photo"},{type:"amazon-restock"},{type:"calendar-assign"}];S.useEffect(()=>{const h=setInterval(()=>{l(p=>(p+1)%u.length)},2500);return()=>clearInterval(h)},[u.length]);const d={initial:{opacity:0,scale:.95,filter:"blur(5px)"},animate:{opacity:1,scale:1,filter:"blur(0px)"},exit:{opacity:0,scale:.95,filter:"blur(5px)"}};return s.jsxs("div",{className:"bg-white",children:[s.jsxs("head",{children:[s.jsx("title",{children:"Clyn for Vrbo Property Managers"}),s.jsx("meta",{name:"description",content:"Clyn gives Vrbo property managers computer vision verified cleaning across every unit, integrated with the platforms you already use."}),s.jsx("meta",{property:"og:title",content:"Clyn for Vrbo Property Managers"}),s.jsx("meta",{property:"og:description",content:"Clyn gives Vrbo property managers computer vision verified cleaning across every unit, integrated with the platforms you already use."}),s.jsx("meta",{property:"og:image",content:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/og-image-resources-template.png"}),s.jsx("meta",{property:"og:type",content:"website"}),s.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),s.jsx("link",{rel:"canonical",href:"https://clyn.com/VrboPropertyManagers"})]}),s.jsx("section",{className:"relative overflow-hidden bg-gradient-to-br from-slate-50 to-blue-50 py-24",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[s.jsxs(q.div,{initial:{opacity:0,y:30}
519,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center lg:text-left",children:[s.jsx(Dt,{className:"bg-blue-100 text-blue-800 mb-6",children:"For Vrbo Property Managers & Hosts"}),s.jsxs("h1",{className:"text-4xl lg:text-6xl font-bold text-gray-900 leading-tight mb-6",children:["Turnover Chaos? Meet Clyn, Your All in One"," ",s.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-teal-500",children:"Vrbo Operations Hub"})]}),s.jsx("p",{className:"text-xl text-gray-600 leading-relaxed mb-8",children:"Schedule cleans, track checklists, and wow guests, all from one dashboard."}),s.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center lg:justify-start mb-8",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-4 text-lg font-semibold shadow-lg hover:shadow-xl transition-all duration-300",children:"Get Started"})})}),s.jsxs("div",{className:"inline-flex items-center gap-2 bg-green-50 text-green-800 px-4 py-2 rounded-full",children:[s.jsx(he,{className:"w-4 h-4"}),s.jsx("span",{className:"font-medium",children:"Pilot program - completely free"})]})]}),s.jsx(q.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.3},className:"relative",children:s.jsxs("div",{className:"relative bg-white rounded-2xl shadow-2xl p-6 border border-gray-100",children:[s.jsx("img",{src:"https://images.unsplash.com/photo-1560472355-536de3962603?w=800&auto=format&fit=crop",alt:"Modern property management dashboard",className:"rounded-lg w-full h-64 object-cover"}),s.jsxs(q.div,{className:"absolute top-10 right-10 bg-orange-500 text-white p-3 rounded-lg shadow-lg",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{delay:1.2,duration:.5},children:[s.jsx("div",{className:"text-sm font-semibold",children:"Next clean in 2 hrs"}),s.jsx("div",{className:"text-xs opacity-90",children:"Ocean View #12"})]})]})})]})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"Why Vrbo Hosts Switch to Clyn"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Everything you need to streamline your Vrbo operations in one platform"})]}),s.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((h,p)=>s.jsx(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:p*.1},children:s.jsxs(Te,{className:"text-center p-6 border-0 shadow-lg hover:shadow-xl transition-all duration-300",children:[s.jsx("div",{className:"w-12 h-12 bg-blue-50 rounded-full flex items-center justify-center mx-auto mb-4",children:s.jsx(h.icon,{className:"w-6 h-6 text-blue-600"})}),s.jsx("h3",{className:"font-semibold text-gray-900",children:h.text})]})},p))})]})}),s.jsx("section",{className:"py-16 bg-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx("div",{className:"flex flex-wrap justify-center gap-8",children:t.map((h,p)=>s.jsxs(q.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:p*.1},className:"flex items-center gap-3 bg-gray-50 px-6 py-3 rounded-full",children:[s.jsx(h.icon,{className:"w-5 h-5 text-blue-600"}),s.jsx("span",{className:"font-medium text-gray-900",children:h.name})]},p))})})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:n.map((h,p)=>s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:p*.1},className:"text-center",children:[s.jsx("div",{className:"w-16 h-16 bg-white rounded-full flex items-center justify-center mx-auto mb-4 shadow-lg",children:s.jsx(h.icon,{className:"w-8 h-8 text-blue-600"})}),s.jsx("div",{className:"text-4xl font-bold text-gray-900 mb-2",children:h.number}),s.jsx("div",{className:"text-gray-600 font-medium",children:h.label})]},p))})})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"How It Works"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Get started in three simple steps"})]}),s.jsx("div",{className:"grid lg:grid-cols-3 gap-8",children:r.map((h,p)=>s.jsxs(q.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:p*.2},className:"text-center",children:[s.jsx("div",{className:`w-16 h-16 rounded-full bg-gradient-to-r ${h.color} flex items-center justify-center mx-auto mb-6`,children:s.jsx("span",{className:"text-2xl font-bold text-white",children:h.number})}),s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:h.title}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:h.description})]},p))})]})}),s.jsx("section",{className:"py-24 bg-slate-50",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"See Clyn in Action"}),s.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Watch how Clyn automates your entire turnover process from start to finish."})]}),s.jsx(q.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8},className:"relative max-w-3xl mx-auto",children:s.jsxs("div",{className:"relative bg-white rounded-2xl shadow-2xl p-4 border border-gray-100 min-h-[400px] flex items-center justify-center overflow-hidden",children:[s.jsxs(zh,{mode:"wait",children:[u[a].type==="before-photo"&&s.jsx(q.div,{variants:d,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full h-full absolute inset-0 bg-cover bg-center rounded-lg flex items-center justify-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1540518614846-7eded433c457?w=800&auto=format&fit=crop')"},children:s.jsx("div",{className:"w-32 h-48 border-4 border-red-500 border-dashed rounded-lg bg-red-500/10 backdrop-blur-sm relative",children:s.jsxs("div",{className:"absolute -top-10 left-1/2 -translate-x-1/2 bg-red-500 text-white text-sm font-semibold px-3 py-1 rounded-full flex items-center gap-2",children:[s.jsx($x,{className:"w-4 h-4"})," Missing Towels"]})})},"before"),u[a].type==="after-photo"&&s.jsx(q.div,{variants:d,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full h-full absolute inset-0 bg-cover bg-center rounded-lg flex items-center justify-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=800&auto=format&fit=crop')"},children:s.jsx("div",{className:"w-32 h-48 border-4 border-green-500 border-dashed rounded-lg bg-green-500/10 backdrop-blur-sm relative",children:s.jsxs("div",{className:"absolute -top-10 left-1/2 -translate-x-1/2 bg-green-500 text-white text-sm font-semibold px-3 py-1 rounded-full flex items-center gap-2",children:[s.jsx(he,{className:"w-4 h-4"})," Resolved"]})})},"after"),u[a].type==="amazon-restock"&&s.jsxs(q.div,{variants:d,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"flex flex-col items-center justify-center text-center w-full h-full absolute inset-0",children:[s.jsx("img",{src:"https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg",alt:"Amazon",className:"h-16 mb-4"}),s.jsx("div",{className:"text-xl font-bold text-gray-800",children:"Restock Ordered"}),s.jsx("div",{className:"text-gray-500",children:"Hotel Collection Towels (x12)"})]},"amazon"),u[a].type==="calendar-assign"&&s.jsx(q.div,{variants:d,initial:"initial",animate:"animate",exit:"exit",transition:{duration:.5},className:"w-full p-4 absolute inset-0 flex flex-col justify-center items-center",children:s.jsxs("div",{className:"w-full max-w-sm",children:[s.jsxs("div",{className:"text-center mb-4",children:[s.jsx("div",{className:"font-bold text-xl",children:"Vendor Schedule"}),s.jsx("div",{className:"text-gray-500",children:"July 25, 2024"})]}),s.jsxs("div",{className:"bg-gray-50 rounded-lg p-4 space-y-2",children:[s.jsx("div",{className:"text-sm text-gray-400",children:"10:00 AM - Cleaner"}),s.jsxs(q.div,{initial:{opacity:0,y:-10}
519,animate:{opacity:1,y:0},transition:{delay:.2},className:"bg-blue-100 border-l-4 border-blue-500 rounded-r-lg p-3",children:[s.jsx("div",{className:"font-semibold text-blue-800",children:"Plumber – Leak Repair"}),s.jsx("div",{className:"text-sm text-blue-600",children:"Property: Ocean View #12"})]}),s.jsx("div",{className:"text-sm text-gray-400",children:"02:00 PM - Landscaper"})]})]})},"calendar")]}),s.jsx("div",{className:"absolute bottom-4 left-4 flex items-center gap-2",children:u.map((h,p)=>s.jsx(q.div,{className:"h-1.5 rounded-full",animate:{backgroundColor:a>=p?"#2563EB":"#E5E7EB",width:a===p?"24px":"8px"},transition:{duration:.5}},p))})]})})]})}),s.jsx("section",{className:"py-24 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-8",children:[s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:s.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-6",children:"Frequently Asked Questions"})}),s.jsx("div",{className:"space-y-6",children:i.map((h,p)=>s.jsx(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:p*.1},children:s.jsx(Te,{className:"border-0 shadow-lg",children:s.jsxs(Ue,{className:"p-8",children:[s.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:h.question}),s.jsx("p",{className:"text-gray-600 leading-relaxed",children:h.answer})]})})},p))})]})}),s.jsx("section",{className:"py-24 bg-gray-900 text-white",children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 text-center",children:s.jsxs(q.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[s.jsx("h2",{className:"text-4xl lg:text-5xl font-bold mb-8",children:"Ready to Transform Your Vrbo Operations?"}),s.jsx("p",{className:"text-xl text-gray-300 max-w-3xl mx-auto mb-12",children:"Join the pilot program and experience how Clyn can save you 10+ hours a week while delighting your guests."}),s.jsx("div",{className:"flex flex-wrap justify-center gap-6 mb-12",children:["Free pilot access","No credit card required","Setup in 60 seconds","Save 10+ hours per week"].map((h,p)=>s.jsxs("div",{className:"flex items-center gap-2 bg-white/10 backdrop-blur-sm px-4 py-2 rounded-full",children:[s.jsx(he,{className:"w-5 h-5 text-green-400"}),s.jsx("span",{className:"text-white font-medium",children:h})]},p))}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsxs(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-12 py-6 text-xl font-bold shadow-2xl hover:shadow-3xl transition-all duration-300 rounded-full group",children:["Get Started",s.jsx(qt,{className:"w-6 h-6 ml-3 group-hover:translate-x-1 transition-transform duration-300"})]})})]})})})]})}var Km="rovingFocusGroup.onEntryFocus",zW={bubbles:!1,cancelable:!0},Xc="RovingFocusGroup",[jx,oT,BW]=Yh(Xc),[VW,aT]=yi(Xc,[BW]),[UW,$W]=VW(Xc),lT=S.forwardRef((e,t)=>s.jsx(jx.Provider,{scope:e.__scopeRovingFocusGroup,children:s.jsx(jx.Slot,{scope:e.__scopeRovingFocusGroup,children:s.jsx(HW,{...e,ref:t})})}));lT.displayName=Xc;var HW=S.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:l,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:p=!1,...m}=e,x=S.useRef(null),y=pt(t,x),N=Kh(a),[w,k]=mo({prop:l,defaultProp:u??null,onChange:d,caller:Xc}),[b,E]=S.useState(!1),C=Xr(h),T=oT(n),I=S.useRef(!1),[_,V]=S.useState(0);return S.useEffect(()=>{const O=x.current;if(O)return O.addEventListener(Km,C),()=>O.removeEventListener(Km,C)},[C]),s.jsx(UW,{scope:n,orientation:r,dir:N,loop:i,currentTabStopId:w,onItemFocus:S.useCallback(O=>k(O),[k]),onItemShiftTab:S.useCallback(()=>E(!0),[]),onFocusableItemAdd:S.useCallback(()=>V(O=>O+1),[]),onFocusableItemRemove:S.useCallback(()=>V(O=>O-1),[]),children:s.jsx(et.div,{tabIndex:b||_===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...e.style},onMouseDown:Re(e.onMouseDown,()=>
vendor: 17,091 bytes, line 519
519{I.current=!0}),onFocus:Re(e.onFocus,O=>{const W=!I.current;if(O.target===O.currentTarget&&W&&!b){const R=new CustomEvent(Km,zW);if(O.currentTarget.dispatchEvent(R),!R.defaultPrevented){const G=T().filter(se=>se.focusable),B=G.find(se=>se.active),Q=G.find(se=>se.id===w),te=[B,Q,...G].filter(Boolean).map(se=>se.ref.current);dT(te,p)}}I.current=!1}),onBlur:Re(e.onBlur,()=>E(!1))})})}),cT="RovingFocusGroupItem",uT=S.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:l,...u}=e,d=fi(),h=a||d,p=$W(cT,n),m=p.currentTabStopId===h,x=oT(n),{onFocusableItemAdd:y,onFocusableItemRemove:N,currentTabStopId:w}=p;return S.useEffect(()=>{if(r)return y(),()=>N()},[r,y,N]),s.jsx(jx.ItemSlot,{scope:n,id:h,focusable:r,active:i,children:s.jsx(et.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...u,ref:t,onMouseDown:Re(e.onMouseDown,k=>{r?p.onItemFocus(h):k.preventDefault()}),onFocus:Re(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:Re(e.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){p.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const b=GW(k,p.orientation,p.dir);if(b!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let C=x().filter(T=>T.focusable).map(T=>T.ref.current);if(b==="last")C.reverse();else if(b==="prev"||b==="next"){b==="prev"&&C.reverse();const T=C.indexOf(k.currentTarget);C=p.loop?YW(C,T+1):C.slice(T+1)}setTimeout(()=>dT(C))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:w!=null}):l})})});uT.displayName=cT;var WW={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function qW(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function GW(e,t,n){const r=qW(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return WW[r]}function dT(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function YW(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var KW=lT,QW=uT,Nx=["Enter"," "],XW=["ArrowDown","PageUp","Home"],hT=["ArrowUp","PageDown","End"],JW=[...XW,...hT],ZW={ltr:[...Nx,"ArrowRight"],rtl:[...Nx,"ArrowLeft"]},eq={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Jc="Menu",[Ec,tq,nq]=Yh(Jc),[wo,fT]=yi(Jc,[nq,ef,aT]),cf=ef(),pT=aT(),[rq,jo]=wo(Jc),[sq,Zc]=wo(Jc),mT=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:l=!0}=e,u=cf(t),[d,h]=S.useState(null),p=S.useRef(!1),m=Xr(a),x=Kh(i);return S.useEffect(()=>{const y=()=>{p.current=!0,document.addEventListener("pointerdown",N,{capture:!0,once:!0}),document.addEventListener("pointermove",N,{capture:!0,once:!0})},N=()=>p.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",N,{capture:!0}),document.removeEventListener("pointermove",N,{capture:!0})}},[]),s.jsx(LE,{...u,children:s.jsx(rq,{scope:t,open:n,onOpenChange:m,content:d,onContentChange:h,children:s.jsx(sq,{scope:t,onClose:S.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:x,modal:l,children:r})})})};mT.displayName=Jc;var iq="MenuAnchor",d0=S.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=cf(n);return s.jsx(FE,{...i,...r,ref:t})});d0.displayName=iq;var h0="MenuPortal",[oq,gT]=wo(h0,{forceMount:void 0}),xT=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=jo(h0,t);return s.jsx(oq,{scope:t,forceMount:n,children:s.jsx(Ya,{present:n||a.open,children:s.jsx(n0,{asChild:!0,container:i,children:r})})})};xT.displayName=h0;var dr="MenuContent",[aq,f0]=wo(dr),yT=S.forwardRef((e,t)=>{const n=gT(dr,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=jo(dr,e.__scopeMenu),l=Zc(dr,e.__scopeMenu);return s.jsx(Ec.Provider,{scope:e.__scopeMenu,children:s.jsx(Ya,{present:r||a.open,children:s.jsx(Ec.Slot,{scope:e.__scopeMenu,children:l.modal?s.jsx(lq,{...i,ref:t}):s.jsx(cq,{...i,ref:t})})})})}),lq=S.forwardRef((e,t)=>{const n=jo(dr,e.__scopeMenu),r=S.useRef(null),i=pt(t,r);return S.useEffect(()=>{const a=r.current;if(a)return $E(a)},[]),s.jsx(p0,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Re(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),cq=S.forwardRef((e,t)=>{const n=jo(dr,e.__scopeMenu);return s.jsx(p0,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),uq=Ra("MenuContent.ScrollLock"),p0=S.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:d,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:x,onDismiss:y,disableOutsideScroll:N,...w}=e,k=jo(dr,n),b=Zc(dr,n),E=cf(n),C=pT(n),T=tq(n),[I,_]=S.useState(null),V=S.useRef(null),O=pt(t,V,k.onContentChange),W=S.useRef(0),R=S.useRef(""),G=S.useRef(0),B=S.useRef(null),Q=S.useRef("right"),Z=S.useRef(0),te=N?r0:S.Fragment,se=N?{as:uq,allowPinchZoom:!0}:void 0,ie=J=>{var re,me;const A=R.current+J,L=T().filter(ve=>!ve.disabled),ee=document.activeElement,M=(re=L.find(ve=>ve.ref.current===ee))==null?void 0:re.textValue,pe=L.map(ve=>ve.textValue),Pe=jq(pe,A,M),le=(me=L.find(ve=>ve.textValue===Pe))==null?void 0:me.ref.current;(function ve(Ae){R.current=Ae,window.clearTimeout(W.current),Ae!==""&&(W.current=window.setTimeout(()=>ve(""),1e3))})(A),le&&setTimeout(()=>le.focus())};S.useEffect(()=>()=>window.clearTimeout(W.current),[]),pE();const F=S.useCallback(J=>{var L,ee;return Q.current===((L=B.current)==null?void 0:L.side)&&kq(J,(ee=B.current)==null?void 0:ee.area)},[]);return s.jsx(aq,{scope:n,searchRef:R,onItemEnter:S.useCallback(J=>{F(J)&&J.preventDefault()},[F]),onItemLeave:S.useCallback(J=>{var A;F(J)||((A=V.current)==null||A.focus(),_(null))},[F]),onTriggerLeave:S.useCallback(J=>{F(J)&&J.preventDefault()},[F]),pointerGraceTimerRef:G,onPointerGraceIntentChange:S.useCallback(J=>{B.current=J},[]),children:s.jsx(te,{...se,children:s.jsx(Gy,{asChild:!0,trapped:i,onMountAutoFocus:Re(a,J=>{var A;J.preventDefault(),(A=V.current)==null||A.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:s.jsx(qy,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:h,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:x,onDismiss:y,children:s.jsx(KW,{asChild:!0,...C,dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:I,onCurrentTabStopIdChange:_,onEntryFocus:Re(d,J=>{b.isUsingKeyboardRef.current||J.preventDefault()}),preventScrollOnEntryFocus:!0,children:s.jsx(zE,{role:"menu","aria-orientation":"vertical","data-state":MT(k.open),"data-radix-menu-content":"",dir:b.dir,...E,...w,ref:O,style:{outline:"none",...w.style},onKeyDown:Re(w.onKeyDown,J=>{const L=J.target.closest("[data-radix-menu-content]")===J.currentTarget,ee=J.ctrlKey||J.altKey||J.metaKey,M=J.key.length===1;L&&(J.key==="Tab"&&J.preventDefault(),!ee&&M&&ie(J.key));const pe=V.current;if(J.target!==pe||!JW.includes(J.key))return;J.preventDefault();const le=T().filter(re=>!re.disabled).map(re=>re.ref.current);hT.includes(J.key)&&le.reverse(),bq(le)}),onBlur:Re(e.onBlur,J=>{J.currentTarget.contains(J.target)||(window.clearTimeout(W.current),R.current="")}),onPointerMove:Re(e.onPointerMove,Pc(J=>{const A=J.target,L=Z.current!==J.clientX;if(J.currentTarget.contains(A)&&L){const ee=J.clientX>Z.current?"right":"left";Q.current=ee,Z.current=J.clientX}}))})})})})})})});yT.displayName=dr;var dq="MenuGroup",m0=S.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return s.jsx(et.div,{role:"group",...r,ref:t})});m0.displayName=dq;var hq="MenuLabel",vT=S.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return s.jsx(et.div,{...r,ref:t})});vT.displayName=hq;var jh="MenuItem",FN="menu.itemSelect",uf=S.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=S.useRef(null),l=Zc(jh,e.__scopeMenu),u=f0(jh,e.__scopeMenu),d=pt(t,a),h=S.useRef(!1),p=()=>{const m=a.current;if(!n&&m){const x=new CustomEvent(FN,{bubbles:!0,cancelable:!0});m.addEventListener(FN,y=>r==null?void 0:r(y),{once:!0}),dE(m,x),x.defaultPrevented?h.current=!1:l.onClose()}};return s.jsx(bT,{...i,ref:d,disabled:n,onClick:Re(e.onClick,p),onPointerDown:m=>{var x;(x=e.onPointerDown)==null||x.call(e,m),h.current=!0},onPointerUp:Re(e.onPointerUp,m=>{var x;h.current||(x=m.currentTarget)==null||x.click()}),onKeyDown:Re(e.onKeyDown,m=>{const x=u.searchRef.current!=="";n||x&&m.key===" "||Nx.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});uf.displayName=jh;var bT=S.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,l=f0(jh,n),u=pT(n),d=S.useRef(null),h=pt(t,d),[p,m]=S.useState(!1),[x,y]=S.useState("");return S.useEffect(()=>{const N=d.current;N&&y((N.textContent??"").trim())},[a.children]),s.jsx(Ec.ItemSlot,{scope:n,disabled:r,textValue:i??x,children:s.jsx(QW,{asChild:!0,...u,focusable:!r,children:s.jsx(et.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:h,onPointerMove:Re(e.onPointerMove,Pc(N=>{r?l.onItemLeave(N):(l.onItemEnter(N),N.defaultPrevented||N.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Re(e.onPointerLeave,Pc(N=>l.onItemLeave(N))),onFocus:Re(e.onFocus,()=>m(!0)),onBlur:Re(e.onBlur,()=>m(!1))})})})}),fq="MenuCheckboxItem",wT=S.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return s.jsx(CT,{scope:e.__scopeMenu,checked:n,children:s.jsx(uf,{role:"menuitemcheckbox","aria-checked":Nh(n)?"mixed":n,...i,ref:t,"data-state":x0(n),onSelect:Re(i.onSelect,()=>r==null?void 0:r(Nh(n)?!0:!n),{checkForDefaultPrevented:!1})})})});wT.displayName=fq;var jT="MenuRadioGroup",[pq,mq]=wo(jT,{value:void 0,onValueChange:()=>{}}),NT=S.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=Xr(r);return s.jsx(pq,{scope:e.__scopeMenu,value:n,onValueChange:a,children:s.jsx(m0,{...i,ref:t})})});NT.displayName=jT;var kT="MenuRadioItem",ST=S.forwardRef((e,t)=>{const{value:n,...r}=e,i=mq(kT,e.__scopeMenu),a=n===i.value;return s.jsx(CT,{scope:e.__scopeMenu,checked:a,children:s.jsx(uf,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":x0(a),onSelect:Re(r.onSelect,()=>{var l;return(l=i.onValueChange)==null?void 0:l.call(i,n)},{checkForDefaultPrevented:!1})})})});ST.displayName=kT;var g0="MenuItemIndicator",[CT,gq]=wo(g0,{checked:!1}),ET=S.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=gq(g0,n);return s.jsx(Ya,{present:r||Nh(a.checked)||a.checked===!0,children:s.jsx(et.span,{...i,ref:t,"data-state":x0(a.checked)})})});ET.displayName=g0;var xq="MenuSeparator",PT=S.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return s.jsx(et.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});PT.displayName=xq;var yq="MenuArrow",TT=S.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=cf(n);return s.jsx(BE,{...i,...r,ref:t})});TT.displayName=yq;var vq="MenuSub",[vee,AT]=wo(vq),rc="MenuSubTrigger",_T=S.forwardRef((e,t)=>{const n=jo(rc,e.__scopeMenu),r=Zc(rc,e.__scopeMenu),i=AT(rc,e.__scopeMenu),a=f0(rc,e.__scopeMenu),l=S.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:d}=a,h={__scopeMenu:e.__scopeMenu},p=S.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return S.useEffect(()=>p,[p]),S.useEffect(()=>{const m=u.current;return()=>{window.clearTimeout(m),d(null)}},[u,d]),s.jsx(d0,{asChild:!0,...h,children:s.jsx(bT,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":MT(n.open),...e,ref:Wh(t,i.onTriggerChange),onClick:m=>{var x;(x=e.onClick)==null||x.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Re(e.onPointerMove,Pc(m=>{a.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(a.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:Re(e.onPointerLeave,Pc(m=>{var y,N;p();const x=(y=n.content)==null?void 0:y.getBoundingClientRect();if(x){const w=(N=n.content)==null?void 0:N.dataset.side,k=w==="right",b=k?-5:5,E=x[k?"left":"right"],C=x[k?"right":"left"];a.onPointerGraceIntentChange({area:[{x:m.clientX+b,y:m.clientY},{x:E,y:x.top},{x:C,y:x.top},{x:C,y:x.bottom},{x:E,y:x.bottom}],side:w}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(m),m.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:Re(e.onKeyDown,m=>{var y;const x=a.searchRef.current!=="";e.disabled||x&&m.key===" "||ZW[r.dir].includes(m.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),m.preventDefault())})})})});_T.displayName=rc;var RT="MenuSubContent",IT=S.forwardRef((e,t)=>{const n=gT(dr,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=jo(dr,e.__scopeMenu),l=Zc(dr,e.__scopeMenu),u=AT(RT,e.__scopeMenu),d=S.useRef(null),h=pt(t,d);return s.jsx(Ec.Provider,{scope:e.__scopeMenu,children:s.jsx(Ya,{present:r||a.open,children:s.jsx(Ec.Slot,{scope:e.__scopeMenu,children:s.jsx(p0,{id:u.contentId,"aria-labelledby":u.triggerId,...i,ref:h,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var m;l.isUsingKeyboardRef.current&&((m=d.current)==null||m.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:Re(e.onFocusOutside,p=>{p.target!==u.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:Re(e.onEscapeKeyDown,p=>{l.onClose(),p.preventDefault()}),onKeyDown:Re(e.onKeyDown,p=>{var y;const m=p.currentTarget.contains(p.target),x=eq[l.dir].includes(p.key);m&&x&&(a.onOpenChange(!1),(y=u.trigger)==null||y.focus(),p.preventDefault())})})})})})});IT.displayName=RT;function MT(e){return e?"open":"closed"}function Nh(e){return e==="indeterminate"}function x0(e){return Nh(e)?"indeterminate":e?"checked":"unchecked"}function bq(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function wq(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function jq(e,t,n){const i=t.length>1&&Array.from(t).every(h=>h===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let l=wq(e,Math.max(a,0));i.length===1&&(l=l.filter(h=>h!==n));const d=l.find(h=>h.toLowerCase().startsWith(i.toLowerCase()));return d!==n?d:void 0}function Nq(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,l=t.length-1;a<t.length;l=a++){const u=t[a],d=t[l],h=u.x,p=u.y,m=d.x,x=d.y;p>r!=x>r&&n<(m-h)*(r-p)/(x-p)+h&&(i=!i)}return i}function kq(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Nq(n,t)}function Pc(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Sq=mT,Cq=d0,Eq=xT,Pq=yT,Tq=m0,Aq=vT,_q=uf,Rq=wT,Iq=NT,Mq=ST,Oq=ET,Dq=PT,Lq=TT,Fq=_T,zq=IT,df="DropdownMenu",[Bq]=yi(df,[fT]),Nn=fT(),[Vq,OT]=Bq(df),DT=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:l,modal:u=!0}=e,d=Nn(t),h=S.useRef(null),[p,m]=mo({prop:i,defaultProp:a??!1,onChange:l,caller:df});return s.jsx(Vq,{scope:t,triggerId:fi(),triggerRef:h,contentId:fi(),open:p,onOpenChange:m,onOpenToggle:S.useCallback(()=>m(x=>!x),[m]),modal:u,children:s.jsx(Sq,{...d,open:p,onOpenChange:m,dir:r,modal:u,children:n})})};DT.displayName=df;var LT="DropdownMenuTrigger",FT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=OT(LT,n),l=Nn(n);return s.jsx(Cq,{asChild:!0,...l,children:s.jsx(et.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:Wh(t,a.triggerRef),onPointerDown:Re(e.onPointerDown,u=>{!r&&u.button===0&&u.ctrlKey===!1&&(a.onOpenToggle(),a.open||u.preventDefault())}),onKeyDown:Re(e.onKeyDown,u=>{r||(["Enter"," "].includes(u.key)&&a.onOpenToggle(),u.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(u.key)&&u.preventDefault())})})})});FT.displayName=LT;var Uq="DropdownMenuPortal",zT=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Nn(t);return s.jsx(Eq,{...r,...n})};zT.displayName=Uq;var BT="DropdownMenuContent",VT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=OT(BT,n),a=Nn(n),l=S.useRef(!1);return s.jsx(Pq,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:Re(e.onCloseAutoFocus,u=>{var d;l.current||(d=i.triggerRef.current)==null||d.focus(),l.current=!1,u.preventDefault()}),onInteractOutside:Re(e.onInteractOutside,u=>{const d=u.detail.originalEvent,h=d.button===0&&d.ctrlKey===!0,p=d.button===2||h;(!i.modal||p)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});
519VT.displayName=BT;var $q="DropdownMenuGroup",Hq=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Tq,{...i,...r,ref:t})});Hq.displayName=$q;var Wq="DropdownMenuLabel",UT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Aq,{...i,...r,ref:t})});UT.displayName=Wq;var qq="DropdownMenuItem",$T=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(_q,{...i,...r,ref:t})});$T.displayName=qq;var Gq="DropdownMenuCheckboxItem",HT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Rq,{...i,...r,ref:t})});HT.displayName=Gq;var Yq="DropdownMenuRadioGroup",Kq=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Iq,{...i,...r,ref:t})});Kq.displayName=Yq;var Qq="DropdownMenuRadioItem",WT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Mq,{...i,...r,ref:t})});WT.displayName=Qq;var Xq="DropdownMenuItemIndicator",qT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Oq,{...i,...r,ref:t})});qT.displayName=Xq;var Jq="DropdownMenuSeparator",GT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Dq,{...i,...r,ref:t})});GT.displayName=Jq;var Zq="DropdownMenuArrow",eG=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Lq,{...i,...r,ref:t})});eG.displayName=Zq;var tG="DropdownMenuSubTrigger",YT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(Fq,{...i,...r,ref:t})});YT.displayName=tG;var nG="DropdownMenuSubContent",KT=S.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Nn(n);return s.jsx(zq,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});KT.displayName=nG;var rG=DT,sG=FT,iG=zT,QT=VT,XT=UT,JT=$T,ZT=HT,eA=WT,tA=qT,nA=GT,rA=YT,sA=KT;const oG=rG,aG=sG,lG=S.forwardRef(({className:e,inset:t,children:n,...r},i)=>s.jsxs(rA,{ref:i,className:He("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,s.jsx(In,{className:"ml-auto"})]}));lG.displayName=rA.displayName;const cG=S.forwardRef(({className:e,...t},n)=>s.jsx(sA,{ref:n,className:He("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));cG.displayName=sA.displayName;const iA=S.forwardRef(({className:e,sideOffset:t=4,...n},r)=>s.jsx(iG,{children:s.jsx(QT,{ref:r,sideOffset:t,className:He("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));
519iA.displayName=QT.displayName;const oA=S.forwardRef(({className:e,inset:t,...n},r)=>s.jsx(JT,{ref:r,className:He("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...n}));oA.displayName=JT.displayName;const uG=S.forwardRef(({className:e,children:t,checked:n,...r},i)=>s.jsxs(ZT,{ref:i,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(tA,{children:s.jsx(Wk,{className:"h-4 w-4"})})}),t]}));uG.displayName=ZT.displayName;const dG=S.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(eA,{ref:r,className:He("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(tA,{children:s.jsx(J4,{className:"h-2 w-2 fill-current"})})}),t]}));dG.displayName=eA.displayName;const hG=S.forwardRef(({className:e,inset:t,...n},r)=>s.jsx(XT,{ref:r,className:He("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));hG.displayName=XT.displayName;const fG=S.forwardRef(({className:e,...t},n)=>s.jsx(nA,{ref:n,className:He("-mx-1 my-1 h-px bg-muted",e),...t}));fG.displayName=nA.displayName;function pG({children:e,currentPageName:t}){const[n,r]=S.useState(!1),[i,a]=S.useState(!1),[l,u]=S.useState(""),d=Zr(),h=Rh(),p=t==="Home"?"/":xt(t),m=[{name:"Solutions",href:"#solutions"},{name:"Pricing",href:xt("Pricing")},{name:"Resources",isDropdown:!0,items:[{name:"For PMCs",href:xt("PropertyManagementCompanies")},{name:"For Co-Hosts",href:xt("AirbnbCoHosts")}]},{name:"About",href:"#about"}],x=[{name:"Privacy Policy",href:xt("PrivacyPolicy")},{name:"Terms of Service",href:xt("TermsOfService")}];S.useEffect(()=>{const k=()=>{const E=document.createElement("script");E.async=!0,E.src="https://www.googletagmanager.com/gtag/js?id=G-6688FE6NEV",document.head.appendChild(E);const C=document.createElement("script");C.innerHTML=`
520        
vendor: 151 bytes, lines 520-523
520window.dataLayer = window.dataLayer || [];
521        function gtag(){dataLayer.push(arguments);}
522        gtag('js', new Date());
523        gtag('config', '
523G-6688FE6NEV
vendor: 100 bytes, lines 523-527
523', {
524          'link_attribution': false,
525          'allow_google_signals': false
526        });
527      
527`,document.head.appendChild(C)},b=()=>{"requestIdleCallback"in window?requestIdleCallback(k,{timeout:3e3}):setTimeout(k,3e3)};if(document.readyState==="complete")b();else return window.addEventListener("load",b),()=>window.removeEventListener("load",b)},[]),S.useEffect(()=>{let k=!1;const b=()=>{k||(window.requestAnimationFrame(()=>{r(window.scrollY>20),window.scrollY<200&&u(""),k=!1}),k=!0)};window.addEventListener("scroll",b,{passive:!0});const E=new IntersectionObserver(T=>{T.forEach(I=>{I.isIntersecting&&u(`#${I.target.id}`)})},{rootMargin:"-30% 0px -70% 0px"}),C=document.querySelectorAll("section[id]");return C.forEach(T=>E.observe(T)),d.hash&&(u(d.hash),setTimeout(()=>{const T=document.querySelector(d.hash);T&&T.scrollIntoView({behavior:"smooth"})},100)),()=>{window.removeEventListener("scroll",b),C.forEach(T=>E.unobserve(T))}},[d.hash,d.pathname]),S.useEffect(()=>{window.scrollTo(0,0)},[d.pathname]),S.useEffect(()=>{const k=Object.keys(aA),b=d.pathname.split("/").filter(Boolean),E=b.length>0?b[0]:"",C=b.length===0?"Home":k.find(T=>T.toLowerCase()===E.toLowerCase());if(C){const T=C==="Home"?"https://clyn.com":`https://clyn.com/${C}`;let I=document.querySelector('link[rel="canonical"]');I||(I=document.createElement("link"),I.setAttribute("rel","canonical"),document.head.appendChild(I)
527),I.setAttribute("href",T)}if(!(b.length===0||!C||b.length>1)){if(C==="Home"){h("/"+d.search+d.hash,{replace:!0});return}E!==C&&h("/"+C+d.search+d.hash,{replace:!0})}},[d.pathname,d.search,d.hash,h]);const y=(k,b)=>{var E;if(k.preventDefault(),w(),b.startsWith("/")){h(b);return}d.pathname!=="/"?h(b==="#pricing"?"/Pricing":"/"+b):((E=document.querySelector(b))==null||E.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"",b),u(b))},N=()=>a(!i),w=()=>a(!1);return s.jsxs(s.Fragment,{children:[s.jsx("a",{href:"#main",className:"sr-only focus:not-sr-only focus:absolute focus:top-2 focus:left-2 focus:z-50 focus:bg-blue-600 focus:text-white focus:px-4 focus:py-2 focus:rounded",children:"Skip to main content"}),s.jsxs("div",{className:"min-h-screen bg-white",children:[s.jsxs("head",{children:[s.jsx("link",{rel:"preconnect",href:"https://qtrypzzcjebvfcihiynt.supabase.co",crossOrigin:"anonymous"}),s.jsx("link",{rel:"dns-prefetch",href:"https://qtrypzzcjebvfcihiynt.supabase.co"}),s.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Clyn",url:"https://clyn.com",logo:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/render/image/public/base44-prod/public/d06de2483_Clyn42logo.png",description:"Clyn is a B2B AI computer vision platform that guides, trains, and verifies cleaning operations across hotels, short term rentals, offices, restaurants, gyms, and healthcare facilities."})})]}),s.jsx("style",{children:`
528        html {
529          scroll-behavior: smooth;
530          scroll-padding-top: 130px;
531        }
532      `}),s.jsx("div",{className:"fixed top-0 left-0 right-0 z-50 bg-gradient-to-r from-blue-600 to-teal-500 text-white py-2.5 px-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto flex items-center justify-center gap-3 text-sm md:text-base",children:[s.jsxs("span",{className:"whitespace-nowrap",children:[s.jsx("span",{className:"font-semibold",children:"🎉 Clyn v4.3 is Live!"}),s.jsx("span",{className:"hidden md:inline",children:" | AI-powered QA reporting, PMS integrations, and cleaner workflows."})]}),s.jsx($e,{to:xt("ClynV43Launch"),className:"flex items-center gap-1 font-semibold underline whitespace-nowrap hover:opacity-90 transition-opacity",children:"Learn More"})]})}),s.jsx(q.header,{role:"banner",className:`fixed top-10 left-0 right-0 z-40 ${n?"bg-white/95 backdrop-blur-md shadow-lg border-b border-gray-100":"bg-white/80 backdrop-blur-sm"}`,children:s.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:s.jsxs("div",{className:"flex items-center justify-between h-20",children:[s.jsxs($e,{to:"/",onClick:k=>{d.pathname==="/"&&(k.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))},className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/e3ccd8a80_Clyn42logo.png",alt:"",role:"presentation",width:"32",height:"32",loading:"eager",className:"w-8 h-8 rounded-lg"}),s.jsx("span",{className:"text-2xl font-bold text-gray-900","aria-label":"Clyn homepage",children:"Clyn"})]}),s.jsx("nav",{className:"hidden lg:flex items-center space-x-8","aria-label":"Main navigation",children:m.map(k=>k.isDropdown?s.jsxs(oG,{children:[s.jsx(aG,{asChild:!0,children:s.jsxs(Se,{variant:"ghost",className:"relative text-gray-700 hover:text-gray-900 font-medium transition-colors duration-200 py-2 focus:bg-transparent",children:[k.name,s.jsx(Lc,{className:"w-4 h-4 ml-1"})]})}),s.jsx(iA,{children:k.items.map(b=>s.jsx(oA,{asChild:!0,children:s.jsx($e,{to:b.href,children:b.name})},b.name))})]},k.name):s.jsxs("a",{href:k.href,onClick:b=>{k.href.startsWith("/")?(b.preventDefault(),h(k.href)):y(b,k.href)},className:`relative text-gray-700 hover:text-gray-900 font-medium transition-colors duration-200 py-2 ${l===k.href||p===k.href?"text-blue-600":""}`,children:[k.name,(l===k.href||p===k.href)&&s.jsx(q.div,{layoutId:"activeLink",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-blue-600"})]},k.name))}),s.jsx("div",{className:"hidden lg:flex items-center gap-2",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 font-semibold shadow-md hover:shadow-lg transition-all duration-300",onClick:()=>{try{Hn.analytics.track({eventName:"header_get_early_access_clicked"}).catch(()=>{})}catch{}},children:"Start free"})})}),s.jsx(Se,{variant:"ghost",size:"icon",onClick:N,className:"lg:hidden","aria-label":i?"Close menu":"Open menu","aria-expanded":i,children:i?s.jsx(eh,{className:"w-6 h-6"}):s.jsx(N6,{className:"w-6 h-6"})})]})})}),s.jsx(zh,{children:i&&s.jsxs(s.Fragment,{children:[s.jsx(q.div,{initial:{opacity:0}
532,animate:{opacity:1},exit:{opacity:0},onClick:w,className:"fixed inset-0 bg-black/50 z-40 lg:hidden"}),s.jsx(q.div,{initial:{x:"100%"},animate:{x:"0%"},exit:{x:"100%"},transition:{type:"tween",duration:.3},className:"fixed top-0 right-0 h-full w-80 bg-white shadow-2xl z-50 lg:hidden",children:s.jsxs("div",{className:"flex flex-col h-full",children:[s.jsxs("div",{className:"flex items-center justify-between p-6 border-b border-gray-100",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/e3ccd8a80_Clyn42logo.png",alt:"",role:"presentation",width:"32",height:"32",loading:"lazy",className:"w-8 h-8 rounded-lg"}),s.jsx("span",{className:"text-xl font-bold text-gray-900","aria-label":"Clyn",children:"Clyn"})]}),s.jsx(Se,{variant:"ghost",size:"icon",onClick:w,"aria-label":"Close menu",children:s.jsx(eh,{className:"w-6 h-6"})})]}),s.jsx("div",{className:"flex-1 py-6 overflow-y-auto",children:s.jsxs("nav",{className:"space-y-1","aria-label":"Mobile navigation",children:[m.map(k=>k.isDropdown?s.jsxs("div",{className:"px-6 py-2",children:[s.jsx("span",{className:"font-medium text-gray-500",children:k.name}),s.jsx("div",{className:"mt-2 space-y-1",children:k.items.map(b=>s.jsxs($e,{to:b.href,onClick:w,className:"flex items-center justify-between pl-4 pr-2 py-3 text-gray-700 hover:text-blue-600 hover:bg-blue-50 transition-colors duration-200 rounded-md",children:[s.jsx("span",{className:"font-medium",children:b.name}),s.jsx(In,{className:"w-4 h-4"})]},b.name))})]},k.name):s.jsxs("a",{href:k.href,onClick:b=>{k.href.startsWith("/")?(b.preventDefault(),h(k.href),w()):y(b,k.href)},className:`flex items-center justify-between px-6 py-4 text-gray-700 hover:text-blue-600 hover:bg-blue-50 transition-colors duration-200 ${l===k.href||p===k.href?"text-blue-600 bg-blue-50":""}`,children:[s.jsx("span",{className:"font-medium",children:k.name}),s.jsx(In,{className:"w-4 h-4"})]},k.name)),s.jsx("div",{className:"my-4 border-t border-gray-100"}),x.map(k=>s.jsxs($e,{to:k.href,onClick:w,className:"flex items-center justify-between px-6 py-4 text-gray-700 hover:text-blue-600 hover:bg-blue-50 transition-colors duration-200",children:[s.jsx("span",{className:"font-medium",children:k.name}),s.jsx(In,{className:"w-4 h-4"})]},k.name))]})}),s.jsx("div",{className:"p-6 border-t border-gray-100 space-y-3",children:s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold shadow-md hover:shadow-lg transition-all duration-300",onClick:()=>{try{Hn.analytics.track({eventName:"mobile_menu_get_early_access_clicked"}).catch(()=>{})}catch{}},children:"Start free"})})})]})})]})}),s.jsx("main",{id:"main",className:"pt-[120px]",role:"main",children:e}),s.jsx("footer",{className:"bg-gray-900 text-white py-16",role:"contentinfo",children:s.jsxs("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:[s.jsxs("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/e3ccd8a80_Clyn42logo.png",alt:"",role:"presentation",width:"32",height:"32",loading:"lazy",className:"w-8 h-8 rounded-lg"}),s.jsx("span",{className:"text-xl font-bold","aria-label":"Clyn",children:"Clyn"})]}),s.jsx("p",{className:"text-gray-400 text-sm leading-relaxed",children:"AI-powered property management platform for vacation rentals and short-term properties."})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h3",{className:"text-lg font-semibold",children:"Product"}),s.jsxs("ul",{className:"space-y-3 text-sm text-gray-400",children:[s.jsx("li",{children:s.jsx("a",{href:"#solutions",onClick:k=>y(k,"#solutions"),className:"hover:text-white transition-colors",children:"AI Inspections & Auto-Restock"})}),s.jsx("li",{children:s.jsx($e,{to:xt("Pricing"),className:"hover:text-white transition-colors",children:"Pricing"})}),s.jsx("li",{children:s.jsx($e,{to:xt("Docs"),className:"hover:text-white transition-colors",children:"Tutorials"})}),s.jsx("li",{children:s.jsx($e,{to:xt("Developers"),className:"hover:text-white transition-colors",children:"API Documentation"})}),s.jsx("li",{children:s.jsx($e,{to:xt("ProductRoadmapProgress"),className:"hover:text-white transition-colors",children:"Product Roadmap"})}),s.jsx("li",{children:s.jsx($e,{to:xt("ReleaseNotes"),className:"hover:text-white transition-colors",children:"Release Notes"})})]})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h3",{className:"text-lg font-semibold",children:"Resources"}),s.jsxs("ul",{className:"space-y-3 text-sm text-gray-400",children:[s.jsx("li",{children:s.jsx($e,{to:xt("AirbnbCoHosts"),className:"hover:text-white transition-colors",children:"For Co-Hosts"})}),s.jsx("li",{children:s.jsx($e,{to:xt("Blog"),className:"hover:text-white transition-colors",children:"Blog"})}),s.jsx("li",{children:s.jsx("a",{href:"https://chat.whatsapp.com/Hx9DgWPdiHjCqAW1GTWC5f",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Host community"})}),s.jsx("li",{children:s.jsx("a",{href:"https://calendly.com/clyn",target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:"Contact"})})]})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("h3",{className:"text-lg font-semibold",children:"Legal"}),s.jsxs("ul",{className:"space-y-3 text-sm text-gray-400",children:[s.jsx("li",{children:s.jsx($e,{to:xt("PrivacyPolicy"),className:"hover:text-white transition-colors",children:"Privacy Policy"})}),s.jsx("li",{children:s.jsx($e,{to:xt("TermsOfService"),className:"hover:text-white transition-colors",children:"Terms of Service"})}),s.jsx("li",{children:s.jsx($e,{to:xt("CookiePolicy"),className:"hover:text-white transition-colors",children:"Cookie Policy"})})]})]})]}),s.jsx("div",{className:"mt-12 pt-8 border-t border-gray-800 flex flex-col md:flex-row items-center justify-between",children:s.jsx("p",{className:"text-gray-400 text-sm",children:"© 2026 Clyn Technologies Inc. All rights reserved."})})]})})]})]})}const aA={AirbnbCoHosts:HV,Blog:eU,ClioAI:nU,ClynV43Launch:sU,ContentGenerator:wH,CookiePolicy:jH,DesignPartnerProgram:NH,Developers:kH,Docs:CH,Home:JH,MTRPilotProgram:tW,Pricing:kW,PrivacyPolicy:SW,ProductRoadmapProgress:CW,PropertyManagementCompanies:EW,ReleaseNotes:PW,Reviews:TW,ServiceProviders:AW,SoloHosts:_W,Solutions:DW,TermsOfService:LW,VrboPropertyManagers:FW},lA={mainPage:"Home",Pages:aA,Layout:pG};function mG(){const e=Zr(),{isAuthenticated:t}=RC(),{Pages:n,mainPage:r}=lA,i=r;return S.useEffect(()=>{var a;(a=window.parent)==null||a.postMessage({type:"app_changed_url",url:window.location.href},"*")},[e]),S.useEffect(()=>{const a=e.pathname;let l;if(a==="/"||a==="")l=i;else{const u=a.replace(/^\//,"").split("/")[0];l=Object.keys(n).find(p=>p.toLowerCase()===u.toLowerCase())||null}t&&l&&Hn.appLogs.logUserInApp(l).catch(()=>{})},[e,t,n,i]),null}function cA({}){var i;const t=Zr().pathname.substring(1),{data:n,isFetched:r}=IM({queryKey:["user"],queryFn:async()=>{try{return{user:await Hn.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return s.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:s.jsx("div",{className:"max-w-md w-full",children:s.jsxs("div",{className:"text-center space-y-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),s.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),s.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",s.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),r&&n.isAuthenticated&&((i=n.user)==null?void 0:i.role)==="admin"&&s.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:s.jsxs("div",{className:"flex items-start space-x-3",children:[s.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:s.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),s.jsxs("div",{className:"text-left space-y-1",children:[s.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),s.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),s.jsx("div",{className:"pt-6",children:s.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[s.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const gG=()=>s.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:s.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:s.jsxs("div",{className:"text-center",children:[s.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:s.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),s.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),s.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),s.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[s.jsx("p",{children:"If you believe this is an error, you can:"}),s.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[s.jsx("li",{children:"Verify you are logged in with the correct account"}),s.jsx("li",{children:"Contact the app administrator for access"}),s.jsx("li",{children:"Try logging out and back in again"})]})]})]})})});function xG(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const yG=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vG=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bG={};function zN(e,t){return(bG.jsx?vG:yG).test(e)}const wG=/[ \t\n\f\r]/g;function jG(e){return typeof e=="object"?e.type==="text"?BN(e.value):!1:BN(e)}function BN(e){return e.replace(wG,"")===""}class eu{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}eu.prototype.normal={};eu.prototype.property={};eu.prototype.space=void 0;function uA(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new eu(n,r,t)}function kx(e){return e.toLowerCase()}class On{constructor(t,n){this.attribute=n,this.property=t}}On.prototype.attribute="";On.prototype.booleanish=!1;On.prototype.boolean=!1;On.prototype.commaOrSpaceSeparated=!1;On.prototype.commaSeparated=!1;On.prototype.defined=!1;On.prototype.mustUseProperty=!1;On.prototype.number=!1;On.prototype.overloadedBoolean=!1;On.prototype.property="";On.prototype.spaceSeparated=!1;On.prototype.space=void 0;let NG=0;const We=No(),Ot=No(),Sx=No(),ue=No(),ft=No(),pa=No(),Un=No();function No(){return 2**++NG}const Cx=Object.freeze(Object.defineProperty({__proto__:null,boolean:We,booleanish:Ot,commaOrSpaceSeparated:Un,commaSeparated:pa,number:ue,overloadedBoolean:Sx,spaceSeparated:ft},Symbol.toStringTag,{value:"Module"})),Qm=Object.keys(Cx);class y0 extends On{constructor(t,n,r,i){let a=-1;if(super(t,n),VN(this,"space",i),typeof r=="number")for(;++a<Qm.length;){const l=Qm[a];VN(this,Qm[a],(r&Cx[l])===Cx[l])}}}y0.prototype.defined=!0;function VN(e,t,n){n&&(e[t]=n)}function Ka(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const a=new y0(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[kx(r)]=r,n[kx(a.attribute)]=r}return new eu(t,n,e.space)}const dA=Ka({properties:{ariaActiveDescendant:null,ariaAtomic:Ot,ariaAutoComplete:null,ariaBusy:Ot,ariaChecked:Ot,ariaColCount:ue,ariaColIndex:ue,ariaColSpan:ue,ariaControl
vendor: 4,632 bytes, line 532
532s:ft,ariaCurrent:null,ariaDescribedBy:ft,ariaDetails:null,ariaDisabled:Ot,ariaDropEffect:ft,ariaErrorMessage:null,ariaExpanded:Ot,ariaFlowTo:ft,ariaGrabbed:Ot,ariaHasPopup:null,ariaHidden:Ot,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ft,ariaLevel:ue,ariaLive:null,ariaModal:Ot,ariaMultiLine:Ot,ariaMultiSelectable:Ot,ariaOrientation:null,ariaOwns:ft,ariaPlaceholder:null,ariaPosInSet:ue,ariaPressed:Ot,ariaReadOnly:Ot,ariaRelevant:null,ariaRequired:Ot,ariaRoleDescription:ft,ariaRowCount:ue,ariaRowIndex:ue,ariaRowSpan:ue,ariaSelected:Ot,ariaSetSize:ue,ariaSort:null,ariaValueMax:ue,ariaValueMin:ue,ariaValueNow:ue,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function hA(e,t){return t in e?e[t]:t}function fA(e,t){return hA(e,t.toLowerCase())}const kG=Ka({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pa,acceptCharset:ft,accessKey:ft,action:null,allow:null,allowFullScreen:We,allowPaymentRequest:We,allowUserMedia:We,alt:null,as:null,async:We,autoCapitalize:null,autoComplete:ft,autoFocus:We,autoPlay:We,blocking:ft,capture:null,charSet:null,checked:We,cite:null,className:ft,cols:ue,colSpan:null,content:null,contentEditable:Ot,controls:We,controlsList:ft,coords:ue|pa,crossOrigin:null,data:null,dateTime:null,decoding:null,default:We,defer:We,dir:null,dirName:null,disabled:We,download:Sx,draggable:Ot,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:We,formTarget:null,headers:ft,height:ue,hidden:Sx,high:ue,href:null,hrefLang:null,htmlFor:ft,httpEquiv:ft,id:null,imageSizes:null,imageSrcSet:null,inert:We,inputMode:null,integrity:null,is:null,isMap:We,itemId:null,itemProp:ft,itemRef:ft,itemScope:We,itemType:ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:We,low:ue,manifest:null,max:null,maxLength:ue,media:null,method:null,min:null,minLength:ue,multiple:We,muted:We,name:null,nonce:null,noModule:We,noValidate:We,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:We,optimum:ue,pattern:null,ping:ft,placeholder:null,playsInline:We,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:We,referrerPolicy:null,rel:ft,required:We,reversed:We,rows:ue,rowSpan:ue,sandbox:ft,scope:null,scoped:We,seamless:We,selected:We,shadowRootClonable:We,shadowRootDelegatesFocus:We,shadowRootMode:null,shape:null,size:ue,sizes:null,slot:null,span:ue,spellCheck:Ot,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ue,step:null,style:null,tabIndex:ue,target:null,title:null,translate:null,type:null,typeMustMatch:We,useMap:null,value:Ot,width:ue,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ft,axis:null,background:null,bgColor:null,border:ue,borderColor:null,bottomMargin:ue,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:We,declare:We,event:null,face:null,frame:null,frameBorder:null,hSpace:ue,leftMargin:ue,link:null,longDesc:null,lowSrc:null,marginHeight:ue,marginWidth:ue,noResize:We,
532noHref:We,noShade:We,noWrap:We,object:null,profile:null,prompt:null,rev:null,rightMargin:ue,rules:null,scheme:null,scrolling:Ot,standby:null,summary:null,text:null,topMargin:ue,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ue,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:We,disableRemotePlayback:We,prefix:null,property:null,results:ue,security:null,unselectable:null},space:"html",transform:fA}),SG=Ka({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
532-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Un,accentHeight:ue,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ue,amplitude:ue,arabicForm:null,ascent:ue,attributeName:null,attributeType:null,azimuth:ue,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ue,by:null,calcMode:null,capHeight:ue,className:ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ue,diffuseConstant:ue,direction:null,display:null,dur:null,divisor:ue,dominantBaseline:null,download:We,dx:null,dy:null,edgeMode:null,editable:null,elevation:ue,enableBackground:null,end:null,event:null,exponent:ue,externalResourcesRequired:null,fill:null,fillOpacity:ue,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pa,g2:pa,glyphName:pa,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ue,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ue,horizOriginX:ue,horizOriginY:ue,id:null,ideographic:ue,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ue,k:ue,k1:ue,k2:ue,k3:ue,k4:ue,kernelMatrix:Un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ue,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ue,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 5,744 bytes, lines 532-533
532Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ue,overlineThickness:ue,paintOrder:null,panose1:null,path:null,pathLength:ue,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ue,pointsAtY:ue,pointsAtZ:ue,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Un,rev:Un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Un,requiredFeatures:Un,requiredFonts:Un,requiredFormats:Un,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ue,specularExponent:ue,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ue,strikethroughThickness:ue,string:null,stroke:null,strokeDashArray:Un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ue,strokeOpacity:ue,strokeWidth:null,style:null,surfaceScale:ue,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Un,tabIndex:ue,tableValues:null,target:null,targetX:ue,targetY:ue,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Un,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ue,underlineThickness:ue,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ue,values:null,vAlphabetic:ue,vMathematical:ue,vectorEffect:null,vHanging:ue,vIdeographic:ue,version:null,vertAdvY:ue,vertOriginX:ue,vertOriginY:ue,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ue,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hA}),pA=Ka({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),mA=Ka({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:fA}),gA=Ka({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),CG={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},EG=/[A-Z]/g,UN=/-[a-z]/g,PG=/^data[-\w.:]+$/i;function TG(e,t){const n=kx(t);let r=t,i=On;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&PG.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(UN,_G);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!UN.test(a)){let l=a.replace(EG,AG);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=y0}return new i(r,t)}function AG(e){return"-"+e.toLowerCase()}function _G(e){return e.charAt(1).toUpperCase()}const RG=uA([dA,kG,pA,mA,gA],"html"),v0=uA([dA,SG,pA,mA,gA],"svg");function IG(e){return e.join(" ").trim()}var ta={},Xm,$N;function MG(){if($N)return Xm;$N=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,d=`
533`,h="/",p="*",m="",x="comment",y="declaration";Xm=function(w,k){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];k=k||{};var b=1,E=1;function C(Q){var Z=Q.match(t);Z&&(b+=Z.length);var te=Q.lastIndexOf(d);E=~te?Q.length-te:E+Q.length}function T(){var Q={line:b,column:E};return function(Z){return Z.position=new I(Q),O(),Z}}function I(Q){this.start=Q,this.end={line:b,column:E},this.source=k.source}I.prototype.content=w;function _(Q){var Z=new Error(k.source+":"+b+":"+E+": "+Q);if(Z.reason=Q,Z.filename=k.source,Z.line=b,Z.column=E,Z.source=w,!k.silent)throw Z}function V(Q){var Z=Q.exec(w);if(Z){var te=Z[0];return C(te),w=w.slice(te.length),Z}}function O(){V(n)}function W(Q){var Z;for(Q=Q||[];Z=R();)Z!==!1&&Q.push(Z);return Q}function R(){var Q=T();if(!(h!=w.charAt(0)||p!=w.charAt(1))){for(var Z=2;m!=w.charAt(Z)&&(p!=w.charAt(Z)||h!=w.charAt(Z+1));)++Z;if(Z+=2,m===w.charAt(Z-1))return _("End of comment missing");var te=w.slice(2,Z-2);return E+=2,C(te),w=w.slice(Z),E+=2,Q({type:x,comment:te})}}function G(){var Q=T(),Z=V(r);if(Z){if(R(),!V(i))return _("property missing ':'");var te=V(a),se=Q({type:y,property:N(Z[0].replace(e,m)),value:te?N(te[0].replace(e,m)):m});return V(l),se}}function B(){var Q=[];W(Q);for(var Z;Z=G();)Z!==!1&&(Q.push(Z),W(Q));return Q}return O(),B()};function N(w){return w?w.replace(u,m):m}return Xm}var HN;function OG(){if(HN)return ta;HN=1;var e=ta&&ta.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ta,"__esModule",{value:!0}),ta.default=n;var t=e(MG());function n(r,i){var a=null;if(!r||typeof r!="string")return a;var l=(0,t.default)(r),u=typeof i=="function";return l.forEach(function(d){if(d.type==="declaration"){var h=d.property,p=d.value;u?i(h,p,d):p&&(a=a||{},a[h]=p)}}),a}return ta}var Ul={},WN;function DG(){if(WN)return Ul;
vendor: 3,355 bytes, line 533
533WN=1,Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(h){return!h||n.test(h)||e.test(h)},l=function(h,p){return p.toUpperCase()},u=function(h,p){return"".concat(p,"-")},d=function(h,p){return p===void 0&&(p={}),a(h)?h:(h=h.toLowerCase(),p.reactCompat?h=h.replace(i,u):h=h.replace(r,u),h.replace(t,l))};return Ul.camelCase=d,Ul}var $l,qN;function LG(){if(qN)return $l;qN=1;var e=$l&&$l.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(OG()),n=DG();function r(i,a){var l={};return!i||typeof i!="string"||(0,t.default)(i,function(u,d){u&&d&&(l[(0,n.camelCase)(u,a)]=d)}),l}return r.default=r,$l=r,$l}var FG=LG();const zG=Dc(FG),xA=yA("end"),b0=yA("start");function yA(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function BG(e){const t=b0(e),n=xA(e);if(t&&n)return{start:t,end:n}}function uc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?GN(e.position):"start"in e||"end"in e?GN(e):"line"in e||"column"in e?Ex(e):""}function Ex(e){return YN(e&&e.line)+":"+YN(e&&e.column)}function GN(e){return Ex(e&&e.start)+"-"+Ex(e&&e.end)}function YN(e){return e&&typeof e=="number"?e:1}class mn extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},l=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const d=r.indexOf(":");d===-1?a.ruleId=r:(a.source=r.slice(0,d),a.ruleId=r.slice(d+1))}if(!a.place&&a.ancestors&&a.ancestors){const d=a.ancestors[a.ancestors.length-1];d&&(a.place=d.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=uc(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}mn.prototype.file="";mn.prototype.name="";mn.prototype.reason="";mn.prototype.message="";mn.prototype.stack="";mn.prototype.column=void 0;mn.prototype.line=void 0;mn.prototype.ancestors=void 0;mn.prototype.cause=void 0;mn.prototype.fatal=void 0;mn.prototype.place=void 0;mn.prototype.ruleId=void 0;mn.prototype.source=void 0;const w0={}.hasOwnProperty,VG=new Map,UG=/[A-Z]/g,$G=new Set(["table","tbody","thead","tfoot","tr"]),HG=new Set(["td","th"]),vA="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function WG(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=ZG(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 533
533if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=JG(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?v0:RG,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=bA(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function bA(e,t,n){if(t.type==="element")return qG(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return GG(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return KG(e,t,n);if(t.type==="mdxjsEsm")return YG(e,t);if(t.type==="root")return QG(e,t,n);if(t.type==="text")return XG(e,t)}function qG(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=v0,e.schema=i),e.ancestors.push(t);const a=jA(e,t.tagName,!1),l=eY(e,t);let u=N0(e,t);return $G.has(t.tagName)&&(u=u.filter(function(d){return typeof d=="string"?!jG(d):!0})),wA(e,l,a,t),j0(l,u),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function GG(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Tc(e,t.position)}function YG(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Tc(e,t.position)}function KG(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=v0,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:jA(e,t.name,!0),l=tY(e,t),u=N0(e,t);return wA(e,l,a,t),j0(l,u),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function QG(e,t,n){const r={};return j0(r,N0(e,t)),e.create(t,e.Fragment,r,n)}function XG(e,t){return t.value}function wA(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function j0(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function JG(e,t,n){return r;function r(i,a,l,u){const h=Array.isArray(l.children)?n:t;return u?h(a,l,u):h(a,l)}}function ZG(e,t){return n;function n(r,i,a,l){const u=Array.isArray(a.children),d=b0(r);return t(i,a,l,u,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function eY(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&w0.call(t.properties,i)){const a=nY(e,i,t.properties[i]);if(a){const[l,u]=a;e.tableCellAlignToStyle&&l==="align"&&typeof u=="string"&&HG.has(t.tagName)?r=u:n[l]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function tY(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const l=a.expression;l.type;const u=l.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else Tc(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else Tc(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function N0(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:VG;for(;++r<t.children.length;){const a=t.children[r];let l;if(e.passKeys){const d=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(d){const h=i.get(d)||0;l=d+"-"+h,i.set(d,h+1)}}const u=bA(e,a,l);u!==void 0&&n.push(u)}return n}function nY(e,t,n){const r=TG(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?xG(n):IG(n)),r.property==="style"){let i=typeof n=="object"?n:rY(e,String(n));return e.stylePropertyNameCase==="css"&&(i=sY(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?CG[r.property]||r.property:r.attribute,n]}}function rY(e,t){try{return zG(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new mn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=vA+"#cannot-parse-style-attribute",i}}function jA(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const u=zN(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:u,computed:!!(a&&u.type==="Literal"),optional:!1}:u}r=l}else r=zN(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return w0.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Tc(e)}function Tc(e,t){const n=new mn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=vA+"#cannot-handle-mdx-estrees-without-createevaluater",n}function sY(e){const t={};let n;for(n in e)w0.call(e,n)&&(t[iY(n)]=e[n]);return t}function iY(e){let t=e.replace(UG,oY);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function oY(e){return"-"+e.toLowerCase()}const Jm={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},aY={};function k0(e,t){const n=aY,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return NA(e,r,i)}function NA(e,t,n){if(lY(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return KN(e.children,t,n)}return Array.isArray(e)?KN(e,t,n):""}function KN(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=NA(e[i],t,n);return r.join("")}function lY(e){return!!(e&&typeof e=="object")}const QN=document.createElement("i");function S0(e){const t="&"+e+";";QN.innerHTML=t;const n=QN.textContent;
vendor: 13,024 bytes, line 533
533return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Gn(e,t,n,r){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);a<r.length;)l=r.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function cr(e,t){return e.length>0?(Gn(e,e.length,0,t),e):t}const XN={}.hasOwnProperty;function kA(e){const t={};let n=-1;for(;++n<e.length;)cY(t,e[n]);return t}function cY(e,t){let n;for(n in t){const i=(XN.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let l;if(a)for(l in a){XN.call(i,l)||(i[l]=[]);const u=a[l];uY(i[l],Array.isArray(u)?u:u?[u]:[])}}}function uY(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Gn(e,0,0,r)}function SA(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Er(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const jn=wi(/[A-Za-z]/),fn=wi(/[\dA-Za-z]/),dY=wi(/[#-'*+\--9=?A-Z^-~]/);function kh(e){return e!==null&&(e<32||e===127)}const Px=wi(/\d/),hY=wi(/[\dA-Fa-f]/),fY=wi(/[!-/:-@[-`{-~]/);function Oe(e){return e!==null&&e<-2}function ct(e){return e!==null&&(e<0||e===32)}function Qe(e){return e===-2||e===-1||e===32}const hf=wi(new RegExp("\\p{P}|\\p{S}","u")),yo=wi(/\s/);function wi(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Qa(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let l="";if(a===37&&fn(e.charCodeAt(n+1))&&fn(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(l=String.fromCharCode(a,u),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ze(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(d){return Qe(d)?(e.enter(n),u(d)):t(d)}function u(d){return Qe(d)&&a++<i?(e.consume(d),u):(e.exit(n),t(d))}}const pY={tokenize:mY};function mY(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Ze(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),a(u)}function a(u){const d=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=d),n=d,l(u)}function l(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Oe(u)?(e.consume(u),e.exit("chunkText"),a):(e.consume(u),l)}}const gY={tokenize:xY},JN={tokenize:yY};function xY(e){const t=this,n=[];let r=0,i,a,l;return u;function u(C){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,d,h)(C)}return h(C)}function d(C){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const T=t.events.length;let I=T,_;for(;I--;)if(t.events[I][0]==="exit"&&t.events[I][1].type==="chunkFlow"){_=t.events[I][1].end;break}b(r);let V=T;for(;V<t.events.length;)t.events[V][1].end={..._},V++;return Gn(t.events,I+1,0,t.events.slice(T)),t.events.length=V,h(C)}return u(C)}function h(C){if(r===n.length){if(!i)return x(C);if(i.currentConstruct&&i.currentConstruct.concrete)return N(C);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(JN,p,m)(C)}function p(C){return i&&E(),b(r),x(C)}function m(C){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,N(C)}function x(C){return t.containerState={},e.attempt(JN,y,N)(C)}function y(C){return r++,n.push([t.currentConstruct,t.containerState]),x(C)}function N(C){if(C===null){i&&E(),b(0),e.consume(C);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),w(C)}function w(C){if(C===null){k(e.exit("chunkFlow"),!0),b(0),e.consume(C);return}return Oe(C)?(e.consume(C),k(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(C),w)}function k(C,T){const I=t.sliceStream(C);if(T&&I.push(null),C.previous=a,a&&(a.next=C),a=C,i.defineSkip(C.start),i.write(I),t.parser.lazy[C.start.line]){let _=i.events.length;for(;_--;)if(i.events[_][1].start.offset<l&&(!i.events[_][1].end||i.events[_][1].end.offset>l))return;const V=t.events.length;let O=V,W,R;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(W){R=t.events[O][1].end;break}W=!0}for(b(r),_=V;_<t.events.length;)t.events[_][1].end={...R},_++;Gn(t.events,O+1,0,t.events.slice(V)),t.events.length=_}}function b(C){let T=n.length;for(;T-- >C;){const I=n[T];t.containerState=I[1],I[0].exit.call(t,e)}n.length=C}function E(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function yY(e,t,n){return Ze(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Oa(e){if(e===null||ct(e)||yo(e))return 1;if(hf(e))return 2}function ff(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Tx={name:"attention",resolveAll:vY,tokenize:bY};function vY(e,t){let n=-1,r,i,a,l,u,d,h,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;d=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const m={...e[r][1].end},x={...e[n][1].start};ZN(m,-d),ZN(x,d),l={type:d>1?"strongSequence":"emphasisSequence",start:m,end:{...e[r][1].end}},u={type:d>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:x},a={type:d>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:d>1?"strong":"emphasis",start:{...l.start},end:{...u.end}},e[r][1].end={...l.start},e[n][1].start={...u.end},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=cr(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=cr(h,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),h=cr(h,ff(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=cr(h,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,h=cr(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Gn(e,r-1,n-r+3,h),n=r+h.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function bY(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Oa(r);let a;return l;function l(d){return a=d,e.enter("attentionSequence"),u(d)}function u(d){if(d===a)return e.consume(d),u;const h=e.exit("attentionSequence"),p=Oa(d),m=!p||p===2&&i||n.includes(d),x=!i||i===2&&p||n.includes(r);return h._open=!!(a===42?m:m&&(i||!x)),h._close=!!(a===42?x:x&&(p||!m)),t(d)}}function ZN(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const wY={name:"autolink",tokenize:jY};function jY(e,t,n){let r=0;return i;function i(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(y){return jn(y)?(e.consume(y),l):y===64?n(y):h(y)}function l(y){return y===43||y===45||y===46||fn(y)?(r=1,u(y)):h(y)}function u(y){return y===58?(e.consume(y),r=0,d):(y===43||y===45||y===46||fn(y))&&r++<32?(e.consume(y),u):(r=0,h(y))}function d(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):y===null||y===32||y===60||kh(y)?n(y):(e.consume(y),d)}function h(y){return y===64?(e.consume(y),p):dY(y)?(e.consume(y),h):n(y)}function p(y){return fn(y)?m(y):n(y)}function m(y){return y===46?(e.consume(y),r=0,p):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):x(y)}function x(y){if((y===45||fn(y))&&r++<63){const N=y===45?x:m;return e.consume(y),N}return n(y)}}const tu={partial:!0,tokenize:NY};function NY(e,t,n){return r;function r(a){return Qe(a)?Ze(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Oe(a)?t(a):n(a)}}const CA={continuation:{tokenize:SY},exit:CY,name:"blockQuote",tokenize:kY};function kY(e,t,n){const r=this;return i;function i(l){if(l===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return n(l)}function a(l){return Qe(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function SY(e,t,n){const r=this;return i;function i(l){return Qe(l)?Ze(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(CA,t,n)(l)}}function CY(e){e.exit("blockQuote")}const EA={name:"characterEscape",tokenize:EY};function EY(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return fY(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const PA={name:"characterReference",tokenize:PY};function PY(e,t,n){const r=this;let i=0,a,l;return u;function u(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),d}function d(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,l=fn,p(m))}function h(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=hY,p):(e.enter("characterReferenceValue"),a=7,l=Px,p(m))}function p(m){if(m===59&&i){const x=e.exit("characterReferenceValue");return l===fn&&!S0(r.sliceSerialize(x))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(m)&&i++<a?(e.consume(m),p):n(m)}}const ek={partial:!0,tokenize:AY},tk={concrete:!0,name:"codeFenced",tokenize:TY};function TY(e,t,n){const r=this,i={partial:!0,tokenize:I};let a=0,l=0,u;return d;function d(_){return h(_)}function h(_){const V=r.events[r.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,u=_,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(_)}function p(_){return _===u?(l++,e.consume(_),p):l<3?n(_):(e.exit("codeFencedFenceSequence"),Qe(_)?Ze(e,m,"whitespace")(_):m(_))}function m(_){return _===null||Oe(_)?(e.exit("codeFencedFence"),r.interrupt?t(_):e.check(ek,w,T)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),x(_))}function x(_){return _===null||Oe(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(_)):Qe(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Ze(e,y,"whitespace")(_)):_===96&&_===u?n(_):(e.consume(_),x)}function y(_){return _===null||Oe(_)?m(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),N(_))}function N(_){return _===null||Oe(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(_)):_===96&&_===u?n(_):(e.consume(_),N)}function w(_){return e.attempt(i,T,k)(_)}function k(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),b}function b(_){return a>0&&Qe(_)?Ze(e,E,"linePrefix",a+1)(_):E(_)}function E(_){return _===null||Oe(_)?e.check(ek,w,T)(_):(e.enter("codeFlowValue"),C(_))}function C(_){return _===null||Oe(_)?(e.exit("codeFlowValue"),E(_)):(e.consume(_),C)}function T(_){return e.exit("codeFenced"),t(_)}function I(_,V,O){let W=0;return R;function R(te){return _.enter("lineEnding"),_.consume(te),_.exit("lineEnding"),G}function G(te){return _.enter("codeFencedFence"),Qe(te)?Ze(_,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(te):B(te)}function B(te){return te===u?(_.enter("codeFencedFenceSequence"),Q(te)):O(te)}function Q(te){return te===u?(W++,_.consume(te),Q):W>=l?(_.exit("codeFencedFenceSequence"),Qe(te)?Ze(_,Z,"whitespace")(te):Z(te)):O(te)}function Z(te){return te===null||Oe(te)?(_.exit("codeFencedFence"),V(te)):O(te)}}}function AY(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const Zm={name:"codeIndented",tokenize:RY},_Y={partial:!0,tokenize:IY};function RY(e,t,n){const r=this;return i;
vendor: 5,057 bytes, line 533
533function i(h){return e.enter("codeIndented"),Ze(e,a,"linePrefix",5)(h)}function a(h){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(h):n(h)}function l(h){return h===null?d(h):Oe(h)?e.attempt(_Y,l,d)(h):(e.enter("codeFlowValue"),u(h))}function u(h){return h===null||Oe(h)?(e.exit("codeFlowValue"),l(h)):(e.consume(h),u)}function d(h){return e.exit("codeIndented"),t(h)}}function IY(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):Oe(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):Ze(e,a,"linePrefix",5)(l)}function a(l){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):Oe(l)?i(l):n(l)}}const MY={name:"codeText",previous:DY,resolve:OY,tokenize:LY};function OY(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function DY(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function LY(e,t,n){let r=0,i,a;return l;function l(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),r++,u):(e.exit("codeTextSequence"),d(m))}function d(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),d):m===96?(a=e.enter("codeTextSequence"),i=0,p(m)):Oe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("codeTextData"),h(m))}function h(m){return m===null||m===32||m===96||Oe(m)?(e.exit("codeTextData"),d(m)):(e.consume(m),h)}function p(m){return m===96?(e.consume(m),i++,p):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(a.type="codeTextData",h(m))}}class FY{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Hl(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Hl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Hl(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Hl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Hl(this.left,n.reverse())}}}function Hl(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function TA(e){const t={};let n=-1,r,i,a,l,u,d,h;const p=new FY(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(d=r[1]._tokenizer.events,a=0,a<d.length&&d[a][1].type==="lineEndingBlank"&&(a+=2),a<d.length&&d[a][1].type==="content"))for(;++a<d.length&&d[a][1].type!=="content";)d[a][1].type==="chunkText"&&(d[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,zY(p,n)),n=t[n],h=!0);else if(r[1]._container){for(a=n,i=void 0;a--;)if(l=p.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...p.get(i)[1].start},u=p.slice(i,n),u.unshift(r),p.splice(i,n-i+1,u))}}return Gn(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function zY(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const a=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const u=l.events,d=[],h={};let p,m,x=-1,y=n,N=0,w=0;const k=[w];for(;y;){for(;e.get(++i)[1]!==y;);a.push(i),y._tokenizer||(p=r.sliceStream(y),y.next||p.push(null),m&&l.defineSki
vendor: 22,868 bytes, line 533
533p(y.start),y._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),y._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),m=y,y=y.next}for(y=n;++x<u.length;)u[x][0]==="exit"&&u[x-1][0]==="enter"&&u[x][1].type===u[x-1][1].type&&u[x][1].start.line!==u[x][1].end.line&&(w=x+1,k.push(w),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(l.events=[],y?(y._tokenizer=void 0,y.previous=void 0):k.pop(),x=k.length;x--;){const b=u.slice(k[x],k[x+1]),E=a.pop();d.push([E,E+b.length-1]),e.splice(E,2,b)}for(d.reverse(),x=-1;++x<d.length;)h[N+d[x][0]]=N+d[x][1],N+=d[x][1]-d[x][0]-1;return h}const BY={resolve:UY,tokenize:$Y},VY={partial:!0,tokenize:HY};function UY(e){return TA(e),e}function $Y(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?a(u):Oe(u)?e.check(VY,l,a)(u):(e.consume(u),i)}function a(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function l(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function HY(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Ze(e,a,"linePrefix")}function a(l){if(l===null||Oe(l))return n(l);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function AA(e,t,n,r,i,a,l,u,d){const h=d||Number.POSITIVE_INFINITY;let p=0;return m;function m(b){return b===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(b),e.exit(a),x):b===null||b===32||b===41||kh(b)?n(b):(e.enter(r),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),w(b))}function x(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),y(b))}function y(b){return b===62?(e.exit("chunkString"),e.exit(u),x(b)):b===null||b===60||Oe(b)?n(b):(e.consume(b),b===92?N:y)}function N(b){return b===60||b===62||b===92?(e.consume(b),y):y(b)}function w(b){return!p&&(b===null||b===41||ct(b))?(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),t(b)):p<h&&b===40?(e.consume(b),p++,w):b===41?(e.consume(b),p--,w):b===null||b===32||b===40||kh(b)?n(b):(e.consume(b),b===92?k:w)}function k(b){return b===40||b===41||b===92?(e.consume(b),w):w(b)}}function _A(e,t,n,r,i,a){const l=this;let u=0,d;return h;function h(y){return e.enter(r),e.enter(i),e.consume(y),e.exit(i),e.enter(a),p}function p(y){return u>999||y===null||y===91||y===93&&!d||y===94&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(y):y===93?(e.exit(a),e.enter(i),e.consume(y),e.exit(i),e.exit(r),t):Oe(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||y===91||y===93||Oe(y)||u++>999?(e.exit("chunkString"),p(y)):(e.consume(y),d||(d=!Qe(y)),y===92?x:m)}function x(y){return y===91||y===92||y===93?(e.consume(y),u++,m):m(y)}}function RA(e,t,n,r,i,a){let l;return u;function u(x){return x===34||x===39||x===40?(e.enter(r),e.enter(i),e.consume(x),e.exit(i),l=x===40?41:x,d):n(x)}function d(x){return x===l?(e.enter(i),e.consume(x),e.exit(i),e.exit(r),t):(e.enter(a),h(x))}function h(x){return x===l?(e.exit(a),d(l)):x===null?n(x):Oe(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),Ze(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===l||x===null||Oe(x)?(e.exit("chunkString"),h(x)):(e.consume(x),x===92?m:p)}function m(x){return x===l||x===92?(e.consume(x),p):p(x)}}function dc(e,t){let n;return r;function r(i){return Oe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Qe(i)?Ze(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const WY={name:"definition",tokenize:GY},qY={partial:!0,tokenize:YY};function GY(e,t,n){const r=this;let i;return a;function a(y){return e.enter("definition"),l(y)}function l(y){return _A.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function u(y){return i=Er(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),d):n(y)}function d(y){return ct(y)?dc(e,h)(y):h(y)}function h(y){return AA(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function p(y){return e.attempt(qY,m,m)(y)}function m(y){return Qe(y)?Ze(e,x,"whitespace")(y):x(y)}function x(y){return y===null||Oe(y)?(e.exit("definition"),r.parser.defined.push(i),t(y)):n(y)}}function YY(e,t,n){return r;function r(u){return ct(u)?dc(e,i)(u):n(u)}function i(u){return RA(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return Qe(u)?Ze(e,l,"whitespace")(u):l(u)}function l(u){return u===null||Oe(u)?t(u):n(u)}}const KY={name:"hardBreakEscape",tokenize:QY};function QY(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Oe(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const XY={name:"headingAtx",resolve:JY,tokenize:ZY};function JY(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Gn(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function ZY(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&r++<6?(e.consume(p),l):p===null||ct(p)?(e.exit("atxHeadingSequence"),u(p)):n(p)}function u(p){return p===35?(e.enter("atxHeadingSequence"),d(p)):p===null||Oe(p)?(e.exit("atxHeading"),t(p)):Qe(p)?Ze(e,u,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function d(p){return p===35?(e.consume(p),d):(e.exit("atxHeadingSequence"),u(p))}function h(p){return p===null||p===35||ct(p)?(e.exit("atxHeadingText"),u(p)):(e.consume(p),h)}}const eK=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],nk=["pre","script","style","textarea"],tK={concrete:!0,name:"htmlFlow",resolveTo:sK,tokenize:iK},nK={partial:!0,tokenize:aK},rK={partial:!0,tokenize:oK};function sK(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function iK(e,t,n){const r=this;let i,a,l,u,d;return h;function h(M){return p(M)}function p(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),m}function m(M){return M===33?(e.consume(M),x):M===47?(e.consume(M),a=!0,w):M===63?(e.consume(M),i=3,r.interrupt?t:A):jn(M)?(e.consume(M),l=String.fromCharCode(M),k):n(M)}function x(M){return M===45?(e.consume(M),i=2,y):M===91?(e.consume(M),i=5,u=0,N):jn(M)?(e.consume(M),i=4,r.interrupt?t:A):n(M)}function y(M){return M===45?(e.consume(M),r.interrupt?t:A):n(M)}function N(M){const pe="CDATA[";return M===pe.charCodeAt(u++)?(e.consume(M),u===pe.length?r.interrupt?t:B:N):n(M)}function w(M){return jn(M)?(e.consume(M),l=String.fromCharCode(M),k):n(M)}function k(M){if(M===null||M===47||M===62||ct(M)){const pe=M===47,Pe=l.toLowerCase();return!pe&&!a&&nk.includes(Pe)?(i=1,r.interrupt?t(M):B(M)):eK.includes(l.toLowerCase())?(i=6,pe?(e.consume(M),b):r.interrupt?t(M):B(M)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(M):a?E(M):C(M))}return M===45||fn(M)?(e.consume(M),l+=String.fromCharCode(M),k):n(M)}function b(M){return M===62?(e.consume(M),r.interrupt?t:B):n(M)}function E(M){return Qe(M)?(e.consume(M),E):R(M)}function C(M){return M===47?(e.consume(M),R):M===58||M===95||jn(M)?(e.consume(M),T):Qe(M)?(e.consume(M),C):R(M)}function T(M){return M===45||M===46||M===58||M===95||fn(M)?(e.consume(M),T):I(M)}function I(M){return M===61?(e.consume(M),_):Qe(M)?(e.consume(M),I):C(M)}function _(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),d=M,V):Qe(M)?(e.consume(M),_):O(M)}function V(M){return M===d?(e.consume(M),d=null,W):M===null||Oe(M)?n(M):(e.consume(M),V)}function O(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||ct(M)?I(M):(e.consume(M),O)}function W(M){return M===47||M===62||Qe(M)?C(M):n(M)}function R(M){return M===62?(e.consume(M),G):n(M)}function G(M){return M===null||Oe(M)?B(M):Qe(M)?(e.consume(M),G):n(M)}function B(M){return M===45&&i===2?(e.consume(M),se):M===60&&i===1?(e.consume(M),ie):M===62&&i===4?(e.consume(M),L):M===63&&i===3?(e.consume(M),A):M===93&&i===5?(e.consume(M),J):Oe(M)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(nK,ee,Q)(M)):M===null||Oe(M)?(e.exit("htmlFlowData"),Q(M)):(e.consume(M),B)}function Q(M){return e.check(rK,Z,ee)(M)}function Z(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),te}function te(M){return M===null||Oe(M)?Q(M):(e.enter("htmlFlowData"),B(M))}function se(M){return M===45?(e.consume(M),A):B(M)}function ie(M){return M===47?(e.consume(M),l="",F):B(M)}function F(M){if(M===62){const pe=l.toLowerCase();return nk.includes(pe)?(e.consume(M),L):B(M)}return jn(M)&&l.length<8?(e.consume(M),l+=String.fromCharCode(M),F):B(M)}function J(M){return M===93?(e.consume(M),A):B(M)}function A(M){return M===62?(e.consume(M),L):M===45&&i===2?(e.consume(M),A):B(M)}function L(M){return M===null||Oe(M)?(e.exit("htmlFlowData"),ee(M)):(e.consume(M),L)}function ee(M){return e.exit("htmlFlow"),t(M)}}function oK(e,t,n){const r=this;return i;function i(l){return Oe(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):n(l)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function aK(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(tu,t,n)}}const lK={name:"htmlText",tokenize:cK};function cK(e,t,n){const r=this;let i,a,l;return u;function u(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),d}function d(A){return A===33?(e.consume(A),h):A===47?(e.consume(A),I):A===63?(e.consume(A),C):jn(A)?(e.consume(A),O):n(A)}function h(A){return A===45?(e.consume(A),p):A===91?(e.consume(A),a=0,N):jn(A)?(e.consume(A),E):n(A)}function p(A){return A===45?(e.consume(A),y):n(A)}function m(A){return A===null?n(A):A===45?(e.consume(A),x):Oe(A)?(l=m,ie(A)):(e.consume(A),m)}function x(A){return A===45?(e.consume(A),y):m(A)}function y(A){return A===62?se(A):A===45?x(A):m(A)}function N(A){const L="CDATA[";return A===L.charCodeAt(a++)?(e.consume(A),a===L.length?w:N):n(A)}function w(A){return A===null?n(A):A===93?(e.consume(A),k):Oe(A)?(l=w,ie(A)):(e.consume(A),w)}function k(A){return A===93?(e.consume(A),b):w(A)}function b(A){return A===62?se(A):A===93?(e.consume(A),b):w(A)}function E(A){return A===null||A===62?se(A):Oe(A)?(l=E,ie(A)):(e.consume(A),E)}function C(A){return A===null?n(A):A===63?(e.consume(A),T):Oe(A)?(l=C,ie(A)):(e.consume(A),C)}function T(A){return A===62?se(A):C(A)}function I(A){return jn(A)?(e.consume(A),_):n(A)}function _(A){return A===45||fn(A)?(e.consume(A),_):V(A)}function V(A){return Oe(A)?(l=V,ie(A)):Qe(A)?(e.consume(A),V):se(A)}function O(A){return A===45||fn(A)?(e.consume(A),O):A===47||A===62||ct(A)?W(A):n(A)}function W(A){return A===47?(e.consume(A),se):A===58||A===95||jn(A)?(e.consume(A),R):Oe(A)?(l=W,ie(A)):Qe(A)?(e.consume(A),W):se(A)}function R(A){return A===45||A===46||A===58||A===95||fn(A)?(e.consume(A),R):G(A)}function G(A){return A===61?(e.consume(A),B):Oe(A)?(l=G,ie(A)):Qe(A)?(e.consume(A),G):W(A)}function B(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),i=A,Q):Oe(A)?(l=B,ie(A)):Qe(A)?(e.consume(A),B):(e.consume(A),Z)}function Q(A){return A===i?(e.consume(A),i=void 0,te):A===null?n(A):Oe(A)?(l=Q,ie(A)):(e.consume(A),Q)}function Z(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||ct(A)?W(A):(e.consume(A),Z)}function te(A){return A===47||A===62||ct(A)?W(A):n(A)}function se(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function ie(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),F}function F(A){return Qe(A)?Ze(e,J,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):J(A)}function J(A){return e.enter("htmlTextData"),l(A)}}const C0={name:"labelEnd",resolveAll:fK,resolveTo:pK,tokenize:mK},uK={tokenize:gK},dK={tokenize:xK},hK={tokenize:yK};function fK(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Gn(e,0,e.length,n),e}function pK(e,t){let n=e.length,r=0,i,a,l,u;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const d={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},p={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[l-2][1].start}};return u=[["enter",d,t],["enter",h,t]],u=cr(u,e.slice(a+1,a+r+3)),u=cr(u,[["enter",p,t]]),u=cr(u,ff(t.parser.constructs.insideSpan.null,e.slice(a+r+4,l-3),t)),u=cr(u,[["exit",p,t],e[l-2],e[l-1],["exit",h,t]]),u=cr(u,e.slice(l+1)),u=cr(u,[["exit",d,t]]),Gn(e,a,e.length,u),e}function mK(e,t,n){const r=this;let i=r.events.length,a,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return u;function u(x){return a?a._inactive?m(x):(l=r.parser.defined.includes(Er(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),d):n(x)}function d(x){return x===40?e.attempt(uK,p,l?p:m)(x):x===91?e.attempt(dK,p,l?h:m)(x):l?p(x):m(x)}function h(x){return e.attempt(hK,p,m)(x)}function p(x){return t(x)}function m(x){return a._balanced=!0,n(x)}}function gK(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),i}function i(m){return ct(m)?dc(e,a)(m):a(m)}function a(m){return m===41?p(m):AA(e,l,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function l(m){return ct(m)?dc(e,d)(m):p(m)}function u(m){return n(m)}function d(m){return m===34||m===39||m===40?RA(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function h(m){return ct(m)?dc(e,p)(m):p(m)}function p(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function xK(e,t,n){const r=this;return i;function i(u){return _A.call(r,e,a,l,"reference","referenceMarker","referenceString")(u)}function a(u){return r.parser.defined.includes(Er(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function l(u){return n(u)}}function yK(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const vK={name:"labelStartImage",resolveAll:C0.resolveAll,tokenize:bK};function bK(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),a}function a(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),l):n(u)}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const wK={name:"labelStartLink",resolveAll:C0.resolveAll,tokenize:jK};function jK(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const eg={name:"lineEnding",tokenize:NK};function NK(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Ze(e,t,"linePrefix")}}const Jd={name:"thematicBreak",tokenize:kK};function kK(e,t,n){let r=0,i;return a;function a(h){return e.enter("thematicBreak"),l(h)}function l(h){return i=h,u(h)}function u(h){return h===i?(e.enter("thematicBreakSequence"),d(h)):r>=3&&(h===null||Oe(h))?(e.exit("thematicBreak"),t(h)):n(h)}function d(h){return h===i?(e.consume(h),r++,d):(e.exit("thematicBreakSequence"),Qe(h)?Ze(e,u,"whitespace")(h):u(h))}}const An={continuation:{tokenize:PK},exit:AK,name:"list",tokenize:EK},SK={partial:!0,tokenize:_K},CK={partial:!0,tokenize:TK};function EK(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return u;function u(y){const N=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(N==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:Px(y)){if(r.containerState.type||(r.containerState.type=N,e.enter(N,{_container:!0})),N==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(Jd,n,h)(y):h(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(y)}return n(y)}function d(y){return Px(y)&&++l<10?(e.consume(y),d):(!r.interrupt||l<2)&&(r.containerState.marker?y===r.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),h(y)):n(y)}function h(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||y,e.check(tu,r.interrupt?n:p,e.attempt(SK,x,m))}function p(y){return r.containerState.initialBlankLine=!0,a++,x(y)}function m(y){return Qe(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),x):n(y)}function x(y){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function PK(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(tu,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Ze(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!Qe(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(CK,t,l)(u))}function l(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,Ze(e,e.attempt(An,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function TK(e,t,n){const r=this;return Ze(e,i,"listItemIndent",r.containerState.size+1);function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(a):n(a)}}function AK(e){e.exit(this.containerState.type)}function _K(e,t,n){const r=this;return Ze(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=r.events[r.events.length-1];return!Qe(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const rk={name:"setextUnderline",resolveTo:RK,tokenize:IK};function RK(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function IK(e,t,n){const r=this;let i;return a;function a(h){let p=r.events.length,m;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){m=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),i=h,l(h)):n(h)}function l(h){return e.enter("setextHeadingLineSequence"),u(h)}function u(h){return h===i?(e.consume(h),u):(e.exit("setextHeadingLineSequence"),Qe(h)?Ze(e,d,"lineSuffix")(h):d(h))}function d(h){return h===null||Oe(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const MK={tokenize:OK};function OK(e){const t=this,n=e.attempt(tu,r,e.attempt(this.parser.constructs.flowInitial,i,Ze(e,e.attempt(this.parser.constructs.flow,i,e.attempt(BY,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const DK={resolveAll:MA()},LK=IA("string"),FK=IA("text");function IA(e){return{resolveAll:MA(e==="text"?zK:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,l,u);return l;function l(p){return h(p)?a(p):u(p)}function u(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),d}function d(p){return h(p)?(n.exit("data"),a(p)):(n.consume(p),d)}function h(p){if(p===null)return!0;const m=i[p];let x=-1;if(m)for(;++x<m.length;){const y=m[x];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function MA(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function zK(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,l=-1,u=0,d;for(;a--;){const h=i[a];if(typeof h=="string"){for(l=h.length;h.charCodeAt(l-1)===32;)u++,l--;if(l)break;l=-1}
vendor: 2,432 bytes, line 533
533else if(h===-2)d=!0,u++;else if(h!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const h={type:n===e.length||d||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:r.start._bufferIndex+l,_index:r.start._index+a,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...h.start},r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const BK={42:An,43:An,45:An,48:An,49:An,50:An,51:An,52:An,53:An,54:An,55:An,56:An,57:An,62:CA},VK={91:WY},UK={[-2]:Zm,[-1]:Zm,32:Zm},$K={35:XY,42:Jd,45:[rk,Jd],60:tK,61:rk,95:Jd,96:tk,126:tk},HK={38:PA,92:EA},WK={[-5]:eg,[-4]:eg,[-3]:eg,33:vK,38:PA,42:Tx,60:[wY,lK],91:wK,92:[KY,EA],93:C0,95:Tx,96:MY},qK={null:[Tx,DK]},GK={null:[42,95]},YK={null:[]},KK=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:GK,contentInitial:VK,disable:YK,document:BK,flow:$K,flowInitial:UK,insideSpan:qK,string:HK,text:WK},Symbol.toStringTag,{value:"Module"}));function QK(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let l=[],u=[];const d={attempt:V(I),check:V(_),consume:E,enter:C,exit:T,interrupt:V(_,{interrupt:!0})},h={code:null,containerState:{},defineSkip:w,events:[],now:N,parser:e,previous:null,sliceSerialize:x,sliceStream:y,write:m};let p=t.tokenize.call(h,d);return t.resolveAll&&a.push(t),h;function m(G){return l=cr(l,G),k(),l[l.length-1]!==null?[]:(O(t,0),h.events=ff(a,h.events,h),h.events)}function x(G,B){return JK(y(G),B)}function y(G){return XK(l,G)}function N(){const{_bufferIndex:G,_index:B,line:Q,column:Z,offset:te}=r;return{_bufferIndex:G,_index:B,line:Q,column:Z,offset:te}}function w(G){i[G.line]=G.column,R()}function k(){let G;for(;r._index<l.length;){const B=l[r._index];if(typeof B=="string")for(G=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===G&&r._bufferIndex<B.length;)b(B.charCodeAt(r._bufferIndex));else b(B)}}function b(G){p=p(G)}function E(G){Oe(G)?(r.line++,r.column=1,r.offset+=G===-3?2:1,R()):G!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=G}function C(G,B){const Q=B||{};return Q.type=G,Q.start=N(),h.events.push(["enter",Q,h]),u.push(Q),Q}function T(G){const B=u.pop();return B.end=N(),h.events.push(["exit",B,h]),B}function I(G,B){O(G,B.from)}
vendor: 19,417 bytes, lines 533-539
533function _(G,B){B.restore()}function V(G,B){return Q;function Q(Z,te,se){let ie,F,J,A;return Array.isArray(Z)?ee(Z):"tokenize"in Z?ee([Z]):L(Z);function L(le){return re;function re(me){const ve=me!==null&&le[me],Ae=me!==null&&le.null,Ve=[...Array.isArray(ve)?ve:ve?[ve]:[],...Array.isArray(Ae)?Ae:Ae?[Ae]:[]];return ee(Ve)(me)}}function ee(le){return ie=le,F=0,le.length===0?se:M(le[F])}function M(le){return re;function re(me){return A=W(),J=le,le.partial||(h.currentConstruct=le),le.name&&h.parser.constructs.disable.null.includes(le.name)?Pe():le.tokenize.call(B?Object.assign(Object.create(h),B):h,d,pe,Pe)(me)}}function pe(le){return G(J,A),te}function Pe(le){return A.restore(),++F<ie.length?M(ie[F]):se}}}function O(G,B){G.resolveAll&&!a.includes(G)&&a.push(G),G.resolve&&Gn(h.events,B,h.events.length-B,G.resolve(h.events.slice(B),h)),G.resolveTo&&(h.events=G.resolveTo(h.events,h))}function W(){const G=N(),B=h.previous,Q=h.currentConstruct,Z=h.events.length,te=Array.from(u);return{from:Z,restore:se};function se(){r=G,h.previous=B,h.currentConstruct=Q,h.events.length=Z,u=te,R()}}function R(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function XK(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,a)];else{if(l=e.slice(n,i),r>-1){const u=l[0];typeof u=="string"?l[0]=u.slice(r):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function JK(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
534`;break}case-3:{l=`\r
535`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,r.push(l)}return r.join("")}function ZK(e){const r={constructs:kA([KK,...(e||{}).extensions||[]]),content:i(pY),defined:[],document:i(gY),flow:i(MK),lazy:{},string:i(LK),text:i(FK)};return r;function i(a){return l;function l(u){return QK(r,a,u)}}}function eQ(e){for(;!TA(e););return e}const sk=/[\0\t\n\r]/g;function tQ(){let e=1,t="",n=!0,r;return i;function i(a,l,u){const d=[];let h,p,m,x,y;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),m=0,t="",n&&(a.charCodeAt(0)===65279&&m++,n=void 0);m<a.length;){if(sk.lastIndex=m,h=sk.exec(a),x=h&&h.index!==void 0?h.index:a.length,y=a.charCodeAt(x),!h){t=a.slice(m);break}if(y===10&&m===x&&r)d.push(-3),r=void 0;else switch(r&&(d.push(-5),r=void 0),m<x&&(d.push(a.slice(m,x)),e+=x-m),y){case 0:{d.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,d.push(-2);e++<p;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:r=!0,e=1}m=x+1}return u&&(r&&d.push(-5),t&&d.push(t),d.push(null)),d}}const nQ=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rQ(e){return e.replace(nQ,sQ)}function sQ(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return SA(n.slice(a?2:1),a?16:10)}return S0(n)||e}const OA={}.hasOwnProperty;function iQ(e,t,n){return typeof t!="string"&&(n=t,t=void 0),oQ(n)(eQ(ZK(n).document().write(tQ()(e,t,!0))))}function oQ(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Ft),autolinkProtocol:W,autolinkEmail:W,atxHeading:a(Et),blockQuote:a(Ae),characterEscape:W,characterReference:W,codeFenced:a(Ve),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Ve,l),codeText:a(Fe,l),codeTextData:W,data:W,codeFlowValue:W,definition:a(bt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(It),hardBreakEscape:a(_e),hardBreakTrailing:a(_e),htmlFlow:a(ut,l),htmlFlowData:W,htmlText:a(ut,l),htmlTextData:W,image:a(gn),label:l,link:a(Ft),listItem:a(Rr),listItemValue:x,listOrdered:a(fr,m),listUnordered:a(fr),paragraph:a(pr),reference:M,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Et),strong:a(ru),thematicBreak:a(iu)},exit:{atxHeading:d(),atxHeadingSequence:I,autolink:d(),autolinkEmail:ve,autolinkProtocol:me,blockQuote:d(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:Pe,characterReferenceMarkerNumeric:Pe,characterReferenceValue:le,characterReference:re,codeFenced:d(k),codeFencedFence:w,codeFencedFenceInfo:y,codeFencedFenceMeta:N,codeFlowValue:R,codeIndented:d(b),codeText:d(te),codeTextData:R,data:R,definition:d(),definitionDestinationString:T,definitionLabelString:E,definitionTitleString:C,emphasis:d(),hardBreakEscape:d(B),hardBreakTrailing:d(B),htmlFlow:d(Q),htmlFlowData:R,htmlText:d(Z),htmlTextData:R,image:d(ie),label:J,labelText:F,lineEnding:G,link:d(se),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:pe,resourceDestinationString:A,resourceTitleString:L,resource:ee,setextHeading:d(O),setextHeadingLineSequence:V,setextHeadingText:_,strong:d(),thematicBreak:d()}};DA(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ne){let fe={type:"root",children:[]};const ze={stack:[fe],tokenStack:[],config:t,enter:u,exit:h,buffer:l,resume:p,data:n},Ye=[];let tt=-1;for(;++tt<ne.length;)if(ne[tt][1].type==="listOrdered"||ne[tt][1].type==="listUnordered")if(ne[tt][0]==="enter")Ye.push(tt);else{const Gt=Ye.pop();tt=i(ne,Gt,tt)}for(tt=-1;++tt<ne.length;){const Gt=t[ne[tt][0]];OA.call(Gt,ne[tt][1].type)&&Gt[ne[tt][1].type].call(Object.assign({sliceSerialize:ne[tt][2].sliceSerialize},ze),ne[tt][1])}if(ze.tokenStack.length>0){const Gt=ze.tokenStack[ze.tokenStack.length-1];(Gt[1]||ik).call(ze,void 0,Gt[0])}for(fe.position={start:Gs(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:Gs(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},tt=-1;++tt<t.transforms.length;)fe=t.transforms[tt](fe)||fe;return fe}function i(ne,fe,ze){let Ye=fe-1,tt=-1,Gt=!1,ns,Qn,Ss,ji;for(;++Ye<=ze;){const Yt=ne[Ye];switch(Yt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Yt[0]==="enter"?tt++:tt--,ji=void 0;break}case"lineEndingBlank":{Yt[0]==="enter"&&(ns&&!ji&&!tt&&!Ss&&(Ss=Ye),ji=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ji=void 0}if(!tt&&Yt[0]==="enter"&&Yt[1].type==="listItemPrefix"||tt===-1&&Yt[0]==="exit"&&(Yt[1].type==="listUnordered"||Yt[1].type==="listOrdered")){if(ns){let Ir=Ye;for(Qn=void 0;Ir--;){const Dn=ne[Ir];if(Dn[1].type==="lineEnding"||Dn[1].type==="lineEndingBlank"){if(Dn[0]==="exit")continue;Qn&&(ne[Qn][1].type="lineEndingBlank",Gt=!0),Dn[1].type="lineEnding",Qn=Ir}else if(!(Dn[1].type==="linePrefix"||Dn[1].type==="blockQuotePrefix"||Dn[1].type==="blockQuotePrefixWhitespace"||Dn[1].type==="blockQuoteMarker"||Dn[1].type==="listItemIndent"))break}Ss&&(!Qn||Ss<Qn)&&(ns._spread=!0),ns.end=Object.assign({},Qn?ne[Qn][1].start:Yt[1].end),ne.splice(Qn||Ye,0,["exit",ns,Yt[2]]),Ye++,ze++}if(Yt[1].type==="listItemPrefix"){const Ir={type:"listItem",_spread:!1,start:Object.assign({},Yt[1].start),end:void 0};ns=Ir,ne.splice(Ye,0,["enter",Ir,Yt[2]]),Ye++,ze++,Ss=void 0,ji=!0}}}return ne[fe][1]._spread=Gt,ze}function a(ne,fe){return ze;function ze(Ye){u.call(this,ne(Ye),Ye),fe&&fe.call(this,Ye)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(ne,fe,ze){this.stack[this.stack.length-1].children.push(ne),this.stack.push(ne),this.tokenStack.push([fe,ze||void 0]),ne.position={start:Gs(fe.start),end:void 0}}function d(ne){return fe;function fe(ze){ne&&ne.call(this,ze),h.call(this,ze)}}function h(ne,fe){const ze=this.stack.pop(),Ye=this.tokenStack.pop();if(Ye)Ye[0].type!==ne.type&&(fe?fe.call(this,ne,Ye[0]):(Ye[1]||ik).call(this,ne,Ye[0]));else throw new Error("Cannot close `"+ne.type+"` ("+uc({start:ne.start,end:ne.end})+"): it’s not open");ze.position.end=Gs(ne.end)}function p(){return k0(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function x(ne){if(this.data.expectingFirstListItemValue){const fe=this.stack[this.stack.length-2];fe.start=Number.parseInt(this.sliceSerialize(ne),10),this.data.expectingFirstListItemValue=void 0}}function y(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.lang=ne}function N(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.meta=ne}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ne.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ne.replace(/(\r?\n|\r)$/g,"")}function E(ne){const fe=this.resume(),ze=this.stack[this.stack.length-1];ze.label=fe,ze.identifier=Er(this.sliceSerialize(ne)).toLowerCase()}function C(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ne}function T(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ne}function I(ne){const fe=this.stack[this.stack.length-1];if(!fe.depth){const ze=this.sliceSerialize(ne).length;fe.depth=ze}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function V(ne){const fe=this.stack[this.stack.length-1];fe.depth=this.sliceSerialize(ne).codePointAt(0)===61?1:2}function O(){this.data.setextHeadingSlurpLineEnding=void 0}function W(ne){const ze=this.stack[this.stack.length-1].children;let Ye=ze[ze.length-1];(!Ye||Ye.type!=="text")&&(Ye=su(),Ye.position={start:Gs(ne.start),end:void 0},ze.push(Ye)),this.stack.push(Ye)}function R(ne){const fe=this.stack.pop();fe.value+=this.sliceSerialize(ne),fe.position.end=Gs(ne.end)}function G(ne){const fe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ze=fe.children[fe.children.length-1];ze.position.end=Gs(ne.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(fe.type)&&(W.call(this,ne),R.call(this,ne))}function B(){this.data.atHardBreak=!0}function Q(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ne}function Z(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ne}function te(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ne}function se(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=fe,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function ie(){const ne=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";ne.type+="Reference",ne.referenceType=fe,delete ne.url,delete ne.title}else delete ne.identifier,delete ne.label;this.data.referenceType=void 0}function F(ne){const fe=this.sliceSerialize(ne),ze=this.stack[this.stack.length-2];ze.label=rQ(fe),ze.identifier=Er(fe).toLowerCase()}function J(){const ne=this.stack[this.stack.length-1],fe=this.resume(),ze=this.stack[this.stack.length-1];if(this.data.inReference=!0,ze.type==="link"){const Ye=ne.children;ze.children=Ye}else ze.alt=fe}function A(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ne}function L(){const ne=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ne}function ee(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function pe(ne){const fe=this.resume(),ze=this.stack[this.stack.length-1];ze.label=fe,ze.identifier=Er(this.sliceSerialize(ne)).toLowerCase(),this.data.referenceType="full"}function Pe(ne){this.data.characterReferenceType=ne.type}function le(ne){const fe=this.sliceSerialize(ne),ze=this.data.characterReferenceType;let Ye;ze?(Ye=SA(fe,ze==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ye=S0(fe);const tt=this.stack[this.stack.length-1];tt.value+=Ye}function re(ne){const fe=this.stack.pop();fe.position.end=Gs(ne.end)}function me(ne){R.call(this,ne);const fe=this.stack[this.stack.length-1];fe.url=this.sliceSerialize(ne)}function ve(ne){R.call(this,ne);const fe=this.stack[this.stack.length-1];fe.url="mailto:"+this.sliceSerialize(ne)}function Ae(){return{type:"blockquote",children:[]}}function Ve(){return{type:"code",lang:null,meta:null,value:""}}function Fe(){return{type:"inlineCode",value:""}}function bt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function It(){return{type:"emphasis",children:[]}}function Et(){return{type:"heading",depth:0,children:[]}}function _e(){return{type:"break"}}function ut(){return{type:"html",value:""}}function gn(){return{type:"image",title:null,url:"",alt:null}}function Ft(){return{type:"link",title:null,url:"",children:[]}}function fr(ne){return{type:"list",ordered:ne.type==="listOrdered",start:null,spread:ne._spread,children:[]}}function Rr(ne){return{type:"listItem",spread:ne._spread,checked:null,children:[]}}function pr(){return{type:"paragraph",children:[]}}function ru(){return{type:"strong",children:[]}}function su(){return{type:"text",value:""}}function iu(){return{type:"thematicBreak"}}}function Gs(e){return{line:e.line,column:e.column,offset:e.offset}}function DA(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?DA(e,r):aQ(e,r)}}function aQ(e,t){let n;for(n in t)if(OA.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ik(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+uc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+uc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+uc({start:t.start,end:t.end})+") is still open")}function lQ(e){const t=this;t.parser=n;function n(r){return iQ(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function cQ(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function uQ(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
536`}]}function dQ(e,t){const n=t.value?t.value+`
537`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function hQ(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function fQ(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function pQ(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Qa(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let l,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=a+1,u+=1,e.footnoteCounts.set(r,u);const d={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,d);const h={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(t,h),e.applyData(t,h)}function mQ(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function gQ(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function LA(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function xQ(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return LA(e,t);const i={src:Qa(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function yQ(e,t){const n={src:Qa(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function vQ(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function bQ(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return LA(e,t);const i={href:Qa(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function wQ(e,t){const n={href:Qa(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function jQ(e,t,n){const r=e.all(t),i=n?NQ(n):FA(t),a={},l=[];if(typeof t.checked=="boolean"){const p=r[0];let m;p&&p.type==="element"&&p.tagName==="p"?m=p:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const p=r[u];(i||u!==0||p.type!=="element"||p.tagName!=="p")&&l.push({type:"text",value:`
538`}),p.type==="element"&&p.tagName==="p"&&!i?l.push(...p.children):l.push(p)}const d=r[r.length-1];d&&(i||d.type!=="element"||d.tagName!=="p")&&l.push({type:"text",value:`
539`});const h={type:"element",tagName:"li",properties:a,children:l};return e.patch(t,h),e.applyData(t,h)}function NQ(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=FA(n[r])}return t}function FA(e){const t=e.spread;return t??e.children.length>1}function kQ(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function SQ(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function CQ(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function EQ(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function PQ(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=b0(t.children[1]),d=xA(t.children[t.children.length-1]);u&&d&&(l.position={start:u,end:d}),i.push(l)}const a={type:"element",tagName:"table",properties:{}
vendor: 4,642 bytes, line 539
539,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function TQ(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,u=l?l.length:t.children.length;let d=-1;const h=[];for(;++d<u;){const m=t.children[d],x={},y=l?l[d]:void 0;y&&(x.align=y);let N={type:"element",tagName:a,properties:x,children:[]};m&&(N.children=e.all(m),e.patch(m,N),N=e.applyData(m,N)),h.push(N)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function AQ(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ok=9,ak=32;function _Q(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(lk(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(lk(t.slice(i),i>0,!1)),a.join("")}function lk(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===ok||a===ak;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===ok||a===ak;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function RQ(e,t){const n={type:"text",value:_Q(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function IQ(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const MQ={blockquote:cQ,break:uQ,code:dQ,delete:hQ,emphasis:fQ,footnoteReference:pQ,heading:mQ,html:gQ,imageReference:xQ,image:yQ,inlineCode:vQ,linkReference:bQ,link:wQ,listItem:jQ,list:kQ,paragraph:SQ,root:CQ,strong:EQ,table:PQ,tableCell:AQ,tableRow:TQ,text:RQ,thematicBreak:IQ,toml:Rd,yaml:Rd,definition:Rd,footnoteDefinition:Rd};function Rd(){}const zA=-1,pf=0,hc=1,Sh=2,E0=3,P0=4,T0=5,A0=6,BA=7,VA=8,ck=typeof self=="object"?self:globalThis,OQ=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,l]=t[i];switch(a){case pf:case zA:return n(l,i);case hc:{const u=n([],i);for(const d of l)u.push(r(d));return u}case Sh:{const u=n({},i);for(const[d,h]of l)u[r(d)]=r(h);return u}case E0:return n(new Date(l),i);case P0:{const{source:u,flags:d}=l;return n(new RegExp(u,d),i)}case T0:{const u=n(new Map,i);for(const[d,h]of l)u.set(r(d),r(h));return u}case A0:{const u=n(new Set,i);for(const d of l)u.add(r(d));return u}case BA:{const{name:u,message:d}=l;return n(new ck[u](d),i)}case VA:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:u}=new Uint8Array(l);return n(new DataView(u),l)}}return n(new ck[a](l),i)};return r},uk=e=>OQ(new Map,e)(0),na="",{toString:DQ}={},{keys:LQ}=Object,Wl=e=>{const t=typeof e;if(t!=="object"||!e)return[pf,t];const n=DQ.call(e).slice(8,-1);switch(n){case"Array":return[hc,na];case"Object":return[Sh,na];case"Date":return[E0,na];case"RegExp":return[P0,na];case"Map":return[T0,na];case"Set":return[A0,na];case"DataView":return[hc,n]}return n.includes("Array")?[hc,n]:n.includes("Error")?[BA,n]:[Sh,n]},Id=([e,t])=>e===pf&&(t==="function"||t==="symbol"),FQ=(e,t,n,r)=>{const i=(l,u)=>{const d=r.push(l)-1;return n.set(u,d),d},a=l=>{if(n.has(l))return n.get(l);let[u,d]=Wl(l);switch(u){case pf:{let p=l;switch(d){case"bigint":u=VA,p=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+d);p=null;break;case"undefined":return i([zA],l)}return i([u,p],l)}case hc:{if(d){let x=l;return d==="DataView"?x=new Uint8Array(l.buffer):d==="ArrayBuffer"&&(x=new Uint8Array(l)),i([d,[...x]],l)}const p=[],m=i([u,p],l);for(const x of l)p.push(a(x));return m}case Sh:{if(d)switch(d){case"BigInt":return i([d,l.toString()],l);case"Boolean":case"Number":case"String":return i([d,l.valueOf()],l)}if(t&&"toJSON"in l)return a(l.toJSON());const p=[],m=i([u,p],l);for(const x of LQ(l))(e||!Id(Wl(l[x])))&&p.push([a(x),a(l[x])]);return m}case E0:return i([u,l.toISOString()],l);case P0:{const{source:p,flags:m}=l;return i([u,{source:p,flags:m}],l)}case T0:{const p=[],m=i([u,p],l);for(const[x,y]of l)(e||!(Id(Wl(x))||Id(Wl(y))))&&p.push([a(x),a(y)]);return m}case A0:{const p=[],m=i([u,p],l);for(const x of l)(e||!Id(Wl(x)))&&p.push(a(x));return m}}const{message:h}=l;return i([u,{name:d,message:h}],l)};return a},dk=(e,{json:t,lossy:n}={})=>{const r=[];return FQ(!(t||n),!!t,new Map,r)(e),r},Ch=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?uk(dk(e,t)):structuredClone(e):(e,t)=>uk(dk(e,t));function zQ(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function BQ(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 4,144 bytes, lines 539-541
539function VQ(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||zQ,r=e.options.footnoteBackLabel||BQ,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let d=-1;for(;++d<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[d]);if(!h)continue;const p=e.all(h),m=String(h.identifier).toUpperCase(),x=Qa(m.toLowerCase());let y=0;const N=[],w=e.footnoteCounts.get(m);for(;w!==void 0&&++y<=w;){N.length>0&&N.push({type:"text",value:" "});let E=typeof n=="string"?n:n(d,y);typeof E=="string"&&(E={type:"text",value:E}),N.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+x+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(d,y),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const k=p[p.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const E=k.children[k.children.length-1];E&&E.type==="text"?E.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...N)}else p.push(...N);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+x},children:e.wrap(p,!0)};e.patch(h,b),u.push(b)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ch(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
540`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
541`}]}}const mf=(function(e){if(e==null)return WQ;if(typeof e=="function")return gf(e);if(typeof e=="object")return Array.isArray(e)?UQ(e):$Q(e);if(typeof e=="string")return HQ(e);throw new Error("Expected function, string, or object as test")});function UQ(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=mf(e[n]);return gf(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function $Q(e){const t=e;return gf(n);function n(r){const i=r;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function HQ(e){return gf(t);function t(n){return n&&n.type===e}}function gf(e){return t;function t(n,r,i){return!!(qQ(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function WQ(){return!0}function qQ(e){return e!==null&&typeof e=="object"&&"type"in e}const UA=[],GQ=!0,Ax=!1,YQ="skip";function $A(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const a=mf(i),l=r?-1:1;u(e,void 0,[])();function u(d,h,p){const m=d&&typeof d=="object"?d:{};if(typeof m.type=="string"){const y=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(d.type+(y?"<"+y+">":""))+")"})}return x;function x(){let y=UA,N,w,k;if((!t||a(d,h,p[p.length-1]||void 0))&&(y=KQ(n(d,p)),y[0]===Ax))return y;if("children"in d&&d.children){const b=d;if(b.children&&y[0]!==YQ)for(w=(r?b.children.length:-1)+l,k=p.concat(b);w>-1&&w<b.children.length;){const E=b.children[w];if(N=u(E,w,k)(),N[0]===Ax)return N;w=typeof N[1]=="number"?N[1]:w+l}}return y}}}function KQ(e){return Array.isArray(e)?e:typeof e=="number"?[GQ,e]:e==null?UA:[e]}function _0(e,t,n,r){let i,a,l;typeof t=="function"&&typeof n!="function"?(a=void 0,l=t,i=n):(a=t,l=n,i=r),$A(e,a,u,i);function u(d,h){const p=h[h.length-1],m=p?p.children.indexOf(d):void 0;return l(d,m,p)}}const _x={}.hasOwnProperty,QQ={};function XQ(e,t){const n=t||QQ,r=new Map,i=new Map,a=new Map,l={...MQ,...n.handlers},u={all:h,applyData:ZQ,definitionById:r,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:l,one:d,options:n,patch:JQ,wrap:tX};return _0(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const m=p.type==="definition"?r:i,x=String(p.identifier).toUpperCase();m.has(x)||m.set(x,p)}}),u;function d(p,m){const x=p.type,y=u.handlers[x];if(_x.call(u.handlers,x)&&y)return y(u,p,m);if(u.options.passThrough&&u.options.passThrough.includes(x)){if("children"in p){const{children:w,...k}=p,b=Ch(k);return b.children=u.all(p),b}return Ch(p)}return(u.options.unknownHandler||eX)(u,p,m)}function h(p){const m=[];
vendor: 10,835 bytes, lines 541-545
541if("children"in p){const x=p.children;let y=-1;for(;++y<x.length;){const N=u.one(x[y],p);if(N){if(y&&x[y-1].type==="break"&&(!Array.isArray(N)&&N.type==="text"&&(N.value=hk(N.value)),!Array.isArray(N)&&N.type==="element")){const w=N.children[0];w&&w.type==="text"&&(w.value=hk(w.value))}Array.isArray(N)?m.push(...N):m.push(N)}}}return m}}function JQ(e,t){e.position&&(t.position=BG(e))}function ZQ(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&a&&Object.assign(n.properties,Ch(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function eX(e,t){const n=t.data||{},r="value"in t&&!(_x.call(n,"hProperties")||_x.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tX(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
542`});++r<e.length;)r&&n.push({type:"text",value:`
543`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
544`}),n}function hk(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function fk(e,t){const n=XQ(e,t),r=n.one(e,void 0),i=VQ(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
545`},i),a}function nX(e,t){return e&&"run"in e?async function(n,r){const i=fk(n,{file:r,...t});await e.run(i,r)}:function(n,r){return fk(n,{file:r,...e||t})}}function pk(e){if(e)throw e}var tg,mk;function rX(){if(mk)return tg;mk=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},a=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var p=e.call(h,"constructor"),m=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!p&&!m)return!1;var x;for(x in h);return typeof x>"u"||e.call(h,x)},l=function(h,p){n&&p.name==="__proto__"?n(h,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):h[p.name]=p.newValue},u=function(h,p){if(p==="__proto__")if(e.call(h,p)){if(r)return r(h,p).value}else return;return h[p]};return tg=function d(){var h,p,m,x,y,N,w=arguments[0],k=1,b=arguments.length,E=!1;for(typeof w=="boolean"&&(E=w,w=arguments[1]||{},k=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});k<b;++k)if(h=arguments[k],h!=null)for(p in h)m=u(w,p),x=u(h,p),w!==x&&(E&&x&&(a(x)||(y=i(x)))?(y?(y=!1,N=m&&i(m)?m:[]):N=m&&a(m)?m:{},l(w,{name:p,newValue:d(E,N,x)})):typeof x<"u"&&l(w,{name:p,newValue:x}));return w},tg}var sX=rX();const ng=Dc(sX);function Rx(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function iX(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);u(null,...i);function u(d,...h){const p=e[++a];let m=-1;if(d){l(d);return}for(;++m<i.length;)(h[m]===null||h[m]===void 0)&&(h[m]=i[m]);i=h,p?oX(p,u)(...h):l(null,...h)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function oX(e,t){let n;return r;function r(...l){const u=e.length>l.length;let d;u&&l.push(i);try{d=e.apply(this,l)}catch(h){const p=h;if(u&&n)throw p;return i(p)}u||(d&&d.then&&typeof d.then=="function"?d.then(a,i):d instanceof Error?i(d):a(d))}function i(l,...u){n||(n=!0,t(l,...u))}function a(l){i(null,l)}}const Br={basename:aX,dirname:lX,extname:cX,join:uX,sep:"/"};function aX(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');nu(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else l<0&&(a=!0,l=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function lX(e){if(nu(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function cX(e){nu(e);let t=e.length,n=-1,r=0,i=-1,a=0,l;for(;t--;){const u=e.codePointAt(t);if(u===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),u===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function uX(...e){let t=-1,n;for(;++t<e.length;)nu(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":dX(n)}function dX(e){nu(e);const t=e.codePointAt(0)===47;let n=hX(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function hX(e,t){let n="",r=0,i=-1,a=0,l=-1,u,d;for(;++l<=e.length;){if(l<e.length)u=e.codePointAt(l);else{if(u===47)break;u=47}if(u===47){if(!(i===l-1||a===1))if(i!==l-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(d=n.lastIndexOf("/"),d!==n.length-1){d<0?(n="",r=0):(n=n.slice(0,d),r=n.length-1-n.lastIndexOf("/")),i=l,a=0;continue}}else if(n.length>0){n="",r=0,i=l,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,a=0}else u===46&&a>-1?a++:a=-1}return n}function nu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const fX={cwd:pX};function pX(){return"/"}function Ix(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function mX(e){if(typeof e=="string")e=new URL(e);else if(!Ix(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return gX(e)}function gX(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const rg=["history","path","basename","stem","extname","dirname"];class HA{constructor(t){let n;t?Ix(t)?n={path:t}:typeof t=="string"||xX(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":fX.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<rg.length;){const a=rg[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)rg.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Br.basename(this.path):void 0}set basename(t){ig(t,"basename"),sg(t,"basename"),this.path=Br.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Br.dirname(this.path):void 0}set dirname(t){gk(this.basename,"dirname"),this.path=Br.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Br.extname(this.path):void 0}set extname(t){if(sg(t,"extname"),gk(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Br.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Ix(t)&&(t=mX(t)),ig(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Br.basename(this.path,this.extname):void 0}set stem(t){ig(t,"stem"),sg(t,"stem"),this.path=Br.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new mn(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function sg(e,t){if(e&&e.includes(Br.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Br.sep+"`")}function ig(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function gk(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function xX(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const yX=(function(e){const r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a}),vX={}.hasOwnProperty;class R0 extends yX{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=iX()}copy(){const t=new R0;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ng(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(lg("data",this.frozen),this.namespace[t]=n,this):vX.call(this.namespace,t)&&this.namespace[t]||void 0:t?(lg("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Md(t),r=this.parser||this.Parser;return og("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),og("process",this.parser||this.Parser),ag("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,l){const u=Md(t),d=r.parse(u);r.run(d,u,function(p,m,x){if(p||!m||!x)return h(p);const y=m,N=r.stringify(y,x);jX(N)?x.value=N:x.result=N,h(p,x)});function h(p,m){p||!m?l(p):a?a(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),og("processSync",this.parser||this.Parser),ag("processSync",this.compiler||this.Compiler),this.process(t,i),yk("processSync","process",n),r;function i(a,l){n=!0,pk(a),r=l}}
vendor: 7,859 bytes, line 545
545run(t,n,r){xk(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(l,u){const d=Md(n);i.run(t,d,h);function h(p,m,x){const y=m||t;p?u(p):l?l(y):r(void 0,y,x)}}}runSync(t,n){let r=!1,i;return this.run(t,n,a),yk("runSync","run",r),i;function a(l,u){pk(l),i=u,r=!0}}stringify(t,n){this.freeze();const r=Md(n),i=this.compiler||this.Compiler;return ag("stringify",i),xk(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(lg("use",this.frozen),t!=null)if(typeof t=="function")d(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(h){if(typeof h=="function")d(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...m]=h;d(p,m)}else l(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function l(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(h.plugins),h.settings&&(i.settings=ng(!0,i.settings,h.settings))}function u(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const m=h[p];a(m)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function d(h,p){let m=-1,x=-1;for(;++m<r.length;)if(r[m][0]===h){x=m;break}if(x===-1)r.push([h,...p]);else if(p.length>0){let[y,...N]=p;const w=r[x][1];Rx(w)&&Rx(y)&&(y=ng(!0,w,y)),r[x]=[h,y,...N]}}}}const bX=new R0().freeze();function og(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ag(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function lg(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xk(e){if(!Rx(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function yk(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Md(e){return wX(e)?e:new HA(e)}function wX(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function jX(e){return typeof e=="string"||NX(e)}function NX(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const kX="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",vk=[],bk={allowDangerousHtml:!0},SX=/^(https?|ircs?|mailto|xmpp)$/i,CX=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function EX(e){const t=PX(e),n=TX(e);return AX(t.runSync(t.parse(n),n),e)}function PX(e){const t=e.rehypePlugins||vk,n=e.remarkPlugins||vk,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...bk}:bk;return bX().use(lQ).use(n).use(nX,r).use(t)}function TX(e){const t=e.children||"",n=new HA;return typeof t=="string"&&(n.value=t),n}function AX(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,a=t.disallowedElements,l=t.skipHtml,u=t.unwrapDisallowed,d=t.urlTransform||_X;for(const p of CX)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+kX+p.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),_0(e,h),WG(e,{Fragment:s.Fragment,components:i,ignoreInvalidStyle:!0,jsx:s.jsx,jsxs:s.jsxs,passKeys:!0,passNode:!0});function h(p,m,x){if(p.type==="raw"&&x&&typeof m=="number")return l?x.children.splice(m,1):x.children[m]={type:"text",value:p.value},m;if(p.type==="element"){let y;for(y in Jm)if(Object.hasOwn(Jm,y)&&Object.hasOwn(p.properties,y)){const N=p.properties[y],w=Jm[y];(w===null||w.includes(p.tagName))&&(p.properties[y]=d(String(N||""),y,p))}}if(p.type==="element"){let y=n?!n.includes(p.tagName):a?a.includes(p.tagName):!1;if(!y&&r&&typeof m=="number"&&(y=!r(p,m,x)),y&&x&&typeof m=="number")return u&&p.children?x.children.splice(m,1,...p.children):x.children.splice(m,1),m}}}function _X(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||SX.test(e.slice(0,t))?e:""}function wk(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function RX(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function IX(e,t,n){const i=mf((n||{}).ignore||[]),a=MX(t);let l=-1;for(;++l<a.length;)$A(e,"text",u);function u(h,p){let m=-1,x;for(;++m<p.length;){const y=p[m],N=x?x.children:void 0;if(i(y,N?N.indexOf(y):void 0,x))return;x=y}if(x)return d(h,p)}function d(h,p){const m=p[p.length-1],x=a[l][0],y=a[l][1];let N=0;const k=m.children.indexOf(h);let b=!1,E=[];x.lastIndex=0;let C=x.exec(h.value);for(;C;){const T=C.index,I={index:C.index,input:C.input,stack:[...p,h]};let _=y(...C,I);if(typeof _=="string"&&(_=_.length>0?{type:"text",value:_}:void 0),_===!1?x.lastIndex=T+1:(N!==T&&E.push({type:"text",value:h.value.slice(N,T)}),Array.isArray(_)?E.push(..._):_&&E.push(_),N=T+C[0].length,b=!0),!x.global)break;C=x.exec(h.value)}return b?(N<h.value.length&&E.push({type:"text",value:h.value.slice(N)}),m.children.splice(k,1,...E)):E=[h],k+E.length}}function MX(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([OX(i[0]),DX(i[1])])}return t}function OX(e){return typeof e=="string"?new RegExp(RX(e),"g"):e}function DX(e){return typeof e=="function"?e:function(){return e}}const cg="phrasing",ug=["autolink","link","image","label"];function LX(){return{transforms:[HX],enter:{literalAutolink:zX,literalAutolinkEmail:dg,literalAutolinkHttp:dg,literalAutolinkWww:dg},exit:{literalAutolink:$X,literalAutolinkEmail:UX,literalAutolinkHttp:BX,literalAutolinkWww:VX}}}function FX(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:cg,notInConstruct:ug},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:cg,notInConstruct:ug},{character:":",before:"[ps]",after:"\\/",inConstruct:cg,notInConstruct:ug}]}}function zX(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function dg(e){this.config.enter.autolinkProtocol.call(this,e)}function BX(e){this.config.exit.autolinkProtocol.call(this,e)}function VX(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function UX(e){this.config.exit.autolinkEmail.call(this,e)}function $X(e){this.exit(e)}function HX(e){IX(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,WX],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
545)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),qX]],{ignore:["link","linkReference"]})}function WX(e,t,n,r,i){let a="";if(!WA(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!GX(n)))return!1;const l=YX(n+r);if(!l[0])return!1;const u={type:"link",title:null,url:a+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[u,{type:"text",value:l[1]}]:u}function qX(e,t,n,r){return!WA(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function GX(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function YX(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=wk(e,"(");let a=wk(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function WA(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||yo(n)||hf(n))&&(!t||n!==47)}qA.peek=rJ;function KX(){this.buffer()}function QX(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function XX(){this.buffer()}function JX(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ZX(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Er(this.sliceSerialize(e)).toLowerCase(),n.label=t}function eJ(e){this.exit(e)}function tJ(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Er(this.sliceSerialize(e)).toLowerCase(),n.label=t}function nJ(e){this.exit(e)}function rJ(){return"["}function qA(e,t,n,r){const i=n.createTracker(r);let a=i.move("[^");const l=n.enter("footnoteReference"),u=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),u(),l(),a+=i.move("]"),a}function sJ(){return{enter:{gfmFootnoteCallString:KX,gfmFootnoteCall:QX,gfmFootnoteDefinitionLabelString:XX,gfmFootnoteDefinition:JX},exit:{gfmFootnoteCallString:ZX,gfmFootnoteCall:eJ,gfmFootnoteDefinitionLabelString:tJ,gfmFootnoteDefinition:nJ}}}function iJ(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:qA},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,a,l){const u=a.createTracker(l);let d=u.move("[^");const h=a.enter("footnoteDefinition"),p=a.enter("label");return d+=u.move(a.safe(a.associationId(r),{before:d,after:"]"})),p(),d+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),d+=u.move((t?`
546`:" ")+a.indentLines(a.containerFlow(r,u.current()),t?GA:oJ))),h(),d}}function oJ(e,t,n){return t===0?e:GA(e,t,n)}function GA(e,t,n){return(n?"":"    ")+e}const aJ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];I0.attention=hJ;I0.peek=fJ;function lJ(){return{canContainEols:["delete"],enter:{strikethrough:uJ},exit:{strikethrough:dJ}}}function cJ(){return{handlers:{delete:I0},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:aJ}]}}function uJ(e){this.enter({type:"delete",children:[],position:void 0},e)}function dJ(e){this.exit(e)}function I0(e,t,n,r){const i=n.createTracker(r),a=n.stack.includes("strikethrough")?"~":"~~",l=n.enter("strikethrough");let u=i.move(a);return u+=n.containerPhrasing(e,{...i.current(),before:u,after:"~"}),u+=i.move(a),l(),u}function hJ(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function fJ(){return"~"}function pJ(e){return e.length}function mJ(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||pJ,a=[],l=[],u=[],d=[];let h=0,p=-1;for(;++p<e.length;){const w=[],k=[];let b=-1;for(e[p].length>h&&(h=e[p].length);++b<e[p].length;){const E=gJ(e[p][b]);if(n.alignDelimiters!==!1){const C=i(E);k[b]=C,(d[b]===void 0||C>d[b])&&(d[b]=C)}w.push(E)}l[p]=w,u[p]=k}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<h;)a[m]=jk(r[m]);else{const w=jk(r);for(;++m<h;)a[m]=w}m=-1;const x=[],y=[];for(;++m<h;){const w=a[m];let k="",b="";w===99?(k=":",b=":"):w===108?k=":":w===114&&(b=":");let E=n.alignDelimiters===!1?1:Math.max(1,d[m]-k.length-b.length);const C=k+"-".repeat(E)+b;n.alignDelimiters!==!1&&(E=k.length+E+b.length,E>d[m]&&(d[m]=E),y[m]=E),x[m]=C}l.splice(1,0,x),u.splice(1,0,y),p=-1;const N=[];for(;++p<l.length;){const w=l[p],k=u[p];m=-1;const b=[];for(;++m<h;){const E=w[m]||"";let C="",T="";
vendor: 14,062 bytes, lines 546-560
546if(n.alignDelimiters!==!1){const I=d[m]-(k[m]||0),_=a[m];_===114?C=" ".repeat(I):_===99?I%2?(C=" ".repeat(I/2+.5),T=" ".repeat(I/2-.5)):(C=" ".repeat(I/2),T=C):T=" ".repeat(I)}n.delimiterStart!==!1&&!m&&b.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&E==="")&&(n.delimiterStart!==!1||m)&&b.push(" "),n.alignDelimiters!==!1&&b.push(C),b.push(E),n.alignDelimiters!==!1&&b.push(T),n.padding!==!1&&b.push(" "),(n.delimiterEnd!==!1||m!==h-1)&&b.push("|")}N.push(n.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return N.join(`
547`)}function gJ(e){return e==null?"":String(e)}function jk(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function xJ(e,t,n,r){const i=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const l=n.indentLines(n.containerFlow(e,a.current()),yJ);return i(),l}function yJ(e,t,n){return">"+(n?"":" ")+e}function vJ(e,t){return Nk(e,t.inConstruct,!0)&&!Nk(e,t.notInConstruct,!1)}function Nk(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function kk(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
548`&&vJ(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
549`}function bJ(e,t){const n=String(e);let r=n.indexOf(t),i=r,a=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>l&&(l=a):a=1,i=r+t.length,r=n.indexOf(t,i);return l}function wJ(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function jJ(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function NJ(e,t,n,r){const i=jJ(n),a=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(wJ(e,n)){const m=n.enter("codeIndented"),x=n.indentLines(a,kJ);return m(),x}const u=n.createTracker(r),d=i.repeat(Math.max(bJ(a,i)+1,3)),h=n.enter("codeFenced");let p=u.move(d);if(e.lang){const m=n.enter(`codeFencedLang${l}`);p+=u.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...u.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${l}`);p+=u.move(" "),p+=u.move(n.safe(e.meta,{before:p,after:`
550`,encode:["`"],...u.current()})),m()}return p+=u.move(`
551`),a&&(p+=u.move(a+`
552`)),p+=u.move(d),h(),p}function kJ(e,t,n){return(n?"":"    ")+e}function M0(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function SJ(e,t,n,r){const i=M0(n),a=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let u=n.enter("label");const d=n.createTracker(r);let h=d.move("[");return h+=d.move(n.safe(n.associationId(e),{before:h,after:"]",...d.current()})),h+=d.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(n.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(u=n.enter("destinationRaw"),h+=d.move(n.safe(e.url,{before:h,after:e.title?" ":`
553`,...d.current()}))),u(),e.title&&(u=n.enter(`title${a}`),h+=d.move(" "+i),h+=d.move(n.safe(e.title,{before:h,after:i,...d.current()})),h+=d.move(i),u()),l(),h}function CJ(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ac(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Eh(e,t,n){const r=Oa(e),i=Oa(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}YA.peek=EJ;function YA(e,t,n,r){const i=CJ(n),a=n.enter("emphasis"),l=n.createTracker(r),u=l.move(i);let d=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()}));const h=d.charCodeAt(0),p=Eh(r.before.charCodeAt(r.before.length-1),h,i);p.inside&&(d=Ac(h)+d.slice(1));const m=d.charCodeAt(d.length-1),x=Eh(r.after.charCodeAt(0),m,i);x.inside&&(d=d.slice(0,-1)+Ac(m));const y=l.move(i);return a(),n.attentionEncodeSurroundingInfo={after:x.outside,before:p.outside},u+d+y}function EJ(e,t,n){return n.options.emphasis||"*"}function PJ(e,t){let n=!1;return _0(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Ax}),!!((!e.depth||e.depth<3)&&k0(e)&&(t.options.setext||n))}function TJ(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(PJ(e,n)){const p=n.enter("headingSetext"),m=n.enter("phrasing"),x=n.containerPhrasing(e,{...a.current(),before:`
554`,after:`
555`});return m(),p(),x+`
556`+(i===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
557`))+1))}const l="#".repeat(i),u=n.enter("headingAtx"),d=n.enter("phrasing");a.move(l+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
558`,...a.current()});return/^[\t ]/.test(h)&&(h=Ac(h.charCodeAt(0))+h.slice(1)),h=h?l+" "+h:l,n.options.closeAtx&&(h+=" "+l),d(),u(),h}KA.peek=AJ;function KA(e){return e.value||""}function AJ(){return"<"}QA.peek=_J;function QA(e,t,n,r){const i=M0(n),a=i==='"'?"Quote":"Apostrophe",l=n.enter("image");let u=n.enter("label");const d=n.createTracker(r);let h=d.move("![");return h+=d.move(n.safe(e.alt,{before:h,after:"]",...d.current()})),h+=d.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),h+=d.move("<"),h+=d.move(n.safe(e.url,{before:h,after:">",...d.current()})),h+=d.move(">")):(u=n.enter("destinationRaw"),h+=d.move(n.safe(e.url,{before:h,after:e.title?" ":")",...d.current()}))),u(),e.title&&(u=n.enter(`title${a}`),h+=d.move(" "+i),h+=d.move(n.safe(e.title,{before:h,after:i,...d.current()})),h+=d.move(i),u()),h+=d.move(")"),l(),h}function _J(){return"!"}XA.peek=RJ;function XA(e,t,n,r){const i=e.referenceType,a=n.enter("imageReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("![");const h=n.safe(e.alt,{before:d,after:"]",...u.current()});d+=u.move(h+"]["),l();const p=n.stack;n.stack=[],l=n.enter("reference");const m=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=p,a(),i==="full"||!h||h!==m?d+=u.move(m+"]"):i==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function RJ(){return"!"}JA.peek=IJ;function JA(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){const l=n.unsafe[a],u=n.compilePattern(l);let d;if(l.atBreak)for(;d=u.exec(r);){let h=d.index;r.charCodeAt(h)===10&&r.charCodeAt(h-1)===13&&h--,r=r.slice(0,h)+" "+r.slice(d.index+1)}}return i+r+i}function IJ(){return"`"}function ZA(e,t){const n=k0(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}e_.peek=MJ;function e_(e,t,n,r){const i=M0(n),a=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let u,d;if(ZA(e,n)){const p=n.stack;n.stack=[],u=n.enter("autolink");let m=l.move("<");return m+=l.move(n.containerPhrasing(e,{before:m,after:">",...l.current()})),m+=l.move(">"),u(),n.stack=p,m}u=n.enter("link"),d=n.enter("label");let h=l.move("[");return h+=l.move(n.containerPhrasing(e,{before:h,after:"](",...l.current()})),h+=l.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=l.move("<"),h+=l.move(n.safe(e.url,{before:h,after:">",...l.current()})),h+=l.move(">")):(d=n.enter("destinationRaw"),h+=l.move(n.safe(e.url,{before:h,after:e.title?" ":")",...l.current()}))),d(),e.title&&(d=n.enter(`title${a}`),h+=l.move(" "+i),h+=l.move(n.safe(e.title,{before:h,after:i,...l.current()})),h+=l.move(i),d()),h+=l.move(")"),u(),h}function MJ(e,t,n){return ZA(e,n)?"<":"["}t_.peek=OJ;function t_(e,t,n,r){const i=e.referenceType,a=n.enter("linkReference");let l=n.enter("label");const u=n.createTracker(r);let d=u.move("[");const h=n.containerPhrasing(e,{before:d,after:"]",...u.current()});d+=u.move(h+"]["),l();const p=n.stack;n.stack=[],l=n.enter("reference");const m=n.safe(n.associationId(e),{before:d,after:"]",...u.current()});return l(),n.stack=p,a(),i==="full"||!h||h!==m?d+=u.move(m+"]"):i==="shortcut"?d=d.slice(0,-1):d+=u.move("]"),d}function OJ(){return"["}function O0(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function DJ(e){const t=O0(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function LJ(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function n_(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function FJ(e,t,n,r){const i=n.enter("list"),a=n.bulletCurrent;let l=e.ordered?LJ(n):O0(n);const u=e.ordered?l==="."?")":".":DJ(n);let d=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(d=!0),n_(n)===l&&p){let m=-1;for(;++m<e.children.length;){const x=e.children[m];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){d=!0;break}}}}d&&(l=u),n.bulletCurrent=l;const h=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=a,i(),h}function zJ(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function BJ(e,t,n,r){const i=zJ(n);let a=n.bulletCurrent||O0(n);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let l=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const u=n.createTracker(r);u.move(a+" ".repeat(l-a.length)),u.shift(l);const d=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,u.current()),p);return d(),h;function p(m,x,y){return x?(y?"":" ".repeat(l))+m:(y?a:a+" ".repeat(l-a.length))+m}}function VJ(e,t,n,r){const i=n.enter("paragraph"),a=n.enter("phrasing"),l=n.containerPhrasing(e,r);return a(),i(),l}const UJ=mf(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function $J(e,t,n,r){return(e.children.some(function(l){return UJ(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function HJ(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}r_.peek=WJ;function r_(e,t,n,r){const i=HJ(n),a=n.enter("strong"),l=n.createTracker(r),u=l.move(i+i);let d=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()}));const h=d.charCodeAt(0),p=Eh(r.before.charCodeAt(r.before.length-1),h,i);p.inside&&(d=Ac(h)+d.slice(1));const m=d.charCodeAt(d.length-1),x=Eh(r.after.charCodeAt(0),m,i);x.inside&&(d=d.slice(0,-1)+Ac(m));const y=l.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:x.outside,before:p.outside},u+d+y}function WJ(e,t,n){return n.options.strong||"*"}function qJ(e,t,n,r){return n.safe(e.value,r)}function GJ(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function YJ(e,t,n){const r=(n_(n)+(n.options.ruleSpaces?" ":"")).repeat(GJ(n));return n.options.ruleSpaces?r.slice(0,-1):r}const s_={blockquote:xJ,break:kk,code:NJ,definition:SJ,emphasis:YA,hardBreak:kk,heading:TJ,html:KA,image:QA,imageReference:XA,inlineCode:JA,link:e_,linkReference:t_,list:FJ,listItem:BJ,paragraph:VJ,root:$J,strong:r_,text:qJ,thematicBreak:YJ};function KJ(){return{enter:{table:QJ,tableData:Sk,tableHeader:Sk,tableRow:JJ},exit:{codeText:ZJ,table:XJ,tableData:hg,tableHeader:hg,tableRow:hg}}}function QJ(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function XJ(e){this.exit(e),this.data.inTable=void 0}function JJ(e){this.enter({type:"tableRow",children:[]},e)}function hg(e){this.exit(e)}function Sk(e){this.enter({type:"tableCell",children:[]},e)}function ZJ(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eZ));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function eZ(e,t){return t==="|"?t:e}function tZ(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
559`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:l,tableCell:d,tableRow:u}};function l(y,N,w,k){return h(p(y,w,k),y.align)}function u(y,N,w,k){const b=m(y,w,k),E=h([b]);return E.slice(0,E.indexOf(`
560`))}
vendor: 5,053 bytes, line 560
560function d(y,N,w,k){const b=w.enter("tableCell"),E=w.enter("phrasing"),C=w.containerPhrasing(y,{...k,before:a,after:a});return E(),b(),C}function h(y,N){return mJ(y,{align:N,alignDelimiters:r,padding:n,stringLength:i})}function p(y,N,w){const k=y.children;let b=-1;const E=[],C=N.enter("table");for(;++b<k.length;)E[b]=m(k[b],N,w);return C(),E}function m(y,N,w){const k=y.children;let b=-1;const E=[],C=N.enter("tableRow");for(;++b<k.length;)E[b]=d(k[b],y,N,w);return C(),E}function x(y,N,w){let k=s_.inlineCode(y,N,w);return w.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function nZ(){return{exit:{taskListCheckValueChecked:Ck,taskListCheckValueUnchecked:Ck,paragraph:sZ}}}function rZ(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iZ}}}function Ck(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function sZ(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,l;for(;++a<i.length;){const u=i[a];if(u.type==="paragraph"){l=u;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function iZ(e,t,n,r){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);a&&u.move(l);let d=s_.listItem(e,t,n,{...r,...u.current()});return a&&(d=d.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),d;function h(p){return p+l}}function oZ(){return[LX(),sJ(),lJ(),KJ(),nZ()]}function aZ(e){return{extensions:[FX(),iJ(e),cJ(),tZ(e),rZ()]}}const lZ={tokenize:pZ,partial:!0},i_={tokenize:mZ,partial:!0},o_={tokenize:gZ,partial:!0},a_={tokenize:xZ,partial:!0},cZ={tokenize:yZ,partial:!0},l_={name:"wwwAutolink",tokenize:hZ,previous:u_},c_={name:"protocolAutolink",tokenize:fZ,previous:d_},ks={name:"emailAutolink",tokenize:dZ,previous:h_},ts={};function uZ(){return{text:ts}}let zi=48;for(;zi<123;)ts[zi]=ks,zi++,zi===58?zi=65:zi===91&&(zi=97);ts[43]=ks;ts[45]=ks;ts[46]=ks;ts[95]=ks;ts[72]=[ks,c_];ts[104]=[ks,c_];ts[87]=[ks,l_];ts[119]=[ks,l_];function dZ(e,t,n){const r=this;let i,a;return l;function l(m){return!Mx(m)||!h_.call(r,r.previous)||D0(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(m))}function u(m){return Mx(m)?(e.consume(m),u):m===64?(e.consume(m),d):n(m)}function d(m){return m===46?e.check(cZ,p,h)(m):m===45||m===95||fn(m)?(a=!0,e.consume(m),d):p(m)}function h(m){return e.consume(m),i=!0,d}function p(m){return a&&i&&jn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function hZ(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!u_.call(r,r.previous)||D0(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(lZ,e.attempt(i_,e.attempt(o_,a),n),n)(l))}function a(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function fZ(e,t,n){const r=this;let i="",a=!1;return l;function l(m){return(m===72||m===104)&&d_.call(r,r.previous)&&!D0(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(m),e.consume(m),u):n(m)}function u(m){if(jn(m)&&i.length<5)return i+=String.fromCodePoint(m),e.consume(m),u;if(m===58){const x=i.toLowerCase();if(x==="http"||x==="https")return e.consume(m),d}return n(m)}function d(m){return m===47?(e.consume(m),a?h:(a=!0,d)):n(m)}function h(m){return m===null||kh(m)||ct(m)||yo(m)||hf(m)?n(m):e.attempt(i_,e.attempt(o_,p),n)(m)}function p(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function pZ(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),a):n(l)}function a(l){return l===null?n(l):t(l)}}function mZ(e,t,n){let r,i,a;return l;function l(h){return h===46||h===95?e.check(a_,d,u)(h):h===null||ct(h)||yo(h)||h!==45&&hf(h)?d(h):(a=!0,e.consume(h),l)}function u(h){return h===95?r=!0:(i=r,r=void 0),e.consume(h),l}function d(h){return i||r||!a?n(h):t(h)}}function gZ(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(a_,t,a)(l):l===null||ct(l)||yo(l)?t(l):(e.consume(l),i)}function a(l){return l===41&&r++,e.consume(l),i}}function xZ(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),a):u===93?(e.consume(u),i):u===60||u===null||ct(u)||yo(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||ct(u)||yo(u)?t(u):r(u)}function a(u){return jn(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):jn(u)?(e.consume(u),l):n(u)}}
vendor: 4,319 bytes, line 560
560function yZ(e,t,n){return r;function r(a){return e.consume(a),i}function i(a){return fn(a)?n(a):t(a)}}function u_(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ct(e)}function d_(e){return!jn(e)}function h_(e){return!(e===47||Mx(e))}function Mx(e){return e===43||e===45||e===46||e===95||fn(e)}function D0(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const vZ={tokenize:EZ,partial:!0};function bZ(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:kZ,continuation:{tokenize:SZ},exit:CZ}},text:{91:{name:"gfmFootnoteCall",tokenize:NZ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:wZ,resolveTo:jZ}}}}function wZ(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const d=r.events[i][1];if(d.type==="labelImage"){l=d;break}if(d.type==="gfmFootnoteCall"||d.type==="labelLink"||d.type==="label"||d.type==="image"||d.type==="link")break}return u;function u(d){if(!l||!l._balanced)return n(d);const h=Er(r.sliceSerialize({start:l.end,end:r.now()}));return h.codePointAt(0)!==94||!a.includes(h.slice(1))?n(d):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),t(d))}}function jZ(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function NZ(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,l;return u;function u(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),d}function d(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(m){if(a>999||m===93&&!l||m===null||m===91||ct(m))return n(m);if(m===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return i.includes(Er(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return ct(m)||(l=!0),a++,e.consume(m),m===92?p:h}function p(m){return m===91||m===92||m===93?(e.consume(m),a++,h):h(m)}}function kZ(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,l=0,u;return d;function d(N){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(N),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(N){return N===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(N),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(N)}function p(N){if(l>999||N===93&&!u||N===null||N===91||ct(N))return n(N);if(N===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return a=Er(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(N),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return ct(N)||(u=!0),l++,e.consume(N),N===92?m:p}function m(N){return N===91||N===92||N===93?(e.consume(N),l++,p):p(N)}function x(N){return N===58?(e.enter("definitionMarker"),e.consume(N),e.exit("definitionMarker"),i.includes(a)||i.push(a),Ze(e,y,"gfmFootnoteDefinitionWhitespace")):n(N)}function y(N){return t(N)}}
vendor: 5,138 bytes, line 560
560function SZ(e,t,n){return e.check(tu,t,e.attempt(vZ,t,n))}function CZ(e){e.exit("gfmFootnoteDefinition")}function EZ(e,t,n){const r=this;return Ze(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(a):n(a)}}function PZ(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,u){let d=-1;for(;++d<l.length;)if(l[d][0]==="enter"&&l[d][1].type==="strikethroughSequenceTemporary"&&l[d][1]._close){let h=d;for(;h--;)if(l[h][0]==="exit"&&l[h][1].type==="strikethroughSequenceTemporary"&&l[h][1]._open&&l[d][1].end.offset-l[d][1].start.offset===l[h][1].end.offset-l[h][1].start.offset){l[d][1].type="strikethroughSequence",l[h][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},l[h][1].start),end:Object.assign({},l[d][1].end)},m={type:"strikethroughText",start:Object.assign({},l[h][1].end),end:Object.assign({},l[d][1].start)},x=[["enter",p,u],["enter",l[h][1],u],["exit",l[h][1],u],["enter",m,u]],y=u.parser.constructs.insideSpan.null;y&&Gn(x,x.length,0,ff(y,l.slice(h+1,d),u)),Gn(x,x.length,0,[["exit",m,u],["enter",l[d][1],u],["exit",l[d][1],u],["exit",p,u]]),Gn(l,h-1,d-h+3,x),d=h+x.length-2;break}}for(d=-1;++d<l.length;)l[d][1].type==="strikethroughSequenceTemporary"&&(l[d][1].type="data");return l}function a(l,u,d){const h=this.previous,p=this.events;let m=0;return x;function x(N){return h===126&&p[p.length-1][1].type!=="characterEscape"?d(N):(l.enter("strikethroughSequenceTemporary"),y(N))}function y(N){const w=Oa(h);if(N===126)return m>1?d(N):(l.consume(N),m++,y);if(m<2&&!n)return d(N);const k=l.exit("strikethroughSequenceTemporary"),b=Oa(N);return k._open=!b||b===2&&!!w,k._close=!w||w===2&&!!b,u(N)}}}class TZ{constructor(){this.map=[],this.index=new Map}add(t,n,r){AZ(this,t,n,r)}consume(t){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const a of i)t.push(a);i=r.pop()}this.map.length=0,this.index.clear()}}function AZ(e,t,n,r){if(n===0&&r.length===0)return;const i=e.index.get(t);if(i){i[1]+=n,i[2].push(...r);return}const a=[t,n,r];e.map.push(a),e.index.set(t,a)}function _Z(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function RZ(){return{flow:{null:{name:"table",tokenize:IZ,resolveAll:MZ}}}}function IZ(e,t,n){const r=this;let i=0,a=0,l;return u;function u(R){let G=r.events.length-1;for(;G>-1;){const{type:Z}=r.events[G][1];if(Z==="lineEnding"||Z==="linePrefix")G--;else break}const B=G>-1?r.events[G][1].type:null,Q=B==="tableHead"||B==="tableRow"?_:d;return Q===_&&r.parser.lazy[r.now().line]?n(R):Q(R)}function d(R){return e.enter("tableHead"),e.enter("tableRow"),h(R)}function h(R){return R===124||(l=!0,a+=1),p(R)}function p(R){return R===null?n(R):Oe(R)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),y):n(R):Qe(R)?Ze(e,p,"whitespace")(R):(a+=1,l&&(l=!1,i+=1),R===124?(e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),l=!0,p):(e.enter("data"),m(R)))}function m(R){return R===null||R===124||ct(R)?(e.exit("data"),p(R)):(e.consume(R),R===92?x:m)}function x(R){return R===92||R===124?(e.consume(R),m):m(R)}function y(R){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(R):(e.enter("tableDelimiterRow"),l=!1,Qe(R)?Ze(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):N(R))}function N(R){return R===45||R===58?k(R):R===124?(l=!0,e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),w):I(R)}function w(R){return Qe(R)?Ze(e,k,"whitespace")(R):k(R)}function k(R){return R===58?(a+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(R),e.exit("tableDelimiterMarker"),b):R===45?(a+=1,b(R)):R===null||Oe(R)?T(R):I(R)}function b(R){return R===45?(e.enter("tableDelimiterFiller"),E(R)):I(R)}function E(R){return R===45?(e.consume(R),E):R===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(R),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(R))}function C(R){return Qe(R)?Ze(e,T,"whitespace")(R):T(R)}function T(R){return R===124?N(R):R===null||Oe(R)?!l||i!==a?I(R):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(R)):I(R)}function I(R){return n(R)}function _(R){return e.enter("tableRow"),V(R)}function V(R){return R===124?(e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),V):R===null||Oe(R)?(e.exit("tableRow"),t(R)):Qe(R
vendor: 5,820 bytes, line 560
560)?Ze(e,V,"whitespace")(R):(e.enter("data"),O(R))}function O(R){return R===null||R===124||ct(R)?(e.exit("data"),V(R)):(e.consume(R),R===92?W:O)}function W(R){return R===92||R===124?(e.consume(R),O):O(R)}}function MZ(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],l=[0,0,0,0],u=!1,d=0,h,p,m;const x=new TZ;for(;++n<e.length;){const y=e[n],N=y[1];y[0]==="enter"?N.type==="tableHead"?(u=!1,d!==0&&(Ek(x,t,d,h,p),p=void 0,d=0),h={type:"table",start:Object.assign({},N.start),end:Object.assign({},N.end)},x.add(n,0,[["enter",h,t]])):N.type==="tableRow"||N.type==="tableDelimiterRow"?(r=!0,m=void 0,a=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,p={type:"tableBody",start:Object.assign({},N.start),end:Object.assign({},N.end)},x.add(n,0,[["enter",p,t]])),i=N.type==="tableDelimiterRow"?2:p?3:1):i&&(N.type==="data"||N.type==="tableDelimiterMarker"||N.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],m=Od(x,t,a,i,void 0,m),a=[0,0,0,0]),l[2]=n)):N.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(l[0]=l[1],m=Od(x,t,a,i,void 0,m)),a=l,l=[a[1],n,0,0])):N.type==="tableHead"?(u=!0,d=n):N.type==="tableRow"||N.type==="tableDelimiterRow"?(d=n,a[1]!==0?(l[0]=l[1],m=Od(x,t,a,i,n,m)):l[1]!==0&&(m=Od(x,t,l,i,n,m)),i=0):i&&(N.type==="data"||N.type==="tableDelimiterMarker"||N.type==="tableDelimiterFiller")&&(l[3]=n)}for(d!==0&&Ek(x,t,d,h,p),x.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=_Z(t.events,n))}return e}function Od(e,t,n,r,i,a){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(a.end=Object.assign({},oa(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const d=oa(t.events,n[1]);if(a={type:l,start:Object.assign({},d),end:Object.assign({},d)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const h=oa(t.events,n[2]),p=oa(t.events,n[3]),m={type:u,start:Object.assign({},h),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const x=t.events[n[2]],y=t.events[n[3]];if(x[1].end=Object.assign({},y[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const N=n[2]+1,w=n[3]-n[2]-1;e.add(N,w,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return i!==void 0&&(a.end=Object.assign({},oa(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Ek(e,t,n,r,i){const a=[],l=oa(t.events,n);i&&(i.end=Object.assign({},l),a.push(["exit",i,t])),r.end=Object.assign({},l),a.push(["exit",r,t]),e.add(n+1,0,a)}function oa(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const OZ={name:"tasklistCheck",tokenize:LZ};function DZ(){return{text:{91:OZ}}}function LZ(e,t,n){const r=this;return i;function i(d){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(d):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),a)}function a(d){return ct(d)?(e.enter("taskListCheckValueUnchecked"),e.consume(d),e.exit("taskListCheckValueUnchecked"),l):d===88||d===120?(e.enter("taskListCheckValueChecked"),e.consume(d),e.exit("taskListCheckValueChecked"),l):n(d)}function l(d){return d===93?(e.enter("taskListCheckMarker"),e.consume(d),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(d)}function u(d){return Oe(d)?t(d):Qe(d)?e.check({tokenize:FZ},t,n)(d):n(d)}}function FZ(e,t,n){return Ze(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function zZ(e){return kA([uZ(),bZ(),PZ(e),RZ(),DZ()])}const BZ={};function VZ(e){const t=this,n=e||BZ,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(zZ(n)),a.push(oZ()),l.push(aZ(n))}function ql(e,t,n="name"){if(!t)return;let r=document.head.querySelector(`meta[${n}="${e}"]`);r||(r=document.createElement("meta"),r.setAttribute(n,e),document.head.appendChild(r)),r.setAttribute("content",t)}function UZ(e){let t=document.head.querySelector('link[rel="canonical"]');t||(t=document.createElement("link"),t.setAttribute("rel","canonical"),document.head.appendChild(t)),t.setAttribute("href",e)}function $Z(e){let t=document.head.querySelector("script[data-article-jsonld]");t||(t=document.createElement("script"),t.setAttribute("type","application/ld+json"),t.setAttribute("data-article-jsonld","true"),document.head.appendChild(t)),t.textContent=JSON.stringify(e)}const HZ={h1:({node:e,...t})=>s.jsx("h2",{className:"text-3xl font-bold text-gray-900 mt-10 mb-5",...t}),h2:({node:e,...t})=>s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mt-10 mb-4",...t}),h3:({node:e,...t})=>s.jsx("h3",{className:"text-xl font-semibold text-gray-900 mt-8 mb-3",...t}),h4:({node:e,...t})=>s.jsx("h4",{className:"text-lg font-semibold text-gray-900 mt-6 mb-3",...t}),p:({node:e,...t})=>s.jsx("p",{className:"text-gray-700 leading-relaxed mb-5 text-lg",...t}),ul:({node:e,...t})=>s.jsx("ul",{className:"list-disc pl-6 mb-5 space-y-2 text-gray-700 text-lg",...t}),ol:({node:e,...t})=>s.jsx("ol",{className:"list-decimal pl-6 mb-5 space-y-2 text-gray-700 text-lg",...t}),li:({node:e,...t})=>s.jsx("li",{className:"leading-relaxed",...t}),a:({node:e,...t})=>s.jsx("a",{className:"text-blue-600 hover:text-blue-700 underline",target:"_blank",rel:"noopener noreferrer",...t}),blockquote:({node:e,...t})=>s.jsx("blockquote",{className:"border-l-4 border-blue-200 pl-6 py-2 my-6 text-gray-700 italic text-lg",...t}),table:({node:e,...t})=>s.jsx("div",{className:"overflow-x-auto my-8 -mx-2 px-2",children:s.jsx("table",{className:"w-full border-collapse border border-gray-200 text-base",...t})}),thead:({node:e,...t})=>s.jsx("thead",{className:"bg-gray-50",...t}),th:({node:e,...t})=>s.jsx("th",{className:"border border-gray-200 px-5 py-3 text-left font-bold text-gray-900",...t}),td:({node:e,...t})=>s.jsx("td",{className:"border border-gray-200 px-5 py-3 text-gray-700 align-top",...t}
560),code:({node:e,...t})=>s.jsx("code",{className:"bg-gray-100 text-blue-700 px-1.5 py-0.5 rounded text-sm font-mono",...t}),pre:({node:e,...t})=>s.jsx("pre",{className:"bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-6",...t}),hr:()=>s.jsx("hr",{className:"my-8 border-gray-200"}),img:({node:e,...t})=>s.jsx("img",{className:"rounded-xl my-6 w-full",alt:"",...t})};function WZ(){const{slug:e}=_S(),[t,n]=S.useState(null),[r,i]=S.useState(!0);if(S.useEffect(()=>{async function l(){i(!0);try{const u=await Hn.entities.BlogPost.filter({slug:e,status:"published"});n(u&&u.length>0?u[0]:null)}catch{n(null)}i(!1)}l()},[e]),S.useEffect(()=>{if(!t)return;const l=t.meta_description||t.excerpt||"";document.title=`${t.title} | Clyn`,ql("description",l),ql("og:title",t.title,"property"),ql("og:description",l,"property"),ql("twitter:title",t.title),ql("twitter:description",l),UZ(`https://clyn.com/blog/${t.slug}`),$Z({"@context":"https://schema.org","@type":"Article",headline:t.title,description:l,datePublished:t.published_date,author:{"@type":"Person",name:"Diana Muturia"},publisher:{"@type":"Organization",name:"Clyn"}})},[t]),r)return s.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:s.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-blue-600 rounded-full animate-spin"})});if(!t)return s.jsx(cA,{});const a=t.author||t.author_name||"Clyn";return s.jsx("article",{className:"bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 lg:px-8 py-16",children:[s.jsxs($e,{to:"/Blog",className:"inline-flex items-center text-blue-600 hover:text-blue-700 font-medium mb-8",children:[s.jsx(zx,{className:"w-4 h-4 mr-2"}),"Back to Blog"]}),s.jsx("h1",{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6 leading-tight",children:t.title}),s.jsxs("div",{className:"flex items-center gap-5 text-gray-500 mb-10 pb-10 border-b border-gray-100",children:[s.jsxs("span",{className:"flex items-center gap-1.5",children:[s.jsx(lI,{className:"w-4 h-4"}),a]}),t.published_date&&s.jsxs("span",{className:"flex items-center gap-1.5",children:[s.jsx(vs,{className:"w-4 h-4"}),Ia(new Date(t.published_date+"T00:00:00"),"MMMM d, yyyy")]})]}),s.jsx(EX,{remarkPlugins:[VZ],components:HZ,children:t.content}),s.jsxs("div",{className:"mt-16 pt-10 border-t border-gray-100 text-center",children:[s.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Ready to verify every turnover?"}),s.jsx("p",{className:"text-gray-600 mb-6 max-w-xl mx-auto",children:"Start free and see how Clyn guides, trains, and verifies your cleaning operations."}),s.jsx("a",{href:"https://rentals.clyn.com/",target:"_blank",rel:"noopener noreferrer",children:s.jsx(Se,{size:"lg",className:"bg-blue-600 hover:bg-blue-700 text-white px-8 py-3 font-semibold shadow-md hover:shadow-lg transition-all duration-300",children:"Start free"})}),s.jsx(qh,{className:"mt-10"})]})]})})}const{Pages:Wi,Layout:Pk,mainPage:qZ}=lA,f_=qZ,GZ=Wi[f_],Bi=({children:e,currentPageName:t})=>Pk?s.jsx(Pk,{currentPageName:t,children:e}):s.jsx(s.Fragment,{children:e}),YZ=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:n,isAuthenticated:r,navigateToLogin:i}=RC();if(t||e)return s.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:s.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return s.jsx(gG,{});if(n.type==="auth_required")return i(),null}return s.jsxs(PO,{children:[s.jsx(zr,{path:"/",element:s.jsx(Bi,{currentPageName:f_,children:s.jsx(GZ,{})})}),s.jsx(zr,{path:"/docs/tutorials/:tutorialSlug",element:s.jsx(Bi,{currentPageName:"Docs",children:s.jsx(Wi.Docs,{})})}),s.jsx(zr,{path:"/docs/tutorials",element:s.jsx(Bi,{currentPageName:"Docs",children:s.jsx(Wi.Docs,{})})}),s.jsx(zr,{path:"/docs/integrations/:integrationSlug",element:s.jsx(Bi,{currentPageName:"Docs",children:s.jsx(Wi.Docs,{})})}),s.jsx(zr,{path:"/docs/integrations",element:s.jsx(Bi,{currentPageName:"Docs",children:s.jsx(Wi.Docs,{})})}),s.jsx(zr,{path:"/blog/:slug",element:s.jsx(Bi,{currentPageName:"Blog",children:s.jsx(WZ,{})})}),Object.entries(Wi).map(([a,l])=>s.jsx(zr,{path:`/${a}`,element:s.jsx(Bi,{currentPageName:a,children:s.jsx(l,{})})},a)),Object.entries(Wi).map(([a])=>s.jsx(zr,{path:`/${a.toLowerCase()}`,element:s.jsx(CO,{to:a==="Home"?"/":`/${a}`,replace:!0})},`${a}-redirect`)),s.jsx(zr,{path:"*",element:s.jsx(cA,{})})]})};function KZ(){return s.jsx(oF,{children:s.jsxs(wM,{client:MM,children:[s.jsxs(DO,{children:[s.jsx(mG,{}),s.jsx(YZ,{})]}),s.jsx(KI,{}),s.jsx(OM,{})]})})}b4.createRoot(document.getElementById("root")).render(s.jsx(KZ,{}));

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.