vendor: 4,527 bytes, lines 1-9
1var zv=e=>{throw TypeError(e)};var nm=(e,t,n)=>t.has(e)||zv("Cannot "+n);var R=(e,t,n)=>(nm(e,t,"read from private field"),n?n.call(e):t.get(e)),be=(e,t,n)=>t.has(e)?zv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),oe=(e,t,n,r)=>(nm(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(nm(e,t,"access private method"),n);var lu=(e,t,n,r)=>({set _(i){oe(e,t,i,n)},get _(){return R(e,t,r)}});function x_(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 c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).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 lg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rm={exports:{}},Va={},sm={exports:{}},Le={};/** 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 Uv;function v_(){if(Uv)return Le;Uv=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"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function v(O){return O===null||typeof O!="object"?null:(O=g&&O[g]||O["@@iterator"],typeof O=="function"?O:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,b={};function S(O,q,ce){this.props=O,this.context=q,this.refs=b,this.updater=ce||N}S.prototype.isReactComponent={},S.prototype.setState=function(O,q){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,q,"setState")},S.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function j(){}j.prototype=S.prototype;function P(O,q,ce){this.props=O,this.context=q,this.refs=b,this.updater=ce||N}var k=P.prototype=new j;k.constructor=P,C(k,S.prototype),k.isPureReactComponent=!0;var T=Array.isArray,A=Object.prototype.hasOwnProperty,U={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function L(O,q,ce){var ue,je={},Pe=null,Z=null;if(q!=null)for(ue in q.ref!==void 0&&(Z=q.ref),q.key!==void 0&&(Pe=""+q.key),q)A.call(q,ue)&&!F.hasOwnProperty(ue)&&(je[ue]=q[ue]);var ge=arguments.length-2;if(ge===1)je.children=ce;else if(1<ge){for(var we=Array(ge),Re=0;Re<ge;Re++)we[Re]=arguments[Re+2];je.children=we}if(O&&O.defaultProps)for(ue in ge=O.defaultProps,ge)je[ue]===void 0&&(je[ue]=ge[ue]);return{$$typeof:e,type:O,key:Pe,ref:Z,props:je,_owner:U.current}}function te(O,q){return{$$typeof:e,type:O.type,key:q,ref:O.ref,props:O.props,_owner:O._owner}}function K(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function B(O){var q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(ce){return q[ce]})}var J=/\/+/g;function se(O,q){return typeof O=="object"&&O!==null&&O.key!=null?B(""+O.key):q.toString(36)}function le(O,q,ce,ue,je){var Pe=typeof O;(Pe==="undefined"||Pe==="boolean")&&(O=null);var Z=!1;if(O===null)Z=!0;else switch(Pe){case"string":case"number":Z=!0;break;case"object":switch(O.$$typeof){case e:case t:Z=!0}}if(Z)return Z=O,je=je(Z),O=ue===""?"."+se(Z,0):ue,T(je)?(ce="",O!=null&&(ce=O.replace(J,"$&/")+"/"),le(je,q,ce,"",function(Re){return Re}
vendor: 9,621 bytes, lines 9-33
9)):je!=null&&(K(je)&&(je=te(je,ce+(!je.key||Z&&Z.key===je.key?"":(""+je.key).replace(J,"$&/")+"/")+O)),q.push(je)),1;if(Z=0,ue=ue===""?".":ue+":",T(O))for(var ge=0;ge<O.length;ge++){Pe=O[ge];var we=ue+se(Pe,ge);Z+=le(Pe,q,ce,we,je)}else if(we=v(O),typeof we=="function")for(O=we.call(O),ge=0;!(Pe=O.next()).done;)Pe=Pe.value,we=ue+se(Pe,ge++),Z+=le(Pe,q,ce,we,je);else if(Pe==="object")throw q=String(O),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.");return Z}function ve(O,q,ce){if(O==null)return O;var ue=[],je=0;return le(O,ue,"","",function(Pe){return q.call(ce,Pe,je++)}),ue}function G(O){if(O._status===-1){var q=O._result;q=q(),q.then(function(ce){(O._status===0||O._status===-1)&&(O._status=1,O._result=ce)},function(ce){(O._status===0||O._status===-1)&&(O._status=2,O._result=ce)}),O._status===-1&&(O._status=0,O._result=q)}if(O._status===1)return O._result.default;throw O._result}var ne={current:null},D={transition:null},W={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:D,ReactCurrentOwner:U};function Y(){throw Error("act(...) is not supported in production builds of React.")}return Le.Children={map:ve,forEach:function(O,q,ce){ve(O,function(){q.apply(this,arguments)},ce)},count:function(O){var q=0;return ve(O,function(){q++}),q},toArray:function(O){return ve(O,function(q){return q})||[]},only:function(O){if(!K(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Le.Component=S,Le.Fragment=n,Le.Profiler=i,Le.PureComponent=P,Le.StrictMode=r,Le.Suspense=f,Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,Le.act=Y,Le.cloneElement=function(O,q,ce){if(O==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+O+".");var ue=C({},O.props),je=O.key,Pe=O.ref,Z=O._owner;if(q!=null){if(q.ref!==void 0&&(Pe=q.ref,Z=U.current),q.key!==void 0&&(je=""+q.key),O.type&&O.type.defaultProps)var ge=O.type.defaultProps;for(we in q)A.call(q,we)&&!F.hasOwnProperty(we)&&(ue[we]=q[we]===void 0&&ge!==void 0?ge[we]:q[we])}var we=arguments.length-2;if(we===1)ue.children=ce;else if(1<we){ge=Array(we);for(var Re=0;Re<we;Re++)ge[Re]=arguments[Re+2];ue.children=ge}return{$$typeof:e,type:O.type,key:je,ref:Pe,props:ue,_owner:Z}},Le.createContext=function(O){return O={$$typeof:c,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},O.Provider={$$typeof:a,_context:O},O.Consumer=O},Le.createElement=L,Le.createFactory=function(O){var q=L.bind(null,O);return q.type=O,q},Le.createRef=function(){return{current:null}},Le.forwardRef=function(O){return{$$typeof:d,render:O}},Le.isValidElement=K,Le.lazy=function(O){return{$$typeof:p,_payload:{_status:-1,_result:O},_init:G}},Le.memo=function(O,q){return{$$typeof:m,type:O,compare:q===void 0?null:q}},Le.startTransition=function(O){var q=D.transition;D.transition={};try{O()}finally{D.transition=q}},Le.unstable_act=Y,Le.useCallback=function(O,q){return ne.current.useCallback(O,q)},Le.useContext=function(O){return ne.current.useContext(O)},Le.useDebugValue=function(){},Le.useDeferredValue=function(O){return ne.current.useDeferredValue(O)},Le.useEffect=function(O,q){return ne.current.useEffect(O,q)},Le.useId=function(){return ne.current.useId()},Le.useImperativeHandle=function(O,q,ce){return ne.current.useImperativeHandle(O,q,ce)},Le.useInsertionEffect=function(O,q){return ne.current.useInsertionEffect(O,q)},Le.useLayoutEffect=function(O,q){return ne.current.useLayoutEffect(O,q)},Le.useMemo=function(O,q){return ne.current.useMemo(O,q)},Le.useReducer=function(O,q,ce){return ne.current.useReducer(O,q,ce)},Le.useRef=function(O){return ne.current.useRef(O)},Le.useState=function(O){return ne.current.useState(O)},Le.useSyncExternalStore=function(O,q,ce){return ne.current.useSyncExternalStore(O,q,ce)},Le.useTransition=function(){return ne.current.useTransition()},Le.version="18.3.1",Le}var $v;function cg(){return $v||($v=1,sm.exports=v_()),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 Hv;function w_(){if(Hv)return Va;Hv=1;var e=cg(),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 c(d,f,m){var p,g={},v=null,N=null;m!==void 0&&(v=""+m),f.key!==void 0&&(v=""+f.key),f.ref!==void 0&&(N=f.ref);for(p in f)r.call(f,p)&&!a.hasOwnProperty(p)&&(g[p]=f[p]);if(d&&d.defaultProps)for(p in f=d.defaultProps,f)g[p]===void 0&&(g[p]=f[p]);return{$$typeof:t,type:d,key:v,ref:N,props:g,_owner:i.current}}return Va.Fragment=n,Va.jsx=c,Va.jsxs=c,Va}var Wv;function b_(){return Wv||(Wv=1,rm.exports=w_()),rm.exports}var l=b_(),x=cg();const fs=lg(x),ug=x_({__proto__:null,default:fs},[x]);var cu={},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 qv;function S_(){return qv||(qv=1,(function(e){function t(D,W){var Y=D.length;D.push(W);e:for(;0<Y;){var O=Y-1>>>1,q=D[O];if(0<i(q,W))D[O]=W,D[Y]=q,Y=O;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var W=D[0],Y=D.pop();if(Y!==W){D[0]=Y;e:for(var O=0,q=D.length,ce=q>>>1;O<ce;){var ue=2*(O+1)-1,je=D[ue],Pe=ue+1,Z=D[Pe];if(0>i(je,Y))Pe<q&&0>i(Z,je)?(D[O]=Z,D[Pe]=Y,O=Pe):(D[O]=je,D[ue]=Y,O=ue);else if(Pe<q&&0>i(Z,Y))D[O]=Z,D[Pe]=Y,O=Pe;else break e}}return W}function i(D,W){var Y=D.sortIndex-W.sortIndex;return Y!==0?Y:D.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],m=[],p=1,g=null,v=3,N=!1,C=!1,b=!1,S=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(D){for(var W=n(m);W!==null;){if(W.callback===null)r(m);else if(W.startTime<=D)r(m),W.sortIndex=W.expirationTime,t(f,W);else break;W=n(m)}}function T(D){if(b=!1,k(D),!C)if(n(f)!==null)C=!0,G(A);else{var W=n(m);W!==null&&ne(T,W.startTime-D)}}function A(D,W){C=!1,b&&(b=!1,j(L),L=-1),N=!0;var Y=v;try{for(k(W),g=n(f);g!==null&&(!(g.expirationTime>W)||D&&!B());){var O=g.callback;if(typeof O=="function"){g.callback=null,v=g.priorityLevel;var q=O(g.expirationTime<=W);W=e.unstable_now(),typeof q=="function"?g.callback=q:g===n(f)&&r(f),k(W)}else r(f);g=n(f)}if(g!==null)var ce=!0;else{var ue=n(m);ue!==null&&ne(T,ue.startTime-W),ce=!1}return ce}finally{g=null,v=Y,N=!1}}var U=!1,F=null,L=-1,te=5,K=-1;function B(){return!(e.unstable_now()-K<te)}function J(){if(F!==null){var D=e.unstable_now();K=D;var W=!0;try{W=F(!0,D)}finally{W?se():(U=!1,F=null)}}else U=!1}var se;if(typeof P=="function")se=function(){P(J)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ve=le.port2;le.port1.onmessage=J,se=function(){ve.postMessage(null)}}else se=function(){S(J,0)};function G(D){F=D,U||(U=!0,se())}function ne(D,W){L=S(function(){D(e.unstable_now())},W)}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(D){D.callback=null},e.unstable_continueExecution=function(){C||N||(C=!0,G(A))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(D){switch(v){case 1:case 2:case 3:var W=3;break;default:W=v}var Y=v;v=W;try{return D()}finally{v=Y}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,W){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var Y=v;v=D;try{return W()}finally{v=Y}},e.unstable_scheduleCallback=function(D,W,Y){var O=e.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?O+Y:O):Y=O,D){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=Y+q,D={id:p++,callback:W,priorityLevel:D,startTime:Y,expirationTime:q,sortIndex:-1},Y>O?(D.sortIndex=Y,t(m,D),n(f)===null&&D===n(m)&&(b?(j(L),L=-1):b=!0,ne(T,Y-O))):(D.sortIndex=q,t(f,D),C||N||(C=!0,G(A))),D},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(D){var W=v;return function(){var Y=v;v=W;try{return D.apply(this,arguments)}finally{v=Y}}}})(am)),am}var Kv;function N_(){return Kv||(Kv=1,om.exports=S_()),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 Gv;
vendor: 47,804 bytes, lines 33-38
33function C_(){if(Gv)return tn;Gv=1;var e=cg(),t=N_();function n(s){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+s,u=1;u<arguments.length;u++)o+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+s+"; visit "+o+" 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(s,o){c(s,o),c(s+"Capture",o)}function c(s,o){for(i[s]=o,s=0;s<o.length;s++)r.add(o[s])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},g={};function v(s){return f.call(g,s)?!0:f.call(p,s)?!1:m.test(s)?g[s]=!0:(p[s]=!0,!1)}function N(s,o,u,h){if(u!==null&&u.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return h?!1:u!==null?!u.acceptsBooleans:(s=s.toLowerCase().slice(0,5),s!=="data-"&&s!=="aria-");default:return!1}}function C(s,o,u,h){if(o===null||typeof o>"u"||N(s,o,u,h))return!0;if(h)return!1;if(u!==null)switch(u.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function b(s,o,u,h,y,w,E){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=h,this.attributeNamespace=y,this.mustUseProperty=u,this.propertyName=s,this.type=o,this.sanitizeURL=w,this.removeEmptyString=E}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(s){S[s]=new b(s,0,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var o=s[0];S[o]=new b(o,1,!1,s[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){S[s]=new b(s,2,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){S[s]=new b(s,2,!1,s,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(s){S[s]=new b(s,3,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){S[s]=new b(s,3,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){S[s]=new b(s,4,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){S[s]=new b(s,6,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){S[s]=new b(s,5,!1,s.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function P(s){return s[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(s){var o=s.replace(j,P);S[o]=new b(o,1,!1,s,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(s){var o=s.replace(j,P);S[o]=new b(o,1,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var o=s.replace(j,P);S[o]=new b(o,1,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){S[s]=new b(s,1,!1,s.toLowerCase(),null,!1,!1)}),S.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){S[s]=new b(s,1,!1,s.toLowerCase(),null,!0,!0)});function k(s,o,u,h){var y=S.hasOwnProperty(o)?S[o]:null;(y!==null?y.type!==0:h||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(C(o,u,y,h)&&(u=null),h||y===null?v(o)&&(u===null?s.removeAttribute(o):s.setAttribute(o,""+u)):y.mustUseProperty?s[y.propertyName]=u===null?y.type===3?!1:"":u:(o=y.attributeName,h=y.attributeNamespace,u===null?s.removeAttribute(o):(y=y.type,u=y===3||y===4&&u===!0?"":""+u,h?s.setAttributeNS(h,o,u):s.setAttribute(o,u))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=Symbol.for("react.element"),U=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),K=Symbol.for("react.provider"),B=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),ve=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),D=Symbol.iterator;function W(s){return s===null||typeof s!="object"?null:(s=D&&s[D]||s["@@iterator"],typeof s=="function"?s:null)}var Y=Object.assign,O;function q(s){if(O===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);O=o&&o[1]||""}return` 34`+O+s}var ce=!1;function ue(s,o){if(!s||ce)return"";ce=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch($){var h=$}Reflect.construct(s,[],o)}else{try{o.call()}catch($){h=$}s.call(o.prototype)}else{try{throw Error()}catch($){h=$}s()}}catch($){if($&&h&&typeof $.stack=="string"){for(var y=$.stack.split(` 35`),w=h.stack.split(` 36`),E=y.length-1,_=w.length-1;1<=E&&0<=_&&y[E]!==w[_];)_--;for(;1<=E&&0<=_;E--,_--)if(y[E]!==w[_]){if(E!==1||_!==1)do if(E--,_--,0>_||y[E]!==w[_]){var M=` 37`+y[E].replace(" at new "," at ");return s.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",s.displayName)),M}while(1<=E&&0<=_);break}}}finally{ce=!1,Error.prepareStackTrace=u}return(s=s?s.displayName||s.name:"")?q(s):""}function je(s){switch(s.tag){case 5:return q(s.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return s=ue(s.type,!1),s;case 11:return s=ue(s.type.render,!1),s;case 1:return s=ue(s.type,!0),s;default:return""}}function Pe(s){if(s==null)return null;if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case F:return"Fragment";case U:return"Portal";case te:return"Profiler";case L:return"StrictMode";case se:return"Suspense";case le:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case B:return(s.displayName||"Context")+".Consumer";case K:return(s._context.displayName||"Context")+".Provider";case J:var o=s.render;return s=s.displayName,s||(s=o.displayName||o.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case ve:return o=s.displayName||null,o!==null?o:Pe(s.type)||"Memo";case G:o=s._payload,s=s._init;try{return Pe(s(o))}catch{}}return null}function Z(s){var o=s.type;switch(s.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return s=o.render,s=s.displayName||s.name||"",o.displayName||(s!==""?"ForwardRef("+s+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pe(o);case 8:return o===L?"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 o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function ge(s){switch(typeof s){case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function we(s){var o=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Re(s){var o=we(s)?"checked":"value",u=Object.getOwnPropertyDescriptor(s.constructor.prototype,o),h=""+s[o];if(!s.hasOwnProperty(o)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var y=u.get,w=u.set;return Object.defineProperty(s,o,{configurable:!0,get:function(){return y.call(this)},set:function(E){h=""+E,w.call(this,E)}}),Object.defineProperty(s,o,{enumerable:u.enumerable}),{getValue:function(){return h},setValue:function(E){h=""+E},stopTracking:function(){s._valueTracker=null,delete s[o]}}}}function Be(s){s._valueTracker||(s._valueTracker=Re(s))}function Ve(s){if(!s)return!1;var o=s._valueTracker;if(!o)return!0;var u=o.getValue(),h="";return s&&(h=we(s)?s.checked?"true":"false":s.value),s=h,s!==u?(o.setValue(s),!0):!1}function St(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}function Qt(s,o){var u=o.checked;return Y({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??s._wrapperState.initialChecked})}function Ur(s,o){var u=o.defaultValue==null?"":o.defaultValue,h=o.checked!=null?o.checked:o.defaultChecked;u=ge(o.value!=null?o.value:u),s._wrapperState={initialChecked:h,initialValue:u,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function $r(s,o){o=o.checked,o!=null&&k(s,"checked",o,!1)}function gr(s,o){$r(s,o);var u=ge(o.value),h=o.type;if(u!=null)h==="number"?(u===0&&s.value===""||s.value!=u)&&(s.value=""+u):s.value!==""+u&&(s.value=""+u);else if(h==="submit"||h==="reset"){s.removeAttribute("value");return}o.hasOwnProperty("value")?Hr(s,o.type,u):o.hasOwnProperty("defaultValue")&&Hr(s,o.type,ge(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(s.defaultChecked=!!o.defaultChecked)}function Zl(s,o,u){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var h=o.type;if(!(h!=="submit"&&h!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+s._wrapperState.initialValue,u||o===s.value||(s.value=o),s.defaultValue=o}u=s.name,u!==""&&(s.name=""),s.defaultChecked=!!s._wrapperState.initialChecked,u!==""&&(s.name=u)}function Hr(s,o,u){(o!=="number"||St(s.ownerDocument)!==s)&&(u==null?s.defaultValue=""+s._wrapperState.initialValue:s.defaultValue!==""+u&&(s.defaultValue=""+u))}var ta=Array.isArray;function Ii(s,o,u,h){if(s=s.options,o){o={};for(var y=0;y<u.length;y++)o["$"+u[y]]=!0;for(u=0;u<s.length;u++)y=o.hasOwnProperty("$"+s[u].value),s[u].selected!==y&&(s[u].selected=y),y&&h&&(s[u].defaultSelected=!0)}else{for(u=""+ge(u),o=null,y=0;y<s.length;y++){if(s[y].value===u){s[y].selected=!0,h&&(s[y].defaultSelected=!0);return}o!==null||s[y].disabled||(o=s[y])}o!==null&&(o.selected=!0)}}function ff(s,o){if(o.dangerouslySetInnerHTML!=null)throw Error(n(91));return Y({},o,{value:void 0,defaultValue:void 0,children:""+s._wrapperState.initialValue})}function Xy(s,o){var u=o.value;if(u==null){if(u=o.children,o=o.defaultValue,u!=null){if(o!=null)throw Error(n(92));if(ta(u)){if(1<u.length)throw Error(n(93));u=u[0]}o=u}o==null&&(o=""),u=o}s._wrapperState={initialValue:ge(u)}}function Jy(s,o){var u=ge(o.value),h=ge(o.defaultValue);u!=null&&(u=""+u,u!==s.value&&(s.value=u),o.defaultValue==null&&s.defaultValue!==u&&(s.defaultValue=u)),h!=null&&(s.defaultValue=""+h)}function Zy(s){var o=s.textContent;o===s._wrapperState.initialValue&&o!==""&&o!==null&&(s.value=o)}function e0(s){switch(s){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 hf(s,o){return s==null||s==="http://www.w3.org/1999/xhtml"?e0(o):s==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":s}var ec,t0=(function(s){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,u,h,y){MSApp.execUnsafeLocalFunction(function(){return s(o,u,h,y)})}:s})(function(s,o){if(s.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in s)s.innerHTML=o;else{for(ec=ec||document.createElement("div"),ec.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ec.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;o.firstChild;)s.appendChild(o.firstChild)}});function na(s,o){if(o){var u=s.firstChild;if(u&&u===s.lastChild&&u.nodeType===3){u.nodeValue=o;return}}s.textContent=o}var ra={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},S2=["Webkit","ms","Moz","O"];Object.keys(ra).forEach(function(s){S2.forEach(function(o){o=o+s.charAt(0).toUpperCase()+s.substring(1),ra[o]=ra[s]})});function n0(s,o,u){return o==null||typeof o=="boolean"||o===""?"":u||typeof o!="number"||o===0||ra.hasOwnProperty(s)&&ra[s]?(""+o).trim():o+"px"}function r0(s,o){s=s.style;for(var u in o)if(o.hasOwnProperty(u)){var h=u.indexOf("--")===0,y=n0(u,o[u],h);u==="float"&&(u="cssFloat"),h?s.setProperty(u,y):s[u]=y}}var N2=Y({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 mf(s,o){if(o){if(N2[s]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(n(137,s));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(n(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(n(61))}if(o.style!=null&&typeof o.style!="object")throw Error(n(62))}}function pf(s,o){if(s.indexOf("-")===-1)return typeof o.is=="string";switch(s){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 gf=null;function yf(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var xf=null,Li=null,Fi=null;function s0(s){if(s=ja(s)){if(typeof xf!="function")throw Error(n(280));var o=s.stateNode;o&&(o=Nc(o),xf(s.stateNode,s.type,o))}}function i0(s){Li?Fi?Fi.push(s):Fi=[s]:Li=s}function o0(){if(Li){var s=Li,o=Fi;if(Fi=Li=null,s0(s),o)for(s=0;s<o.length;s++)s0(o[s])}}function a0(s,o){return s(o)}function l0(){}var vf=!1;function c0(s,o,u){if(vf)return s(o,u);vf=!0;try{return a0(s,o,u)}finally{vf=!1,(Li!==null||Fi!==null)&&(l0(),o0())}}function sa(s,o){var u=s.stateNode;if(u===null)return null;var h=Nc(u);if(h===null)return null;u=h[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(s=s.type,h=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!h;break e;default:s=!1}if(s)return null;if(u&&typeof u!="function")throw Error(n(231,o,typeof u));return u}var wf=!1;if(d)try{var ia={};Object.defineProperty(ia,"passive",{get:function(){wf=!0}}),window.addEventListener("test",ia,ia),window.removeEventListener("test",ia,ia)}catch{wf=!1}function C2(s,o,u,h,y,w,E,_,M){var $=Array.prototype.slice.call(arguments,3);try{o.apply(u,$)}catch(X){this.onError(X)}}var oa=!1,tc=null,nc=!1,bf=null,j2={onError:function(s){oa=!0,tc=s}};function E2(s,o,u,h,y,w,E,_,M){oa=!1,tc=null,C2.apply(j2,arguments)}function k2(s,o,u,h,y,w,E,_,M){if(E2.apply(this,arguments),oa){if(oa){var $=tc;oa=!1,tc=null}else throw Error(n(198));nc||(nc=!0,bf=$)}}function Bs(s){var o=s,u=s;if(s.alternate)for(;o.return;)o=o.return;else{s=o;do o=s,(o.flags&4098)!==0&&(u=o.return),s=o.return;while(s)}return o.tag===3?u:null}function u0(s){if(s.tag===13){var o=s.memoizedState;if(o===null&&(s=s.alternate,s!==null&&(o=s.memoizedState)),o!==null)return o.dehydrated}return null}function d0(s){if(Bs(s)!==s)throw Error(n(188))}function P2(s){var o=s.alternate;if(!o){if(o=Bs(s),o===null)throw Error(n(188));return o!==s?null:s}for(var u=s,h=o;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){if(h=y.return,h!==null){u=h;continue}break}if(y.child===w.child){for(w=y.child;w;){if(w===u)return d0(y),s;if(w===h)return d0(y),o;w=w.sibling}throw Error(n(188))}if(u.return!==h.return)u=y,h=w;else{for(var E=!1,_=y.child;_;){if(_===u){E=!0,u=y,h=w;break}if(_===h){E=!0,h=y,u=w;break}_=_.sibling}if(!E){for(_=w.child;_;){if(_===u){E=!0,u=w,h=y;break}if(_===h){E=!0,h=w,u=y;break}_=_.sibling}if(!E)throw Error(n(189))}}if(u.alternate!==h)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?s:o}function f0(s){return s=P2(s),s!==null?h0(s):null}function h0(s){if(s.tag===5||s.tag===6)return s;for(s=s.child;s!==null;){var o=h0(s);if(o!==null)return o;s=s.sibling}return null}var m0=t.unstable_scheduleCallback,p0=t.unstable_cancelCallback,T2=t.unstable_shouldYield,_2=t.unstable_requestPaint,ut=t.unstable_now,R2=t.unstable_getCurrentPriorityLevel,Sf=t.unstable_ImmediatePriority,g0=t.unstable_UserBlockingPriority,rc=t.unstable_NormalPriority,A2=t.unstable_LowPriority,y0=t.unstable_IdlePriority,sc=null,Qn=null;function M2(s){if(Qn&&typeof Qn.onCommitFiberRoot=="function")try{Qn.onCommitFiberRoot(sc,s,void 0,(s.current.flags&128)===128)}catch{}}var Rn=Math.clz32?Math.clz32:I2,O2=Math.log,D2=Math.LN2;function I2(s){return s>>>=0,s===0?32:31-(O2(s)/D2|0)|0}var ic=64,oc=4194304;function aa(s){switch(s&-s){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 s&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return s&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return s}}function ac(s,o){var u=s.pendingLanes;if(u===0)return 0;var h=0,y=s.suspendedLanes,w=s.pingedLanes,E=u&268435455;if(E!==0){var _=E&~y;_!==0?h=aa(_):(w&=E,w!==0&&(h=aa(w)))}else E=u&~y,E!==0?h=aa(E):w!==0&&(h=aa(w));if(h===0)return 0;if(o!==0&&o!==h&&(o&y)===0&&(y=h&-h,w=o&-o,y>=w||y===16&&(w&4194240)!==0))return o;if((h&4)!==0&&(h|=u&16),o=s.entangledLanes,o!==0)for(s=s.entanglements,o&=h;0<o;)u=31-Rn(o),y=1<<u,h|=s[u],o&=~y;return h}function L2(s,o){switch(s){case 1:case 2:case 4:return o+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 o+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 F2(s,o){for(var u=s.suspendedLanes,h=s.pingedLanes,y=s.expirationTimes,w=s.pendingLanes;0<w;){var E=31-Rn(w),_=1<<E,M=y[E];M===-1?((_&u)===0||(_&h)!==0)&&(y[E]=L2(_,o)):M<=o&&(s.expiredLanes|=_),w&=~_}}function Nf(s){return s=s.pendingLanes&-1073741825,s!==0?s:s&1073741824?1073741824:0}function x0(){var s=ic;return ic<<=1,(ic&4194240)===0&&(ic=64),s}function Cf(s){for(var o=[],u=0;31>u;u++)o.push(s);return o}function la(s,o,u){s.pendingLanes|=o,o!==536870912&&(s.suspendedLanes=0,s.pingedLanes=0),s=s.eventTimes,o=31-Rn(o),s[o]=u}function B2(s,o){var u=s.pendingLanes&~o;s.pendingLanes=o,s.suspendedLanes=0,s.pingedLanes=0,s.expiredLanes&=o,s.mutableReadLanes&=o,s.entangledLanes&=o,o=s.entanglements;var h=s.eventTimes;for(s=s.expirationTimes;0<u;){var y=31-Rn(u),w=1<<y;o[y]=0,h[y]=-1,s[y]=-1,u&=~w}}function jf(s,o){var u=s.entangledLanes|=o;for(s=s.entanglements;u;){var h=31-Rn(u),y=1<<h;y&o|s[h]&o&&(s[h]|=o),u&=~y}}var Ke=0;function v0(s){return s&=-s,1<s?4<s?(s&268435455)!==0?16:536870912:4:1}var w0,Ef,b0,S0,N0,kf=!1,lc=[],Wr=null,qr=null,Kr=null,ca=new Map,ua=new Map,Gr=[],V2="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 C0(s,o){switch(s){case"focusin":case"focusout":Wr=null;break;case"dragenter":case"dragleave":qr=null;break;case"mouseover":case"mouseout":Kr=null;break;case"pointerover":case"pointerout":ca.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":ua.delete(o.pointerId)}}function da(s,o,u,h,y,w){return s===null||s.nativeEvent!==w?(s={blockedOn:o,domEventName:u,eventSystemFlags:h,nativeEvent:w,targetContainers:[y]},o!==null&&(o=ja(o),o!==null&&Ef(o)),s):(s.eventSystemFlags|=h,o=s.targetContainers,y!==null&&o.indexOf(y)===-1&&o.push(y),s)}function z2(s,o,u,h,y){switch(o){case"focusin":return Wr=da(Wr,s,o,u,h,y),!0;case"dragenter":return qr=da(qr,s,o,u,h,y),!0;case"mouseover":return Kr=da(Kr,s,o,u,h,y),!0;case"pointerover":var w=y.pointerId;return ca.set(w,da(ca.get(w)||null,s,o,u,h,y)),!0;case"gotpointercapture":return w=y.pointerId,ua.set(w,da(ua.get(w)||null,s,o,u,h,y)),!0}return!1}function j0(s){var o=Vs(s.target);if(o!==null){var u=Bs(o);if(u!==null){if(o=u.tag,o===13){if(o=u0(u),o!==null){s.blockedOn=o,N0(s.priority,function(){b0(u)});return}}else if(o===3&&u.stateNode.current.memoizedState.isDehydrated){s.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}s.blockedOn=null}function cc(s){if(s.blockedOn!==null)return!1;for(var o=s.targetContainers;0<o.length;){var u=Tf(s.domEventName,s.eventSystemFlags,o[0],s.nativeEvent);if(u===null){u=s.nativeEvent;var h=new u.constructor(u.type,u);gf=h,u.target.dispatchEvent(h),gf=null}else return o=ja(u),o!==null&&Ef(o),s.blockedOn=u,!1;o.shift()}return!0}function E0(s,o,u){cc(s)&&u.delete(o)}function U2(){kf=!1,Wr!==null&&cc(Wr)&&(Wr=null),qr!==null&&cc(qr)&&(qr=null),Kr!==null&&cc(Kr)&&(Kr=null),ca.forEach(E0),ua.forEach(E0)}function fa(s,o){s.blockedOn===o&&(s.blockedOn=null,kf||(kf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,U2)))}function ha(s){function o(y){return fa(y,s)}if(0<lc.length){fa(lc[0],s);for(var u=1;u<lc.length;u++){var h=lc[u];h.blockedOn===s&&(h.blockedOn=null)}}for(Wr!==null&&fa(Wr,s),qr!==null&&fa(qr,s),Kr!==null&&fa(Kr,s),ca.forEach(o),ua.forEach(o),u=0;u<Gr.length;u++)h=Gr[u],h.blockedOn===s&&(h.blockedOn=null);for(;0<Gr.length&&(u=Gr[0],u.blockedOn===null);)j0(u),u.blockedOn===null&&Gr.shift()}var Bi=T.ReactCurrentBatchConfig,uc=!0;function $2(s,o,u,h){var y=Ke,w=Bi.transition;Bi.transition=null;try{Ke=1,Pf(s,o,u,h)}finally{Ke=y,Bi.transition=w}}function H2(s,o,u,h){var y=Ke,w=Bi.transition;Bi.transition=null;try{Ke=4,Pf(s,o,u,h)}finally{Ke=y,Bi.transition=w}}function Pf(s,o,u,h){if(uc){var y=Tf(s,o,u,h);if(y===null)qf(s,o,h,dc,u),C0(s,h);else if(z2(y,s,o,u,h))h.stopPropagation();else if(C0(s,h),o&4&&-1<V2.indexOf(s)){for(;y!==null;){var w=ja(y);if(w!==null&&w0(w),w=Tf(s,o,u,h),w===null&&qf(s,o,h,dc,u),w===y)break;y=w}y!==null&&h.stopPropagation()}else qf(s,o,h,null,u)}}var dc=null;function Tf(s,o,u,h){if(dc=null,s=yf(h),s=Vs(s),s!==null)if(o=Bs(s),o===null)s=null;else if(u=o.tag,u===13){if(s=u0(o),s!==null)return s;s=null}else if(u===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;s=null}else o!==s&&(s=null);return dc=s,null}function k0(s){switch(s){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(R2()){case Sf:return 1;case g0:return 4;case rc:case A2:return 16;case y0:return 536870912;default:return 16}default:return 16}}var Qr=null,_f=null,fc=null;function P0(){if(fc)return fc;var s,o=_f,u=o.length,h,y="value"in Qr?Qr.value:Qr.textContent,w=y.length;for(s=0;s<u&&o[s]===y[s];s++);var E=u-s;for(h=1;h<=E&&o[u-h]===y[w-h];h++);return fc=y.slice(s,1<h?1-h:void 0)}function hc(s){var o=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&o===13&&(s=13)):s=o,s===10&&(s=13),32<=s||s===13?s:0}function mc(){return!0}function T0(){return!1}function ln(s){function o(u,h,y,w,E){this._reactName=u,this._targetInst=y,this.type=h,this.nativeEvent=w,this.target=E,this.currentTarget=null;for(var _ in s)s.hasOwnProperty(_)&&(u=s[_],this[_]=u?u(w):w[_]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?mc:T0,this.isPropagationStopped=T0,this}return Y(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=mc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=mc)},persist:function(){},isPersistent:mc}),o}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rf=ln(Vi),ma=Y({},Vi,{view:0,detail:0}),W2=ln(ma),Af,Mf,pa,pc=Y({},ma,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Df,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==pa&&(pa&&s.type==="mousemove"?(Af=s.screenX-pa.screenX,Mf=s.screenY-pa.screenY):Mf=Af=0,pa=s),Af)},movementY:function(s){return"movementY"in s?s.movementY:Mf}}),_0=ln(pc),q2=Y({},pc,{dataTransfer:0}),K2=ln(q2),G2=Y({},ma,{relatedTarget:0}),Of=ln(G2),Q2=Y({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),Y2=ln(Q2),X2=Y({},Vi,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),J2=ln(X2),Z2=Y({},Vi,{data:0}),R0=ln(Z2),eT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tT={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"},nT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rT(s){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(s):(s=nT[s])?!!o[s]:!1}function Df(){return rT}var sT=Y({},ma,{key:function(s){if(s.key){var o=eT[s.key]||s.key;if(o!=="Unidentified")return o}return s.type==="keypress"?(s=hc(s),s===13?"Enter":String.fromCharCode(s)):s.type==="keydown"||s.type==="keyup"?tT[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Df,charCode:function(s){return s.type==="keypress"?hc(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?hc(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),iT=ln(sT),oT=Y({},pc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),A0=ln(oT),aT=Y({},ma,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Df}),lT=ln(aT),cT=Y({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),uT=ln(cT),dT=Y({},pc,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),fT=ln(dT),hT=[9,13,27,32],If=d&&"CompositionEvent"in window,ga=null;d&&"documentMode"in document&&(ga=document.documentMode);var mT=d&&"TextEvent"in window&&!ga,M0=d&&(!If||ga&&8<ga&&11>=ga),O0=" ",D0=!1;function I0(s,o){switch(s){case"keyup":return hT.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L0(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var zi=!1;function pT(s,o){switch(s){case"compositionend":return L0(o);case"keypress":return o.which!==32?null:(D0=!0,O0);case"textInput":return s=o.data,s===O0&&D0?null:s;default:return null}}function gT(s,o){if(zi)return s==="compositionend"||!If&&I0(s,o)?(s=P0(),fc=_f=Qr=null,zi=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return M0&&o.locale!=="ko"?null:o.data;default:return null}}var yT={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 F0(s){var o=s&&s.nodeName&&s.nodeName.toLowerCase();return o==="input"?!!yT[s.type]:o==="textarea"}function B0(s,o,u,h){i0(h),o=wc(o,"onChange"),0<o.length&&(u=new Rf("onChange","change",null,u,h),s.push({event:u,listeners:o}))}var ya=null,xa=null;function xT(s){rx(s,0)}function gc(s){var o=qi(s);if(Ve(o))return s}function vT(s,o){if(s==="change")return o}var V0=!1;if(d){var Lf;if(d){var Ff="oninput"in document;if(!Ff){var z0=document.createElement("div");z0.setAttribute("oninput","return;"),Ff=typeof z0.oninput=="function"}Lf=Ff}else Lf=!1;V0=Lf&&(!document.documentMode||9<document.documentMode)}function U0(){ya&&(ya.detachEvent("onpropertychange",$0),xa=ya=null)}function $0(s){if(s.propertyName==="value"&&gc(xa)){var o=[];B0(o,xa,s,yf(s)),c0(xT,o)}}function wT(s,o,u){s==="focusin"?(U0(),ya=o,xa=u,ya.attachEvent("onpropertychange",$0)):s==="focusout"&&U0()}function bT(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return gc(xa)}function ST(s,o){if(s==="click")return gc(o)}function NT(s,o){if(s==="input"||s==="change")return gc(o)}function CT(s,o){return s===o&&(s!==0||1/s===1/o)||s!==s&&o!==o}var An=typeof Object.is=="function"?Object.is:CT;function va(s,o){if(An(s,o))return!0;if(typeof s!="object"||s===null||typeof o!="object"||o===null)return!1;var u=Object.keys(s),h=Object.keys(o);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var y=u[h];if(!f.call(o,y)||!An(s[y],o[y]))return!1}return!0}function H0(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function W0(s,o){var u=H0(s);s=0;for(var h;u;){if(u.nodeType===3){if(h=s+u.textContent.length,s<=o&&h>=o)return{node:u,offset:o-s};s=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=H0(u)}}function q0(s,o){return s&&o?s===o?!0:s&&s.nodeType===3?!1:o&&o.nodeType===3?q0(s,o.parentNode):"contains"in s?s.contains(o):s.compareDocumentPosition?!!(s.compareDocumentPosition(o)&16):!1:!1}function K0(){for(var s=window,o=St();o instanceof s.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)s=o.contentWindow;else break;o=St(s.document)}return o}function Bf(s){var o=s&&s.nodeName&&s.nodeName.toLowerCase();return o&&(o==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||o==="textarea"||s.contentEditable==="true")}function jT(s){var o=K0(),u=s.focusedElem,h=s.selectionRange;if(o!==u&&u&&u.ownerDocument&&q0(u.ownerDocument.documentElement,u)){if(h!==null&&Bf(u)){if(o=h.start,s=h.end,s===void 0&&(s=o),"selectionStart"in u)u.selectionStart=o,u.selectionEnd=Math.min(s,u.value.length);else if(s=(o=u.ownerDocument||document)&&o.defaultView||window,s.getSelection){s=s.getSelection();var y=u.textContent.length,w=Math.min(h.start,y);h=h.end===void 0?w:Math.min(h.end,y),!s.extend&&w>h&&(y=h,h=w,w=y),y=W0(u,w);var E=W0(u,h);y&&E&&(s.rangeCount!==1||s.anchorNode!==y.node||s.anchorOffset!==y.offset||s.focusNode!==E.node||s.focusOffset!==E.offset)&&(o=o.createRange(),o.setStart(y.node,y.offset),s.removeAllRanges(),w>h?(s.addRange(o),s.extend(E.node,E.offset)):(o.setEnd(E.node,E.offset),s.addRange(o)))}}for(o=[],s=u;s=s.parentNode;)s.nodeType===1&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<o.length;u++)s=o[u],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var ET=d&&"documentMode"in document&&11>=document.documentMode,Ui=null,Vf=null,wa=null,zf=!1;function G0(s,o,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;zf||Ui==null||Ui!==St(h)||(h=Ui,"selectionStart"in h&&Bf(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),wa&&va(wa,h)||(wa=h,h=wc(Vf,"onSelect"),0<h.length&&(o=new Rf("onSelect","select",null,o,u),s.push({event:o,listeners:h}),o.target=Ui)))}function yc(s,o){var u={};return u[s.toLowerCase()]=o.toLowerCase(),u["Webkit"+s]="webkit"+o,u["Moz"+s]="moz"+o,u}var $i={animationend:yc("Animation","AnimationEnd"),animationiteration:yc("Animation","AnimationIteration"),animationstart:yc("Animation","AnimationStart"),transitionend:yc("Transition","TransitionEnd")},Uf={},Q0={};d&&(Q0=document.createElement("div").style,"AnimationEvent"in window||(delete $i.animationend.animation,delete $i.animationiteration.animation,delete $i.animationstart.animation),"TransitionEvent"in window||delete $i.transitionend.transition);function xc(s){if(Uf[s])return Uf[s];if(!$i[s])return s;var o=$i[s],u;for(u in o)if(o.hasOwnProperty(u)&&u in Q0)return Uf[s]=o[u];return s}var Y0=xc("animationend"),X0=xc("animationiteration"),J0=xc("animationstart"),Z0=xc("transitionend"),ex=new Map,tx="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 Yr(s,o){ex.set(s,o),a(o,[s])}for(var $f=0;$f<tx.length;$f++){var Hf=tx[$f],kT=Hf.toLowerCase(),PT=Hf[0].toUpperCase()+Hf.slice(1);Yr(kT,"on"+PT)}Yr(Y0,"onAnimationEnd"),Yr(X0,"onAnimationIteration"),Yr(J0,"onAnimationStart"),Yr("dblclick","onDoubleClick"),Yr("focusin","onFocus"),Yr("focusout","onBlur"),Yr(Z0,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("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 ba="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(" "),TT=new Set("cancel close invalid load scroll toggle".split(" ").concat(ba));function nx(s,o,u){var h=s.type||"unknown-event";s.currentTarget=u,k2(h,o,void 0,s),s.currentTarget=null}function rx(s,o){o=(o&4)!==0;for(var u=0;u<s.length;u++){var h=s[u],y=h.event;h=h.listeners;e:{var w=void 0;if(o)for(var E=h.length-1;0<=E;E--){var _=h[E],M=_.instance,$=_.currentTarget;if(_=_.listener,M!==w&&y.isPropagationStopped())break e;nx(y,_,$),w=M}else for(E=0;E<h.length;E++){if(_=h[E],M=_.instance,$=_.currentTarget,_=_.listener,M!==w&&y.isPropagationStopped())break e;nx(y,_,$),w=M}}}if(nc)throw s=bf,nc=!1,bf=null,s}function et(s,o){var u=o[Jf];u===void 0&&(u=o[Jf]=new Set);var h=s+"__bubble";u.has(h)||(sx(o,s,2,!1),u.add(h))}function Wf(s,o,u){var h=0;o&&(h|=4),sx(u,s,h,o)}var vc="_reactListening"+Math.random().toString(36).slice(2);function Sa(s){if(!s[vc]){s[vc]=!0,r.forEach(function(u){u!=="selectionchange"&&(TT.has(u)||Wf(u,!1,s),Wf(u,!0,s))});var o=s.nodeType===9?s:s.ownerDocument;o===null||o[vc]||(o[vc]=!0,Wf("selectionchange",!1,o))}}function sx(s,o,u,h){switch(k0(o)){case 1:var y=$2;break;case 4:y=H2;break;default:y=Pf}u=y.bind(null,o,u,s),y=void 0,!wf||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(y=!0),h?y!==void 0?s.addEventListener(o,u,{capture:!0,passive:y}):s.addEventListener(o,u,!0):y!==void 0?s.addEventListener(o,u,{passive:y}):s.addEventListener(o,u,!1)}function qf(s,o,u,h,y){var w=h;if((o&1)===0&&(o&2)===0&&h!==null)e:for(;;){if(h===null)return;var E=h.tag;if(E===3||E===4){var _=h.stateNode.containerInfo;if(_===y||_.nodeType===8&&_.parentNode===y)break;if(E===4)for(E=h.return;E!==null;){var M=E.tag;if((M===3||M===4)&&(M=E.stateNode.containerInfo,M===y||M.nodeType===8&&M.parentNode===y))return;E=E.return}for(;_!==null;){if(E=Vs(_),E===null)return;if(M=E.tag,M===5||M===6){h=w=E;continue e}_=_.parentNode}}h=h.return}c0(function(){var $=w,X=yf(u),ee=[];e:{var Q=ex.get(s);if(Q!==void 0){var ae=Rf,fe=s;switch(s){case"keypress":if(hc(u)===0)break e;case"keydown":case"keyup":ae=iT;break;case"focusin":fe="focus",ae=Of;break;case"focusout":fe="blur",ae=Of;break;case"beforeblur":case"afterblur":ae=Of;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=_0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=K2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=lT;break;case Y0:case X0:case J0:ae=Y2;break;case Z0:ae=uT;break;case"scroll":ae=W2;break;case"wheel":ae=fT;break;case"copy":case"cut":case"paste":ae=J2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=A0}var pe=(o&4)!==0,dt=!pe&&s==="scroll",V=pe?Q!==null?Q+"Capture":null:Q;pe=[];for(var I=$,z;I!==null;){z=I;var re=z.stateNode;if(z.tag===5&&re!==null&&(z=re,V!==null&&(re=sa(I,V),re!=null&&pe.push(Na(I,re,z)))),dt)break;I=I.return}0<pe.length&&(Q=new ae(Q,fe,null,u,X),ee.push({event:Q,listeners:pe}))}}if((o&7)===0){e:{if(Q=s==="mouseover"||s==="pointerover",ae=s==="mouseout"||s==="pointerout",Q&&u!==gf&&(fe=u.relatedTarget||u.fromElement)&&(Vs(fe)||fe[yr]))break e;if((ae||Q)&&(Q=X.window===X?X:(Q=X.ownerDocument)?Q.defaultView||Q.parentWindow:window,ae?(fe=u.relatedTarget||u.toElement,ae=$,fe=fe?Vs(fe):null,fe!==null&&(dt=Bs(fe),fe!==dt||fe.tag!==5&&fe.tag!==6)&&(fe=null)):(ae=null,fe=$),ae!==fe)){if(pe=_0,re="onMouseLeave",V="onMouseEnter",I="mouse",(s==="pointerout"||s==="pointerover")&&(pe=A0,re="onPointerLeave",V="onPointerEnter",I="pointer"),dt=ae==null?Q:qi(ae),z=fe==null?Q:qi(fe),Q=new pe(re,I+"leave",ae,u,X),Q.target=dt,Q.relatedTarget=z,re=null,Vs(X)===$&&(pe=new pe(V,I+"enter",fe,u,X),pe.target=z,pe.relatedTarget=dt,re=pe),dt=re,ae&&fe)t:{for(pe=ae,V=fe,I=0,z=pe;z;z=Hi(z))I++;for(z=0,re=V;re;re=Hi(re))z++;for(;0<I-z;)pe=Hi(pe),I--;for(;0<z-I;)V=Hi(V),z--;for(;I--;){if(pe===V||V!==null&&pe===V.alternate)break t;pe=Hi(pe),V=Hi(V)}pe=null}else pe=null;ae!==null&&ix(ee,Q,ae,pe,!1),fe!==null&&dt!==null&&ix(ee,dt,fe,pe,!0)}}e:{if(Q=$?qi($):window,ae=Q.nodeName&&Q.nodeName.toLowerCase(),ae==="select"||ae==="input"&&Q.type==="file")var ye=vT;else if(F0(Q))if(V0)ye=NT;else{ye=bT;var Ne=wT}else(ae=Q.nodeName)&&ae.toLowerCase()==="input"&&(Q.type==="checkbox"||Q.type==="radio")&&(ye=ST);if(ye&&(ye=ye(s,$))){B0(ee,ye,u,X);break e}Ne&&Ne(s,Q,$),s==="focusout"&&(Ne=Q._wrapperState)&&Ne.controlled&&Q.type==="number"&&Hr(Q,"number",Q.value)}switch(Ne=$?qi($):window,s){case"focusin":(F0(Ne)||Ne.contentEditable==="true")&&(Ui=Ne,Vf=$,wa=null);break;case"focusout":wa=Vf=Ui=null;break;case"mousedown":zf=!0;break;case"contextmenu":case"mouseup":case"dragend":zf=!1,G0(ee,u,X);break;case"selectionchange":if(ET)break;case"keydown":case"keyup":G0(ee,u,X)}var Ce;if(If)e:{switch(s){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else zi?I0(s,u)&&(Ae="onCompositionEnd"):s==="keydown"&&u.keyCode===229&&(Ae="onCompositionStart");Ae&&(M0&&u.locale!=="ko"&&(zi||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&zi&&(Ce=P0()):(Qr=X,_f="value"in Qr?Qr.value:Qr.textContent,zi=!0)),Ne=wc($,Ae),0<Ne.length&&(Ae=new R0(Ae,s,null,u,X),ee.push({event:Ae,listeners:Ne}),Ce?Ae.data=Ce:(Ce=L0(u),Ce!==null&&(Ae.data=Ce)))),(Ce=mT?pT(s,u):gT(s,u))&&($=wc($,"onBeforeInput"),0<$.length&&(X=new R0("onBeforeInput","beforeinput",null,u,X),ee.push({event:X,listeners:$}),X.data=Ce))}rx(ee,o)})}function Na(s,o,u){return{instance:s,listener:o,currentTarget:u}}function wc(s,o){for(var u=o+"Capture",h=[];s!==null;){var y=s,w=y.stateNode;y.tag===5&&w!==null&&(y=w,w=sa(s,u),w!=null&&h.unshift(Na(s,w,y)),w=sa(s,o),w!=null&&h.push(Na(s,w,y))),s=s.return}return h}function Hi(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5);return s||null}function ix(s,o,u,h,y){for(var w=o._reactName,E=[];u!==null&&u!==h;){var _=u,M=_.alternate,$=_.stateNode;if(M!==null&&M===h)break;_.tag===5&&$!==null&&(_=$,y?(M=sa(u,w),M!=null&&E.unshift(Na(u,M,_))):y||(M=sa(u,w),M!=null&&E.push(Na(u,M,_)))),u=u.return}E.length!==0&&s.push({event:o,listeners:E})}var _T=/\r\n?/g,RT=/\u0000|\uFFFD/g;function ox(s){return(typeof s=="string"?s:""+s).replace(_T,` 38`).replace(RT,"")}function bc(s,o,u){if(o=ox(o),ox(s)!==o&&u)throw Error(n(425))}function Sc(){}var Kf=null,Gf=null;function Qf(s,o){return s==="textarea"||s==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Yf=typeof setTimeout=="function"?setTimeout:void 0,AT=typeof clearTimeout=="function"?clearTimeout:void 0,ax=typeof Promise=="function"?Promise:void 0,MT=typeof queueMicrotask=="function"?queueMicrotask:typeof ax<"u"?function(s){return ax.resolve(null).then(s).catch(OT)}:Yf;function OT(s){setTimeout(function(){throw s})}function Xf(s,o){var u=o,h=0;do{var y=u.nextSibling;if(s.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"){if(h===0){s.removeChild(y),ha(o);return}h--}else u!=="$"&&u!=="$?"&&u!=="$!"||h++;u=y}while(u);ha(o)}function Xr(s){for(;s!=null;s=s.nextSibling){var o=s.nodeType;if(o===1||o===3)break;if(o===8){if(o=s.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return s}function lx(s){s=s.previousSibling;for(var o=0;s;){if(s.nodeType===8){var u=s.data;if(u==="$"||u==="$!"||u==="$?"){if(o===0)return s;o--}else u==="/$"&&o++}s=s.previousSibling}return null}var Wi=Math.random().toString(36).slice(2),Yn="__reactFiber$"+Wi,Ca="__reactProps$"+Wi,yr="__reactContainer$"+Wi,Jf="__reactEvents$"+Wi,DT="__reactListeners$"+Wi,IT="__reactHandles$"+Wi;function Vs(s){var o=s[Yn];if(o)return o;for(var u=s.parentNode;u;){if(o=u[yr]||u[Yn]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(s=lx(s);s!==null;){if(u=s[Yn])return u;s=lx(s)}return o}s=u,u=s.parentNode}return null}function ja(s){return s=s[Yn]||s[yr],!s||s.tag!==5&&s.tag!==6&&s.tag!==13&&s.tag!==3?null:s}function qi(s){if(s.tag===5||s.tag===6)return s.stateNode;throw Error(n(33))}function Nc(s){return s[Ca]||null}var Zf=[],Ki=-1;function Jr(s){return{current:s}}function tt(s){0>Ki||(s.current=Zf[Ki],Zf[Ki]=null,Ki--)}function Je(s,o){Ki++,Zf[Ki]=s.current,s.current=o}var Zr={},Ot=Jr(Zr),Yt=Jr(!1),zs=Zr;function Gi(s,o){var u=s.type.contextTypes;if(!u)return Zr;var h=s.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===o)return h.__reactInternalMemoizedMaskedChildContext;var y={},w;for(w in u)y[w]=o[w];return h&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=o,s.__reactInternalMemoizedMaskedChildContext=y),y}function Xt(s){return s=s.childContextTypes,s!=null}function Cc(){tt(Yt),tt(Ot)}function cx(s,o,u){if(Ot.current!==Zr)throw Error(n(168));Je(Ot,o),Je(Yt,u)}function ux(s,o,u){var h=s.stateNode;if(o=o.childContextTypes,typeof h.getChildContext!="function")return u;h=h.getChildContext();for(var y in h)if(!(y in o))throw Error(n(108,Z(s)||"Unknown",y));return Y({},u,h)}function jc(s){return s=(s=s.stateNode)&&s.__reactInternalMemoizedMergedChildContext||Zr,zs=Ot.current,Je(Ot,s),Je(Yt,Yt.current),!0}function dx(s,o,u){var h=s.stateNode;if(!h)throw Error(n(169));u?(s=ux(s,o,zs),h.__reactInternalMemoizedMergedChildContext=s,tt(Yt),tt(Ot),Je(Ot,s)):tt(Yt),Je(Yt,u)}var xr=null,Ec=!1,eh=!1;function fx(s){xr===null?xr=[s]:xr.push(s)}function LT(s){Ec=!0,fx(s)}function es(){if(!eh&&xr!==null){eh=!0;var s=0,o=Ke;try{var u=xr;for(Ke=1;s<u.length;s++){var h=u[s];do h=h(!0);while(h!==null)}xr=null,Ec=!1}catch(y){throw xr!==null&&(xr=xr.slice(s+1)),m0(Sf,es),y}finally{Ke=o,eh=!1}
vendor: 4,338 bytes, line 38
38}return null}var Qi=[],Yi=0,kc=null,Pc=0,gn=[],yn=0,Us=null,vr=1,wr="";function $s(s,o){Qi[Yi++]=Pc,Qi[Yi++]=kc,kc=s,Pc=o}function hx(s,o,u){gn[yn++]=vr,gn[yn++]=wr,gn[yn++]=Us,Us=s;var h=vr;s=wr;var y=32-Rn(h)-1;h&=~(1<<y),u+=1;var w=32-Rn(o)+y;if(30<w){var E=y-y%5;w=(h&(1<<E)-1).toString(32),h>>=E,y-=E,vr=1<<32-Rn(o)+y|u<<y|h,wr=w+s}else vr=1<<w|u<<y|h,wr=s}function th(s){s.return!==null&&($s(s,1),hx(s,1,0))}function nh(s){for(;s===kc;)kc=Qi[--Yi],Qi[Yi]=null,Pc=Qi[--Yi],Qi[Yi]=null;for(;s===Us;)Us=gn[--yn],gn[yn]=null,wr=gn[--yn],gn[yn]=null,vr=gn[--yn],gn[yn]=null}var cn=null,un=null,rt=!1,Mn=null;function mx(s,o){var u=bn(5,null,null,0);u.elementType="DELETED",u.stateNode=o,u.return=s,o=s.deletions,o===null?(s.deletions=[u],s.flags|=16):o.push(u)}function px(s,o){switch(s.tag){case 5:var u=s.type;return o=o.nodeType!==1||u.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(s.stateNode=o,cn=s,un=Xr(o.firstChild),!0):!1;case 6:return o=s.pendingProps===""||o.nodeType!==3?null:o,o!==null?(s.stateNode=o,cn=s,un=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(u=Us!==null?{id:vr,overflow:wr}:null,s.memoizedState={dehydrated:o,treeContext:u,retryLane:1073741824},u=bn(18,null,null,0),u.stateNode=o,u.return=s,s.child=u,cn=s,un=null,!0):!1;default:return!1}}function rh(s){return(s.mode&1)!==0&&(s.flags&128)===0}function sh(s){if(rt){var o=un;if(o){var u=o;if(!px(s,o)){if(rh(s))throw Error(n(418));o=Xr(u.nextSibling);var h=cn;o&&px(s,o)?mx(h,u):(s.flags=s.flags&-4097|2,rt=!1,cn=s)}}else{if(rh(s))throw Error(n(418));s.flags=s.flags&-4097|2,rt=!1,cn=s}}}function gx(s){for(s=s.return;s!==null&&s.tag!==5&&s.tag!==3&&s.tag!==13;)s=s.return;cn=s}function Tc(s){if(s!==cn)return!1;if(!rt)return gx(s),rt=!0,!1;var o;if((o=s.tag!==3)&&!(o=s.tag!==5)&&(o=s.type,o=o!=="head"&&o!=="body"&&!Qf(s.type,s.memoizedProps)),o&&(o=un)){if(rh(s))throw yx(),Error(n(418));for(;o;)mx(s,o),o=Xr(o.nextSibling)}if(gx(s),s.tag===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(n(317));e:{for(s=s.nextSibling,o=0;s;){if(s.nodeType===8){var u=s.data;if(u==="/$"){if(o===0){un=Xr(s.nextSibling);break e}o--}else u!=="$"&&u!=="$!"&&u!=="$?"||o++}s=s.nextSibling}un=null}}else un=cn?Xr(s.stateNode.nextSibling):null;return!0}function yx(){for(var s=un;s;)s=Xr(s.nextSibling)}function Xi(){un=cn=null,rt=!1}function ih(s){Mn===null?Mn=[s]:Mn.push(s)}var FT=T.ReactCurrentBatchConfig;function Ea(s,o,u){if(s=u.ref,s!==null&&typeof s!="function"&&typeof s!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(n(309));var h=u.stateNode}if(!h)throw Error(n(147,s));var y=h,w=""+s;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===w?o.ref:(o=function(E){var _=y.refs;E===null?delete _[w]:_[w]=E},o._stringRef=w,o)}if(typeof s!="string")throw Error(n(284));if(!u._owner)throw Error(n(290,s))}return s}function _c(s,o){throw s=Object.prototype.toString.call(o),Error(n(31,s==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":s))}function xx(s){var o=s._init;return o(s._payload)}function vx(s){function o(V,I){if(s){var z=V.deletions;z===null?(V.deletions=[I],V.flags|=16):z.push(I)}}function u(V,I){if(!s)return null;for(;I!==null;)o(V,I),I=I.sibling;return null}function h(V,I){for(V=new Map;I!==null;)I.key!==null?V.set(I.key,I):V.set(I.index,I),I=I.sibling;return V}function y(V,I){return V=ls(V,I),V.index=0,V.sibling=null,V}function w(V,I,z){return V.index=z,s?(z=V.alternate,z!==null?(z=z.index,z<I?(V.flags|=2,I):z):(V.flags|=2,I)):(V.flags|=1048576,I)}function E(V){return s&&V.alternate===null&&(V.flags|=2),V}function _(V,I,z,re){return I===null||I.tag!==6?(I=Yh(z,V.mode,re),I.return=V,I):(I=y(I,z),I.return=V,I)}function M(V,I,z,re){var ye=z.type;return ye===F?X(V,I,z.props.children,re,z.key):I!==null&&(I.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===G&&xx(ye)===I.type)?(re=y(I,z.props),re.ref=Ea(V,I,z),re.return=V,re):(re=eu(z.type,z.key,z.props,null,V.mode,re),re.ref=Ea(V,I,z),re.return=V,re)}function $(V,I,z,re){return I===null||I.tag!==4||I.stateNode.containerInfo!==z.containerInfo||I.stateNode.implementation!==z.implementation?(I=Xh(z,V.mode,re),I.return=V,I):(I=y(I,z.children||[]),I.return=V,I)}function X(V,I,z,re,ye){return I===null||I.tag!==7?(I=Xs(z,V.mode,re,ye),I.return=V,I):(I=y(I,z),I.return=V,I)}
vendor: 6,977 bytes, line 38
38function ee(V,I,z){if(typeof I=="string"&&I!==""||typeof I=="number")return I=Yh(""+I,V.mode,z),I.return=V,I;if(typeof I=="object"&&I!==null){switch(I.$$typeof){case A:return z=eu(I.type,I.key,I.props,null,V.mode,z),z.ref=Ea(V,null,I),z.return=V,z;case U:return I=Xh(I,V.mode,z),I.return=V,I;case G:var re=I._init;return ee(V,re(I._payload),z)}if(ta(I)||W(I))return I=Xs(I,V.mode,z,null),I.return=V,I;_c(V,I)}return null}function Q(V,I,z,re){var ye=I!==null?I.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return ye!==null?null:_(V,I,""+z,re);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case A:return z.key===ye?M(V,I,z,re):null;case U:return z.key===ye?$(V,I,z,re):null;case G:return ye=z._init,Q(V,I,ye(z._payload),re)}if(ta(z)||W(z))return ye!==null?null:X(V,I,z,re,null);_c(V,z)}return null}function ae(V,I,z,re,ye){if(typeof re=="string"&&re!==""||typeof re=="number")return V=V.get(z)||null,_(I,V,""+re,ye);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case A:return V=V.get(re.key===null?z:re.key)||null,M(I,V,re,ye);case U:return V=V.get(re.key===null?z:re.key)||null,$(I,V,re,ye);case G:var Ne=re._init;return ae(V,I,z,Ne(re._payload),ye)}if(ta(re)||W(re))return V=V.get(z)||null,X(I,V,re,ye,null);_c(I,re)}return null}function fe(V,I,z,re){for(var ye=null,Ne=null,Ce=I,Ae=I=0,jt=null;Ce!==null&&Ae<z.length;Ae++){Ce.index>Ae?(jt=Ce,Ce=null):jt=Ce.sibling;var He=Q(V,Ce,z[Ae],re);if(He===null){Ce===null&&(Ce=jt);break}s&&Ce&&He.alternate===null&&o(V,Ce),I=w(He,I,Ae),Ne===null?ye=He:Ne.sibling=He,Ne=He,Ce=jt}if(Ae===z.length)return u(V,Ce),rt&&$s(V,Ae),ye;if(Ce===null){for(;Ae<z.length;Ae++)Ce=ee(V,z[Ae],re),Ce!==null&&(I=w(Ce,I,Ae),Ne===null?ye=Ce:Ne.sibling=Ce,Ne=Ce);return rt&&$s(V,Ae),ye}for(Ce=h(V,Ce);Ae<z.length;Ae++)jt=ae(Ce,V,Ae,z[Ae],re),jt!==null&&(s&&jt.alternate!==null&&Ce.delete(jt.key===null?Ae:jt.key),I=w(jt,I,Ae),Ne===null?ye=jt:Ne.sibling=jt,Ne=jt);return s&&Ce.forEach(function(cs){return o(V,cs)}),rt&&$s(V,Ae),ye}function pe(V,I,z,re){var ye=W(z);if(typeof ye!="function")throw Error(n(150));if(z=ye.call(z),z==null)throw Error(n(151));for(var Ne=ye=null,Ce=I,Ae=I=0,jt=null,He=z.next();Ce!==null&&!He.done;Ae++,He=z.next()){Ce.index>Ae?(jt=Ce,Ce=null):jt=Ce.sibling;var cs=Q(V,Ce,He.value,re);if(cs===null){Ce===null&&(Ce=jt);break}s&&Ce&&cs.alternate===null&&o(V,Ce),I=w(cs,I,Ae),Ne===null?ye=cs:Ne.sibling=cs,Ne=cs,Ce=jt}if(He.done)return u(V,Ce),rt&&$s(V,Ae),ye;if(Ce===null){for(;!He.done;Ae++,He=z.next())He=ee(V,He.value,re),He!==null&&(I=w(He,I,Ae),Ne===null?ye=He:Ne.sibling=He,Ne=He);return rt&&$s(V,Ae),ye}for(Ce=h(V,Ce);!He.done;Ae++,He=z.next())He=ae(Ce,V,Ae,He.value,re),He!==null&&(s&&He.alternate!==null&&Ce.delete(He.key===null?Ae:He.key),I=w(He,I,Ae),Ne===null?ye=He:Ne.sibling=He,Ne=He);return s&&Ce.forEach(function(y_){return o(V,y_)}),rt&&$s(V,Ae),ye}function dt(V,I,z,re){if(typeof z=="object"&&z!==null&&z.type===F&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case A:e:{for(var ye=z.key,Ne=I;Ne!==null;){if(Ne.key===ye){if(ye=z.type,ye===F){if(Ne.tag===7){u(V,Ne.sibling),I=y(Ne,z.props.children),I.return=V,V=I;break e}}else if(Ne.elementType===ye||typeof ye=="object"&&ye!==null&&ye.$$typeof===G&&xx(ye)===Ne.type){u(V,Ne.sibling),I=y(Ne,z.props),I.ref=Ea(V,Ne,z),I.return=V,V=I;break e}u(V,Ne);break}else o(V,Ne);Ne=Ne.sibling}z.type===F?(I=Xs(z.props.children,V.mode,re,z.key),I.return=V,V=I):(re=eu(z.type,z.key,z.props,null,V.mode,re),re.ref=Ea(V,I,z),re.return=V,V=re)}return E(V);case U:e:{for(Ne=z.key;I!==null;){if(I.key===Ne)if(I.tag===4&&I.stateNode.containerInfo===z.containerInfo&&I.stateNode.implementation===z.implementation){u(V,I.sibling),I=y(I,z.children||[]),I.return=V,V=I;break e}else{u(V,I);break}else o(V,I);I=I.sibling}I=Xh(z,V.mode,re),I.return=V,V=I}return E(V);case G:return Ne=z._init,dt(V,I,Ne(z._payload),re)}if(ta(z))return fe(V,I,z,re);if(W(z))return pe(V,I,z,re);_c(V,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,I!==null&&I.tag===6?(u(V,I.sibling),I=y(I,z),I.return=V,V=I):(u(V,I),I=Yh(z,V.mode,re),I.return=V,V=I),E(V)):u(V,I)}return dt}var Ji=vx(!0),wx=vx(!1),Rc=Jr(null),Ac=null,Zi=null,oh=null;function ah(){oh=Zi=Ac=null}function lh(s){var o=Rc.current;tt(Rc),s._currentValue=o}function ch(s,o,u){for(;s!==null;){var h=s.alternate;if((s.childLanes&o)!==o?(s.childLanes|=o,h!==null&&(h.childLanes|=o)):h!==null&&(h.childLanes&o)!==o&&(h.childLanes|=o),s===u)break;s=s.return}}function eo(s,o){Ac=s,oh=Zi=null,s=s.dependencies,s!==null&&s.firstContext!==null&&((s.lanes&o)!==0&&(Jt=!0),s.firstContext=null)}function xn(s){var o=s._currentValue;if(oh!==s)if(s={context:s,memoizedValue:o,next:null},Zi===null){if(Ac===null)throw Error(n(308));Zi=s,Ac.dependencies={lanes:0,firstContext:s}}else Zi=Zi.next=s;return o}var Hs=null;function uh(s){Hs===null?Hs=[s]:Hs.push(s)}function bx(s,o,u,h){var y=o.interleaved;return y===null?(u.next=u,uh(o)):(u.next=y.next,y.next=u),o.interleaved=u,br(s,h)}function br(s,o){s.lanes|=o;var u=s.alternate;for(u!==null&&(u.lanes|=o),u=s,s=s.return;s!==null;)s.childLanes|=o,u=s.alternate,u!==null&&(u.childLanes|=o),u=s,s=s.return;return u.tag===3?u.stateNode:null}var ts=!1;function dh(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Sx(s,o){s=s.updateQueue,o.updateQueue===s&&(o.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects})}function Sr(s,o){return{eventTime:s,lane:o,tag:0,payload:null,callback:null,next:null}}function ns(s,o,u){var h=s.updateQueue;if(h===null)return null;if(h=h.shared,($e&2)!==0){var y=h.pending;return y===null?o.next=o:(o.next=y.next,y.next=o),h.pending=o,br(s,u)}return y=h.interleaved,y===null?(o.next=o,uh(h)):(o.next=y.next,y.next=o),h.interleaved=o,br(s,u)}function Mc(s,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194240)!==0)){var h=o.lanes;h&=s.pendingLanes,u|=h,o.lanes=u,jf(s,u)}}function Nx(s,o){var u=s.updateQueue,h=s.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var y=null,w=null;if(u=u.firstBaseUpdate,u!==null){do{var E={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};w===null?y=w=E:w=w.next=E,u=u.next}while(u!==null);w===null?y=w=o:w=w.next=o}else y=w=o;u={baseState:h.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:h.shared,effects:h.effects},s.updateQueue=u;return}s=u.lastBaseUpdate,s===null?u.firstBaseUpdate=o:s.next=o,u.lastBaseUpdate=o}function Oc(s,o,u,h){var y=s.updateQueue;ts=!1;var w=y.firstBaseUpdate,E=y.lastBaseUpdate,_=y.shared.pending;if(_!==null){y.shared.pending=null;var M=_,$=M.next;M.next=null,E===null?w=$:E.next=$,E=M;var X=s.alternate;X!==null&&(X=X.updateQueue,_=X.lastBaseUpdate,_!==E&&(_===null?X.firstBaseUpdate=$:_.next=$,X.lastBaseUpdate=M))}if(w!==null){var ee=y.baseState;E=0,X=$=M=null,_=w;do{var Q=_.lane,ae=_.eventTime;
vendor: 1,207 bytes, line 38
38if((h&Q)===Q){X!==null&&(X=X.next={eventTime:ae,lane:0,tag:_.tag,payload:_.payload,callback:_.callback,next:null});e:{var fe=s,pe=_;switch(Q=o,ae=u,pe.tag){case 1:if(fe=pe.payload,typeof fe=="function"){ee=fe.call(ae,ee,Q);break e}ee=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=pe.payload,Q=typeof fe=="function"?fe.call(ae,ee,Q):fe,Q==null)break e;ee=Y({},ee,Q);break e;case 2:ts=!0}}_.callback!==null&&_.lane!==0&&(s.flags|=64,Q=y.effects,Q===null?y.effects=[_]:Q.push(_))}else ae={eventTime:ae,lane:Q,tag:_.tag,payload:_.payload,callback:_.callback,next:null},X===null?($=X=ae,M=ee):X=X.next=ae,E|=Q;if(_=_.next,_===null){if(_=y.shared.pending,_===null)break;Q=_,_=Q.next,Q.next=null,y.lastBaseUpdate=Q,y.shared.pending=null}}while(!0);if(X===null&&(M=ee),y.baseState=M,y.firstBaseUpdate=$,y.lastBaseUpdate=X,o=y.shared.interleaved,o!==null){y=o;do E|=y.lane,y=y.next;while(y!==o)}else w===null&&(y.shared.lanes=0);Ks|=E,s.lanes=E,s.memoizedState=ee}}function Cx(s,o,u){if(s=o.effects,o.effects=null,s!==null)for(o=0;o<s.length;o++){var h=s[o],y=h.callback;if(y!==null){if(h.callback=null,h=u,typeof y!="function")throw Error(n(191,y));y.call(h)}}}var ka={},Xn=Jr(ka),Pa=Jr(ka),Ta=Jr(ka);
vendor: 8,728 bytes, line 38
38function Ws(s){if(s===ka)throw Error(n(174));return s}function fh(s,o){switch(Je(Ta,o),Je(Pa,s),Je(Xn,ka),s=o.nodeType,s){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:hf(null,"");break;default:s=s===8?o.parentNode:o,o=s.namespaceURI||null,s=s.tagName,o=hf(o,s)}tt(Xn),Je(Xn,o)}function to(){tt(Xn),tt(Pa),tt(Ta)}function jx(s){Ws(Ta.current);var o=Ws(Xn.current),u=hf(o,s.type);o!==u&&(Je(Pa,s),Je(Xn,u))}function hh(s){Pa.current===s&&(tt(Xn),tt(Pa))}var st=Jr(0);function Dc(s){for(var o=s;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===s)break;for(;o.sibling===null;){if(o.return===null||o.return===s)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var mh=[];function ph(){for(var s=0;s<mh.length;s++)mh[s]._workInProgressVersionPrimary=null;mh.length=0}var Ic=T.ReactCurrentDispatcher,gh=T.ReactCurrentBatchConfig,qs=0,it=null,xt=null,Nt=null,Lc=!1,_a=!1,Ra=0,BT=0;function Dt(){throw Error(n(321))}function yh(s,o){if(o===null)return!1;for(var u=0;u<o.length&&u<s.length;u++)if(!An(s[u],o[u]))return!1;return!0}function xh(s,o,u,h,y,w){if(qs=w,it=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,Ic.current=s===null||s.memoizedState===null?$T:HT,s=u(h,y),_a){w=0;do{if(_a=!1,Ra=0,25<=w)throw Error(n(301));w+=1,Nt=xt=null,o.updateQueue=null,Ic.current=WT,s=u(h,y)}while(_a)}if(Ic.current=Vc,o=xt!==null&&xt.next!==null,qs=0,Nt=xt=it=null,Lc=!1,o)throw Error(n(300));return s}function vh(){var s=Ra!==0;return Ra=0,s}function Jn(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?it.memoizedState=Nt=s:Nt=Nt.next=s,Nt}function vn(){if(xt===null){var s=it.alternate;s=s!==null?s.memoizedState:null}else s=xt.next;var o=Nt===null?it.memoizedState:Nt.next;if(o!==null)Nt=o,xt=s;else{if(s===null)throw Error(n(310));xt=s,s={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},Nt===null?it.memoizedState=Nt=s:Nt=Nt.next=s}return Nt}function Aa(s,o){return typeof o=="function"?o(s):o}function wh(s){var o=vn(),u=o.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=s;var h=xt,y=h.baseQueue,w=u.pending;if(w!==null){if(y!==null){var E=y.next;y.next=w.next,w.next=E}h.baseQueue=y=w,u.pending=null}if(y!==null){w=y.next,h=h.baseState;var _=E=null,M=null,$=w;do{var X=$.lane;if((qs&X)===X)M!==null&&(M=M.next={lane:0,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),h=$.hasEagerState?$.eagerState:s(h,$.action);else{var ee={lane:X,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};M===null?(_=M=ee,E=h):M=M.next=ee,it.lanes|=X,Ks|=X}$=$.next}while($!==null&&$!==w);M===null?E=h:M.next=_,An(h,o.memoizedState)||(Jt=!0),o.memoizedState=h,o.baseState=E,o.baseQueue=M,u.lastRenderedState=h}if(s=u.interleaved,s!==null){y=s;do w=y.lane,it.lanes|=w,Ks|=w,y=y.next;while(y!==s)}else y===null&&(u.lanes=0);return[o.memoizedState,u.dispatch]}function bh(s){var o=vn(),u=o.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=s;var h=u.dispatch,y=u.pending,w=o.memoizedState;if(y!==null){u.pending=null;var E=y=y.next;do w=s(w,E.action),E=E.next;while(E!==y);An(w,o.memoizedState)||(Jt=!0),o.memoizedState=w,o.baseQueue===null&&(o.baseState=w),u.lastRenderedState=w}return[w,h]}function Ex(){}function kx(s,o){var u=it,h=vn(),y=o(),w=!An(h.memoizedState,y);if(w&&(h.memoizedState=y,Jt=!0),h=h.queue,Sh(_x.bind(null,u,h,s),[s]),h.getSnapshot!==o||w||Nt!==null&&Nt.memoizedState.tag&1){if(u.flags|=2048,Ma(9,Tx.bind(null,u,h,y,o),void 0,null),Ct===null)throw Error(n(349));(qs&30)!==0||Px(u,o,y)}return y}function Px(s,o,u){s.flags|=16384,s={getSnapshot:o,value:u},o=it.updateQueue,o===null?(o={lastEffect:null,stores:null},it.updateQueue=o,o.stores=[s]):(u=o.stores,u===null?o.stores=[s]:u.push(s))}function Tx(s,o,u,h){o.value=u,o.getSnapshot=h,Rx(o)&&Ax(s)}function _x(s,o,u){return u(function(){Rx(o)&&Ax(s)})}function Rx(s){var o=s.getSnapshot;s=s.value;try{var u=o();return!An(s,u)}catch{return!0}}function Ax(s){var o=br(s,1);o!==null&&Ln(o,s,1,-1)}function Mx(s){var o=Jn();return typeof s=="function"&&(s=s()),o.memoizedState=o.baseState=s,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:s},o.queue=s,s=s.dispatch=UT.bind(null,it,s),[o.memoizedState,s]}function Ma(s,o,u,h){return s={tag:s,create:o,destroy:u,deps:h,next:null},o=it.updateQueue,o===null?(o={lastEffect:null,stores:null},it.updateQueue=o,o.lastEffect=s.next=s):(u=o.lastEffect,u===null?o.lastEffect=s.next=s:(h=u.next,u.next=s,s.next=h,o.lastEffect=s)),s}function Ox(){return vn().memoizedState}function Fc(s,o,u,h){var y=Jn();it.flags|=s,y.memoizedState=Ma(1|o,u,void 0,h===void 0?null:h)}function Bc(s,o,u,h){var y=vn();h=h===void 0?null:h;var w=void 0;if(xt!==null){var E=xt.memoizedState;if(w=E.destroy,h!==null&&yh(h,E.deps)){y.memoizedState=Ma(o,u,w,h);return}}it.flags|=s,y.memoizedState=Ma(1|o,u,w,h)}function Dx(s,o){return Fc(8390656,8,s,o)}function Sh(s,o){return Bc(2048,8,s,o)}function Ix(s,o){return Bc(4,2,s,o)}function Lx(s,o){return Bc(4,4,s,o)}function Fx(s,o){if(typeof o=="function")return s=s(),o(s),function(){o(null)};if(o!=null)return s=s(),o.current=s,function(){o.current=null}}function Bx(s,o,u){return u=u!=null?u.concat([s]):null,Bc(4,4,Fx.bind(null,o,s),u)}function Nh(){}function Vx(s,o){var u=vn();o=o===void 0?null:o;var h=u.memoizedState;return h!==null&&o!==null&&yh(o,h[1])?h[0]:(u.memoizedState=[s,o],s)}function zx(s,o){var u=vn();o=o===void 0?null:o;var h=u.memoizedState;return h!==null&&o!==null&&yh(o,h[1])?h[0]:(s=s(),u.memoizedState=[s,o],s)}function Ux(s,o,u){return(qs&21)===0?(s.baseState&&(s.baseState=!1,Jt=!0),s.memoizedState=u):(An(u,o)||(u=x0(),it.lanes|=u,Ks|=u,s.baseState=!0),o)}function VT(s,o){var u=Ke;Ke=u!==0&&4>u?u:4,s(!0);var h=gh.transition;gh.transition={};try{s(!1),o()}finally{Ke=u,gh.transition=h}}function $x(){return vn().memoizedState}function zT(s,o,u){var h=os(s);if(u={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null},Hx(s))Wx(o,u);else if(u=bx(s,o,u,h),u!==null){var y=Ht();Ln(u,s,h,y),qx(u,o,h)}}function UT(s,o,u){var h=os(s),y={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null};if(Hx(s))Wx(o,y);else{var w=s.alternate;if(s.lanes===0&&(w===null||w.lanes===0)&&(w=o.lastRenderedReducer,w!==null))try{var E=o.lastRenderedState,_=w(E,u);if(y.hasEagerState=!0,y.eagerState=_,An(_,E)){var M=o.interleaved;M===null?(y.next=y,uh(o)):(y.next=M.next,M.next=y),o.interleaved=y;return}}catch{}finally{}u=bx(s,o,y,h),u!==null&&(y=Ht(),Ln(u,s,h,y),qx(u,o,h))}}function Hx(s){var o=s.alternate;return s===it||o!==null&&o===it}function Wx(s,o){_a=Lc=!0;var u=s.pending;u===null?o.next=o:(o.next=u.next,u.next=o),s.pending=o}function qx(s,o,u){if((u&4194240)!==0){var h=o.lanes;h&=s.pendingLanes,u|=h,o.lanes=u,jf(s,u)}}var Vc={readContext:xn,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useInsertionEffect:Dt,useLayoutEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useMutableSource:Dt,useSyncExternalStore:Dt,useId:Dt,unstable_isNewReconciler:!1},$T={readContext:xn,useCallback:function(s,o){return Jn().memoizedState=[s,o===void 0?null:o],s},useContext:xn,useEffect:Dx,useImperativeHandle:function(s,o,u){return u=u!=null?u.concat([s]):null,Fc(4194308,4,Fx.bind(null,o,s),u)},useLayoutEffect:function(s,o){return Fc(4194308,4,s,o)},useInsertionEffect:function(s,o){return Fc(4,2,s,o)},useMemo:function(s,o){var u=Jn();return o=o===void 0?null:o,s=s(),u.memoizedState=[s,o],s},useReducer:function(s,o,u){var h=Jn();return o=u!==void 0?u(o):o,h.memoizedState=h.baseState=o,s={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:o},h.queue=s,s=s.dispatch=zT.bind(null,it,s),[h.memoizedState,s]},useRef:function(s){var o=Jn();return s={current:s},o.memoizedState=s},useState:Mx,useDebugValue:Nh,useDeferredValue:function(s){return Jn().memoizedState=s},useTransition:function(){var s=Mx(!1),o=s[0];return s=VT.bind(null,s[1]),Jn().memoizedState=s,[o,s]},useMutableSource:function(){},useSyncExternalStore:function(s,o,u){var h=it,y=Jn();if(rt){if(u===void 0)throw Error(n(407));u=u()}else{if(u=o(),Ct===null)throw Error(n(349));(qs&30)!==0||Px(h,o,u)}y.memoizedState=u;var w={value:u,getSnapshot:o};return y.queue=w,Dx(_x.bind(null,h,w,s),[s]),h.flags|=2048,Ma(9,Tx.bind(null,h,w,u,o),void 0,null),u},useId:function(){var s=Jn(),o=Ct.identifierPrefix;if(rt){var u=wr,h=vr;
vendor: 6,777 bytes, lines 38-40
38u=(h&~(1<<32-Rn(h)-1)).toString(32)+u,o=":"+o+"R"+u,u=Ra++,0<u&&(o+="H"+u.toString(32)),o+=":"}else u=BT++,o=":"+o+"r"+u.toString(32)+":";return s.memoizedState=o},unstable_isNewReconciler:!1},HT={readContext:xn,useCallback:Vx,useContext:xn,useEffect:Sh,useImperativeHandle:Bx,useInsertionEffect:Ix,useLayoutEffect:Lx,useMemo:zx,useReducer:wh,useRef:Ox,useState:function(){return wh(Aa)},useDebugValue:Nh,useDeferredValue:function(s){var o=vn();return Ux(o,xt.memoizedState,s)},useTransition:function(){var s=wh(Aa)[0],o=vn().memoizedState;return[s,o]},useMutableSource:Ex,useSyncExternalStore:kx,useId:$x,unstable_isNewReconciler:!1},WT={readContext:xn,useCallback:Vx,useContext:xn,useEffect:Sh,useImperativeHandle:Bx,useInsertionEffect:Ix,useLayoutEffect:Lx,useMemo:zx,useReducer:bh,useRef:Ox,useState:function(){return bh(Aa)},useDebugValue:Nh,useDeferredValue:function(s){var o=vn();return xt===null?o.memoizedState=s:Ux(o,xt.memoizedState,s)},useTransition:function(){var s=bh(Aa)[0],o=vn().memoizedState;return[s,o]},useMutableSource:Ex,useSyncExternalStore:kx,useId:$x,unstable_isNewReconciler:!1};function On(s,o){if(s&&s.defaultProps){o=Y({},o),s=s.defaultProps;for(var u in s)o[u]===void 0&&(o[u]=s[u]);return o}return o}function Ch(s,o,u,h){o=s.memoizedState,u=u(h,o),u=u==null?o:Y({},o,u),s.memoizedState=u,s.lanes===0&&(s.updateQueue.baseState=u)}var zc={isMounted:function(s){return(s=s._reactInternals)?Bs(s)===s:!1},enqueueSetState:function(s,o,u){s=s._reactInternals;var h=Ht(),y=os(s),w=Sr(h,y);w.payload=o,u!=null&&(w.callback=u),o=ns(s,w,y),o!==null&&(Ln(o,s,y,h),Mc(o,s,y))},enqueueReplaceState:function(s,o,u){s=s._reactInternals;var h=Ht(),y=os(s),w=Sr(h,y);w.tag=1,w.payload=o,u!=null&&(w.callback=u),o=ns(s,w,y),o!==null&&(Ln(o,s,y,h),Mc(o,s,y))},enqueueForceUpdate:function(s,o){s=s._reactInternals;var u=Ht(),h=os(s),y=Sr(u,h);y.tag=2,o!=null&&(y.callback=o),o=ns(s,y,h),o!==null&&(Ln(o,s,h,u),Mc(o,s,h))}};function Kx(s,o,u,h,y,w,E){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(h,w,E):o.prototype&&o.prototype.isPureReactComponent?!va(u,h)||!va(y,w):!0}function Gx(s,o,u){var h=!1,y=Zr,w=o.contextType;return typeof w=="object"&&w!==null?w=xn(w):(y=Xt(o)?zs:Ot.current,h=o.contextTypes,w=(h=h!=null)?Gi(s,y):Zr),o=new o(u,w),s.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=zc,s.stateNode=o,o._reactInternals=s,h&&(s=s.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=y,s.__reactInternalMemoizedMaskedChildContext=w),o}function Qx(s,o,u,h){s=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,h),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,h),o.state!==s&&zc.enqueueReplaceState(o,o.state,null)}function jh(s,o,u,h){var y=s.stateNode;y.props=u,y.state=s.memoizedState,y.refs={},dh(s);var w=o.contextType;typeof w=="object"&&w!==null?y.context=xn(w):(w=Xt(o)?zs:Ot.current,y.context=Gi(s,w)),y.state=s.memoizedState,w=o.getDerivedStateFromProps,typeof w=="function"&&(Ch(s,o,w,u),y.state=s.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(o=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),o!==y.state&&zc.enqueueReplaceState(y,y.state,null),Oc(s,u,y,h),y.state=s.memoizedState),typeof y.componentDidMount=="function"&&(s.flags|=4194308)}function no(s,o){try{var u="",h=o;do u+=je(h),h=h.return;while(h);var y=u}catch(w){y=` 39Error generating stack: `+w.message+` 40`+w.stack}return{value:s,source:o,stack:y,digest:null}}function Eh(s,o,u){return{value:s,source:null,stack:u??null,digest:o??null}}function kh(s,o){try{console.error(o.value)}catch(u){setTimeout(function(){throw u})}}var qT=typeof WeakMap=="function"?WeakMap:Map;function Yx(s,o,u){u=Sr(-1,u),u.tag=3,u.payload={element:null};var h=o.value;return u.callback=function(){Gc||(Gc=!0,Uh=h),kh(s,o)},u}function Xx(s,o,u){u=Sr(-1,u),u.tag=3;var h=s.type.getDerivedStateFromError;if(typeof h=="function"){var y=o.value;u.payload=function(){return h(y)},u.callback=function(){kh(s,o)}}var w=s.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){kh(s,o),typeof h!="function"&&(ss===null?ss=new Set([this]):ss.add(this));var E=o.stack;this.componentDidCatch(o.value,{componentStack:E!==null?E:""})}),u}function Jx(s,o,u){var h=s.pingCache;if(h===null){h=s.pingCache=new qT;var y=new Set;h.set(o,y)}else y=h.get(o),y===void 0&&(y=new Set,h.set(o,y));y.has(u)||(y.add(u),s=o_.bind(null,s,o,u),o.then(s,s))}function Zx(s){do{var o;if((o=s.tag===13)&&(o=s.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return s;s=s.return}while(s!==null);return null}function ev(s,o,u,h,y){return(s.mode&1)===0?(s===o?s.flags|=65536:(s.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(o=Sr(-1,1),o.tag=2,ns(u,o,1))),u.lanes|=1),s):(s.flags|=65536,s.lanes=y,s)}var KT=T.ReactCurrentOwner,Jt=!1;function $t(s,o,u,h){o.child=s===null?wx(o,null,u,h):Ji(o,s.child,u,h)}function tv(s,o,u,h,y){u=u.render;var w=o.ref;return eo(o,y),h=xh(s,o,u,h,w,y),u=vh(),s!==null&&!Jt?(o.updateQueue=s.updateQueue,o.flags&=-2053,s.lanes&=~y,Nr(s,o,y)):(rt&&u&&th(o),o.flags|=1,$t(s,o,h,y),o.child)}function nv(s,o,u,h,y){if(s===null){var w=u.type;return typeof w=="function"&&!Qh(w)&&w.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(o.tag=15,o.type=w,rv(s,o,w,h,y)):(s=eu(u.type,null,h,o,o.mode,y),s.ref=o.ref,s.return=o,o.child=s)}if(w=s.child,(s.lanes&y)===0){var E=w.memoizedProps;if(u=u.compare,u=u!==null?u:va,u(E,h)&&s.ref===o.ref)return Nr(s,o,y)}return o.flags|=1,s=ls(w,h),s.ref=o.ref,s.return=o,o.child=s}function rv(s,o,u,h,y){if(s!==null){var w=s.memoizedProps;if(va(w,h)&&s.ref===o.ref)if(Jt=!1,o.pendingProps=h=w,(s.lanes&y)!==0)(s.flags&131072)!==0&&(Jt=!0);else return o.lanes=s.lanes,Nr(s,o,y)}return Ph(s,o,u,h,y)}function sv(s,o,u){var h=o.pendingProps,y=h.children,w=s!==null?s.memoizedState:null;if(h.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Je(so,dn),dn|=u;else{if((u&1073741824)===0)return s=w!==null?w.baseLanes|u:u,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:s,cachePool:null,transitions:null},o.updateQueue=null,Je(so,dn),dn|=s,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=w!==null?w.baseLanes:u,Je(so,dn),dn|=h}else w!==null?(h=w.baseLanes|u,o.memoizedState=null):h=u,Je(so,dn),dn|=h;return $t(s,o,y,u),o.child}function iv(s,o){var u=o.ref;(s===null&&u!==null||s!==null&&s.ref!==u)&&(o.flags|=512,o.flags|=2097152)}
vendor: 13,708 bytes, line 40
40function Ph(s,o,u,h,y){var w=Xt(u)?zs:Ot.current;return w=Gi(o,w),eo(o,y),u=xh(s,o,u,h,w,y),h=vh(),s!==null&&!Jt?(o.updateQueue=s.updateQueue,o.flags&=-2053,s.lanes&=~y,Nr(s,o,y)):(rt&&h&&th(o),o.flags|=1,$t(s,o,u,y),o.child)}function ov(s,o,u,h,y){if(Xt(u)){var w=!0;jc(o)}else w=!1;if(eo(o,y),o.stateNode===null)$c(s,o),Gx(o,u,h),jh(o,u,h,y),h=!0;else if(s===null){var E=o.stateNode,_=o.memoizedProps;E.props=_;var M=E.context,$=u.contextType;typeof $=="object"&&$!==null?$=xn($):($=Xt(u)?zs:Ot.current,$=Gi(o,$));var X=u.getDerivedStateFromProps,ee=typeof X=="function"||typeof E.getSnapshotBeforeUpdate=="function";ee||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(_!==h||M!==$)&&Qx(o,E,h,$),ts=!1;var Q=o.memoizedState;E.state=Q,Oc(o,h,E,y),M=o.memoizedState,_!==h||Q!==M||Yt.current||ts?(typeof X=="function"&&(Ch(o,u,X,h),M=o.memoizedState),(_=ts||Kx(o,u,_,h,Q,M,$))?(ee||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(o.flags|=4194308)):(typeof E.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=h,o.memoizedState=M),E.props=h,E.state=M,E.context=$,h=_):(typeof E.componentDidMount=="function"&&(o.flags|=4194308),h=!1)}else{E=o.stateNode,Sx(s,o),_=o.memoizedProps,$=o.type===o.elementType?_:On(o.type,_),E.props=$,ee=o.pendingProps,Q=E.context,M=u.contextType,typeof M=="object"&&M!==null?M=xn(M):(M=Xt(u)?zs:Ot.current,M=Gi(o,M));var ae=u.getDerivedStateFromProps;(X=typeof ae=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(_!==ee||Q!==M)&&Qx(o,E,h,M),ts=!1,Q=o.memoizedState,E.state=Q,Oc(o,h,E,y);var fe=o.memoizedState;_!==ee||Q!==fe||Yt.current||ts?(typeof ae=="function"&&(Ch(o,u,ae,h),fe=o.memoizedState),($=ts||Kx(o,u,$,h,Q,fe,M)||!1)?(X||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(h,fe,M),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(h,fe,M)),typeof E.componentDidUpdate=="function"&&(o.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof E.componentDidUpdate!="function"||_===s.memoizedProps&&Q===s.memoizedState||(o.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||_===s.memoizedProps&&Q===s.memoizedState||(o.flags|=1024),o.memoizedProps=h,o.memoizedState=fe),E.props=h,E.state=fe,E.context=M,h=$):(typeof E.componentDidUpdate!="function"||_===s.memoizedProps&&Q===s.memoizedState||(o.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||_===s.memoizedProps&&Q===s.memoizedState||(o.flags|=1024),h=!1)}return Th(s,o,u,h,w,y)}function Th(s,o,u,h,y,w){iv(s,o);var E=(o.flags&128)!==0;if(!h&&!E)return y&&dx(o,u,!1),Nr(s,o,w);h=o.stateNode,KT.current=o;var _=E&&typeof u.getDerivedStateFromError!="function"?null:h.render();return o.flags|=1,s!==null&&E?(o.child=Ji(o,s.child,null,w),o.child=Ji(o,null,_,w)):$t(s,o,_,w),o.memoizedState=h.state,y&&dx(o,u,!0),o.child}function av(s){var o=s.stateNode;o.pendingContext?cx(s,o.pendingContext,o.pendingContext!==o.context):o.context&&cx(s,o.context,!1),fh(s,o.containerInfo)}function lv(s,o,u,h,y){return Xi(),ih(y),o.flags|=256,$t(s,o,u,h),o.child}var _h={dehydrated:null,treeContext:null,retryLane:0};function Rh(s){return{baseLanes:s,cachePool:null,transitions:null}}function cv(s,o,u){var h=o.pendingProps,y=st.current,w=!1,E=(o.flags&128)!==0,_;if((_=E)||(_=s!==null&&s.memoizedState===null?!1:(y&2)!==0),_?(w=!0,o.flags&=-129):(s===null||s.memoizedState!==null)&&(y|=1),Je(st,y&1),s===null)return sh(o),s=o.memoizedState,s!==null&&(s=s.dehydrated,s!==null)?((o.mode&1)===0?o.lanes=1:s.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(E=h.children,s=h.fallback,w?(h=o.mode,w=o.child,E={mode:"hidden",children:E},(h&1)===0&&w!==null?(w.childLanes=0,w.pendingProps=E):w=tu(E,h,0,null),s=Xs(s,h,u,null),w.return=o,s.return=o,w.sibling=s,o.child=w,o.child.memoizedState=Rh(u),o.memoizedState=_h,s):Ah(o,E));if(y=s.memoizedState,y!==null&&(_=y.dehydrated,_!==null))return GT(s,o,E,h,_,y,u);if(w){w=h.fallback,E=o.mode,y=s.child,_=y.sibling;var M={mode:"hidden",children:h.children};return(E&1)===0&&o.child!==y?(h=o.child,h.childLanes=0,h.pendingProps=M,o.deletions=null):(h=ls(y,M),h.subtreeFlags=y.subtreeFlags&14680064),_!==null?w=ls(_,w):(w=Xs(w,E,u,null),w.flags|=2),w.return=o,h.return=o,h.sibling=w,o.child=h,h=w,w=o.child,E=s.child.memoizedState,E=E===null?Rh(u):{baseLanes:E.baseLanes|u,cachePool:null,transitions:E.transitions},w.memoizedState=E,w.childLanes=s.childLanes&~u,o.memoizedState=_h,h}return w=s.child,s=w.sibling,h=ls(w,{mode:"visible",children:h.children}),(o.mode&1)===0&&(h.lanes=u),h.return=o,h.sibling=null,s!==null&&(u=o.deletions,u===null?(o.deletions=[s],o.flags|=16):u.push(s)),o.child=h,o.memoizedState=null,h}function Ah(s,o){return o=tu({mode:"visible",children:o},s.mode,0,null),o.return=s,s.child=o}function Uc(s,o,u,h){return h!==null&&ih(h),Ji(o,s.child,null,u),s=Ah(o,o.pendingProps.children),s.flags|=2,o.memoizedState=null,s}function GT(s,o,u,h,y,w,E){if(u)return o.flags&256?(o.flags&=-257,h=Eh(Error(n(422))),Uc(s,o,E,h)):o.memoizedState!==null?(o.child=s.child,o.flags|=128,null):(w=h.fallback,y=o.mode,h=tu({mode:"visible",children:h.children},y,0,null),w=Xs(w,y,E,null),w.flags|=2,h.return=o,w.return=o,h.sibling=w,o.child=h,(o.mode&1)!==0&&Ji(o,s.child,null,E),o.child.memoizedState=Rh(E),o.memoizedState=_h,w);if((o.mode&1)===0)return Uc(s,o,E,null);if(y.data==="$!"){if(h=y.nextSibling&&y.nextSibling.dataset,h)var _=h.dgst;return h=_,w=Error(n(419)),h=Eh(w,h,void 0),Uc(s,o,E,h)}if(_=(E&s.childLanes)!==0,Jt||_){if(h=Ct,h!==null){switch(E&-E){case 4:y=2;break;case 16:y=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:y=32;break;case 536870912:y=268435456;break;default:y=0}y=(y&(h.suspendedLanes|E))!==0?0:y,y!==0&&y!==w.retryLane&&(w.retryLane=y,br(s,y),Ln(h,s,y,-1))}return Gh(),h=Eh(Error(n(421))),Uc(s,o,E,h)}return y.data==="$?"?(o.flags|=128,o.child=s.child,o=a_.bind(null,s),y._reactRetry=o,null):(s=w.treeContext,un=Xr(y.nextSibling),cn=o,rt=!0,Mn=null,s!==null&&(gn[yn++]=vr,gn[yn++]=wr,gn[yn++]=Us,vr=s.id,wr=s.overflow,Us=o),o=Ah(o,h.children),o.flags|=4096,o)}function uv(s,o,u){s.lanes|=o;var h=s.alternate;h!==null&&(h.lanes|=o),ch(s.return,o,u)}function Mh(s,o,u,h,y){var w=s.memoizedState;w===null?s.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:y}:(w.isBackwards=o,w.rendering=null,w.renderingStartTime=0,w.last=h,w.tail=u,w.tailMode=y)}function dv(s,o,u){var h=o.pendingProps,y=h.revealOrder,w=h.tail;if($t(s,o,h.children,u),h=st.current,(h&2)!==0)h=h&1|2,o.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=o.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&uv(s,u,o);else if(s.tag===19)uv(s,u,o);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break e;for(;s.sibling===null;){if(s.return===null||s.return===o)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}h&=1}if(Je(st,h),(o.mode&1)===0)o.memoizedState=null;else switch(y){case"forwards":for(u=o.child,y=null;u!==null;)s=u.alternate,s!==null&&Dc(s)===null&&(y=u),u=u.sibling;u=y,u===null?(y=o.child,o.child=null):(y=u.sibling,u.sibling=null),Mh(o,!1,y,u,w);break;case"backwards":for(u=null,y=o.child,o.child=null;y!==null;){if(s=y.alternate,s!==null&&Dc(s)===null){o.child=y;break}s=y.sibling,y.sibling=u,u=y,y=s}Mh(o,!0,u,null,w);break;case"together":Mh(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function $c(s,o){(o.mode&1)===0&&s!==null&&(s.alternate=null,o.alternate=null,o.flags|=2)}function Nr(s,o,u){if(s!==null&&(o.dependencies=s.dependencies),Ks|=o.lanes,(u&o.childLanes)===0)return null;if(s!==null&&o.child!==s.child)throw Error(n(153));if(o.child!==null){for(s=o.child,u=ls(s,s.pendingProps),o.child=u,u.return=o;s.sibling!==null;)s=s.sibling,u=u.sibling=ls(s,s.pendingProps),u.return=o;u.sibling=null}return o.child}function QT(s,o,u){switch(o.tag){case 3:av(o),Xi();break;case 5:jx(o);break;case 1:Xt(o.type)&&jc(o);break;case 4:fh(o,o.stateNode.containerInfo);break;case 10:var h=o.type._context,y=o.memoizedProps.value;Je(Rc,h._currentValue),h._currentValue=y;break;case 13:if(h=o.memoizedState,h!==null)return h.dehydrated!==null?(Je(st,st.current&1),o.flags|=128,null):(u&o.child.childLanes)!==0?cv(s,o,u):(Je(st,st.current&1),s=Nr(s,o,u),s!==null?s.sibling:null);Je(st,st.current&1);break;case 19:if(h=(u&o.childLanes)!==0,(s.flags&128)!==0){if(h)return dv(s,o,u);o.flags|=128}if(y=o.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Je(st,st.current),h)break;return null;case 22:case 23:return o.lanes=0,sv(s,o,u)}return Nr(s,o,u)}var fv,Oh,hv,mv;fv=function(s,o){for(var u=o.child;u!==null;){if(u.tag===5||u.tag===6)s.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===o)break;for(;u.sibling===null;){if(u.return===null||u.return===o)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},Oh=function(){},hv=function(s,o,u,h){var y=s.memoizedProps;if(y!==h){s=o.stateNode,Ws(Xn.current);var w=null;switch(u){case"input":y=Qt(s,y),h=Qt(s,h),w=[];break;case"select":y=Y({},y,{value:void 0}),h=Y({},h,{value:void 0}),w=[];break;case"textarea":y=ff(s,y),h=ff(s,h),w=[];break;default:typeof y.onClick!="function"&&typeof h.onClick=="function"&&(s.onclick=Sc)}mf(u,h);var E;u=null;for($ in y)if(!h.hasOwnProperty($)&&y.hasOwnProperty($)&&y[$]!=null)if($==="style"){var _=y[$];for(E in _)_.hasOwnProperty(E)&&(u||(u={}),u[E]="")}else $!=="dangerouslySetInnerHTML"&&$!=="children"&&$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&$!=="autoFocus"&&(i.hasOwnProperty($)?w||(w=[]):(w=w||[]).push($,null));for($ in h){var M=h[$];if(_=y!=null?y[$]:void 0,h.hasOwnProperty($)&&M!==_&&(M!=null||_!=null))if($==="style")if(_){for(E in _)!_.hasOwnProperty(E)||M&&M.hasOwnProperty(E)||(u||(u={}),u[E]="");for(E in M)M.hasOwnProperty(E)&&_[E]!==M[E]&&(u||(u={}),u[E]=M[E])}else u||(w||(w=[]),w.push($,u)),u=M;else $==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,_=_?_.__html:void 0,M!=null&&_!==M&&(w=w||[]).push($,M)):$==="children"?typeof M!="string"&&typeof M!="number"||(w=w||[]).push($,""+M):$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&(i.hasOwnProperty($)?(M!=null&&$==="onScroll"&&et("scroll",s),w||_===M||(w=[])):(w=w||[]).push($,M))}u&&(w=w||[]).push("style",u);var $=w;(o.updateQueue=$)&&(o.flags|=4)}},mv=function(s,o,u,h){u!==h&&(o.flags|=4)};function Oa(s,o){if(!rt)switch(s.tailMode){case"hidden":o=s.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?s.tail=null:u.sibling=null;break;case"collapsed":u=s.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?o||s.tail===null?s.tail=null:s.tail.sibling=null:h.sibling=null}}function It(s){var o=s.alternate!==null&&s.alternate.child===s.child,u=0,h=0;if(o)for(var y=s.child;y!==null;)u|=y.lanes|y.childLanes,h|=y.subtreeFlags&14680064,h|=y.flags&14680064,y.return=s,y=y.sibling;else for(y=s.child;y!==null;)u|=y.lanes|y.childLanes,h|=y.subtreeFlags,h|=y.flags,y.return=s,y=y.sibling;return s.subtreeFlags|=h,s.childLanes=u,o}function YT(s,o,u){var h=o.pendingProps;switch(nh(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return It(o),null;case 1:return Xt(o.type)&&Cc(),It(o),null;case 3:return h=o.stateNode,to(),tt(Yt),tt(Ot),ph(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(s===null||s.child===null)&&(Tc(o)?o.flags|=4:s===null||s.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Mn!==null&&(Wh(Mn),Mn=null))),Oh(s,o),It(o),null;case 5:hh(o);var y=Ws(Ta.current);if(u=o.type,s!==null&&o.stateNode!=null)hv(s,o,u,h,y),s.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!h){if(o.stateNode===null)throw Error(n(166));return It(o),null}if(s=Ws(Xn.current),Tc(o)){h=o.stateNode,u=o.type;var w=o.memoizedProps;switch(h[Yn]=o,h[Ca]=w,s=(o.mode&1)!==0,u){case"dialog":et("cancel",h),et("close",h);break;case"iframe":case"object":case"embed":et("load",h);break;case"video":case"audio":for(y=0;y<ba.length;y++)et(ba[y],h);break;case"source":et("error",h);break;case"img":case"image":case"link":et("error",h),et("load",h);break;case"details":et("toggle",h);break;case"input":Ur(h,w),et("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!w.multiple},et("invalid",h);break;case"textarea":Xy(h,w),et("invalid",h)}mf(u,w),y=null;for(var E in w)if(w.hasOwnProperty(E)){var _=w[E];E==="children"?typeof _=="string"?h.textContent!==_&&(w.suppressHydrationWarning!==!0&&bc(h.textContent,_,s),y=["children",_]):typeof _=="number"&&h.textContent!==""+_&&(w.suppressHydrationWarning!==!0&&bc(h.textContent,_,s),y=["children",""+_]):i.hasOwnProperty(E)&&_!=null&&E==="onScroll"&&et("scroll",h)}switch(u){case"input":Be(h),Zl(h,w,!0);break;case"textarea":Be(h),Zy(h);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(h.onclick=Sc)}h=y,o.updateQueue=h,h!==null&&(o.flags|=4)}else{E=y.nodeType===9?y:y.ownerDocument,s==="http://www.w3.org/1999/xhtml"&&(s=e0(u)),s==="http://www.w3.org/1999/xhtml"?u==="script"?(s=E.createElement("div"),s.innerHTML="<script><\/script>
40",s=s.removeChild(s.firstChild)):typeof h.is=="string"?s=E.createElement(u,{is:h.is}):(s=E.createElement(u),u==="select"&&(E=s,h.multiple?E.multiple=!0:h.size&&(E.size=h.size))):s=E.createElementNS(s,u),s[Yn]=o,s[Ca]=h,fv(s,o,!1,!1),o.stateNode=s;e:{switch(E=pf(u,h),u){case"dialog":et("cancel",s),et("close",s),y=h;break;case"iframe":case"object":case"embed":et("load",s),y=h;break;case"video":case"audio":for(y=0;y<ba.length;y++)et(ba[y],s);y=h;break;case"source":et("error",s),y=h;break;case"img":case"image":case"link":et("error",s),et("load",s),y=h;break;case"details":et("toggle",s),y=h;break;case"input":Ur(s,h),y=Qt(s,h),et("invalid",s);break;case"option":y=h;break;case"select":s._wrapperState={wasMultiple:!!h.multiple},y=Y({},h,{value:void 0}),et("invalid",s);break;case"textarea":Xy(s,h),y=ff(s,h),et("invalid",s);break;default:y=h}mf(u,y),_=y;for(w in _)if(_.hasOwnProperty(w)){var M=_[w];w==="style"?r0(s,M):w==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&t0(s,M)):w==="children"?typeof M=="string"?(u!=="textarea"||M!=="")&&na(s,M):typeof M=="number"&&na(s,""+M):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(i.hasOwnProperty(w)?M!=null&&w==="onScroll"&&et("scroll",s):M!=null&&k(s,w,M,E))}switch(u){case"input":Be(s),Zl(s,h,!1);break;case"textarea":Be(s),Zy(s);break;case"option":h.value!=null&&s.setAttribute("value",""+ge(h.value));break;case"select":s.multiple=!!h.multiple,w=h.value,w!=null?Ii(s,!!h.multiple,w,!1):h.defaultValue!=null&&Ii(s,!!h.multiple,h.defaultValue,!0);break;default:typeof y.onClick=="function"&&(s.onclick=Sc)}switch(u){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return It(o),null;case 6:if(s&&o.stateNode!=null)mv(s,o,s.memoizedProps,h);else{if(typeof h!="string"&&o.stateNode===null)throw Error(n(166));if(u=Ws(Ta.current),Ws(Xn.current),Tc(o)){if(h=o.stateNode,u=o.memoizedProps,h[Yn]=o,(w=h.nodeValue!==u)&&(s=cn,s!==null))switch(s.tag){case 3:bc(h.nodeValue,u,(s.mode&1)!==0);break;case 5:s.memoizedProps.suppressHydrationWarning!==!0&&bc(h.nodeValue,u,(s.mode&1)!==0)}w&&(o.flags|=4)}else h=(u.nodeType===9?u:u.ownerDocument).createTextNode(h),h[Yn]=o,o.stateNode=h}return It(o),null;case 13:if(tt(st),h=o.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(rt&&un!==null&&(o.mode&1)!==0&&(o.flags&128)===0)yx(),Xi(),o.flags|=98560,w=!1;else if(w=Tc(o),h!==null&&h.dehydrated!==null){if(s===null){if(!w)throw Error(n(318));if(w=o.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(n(317));w[Yn]=o}else Xi(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;It(o),w=!1}else Mn!==null&&(Wh(Mn),Mn=null),w=!0;if(!w)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=u,o):(h=h!==null,h!==(s!==null&&s.memoizedState!==null)&&h&&(o.child.flags|=8192,(o.mode&1)!==0&&(s===null||(st.current&1)!==0?vt===0&&(vt=3):Gh())),o.updateQueue!==null&&(o.flags|=4),It(o),null);case 4:return to(),Oh(s,o),s===null&&Sa(o.stateNode.containerInfo),It(o),null;case 10:return lh(o.type._context),It(o),null;case 17:return Xt(o.type)&&Cc(),It(o),null;case 19:if(tt(st),w=o.memoizedState,w===null)return It(o),null;if(h=(o.flags&128)!==0,E=w.rendering,E===null)if(h)Oa(w,!1);else{if(vt!==0||s!==null&&(s.flags&128)!==0)for(s=o.child;s!==null;){if(E=Dc(s),E!==null){for(o.flags|=128,Oa(w,!1),h=E.updateQueue,h!==null&&(o.updateQueue=h,o.flags|=4),o.subtreeFlags=0,h=u,u=o.child;u!==null;)w=u,s=h,w.flags&=14680066,E=w.alternate,E===null?(w.childLanes=0,w.lanes=s,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=E.childLanes,w.lanes=E.lanes,w.child=E.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=E.memoizedProps,w.memoizedState=E.memoizedState,w.updateQueue=E.updateQueue,w.type=E.type,s=E.dependencies,w.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),u=u.sibling;return Je(st,st.current&1|2),o.child}s=s.sibling}w.tail!==null&&ut()>io&&(o.flags|=128,h=!0,Oa(w,!1),o.lanes=4194304)}else{if(!h)if(s=Dc(E),s!==null){if(o.flags|=128,h=!0,u=s.updateQueue,u!==null&&(o.updateQueue=u,o.flags|=4),Oa(w,!0),w.tail===null&&w.tailMode==="hidden"&&!E.alternate&&!rt)return It(o),null}else 2*ut()-w.renderingStartTime>io&&u!==1073741824&&(o.flags|=128,h=!0,Oa(w,!1),o.lanes=4194304);w.isBackwards?(E.sibling=o.child,o.child=E):(u=w.last,u!==null?u.sibling=E:o.child=E,w.last=E)}return w.tail!==null?(o=w.tail,w.rendering=o,w.tail=o.sibling,w.renderingStartTime=ut(),o.sibling=null,u=st.current,Je(st,h?u&1|2:u&1),o):(It(o),null);case 22:case 23:return Kh(),h=o.memoizedState!==null,s!==null&&s.memoizedState!==null!==h&&(o.flags|=8192),h&&(o.mode&1)!==0?(dn&1073741824)!==0&&(It(o),o.subtreeFlags&6&&(o.flags|=8192)):It(o),null;case 24:return null;case 25:return null}throw Error(n(156,o.tag))}function XT(s,o){switch(nh(o),o.tag){case 1:return Xt(o.type)&&Cc(),s=o.flags,s&65536?(o.flags=s&-65537|128,o):null;case 3:return to(),tt(Yt),tt(Ot),ph(),s=o.flags,(s&65536)!==0&&(s&128)===0?(o.flags=s&-65537|128,o):null;case 5:return hh(o),null;case 13:if(tt(st),s=o.memoizedState,s!==null&&s.dehydrated!==null){if(o.alternate===null)throw Error(n(340));Xi()}return s=o.flags,s&65536?(o.flags=s&-65537|128,o):null;case 19:return tt(st),null;case 4:return to(),null;case 10:return lh(o.type._context),null;case 22:case 23:return Kh(),null;case 24:return null;default:return null}}var Hc=!1,Lt=!1,JT=typeof WeakSet=="function"?WeakSet:Set,de=null;function ro(s,o){var u=s.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(h){at(s,o,h)}else u.current=null}function Dh(s,o,u){try{u()}catch(h){at(s,o,h)}}var pv=!1;
vendor: 17,842 bytes, line 40
40function ZT(s,o){if(Kf=uc,s=K0(),Bf(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{u=(u=s.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var y=h.anchorOffset,w=h.focusNode;h=h.focusOffset;try{u.nodeType,w.nodeType}catch{u=null;break e}var E=0,_=-1,M=-1,$=0,X=0,ee=s,Q=null;t:for(;;){for(var ae;ee!==u||y!==0&&ee.nodeType!==3||(_=E+y),ee!==w||h!==0&&ee.nodeType!==3||(M=E+h),ee.nodeType===3&&(E+=ee.nodeValue.length),(ae=ee.firstChild)!==null;)Q=ee,ee=ae;for(;;){if(ee===s)break t;if(Q===u&&++$===y&&(_=E),Q===w&&++X===h&&(M=E),(ae=ee.nextSibling)!==null)break;ee=Q,Q=ee.parentNode}ee=ae}u=_===-1||M===-1?null:{start:_,end:M}}else u=null}u=u||{start:0,end:0}}else u=null;for(Gf={focusedElem:s,selectionRange:u},uc=!1,de=o;de!==null;)if(o=de,s=o.child,(o.subtreeFlags&1028)!==0&&s!==null)s.return=o,de=s;else for(;de!==null;){o=de;try{var fe=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(fe!==null){var pe=fe.memoizedProps,dt=fe.memoizedState,V=o.stateNode,I=V.getSnapshotBeforeUpdate(o.elementType===o.type?pe:On(o.type,pe),dt);V.__reactInternalSnapshotBeforeUpdate=I}break;case 3:var z=o.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(re){at(o,o.return,re)}if(s=o.sibling,s!==null){s.return=o.return,de=s;break}de=o.return}return fe=pv,pv=!1,fe}function Da(s,o,u){var h=o.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var y=h=h.next;do{if((y.tag&s)===s){var w=y.destroy;y.destroy=void 0,w!==void 0&&Dh(o,u,w)}y=y.next}while(y!==h)}}function Wc(s,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var u=o=o.next;do{if((u.tag&s)===s){var h=u.create;u.destroy=h()}u=u.next}while(u!==o)}}function Ih(s){var o=s.ref;if(o!==null){var u=s.stateNode;switch(s.tag){case 5:s=u;break;default:s=u}typeof o=="function"?o(s):o.current=s}}function gv(s){var o=s.alternate;o!==null&&(s.alternate=null,gv(o)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(o=s.stateNode,o!==null&&(delete o[Yn],delete o[Ca],delete o[Jf],delete o[DT],delete o[IT])),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}function yv(s){return s.tag===5||s.tag===3||s.tag===4}function xv(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||yv(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function Lh(s,o,u){var h=s.tag;if(h===5||h===6)s=s.stateNode,o?u.nodeType===8?u.parentNode.insertBefore(s,o):u.insertBefore(s,o):(u.nodeType===8?(o=u.parentNode,o.insertBefore(s,u)):(o=u,o.appendChild(s)),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=Sc));else if(h!==4&&(s=s.child,s!==null))for(Lh(s,o,u),s=s.sibling;s!==null;)Lh(s,o,u),s=s.sibling}function Fh(s,o,u){var h=s.tag;if(h===5||h===6)s=s.stateNode,o?u.insertBefore(s,o):u.appendChild(s);else if(h!==4&&(s=s.child,s!==null))for(Fh(s,o,u),s=s.sibling;s!==null;)Fh(s,o,u),s=s.sibling}var Pt=null,Dn=!1;function rs(s,o,u){for(u=u.child;u!==null;)vv(s,o,u),u=u.sibling}function vv(s,o,u){if(Qn&&typeof Qn.onCommitFiberUnmount=="function")try{Qn.onCommitFiberUnmount(sc,u)}catch{}switch(u.tag){case 5:Lt||ro(u,o);case 6:var h=Pt,y=Dn;Pt=null,rs(s,o,u),Pt=h,Dn=y,Pt!==null&&(Dn?(s=Pt,u=u.stateNode,s.nodeType===8?s.parentNode.removeChild(u):s.removeChild(u)):Pt.removeChild(u.stateNode));break;case 18:Pt!==null&&(Dn?(s=Pt,u=u.stateNode,s.nodeType===8?Xf(s.parentNode,u):s.nodeType===1&&Xf(s,u),ha(s)):Xf(Pt,u.stateNode));break;case 4:h=Pt,y=Dn,Pt=u.stateNode.containerInfo,Dn=!0,rs(s,o,u),Pt=h,Dn=y;break;case 0:case 11:case 14:case 15:if(!Lt&&(h=u.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){y=h=h.next;do{var w=y,E=w.destroy;w=w.tag,E!==void 0&&((w&2)!==0||(w&4)!==0)&&Dh(u,o,E),y=y.next}while(y!==h)}rs(s,o,u);break;case 1:if(!Lt&&(ro(u,o),h=u.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=u.memoizedProps,h.state=u.memoizedState,h.componentWillUnmount()}catch(_){at(u,o,_)}rs(s,o,u);break;case 21:rs(s,o,u);break;case 22:u.mode&1?(Lt=(h=Lt)||u.memoizedState!==null,rs(s,o,u),Lt=h):rs(s,o,u);break;default:rs(s,o,u)}}function wv(s){var o=s.updateQueue;if(o!==null){s.updateQueue=null;var u=s.stateNode;u===null&&(u=s.stateNode=new JT),o.forEach(function(h){var y=l_.bind(null,s,h);u.has(h)||(u.add(h),h.then(y,y))})}}function In(s,o){var u=o.deletions;if(u!==null)for(var h=0;h<u.length;h++){var y=u[h];try{var w=s,E=o,_=E;e:for(;_!==null;){switch(_.tag){case 5:Pt=_.stateNode,Dn=!1;break e;case 3:Pt=_.stateNode.containerInfo,Dn=!0;break e;case 4:Pt=_.stateNode.containerInfo,Dn=!0;break e}_=_.return}if(Pt===null)throw Error(n(160));vv(w,E,y),Pt=null,Dn=!1;var M=y.alternate;M!==null&&(M.return=null),y.return=null}catch($){at(y,o,$)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)bv(o,s),o=o.sibling}function bv(s,o){var u=s.alternate,h=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:if(In(o,s),Zn(s),h&4){try{Da(3,s,s.return),Wc(3,s)}catch(pe){at(s,s.return,pe)}try{Da(5,s,s.return)}catch(pe){at(s,s.return,pe)}}break;case 1:In(o,s),Zn(s),h&512&&u!==null&&ro(u,u.return);break;case 5:if(In(o,s),Zn(s),h&512&&u!==null&&ro(u,u.return),s.flags&32){var y=s.stateNode;try{na(y,"")}catch(pe){at(s,s.return,pe)}}if(h&4&&(y=s.stateNode,y!=null)){var w=s.memoizedProps,E=u!==null?u.memoizedProps:w,_=s.type,M=s.updateQueue;if(s.updateQueue=null,M!==null)try{_==="input"&&w.type==="radio"&&w.name!=null&&$r(y,w),pf(_,E);var $=pf(_,w);for(E=0;E<M.length;E+=2){var X=M[E],ee=M[E+1];X==="style"?r0(y,ee):X==="dangerouslySetInnerHTML"?t0(y,ee):X==="children"?na(y,ee):k(y,X,ee,$)}switch(_){case"input":gr(y,w);break;case"textarea":Jy(y,w);break;case"select":var Q=y._wrapperState.wasMultiple;y._wrapperState.wasMultiple=!!w.multiple;var ae=w.value;ae!=null?Ii(y,!!w.multiple,ae,!1):Q!==!!w.multiple&&(w.defaultValue!=null?Ii(y,!!w.multiple,w.defaultValue,!0):Ii(y,!!w.multiple,w.multiple?[]:"",!1))}y[Ca]=w}catch(pe){at(s,s.return,pe)}}break;case 6:if(In(o,s),Zn(s),h&4){if(s.stateNode===null)throw Error(n(162));y=s.stateNode,w=s.memoizedProps;try{y.nodeValue=w}catch(pe){at(s,s.return,pe)}}break;case 3:if(In(o,s),Zn(s),h&4&&u!==null&&u.memoizedState.isDehydrated)try{ha(o.containerInfo)}catch(pe){at(s,s.return,pe)}break;case 4:In(o,s),Zn(s);break;case 13:In(o,s),Zn(s),y=s.child,y.flags&8192&&(w=y.memoizedState!==null,y.stateNode.isHidden=w,!w||y.alternate!==null&&y.alternate.memoizedState!==null||(zh=ut())),h&4&&wv(s);break;case 22:if(X=u!==null&&u.memoizedState!==null,s.mode&1?(Lt=($=Lt)||X,In(o,s),Lt=$):In(o,s),Zn(s),h&8192){if($=s.memoizedState!==null,(s.stateNode.isHidden=$)&&!X&&(s.mode&1)!==0)for(de=s,X=s.child;X!==null;){for(ee=de=X;de!==null;){switch(Q=de,ae=Q.child,Q.tag){case 0:case 11:case 14:case 15:Da(4,Q,Q.return);break;case 1:ro(Q,Q.return);var fe=Q.stateNode;if(typeof fe.componentWillUnmount=="function"){h=Q,u=Q.return;try{o=h,fe.props=o.memoizedProps,fe.state=o.memoizedState,fe.componentWillUnmount()}catch(pe){at(h,u,pe)}}break;case 5:ro(Q,Q.return);break;case 22:if(Q.memoizedState!==null){Cv(ee);continue}}ae!==null?(ae.return=Q,de=ae):Cv(ee)}X=X.sibling}e:for(X=null,ee=s;;){if(ee.tag===5){if(X===null){X=ee;try{y=ee.stateNode,$?(w=y.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(_=ee.stateNode,M=ee.memoizedProps.style,E=M!=null&&M.hasOwnProperty("display")?M.display:null,_.style.display=n0("display",E))}catch(pe){at(s,s.return,pe)}}}else if(ee.tag===6){if(X===null)try{ee.stateNode.nodeValue=$?"":ee.memoizedProps}catch(pe){at(s,s.return,pe)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===s)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===s)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===s)break e;X===ee&&(X=null),ee=ee.return}X===ee&&(X=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:In(o,s),Zn(s),h&4&&wv(s);break;case 21:break;default:In(o,s),Zn(s)}}function Zn(s){var o=s.flags;if(o&2){try{e:{for(var u=s.return;u!==null;){if(yv(u)){var h=u;break e}u=u.return}throw Error(n(160))}switch(h.tag){case 5:var y=h.stateNode;h.flags&32&&(na(y,""),h.flags&=-33);var w=xv(s);Fh(s,w,y);break;case 3:case 4:var E=h.stateNode.containerInfo,_=xv(s);Lh(s,_,E);break;default:throw Error(n(161))}}catch(M){at(s,s.return,M)}s.flags&=-3}o&4096&&(s.flags&=-4097)}function e_(s,o,u){de=s,Sv(s)}function Sv(s,o,u){for(var h=(s.mode&1)!==0;de!==null;){var y=de,w=y.child;if(y.tag===22&&h){var E=y.memoizedState!==null||Hc;if(!E){var _=y.alternate,M=_!==null&&_.memoizedState!==null||Lt;_=Hc;var $=Lt;if(Hc=E,(Lt=M)&&!$)for(de=y;de!==null;)E=de,M=E.child,E.tag===22&&E.memoizedState!==null?jv(y):M!==null?(M.return=E,de=M):jv(y);for(;w!==null;)de=w,Sv(w),w=w.sibling;de=y,Hc=_,Lt=$}Nv(s)}else(y.subtreeFlags&8772)!==0&&w!==null?(w.return=y,de=w):Nv(s)}}function Nv(s){for(;de!==null;){var o=de;if((o.flags&8772)!==0){var u=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:Lt||Wc(5,o);break;case 1:var h=o.stateNode;if(o.flags&4&&!Lt)if(u===null)h.componentDidMount();else{var y=o.elementType===o.type?u.memoizedProps:On(o.type,u.memoizedProps);h.componentDidUpdate(y,u.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var w=o.updateQueue;w!==null&&Cx(o,w,h);break;case 3:var E=o.updateQueue;if(E!==null){if(u=null,o.child!==null)switch(o.child.tag){case 5:u=o.child.stateNode;break;case 1:u=o.child.stateNode}Cx(o,E,u)}break;case 5:var _=o.stateNode;if(u===null&&o.flags&4){u=_;var M=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&u.focus();break;case"img":M.src&&(u.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var $=o.alternate;if($!==null){var X=$.memoizedState;if(X!==null){var ee=X.dehydrated;ee!==null&&ha(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Lt||o.flags&512&&Ih(o)}catch(Q){at(o,o.return,Q)}}if(o===s){de=null;break}if(u=o.sibling,u!==null){u.return=o.return,de=u;break}de=o.return}}function Cv(s){for(;de!==null;){var o=de;if(o===s){de=null;break}var u=o.sibling;if(u!==null){u.return=o.return,de=u;break}de=o.return}}function jv(s){for(;de!==null;){var o=de;try{switch(o.tag){case 0:case 11:case 15:var u=o.return;try{Wc(4,o)}catch(M){at(o,u,M)}break;case 1:var h=o.stateNode;if(typeof h.componentDidMount=="function"){var y=o.return;try{h.componentDidMount()}catch(M){at(o,y,M)}}var w=o.return;try{Ih(o)}catch(M){at(o,w,M)}break;case 5:var E=o.return;try{Ih(o)}catch(M){at(o,E,M)}}}catch(M){at(o,o.return,M)}if(o===s){de=null;break}var _=o.sibling;if(_!==null){_.return=o.return,de=_;break}de=o.return}}var t_=Math.ceil,qc=T.ReactCurrentDispatcher,Bh=T.ReactCurrentOwner,wn=T.ReactCurrentBatchConfig,$e=0,Ct=null,mt=null,Tt=0,dn=0,so=Jr(0),vt=0,Ia=null,Ks=0,Kc=0,Vh=0,La=null,Zt=null,zh=0,io=1/0,Cr=null,Gc=!1,Uh=null,ss=null,Qc=!1,is=null,Yc=0,Fa=0,$h=null,Xc=-1,Jc=0;function Ht(){return($e&6)!==0?ut():Xc!==-1?Xc:Xc=ut()}function os(s){return(s.mode&1)===0?1:($e&2)!==0&&Tt!==0?Tt&-Tt:FT.transition!==null?(Jc===0&&(Jc=x0()),Jc):(s=Ke,s!==0||(s=window.event,s=s===void 0?16:k0(s.type)),s)}function Ln(s,o,u,h){if(50<Fa)throw Fa=0,$h=null,Error(n(185));la(s,u,h),(($e&2)===0||s!==Ct)&&(s===Ct&&(($e&2)===0&&(Kc|=u),vt===4&&as(s,Tt)),en(s,h),u===1&&$e===0&&(o.mode&1)===0&&(io=ut()+500,Ec&&es()))}function en(s,o){var u=s.callbackNode;F2(s,o);var h=ac(s,s===Ct?Tt:0);if(h===0)u!==null&&p0(u),s.callbackNode=null,s.callbackPriority=0;else if(o=h&-h,s.callbackPriority!==o){if(u!=null&&p0(u),o===1)s.tag===0?LT(kv.bind(null,s)):fx(kv.bind(null,s)),MT(function(){($e&6)===0&&es()}),u=null;else{switch(v0(h)){case 1:u=Sf;break;case 4:u=g0;break;case 16:u=rc;break;case 536870912:u=y0;break;default:u=rc}u=Dv(u,Ev.bind(null,s))}s.callbackPriority=o,s.callbackNode=u}}function Ev(s,o){if(Xc=-1,Jc=0,($e&6)!==0)throw Error(n(327));var u=s.callbackNode;if(oo()&&s.callbackNode!==u)return null;var h=ac(s,s===Ct?Tt:0);if(h===0)return null;if((h&30)!==0||(h&s.expiredLanes)!==0||o)o=Zc(s,h);else{o=h;var y=$e;$e|=2;var w=Tv();(Ct!==s||Tt!==o)&&(Cr=null,io=ut()+500,Qs(s,o));do try{s_();break}catch(_){Pv(s,_)}while(!0);ah(),qc.current=w,$e=y,mt!==null?o=0:(Ct=null,Tt=0,o=vt)}if(o!==0){if(o===2&&(y=Nf(s),y!==0&&(h=y,o=Hh(s,y))),o===1)throw u=Ia,Qs(s,0),as(s,h),en(s,ut()),u;if(o===6)as(s,h);else{if(y=s.current.alternate,(h&30)===0&&!n_(y)&&(o=Zc(s,h),o===2&&(w=Nf(s),w!==0&&(h=w,o=Hh(s,w))),o===1))throw u=Ia,Qs(s,0),as(s,h),en(s,ut()),u;switch(s.finishedWork=y,s.finishedLanes=h,o){case 0:case 1:throw Error(n(345));case 2:Ys(s,Zt,Cr);break;case 3:if(as(s,h),(h&130023424)===h&&(o=zh+500-ut(),10<o)){if(ac(s,0)!==0)break;if(y=s.suspendedLanes,(y&h)!==h){Ht(),s.pingedLanes|=s.suspendedLanes&y;break}s.timeoutHandle=Yf(Ys.bind(null,s,Zt,Cr),o);break}Ys(s,Zt,Cr);break;case 4:if(as(s,h),(h&4194240)===h)break;for(o=s.eventTimes,y=-1;0<h;){var E=31-Rn(h);w=1<<E,E=o[E],E>y&&(y=E),h&=~w}if(h=y,h=ut()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*t_(h/1960))-h,10<h){s.timeoutHandle=Yf(Ys.bind(null,s,Zt,Cr),h);break}Ys(s,Zt,Cr);break;case 5:Ys(s,Zt,Cr);break;default:throw Error(n(329))}}}return en(s,ut()),s.callbackNode===u?Ev.bind(null,s):null}function Hh(s,o){var u=La;return s.current.memoizedState.isDehydrated&&(Qs(s,o).flags|=256),s=Zc(s,o),s!==2&&(o=Zt,Zt=u,o!==null&&Wh(o)),s}function Wh(s){Zt===null?Zt=s:Zt.push.apply(Zt,s)}function n_(s){for(var o=s;;){if(o.flags&16384){var u=o.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var h=0;h<u.length;h++){var y=u[h],w=y.getSnapshot;y=y.value;try{if(!An(w(),y))return!1}catch{return!1}}}if(u=o.child,o.subtreeFlags&16384&&u!==null)u.return=o,o=u;else{if(o===s)break;for(;o.sibling===null;){if(o.return===null||o.return===s)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function as(s,o){for(o&=~Vh,o&=~Kc,s.suspendedLanes|=o,s.pingedLanes&=~o,s=s.expirationTimes;0<o;){var u=31-Rn(o),h=1<<u;s[u]=-1,o&=~h}}function kv(s){if(($e&6)!==0)throw Error(n(327));oo();var o=ac(s,0);if((o&1)===0)return en(s,ut()),null;var u=Zc(s,o);if(s.tag!==0&&u===2){var h=Nf(s);h!==0&&(o=h,u=Hh(s,h))}if(u===1)throw u=Ia,Qs(s,0),as(s,o),en(s,ut()),u;if(u===6)throw Error(n(345));return s.finishedWork=s.current.alternate,s.finishedLanes=o,Ys(s,Zt,Cr),en(s,ut()),null}function qh(s,o){var u=$e;$e|=1;try{return s(o)}finally{$e=u,$e===0&&(io=ut()+500,Ec&&es())}}function Gs(s){is!==null&&is.tag===0&&($e&6)===0&&oo();var o=$e;$e|=1;var u=wn.transition,h=Ke;try{if(wn.transition=null,Ke=1,s)return s()}finally{Ke=h,wn.transition=u,$e=o,($e&6)===0&&es()}}function Kh(){dn=so.current,tt(so)}function Qs(s,o){s.finishedWork=null,s.finishedLanes=0;var u=s.timeoutHandle;if(u!==-1&&(s.timeoutHandle=-1,AT(u)),mt!==null)for(u=mt.return;u!==null;){var h=u;switch(nh(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Cc();break;case 3:to(),tt(Yt),tt(Ot),ph();break;case 5:hh(h);break;case 4:to();break;case 13:tt(st);break;case 19:tt(st);break;case 10:lh(h.type._context);break;case 22:case 23:Kh()}u=u.return}if(Ct=s,mt=s=ls(s.current,null),Tt=dn=o,vt=0,Ia=null,Vh=Kc=Ks=0,Zt=La=null,Hs!==null){for(o=0;o<Hs.length;o++)if(u=Hs[o],h=u.interleaved,h!==null){u.interleaved=null;var y=h.next,w=u.pending;if(w!==null){var E=w.next;w.next=y,h.next=E}u.pending=h}Hs=null}return s}function Pv(s,o){do{var u=mt;try{if(ah(),Ic.current=Vc,Lc){for(var h=it.memoizedState;h!==null;){var y=h.queue;y!==null&&(y.pending=null),h=h.next}Lc=!1}if(qs=0,Nt=xt=it=null,_a=!1,Ra=0,Bh.current=null,u===null||u.return===null){vt=1,Ia=o,mt=null;break}e:{var w=s,E=u.return,_=u,M=o;if(o=Tt,_.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var $=M,X=_,ee=X.tag;if((X.mode&1)===0&&(ee===0||ee===11||ee===15)){var Q=X.alternate;Q?(X.updateQueue=Q.updateQueue,X.memoizedState=Q.memoizedState,X.lanes=Q.lanes):(X.updateQueue=null,X.memoizedState=null)}var ae=Zx(E);if(ae!==null){ae.flags&=-257,ev(ae,E,_,w,o),ae.mode&1&&Jx(w,$,o),o=ae,M=$;var fe=o.updateQueue;if(fe===null){var pe=new Set;pe.add(M),o.updateQueue=pe}else fe.add(M);break e}else{if((o&1)===0){Jx(w,$,o),Gh();break e}M=Error(n(426))}}else if(rt&&_.mode&1){var dt=Zx(E);if(dt!==null){(dt.flags&65536)===0&&(dt.flags|=256),ev(dt,E,_,w,o),ih(no(M,_));break e}}w=M=no(M,_),vt!==4&&(vt=2),La===null?La=[w]:La.push(w),w=E;do{switch(w.tag){case 3:w.flags|=65536,o&=-o,w.lanes|=o;var V=Yx(w,M,o);Nx(w,V);break e;case 1:_=M;var I=w.type,z=w.stateNode;if((w.flags&128)===0&&(typeof I.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(ss===null||!ss.has(z)))){w.flags|=65536,o&=-o,w.lanes|=o;var re=Xx(w,_,o);Nx(w,re);break e}}w=w.return}while(w!==null)}Rv(u)}catch(ye){o=ye,mt===u&&u!==null&&(mt=u=u.return);continue}break}while(!0)}function Tv(){var s=qc.current;return qc.current=Vc,s===null?Vc:s}function Gh(){(vt===0||vt===3||vt===2)&&(vt=4),Ct===null||(Ks&268435455)===0&&(Kc&268435455)===0||as(Ct,Tt)}function Zc(s,o){var u=$e;$e|=2;var h=Tv();(Ct!==s||Tt!==o)&&(Cr=null,Qs(s,o));do try{r_();break}catch(y){Pv(s,y)}while(!0);if(ah(),$e=u,qc.current=h,mt!==null)throw Error(n(261));return Ct=null,Tt=0,vt}function r_(){for(;mt!==null;)_v(mt)}function s_(){for(;mt!==null&&!T2();)_v(mt)}function _v(s){var o=Ov(s.alternate,s,dn);s.memoizedProps=s.pendingProps,o===null?Rv(s):mt=o,Bh.current=null}function Rv(s){var o=s;do{var u=o.alternate;if(s=o.return,(o.flags&32768)===0){if(u=YT(u,o,dn),u!==null){mt=u;return}}else{if(u=XT(u,o),u!==null){u.flags&=32767,mt=u;return}
vendor: 5,375 bytes, line 40
40if(s!==null)s.flags|=32768,s.subtreeFlags=0,s.deletions=null;else{vt=6,mt=null;return}}if(o=o.sibling,o!==null){mt=o;return}mt=o=s}while(o!==null);vt===0&&(vt=5)}function Ys(s,o,u){var h=Ke,y=wn.transition;try{wn.transition=null,Ke=1,i_(s,o,u,h)}finally{wn.transition=y,Ke=h}return null}function i_(s,o,u,h){do oo();while(is!==null);if(($e&6)!==0)throw Error(n(327));u=s.finishedWork;var y=s.finishedLanes;if(u===null)return null;if(s.finishedWork=null,s.finishedLanes=0,u===s.current)throw Error(n(177));s.callbackNode=null,s.callbackPriority=0;var w=u.lanes|u.childLanes;if(B2(s,w),s===Ct&&(mt=Ct=null,Tt=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||Qc||(Qc=!0,Dv(rc,function(){return oo(),null})),w=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||w){w=wn.transition,wn.transition=null;var E=Ke;Ke=1;var _=$e;$e|=4,Bh.current=null,ZT(s,u),bv(u,s),jT(Gf),uc=!!Kf,Gf=Kf=null,s.current=u,e_(u),_2(),$e=_,Ke=E,wn.transition=w}else s.current=u;if(Qc&&(Qc=!1,is=s,Yc=y),w=s.pendingLanes,w===0&&(ss=null),M2(u.stateNode),en(s,ut()),o!==null)for(h=s.onRecoverableError,u=0;u<o.length;u++)y=o[u],h(y.value,{componentStack:y.stack,digest:y.digest});if(Gc)throw Gc=!1,s=Uh,Uh=null,s;return(Yc&1)!==0&&s.tag!==0&&oo(),w=s.pendingLanes,(w&1)!==0?s===$h?Fa++:(Fa=0,$h=s):Fa=0,es(),null}function oo(){if(is!==null){var s=v0(Yc),o=wn.transition,u=Ke;try{if(wn.transition=null,Ke=16>s?16:s,is===null)var h=!1;else{if(s=is,is=null,Yc=0,($e&6)!==0)throw Error(n(331));var y=$e;for($e|=4,de=s.current;de!==null;){var w=de,E=w.child;if((de.flags&16)!==0){var _=w.deletions;if(_!==null){for(var M=0;M<_.length;M++){var $=_[M];for(de=$;de!==null;){var X=de;switch(X.tag){case 0:case 11:case 15:Da(8,X,w)}var ee=X.child;if(ee!==null)ee.return=X,de=ee;else for(;de!==null;){X=de;var Q=X.sibling,ae=X.return;if(gv(X),X===$){de=null;break}if(Q!==null){Q.return=ae,de=Q;break}de=ae}}}var fe=w.alternate;if(fe!==null){var pe=fe.child;if(pe!==null){fe.child=null;do{var dt=pe.sibling;pe.sibling=null,pe=dt}while(pe!==null)}}de=w}}if((w.subtreeFlags&2064)!==0&&E!==null)E.return=w,de=E;else e:for(;de!==null;){if(w=de,(w.flags&2048)!==0)switch(w.tag){case 0:case 11:case 15:Da(9,w,w.return)}var V=w.sibling;if(V!==null){V.return=w.return,de=V;break e}de=w.return}}var I=s.current;for(de=I;de!==null;){E=de;var z=E.child;if((E.subtreeFlags&2064)!==0&&z!==null)z.return=E,de=z;else e:for(E=I;de!==null;){if(_=de,(_.flags&2048)!==0)try{switch(_.tag){case 0:case 11:case 15:Wc(9,_)}}catch(ye){at(_,_.return,ye)}if(_===E){de=null;break e}var re=_.sibling;if(re!==null){re.return=_.return,de=re;break e}de=_.return}}if($e=y,es(),Qn&&typeof Qn.onPostCommitFiberRoot=="function")try{Qn.onPostCommitFiberRoot(sc,s)}catch{}h=!0}return h}finally{Ke=u,wn.transition=o}}return!1}function Av(s,o,u){o=no(u,o),o=Yx(s,o,1),s=ns(s,o,1),o=Ht(),s!==null&&(la(s,1,o),en(s,o))}function at(s,o,u){if(s.tag===3)Av(s,s,u);else for(;o!==null;){if(o.tag===3){Av(o,s,u);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(ss===null||!ss.has(h))){s=no(u,s),s=Xx(o,s,1),o=ns(o,s,1),s=Ht(),o!==null&&(la(o,1,s),en(o,s));break}}o=o.return}}function o_(s,o,u){var h=s.pingCache;h!==null&&h.delete(o),o=Ht(),s.pingedLanes|=s.suspendedLanes&u,Ct===s&&(Tt&u)===u&&(vt===4||vt===3&&(Tt&130023424)===Tt&&500>ut()-zh?Qs(s,0):Vh|=u),en(s,o)}function Mv(s,o){o===0&&((s.mode&1)===0?o=1:(o=oc,oc<<=1,(oc&130023424)===0&&(oc=4194304)));var u=Ht();s=br(s,o),s!==null&&(la(s,o,u),en(s,u))}function a_(s){var o=s.memoizedState,u=0;o!==null&&(u=o.retryLane),Mv(s,u)}function l_(s,o){var u=0;switch(s.tag){case 13:var h=s.stateNode,y=s.memoizedState;y!==null&&(u=y.retryLane);break;case 19:h=s.stateNode;break;default:throw Error(n(314))}h!==null&&h.delete(o),Mv(s,u)}var Ov;Ov=function(s,o,u){if(s!==null)if(s.memoizedProps!==o.pendingProps||Yt.current)Jt=!0;else{if((s.lanes&u)===0&&(o.flags&128)===0)return Jt=!1,QT(s,o,u);Jt=(s.flags&131072)!==0}else Jt=!1,rt&&(o.flags&1048576)!==0&&hx(o,Pc,o.index);switch(o.lanes=0,o.tag){case 2:var h=o.type;$c(s,o),s=o.pendingProps;var y=Gi(o,Ot.current);eo(o,u),y=xh(null,o,h,s,y,u);var w=vh();return o.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,Xt(h)?(w=!0,jc(o)):w=!1,o.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,dh(o),y.updater=zc,o.stateNode=y,y._reactInternals=o,jh(o,h,s,u),o=Th(null,o,h,!0,w,u)):(o.tag=0,rt&&w&&th(o),$t(null,o,y,u),o=o.child),o;case 16:h=o.elementType;e:{switch($c(s,o),s=o.pendingProps,y=h._init,h=y(h._payload),o.type=h,y=o.tag=u_(h),s=On(h,s),y){case 0:o=Ph(null,o,h,s,u);break e;case 1:o=ov(null,o,h,s,u);break e;case 11:o=tv(null,o,h,s,u);break e;case 14:o=nv(null,o,h,On(h.type,s),u);break e}throw Error(n(306,h,""))}return o;case 0:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:On(h,y),Ph(s,o,h,y,u);case 1:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:On(h,y),ov(s,o,h,y,u);case 3:e:{if(av(o),s===null)throw Error(n(387));h=o.pendingProps,w=o.memoizedState,y=w.element,Sx(s,o),Oc(o,h,null,u);var E=o.memoizedState;if(h=E.element,w.isDehydrated)if(w={element:h,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},o.updateQueue.baseState=w,o.memoizedState=w,o.flags&256){y=no(Error(n(423)),o),o=lv
vendor: 10,027 bytes, line 40
40(s,o,h,u,y);break e}else if(h!==y){y=no(Error(n(424)),o),o=lv(s,o,h,u,y);break e}else for(un=Xr(o.stateNode.containerInfo.firstChild),cn=o,rt=!0,Mn=null,u=wx(o,null,h,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(Xi(),h===y){o=Nr(s,o,u);break e}$t(s,o,h,u)}o=o.child}return o;case 5:return jx(o),s===null&&sh(o),h=o.type,y=o.pendingProps,w=s!==null?s.memoizedProps:null,E=y.children,Qf(h,y)?E=null:w!==null&&Qf(h,w)&&(o.flags|=32),iv(s,o),$t(s,o,E,u),o.child;case 6:return s===null&&sh(o),null;case 13:return cv(s,o,u);case 4:return fh(o,o.stateNode.containerInfo),h=o.pendingProps,s===null?o.child=Ji(o,null,h,u):$t(s,o,h,u),o.child;case 11:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:On(h,y),tv(s,o,h,y,u);case 7:return $t(s,o,o.pendingProps,u),o.child;case 8:return $t(s,o,o.pendingProps.children,u),o.child;case 12:return $t(s,o,o.pendingProps.children,u),o.child;case 10:e:{if(h=o.type._context,y=o.pendingProps,w=o.memoizedProps,E=y.value,Je(Rc,h._currentValue),h._currentValue=E,w!==null)if(An(w.value,E)){if(w.children===y.children&&!Yt.current){o=Nr(s,o,u);break e}}else for(w=o.child,w!==null&&(w.return=o);w!==null;){var _=w.dependencies;if(_!==null){E=w.child;for(var M=_.firstContext;M!==null;){if(M.context===h){if(w.tag===1){M=Sr(-1,u&-u),M.tag=2;var $=w.updateQueue;if($!==null){$=$.shared;var X=$.pending;X===null?M.next=M:(M.next=X.next,X.next=M),$.pending=M}}w.lanes|=u,M=w.alternate,M!==null&&(M.lanes|=u),ch(w.return,u,o),_.lanes|=u;break}M=M.next}}else if(w.tag===10)E=w.type===o.type?null:w.child;else if(w.tag===18){if(E=w.return,E===null)throw Error(n(341));E.lanes|=u,_=E.alternate,_!==null&&(_.lanes|=u),ch(E,u,o),E=w.sibling}else E=w.child;if(E!==null)E.return=w;else for(E=w;E!==null;){if(E===o){E=null;break}if(w=E.sibling,w!==null){w.return=E.return,E=w;break}E=E.return}w=E}$t(s,o,y.children,u),o=o.child}return o;case 9:return y=o.type,h=o.pendingProps.children,eo(o,u),y=xn(y),h=h(y),o.flags|=1,$t(s,o,h,u),o.child;case 14:return h=o.type,y=On(h,o.pendingProps),y=On(h.type,y),nv(s,o,h,y,u);case 15:return rv(s,o,o.type,o.pendingProps,u);case 17:return h=o.type,y=o.pendingProps,y=o.elementType===h?y:On(h,y),$c(s,o),o.tag=1,Xt(h)?(s=!0,jc(o)):s=!1,eo(o,u),Gx(o,h,y),jh(o,h,y,u),Th(null,o,h,!0,s,u);case 19:return dv(s,o,u);case 22:return sv(s,o,u)}throw Error(n(156,o.tag))};function Dv(s,o){return m0(s,o)}function c_(s,o,u,h){this.tag=s,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bn(s,o,u,h){return new c_(s,o,u,h)}function Qh(s){return s=s.prototype,!(!s||!s.isReactComponent)}function u_(s){if(typeof s=="function")return Qh(s)?1:0;if(s!=null){if(s=s.$$typeof,s===J)return 11;if(s===ve)return 14}return 2}function ls(s,o){var u=s.alternate;return u===null?(u=bn(s.tag,o,s.key,s.mode),u.elementType=s.elementType,u.type=s.type,u.stateNode=s.stateNode,u.alternate=s,s.alternate=u):(u.pendingProps=o,u.type=s.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=s.flags&14680064,u.childLanes=s.childLanes,u.lanes=s.lanes,u.child=s.child,u.memoizedProps=s.memoizedProps,u.memoizedState=s.memoizedState,u.updateQueue=s.updateQueue,o=s.dependencies,u.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},u.sibling=s.sibling,u.index=s.index,u.ref=s.ref,u}function eu(s,o,u,h,y,w){var E=2;if(h=s,typeof s=="function")Qh(s)&&(E=1);else if(typeof s=="string")E=5;else e:switch(s){case F:return Xs(u.children,y,w,o);case L:E=8,y|=8;break;case te:return s=bn(12,u,o,y|2),s.elementType=te,s.lanes=w,s;case se:return s=bn(13,u,o,y),s.elementType=se,s.lanes=w,s;case le:return s=bn(19,u,o,y),s.elementType=le,s.lanes=w,s;case ne:return tu(u,y,w,o);default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case K:E=10;break e;case B:E=9;break e;case J:E=11;break e;case ve:E=14;break e;case G:E=16,h=null;break e}throw Error(n(130,s==null?s:typeof s,""))}return o=bn(E,u,o,y),o.elementType=s,o.type=h,o.lanes=w,o}function Xs(s,o,u,h){return s=bn(7,s,h,o),s.lanes=u,s}function tu(s,o,u,h){return s=bn(22,s,h,o),s.elementType=ne,s.lanes=u,s.stateNode={isHidden:!1},s}function Yh(s,o,u){return s=bn(6,s,null,o),s.lanes=u,s}function Xh(s,o,u){return o=bn(4,s.children!==null?s.children:[],s.key,o),o.lanes=u,o.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},o}function d_(s,o,u,h,y){this.tag=o,this.containerInfo=s,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cf(0),this.expirationTimes=Cf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cf(0),this.identifierPrefix=h,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Jh(s,o,u,h,y,w,E,_,M){return s=new d_(s,o,u,_,M),o===1?(o=1,w===!0&&(o|=8)):o=0,w=bn(3,null,null,o),s.current=w,w.stateNode=s,w.memoizedState={element:h,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},dh(w),s}function f_(s,o,u){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:h==null?null:""+h,children:s,containerInfo:o,implementation:u}}function Iv(s){if(!s)return Zr;s=s._reactInternals;e:{if(Bs(s)!==s||s.tag!==1)throw Error(n(170));var o=s;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(Xt(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(n(171))}if(s.tag===1){var u=s.type;if(Xt(u))return ux(s,u,o)}return o}function Lv(s,o,u,h,y,w,E,_,M){return s=Jh(u,h,!0,s,y,w,E,_,M),s.context=Iv(null),u=s.current,h=Ht(),y=os(u),w=Sr(h,y),w.callback=o??null,ns(u,w,y),s.current.lanes=y,la(s,y,h),en(s,h),s}function nu(s,o,u,h){var y=o.current,w=Ht(),E=os(y);return u=Iv(u),o.context===null?o.context=u:o.pendingContext=u,o=Sr(w,E),o.payload={element:s},h=h===void 0?null:h,h!==null&&(o.callback=h),s=ns(y,o,E),s!==null&&(Ln(s,y,E,w),Mc(s,y,E)),E}function ru(s){if(s=s.current,!s.child)return null;switch(s.child.tag){case 5:return s.child.stateNode;default:return s.child.stateNode}}function Fv(s,o){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var u=s.retryLane;s.retryLane=u!==0&&u<o?u:o}}function Zh(s,o){Fv(s,o),(s=s.alternate)&&Fv(s,o)}function h_(){return null}var Bv=typeof reportError=="function"?reportError:function(s){console.error(s)};function em(s){this._internalRoot=s}su.prototype.render=em.prototype.render=function(s){var o=this._internalRoot;if(o===null)throw Error(n(409));nu(s,o,null,null)},su.prototype.unmount=em.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var o=s.containerInfo;Gs(function(){nu(null,s,null,null)}),o[yr]=null}};function su(s){this._internalRoot=s}su.prototype.unstable_scheduleHydration=function(s){if(s){var o=S0();s={blockedOn:null,target:s,priority:o};for(var u=0;u<Gr.length&&o!==0&&o<Gr[u].priority;u++);Gr.splice(u,0,s),u===0&&j0(s)}};function tm(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function iu(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11&&(s.nodeType!==8||s.nodeValue!==" react-mount-point-unstable "))}function Vv(){}function m_(s,o,u,h,y){if(y){if(typeof h=="function"){var w=h;h=function(){var $=ru(E);w.call($)}}var E=Lv(o,h,s,0,null,!1,!1,"",Vv);return s._reactRootContainer=E,s[yr]=E.current,Sa(s.nodeType===8?s.parentNode:s),Gs(),E}for(;y=s.lastChild;)s.removeChild(y);if(typeof h=="function"){var _=h;h=function(){var $=ru(M);_.call($)}}var M=Jh(s,0,!1,null,null,!1,!1,"",Vv);return s._reactRootContainer=M,s[yr]=M.current,Sa(s.nodeType===8?s.parentNode:s),Gs(function(){nu(o,M,u,h)}),M}function ou(s,o,u,h,y){var w=u._reactRootContainer;if(w){var E=w;if(typeof y=="function"){var _=y;y=function(){var M=ru(E);_.call(M)}}nu(o,E,s,y)}else E=m_(u,o,s,y,h);return ru(E)}w0=function(s){switch(s.tag){case 3:var o=s.stateNode;if(o.current.memoizedState.isDehydrated){var u=aa(o.pendingLanes);u!==0&&(jf(o,u|1),en(o,ut()),($e&6)===0&&(io=ut()+500,es()))}break;case 13:Gs(function(){var h=br(s,1);if(h!==null){var y=Ht();Ln(h,s,1,y)}}),Zh(s,1)}},Ef=function(s){if(s.tag===13){var o=br(s,134217728);if(o!==null){var u=Ht();Ln(o,s,134217728,u)}Zh(s,134217728)}},b0=function(s){if(s.tag===13){var o=os(s),u=br(s,o);if(u!==null){var h=Ht();Ln(u,s,o,h)}Zh(s,o)}},S0=function(){return Ke},N0=function(s,o){var u=Ke;try{return Ke=s,o()}finally{Ke=u}},xf=function(s,o,u){switch(o){case"input":if(gr(s,u),o=u.name,u.type==="radio"&&o!=null){for(u=s;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<u.length;o++){var h=u[o];if(h!==s&&h.form===s.form){var y=Nc(h);if(!y)throw Error(n(90));Ve(h),gr(h,y)}}}break;case"textarea":Jy(s,u);break;case"select":o=u.value,o!=null&&Ii(s,!!u.multiple,o,!1)}},a0=qh,l0=Gs;var p_={usingClientEntryPoint:!1,Events:[ja,qi,Nc,i0,o0,qh]},Ba={findFiberByHostInstance:Vs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},g_={bundleType:Ba.bundleType,version:Ba.version,rendererPackageName:Ba.rendererPackageName,rendererConfig:Ba.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(s){return s=f0(s),s===null?null:s.stateNode},findFiberByHostInstance:Ba.findFiberByHostInstance||h_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{sc=au.inject(g_),Qn=au}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=p_,tn.createPortal=function(s,o){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!tm(o))throw Error(n(200));return f_(s,o,null,u)},tn.createRoot=function(s,o){if(!tm(s))throw Error(n(299));var u=!1,h="",y=Bv;return o!=null&&(o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(h=o.identifierPrefix),o.onRecoverableError!==void 0&&(y=o.onRecoverableError)),o=Jh(s,1,!1,null,null,u,!1,h,y),s[yr]=o.current,Sa(s.nodeType===8?s.parentNode:s),new em(o)},tn.findDOMNode=function(s){if(s==null)return null;if(s.nodeType===1)return s;var o=s._reactInternals;if(o===void 0)throw typeof s.render=="function"?Error(n(188)):(s=Object.keys(s).join(","),Error(n(268,s)));return s=f0(o),s=s===null?null:s.stateNode,s},tn.flushSync=function(s){return Gs(s)},tn.hydrate=function(s,o,u){if(!iu(o))throw Error(n(200));return ou(null,s,o,!0,u)},tn.hydrateRoot=function(s,o,u){if(!tm(s))throw Error(n(405));var h=u!=null&&u.hydratedSources||null,y=!1,w="",E=Bv;if(u!=null&&(u.unstable_strictMode===!0&&(y=!0),u.identifierPrefix!==void 0&&(w=u.identifierPrefix),u.onRecoverableError!==void 0&&(E=u.onRecoverableError)),o=Lv(o,null,s,1,u??null,y,!1,w,E),s[yr]=o.current,Sa(s),h)for(s=0;s<h.length;s++)u=h[s],y=u._getVersion,y=y(u._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[u,y]:o.mutableSourceEagerHydrationData.push(u,y);return new su(o)},tn.render=function(s,o,u){if(!iu(o))throw Error(n(200));return ou(null,s,o,!1,u)},tn.unmountComponentAtNode=function(s){if(!iu(s))throw Error(n(40));return s._reactRootContainer?(Gs(function(){ou(null,null,s,!1,function(){s._reactRootContainer=null,s[yr]=null})}),!0):!1},tn.unstable_batchedUpdates=qh,tn.unstable_renderSubtreeIntoContainer=function(s,o,u,h){if(!iu(u))throw Error(n(200));if(s==null||s._reactInternals===void 0)throw Error(n(38));return ou(s,o,u,!1,h)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var Qv;function uS(){if(Qv)return im.exports;Qv=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=C_(),im.exports}var Yv;function j_(){if(Yv)return cu;Yv=1;var e=uS();return cu.createRoot=e.createRoot,cu.hydrateRoot=e.hydrateRoot,cu}var E_=j_();const k_=lg(E_),P_=20,T_=1e6,Rr={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let lm=0;function __(){return lm=(lm+1)%Number.MAX_VALUE,lm.toString()}const cm=new Map,Xv=e=>{if(cm.has(e))return;const t=setTimeout(()=>{cm.delete(e),sl({type:Rr.REMOVE_TOAST,toastId:e})},T_);cm.set(e,t)},R_=(e,t)=>{switch(t.type){case Rr.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,P_)};case Rr.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case Rr.DISMISS_TOAST:{const{toastId:n}=t;return n?Xv(n):e.toasts.forEach(r=>{Xv(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case Rr.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Pu=[];let Tu={toasts:[]};function sl(e){Tu=R_(Tu,e),Pu.forEach(t=>{t(Tu)})}function A_({...e}){const t=__(),n=i=>sl({type:Rr.UPDATE_TOAST,toast:{...i,id:t}}),r=()=>sl({type:Rr.DISMISS_TOAST,toastId:t});return sl({type:Rr.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function M_(){const[e,t]=x.useState(Tu);return x.useEffect(()=>(Pu.push(t),()=>{const n=Pu.indexOf(t);n>-1&&Pu.splice(n,1)}),[e]),{...e,toast:A_,dismiss:n=>sl({type:Rr.DISMISS_TOAST,toastId:n})}}function dS(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=dS(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function fS(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=dS(e))&&(r&&(r+=" "),r+=t);return r}const Jv=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Zv=fS,_l=(e,t)=>
vendor: 4,413 bytes, lines 40-90
40n=>{var r;if((t==null?void 0:t.variants)==null)return Zv(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:a}=t,c=Object.keys(i).map(m=>{const p=n==null?void 0:n[m],g=a==null?void 0:a[m];if(p===null)return null;const v=Jv(p)||Jv(g);return i[m][v]}),d=n&&Object.entries(n).reduce((m,p)=>{let[g,v]=p;return v===void 0||(m[g]=v),m},{}),f=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((m,p)=>{let{class:g,className:v,...N}=p;return Object.entries(N).every(C=>{let[b,S]=C;return Array.isArray(S)?S.includes({...a,...d}[b]):{...a,...d}[b]===S})?[...m,g,v]:m},[]);return Zv(e,c,f,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const O_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),hS=(...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 D_={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 I_=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:a,iconNode:c,...d},f)=>x.createElement("svg",{ref:f,...D_,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:hS("lucide",i),...d},[...c.map(([m,p])=>x.createElement(m,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 xe=(e,t)=>{const n=x.forwardRef(({className:r,...i},a)=>x.createElement(I_,{ref:a,iconNode:t,className:hS(`lucide-${O_(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 L_=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Gm=xe("ArrowLeft",L_);/** 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 F_=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],kn=xe("ArrowRight",F_);/** 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 B_=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],V_=xe("ArrowUpDown",B_);/** 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 z_=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],mS=xe("Bike",z_);/** 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 U_=[["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"}]],ew=xe("BookOpen",U_);/** 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 $_=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
90],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],vi=xe("Building2",$_);/** 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 H_=[["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"}]],W_=xe("Calendar",H_);/** 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 q_=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],dg=xe("Car",q_);/** 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 K_=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Lr=xe("Check",K_);/** 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 G_=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],xd=xe("ChevronDown",G_);/** 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 Q_=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Y_=xe("ChevronRight",Q_);/** 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 X_=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],J_=xe("ChevronUp",X_);/** 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 Z_=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],eR=xe("CircleAlert",Z_);/** 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 tR=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Rl=xe("CircleCheckBig",tR);/** 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 nR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],fg=xe("CircleHelp",nR);/** 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 rR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],sR=xe("Circle",rR);/** 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 iR=[["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:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],pS=xe("ClipboardList",iR);/** 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 oR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}
150]],hg=xe("Clock",oR);/** 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 aR=[["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"}]],lR=xe("Cookie",aR);/** 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 cR=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],gS=xe("Database",cR);/** 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 uR=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],yS=xe("Dog",uR);/** 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 dR=[["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"}]],fR=xe("Download",dR);/** 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 hR=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],mR=xe("ExternalLink",hR);/** 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 pR=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],gR=xe("Facebook",pR);/** 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 yR=[["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:"m9 15 2 2 4-4",key:"1grp1n"}]],xS=xe("FileCheck",yR);/** 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 xR=[["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"}]],ul=xe("FileText",xR);/** 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 vR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],vS=xe("Globe",vR);/** 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 wR=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],bR=xe("Grid3x3",wR);/** 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 SR=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],NR=xe("Handshake",SR);/** 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 CR=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]],mg=xe("HeartPulse",CR);/** 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 jR=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}
215]],pg=xe("Heart",jR);/** 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 ER=[["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"}]],gg=xe("House",ER);/** 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 kR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],PR=xe("Info",kR);/** 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 TR=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],_R=xe("Instagram",TR);/** 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 RR=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],AR=xe("Linkedin",RR);/** 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 MR=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],ir=xe("LoaderCircle",MR);/** 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 OR=[["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"}]],wS=xe("Lock",OR);/** 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 DR=[["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"}]],yg=xe("Mail",DR);/** 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 IR=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],LR=xe("MapPin",IR);/** 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 FR=[["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"}]],BR=xe("Menu",FR);/** 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 VR=[["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"}]],zR=xe("MessageSquare",VR);/** 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 UR=[["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"}]],$R=xe("Package",UR);/** 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 HR=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],tw=xe("Pencil",HR);/** 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 WR=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],Fr=xe("Phone",WR);/** 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 qR=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
2851-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],bS=xe("Plane",qR);/** 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 KR=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],nw=xe("Plus",KR);/** 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 GR=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],QR=xe("RefreshCcw",GR);/** 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 YR=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],XR=xe("Save",YR);/** 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 JR=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Al=xe("Search",JR);/** 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 ZR=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],SS=xe("Send",ZR);/** 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 eA=[["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"}]],wi=xe("Shield",eA);/** 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 tA=[["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"}]],Oo=xe("Star",tA);/** 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 nA=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],rw=xe("Trash2",nA);/** 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 rA=[["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"}]],sA=xe("TrendingUp",rA);/** 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 iA=[["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"}]],oA=xe("TriangleAlert",iA);/** 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 aA=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],lA=xe("Twitter",aA);/** 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 cA=[["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"}]],Qm=xe("User",cA);/** 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 uA=[["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"}]],NS=xe("Users",uA);/** 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 dA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 4,863 bytes, lines 355-360
355],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],xg=xe("X",dA);/** 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 fA=[["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"}]],vd=xe("Zap",fA),vg="-",hA=e=>{const t=pA(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{const d=c.split(vg);return d[0]===""&&d.length!==1&&d.shift(),CS(d,t)||mA(c)},getConflictingClassGroupIds:(c,d)=>{const f=n[c]||[];return d&&r[c]?[...f,...r[c]]:f}}},CS=(e,t)=>{var c;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?CS(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const a=e.join(vg);return(c=t.validators.find(({validator:d})=>d(a)))==null?void 0:c.classGroupId},sw=/^\[(.+)\]$/,mA=e=>{if(sw.test(e)){const t=sw.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},pA=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)Ym(n[i],r,i,t);return r},Ym=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const a=i===""?t:iw(t,i);a.classGroupId=n;return}if(typeof i=="function"){if(gA(i)){Ym(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([a,c])=>{Ym(c,iw(t,a),n,r)})})},iw=(e,t)=>{let n=e;return t.split(vg).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},gA=e=>e.isThemeGetter,yA=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(a,c)=>{n.set(a,c),t++,t>e&&(t=0,r=n,n=new Map)};return{get(a){let c=n.get(a);if(c!==void 0)return c;if((c=r.get(a))!==void 0)return i(a,c),c},set(a,c){n.has(a)?n.set(a,c):i(a,c)}}},Xm="!",Jm=":",xA=Jm.length,vA=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const a=[];let c=0,d=0,f=0,m;for(let C=0;C<i.length;C++){let b=i[C];if(c===0&&d===0){if(b===Jm){a.push(i.slice(f,C)),f=C+xA;continue}if(b==="/"){m=C;continue}}b==="["?c++:b==="]"?c--:b==="("?d++:b===")"&&d--}const p=a.length===0?i:i.substring(f),g=wA(p),v=g!==p,N=m&&m>f?m-f:void 0;return{modifiers:a,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:N}};if(t){const i=t+Jm,a=r;r=c=>c.startsWith(i)?a(c.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=a=>n({className:a,parseClassName:i})}return r},wA=e=>e.endsWith(Xm)?e.substring(0,e.length-1):e.startsWith(Xm)?e.substring(1):e,bA=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(c=>{c[0]==="["||t[c]?(i.push(...a.sort(),c),a=[]):a.push(c)}),i.push(...a.sort()),i}},SA=e=>({cache:yA(e.cacheSize),parseClassName:vA(e),sortModifiers:bA(e),...hA(e)}),NA=/\s+/,CA=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,c=[],d=e.trim().split(NA);let f="";for(let m=d.length-1;m>=0;m-=1){const p=d[m],{isExternal:g,modifiers:v,hasImportantModifier:N,baseClassName:C,maybePostfixModifierPosition:b}=n(p);if(g){f=p+(f.length>0?" "+f:f);continue}let S=!!b,j=r(S?C.substring(0,b):C);if(!j){if(!S){f=p+(f.length>0?" "+f:f);continue}if(j=r(C),!j){f=p+(f.length>0?" "+f:f);continue}S=!1}const P=a(v).join(":"),k=N?P+Xm:P,T=k+j;if(c.includes(T))continue;c.push(T);const A=i(j,S);for(let U=0;U<A.length;++U){const F=A[U];c.push(k+F)}f=p+(f.length>0?" "+f:f)}return f};function jA(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=jS(t))&&(r&&(r+=" "),r+=n);return r}const jS=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=jS(e[r]))&&(n&&(n+=" "),n+=t);return n};function EA(e,...t){let n,r,i,a=c;function c(f){const m=t.reduce((p,g)=>g(p),e());return n=SA(m),r=n.cache.get,i=n.cache.set,a=d,d(f)}function d(f){const m=r(f);if(m)return m;const p=CA(f,n);return i(f,p),p}return function(){return a(jA.apply(null,arguments))}}const wt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ES=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,kS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kA=/^\d+\/\d+$/,PA=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,TA=/\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$/,_A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,RA=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,AA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ao=e=>kA.test(e),De=e=>!!e&&!Number.isNaN(Number(e)),us=e=>!!e&&Number.isInteger(Number(e)),um=e=>e.endsWith("%")&&De(e.slice(0,-1)),jr=e=>
vendor: 4,318 bytes, line 360
360PA.test(e),MA=()=>!0,OA=e=>TA.test(e)&&!_A.test(e),PS=()=>!1,DA=e=>RA.test(e),IA=e=>AA.test(e),LA=e=>!he(e)&&!me(e),FA=e=>zo(e,RS,PS),he=e=>ES.test(e),Js=e=>zo(e,AS,OA),dm=e=>zo(e,$A,De),ow=e=>zo(e,TS,PS),BA=e=>zo(e,_S,IA),uu=e=>zo(e,MS,DA),me=e=>kS.test(e),za=e=>Uo(e,AS),VA=e=>Uo(e,HA),aw=e=>Uo(e,TS),zA=e=>Uo(e,RS),UA=e=>Uo(e,_S),du=e=>Uo(e,MS,!0),zo=(e,t,n)=>{const r=ES.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Uo=(e,t,n=!1)=>{const r=kS.exec(e);return r?r[1]?t(r[1]):n:!1},TS=e=>e==="position"||e==="percentage",_S=e=>e==="image"||e==="url",RS=e=>e==="length"||e==="size"||e==="bg-size",AS=e=>e==="length",$A=e=>e==="number",HA=e=>e==="family-name",MS=e=>e==="shadow",WA=()=>{const e=wt("color"),t=wt("font"),n=wt("text"),r=wt("font-weight"),i=wt("tracking"),a=wt("leading"),c=wt("breakpoint"),d=wt("container"),f=wt("spacing"),m=wt("radius"),p=wt("shadow"),g=wt("inset-shadow"),v=wt("text-shadow"),N=wt("drop-shadow"),C=wt("blur"),b=wt("perspective"),S=wt("aspect"),j=wt("ease"),P=wt("animate"),k=()=>["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"],A=()=>[...T(),me,he],U=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],L=()=>[me,he,f],te=()=>[ao,"full","auto",...L()],K=()=>[us,"none","subgrid",me,he],B=()=>["auto",{span:["full",us,me,he]},us,me,he],J=()=>[us,"auto",me,he],se=()=>["auto","min","max","fr",me,he],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ve=()=>["start","end","center","stretch","center-safe","end-safe"],G=()=>["auto",...L()],ne=()=>[ao,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],D=()=>[e,me,he],W=()=>[...T(),aw,ow,{position:[me,he]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",zA,FA,{size:[me,he]}],q=()=>[um,za,Js],ce=()=>["","none","full",m,me,he],ue=()=>["",De,za,Js],je=()=>["solid","dashed","dotted","double"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>[De,um,aw,ow],ge=()=>["","none",C,me,he],we=()=>["none",De,me,he],Re=()=>["none",De,me,he],Be=()=>[De,me,he],Ve=()=>[ao,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jr],breakpoint:[jr],color:[MA],container:[jr],"drop-shadow":[jr],ease:["in","out","in-out"],font:[LA],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jr],shadow:[jr],spacing:["px",De],text:[jr],"text-shadow":[jr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ao,he,me,S]}],container:["container"],columns:[{columns:[De,he,me,d]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:A()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:te()}],"inset-x":[{"inset-x":te()}],"inset-y":[{"inset-y":te()}],start:[{start:te()}],end:[{end:te()}],top:[{top:te()}
vendor: 4,378 bytes, line 360
360],right:[{right:te()}],bottom:[{bottom:te()}],left:[{left:te()}],visibility:["visible","invisible","collapse"],z:[{z:[us,"auto",me,he]}],basis:[{basis:[ao,"full","auto",d,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[De,ao,"auto","initial","none",he]}],grow:[{grow:["",De,me,he]}],shrink:[{shrink:["",De,me,he]}],order:[{order:[us,"first","last","none",me,he]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:B()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:B()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...ve(),"normal"]}],"justify-self":[{"justify-self":["auto",...ve()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...ve(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ve(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...ve(),"baseline"]}],"place-self":[{"place-self":["auto",...ve()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:ne()}],w:[{w:[d,"screen",...ne()]}],"min-w":[{"min-w":[d,"screen","none",...ne()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...ne()]}],h:[{h:["screen","lh",...ne()]}],"min-h":[{"min-h":["screen","lh","none",...ne()]}],"max-h":[{"max-h":["screen","lh",...ne()]}],"font-size":[{text:["base",n,za,Js]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,me,dm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",um,he]}],"font-family":[{font:[VA,he,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,me,he]}],"line-clamp":[{"line-clamp":[De,"none",me,dm]}],leading:[{leading:[a,...L()]}],"list-image":[{"list-image":["none",me,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",me,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...je(),"wavy"]}],"text-decoration-thickness":[{decoration:[De,"from-font","auto",me,Js]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[De,"auto",me,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",me,he]}],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",me,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:W()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},us,me,he],radial:["",me,he],conic:[us,me,he]},UA,BA]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:q()}
360],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...je(),"hidden","none"]}],"divide-style":[{divide:[...je(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}
vendor: 5,609 bytes, line 360
360],"divide-color":[{divide:D()}],"outline-style":[{outline:[...je(),"none","hidden"]}],"outline-offset":[{"outline-offset":[De,me,he]}],"outline-w":[{outline:["",De,za,Js]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",p,du,uu]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",g,du,uu]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[De,Js]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",v,du,uu]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[De,me,he]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pe()}],"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":[De]}],"mask-image-linear-from-pos":[{"mask-linear-from":Z()}],"mask-image-linear-to-pos":[{"mask-linear-to":Z()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":Z()}],"mask-image-t-to-pos":[{"mask-t-to":Z()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":Z()}],"mask-image-r-to-pos":[{"mask-r-to":Z()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":Z()}],"mask-image-b-to-pos":[{"mask-b-to":Z()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":Z()}],"mask-image-l-to-pos":[{"mask-l-to":Z()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":Z()}],"mask-image-x-to-pos":[{"mask-x-to":Z()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":Z()}],"mask-image-y-to-pos":[{"mask-y-to":Z()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[me,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":Z()}],"mask-image-radial-to-pos":[{"mask-radial-to":Z()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":[De]}],"mask-image-conic-from-pos":[{"mask-conic-from":Z()}],"mask-image-conic-to-pos":[{"mask-conic-to":Z()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:W()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",me,he]}],filter:[{filter:["","none",me,he]}],blur:[{blur:ge()}],brightness:[{brightness:[De,me,he]}],contrast:[{contrast:[De,me,he]}],"drop-shadow":[{"drop-shadow":["","none",N,du,uu]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",De,me,he]}],"hue-rotate":[{"hue-rotate":[De,me,he]}],invert:[{invert:["",De,me,he]}],saturate:[{saturate:[De,me,he]}],sepia:[{sepia:["",De,me,he]}],"backdrop-filter":[{"backdrop-filter":["","none",me,he]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[De,me,he]}],"backdrop-contrast":[{"backdrop-contrast":[De,me,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",De,me,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[De,me,he]}],"backdrop-invert":[{"backdrop-invert":["",De,me,he]}],"backdrop-opacity":[{"backdrop-opacity":[De,me,he]}],"backdrop-saturate":[{"backdrop-saturate":[De,me,he]}],"backdrop-sepia":[{"backdrop-sepia":["",De,me,he]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",me,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[De,"initial",me,he]}],ease:[{ease:["linear","initial",j,me,he]}],delay:[{delay:[De,me,he]}],animate:[{animate:["none",P,me,he]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,me,he]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:Re()}],"scale-x":[{"scale-x":Re()}],"scale-y":[{"scale-y":Re()}],"scale-z":[{"scale-z":Re()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[me,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ve()}],"translate-x":[{"translate-x":Ve()}],"translate-y":[{"translate-y":Ve()}],"translate-z":[{"translate-z":Ve()}
vendor: 6,061 bytes, line 360
360],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",me,he]}],"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":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",me,he]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[De,za,Js,dm]}],stroke:[{stroke:["none",...D()]}],"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"]}},qA=EA(WA);function Se(...e){return qA(fS(e))}const OS=x.forwardRef(({...e},t)=>l.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}));OS.displayName="ToastProvider";const DS=x.forwardRef(({...e},t)=>l.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}));DS.displayName="ToastViewport";const KA=_l("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"}}),IS=x.forwardRef(({className:e,variant:t,...n},r)=>l.jsx("div",{ref:r,className:Se(KA({variant:t}),e),...n}));IS.displayName="Toast";const GA=x.forwardRef(({className:e,...t},n)=>
360l.jsx("div",{ref:n,className:Se("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}));GA.displayName="ToastAction";const LS=x.forwardRef(({className:e,...t},n)=>l.jsx("button",{ref:n,className:Se("absolute right-2 top-2 rounded-md p-1 text-foreground/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:l.jsx(xg,{className:"h-4 w-4"})}));LS.displayName="ToastClose";const FS=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("text-sm font-semibold",e),...t}));FS.displayName="ToastTitle";const BS=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{ref:n,className:Se("text-sm opacity-90",e),...t}));BS.displayName="ToastDescription";function QA(){const{toasts:e}=M_();return l.jsxs(OS,{children:[e.map(function({id:t,title:n,description:r,action:i,...a}){return l.jsxs(IS,{...a,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(FS,{children:n}),r&&l.jsx(BS,{children:r})]}),i,l.jsx(LS,{})]},t)}),l.jsx(DS,{})]})}var $o=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(){}},YA={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},gs,ag,Z1,XA=(Z1=class{constructor(){be(this,gs,YA);be(this,ag,!1)}setTimeoutProvider(e){oe(this,gs,e)}setTimeout(e,t){return R(this,gs).setTimeout(e,t)}clearTimeout(e){R(this,gs).clearTimeout(e)}setInterval(e,t){return R(this,gs).setInterval(e,t)}clearInterval(e){R(this,gs).clearInterval(e)}},gs=new WeakMap,ag=new WeakMap,Z1),ii=new XA;function JA(e){setTimeout(e,0)}var bi=typeof window>"u"||"Deno"in globalThis;function Kt(){}function ZA(e,t){return typeof e=="function"?e(t):e}function Zm(e){return typeof e=="number"&&e>=0&&e!==1/0}function VS(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Es(e,t){return typeof e=="function"?e(t):e}function jn(e,t){return typeof e=="function"?e(t):e}function lw(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:c,stale:d}=e;if(c){if(r){if(t.queryHash!==wg(c,t.options))return!1}else if(!dl(t.queryKey,c))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||i&&i!==t.state.fetchStatus||a&&!a(t))}function cw(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Si(t.options.mutationKey)!==Si(a))return!1}else if(!dl(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function wg(e,t){return((t==null?void 0:t.queryKeyHashFn)||Si)(e)}function Si(e){return JSON.stringify(e,(t,n)=>ep(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function dl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>dl(e[n],t[n])):!1}var e4=Object.prototype.hasOwnProperty;function zS(e,t){if(e===t)return e;const n=uw(e)&&uw(t);if(!n&&!(ep(e)&&ep(t)))return t;const i=(n?e:Object.keys(e)).length,a=n?t:Object.keys(t),c=a.length,d=n?new Array(c):{};let f=0;for(let m=0;m<c;m++){const p=n?m:a[m],g=e[p],v=t[p];if(g===v){d[p]=g,(n?m<i:e4.call(e,p))&&f++;continue}if(g===null||v===null||typeof g!="object"||typeof v!="object"){d[p]=v;continue}const N=zS(g,v);d[p]=N,N===g&&f++}return i===c&&f===i?e:d}function Qu(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 uw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ep(e){if(!dw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!dw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function dw(e){return Object.prototype.toString.call(e)==="[object Object]"}function t4(e){return new Promise(t=>{ii.setTimeout(t,e)})}function tp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?zS(e,t):t}function n4(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function r4(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var bg=Symbol();function US(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===bg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function $S(e,t){return typeof e=="function"?e(...t):!!e}var li,ys,So,eS,s4=(eS=class extends $o{constructor(){super();be(this,li);be(this,ys);
vendor: 4,770 bytes, line 360
360be(this,So);oe(this,So,t=>{if(!bi&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,ys)||this.setEventListener(R(this,So))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,ys))==null||t.call(this),oe(this,ys,void 0))}setEventListener(t){var n;oe(this,So,t),(n=R(this,ys))==null||n.call(this),oe(this,ys,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){R(this,li)!==t&&(oe(this,li,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof R(this,li)=="boolean"?R(this,li):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},li=new WeakMap,ys=new WeakMap,So=new WeakMap,eS),Sg=new s4;function np(){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 i4=JA;function o4(){let e=[],t=0,n=d=>{d()},r=d=>{d()},i=i4;const a=d=>{t?e.push(d):i(()=>{n(d)})},c=()=>{const d=e;e=[],d.length&&i(()=>{r(()=>{d.forEach(f=>{n(f)})})})};return{batch:d=>{let f;t++;try{f=d()}finally{t--,t||c()}return f},batchCalls:d=>(...f)=>{a(()=>{d(...f)})},schedule:a,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{r=d},setScheduler:d=>{i=d}}}var bt=o4(),No,xs,Co,tS,a4=(tS=class extends $o{constructor(){super();be(this,No,!0);be(this,xs);be(this,Co);oe(this,Co,t=>{if(!bi&&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(){R(this,xs)||this.setEventListener(R(this,Co))}onUnsubscribe(){var t;this.hasListeners()||((t=R(this,xs))==null||t.call(this),oe(this,xs,void 0))}setEventListener(t){var n;oe(this,Co,t),(n=R(this,xs))==null||n.call(this),oe(this,xs,t(this.setOnline.bind(this)))}setOnline(t){R(this,No)!==t&&(oe(this,No,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return R(this,No)}},No=new WeakMap,xs=new WeakMap,Co=new WeakMap,tS),Yu=new a4;function l4(e){return Math.min(1e3*2**e,3e4)}function HS(e){return(e??"online")==="online"?Yu.isOnline():!0}var rp=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function WS(e){let t=!1,n=0,r;const i=np(),a=()=>i.status!=="pending",c=b=>{var S;if(!a()){const j=new rp(b);v(j),(S=e.onCancel)==null||S.call(e,j)}},d=()=>{t=!0},f=()=>{t=!1},m=()=>Sg.isFocused()&&(e.networkMode==="always"||Yu.isOnline())&&e.canRun(),p=()=>HS(e.networkMode)&&e.canRun(),g=b=>{a()||(r==null||r(),i.resolve(b))},v=b=>{a()||(r==null||r(),i.reject(b))},N=()=>new Promise(b=>{var S;r=j=>{(a()||m())&&b(j)},(S=e.onPause)==null||S.call(e)}).then(()=>{var b;r=void 0,a()||(b=e.onContinue)==null||b.call(e)}),C=()=>{if(a())return;let b;const S=n===0?e.initialPromise:void 0;try{b=S??e.fn()}catch(j){b=Promise.reject(j)}Promise.resolve(b).then(g).catch(j=>{var U;if(a())return;const P=e.retry??(bi?0:3),k=e.retryDelay??l4,T=typeof k=="function"?k(n,j):k,A=P===!0||typeof P=="number"&&n<P||typeof P=="function"&&P(n,j);if(t||!A){v(j);return}n++,(U=e.onFail)==null||U.call(e,n,j),t4(T).then(()=>m()?void 0:N()).then(()=>{t?v(j):C()})})};return{promise:i,status:()=>i.status,cancel:c,continue:()=>(r==null||r(),i),cancelRetry:d,continueRetry:f,canStart:p,start:()=>(p()?C():N().then(C),i)}}var ci,nS,qS=(nS=class{constructor(){be(this,ci)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Zm(this.gcTime)&&oe(this,ci,ii.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bi?1/0:300*1e3))}clearGcTimeout(){R(this,ci)&&(ii.clearTimeout(R(this,ci)),oe(this,ci,void 0))}},ci=new WeakMap,nS),ui,jo,Cn,di,Et,jl,fi,Vn,Er,rS,c4=(rS=class extends qS{constructor(t){super();be(this,Vn);be(this,ui);be(this,jo);be(this,Cn);be(this,di);be(this,Et);be(this,jl);be(this,fi);oe(this,fi,!1),oe(this,jl,t.defaultOptions),this.setOptions(t.options),this.observers=[],oe(this,di,t.client),oe(this,Cn,R(this,di).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,oe(this,ui,fw(this.options)),this.state=t.state??R(this,ui),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=R(this,Et))==null?void 0:t.promise}setOptions(t){if(this.options={...R(this,jl),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=fw(this.options);n.data!==void 0&&(this.setData(n.data,{updatedAt:n.dataUpdatedAt,manual:!0}
vendor: 5,101 bytes, line 360
360),oe(this,ui,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,Cn).remove(this)}setData(t,n){const r=tp(this.state.data,t,this.options);return Oe(this,Vn,Er).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Vn,Er).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=R(this,Et))==null?void 0:r.promise;return(i=R(this,Et))==null||i.cancel(t),n?n.then(Kt).catch(Kt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,ui))}isActive(){return this.observers.some(t=>jn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===bg||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Es(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:!VS(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Et))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=R(this,Et))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),R(this,Cn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(R(this,Et)&&(R(this,fi)?R(this,Et).cancel({revert:!0}):R(this,Et).cancelRetry()),this.scheduleGc()),R(this,Cn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Vn,Er).call(this,{type:"invalidate"})}async fetch(t,n){var f,m,p,g,v,N,C,b,S,j,P,k;if(this.state.fetchStatus!=="idle"&&((f=R(this,Et))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,Et))return R(this,Et).continueRetry(),R(this,Et).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(A=>A.options.queryFn);T&&this.setOptions(T.options)}const r=new AbortController,i=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(oe(this,fi,!0),r.signal)})},a=()=>{const T=US(this.options,n),U=(()=>{const F={client:R(this,di),queryKey:this.queryKey,meta:this.meta};return i(F),F})();return oe(this,fi,!1),this.options.persister?this.options.persister(T,U,this):T(U)},d=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,di),state:this.state,fetchFn:a};return i(T),T})();(m=this.options.behavior)==null||m.onFetch(d,this),oe(this,jo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=d.fetchOptions)==null?void 0:p.meta))&&Oe(this,Vn,Er).call(this,{type:"fetch",meta:(g=d.fetchOptions)==null?void 0:g.meta}),oe(this,Et,WS({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:T=>{T instanceof rp&&T.revert&&this.setState({...R(this,jo),fetchStatus:"idle"}),r.abort()},onFail:(T,A)=>{Oe(this,Vn,Er).call(this,{type:"failed",failureCount:T,error:A})},onPause:()=>{Oe(this,Vn,Er).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Vn,Er).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const T=await R(this,Et).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(N=(v=R(this,Cn).config).onSuccess)==null||N.call(v,T,this),(b=(C=R(this,Cn).config).onSettled)==null||b.call(C,T,this.state.error,this),T}catch(T){if(T instanceof rp){if(T.silent)return R(this,Et).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw Oe(this,Vn,Er).call(this,{type:"error",error:T}),(j=(S=R(this,Cn).config).onError)==null||j.call(S,T,this),(k=(P=R(this,Cn).config).onSettled)==null||k.call(P,this.state.data,T,this),T}finally{this.scheduleGc()}}},ui=new WeakMap,jo=new WeakMap,Cn=new WeakMap,di=new WeakMap,Et=new WeakMap,jl=new WeakMap,fi=new WeakMap,Vn=new WeakSet,Er=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,...KS(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 oe(this,jo,t.manual?i:void 0),i;case"error":const a=t.error;
vendor: 13,767 bytes, line 360
360return{...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),bt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),R(this,Cn).notify({query:this,type:"updated",action:t})})},rS);function KS(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:HS(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function fw(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 nn,ze,El,Wt,hi,Eo,kr,vs,kl,ko,Po,mi,pi,ws,To,qe,Qa,sp,ip,op,ap,lp,cp,up,GS,sS,u4=(sS=class extends $o{constructor(t,n){super();be(this,qe);be(this,nn);be(this,ze);be(this,El);be(this,Wt);be(this,hi);be(this,Eo);be(this,kr);be(this,vs);be(this,kl);be(this,ko);be(this,Po);be(this,mi);be(this,pi);be(this,ws);be(this,To,new Set);this.options=n,oe(this,nn,t),oe(this,vs,null),oe(this,kr,np()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,ze).addObserver(this),hw(R(this,ze),this.options)?Oe(this,qe,Qa).call(this):this.updateResult(),Oe(this,qe,ap).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return dp(R(this,ze),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return dp(R(this,ze),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Oe(this,qe,lp).call(this),Oe(this,qe,cp).call(this),R(this,ze).removeObserver(this)}setOptions(t){const n=this.options,r=R(this,ze);if(this.options=R(this,nn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof jn(this.options.enabled,R(this,ze))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Oe(this,qe,up).call(this),R(this,ze).setOptions(this.options),n._defaulted&&!Qu(this.options,n)&&R(this,nn).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,ze),observer:this});const i=this.hasListeners();i&&mw(R(this,ze),r,this.options,n)&&Oe(this,qe,Qa).call(this),this.updateResult(),i&&(R(this,ze)!==r||jn(this.options.enabled,R(this,ze))!==jn(n.enabled,R(this,ze))||Es(this.options.staleTime,R(this,ze))!==Es(n.staleTime,R(this,ze)))&&Oe(this,qe,sp).call(this);const a=Oe(this,qe,ip).call(this);i&&(R(this,ze)!==r||jn(this.options.enabled,R(this,ze))!==jn(n.enabled,R(this,ze))||a!==R(this,ws))&&Oe(this,qe,op).call(this,a)}getOptimisticResult(t){const n=R(this,nn).getQueryCache().build(R(this,nn),t),r=this.createResult(n,t);return f4(this,r)&&(oe(this,Wt,r),oe(this,Eo,this.options),oe(this,hi,R(this,ze).state)),r}getCurrentResult(){return R(this,Wt)}trackResult(t,n){return new Proxy(t,{get:(r,i)=>(this.trackProp(i),n==null||n(i),i==="promise"&&!this.options.experimental_prefetchInRender&&R(this,kr).status==="pending"&&R(this,kr).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,i))})}trackProp(t){R(this,To).add(t)}getCurrentQuery(){return R(this,ze)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=R(this,nn).defaultQueryOptions(t),r=R(this,nn).getQueryCache().build(R(this,nn),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Oe(this,qe,Qa).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,Wt)))}createResult(t,n){var te;const r=R(this,ze),i=this.options,a=R(this,Wt),c=R(this,hi),d=R(this,Eo),m=t!==r?t.state:R(this,El),{state:p}=t;let g={...p},v=!1,N;if(n._optimisticResults){const K=this.hasListeners(),B=!K&&hw(t,n),J=K&&mw(t,r,n,i);(B||J)&&(g={...g,...KS(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:C,errorUpdatedAt:b,status:S}=g;N=g.data;let j=!1;if(n.placeholderData!==void 0&&N===void 0&&S==="pending"){let K;a!=null&&a.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(K=a.data,j=!0):K=typeof n.placeholderData=="function"?n.placeholderData((te=R(this,Po))==null?void 0:te.state.data,R(this,Po)):n.placeholderData,K!==void 0&&(S="success",N=tp(a==null?void 0:a.data,K,n),v=!0)}if(n.select&&N!==void 0&&!j)if(a&&N===(c==null?void 0:c.data)&&n.select===R(this,kl))N=R(this,ko);else try{oe(this,kl,n.select),N=n.select(N),N=tp(a==null?void 0:a.data,N,n),oe(this,ko,N),oe(this,vs,null)}catch(K){oe(this,vs,K)}R(this,vs)&&(C=R(this,vs),N=R(this,ko),b=Date.now(),S="error");const P=g.fetchStatus==="fetching",k=S==="pending",T=S==="error",A=k&&P,U=N!==void 0,L={status:S,fetchStatus:g.fetchStatus,isPending:k,isSuccess:S==="success",isError:T,isInitialLoading:A,isLoading:A,data:N,dataUpdatedAt:g.dataUpdatedAt,error:C,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>m.dataUpdateCount||g.errorUpdateCount>m.errorUpdateCount,isFetching:P,isRefetching:P&&!k,isLoadingError:T&&!U,isPaused:g.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:T&&U,isStale:Ng(t,n),refetch:this.refetch,promise:R(this,kr),isEnabled:jn(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const K=se=>{L.status==="error"?se.reject(L.error):L.data!==void 0&&se.resolve(L.data)},B=()=>{const se=oe(this,kr,L.promise=np());K(se)},J=R(this,kr);switch(J.status){case"pending":t.queryHash===r.queryHash&&K(J);break;case"fulfilled":(L.status==="error"||L.data!==J.value)&&B();break;case"rejected":(L.status!=="error"||L.error!==J.reason)&&B();break}}return L}updateResult(){const t=R(this,Wt),n=this.createResult(R(this,ze),this.options);if(oe(this,hi,R(this,ze).state),oe(this,Eo,this.options),R(this,hi).data!==void 0&&oe(this,Po,R(this,ze)),Qu(n,t))return;oe(this,Wt,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!R(this,To).size)return!0;const c=new Set(a??R(this,To));return this.options.throwOnError&&c.add("error"),Object.keys(R(this,Wt)).some(d=>{const f=d;return R(this,Wt)[f]!==t[f]&&c.has(f)})};Oe(this,qe,GS).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Oe(this,qe,ap).call(this)}},nn=new WeakMap,ze=new WeakMap,El=new WeakMap,Wt=new WeakMap,hi=new WeakMap,Eo=new WeakMap,kr=new WeakMap,vs=new WeakMap,kl=new WeakMap,ko=new WeakMap,Po=new WeakMap,mi=new WeakMap,pi=new WeakMap,ws=new WeakMap,To=new WeakMap,qe=new WeakSet,Qa=function(t){Oe(this,qe,up).call(this);let n=R(this,ze).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Kt)),n},sp=function(){Oe(this,qe,lp).call(this);const t=Es(this.options.staleTime,R(this,ze));if(bi||R(this,Wt).isStale||!Zm(t))return;const r=VS(R(this,Wt).dataUpdatedAt,t)+1;oe(this,mi,ii.setTimeout(()=>{R(this,Wt).isStale||this.updateResult()},r))},ip=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,ze)):this.options.refetchInterval)??!1},op=function(t){Oe(this,qe,cp).call(this),oe(this,ws,t),!(bi||jn(this.options.enabled,R(this,ze))===!1||!Zm(R(this,ws))||R(this,ws)===0)&&oe(this,pi,ii.setInterval(()=>{(this.options.refetchIntervalInBackground||Sg.isFocused())&&Oe(this,qe,Qa).call(this)},R(this,ws)))},ap=function(){Oe(this,qe,sp).call(this),Oe(this,qe,op).call(this,Oe(this,qe,ip).call(this))},lp=function(){R(this,mi)&&(ii.clearTimeout(R(this,mi)),oe(this,mi,void 0))},cp=function(){R(this,pi)&&(ii.clearInterval(R(this,pi)),oe(this,pi,void 0))},up=function(){const t=R(this,nn).getQueryCache().build(R(this,nn),this.options);if(t===R(this,ze))return;const n=R(this,ze);oe(this,ze,t),oe(this,El,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},GS=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(R(this,Wt))}),R(this,nn).getQueryCache().notify({query:R(this,ze),type:"observerResultsUpdated"})})},sS);function d4(e,t){return jn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function hw(e,t){return d4(e,t)||e.state.data!==void 0&&dp(e,t,t.refetchOnMount)}function dp(e,t,n){if(jn(t.enabled,e)!==!1&&Es(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Ng(e,t)}return!1}function mw(e,t,n,r){return(e!==t||jn(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ng(e,n)}function Ng(e,t){return jn(t.enabled,e)!==!1&&e.isStaleByTime(Es(t.staleTime,e))}function f4(e,t){return!Qu(e.getCurrentResult(),t)}function pw(e){return{onFetch:(t,n)=>{var p,g,v,N,C;const r=t.options,i=(v=(g=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:v.direction,a=((N=t.state.data)==null?void 0:N.pages)||[],c=((C=t.state.data)==null?void 0:C.pageParams)||[];let d={pages:[],pageParams:[]},f=0;const m=async()=>{let b=!1;const S=k=>{Object.defineProperty(k,"signal",{enumerable:!0,get:()=>(t.signal.aborted?b=!0:t.signal.addEventListener("abort",()=>{b=!0}),t.signal)})},j=US(t.options,t.fetchOptions),P=async(k,T,A)=>{if(b)return Promise.reject();if(T==null&&k.pages.length)return Promise.resolve(k);const F=(()=>{const B={client:t.client,queryKey:t.queryKey,pageParam:T,direction:A?"backward":"forward",meta:t.options.meta};return S(B),B})(),L=await j(F),{maxPages:te}=t.options,K=A?r4:n4;return{pages:K(k.pages,L,te),pageParams:K(k.pageParams,T,te)}};if(i&&a.length){const k=i==="backward",T=k?h4:gw,A={pages:a,pageParams:c},U=T(r,A);d=await P(A,U,k)}else{const k=e??a.length;do{const T=f===0?c[0]??r.initialPageParam:gw(r,d);if(f>0&&T==null)break;d=await P(d,T),f++}while(f<k)}return d};t.options.persister?t.fetchFn=()=>{var b,S;return(S=(b=t.options).persister)==null?void 0:S.call(b,m,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=m}}}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 h4(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 Pl,tr,qt,gi,nr,hs,iS,m4=(iS=class extends qS{constructor(t){super();be(this,nr);be(this,Pl);be(this,tr);be(this,qt);be(this,gi);oe(this,Pl,t.client),this.mutationId=t.mutationId,oe(this,qt,t.mutationCache),oe(this,tr,[]),this.state=t.state||QS(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){R(this,tr).includes(t)||(R(this,tr).push(t),this.clearGcTimeout(),R(this,qt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){oe(this,tr,R(this,tr).filter(n=>n!==t)),this.scheduleGc(),R(this,qt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){R(this,tr).length||(this.state.status==="pending"?this.scheduleGc():R(this,qt).remove(this))}continue(){var t;return((t=R(this,gi))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,d,f,m,p,g,v,N,C,b,S,j,P,k,T,A,U,F,L,te;const n=()=>{Oe(this,nr,hs).call(this,{type:"continue"})},r={client:R(this,Pl),meta:this.options.meta,mutationKey:this.options.mutationKey};oe(this,gi,WS({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(K,B)=>{Oe(this,nr,hs).call(this,{type:"failed",failureCount:K,error:B})},onPause:()=>{Oe(this,nr,hs).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,qt).canRun(this)}));const i=this.state.status==="pending",a=!R(this,gi).canStart();try{if(i)n();else{Oe(this,nr,hs).call(this,{type:"pending",variables:t,isPaused:a}),await((d=(c=R(this,qt).config).onMutate)==null?void 0:d.call(c,t,this,r));const B=await((m=(f=this.options).onMutate)==null?void 0:m.call(f,t,r));B!==this.state.context&&Oe(this,nr,hs).call(this,{type:"pending",context:B,variables:t,isPaused:a})}const K=await R(this,gi).start();return await((g=(p=R(this,qt).config).onSuccess)==null?void 0:g.call(p,K,t,this.state.context,this,r)),await((N=(v=this.options).onSuccess)==null?void 0:N.call(v,K,t,this.state.context,r)),await((b=(C=R(this,qt).config).onSettled)==null?void 0:b.call(C,K,null,this.state.variables,this.state.context,this,r)),await((j=(S=this.options).onSettled)==null?void 0:j.call(S,K,null,t,this.state.context,r)),Oe(this,nr,hs).call(this,{type:"success",data:K}),K}catch(K){try{throw await((k=(P=R(this,qt).config).onError)==null?void 0:k.call(P,K,t,this.state.context,this,r)),await((A=(T=this.options).onError)==null?void 0:A.call(T,K,t,this.state.context,r)),await((F=(U=R(this,qt).config).onSettled)==null?void 0:F.call(U,void 0,K,this.state.variables,this.state.context,this,r)),await((te=(L=this.options).onSettled)==null?void 0:te.call(L,void 0,K,t,this.state.context,r)),K}finally{Oe(this,nr,hs).call(this,{type:"error",error:K})}}finally{R(this,qt).runNext(this)}}},Pl=new WeakMap,tr=new WeakMap,qt=new WeakMap,gi=new WeakMap,nr=new WeakSet,hs=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};
360case"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),bt.batch(()=>{R(this,tr).forEach(r=>{r.onMutationUpdate(t)}),R(this,qt).notify({mutation:this,type:"updated",action:t})})},iS);function QS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Pr,zn,Tl,oS,p4=(oS=class extends $o{constructor(t={}){super();be(this,Pr);be(this,zn);be(this,Tl);this.config=t,oe(this,Pr,new Set),oe(this,zn,new Map),oe(this,Tl,0)}build(t,n,r){const i=new m4({client:t,mutationCache:this,mutationId:++lu(this,Tl)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){R(this,Pr).add(t);const n=fu(t);if(typeof n=="string"){const r=R(this,zn).get(n);r?r.push(t):R(this,zn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(R(this,Pr).delete(t)){const n=fu(t);if(typeof n=="string"){const r=R(this,zn).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&R(this,zn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=fu(t);if(typeof n=="string"){const r=R(this,zn).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=fu(t);if(typeof n=="string"){const i=(r=R(this,zn).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(){bt.batch(()=>{R(this,Pr).forEach(t=>{this.notify({type:"removed",mutation:t})}),R(this,Pr).clear(),R(this,zn).clear()})}getAll(){return Array.from(R(this,Pr))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>cw(n,r))}findAll(t={}){return this.getAll().filter(n=>cw(t,n))}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return bt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Kt))))}},Pr=new WeakMap,zn=new WeakMap,Tl=new WeakMap,oS);function fu(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Tr,bs,rn,_r,Ir,_u,fp,aS,g4=(aS=class extends $o{constructor(n,r){super();be(this,Ir);be(this,Tr);be(this,bs);be(this,rn);be(this,_r);oe(this,Tr,n),this.setOptions(r),this.bindMethods(),Oe(this,Ir,_u).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var i;const r=this.options;this.options=R(this,Tr).defaultMutationOptions(n),Qu(this.options,r)||R(this,Tr).getMutationCache().notify({type:"observerOptionsUpdated",mutation:R(this,rn),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Si(r.mutationKey)!==Si(this.options.mutationKey)?this.reset():((i=R(this,rn))==null?void 0:i.state.status)==="pending"&&R(this,rn).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=R(this,rn))==null||n.removeObserver(this)}onMutationUpdate(n){Oe(this,Ir,_u).call(this),Oe(this,Ir,fp).call(this,n)}getCurrentResult(){return R(this,bs)}reset(){var n;(n=R(this,rn))==null||n.removeObserver(this),oe(this,rn,void 0),Oe(this,Ir,_u).call(this),Oe(this,Ir,fp).call(this)}mutate(n,r){var i;return oe(this,_r,r),(i=R(this,rn))==null||i.removeObserver(this),oe(this,rn,R(this,Tr).getMutationCache().build(R(this,Tr),this.options)),R(this,rn).addObserver(this),R(this,rn).execute(n)}},Tr=new WeakMap,bs=new WeakMap,rn=new WeakMap,_r=new WeakMap,Ir=new WeakSet,_u=function(){var r;const n=((r=R(this,rn))==null?void 0:r.state)??QS();oe(this,bs,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},fp=function(n){bt.batch(()=>{var r,i,a,c,d,f,m,p;if(R(this,_r)&&this.hasListeners()){const g=R(this,bs).variables,v=R(this,bs).context,N={client:R(this,Tr),meta:this.options.meta,mutationKey:this.options.mutationKey};(n==null?void 0:n.type)==="success"?((i=(r=R(this,_r)).onSuccess)==null||i.call(r,n.data,g,v,N),(c=(a=R(this,_r)).onSettled)==null||c.call(a,n.data,null,g,v,N)):(n==null?void 0:n.type)==="error"&&((f=(d=R(this,_r)).onError)==null||f.call(d,n.error,g,v,N
vendor: 4,127 bytes, line 360
360),(p=(m=R(this,_r)).onSettled)==null||p.call(m,void 0,n.error,g,v,N))}this.listeners.forEach(g=>{g(R(this,bs))})})},aS),rr,lS,y4=(lS=class extends $o{constructor(t={}){super();be(this,rr);this.config=t,oe(this,rr,new Map)}build(t,n,r){const i=n.queryKey,a=n.queryHash??wg(i,n);let c=this.get(a);return c||(c=new c4({client:t,queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(c)),c}add(t){R(this,rr).has(t.queryHash)||(R(this,rr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=R(this,rr).get(t.queryHash);n&&(t.destroy(),n===t&&R(this,rr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return R(this,rr).get(t)}getAll(){return[...R(this,rr).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>lw(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>lw(t,r)):n}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},rr=new WeakMap,lS),lt,Ss,Ns,_o,Ro,Cs,Ao,Mo,cS,x4=(cS=class{constructor(e={}){be(this,lt);be(this,Ss);be(this,Ns);be(this,_o);be(this,Ro);be(this,Cs);be(this,Ao);be(this,Mo);oe(this,lt,e.queryCache||new y4),oe(this,Ss,e.mutationCache||new p4),oe(this,Ns,e.defaultOptions||{}),oe(this,_o,new Map),oe(this,Ro,new Map),oe(this,Cs,0)}mount(){lu(this,Cs)._++,R(this,Cs)===1&&(oe(this,Ao,Sg.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,lt).onFocus())})),oe(this,Mo,Yu.subscribe(async e=>{e&&(await this.resumePausedMutations(),R(this,lt).onOnline())})))}unmount(){var e,t;lu(this,Cs)._--,R(this,Cs)===0&&((e=R(this,Ao))==null||e.call(this),oe(this,Ao,void 0),(t=R(this,Mo))==null||t.call(this),oe(this,Mo,void 0))}isFetching(e){return R(this,lt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return R(this,Ss).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,lt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=R(this,lt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Es(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return R(this,lt).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=R(this,lt).get(r.queryHash),a=i==null?void 0:i.state.data,c=ZA(t,a);if(c!==void 0)return R(this,lt).build(this,r).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return bt.batch(()=>R(this,lt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=R(this,lt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=R(this,lt);bt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=R(this,lt);return bt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=bt.batch(()=>R(this,lt).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Kt).catch(Kt)}invalidateQueries(e,t={}){return bt.batch(()=>(R(this,lt).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=bt.batch(()=>R(this,lt).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let a=i.fetch(void 0,n);return n.throwOnError||(a=a.catch(Kt)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(Kt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=R(this,lt).build(this,t);return n.isStaleByTime(Es(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}
360prefetchQuery(e){return this.fetchQuery(e).then(Kt).catch(Kt)}fetchInfiniteQuery(e){return e.behavior=pw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Kt).catch(Kt)}ensureInfiniteQueryData(e){return e.behavior=pw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yu.isOnline()?R(this,Ss).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,lt)}getMutationCache(){return R(this,Ss)}getDefaultOptions(){return R(this,Ns)}setDefaultOptions(e){oe(this,Ns,e)}setQueryDefaults(e,t){R(this,_o).set(Si(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...R(this,_o).values()],n={};return t.forEach(r=>{dl(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){R(this,Ro).set(Si(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...R(this,Ro).values()],n={};return t.forEach(r=>{dl(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...R(this,Ns).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=wg(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===bg&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...R(this,Ns).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){R(this,lt).clear(),R(this,Ss).clear()}},lt=new WeakMap,Ss=new WeakMap,Ns=new WeakMap,_o=new WeakMap,Ro=new WeakMap,Cs=new WeakMap,Ao=new WeakMap,Mo=new WeakMap,cS),YS=x.createContext(void 0),Cg=e=>{const t=x.useContext(YS);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},v4=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(YS.Provider,{value:e,children:t})),XS=x.createContext(!1),w4=()=>x.useContext(XS);XS.Provider;function b4(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var S4=x.createContext(b4()),N4=()=>x.useContext(S4),C4=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},j4=e=>{x.useEffect(()=>{e.clearReset()},[e])},E4=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||$S(n,[e.error,r])),k4=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))}},P4=(e,t)=>e.isLoading&&e.isFetching&&!t,T4=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,yw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _4(e,t,n){var g,v,N,C,b;const r=w4(),i=N4(),a=Cg(),c=a.defaultQueryOptions(e);(v=(g=a.getDefaultOptions().queries)==null?void 0:g._experimental_beforeQuery)==null||v.call(g,c),c._optimisticResults=r?"isRestoring":"optimistic",k4(c),C4(c,i),j4(i);const d=!a.getQueryCache().get(c.queryHash),[f]=x.useState(()=>new t(a,c)),m=f.getOptimisticResult(c),p=!r&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(S=>{const j=p?f.subscribe(bt.batchCalls(S)):Kt;return f.updateResult(),j},[f,p]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),x.useEffect(()=>{f.setOptions(c)},[c,f]),T4(c,m))throw yw(c,f,i);if(E4({result:m,errorResetBoundary:i,throwOnError:c.throwOnError,query:a.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw m.error;if((C=(N=a.getDefaultOptions().queries)==null?void 0:N._experimental_afterQuery)==null||C.call(N,c,m),c.experimental_prefetchInRender&&!bi&&P4(m,r)){const S=d?yw(c,f,i):(b=a.getQueryCache().get(c.queryHash))==null?void 0:b.promise;S==null||S.catch(Kt).finally(()=>{f.updateResult()})}return c.notifyOnChangeProps?m:f.trackResult(m)}function sn(e,t){return _4(e,u4)}function Zs(e,t){const n=Cg(),[r]=x.useState(()=>new g4(n,e));x.useEffect(()=>{r.setOptions(e)},[r,e]);const i=x.useSyncExternalStore(x.useCallback(c=>r.subscribe(bt.batchCalls(c)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=x.useCallback((c,d)=>{r.mutate(c,d).catch(Kt)},[r]);if(i.error&&$S(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}const R4=new x4({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});var Ml=uS();const A4=lg(Ml);/** 361 * @remix-run/router v1.23.0 362 * 363 * Copyright (c) Remix Software Inc. 364 * 365 * This source code is licensed under the MIT license found in the 366 * LICENSE.md file in the root directory of this source tree. 367 * 368 * @license MIT 369 */function fl(){return fl=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},fl.apply(this,arguments)}var js;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(js||(js={}));const xw="popstate";function M4(e){e===void 0&&(e={});function t(r,i){let{pathname:a,search:c,hash:d}=r.location;return hp("",{pathname:a,search:c,hash:d},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Xu(i)}return D4(t,n,null,e)}function yt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function JS(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function O4(){return Math.random().toString(36).substr(2,8)}function vw(e,t){return{usr:e.state,key:e.key,idx:t}}function hp(e,t,n,r){return n===void 0&&(n=null),fl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ho(t):t,{state:n,key:t&&t.key||r||O4()})}function Xu(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 Ho(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 D4(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,c=i.history,d=js.Pop,f=null,m=p();m==null&&(m=0,c.replaceState(fl({}
vendor: 3,495 bytes, line 369
369,c.state,{idx:m}),""));function p(){return(c.state||{idx:null}).idx}function g(){d=js.Pop;let S=p(),j=S==null?null:S-m;m=S,f&&f({action:d,location:b.location,delta:j})}function v(S,j){d=js.Push;let P=hp(b.location,S,j);m=p()+1;let k=vw(P,m),T=b.createHref(P);try{c.pushState(k,"",T)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(T)}a&&f&&f({action:d,location:b.location,delta:1})}function N(S,j){d=js.Replace;let P=hp(b.location,S,j);m=p();let k=vw(P,m),T=b.createHref(P);c.replaceState(k,"",T),a&&f&&f({action:d,location:b.location,delta:0})}function C(S){let j=i.location.origin!=="null"?i.location.origin:i.location.href,P=typeof S=="string"?S:Xu(S);return P=P.replace(/ $/,"%20"),yt(j,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,j)}let b={get action(){return d},get location(){return e(i,c)},listen(S){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(xw,g),f=S,()=>{i.removeEventListener(xw,g),f=null}},createHref(S){return t(i,S)},createURL:C,encodeLocation(S){let j=C(S);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:v,replace:N,go(S){return c.go(S)}};return b}var ww;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ww||(ww={}));function I4(e,t,n){return n===void 0&&(n="/"),L4(e,t,n)}function L4(e,t,n,r){let i=typeof t=="string"?Ho(t):t,a=jg(i.pathname||"/",n);if(a==null)return null;let c=ZS(e);F4(c);let d=null;for(let f=0;d==null&&f<c.length;++f){let m=Y4(a);d=K4(c[f],m)}return d}function ZS(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(a,c,d)=>{let f={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:c,route:a};f.relativePath.startsWith("/")&&(yt(f.relativePath.startsWith(r),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(r.length));let m=ks([r,f.relativePath]),p=n.concat(f);a.children&&a.children.length>0&&(yt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),ZS(a.children,t,p,m)),!(a.path==null&&!a.index)&&t.push({path:m,score:W4(m,a.index),routesMeta:p})};return e.forEach((a,c)=>{var d;if(a.path===""||!((d=a.path)!=null&&d.includes("?")))i(a,c);else for(let f of eN(a.path))i(a,c,f)}),t}function eN(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 c=eN(r.join("/")),d=[];return d.push(...c.map(f=>f===""?a:[a,f].join("/"))),i&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function F4(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:q4(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const B4=/^:[\w-]+$/,V4=3,z4=2,U4=1,$4=10,H4=-2,bw=e=>e==="*";function W4(e,t){let n=e.split("/"),r=n.length;return n.some(bw)&&(r+=H4),t&&(r+=z4),n.filter(i=>!bw(i)).reduce((i,a)=>i+(B4.test(a)?V4:a===""?U4:$4),r)}function q4(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 K4(e,t,n){let{routesMeta:r}=e,i={},a="/",c=[];for(let d=0;d<r.length;++d){let f=r[d],m=d===r.length-1,p=a==="/"?t:t.slice(a.length)||"/",g=G4({path:f.relativePath,caseSensitive:f.caseSensitive,end:m},p),v=f.route;if(!g)return null;
vendor: 9,433 bytes, lines 369-378
369Object.assign(i,g.params),c.push({params:i,pathname:ks([a,g.pathname]),pathnameBase:eM(ks([a,g.pathnameBase])),route:v}),g.pathnameBase!=="/"&&(a=ks([a,g.pathnameBase]))}return c}function G4(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Q4(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],c=a.replace(/(.)\/+$/,"$1"),d=i.slice(1);return{params:r.reduce((m,p,g)=>{let{paramName:v,isOptional:N}=p;if(v==="*"){let b=d[g]||"";c=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const C=d[g];return N&&!C?m[v]=void 0:m[v]=(C||"").replace(/%2F/g,"/"),m},{}),pathname:a,pathnameBase:c,pattern:e}}function Q4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),JS(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,(c,d,f)=>(r.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Y4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return JS(!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 jg(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 X4(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Ho(e):e;return{pathname:n?n.startsWith("/")?n:J4(n,t):t,search:tM(r),hash:nM(i)}}function J4(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 fm(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 Z4(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function tN(e,t){let n=Z4(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function nN(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Ho(e):(i=fl({},e),yt(!i.pathname||!i.pathname.includes("?"),fm("?","pathname","search",i)),yt(!i.pathname||!i.pathname.includes("#"),fm("#","pathname","hash",i)),yt(!i.search||!i.search.includes("#"),fm("#","search","hash",i)));let a=e===""||i.pathname==="",c=a?"/":i.pathname,d;if(c==null)d=n;else{let g=t.length-1;if(!r&&c.startsWith("..")){let v=c.split("/");for(;v[0]==="..";)v.shift(),g-=1;i.pathname=v.join("/")}d=g>=0?t[g]:"/"}let f=X4(i,d),m=c&&c!=="/"&&c.endsWith("/"),p=(a||c===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(m||p)&&(f.pathname+="/"),f}const ks=e=>e.join("/").replace(/\/\/+/g,"/"),eM=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),tM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,nM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function rM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const rN=["post","put","patch","delete"];new Set(rN);const sM=["get",...rN];new Set(sM);/** 370 * React Router v6.30.1 371 * 372 * Copyright (c) Remix Software Inc. 373 * 374 * This source code is licensed under the MIT license found in the 375 * LICENSE.md file in the root directory of this source tree. 376 * 377 * @license MIT 378 */function hl(){return hl=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},hl.apply(this,arguments)}const Eg=x.createContext(null),iM=x.createContext(null),Ri=x.createContext(null),wd=x.createContext(null),Ai=x.createContext({outlet:null,matches:[],isDataRoute:!1}),sN=x.createContext(null);function oM(e,t){let{relative:n}=t===void 0?{}:t;Ol()||yt(!1);let{basename:r,navigator:i}=x.useContext(Ri),{hash:a,pathname:c,search:d}=oN(e,{relative:n}),f=c;return r!=="/"&&(f=c==="/"?r:ks([r,c])),i.createHref({pathname:f,search:d,hash:a})}function Ol(){return x.useContext(wd)!=null}function Wo(){return Ol()||yt(!1),x.useContext(wd).location}function iN(e){x.useContext(Ri).static||x.useLayoutEffect(e)}function aM(){let{isDataRoute:e}=x.useContext(Ai);return e?wM():lM()}function lM(){Ol()||yt(!1);let e=x.useContext(Eg),{basename:t,future:n,navigator:r}=x.useContext(Ri),{matches:i}=x.useContext(Ai),{pathname:a}=Wo(),c=JSON.stringify(tN(i,n.v7_relativeSplatPath)),d=x.useRef(!1);return iN(()=>{d.current=!0}),x.useCallback(function(m,p){if(p===void 0&&(p={}),!d.current)return;if(typeof m=="number"){r.go(m);return}let g=nN(m,JSON.parse(c),a,p.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:ks([t,g.pathname])),(p.replace?r.replace:r.push)(g,p.state,p)},[t,r,c,a,e])}function oN(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(Ri),{matches:i}=x.useContext(Ai),{pathname:a}=Wo(),c=JSON.stringify(tN(i,r.v7_relativeSplatPath));return x.useMemo(()=>nN(e,JSON.parse(c),a,n==="path"),[e,c,a,n])}function cM(e,t){return uM(e,t)}function uM(e,t,n,r){Ol()||yt(!1);let{navigator:i}=x.useContext(Ri),{matches:a}=x.useContext(Ai),c=a[a.length-1],d=c?c.params:{};c&&c.pathname;let f=c?c.pathnameBase:"/";c&&c.route;let m=Wo(),p;if(t){var g;let S=typeof t=="string"?Ho(t):t;f==="/"||(g=S.pathname)!=null&&g.startsWith(f)||yt(!1),p=S}else p=m;let v=p.pathname||"/",N=v;if(f!=="/"){let S=f.replace(/^\//,"").split("/");N="/"+v.replace(/^\//,"").split("/").slice(S.length).join("/")}let C=I4(e,{pathname:N}),b=pM(C&&C.map(S=>Object.assign({},S,{params:Object.assign({},d,S.params),pathname:ks([f,i.encodeLocation?i.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?f:ks([f,i.encodeLocation?i.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),a,n,r);return t&&b?x.createElement(wd.Provider,{value:{location:hl({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:js.Pop}},b):b}function dM(){let e=vM(),t=rM(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 x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:i},n):null,null)}const fM=x.createElement(dM,null);class hM extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Ai.Provider,{value:this.props.routeContext},x.createElement(sN.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mM(e){let{routeContext:t,match:n,children:r}=e,i=x.useContext(Eg);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Ai.Provider,{value:t},r)}function pM(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 c=e,d=(i=n)==null?void 0:i.errors;if(d!=null){let p=c.findIndex(g=>g.route.id&&(d==null?void 0:d[g.route.id])!==void 0);p>=0||yt(!1),c=c.slice(0,Math.min(c.length,p+1))}let f=!1,m=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<c.length;p++){let g=c[p];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(m=p),g.route.id){let{loaderData:v,errors:N}=n,C=g.route.loader&&v[g.route.id]===void 0&&(!N||N[g.route.id]===void 0);if(g.route.lazy||C){f=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}return c.reduceRight((p,g,v)=>{let N,C=!1,b=null,S=null;n&&(N=d&&g.route.id?d[g.route.id]:void 0,b=g.route.errorElement||fM,f&&(m<0&&v===0?(bM("route-fallback"),C=!0,S=null):m===v&&(C=!0,S=g.route.hydrateFallbackElement||null)));let j=t.concat(c.slice(0,v+1)),P=()=>{let k;return N?k=b:C?k=S:g.route.Component?k=x.createElement(g.route.Component,null):g.route.element?k=g.route.element:k=p,x.createElement(mM,{match:g,routeContext:{outlet:p,matches:j,isDataRoute:n!=null},children:k})};return n&&(g.route.ErrorBoundary||g.route.errorElement||v===0)?x.createElement(hM,{location:n.location,revalidation:n.revalidation,component:b,error:N,children:P(),routeC
378ontext:{outlet:null,matches:j,isDataRoute:!0}}):P()},null)}var aN=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(aN||{}),lN=(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})(lN||{});function gM(e){let t=x.useContext(Eg);return t||yt(!1),t}function yM(e){let t=x.useContext(iM);return t||yt(!1),t}function xM(e){let t=x.useContext(Ai);return t||yt(!1),t}function cN(e){let t=xM(),n=t.matches[t.matches.length-1];return n.route.id||yt(!1),n.route.id}function vM(){var e;let t=x.useContext(sN),n=yM(),r=cN();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function wM(){let{router:e}=gM(aN.UseNavigateStable),t=cN(lN.UseNavigateStable),n=x.useRef(!1);return iN(()=>{n.current=!0}),x.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,hl({fromRouteId:t},a)))},[e,t])}const Sw={};function bM(e,t,n){Sw[e]||(Sw[e]=!0)}function SM(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ru(e){yt(!1)}function NM(e){let{basename:t="/",children:n=null,location:r,navigationType:i=js.Pop,navigator:a,static:c=!1,future:d}=e;Ol()&&yt(!1);let f=t.replace(/^\/*/,"/"),m=x.useMemo(()=>({basename:f,navigator:a,static:c,future:hl({v7_relativeSplatPath:!1},d)}),[f,d,a,c]);typeof r=="string"&&(r=Ho(r));let{pathname:p="/",search:g="",hash:v="",state:N=null,key:C="default"}=r,b=x.useMemo(()=>{let S=jg(p,f);return S==null?null:{location:{pathname:S,search:g,hash:v,state:N,key:C},navigationType:i}},[f,p,g,v,N,C,i]);return b==null?null:x.createElement(Ri.Provider,{value:m},x.createElement(wd.Provider,{children:n,value:b}))}function CM(e){let{children:t,location:n}=e;return cM(mp(t),n)}new Promise(()=>{});function mp(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,i)=>{if(!x.isValidElement(r))return;let a=[...t,i];if(r.type===x.Fragment){n.push.apply(n,mp(r.props.children,a));return}r.type!==Ru&&yt(!1),!r.props.index||!r.props.children||yt(!1);let c={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&&(c.children=mp(r.props.children,a)),n.push(c)}),n}/** 379 * React Router DOM v6.30.1 380 * 381 * Copyright (c) Remix Software Inc. 382 * 383 * This source code is licensed under the MIT license found in the 384 * LICENSE.md file in the root directory of this source tree. 385 * 386 * @license MIT 387 */function pp(){return pp=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},pp.apply(this,arguments)}function jM(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 EM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function kM(e,t){return e.button===0&&(!t||t==="_self")&&!EM(e)}const PM=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],TM="6";try{window.__reactRouterVersion=TM}catch{}const _M="startTransition",Nw=ug[_M];function RM(e){let{basename:t,children:n,future:r,window:i}=e,a=x.useRef();a.current==null&&(a.current=M4({window:i,v5Compat:!0}));let c=a.current,[d,f]=x.useState({action:c.action,location:c.location}),{v7_startTransition:m}=r||{},p=x.useCallback(g=>{m&&Nw?Nw(()=>f(g)):f(g)},[f,m]);return x.useLayoutEffect(()=>c.listen(p),[c,p]),x.useEffect(()=>SM(r),[r]),x.createElement(NM,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:c,future:r})}const AM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",MM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ze=x.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:a,replace:c,state:d,target:f,to:m,preventScrollReset:p,viewTransition:g}=t,v=jM(t,PM),{basename:N}=x.useContext(Ri),C,b=!1;if(typeof m=="string"&&MM.test(m)&&(C=m,AM))try{let k=new URL(window.location.href),T=m.startsWith("//")?new URL(k.protocol+m):new URL(m),A=jg(T.pathname,N);T.origin===k.origin&&A!=null?m=A+T.search+T.hash:b=!0}catch{}let S=oM(m,{relative:i}),j=OM(m,{replace:c,state:d,target:f,preventScrollReset:p,relative:i,viewTransition:g});function P(k){r&&r(k),k.defaultPrevented||j(k)}return x.createElement("a",pp({},v,{href:C||S,onClick:b||a?r:P,ref:n,target:f}))});var Cw;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Cw||(Cw={}));var jw;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jw||(jw={}));function OM(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:c,viewTransition:d}=t===void 0?{}:t,f=aM(),m=Wo(),p=oN(e,{relative:c}
vendor: 3,463 bytes, line 387
387);return x.useCallback(g=>{if(kM(g,n)){g.preventDefault();let v=r!==void 0?r:Xu(m)===Xu(p);f(e,{replace:v,state:i,preventScrollReset:a,relative:c,viewTransition:d})}},[m,f,p,r,i,n,e,a,c,d])}function uN(e,t){return function(){return e.apply(t,arguments)}}const{toString:DM}=Object.prototype,{getPrototypeOf:kg}=Object,{iterator:bd,toStringTag:dN}=Symbol,Sd=(e=>t=>{const n=DM.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),qn=e=>(e=e.toLowerCase(),t=>Sd(t)===e),Nd=e=>t=>typeof t===e,{isArray:qo}=Array,Do=Nd("undefined");function Dl(e){return e!==null&&!Do(e)&&e.constructor!==null&&!Do(e.constructor)&&on(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fN=qn("ArrayBuffer");function IM(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fN(e.buffer),t}const LM=Nd("string"),on=Nd("function"),hN=Nd("number"),Il=e=>e!==null&&typeof e=="object",FM=e=>e===!0||e===!1,Au=e=>{if(Sd(e)!=="object")return!1;const t=kg(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(dN in e)&&!(bd in e)},BM=e=>{if(!Il(e)||Dl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},VM=qn("Date"),zM=qn("File"),UM=qn("Blob"),$M=qn("FileList"),HM=e=>Il(e)&&on(e.pipe),WM=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||on(e.append)&&((t=Sd(e))==="formdata"||t==="object"&&on(e.toString)&&e.toString()==="[object FormData]"))},qM=qn("URLSearchParams"),[KM,GM,QM,YM]=["ReadableStream","Request","Response","Headers"].map(qn),XM=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ll(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),qo(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Dl(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),c=a.length;let d;for(r=0;r<c;r++)d=a[r],t.call(null,e[d],d,e)}}function mN(e,t){if(Dl(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 oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pN=e=>!Do(e)&&e!==oi;function gp(){const{caseless:e,skipUndefined:t}=pN(this)&&this||{},n={},r=(i,a)=>{const c=e&&mN(n,a)||a;Au(n[c])&&Au(i)?n[c]=gp(n[c],i):Au(i)?n[c]=gp({},i):qo(i)?n[c]=i.slice():(!t||!Do(i))&&(n[c]=i)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&Ll(arguments[i],r);return n}const JM=(e,t,n,{allOwnKeys:r}={})=>(Ll(t,(i,a)=>{n&&on(i)?e[a]=uN(i,n):e[a]=i},{allOwnKeys:r}),e),ZM=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),eO=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},tO=(e,t,n,r)=>{let i,a,c;const d={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)c=i[a],(!r||r(c,e,t))&&!d[c]&&(t[c]=e[c],d[c]=!0);e=n!==!1&&kg(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},nO=(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},rO=e=>{if(!e)return null;if(qo(e))return e;let t=e.length;if(!hN(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},sO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&kg(Uint8Array)),iO=(e,t)=>{const r=(e&&e[bd]).call(e);let i;for(;
vendor: 5,007 bytes, line 387
387(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},oO=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},aO=qn("HTMLFormElement"),lO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Ew=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cO=qn("RegExp"),gN=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ll(n,(i,a)=>{let c;(c=t(i,a,e))!==!1&&(r[a]=c||i)}),Object.defineProperties(e,r)},uO=e=>{gN(e,(t,n)=>{if(on(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(on(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+"'")})}})},dO=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return qo(e)?r(e):r(String(e).split(t)),n},fO=()=>{},hO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function mO(e){return!!(e&&on(e.append)&&e[dN]==="FormData"&&e[bd])}const pO=e=>{const t=new Array(10),n=(r,i)=>{if(Il(r)){if(t.indexOf(r)>=0)return;if(Dl(r))return r;if(!("toJSON"in r)){t[i]=r;const a=qo(r)?[]:{};return Ll(r,(c,d)=>{const f=n(c,i+1);!Do(f)&&(a[d]=f)}),t[i]=void 0,a}}return r};return n(e,0)},gO=qn("AsyncFunction"),yO=e=>e&&(Il(e)||on(e))&&on(e.then)&&on(e.catch),yN=((e,t)=>e?setImmediate:t?((n,r)=>(oi.addEventListener("message",({source:i,data:a})=>{i===oi&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),oi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",on(oi.postMessage)),xO=typeof queueMicrotask<"u"?queueMicrotask.bind(oi):typeof process<"u"&&process.nextTick||yN,vO=e=>e!=null&&on(e[bd]),H={isArray:qo,isArrayBuffer:fN,isBuffer:Dl,isFormData:WM,isArrayBufferView:IM,isString:LM,isNumber:hN,isBoolean:FM,isObject:Il,isPlainObject:Au,isEmptyObject:BM,isReadableStream:KM,isRequest:GM,isResponse:QM,isHeaders:YM,isUndefined:Do,isDate:VM,isFile:zM,isBlob:UM,isRegExp:cO,isFunction:on,isStream:HM,isURLSearchParams:qM,isTypedArray:sO,isFileList:$M,forEach:Ll,merge:gp,extend:JM,trim:XM,stripBOM:ZM,inherits:eO,toFlatObject:tO,kindOf:Sd,kindOfTest:qn,endsWith:nO,toArray:rO,forEachEntry:iO,matchAll:oO,isHTMLForm:aO,hasOwnProperty:Ew,hasOwnProp:Ew,reduceDescriptors:gN,freezeMethods:uO,toObjectSet:dO,toCamelCase:lO,noop:fO,toFiniteNumber:hO,findKey:mN,global:oi,isContextDefined:pN,isSpecCompliantForm:mO,toJSONObject:pO,isAsyncFn:gO,isThenable:yO,setImmediate:yN,asap:xO,isIterable:vO};function Me(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}H.inherits(Me,Error,{toJSON:function(){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:H.toJSONObject(this.config),code:this.code,status:this.status}}});const xN=Me.prototype,vN={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{vN[e]={value:e}});Object.defineProperties(Me,vN);Object.defineProperty(xN,"isAxiosError",{value:!0});Me.from=(e,t,n,r,i,a)=>{const c=Object.create(xN);H.toFlatObject(e,c,function(p){return p!==Error.prototype},m=>m!=="isAxiosError");const d=e&&e.message?e.message:"Error",f=t==null&&e?e.code:t;return Me.call(c,d,f,n,r,i),e&&c.cause==null&&Object.defineProperty(c,"cause",{value:e,configurable:!0}),c.name=e&&e.name||"Error",a&&Object.assign(c,a),c};const wO=null;function yp(e){return H.isPlainObject(e)||H.isArray(e)}function wN(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function kw(e,t,n){return e?e.concat(t).map(function(i,a){return i=wN(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function bO(e){return H.isArray(e)&&!e.some(yp)}const SO=H.toFlatObject(H,{},null,function(t){return/^is[A-Z]/.test(t)});function Cd(e,t,n){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,S){return!H.isUndefined(S[b])});const r=n.metaTokens,i=n.visitor||p,a=n.dots,c=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(i))throw new TypeError("visitor must be a function");function m(C){if(C===null)return"";if(H.isDate(C))return C.toISOString();if(H.isBoolean(C))return C.toString();if(!f&&H.isBlob(C))throw new Me("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(C)||H.isTypedArray(C)?f&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function p(C,b,S){let j=C;if(C&&!S&&typeof C=="object"){if(H.endsWith(b,"{}"))b=r?b:b.slice(0,-2),C=JSON.stringify(C);else if(H.isArray(C)&&bO(C)||(H.isFileList(C)||H.endsWith(b,"[]"))&&(j=H.toArray(C)))return b=wN(b),j.forEac
vendor: 4,183 bytes, line 387
387h(function(k,T){!(H.isUndefined(k)||k===null)&&t.append(c===!0?kw([b],T,a):c===null?b:b+"[]",m(k))}),!1}return yp(C)?!0:(t.append(kw(S,b,a),m(C)),!1)}const g=[],v=Object.assign(SO,{defaultVisitor:p,convertValue:m,isVisitable:yp});function N(C,b){if(!H.isUndefined(C)){if(g.indexOf(C)!==-1)throw Error("Circular reference detected in "+b.join("."));g.push(C),H.forEach(C,function(j,P){(!(H.isUndefined(j)||j===null)&&i.call(t,j,H.isString(P)?P.trim():P,b,v))===!0&&N(j,b?b.concat(P):[P])}),g.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return N(e),t}function Pw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Pg(e,t){this._pairs=[],e&&Cd(e,this,t)}const bN=Pg.prototype;bN.append=function(t,n){this._pairs.push([t,n])};bN.toString=function(t){const n=t?function(r){return t.call(this,r,Pw)}:Pw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function NO(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function SN(e,t,n){if(!t)return e;const r=n&&n.encode||NO;H.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let a;if(i?a=i(t,n):a=H.isURLSearchParams(t)?t.toString():new Pg(t,n).toString(r),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Tw{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){H.forEach(this.handlers,function(r){r!==null&&t(r)})}}const NN={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},CO=typeof URLSearchParams<"u"?URLSearchParams:Pg,jO=typeof FormData<"u"?FormData:null,EO=typeof Blob<"u"?Blob:null,kO={isBrowser:!0,classes:{URLSearchParams:CO,FormData:jO,Blob:EO},protocols:["http","https","file","blob","url","data"]},Tg=typeof window<"u"&&typeof document<"u",xp=typeof navigator=="object"&&navigator||void 0,PO=Tg&&(!xp||["ReactNative","NativeScript","NS"].indexOf(xp.product)<0),TO=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",_O=Tg&&window.location.href||"http://localhost",RO=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tg,hasStandardBrowserEnv:PO,hasStandardBrowserWebWorkerEnv:TO,navigator:xp,origin:_O},Symbol.toStringTag,{value:"Module"})),Vt={...RO,...kO};function AO(e,t){return Cd(e,new Vt.classes.URLSearchParams,{visitor:function(n,r,i,a){return Vt.isNode&&H.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function MO(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function OO(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 CN(e){function t(n,r,i,a){let c=n[a++];if(c==="__proto__")return!0;const d=Number.isFinite(+c),f=a>=n.length;return c=!c&&H.isArray(i)?i.length:c,f?(H.hasOwnProp(i,c)?i[c]=[i[c],r]:i[c]=r,!d):((!i[c]||!H.isObject(i[c]))&&(i[c]=[]),t(n,r,i[c],a)&&H.isArray(i[c])&&(i[c]=OO(i[c])),!d)}if(H.isFormData(e)&&H.isFunction(e.entries)){const n={};return H.forEachEntry(e,(r,i)=>{t(MO(r),i,n,0)}),n}return null}function DO(e,t,n){if(H.isString(e))try{return(t||JSON.parse)(e),H.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Fl={transitional:NN,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=H.isObject(t);if(a&&H.isHTMLForm(t)&&(t=new FormData(t)),H.isFormData(t))return i?JSON.stringify(CN(t)):t;if(H.isArrayBuffer(t)||H.isBuffer(t)||H.isStream(t)||H.isFile(t)||H.isBlob(t)||H.isReadableStream(t))return t;if(H.isArrayBufferView(t))return t.buffer;if(H.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(a){if(r.indexOf("application/x-www-form-urlencoded")>
vendor: 4,427 bytes, lines 387-389
387-1)return AO(t,this.formSerializer).toString();if((d=H.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Cd(d?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),DO(t)):t}],transformResponse:[function(t){const n=this.transitional||Fl.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(H.isResponse(t)||H.isReadableStream(t))return t;if(t&&H.isString(t)&&(r&&!this.responseType||i)){const c=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t,this.parseReviver)}catch(d){if(c)throw d.name==="SyntaxError"?Me.from(d,Me.ERR_BAD_RESPONSE,this,null,this.response):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};H.forEach(["delete","get","head","post","put","patch"],e=>{Fl.headers[e]={}});const IO=H.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"]),LO=e=>{const t={};let n,r,i;return e&&e.split(` 388`).forEach(function(c){i=c.indexOf(":"),n=c.substring(0,i).trim().toLowerCase(),r=c.substring(i+1).trim(),!(!n||t[n]&&IO[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},_w=Symbol("internals");function Ua(e){return e&&String(e).trim().toLowerCase()}function Mu(e){return e===!1||e==null?e:H.isArray(e)?e.map(Mu):String(e)}function FO(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 BO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function hm(e,t,n,r,i){if(H.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!H.isString(t)){if(H.isString(r))return t.indexOf(r)!==-1;if(H.isRegExp(r))return r.test(t)}}function VO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function zO(e,t){const n=H.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,c){return this[r].call(this,t,i,a,c)},configurable:!0})})}let an=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(d,f,m){const p=Ua(f);if(!p)throw new Error("header name must be a non-empty string");const g=H.findKey(i,p);(!g||i[g]===void 0||m===!0||m===void 0&&i[g]!==!1)&&(i[g||f]=Mu(d))}const c=(d,f)=>H.forEach(d,(m,p)=>a(m,p,f));if(H.isPlainObject(t)||t instanceof this.constructor)c(t,n);else if(H.isString(t)&&(t=t.trim())&&!BO(t))c(LO(t),n);else if(H.isObject(t)&&H.isIterable(t)){let d={},f,m;for(const p of t){if(!H.isArray(p))throw TypeError("Object iterator must return a key-value pair");d[m=p[0]]=(f=d[m])?H.isArray(f)?[...f,p[1]]:[f,p[1]]:p[1]}c(d,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=Ua(t),t){const r=H.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return FO(i);if(H.isFunction(n))return n.call(this,i,r);if(H.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ua(t),t){const r=H.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||hm(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(c){if(c=Ua(c),c){const d=H.findKey(r,c);d&&(!n||hm(r,r[d],d,n))&&(delete r[d],i=!0)}}return H.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||hm(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return H.forEach(this,(i,a)=>{const c=H.findKey(r,a);if(c){n[c]=Mu(i),delete n[a];return}const d=t?VO(a):String(a).trim();d!==a&&delete n[a],n[d]=Mu(i),r[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return H.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&H.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(` 389`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);
vendor: 6,625 bytes, line 389
389return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[_w]=this[_w]={accessors:{}}).accessors,i=this.prototype;function a(c){const d=Ua(c);r[d]||(zO(i,c),r[d]=!0)}return H.isArray(t)?t.forEach(a):a(t),this}};an.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.reduceDescriptors(an.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});H.freezeMethods(an);function mm(e,t){const n=this||Fl,r=t||n,i=an.from(r.headers);let a=r.data;return H.forEach(e,function(d){a=d.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function jN(e){return!!(e&&e.__CANCEL__)}function Ko(e,t,n){Me.call(this,e??"canceled",Me.ERR_CANCELED,t,n),this.name="CanceledError"}H.inherits(Ko,Me,{__CANCEL__:!0});function EN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Me("Request failed with status code "+n.status,[Me.ERR_BAD_REQUEST,Me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function UO(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $O(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,c;return t=t!==void 0?t:1e3,function(f){const m=Date.now(),p=r[a];c||(c=m),n[i]=f,r[i]=m;let g=a,v=0;for(;g!==i;)v+=n[g++],g=g%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),m-c<t)return;const N=p&&m-p;return N?Math.round(v*1e3/N):void 0}}function HO(e,t){let n=0,r=1e3/t,i,a;const c=(m,p=Date.now())=>{n=p,i=null,a&&(clearTimeout(a),a=null),e(...m)};return[(...m)=>{const p=Date.now(),g=p-n;g>=r?c(m,p):(i=m,a||(a=setTimeout(()=>{a=null,c(i)},r-g)))},()=>i&&c(i)]}const Ju=(e,t,n=3)=>{let r=0;const i=$O(50,250);return HO(a=>{const c=a.loaded,d=a.lengthComputable?a.total:void 0,f=c-r,m=i(f),p=c<=d;r=c;const g={loaded:c,total:d,progress:d?c/d:void 0,bytes:f,rate:m||void 0,estimated:m&&d&&p?(d-c)/m:void 0,event:a,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(g)},n)},Rw=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Aw=e=>(...t)=>H.asap(()=>e(...t)),WO=Vt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Vt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Vt.origin),Vt.navigator&&/(msie|trident)/i.test(Vt.navigator.userAgent)):()=>!0,qO=Vt.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const c=[e+"="+encodeURIComponent(t)];H.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),H.isString(r)&&c.push("path="+r),H.isString(i)&&c.push("domain="+i),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function KO(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function GO(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kN(e,t,n){let r=!KO(t);return e&&(r||n==!1)?GO(e,t):t}const Mw=e=>e instanceof an?{...e}:e;function Ni(e,t){t=t||{};const n={};function r(m,p,g,v){return H.isPlainObject(m)&&H.isPlainObject(p)?H.merge.call({caseless:v},m,p):H.isPlainObject(p)?H.merge({},p):H.isArray(p)?p.slice():p}function i(m,p,g,v){if(H.isUndefined(p)){if(!H.isUndefined(m))return r(void 0,m,g,v)}else return r(m,p,g,v)}function a(m,p){if(!H.isUndefined(p))return r(void 0,p)}function c(m,p){if(H.isUndefined(p)){if(!H.isUndefined(m))return r(void 0,m)}else return r(void 0,p)}function d(m,p,g){if(g in t)return r(m,p);if(g in e)return r(void 0,m)}const f={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:d,headers:(m,p,g)=>i(Mw(m),Mw(p),g,!0)};return H.forEach(Object.keys({...e,...t}),function(p){const g=f[p]||i,v=g(e[p],t[p],p);H.isUndefined(v)&&g!==d||(n[p]=v)}),n}const PN=e=>{const t=Ni({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:c,auth:d}=t;if(t.headers=c=an.from(c),t.url=SN(kN(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),H.isFormData(n)){if(Vt.hasStandardBrowserEnv||Vt.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(H.isFunction(n.getHeaders)){const f=n.getHeaders(),m=["content-type","content-length"];Object.entries(f).forEach(([p,g])=>{m.includes(p.toLowerCase())&&c.set(p,g)})}}if(Vt.hasStandardBrowserEnv&&(r&&H.isFunction(r)&&(r=r(t)),r||r!==!1&&WO(t.url))){const f=i&&a&&qO.read(a);f&&c.set(i,f)}return t},QO=typeof XMLHttpRequest<"u",YO=QO&&function(e){return new Promise(function(n,r){const i=PN(e);let a=i.data;const c=an.from(i.headers).normalize();let{responseType:d,onUploadProgress:f,onDownloadProgress:m}=i,p,g,v,N,C;function b(){N&&N(),C&&C(),i.cancelToken&&i.cancelToken.unsubscribe(p),i.signal&&i.signal.removeEventListener("abort",p)}let S=new XMLHttpRequest;S.open(i.method.toUpperCase(),i.url,!0),S.timeout=i.timeout;function j(){if(!S)return;const k=an.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),A={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:k,config:e,request:S};EN(function(F){n(F),b()},function(F){r(F),b()},A),S=null}"onloadend"in S?S.onloadend=j:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(j)},S.onabort=function(){S&&(r(new Me("Request aborted",Me.ECONNABORTED,e,S)),S=null)},S.onerror=function(T){const A=T&&T.message?T.message:"Network Error",U=new Me(A,Me.ERR_NETWORK,e,S);U.event=T||null,r(U),S=null},S.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const A=i.transitional||NN;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new Me(T,A.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,e,S)),S=null},a===void 0&&c.setContentType(null),"setRequestHeader"in S&&H.forEach(c.toJSON(),function(T,A){S.setRequestHeader(A,T)}),H.isUndefined(i.withCredentials)||(S.withCredentials=!!i.withCredentials),d&&d!=="json"&&(S.responseType=i.responseType),m&&([v,C]=Ju(m,!0),S.addEventListener("progress",v)),f&&S.upload&&([g,N]=Ju(f),S.upload.addEventListener("progress",g),S.upload.addEventListener("loadend",N)),(i.cancelToken||i.signal)&&(p=k=>
vendor: 4,763 bytes, line 389
389{S&&(r(!k||k.type?new Ko(null,e,S):k),S.abort(),S=null)},i.cancelToken&&i.cancelToken.subscribe(p),i.signal&&(i.signal.aborted?p():i.signal.addEventListener("abort",p)));const P=UO(i.url);if(P&&Vt.protocols.indexOf(P)===-1){r(new Me("Unsupported protocol "+P+":",Me.ERR_BAD_REQUEST,e));return}S.send(a||null)})},XO=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const a=function(m){if(!i){i=!0,d();const p=m instanceof Error?m:this.reason;r.abort(p instanceof Me?p:new Ko(p instanceof Error?p.message:p))}};let c=t&&setTimeout(()=>{c=null,a(new Me(`timeout ${t} of ms exceeded`,Me.ETIMEDOUT))},t);const d=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(m=>{m.unsubscribe?m.unsubscribe(a):m.removeEventListener("abort",a)}),e=null)};e.forEach(m=>m.addEventListener("abort",a));const{signal:f}=r;return f.unsubscribe=()=>H.asap(d),f}},JO=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},ZO=async function*(e,t){for await(const n of eD(e))yield*JO(n,t)},eD=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()}},Ow=(e,t,n,r)=>{const i=ZO(e,t);let a=0,c,d=f=>{c||(c=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:m,value:p}=await i.next();if(m){d(),f.close();return}let g=p.byteLength;if(n){let v=a+=g;n(v)}f.enqueue(new Uint8Array(p))}catch(m){throw d(m),m}},cancel(f){return d(f),i.return()}},{highWaterMark:2})},Dw=64*1024,{isFunction:hu}=H,tD=(({Request:e,Response:t})=>({Request:e,Response:t}))(H.global),{ReadableStream:Iw,TextEncoder:Lw}=H.global,Fw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},nD=e=>{e=H.merge.call({skipUndefined:!0},tD,e);const{fetch:t,Request:n,Response:r}=e,i=t?hu(t):typeof fetch=="function",a=hu(n),c=hu(r);if(!i)return!1;const d=i&&hu(Iw),f=i&&(typeof Lw=="function"?(C=>b=>C.encode(b))(new Lw):async C=>new Uint8Array(await new n(C).arrayBuffer())),m=a&&d&&Fw(()=>{let C=!1;const b=new n(Vt.origin,{body:new Iw,method:"POST",get duplex(){return C=!0,"half"}}).headers.has("Content-Type");return C&&!b}),p=c&&d&&Fw(()=>H.isReadableStream(new r("").body)),g={stream:p&&(C=>C.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(C=>{!g[C]&&(g[C]=(b,S)=>{let j=b&&b[C];if(j)return j.call(b);throw new Me(`Response type '${C}' is not supported`,Me.ERR_NOT_SUPPORT,S)})});const v=async C=>{if(C==null)return 0;if(H.isBlob(C))return C.size;if(H.isSpecCompliantForm(C))return(await new n(Vt.origin,{method:"POST",body:C}).arrayBuffer()).byteLength;if(H.isArrayBufferView(C)||H.isArrayBuffer(C))return C.byteLength;if(H.isURLSearchParams(C)&&(C=C+""),H.isString(C))return(await f(C)).byteLength},N=async(C,b)=>{const S=H.toFiniteNumber(C.getContentLength());return S??v(b)};return async C=>{let{url:b,method:S,data:j,signal:P,cancelToken:k,timeout:T,onDownloadProgress:A,onUploadProgress:U,responseType:F,headers:L,withCredentials:te="same-origin",fetchOptions:K}=PN(C),B=t||fetch;F=F?(F+"").toLowerCase():"text";let J=XO([P,k&&k.toAbortSignal()],T),se=null;const le=J&&J.unsubscribe&&(()=>{J.unsubscribe()});let ve;try{if(U&&m&&S!=="get"&&S!=="head"&&(ve=await N(L,j))!==0){let O=new n(b,{method:"POST",body:j,duplex:"half"}),q;if(H.isFormData(j)&&(q=O.headers.get("content-type"))&&L.setContentType(q),O.body){const[ce,ue]=Rw(ve,Ju(Aw(U)));j=Ow(O.body,Dw,ce,ue)}}H.isString(te)||(te=te?"include":"omit");const G=a&&"credentials"in n.prototype,ne={...K,signal:J,method:S.toUpperCase(),headers:L.normalize().toJSON(),body:j,duplex:"half",credentials:G?te:void 0};se=a&&new n(b,ne);let D=await(a?B(se,K):B(b,ne));const W=p&&(F==="stream"||F==="response");if(p&&(A||W&&le)){const O={};["status","statusText","headers"].forEach(je=>{O[je]=D[je]});const q=H.toFiniteNumber(D.headers.get("content-length")),[ce,ue]=A&&Rw(q,Ju(Aw(A),!0))||[];D=new r(Ow(D.body,Dw,ce,()=>{ue&&ue(),le&&le()}),O)}F=F||"text";let Y=await g[H.findKey(g,F)||"text"](D,C);return!W&&le&&le(),await new Promise((O,q)=>{EN(O,q,{data:Y,headers:an.from(D.headers),status:D.status,statusText:D.statusText,config:C,request:se})})}catch(G){throw le&&le(),G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new Me("Network Error",Me.ERR_NETWORK,C,se),{cause:G.cause||G}):Me.from(G,G&&G.code,C,se)}}},rD=new Map,TN=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let c=a.length,d=c,f,m,p=rD;for(;d--;)f=a[d],m=p.get(f),m===void 0&&p.set(f,m=d?new Map:nD(t)),p=m;return m};TN();const vp={http:wO,xhr:YO,fetch:{get:TN}};H.forEach(vp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bw=e=>`- ${e}`,sD=e=>
vendor: 5,341 bytes, lines 389-392
389H.isFunction(e)||e===null||e===!1,_N={getAdapter:(e,t)=>{e=H.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let c=0;c<n;c++){r=e[c];let d;if(i=r,!sD(r)&&(i=vp[(d=String(r)).toLowerCase()],i===void 0))throw new Me(`Unknown adapter '${d}'`);if(i&&(H.isFunction(i)||(i=i.get(t))))break;a[d||"#"+c]=i}if(!i){const c=Object.entries(a).map(([f,m])=>`adapter ${f} `+(m===!1?"is not supported by the environment":"is not available in the build"));let d=n?c.length>1?`since : 390`+c.map(Bw).join(` 391`):" "+Bw(c[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+d,"ERR_NOT_SUPPORT")}return i},adapters:vp};function pm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ko(null,e)}function Vw(e){return pm(e),e.headers=an.from(e.headers),e.data=mm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_N.getAdapter(e.adapter||Fl.adapter,e)(e).then(function(r){return pm(e),r.data=mm.call(e,e.transformResponse,r),r.headers=an.from(r.headers),r},function(r){return jN(r)||(pm(e),r&&r.response&&(r.response.data=mm.call(e,e.transformResponse,r.response),r.response.headers=an.from(r.response.headers))),Promise.reject(r)})}const RN="1.12.2",jd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{jd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const zw={};jd.transitional=function(t,n,r){function i(a,c){return"[Axios v"+RN+"] Transitional option '"+a+"'"+c+(r?". "+r:"")}return(a,c,d)=>{if(t===!1)throw new Me(i(c," has been removed"+(n?" in "+n:"")),Me.ERR_DEPRECATED);return n&&!zw[c]&&(zw[c]=!0,console.warn(i(c," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,c,d):!0}};jd.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function iD(e,t,n){if(typeof e!="object")throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],c=t[a];if(c){const d=e[a],f=d===void 0||c(d,a,e);if(f!==!0)throw new Me("option "+a+" must be "+f,Me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Me("Unknown option "+a,Me.ERR_BAD_OPTION)}}const Ou={assertOptions:iD,validators:jd},er=Ou.validators;let yi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Tw,response:new Tw}}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=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=` 392`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ni(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Ou.assertOptions(r,{silentJSONParsing:er.transitional(er.boolean),forcedJSONParsing:er.transitional(er.boolean),clarifyTimeoutError:er.transitional(er.boolean)},!1),i!=null&&(H.isFunction(i)?n.paramsSerializer={serialize:i}:Ou.assertOptions(i,{encode:er.function,serialize:er.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ou.assertOptions(n,{baseUrl:er.spelling("baseURL"),withXsrfToken:er.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=a&&H.merge(a.common,a[n.method]);a&&H.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),n.headers=an.concat(c,a);const d=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(f=f&&b.synchronous,d.unshift(b.fulfilled,b.rejected))});const m=[];this.interceptors.response.forEach(function(b){m.push(b.fulfilled,b.rejected)});let p,g=0,v;if(!f){const C=[Vw.bind(this),void 0];for(C.unshift(...d),C.push(...m),v=C.length,p=Promise.resolve(n);g<v;)p=p.then(C[g++],C[g++]);return p}v=d.length;let N=n;for(;g<v;){const C=d[g++],b=d[g++];try{N=C(N)}catch(S){b.call(this,S);break}}try{p=Vw.call(this,N)}catch(C){return Promise.reject(C)}for(g=0,v=m.length;g<v;)p=p.then(m[g++],m[g++]);return p}getUri(t){t=Ni(this.defaults,t);const n=kN(t.baseURL,t.url,t.allowAbsoluteUrls);return SN(n,t.params,t.paramsSerializer)}};H.forEach(["delete","get","head","options"],function(t){yi.prototype[t]=function(n,r){return this.request(Ni(r||{},{method:t,url:n,data:(r||{}).data}))}});H.forEach(["post","put","patch"],function(t){function n(r){return function(a,c,d){return this.request(Ni(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:c}))}}yi.prototype[t]=n(),yi.prototype[t+"Form"]=n(!0)});let oD=class AN{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 c=new Promise(d=>{r.subscribe(d),a=d}).then(i);return c.cancel=function(){r.unsubscribe(a)},c},t(function(a,c,d){r.reason||(r.reason=new Ko(a,c,d),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
392subscribe(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 AN(function(i){t=i}),cancel:t}}};function aD(e){return function(n){return e.apply(null,n)}}function lD(e){return H.isObject(e)&&e.isAxiosError===!0}const wp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wp).forEach(([e,t])=>{wp[t]=e});function MN(e){const t=new yi(e),n=uN(yi.prototype.request,t);return H.extend(n,yi.prototype,t,{allOwnKeys:!0}),H.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return MN(Ni(e,i))},n}const ht=MN(Fl);ht.Axios=yi;ht.CanceledError=Ko;ht.CancelToken=oD;ht.isCancel=jN;ht.VERSION=RN;ht.toFormData=Cd;ht.AxiosError=Me;ht.Cancel=ht.CanceledError;ht.all=function(t){return Promise.all(t)};ht.spread=aD;ht.isAxiosError=lD;ht.mergeConfig=Ni;ht.AxiosHeaders=an;ht.formToJSON=e=>CN(H.isHTMLForm(e)?new FormData(e):e);ht.getAdapter=_N.getAdapter;ht.HttpStatusCode=wp;ht.default=ht;const{Axios:T9,AxiosError:_9,CanceledError:R9,isCancel:A9,CancelToken:M9,VERSION:O9,all:D9,Cancel:I9,isAxiosError:L9,spread:F9,toFormData:B9,AxiosHeaders:V9,HttpStatusCode:z9,formToJSON:U9,getAdapter:$9,mergeConfig:H9}=ht,cD=typeof window>"u",Uw=!cD&&window.self!==window.top,gm=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),_t=[];for(let e=0;e<256;++e)_t.push((e+256).toString(16).slice(1));function uD(e,t=0){return(_t[e[t+0]]+_t[e[t+1]]+_t[e[t+2]]+_t[e[t+3]]+"-"+_t[e[t+4]]+_t[e[t+5]]+"-"+_t[e[t+6]]+_t[e[t+7]]+"-"+_t[e[t+8]]+_t[e[t+9]]+"-"+_t[e[t+10]]+_t[e[t+11]]+_t[e[t+12]]+_t[e[t+13]]+_t[e[t+14]]+_t[e[t+15]]).toLowerCase()}let ym;const dD=new Uint8Array(16);function fD(){if(!ym){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ym=crypto.getRandomValues.bind(crypto)}return ym(dD)}const hD=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),$w={randomUUID:hD};function mD(e,t,n){var i;e=e||{};const r=e.random??((i=e.rng)==null?void 0:i.call(e))??fD();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,uD(r)}function pD(e,t,n){return $w.randomUUID&&!e?$w.randomUUID():mD(e)}class gD 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 Ya({baseURL:e,headers:t={},token:n,interceptResponses:r=!0,onError:i}){const a=ht.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(c=>{typeof window<"u"&&c.headers.set("X-Origin-URL",window.location.href);const d=pD();if(c.requestId=d,Uw)try{window.parent.postMessage({type:"api-request-start",requestId:d,data:{url:e+c.url,method:c.method,body:c.data instanceof FormData?"[FormData object]":c.data}},"*")}catch{}return c}),r&&a.interceptors.response.use(c=>{var d;const f=(d=c.config)===null||d===void 0?void 0:d.requestId;try{Uw&&f&&window.parent.postMessage({type:"api-request-end",requestId:f,data:{statusCode:c.status,response:c.data}},"*")}catch{}return c.data},c=>{var d,f,m,p,g,v,N,C;const b=((f=(d=c.response)===null||d===void 0?void 0:d.data)===null||f===void 0?void 0:f.message)||((p=(m=c.response)===null||m===void 0?void 0:m.data)===null||p===void 0?void 0:p.detail)||c.message,S=new gD(b,(g=c.response)===null||g===void 0?void 0:g.status,(N=(v=c.response)===null||v===void 0?void 0:v.data)===null||N===void 0?void 0:N.co
392de,(C=c.response)===null||C===void 0?void 0:C.data,c);return i==null||i(S),Promise.reject(S)}),a}function Hw(e){const{axios:t,appId:n,getSocket:r}=e;return new Proxy({},{get(i,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return xD(t,n,a,r)}})}function yD(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function xD(e,t,n,r){const i=`/apps/${t}/entities/${n}`;return{async list(a,c,d,f){const m={};return a&&(m.sort=a),c&&(m.limit=c),d&&(m.skip=d),f&&(m.fields=Array.isArray(f)?f.join(","):f),e.get(i,{params:m})},async filter(a,c,d,f,m){const p={q:JSON.stringify(a)};return c&&(p.sort=c),d&&(p.limit=d),f&&(p.skip=f),m&&(p.fields=Array.isArray(m)?m.join(","):m),e.get(i,{params:p})},async get(a){return e.get(`${i}/${a}`)},async create(a){return e.post(i,a)},async update(a,c){return e.put(`${i}/${a}`,c)},async delete(a){return e.delete(`${i}/${a}`)},async deleteMany(a){return e.delete(i,{data:a})},async bulkCreate(a){return e.post(`${i}/bulk`,a)},async importEntities(a){const c=new FormData;return c.append("file",a,a.name),e.post(`${i}/import`,c,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(a){const c=`entities:${t}:${n}`;return r().subscribeToRoom(c,{update_model:m=>{const p=yD(m.data);if(p)try{a(p)}catch(g){console.error("[Base44 SDK] Subscription callback error:",g)}}})}}}function vD(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:c,...d}=i??{},f={...d,...a&&{path_params:a},...c&&{query_params:c}};return await e.post(`/apps/${t}/integrations/custom/${n}/${r}`,f)}}}function Ww(e,t){const n=vD(e,t);return new Proxy({},{get(r,i){if(!(typeof i!="string"||i==="then"||i.startsWith("_")))return i==="custom"?n:new Proxy({},{get(a,c){if(!(typeof c!="string"||c==="then"||c.startsWith("_")))return async d=>{if(typeof d=="string")throw new Error(`Integration ${c} must receive an object with named parameters, received: ${d}`);let f,m;return d instanceof FormData||d&&Object.values(d).some(p=>p instanceof File)?(f=new FormData,Object.keys(d).forEach(p=>{d[p]instanceof File?f.append(p,d[p],d[p].name):typeof d[p]=="object"&&d[p]!==null?f.append(p,JSON.stringify(d[p])):f.append(p,d[p])}),m="multipart/form-data"):(f=d,m="application/json"),i==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${c}`,f||d,{headers:{"Content-Type":m}}):e.post(`/apps/${t}/integration-endpoints/installable/${i}/integration-endpoints/${c}`,f||d,{headers:{"Content-Type":m}})}}})}})}function wD(e,t,n,r){return{async me(){return e.get(`/apps/${n}/entities/User/me`)},async updateMe(i){return e.put(`/apps/${n}/entities/User/me`,i)},redirectToLogin(i){var a;if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const c=i?new URL(i,window.location.origin).toString():window.location.href,d=`${(a=r.appBaseUrl)!==null&&a!==void 0?a:""}/login?from_url=${encodeURIComponent(c)}`;window.location.href=d},loginWithProvider(i,a="/"){const c=new URL(a,window.location.origin).toString(),d=i==="google"?"":`/${i}`,f=`${r.serverUrl}/api/apps/auth${d}/login?app_id=${n}&from_url=${encodeURIComponent(c)}`;window.location.href=f},logout(i){if(delete e.defaults.headers.common.Authorization,typeof window<"u"&&window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(a){console.error("Failed to remove token from localStorage:",a)}typeof window<"u"&&(i?window.location.href=i:window.location.reload())},setToken(i,a=!0){if(i&&(e.defaults.headers.common.Authorization=`Bearer ${i}`,t.defaults.headers.common.Authorization=`Bearer ${i}`,a&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",i),window.localStorage.setItem("token",i)}catch(c){console.error("Failed to save token to localStorage:",c)}},async loginViaEmailPassword(i,a,c){var d;try{const f=await e.post(`/apps/${n}/auth/login`,{email:i,password:a,...c&&{turnstile_token:c}}),{access_token:m,user:p}=f;return m&&this.setToken(m),{access_token:m,user:p}}catch(f){throw((d=f.response)===null||d===void 0?void 0:d.status)===401&&await this.logout(),f}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(i,a){return e.post(`/apps/${n}/users/invite-user`,{user_email:i,role:a})},register(i){return e.post(`/apps/${n}/auth/register`,i)},verifyOtp({email:i,otpCode:a}){return e.post(`/apps/${n}/auth/verify-otp`,{email:i,otp_code:a})},resendOtp(i){return e.post(`/apps/${n}/auth/resend-otp`,{email:i})},resetPasswordRequest(i){return e.post(`/apps/${n}/auth/reset-password-request`,{email:i})},resetPassword({resetToken:i,newPassword:a}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:i,new_password:a})},changePassword({userId:i,currentPassword:a,newPassword:c}){return e.post(`/apps/${n}/auth/change-password`,{user_id:i,current_password:a,new_password:c})}}}function bD(e,t,n){return{async getAccessToken(r){const i=`/apps/${t}/auth/sso/accesstoken/${r}`,a={};return n&&(a["on-behalf-of"]=`Bearer ${n}`),e.get(i,{headers:a})}}}
392function SD(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${n}`)).access_token}}}function _g(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 c=new URLSearchParams(window.location.search);if(a=c.get(n),a){if(r&&ND(a,{storageKey:t}),i){c.delete(n);const d=`${window.location.pathname}${c.toString()?`?${c.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}return a}}catch(c){console.error("Error retrieving token from URL:",c)}if(typeof window<"u"&&window.localStorage)try{return a=window.localStorage.getItem(t),a}catch(c){console.error("Error retrieving token from local storage:",c)}return null}function ND(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 qw(e,t){return{async invoke(n,r){if(typeof r=="string")throw new Error(`Function ${n} must receive an object with named parameters, received: ${r}`);let i,a;return r instanceof FormData||r&&Object.values(r).some(c=>c instanceof File)?(i=new FormData,Object.keys(r).forEach(c=>{r[c]instanceof File?i.append(c,r[c],r[c].name):typeof r[c]=="object"&&r[c]!==null?i.append(c,JSON.stringify(r[c])):i.append(c,r[c])}),a="multipart/form-data"):(i=r,a="application/json"),e.post(`/apps/${t}/functions/${n}`,i||r,{headers:{"Content-Type":a}})}}}function Kw({axios:e,getSocket:t,appId:n,serverUrl:r,token:i}){const a=`/apps/${n}/agents`,c={},d=()=>e.get(`${a}/conversations`),f=C=>e.get(`${a}/conversations/${C}`);return{getConversations:d,getConversation:f,listConversations:C=>e.get(`${a}/conversations`,{params:C}),createConversation:C=>e.post(`${a}/conversations`,C),addMessage:async(C,b)=>e.post(`${a}/conversations/v2/${C.id}/messages`,b),subscribeToConversation:(C,b)=>{const S=`/agent-conversations/${C}`,j=t(),P=f(C).then(k=>(c[C]=k,k));return j.subscribeToRoom(S,{connect:()=>{},update_model:async({data:k})=>{const T=JSON.parse(k);if(T._message){await P;const A=T._message,U=c[C];if(U){const F=U.messages||[],L=F.findIndex(K=>K.id===A.id),te=L!==-1?F.map((K,B)=>B===L?A:K):[...F,A];c[C]={...U,messages:te},b==null||b(c[C])}}}})},getWhatsAppConnectURL:C=>{const b=`${r}/api/apps/${n}/agents/${encodeURIComponent(C)}/whatsapp`,S=i??_g();return S?`${b}?token=${S}`:b}}}function Gw(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 CD(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 dr=Object.create(null);dr.open="0";dr.close="1";dr.ping="2";dr.pong="3";dr.message="4";dr.upgrade="5";dr.noop="6";const Du=Object.create(null);Object.keys(dr).forEach(e=>{Du[dr[e]]=e});const bp={type:"error",data:"parser error"},ON=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",DN=typeof ArrayBuffer=="function",IN=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Rg=({type:e,data:t},n,r)=>ON&&t instanceof Blob?n?r(t):Qw(t,r):DN&&(t instanceof ArrayBuffer||IN(t))?n?r(t):Qw(new Blob([t]),r):r(dr[e]+(t||"")),Qw=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Yw(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let xm;function jD(e,t){if(ON&&e.data instanceof Blob)return e.data.arrayBuffer().then(Yw).then(t);if(DN&&(e.data instanceof ArrayBuffer||IN(e.data)))return t(Yw(e.data));Rg(e,!1,n=>{xm||(xm=new TextEncoder),t(xm.encode(n))})}const Xw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
392+/",Xa=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Xw.length;e++)Xa[Xw.charCodeAt(e)]=e;const ED=e=>{let t=e.length*.75,n=e.length,r,i=0,a,c,d,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const m=new ArrayBuffer(t),p=new Uint8Array(m);for(r=0;r<n;r+=4)a=Xa[e.charCodeAt(r)],c=Xa[e.charCodeAt(r+1)],d=Xa[e.charCodeAt(r+2)],f=Xa[e.charCodeAt(r+3)],p[i++]=a<<2|c>>4,p[i++]=(c&15)<<4|d>>2,p[i++]=(d&3)<<6|f&63;return m},kD=typeof ArrayBuffer=="function",Ag=(e,t)=>{if(typeof e!="string")return{type:"message",data:LN(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:PD(e.substring(1),t)}:Du[n]?e.length>1?{type:Du[n],data:e.substring(1)}:{type:Du[n]}:bp},PD=(e,t)=>{if(kD){const n=ED(e);return LN(n,t)}else return{base64:!0,data:e}},LN=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},FN="�",TD=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((a,c)=>{Rg(a,!1,d=>{r[c]=d,++i===n&&t(r.join(FN))})})},_D=(e,t)=>{const n=e.split(FN),r=[];for(let i=0;i<n.length;i++){const a=Ag(n[i],t);if(r.push(a),a.type==="error")break}return r};function RD(){return new TransformStream({transform(e,t){jD(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 vm;function mu(e){return e.reduce((t,n)=>t+n.length,0)}function pu(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 AD(e,t){vm||(vm=new TextDecoder);const n=[];let r=0,i=-1,a=!1;return new TransformStream({transform(c,d){for(n.push(c);;){if(r===0){if(mu(n)<1)break;const f=pu(n,1);a=(f[0]&128)===128,i=f[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(mu(n)<2)break;const f=pu(n,2);i=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),r=3}else if(r===2){if(mu(n)<8)break;const f=pu(n,8),m=new DataView(f.buffer,f.byteOffset,f.length),p=m.getUint32(0);if(p>Math.pow(2,21)-1){d.enqueue(bp);break}i=p*Math.pow(2,32)+m.getUint32(4),r=3}else{if(mu(n)<i)break;const f=pu(n,i);d.enqueue(Ag(a?f:vm.decode(f),t)),r=0}if(i===0||i>e){d.enqueue(bp);break}}}})}const BN=4;function gt(e){if(e)return MD(e)}function MD(e){for(var t in gt.prototype)e[t]=gt.prototype[t];return e}gt.prototype.on=gt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};gt.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};gt.prototype.off=gt.prototype.removeListener=gt.prototype.removeAllListeners=gt.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};gt.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};gt.prototype.emitReserved=gt.prototype.emit;gt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};gt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ed=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),En=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),OD="arraybuffer";function VN(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const DD=En.setTimeout,ID=En.clearTimeout;function kd(e,t){t.useNativeTimers?(e.setTimeoutFn=DD.bind(En),e.clearTimeoutFn=ID.bind(En)):(e.setTimeoutFn=En.setTimeout.bind(En),e.clearTimeoutFn=En.clearTimeout.bind(En))}const LD=1.33;function FD(e){return typeof e=="string"?BD(e):Math.ceil((e.byteLength||e.size)*LD)}function BD(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 zN(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function VD(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function zD(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let a=n[r].split("=");
vendor: 33,861 bytes, line 392
392t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}class UD extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Mg extends gt{constructor(t){super(),this.writable=!1,kd(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 UD(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=Ag(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&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=VD(t);return n.length?"?"+n:""}}class $D extends Mg{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)};_D(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,TD(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]=zN()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let UN=!1;try{UN=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const HD=UN;function WD(){}class qD extends $D{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 ar extends gt{constructor(t,n,r){super(),this.createRequest=t,kd(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=VN(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=ar.requestsCount++,ar.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=WD,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ar.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()}}ar.requestsCount=0;ar.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Jw);else if(typeof addEventListener=="function"){const e="onpagehide"in En?"pagehide":"unload";addEventListener(e,Jw,!1)}}function Jw(){for(let e in ar.requests)ar.requests.hasOwnProperty(e)&&ar.requests[e].abort()}const KD=(function(){const e=$N({xdomain:!1});return e&&e.responseType!==null})();class GD extends qD{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=KD&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new ar($N,this.uri(),t)}}function $N(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||HD))return new XMLHttpRequest}catch{}if(!t)try{return new En[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const HN=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class QD extends Mg{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=HN?{}:VN(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)}this.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;Rg(r,this.supportsBinary,a=>{try{this.doWrite(r,a)}catch{}i&&Ed(()=>{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]=zN()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const wm=En.WebSocket||En.MozWebSocket;class YD extends QD{createSocket(t,n,r){return HN?new wm(t,n,r):n?new wm(t,n):new wm(t)}doWrite(t,n){this.ws.send(n)}}class XD extends Mg{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=AD(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=RD();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const a=()=>{r.read().then(({done:d,value:f})=>{d||(this.onPacket(f),a())}).catch(d=>{})};a();const c={type:"open"};this.query.sid&&(c.data=`{"sid":"${this.query.sid}"}`),this._writer.write(c).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&Ed(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const JD={websocket:YD,webtransport:XD,polling:GD},ZD=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,eI=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Sp(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=ZD.exec(e||""),a={},c=14;for(;c--;)a[eI[c]]=i[c]||"";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=tI(a,a.path),a.queryKey=nI(a,a.query),a}function tI(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 nI(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,a){i&&(n[i]=a)}),n}const Np=typeof addEventListener=="function"&&typeof removeEventListener=="function",Iu=[];Np&&addEventListener("offline",()=>{Iu.forEach(e=>e())},!1);class Ps extends gt{constructor(t,n){if(super(),this.binaryType=OD,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=Sp(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=Sp(n.host).host);kd(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=zD(this.opts.query)),Np&&(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"})},Iu.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=BN,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&&Ps.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",Ps.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+=FD(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,Ed(()=>{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(Ps.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(),Np&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Iu.indexOf(this._offlineEventListener);r!==-1&&Iu.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}Ps.protocol=BN;class rI extends Ps{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;Ps.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!r)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Ps.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(p(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=n.name,this.emitReserved("upgradeError",v)}}))};function a(){r||(r=!0,p(),n.close(),n=null)}const c=g=>{const v=new Error("probe error: "+g);v.transport=n.name,a(),this.emitReserved("upgradeError",v)};function d(){c("transport closed")}function f(){c("socket closed")}function m(g){n&&g.name!==n.name&&a()}const p=()=>{n.removeListener("open",i),n.removeListener("error",c),n.removeListener("close",d),this.off("close",f),this.off("upgrading",m)};n.once("open",i),n.once("error",c),n.once("close",d),this.once("close",f),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{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 sI=class extends rI{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>JD[i]).filter(i=>!!i)),super(t,r)}};function iI(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=Sp(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 oI=typeof ArrayBuffer=="function",aI=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,WN=Object.prototype.toString,lI=typeof Blob=="function"||typeof Blob<"u"&&WN.call(Blob)==="[object BlobConstructor]",cI=typeof File=="function"||typeof File<"u"&&WN.call(File)==="[object FileConstructor]";function Og(e){return oI&&(e instanceof ArrayBuffer||aI(e))||lI&&e instanceof Blob||cI&&e instanceof File}function Lu(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Lu(e[n]))return!0;return!1}if(Og(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Lu(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Lu(e[n]))return!0;return!1}function uI(e){const t=[],n=e.data,r=e;return r.data=Cp(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Cp(e,t){if(!e)return e;if(Og(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]=Cp(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]=Cp(e[r],t));return n}return e}function dI(e,t){return e.data=jp(e.data,t),delete e.attachments,e}function jp(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]=jp(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=jp(e[n],t));return e}const fI=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],hI=5;var Ue;(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"})(Ue||(Ue={}));class mI{constructor(t){this.replacer=t}encode(t){return(t.type===Ue.EVENT||t.type===Ue.ACK)&&Lu(t)?this.encodeAsBinary({type:t.type===Ue.EVENT?Ue.BINARY_EVENT:Ue.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===Ue.BINARY_EVENT||t.type===Ue.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=uI(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function Zw(e){return Object.prototype.toString.call(e)==="[object Object]"}class Dg extends gt{constructor(t){super(),this.reviver=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===Ue.BINARY_EVENT;r||n.type===Ue.BINARY_ACK?(n.type=r?Ue.EVENT:Ue.ACK,this.reconstructor=new pI(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Og(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(Ue[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===Ue.BINARY_EVENT||r.type===Ue.BINARY_ACK){const a=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const c=t.substring(a,n);if(c!=Number(c)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(c)}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 c=t.charAt(n);if(c==null||Number(c)!=c){--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(Dg.isPayloadValid(r.type,a))r.data=a;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case Ue.CONNECT:return Zw(n);case Ue.DISCONNECT:return n===void 0;case Ue.CONNECT_ERROR:return typeof n=="string"||Zw(n);case Ue.EVENT:case Ue.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&fI.indexOf(n[0])===-1);case Ue.ACK:case Ue.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class pI{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=dI(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const gI=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Dg,Encoder:mI,get PacketType(){return Ue},protocol:hI},Symbol.toStringTag,{value:"Module"}));function Un(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const yI=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class qN extends gt{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=[Un(t,"open",this.onopen.bind(this)),Un(t,"packet",this.onpacket.bind(this)),Un(t,"error",this.onerror.bind(this)),Un(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(yI.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const c={type:Ue.EVENT,data:n};if(c.options={},c.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const p=this.ids++,g=n.pop();this._registerAckCallback(p,g),c.id=p}const d=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,f=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!d||(f?(this.notifyOutgoingListeners(c),this.packet(c)):this.sendBuffer.push(c)),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 d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===t&&this.sendBuffer.splice(d,1);n.call(this,new Error("operation has timed out"))},i),c=(...d)=>{this.io.clearTimeoutFn(a),n.apply(this,d)};c.withError=!0,this.acks[t]=c}emitWithAck(t,...n){return new Promise((r,i)=>{const a=(c,d)=>c?i(c):r(d);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)=>r!==this._queue[0]?void 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:Ue.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()}_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 Ue.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 Ue.EVENT:case Ue.BINARY_EVENT:this.onevent(t);break;case Ue.ACK:case Ue.BINARY_ACK:this.onack(t);break;case Ue.DISCONNECT:this.ondisconnect();break;case Ue.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:Ue.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.emitReserved("connect"),this._drainQueue(!0)}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:Ue.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 Go(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}Go.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};Go.prototype.reset=function(){this.attempts=0};Go.prototype.setMin=function(e){this.ms=e};Go.prototype.setMax=function(e){this.max=e};Go.prototype.setJitter=function(e){this.jitter=e};class Ep extends gt{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,kd(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 Go({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||gI;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 sI(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Un(n,"open",function(){r.onopen(),t&&t()}),a=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),t?t(d):this.maybeReconnectOnOpen()},c=Un(n,"error",a);if(this._timeout!==!1){const d=this._timeout,f=this.setTimeoutFn(()=>{i(),a(new Error("timeout")),n.close()},d);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(i),this.subs.push(c),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Un(t,"ping",this.onping.bind(this)),Un(t,"data",this.ondata.bind(this)),Un(t,"error",this.onerror.bind(this)),Un(t,"close",this.onclose.bind(this)),Un(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){Ed(()=>{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 qN(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)}
392cleanup(){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 $a={};function Fu(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=iI(e,t.path||"/socket.io"),r=n.source,i=n.id,a=n.path,c=$a[i]&&a in $a[i].nsps,d=t.forceNew||t["force new connection"]||t.multiplex===!1||c;let f;return d?f=new Ep(r,t):($a[i]||($a[i]=new Ep(r,t)),f=$a[i]),n.query&&!t.query&&(t.query=n.queryKey),f.socket(n.path,t)}Object.assign(Fu,{Manager:Ep,Socket:qN,io:Fu,connect:Fu});function eb(e,t){var n;const r=Fu(e.serverUrl,{path:e.mountPath,transports:e.transports,query:{app_id:e.appId,token:(n=e.token)!==null&&n!==void 0?n:_g()}});return r.on("connect",async()=>{var i;return console.log("connect",r.id),(i=t.connect)===null||i===void 0?void 0:i.call(t)}),r.on("update_model",async i=>{var a;return(a=t.update_model)===null||a===void 0?void 0:a.call(t,i)}),r.on("error",async i=>{var a;return(a=t.error)===null||a===void 0?void 0:a.call(t,i)}),r.on("connect_error",async i=>{var a;return console.error("connect_error",i),(a=t.error)===null||a===void 0?void 0:a.call(t,i)}),r}function xI({config:e}){let t={...e};const n={},r={connect:async()=>{const N=[];Object.keys(n).forEach(C=>{f(C);const b=g(C);b==null||b.forEach(({connect:S})=>{const j=async()=>S==null?void 0:S();N.push(j())})}),await Promise.all(N)},update_model:async N=>{const b=g(N.room).map(S=>{var j;return(j=S.update_model)===null||j===void 0?void 0:j.call(S,N)});await Promise.all(b)},error:async N=>{console.error("error",N);const C=Object.values(n).flat().map(b=>{var S;return(S=b.error)===null||S===void 0?void 0:S.call(b,N)});await Promise.all(C)}};let i=eb(e,r);function a(){c()}function c(){i&&i.disconnect()}function d(N){a(),t={...t,...N},i=eb(t,r)}function f(N){i.emit("join",N)}function m(N){i.emit("leave",N)}async function p(N,C){var b;const S=JSON.stringify(C);return(b=r.update_model)===null||b===void 0?void 0:b.call(r,{room:N,data:S})}function g(N){return n[N]}return{socket:i,subscribeToRoom:(N,C)=>(n[N]||(f(N),n[N]=[]),n[N].push(C),()=>{var b,S;n[N]=(S=(b=n[N])===null||b===void 0?void 0:b.filter(j=>j!==C))!==null&&S!==void 0?S:[],n[N].length===0&&m(N)}),updateConfig:d,updateModel:p,disconnect:c}}const Ha=typeof window<"u"?window:{base44SharedInstances:{}};function vI(e,t){return Ha.base44SharedInstances||(Ha.base44SharedInstances={}),Ha.base44SharedInstances[e]||(Ha.base44SharedInstances[e]={instance:t()}),Ha.base44SharedInstances[e].instance}const wI="__user_heartbeat_event__",bI="__initialization_event__",SI="__session_duration_event__",tb="analytics-enable",nb="base44_analytics_session_id",NI={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},CI="analytics",Xe=vI(CI,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...NI,...AI()}})),jI=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:r})=>{var i;const{maxQueueSize:a,throttleTime:c,batchSize:d}=Xe.config;if(!(!((i=Xe.config)===null||i===void 0)&&i.enabled))return{track:()=>{},cleanup:()=>{}};let f;const m=`${t}/api/apps/${n}/analytics/track/batch`,p=async k=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:k}})},g=k=>{try{const T=JSON.stringify({events:k}),A=new Blob([T],{type:"application/json"});return typeof navigator>"u"||T.length>6e4||!navigator.sendBeacon(m,A)}catch{return!1}},v=async(k,T={})=>
392{if(k.length===0)return;const A=await RI(r),U=k.map(_I(A));try{(!T.isBeacon||!g(U))&&await p(U)}catch{}},N=()=>{sb(v,{throttleTime:c,batchSize:d})},C=k=>{if(Xe.requestsQueue.length>=a)return;const T=TI();Xe.requestsQueue.push({...k,...T}),N()},b=()=>{sb(v,{throttleTime:c,batchSize:d}),f=ib(C),kI()},S=()=>{rb(),f==null||f(),PI(C);const k=Xe.requestsQueue.splice(0);v(k,{isBeacon:!0})},j=()=>{typeof window>"u"||(document.visibilityState==="hidden"?S():document.visibilityState==="visible"&&b())},P=()=>{rb(),f==null||f(),typeof window<"u"&&window.removeEventListener("visibilitychange",j)};return N(),f=ib(C),EI(C),typeof window<"u"&&window.addEventListener("visibilitychange",j),{track:C,cleanup:P}};function rb(){Xe.isProcessing=!1}async function sb(e,t){if(Xe.isProcessing)return;Xe.isProcessing=!0;const{throttleTime:n=1e3,batchSize:r=30}=t??{};for(;Xe.isProcessing&&Xe.requestsQueue.length>0;){const i=Xe.requestsQueue.splice(0,r);i.length&&await e(i),await new Promise(a=>setTimeout(a,n))}Xe.isProcessing=!1}function ib(e){var t;if(Xe.isHeartBeatProcessing||((t=Xe.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Xe.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:wI})},Xe.config.heartBeatInterval);return()=>{clearInterval(n),Xe.isHeartBeatProcessing=!1}}function EI(e){typeof window>"u"||Xe.wasInitializationTracked||(Xe.wasInitializationTracked=!0,e({eventName:bI,properties:{referrer:document==null?void 0:document.referrer}}))}function kI(){typeof window>"u"||Xe.sessionStartTime!==null||(Xe.sessionStartTime=new Date().toISOString())}function PI(e){if(typeof window>"u"||Xe.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Xe.sessionStartTime).getTime();Xe.sessionStartTime=null,e({eventName:SI,properties:{sessionDuration:t}})}function TI(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function _I(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let bm=null;async function RI(e){if(!Xe.sessionContext){if(!bm){const t=MI();bm=e.me().then(n=>({user_id:n.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Xe.sessionContext=await bm}return Xe.sessionContext}function AI(){if(typeof window>"u")return;const t=new URLSearchParams(window.location.search).get(tb);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(tb);const r=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",r),{enabled:t==="true"}}function MI(){if(typeof window>"u")return gm();try{const e=localStorage.getItem(nb);if(!e){const t=gm();return localStorage.setItem(nb,t),t}return e}catch{return gm()}}function OI(e){const{serverUrl:t="https://base44.app",appId:n,token:r,serviceToken:i,requiresAuth:a=!1,appBaseUrl:c,options:d,functionsVersion:f,headers:m}=e,p={serverUrl:t,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:n,token:r};let g=null;const v=()=>(g||(g=xI({config:p})),g),N={...m,"X-App-Id":String(n)},C=f?{...N,"Base44-Functions-Version":f}:N,b=Ya({baseURL:`${t}/api`,headers:N,token:r,onError:d==null?void 0:d.onError}),S=Ya({baseURL:`${t}/api`,headers:C,token:r,interceptResponses:!1,onError:d==null?void 0:d.onError}),j=Ya({baseURL:`${t}/api`,headers:N,token:i,onError:d==null?void 0:d.onError}),P=Ya({baseURL:`${t}/api`,headers:C,token:i,interceptResponses:!1}),k=wD(b,S,n,{appBaseUrl:c,serverUrl:t}),T={entities:Hw({axios:b,appId:n,getSocket:v}),integrations:Ww(b,n),auth:k,functions:qw(S,n),agents:Kw({axios:b,getSocket:v,appId:n,serverUrl:t,token:r}),appLogs:Gw(b,n),users:CD(b,n),analytics:jI({axiosClient:b,serverUrl:t,appId:n,userAuthModule:k}),cleanup:()=>{T.analytics.cleanup(),g&&g.disconnect()}},A={entities:Hw({axios:j,appId:n,getSocket:v}),integrations:Ww(j,n),sso:bD(j,n,r),connectors:SD(j,n),functions:qw(P,n),agents:Kw({axios:j,getSocket:v,appId:n,serverUrl:t,token:r}),appLogs:Gw(j,n),cleanup:()=>{g&&g.disconnect()}};if(typeof window<"u"){const F=r||_g();F&&T.auth.setToken(F)}return a&&typeof window<"u"&&setTimeout(async()=>{try{await T.auth.isAuthenticated()||T.auth.redirectToLogin(window.location.href)}catch(F){console.error("Authentication check failed:",F),T.auth.redirectToLogin(window.location.href)}},0),{...T,setToken(F){T.auth.setToken(F),g&&g.updateConfig({token:F}),p.token=F},getConfig(){return{serverUrl:t,appId:n,requiresAuth:a}},get asServiceRole(){if(!i)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return A}}}const KN=typeof window>"u",DI=KN?{localStorage:new Map}:window,il=DI.localStorage,II=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Wa=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>
392{if(KN)return t;const r=`base44_${II(e)}`,i=new URLSearchParams(window.location.search),a=i.get(e);if(n){i.delete(e);const d=`${window.location.pathname}${i.toString()?`?${i.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}if(a)return il.setItem(r,a),a;if(t)return il.setItem(r,t),t;const c=il.getItem(r);return c||null},LI=()=>(Wa("clear_access_token")==="true"&&(il.removeItem("base44_access_token"),il.removeItem("token")),{appId:Wa("app_id",{defaultValue:"694c6befaf9cde1683ade5e5"}),token:Wa("access_token",{removeFromUrl:!0}),fromUrl:Wa("from_url",{defaultValue:window.location.href}),functionsVersion:Wa("functions_version",{defaultValue:"prod"})}),Ja={...LI()},{appId:FI,token:BI,functionsVersion:VI}=Ja,Fe=OI({appId:FI,token:BI,functionsVersion:VI,serverUrl:"",requiresAuth:!1}),GN=x.createContext(),zI=({children:e})=>{const[t,n]=x.useState(null),[r,i]=x.useState(!1),[a,c]=x.useState(!0),[d,f]=x.useState(!0),[m,p]=x.useState(null),[g,v]=x.useState(null);x.useEffect(()=>{N()},[]);const N=async()=>{var j,P;try{f(!0),p(null);const k=Ya({baseURL:"/api/apps/public",headers:{"X-App-Id":Ja.appId},token:Ja.token,interceptResponses:!0});try{const T=await k.get(`/prod/public-settings/by-id/${Ja.appId}`);v(T),Ja.token?await C():(c(!1),i(!1)),f(!1)}catch(T){if(console.error("App state check failed:",T),T.status===403&&((P=(j=T.data)==null?void 0:j.extra_data)!=null&&P.reason)){const A=T.data.extra_data.reason;p(A==="auth_required"?{type:"auth_required",message:"Authentication required"}:A==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:A,message:T.message})}else p({type:"unknown",message:T.message||"Failed to load app"});f(!1),c(!1)}}catch(k){console.error("Unexpected error:",k),p({type:"unknown",message:k.message||"An unexpected error occurred"}),f(!1),c(!1)}},C=async()=>{try{c(!0);const j=await Fe.auth.me();n(j),i(!0),c(!1)}catch(j){console.error("User auth check failed:",j),c(!1),i(!1),(j.status===401||j.status===403)&&p({type:"auth_required",message:"Authentication required"})}},b=(j=!0)=>{n(null),i(!1),j?Fe.auth.logout(window.location.href):Fe.auth.logout()},S=()=>{Fe.auth.redirectToLogin(window.location.href)};return l.jsx(GN.Provider,{value:{user:t,isAuthenticated:r,isLoadingAuth:a,isLoadingPublicSettings:d,authError:m,appPublicSettings:g,logout:b,navigateToLogin:S,checkAppState:N},children:e})},QN=()=>{const e=x.useContext(GN);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e};function Qe(e){return"/"+e.replace(/ /g,"-")}const YN=x.createContext(),Ye=()=>{const e=x.useContext(YN);if(!e)throw new Error("useLanguage must be used within LanguageProvider");return e},UI=({children:e})=>{const[t,n]=x.useState(()=>typeof window<"u"&&localStorage.getItem("glp_language")||"el");x.useEffect(()=>{localStorage.setItem("glp_language",t),document.documentElement.lang=t},[t]);const r=(a,c)=>typeof a=="object"&&a!==null?t==="el"?a.el:a.en||a.el:t==="el"?a:c||a,i=()=>{n(a=>a==="el"?"en":"el")};return l.jsx(YN.Provider,{value:{language:t,setLanguage:n,toggleLanguage:i,t:r},children:e})};function ob(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Pd(...e){return t=>{let n=!1;const r=e.map(i=>{const a=ob(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():ob(e[i],null)}}}}function Ie(...e){return x.useCallback(Pd(...e),e)}function Ci(e){const t=HI(e),n=x.forwardRef((r,i)=>{const{children:a,...c}=r,d=x.Children.toArray(a),f=d.find(qI);if(f){const m=f.props.children,p=d.map(g=>g===f?x.Children.count(m)>1?x.Children.only(null):x.isValidElement(m)?m.props.children:null:g);return l.jsx(t,{...c,ref:i,children:x.isValidElement(m)?x.cloneElement(m,void 0,p):null})}return l.jsx(t,{...c,ref:i,children:a})});return n.displayName=`${e}.Slot`,n}var $I=Ci("Slot");function HI(e){const t=x.forwardRef((n,r)=>{const{children:i,...a}=n;if(x.isValidElement(i)){const c=GI(i),d=KI(a,i.props);return i.type!==x.Fragment&&(d.ref=r?Pd(r,c):c),x.cloneElement(i,d)}return x.Children.count(i)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var XN=Symbol("radix.slottable");function WI(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=XN,t}function qI(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===XN}function KI(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]=(...d)=>{const f=a(...d);return i(...d),f}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}
vendor: 21,669 bytes, line 392
392:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function GI(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 QI=_l("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"}}),Te=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},a)=>{const c=r?$I:"button";return l.jsx(c,{className:Se(QI({variant:t,size:n,className:e})),ref:a,...i})});Te.displayName="Button";const pt=x.forwardRef(({className:e,type:t,...n},r)=>l.jsx("input",{type:t,className:Se("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}));pt.displayName="Input";var YI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ke=YI.reduce((e,t)=>{const n=Ci(`Primitive.${t}`),r=x.forwardRef((i,a)=>{const{asChild:c,...d}=i,f=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(f,{...d,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function JN(e,t){e&&Ml.flushSync(()=>e.dispatchEvent(t))}var XI="Label",ZN=x.forwardRef((e,t)=>l.jsx(ke.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));ZN.displayName=XI;var eC=ZN;const JI=_l("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),We=x.forwardRef(({className:e,...t},n)=>l.jsx(eC,{ref:n,className:Se(JI(),e),...t}));We.displayName=eC.displayName;const Bl=x.forwardRef(({className:e,...t},n)=>l.jsx("textarea",{className:Se("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}));Bl.displayName="Textarea";function ZI(e,t){const n=x.createContext(t),r=a=>{const{children:c,...d}=a,f=x.useMemo(()=>d,Object.values(d));return l.jsx(n.Provider,{value:f,children:c})};r.displayName=e+"Provider";function i(a){const c=x.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,i]}function Tn(e,t=[]){let n=[];function r(a,c){const d=x.createContext(c),f=n.length;n=[...n,c];const m=g=>{var j;const{scope:v,children:N,...C}=g,b=((j=v==null?void 0:v[e])==null?void 0:j[f])||d,S=x.useMemo(()=>C,Object.values(C));return l.jsx(b.Provider,{value:S,children:N})};m.displayName=a+"Provider";function p(g,v){var b;const N=((b=v==null?void 0:v[e])==null?void 0:b[f])||d,C=x.useContext(N);if(C)return C;if(c!==void 0)return c;throw new Error(`\`${g}\` must be used within \`${a}\``)}return[m,p]}const i=()=>{const a=n.map(c=>x.createContext(c));return function(d){const f=(d==null?void 0:d[e])||a;return x.useMemo(()=>({[`__scope${e}`]:{...d,[e]:f}}),[d,f])}};return i.scopeName=e,[r,eL(i,...t)]}function eL(...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 c=r.reduce((d,{useScope:f,scopeName:m})=>{const g=f(a)[`__scope${m}`];return{...d,...g}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}var Ut=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},tL=ug[" useInsertionEffect ".trim().toString()]||Ut;function fr({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,a,c]=nL({defaultProp:t,onChange:n}),d=e!==void 0,f=d?e:i;{const p=x.useRef(e!==void 0);x.useEffect(()=>{const g=p.current;g!==d&&console.warn(`${r} is changing from ${g?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=d},[d,r])}const m=x.useCallback(p=>{var g;if(d){const v=rL(p)?p(e):p;v!==e&&((g=c.current)==null||g.call(c,v))}else a(p)},[d,e,a,c]);return[f,m]}function nL({defaultProp:e,onChange:t}){const[n,r]=x.useState(e),i=x.useRef(n),a=x.useRef(t);return tL(()=>{a.current=t},[t]),x.useEffect(()=>{var c;i.current!==n&&((c=a.current)==null||c.call(a,n),i.current=n)},[n,i]),[n,r,a]}function rL(e){return typeof e=="function"}function Td(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function _d(e){const[t,n]=x.useState(void 0);return Ut(()=>{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 c,d;if("borderBoxSize"in a){const f=a.borderBoxSize,m=Array.isArray(f)?f[0]:f;c=m.inlineSize,d=m.blockSize}else c=e.offsetWidth,d=e.offsetHeight;n({width:c,height:d})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}function sL(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var _n=e=>{const{present:t,children:n}=e,r=iL(t),i=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),a=Ie(r.ref,oL(i));return typeof n=="function"||r.isPresent?x.cloneElement(i,{ref:a}):null};_n.displayName="Presence";function iL(e){const[t,n]=x.useState(),r=x.useRef(null),i=x.useRef(e),a=x.useRef("none"),c=e?"mounted":"unmounted",[d,f]=sL(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const m=gu(r.current);a.current=d==="mounted"?m:"none"},[d]),Ut(()=>{const m=r.current,p=i.current;if(p!==e){const v=a.current,N=gu(m);e?f("MOUNT"):N==="none"||(m==null?void 0:m.display)==="none"?f("UNMOUNT"):f(p&&v!==N?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,f]),Ut(()=>{if(t){let m;const p=t.ownerDocument.defaultView??window,g=N=>{const b=gu(r.current).includes(CSS.escape(N.animationName));if(N.target===t&&b&&(f("ANIMATION_END"),!i.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",m=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},v=N=>{N.target===t&&(a.current=gu(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",g),t.addEventListener("animationend",g),()=>{p.clearTimeout(m),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",g),t.removeEventListener("animationend",g)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:x.useCallback(m=>{r.current=m?getComputedStyle(m):null,n(m)},[])}}function gu(e){return(e==null?void 0:e.animationName)||"none"}function oL(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 Rd="Checkbox",[aL]=Tn(Rd),[lL,Ig]=aL(Rd);function cL(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:a,form:c,name:d,onCheckedChange:f,required:m,value:p="on",internal_do_not_use_render:g}=e,[v,N]=fr({prop:n,defaultProp:i??!1,onChange:f,caller:Rd}),[C,b]=x.useState(null),[S,j]=x.useState(null),P=x.useRef(!1),k=C?!!c||!!C.closest("form"):!0,T={checked:v,disabled:a,setChecked:N,control:C,setControl:b,name:d,form:c,value:p,hasConsumerStoppedPropagationRef:P,required:m,defaultChecked:Ts(i)?!1:i,isFormControl:k,bubbleInput:S,setBubbleInput:j};return l.jsx(lL,{scope:t,...T,children:uL(g)?g(T):r})}var tC="CheckboxTrigger",nC=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{const{control:a,value:c,disabled:d,checked:f,required:m,setControl:p,setChecked:g,hasConsumerStoppedPropagationRef:v,isFormControl:N,bubbleInput:C}=Ig(tC,e),b=Ie(i,p),S=x.useRef(f);return x.useEffect(()=>{const j=a==null?void 0:a.form;if(j){const P=()=>g(S.current);return j.addEventListener("reset",P),()=>j.removeEventListener("reset",P)}},[a,g]),l.jsx(ke.button,{type:"button",role:"checkbox","aria-checked":Ts(f)?"mixed":f,"aria-required":m,"data-state":aC(f),"data-disabled":d?"":void 0,disabled:d,value:c,...r,ref:b,onKeyDown:ie(t,j=>{j.key==="Enter"&&j.preventDefault()}),onClick:ie(n,j=>{g(P=>Ts(P)?!0:!P),C&&N&&(v.current=j.isPropagationStopped(),v.current||j.stopPropagation())})})});nC.displayName=tC;var Lg=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:i,defaultChecked:a,required:c,disabled:d,value:f,onCheckedChange:m,form:p,...g}=e;return l.jsx(cL,{__scopeCheckbox:n,checked:i,defaultChecked:a,disabled:d,required:c,onCheckedChange:m,name:r,form:p,value:f,internal_do_not_use_render:({isFormControl:v})=>l.jsxs(l.Fragment,{children:[l.jsx(nC,{...g,ref:t,__scopeCheckbox:n}),v&&l.jsx(oC,{__scopeCheckbox:n})]})})});Lg.displayName=Rd;var rC="CheckboxIndicator",sC=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...i}=e,a=Ig(rC,n);return l.jsx(_n,{present:r||Ts(a.checked)||a.checked===!0,children:l.jsx(ke.span,{"data-state":aC(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});sC.displayName=rC;var iC="CheckboxBubbleInput",oC=x.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:c,required:d,disabled:f,name:m,value:p,form:g,bubbleInput:v,setBubbleInput:N}=Ig(iC,e),C=Ie(n,N),b=Td(a),S=_d(r);x.useEffect(()=>{const P=v;if(!P)return;const k=window.HTMLInputElement.prototype,A=Object.getOwnPropertyDescriptor(k,"checked").set,U=!i.current;if(b!==a&&A){const F=new Event("click",{bubbles:U});P.indeterminate=Ts(a),A.call(P,Ts(a)?!1:a),P.dispatchEvent(F)}},[v,b,a,i]);const j=x.useRef(Ts(a)?!1:a);return l.jsx(ke.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??j.current,required:d,disabled:f,name:m,value:p,form:g,...t,tabIndex:-1,ref:C,style:{...t.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});oC.displayName=iC;function uL(e){return typeof e=="function"}function Ts(e){return e==="indeterminate"}function aC(e){return Ts(e)?"indeterminate":e?"checked":"unchecked"}const ji=x.forwardRef(({className:e,...t},n)=>l.jsx(Lg,{ref:n,className:Se("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:l.jsx(sC,{className:Se("flex items-center justify-center text-current"),children:l.jsx(Lr,{className:"h-4 w-4"})})}));ji.displayName=Lg.displayName;var dL=ug[" useId ".trim().toString()]||(()=>{}),fL=0;function $n(e){const[t,n]=x.useState(dL());return Ut(()=>{n(r=>r??String(fL++))},[e]),t?`radix-${t}`:""}function hr(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function hL(e,t=globalThis==null?void 0:globalThis.document){const n=hr(e);x.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 mL="DismissableLayer",kp="dismissableLayer.update",pL="dismissableLayer.pointerDownOutside",gL="dismissableLayer.focusOutside",ab,lC=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vl=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:c,onDismiss:d,...f}=e,m=x.useContext(lC),[p,g]=x.useState(null),v=(p==null?void 0:p.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=x.useState({}),C=Ie(t,F=>g(F)),b=Array.from(m.layers),[S]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),j=b.indexOf(S),P=p?b.indexOf(p):-1,k=m.layersWithOutsidePointerEventsDisabled.size>0,T=P>=j,A=vL(F=>{const L=F.target,te=[...m.branches].some(K=>K.contains(L));!T||te||(i==null||i(F),c==null||c(F),F.defaultPrevented||d==null||d())},v),U=wL(F=>{const L=F.target;[...m.branches].some(K=>K.contains(L))||(a==null||a(F),c==null||c(F),F.defaultPrevented||d==null||d())},v);return hL(F=>{P===m.layers.size-1&&(r==null||r(F),!F.defaultPrevented&&d&&(F.preventDefault(),d()))},v),x.useEffect(()=>{if(p)return n&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(ab=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),lb(),()=>{n&&m.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=ab)}},[p,v,n,m]),x.useEffect(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),lb())},[p,m]),x.useEffect(()=>{const F=()=>N({});return document.addEventListener(kp,F),()=>document.removeEventListener(kp,F)},[]),l.jsx(ke.div,{...f,ref:C,style:{pointerEvents:k?T?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,U.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,A.onPointerDownCapture)})});Vl.displayName=mL;var yL="DismissableLayerBranch",xL=x.forwardRef((e,t)=>{const n=x.useContext(lC),r=x.useRef(null),i=Ie(t,r);return x.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),l.jsx(ke.div,{...e,ref:i})});xL.displayName=yL;function vL(e,t=globalThis==null?void 0:globalThis.document){const n=hr(e),r=x.useRef(!1),i=x.useRef(()=>{});return x.useEffect(()=>{const a=d=>{if(d.target&&!r.current){let f=function(){cC(pL,n,m,{discrete:!0})};const m={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=f,t.addEventListener("click",i.current,{once:!0})):f()}else t.removeEventListener("click",i.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function wL(e,t=globalThis==null?void 0:globalThis.document){const n=hr(e),r=x.useRef(!1);return x.useEffect(()=>{const i=a=>{a.target&&!r.current&&cC(gL,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 lb(){const e=new CustomEvent(kp);document.dispatchEvent(e)}function cC(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?JN(i,a):i.dispatchEvent(a)}var Sm="focusScope.autoFocusOnMount",Nm="focusScope.autoFocusOnUnmount",cb={bubbles:!1,cancelable:!0},bL="FocusScope",Ad=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...c}=e,[d,f]=x.useState(null),m=hr(i),p=hr(a),g=x.useRef(null),v=Ie(t,b=>f(b)),N=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let b=function(k){if(N.paused||!d)return;const T=k.target;d.contains(T)?g.current=T:ms(g.current,{select:!0})},S=function(k){if(N.paused||!d)return;const T=k.relatedTarget;T!==null&&(d.contains(T)||ms(g.current,{select:!0}))},j=function(k){if(document.activeElement===document.body)for(const A of k)A.removedNodes.length>0&&ms(d)};document.addEventListener("focusin",b),document.addEventListener("focusout",S);const P=new MutationObserver(j);return d&&P.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",S),P.disconnect()}}},[r,d,N.paused]),x.useEffect(()=>{if(d){db.add(N);const b=document.activeElement;if(!d.contains(b)){const j=new CustomEvent(Sm,cb);d.addEventListener(Sm,m),d.dispatchEvent(j),j.defaultPrevented||(SL(kL(uC(d)),{select:!0}),document.activeElement===b&&ms(d))}return()=>{d.removeEventListener(Sm,m),setTimeout(()=>{const j=new CustomEvent(Nm,cb);d.addEventListener(Nm,p),d.dispatchEvent(j),j.defaultPrevented||ms(b??document.body,{select:!0}),d.removeEventListener(Nm,p),db.remove(N)},0)}}},[d,m,p,N]);const C=x.useCallback(b=>{if(!n&&!r||N.paused)return;const S=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,j=document.activeElement;if(S&&j){const P=b.currentTarget,[k,T]=NL(P);k&&T?!b.shiftKey&&j===T?(b.preventDefault(),n&&ms(k,{select:!0})):b.shiftKey&&j===k&&(b.preventDefault(),n&&ms(T,{select:!0})):j===P&&b.preventDefault()}},[n,r,N.paused]);return l.jsx(ke.div,{tabIndex:-1,...c,ref:v,onKeyDown:C})});Ad.displayName=bL;function SL(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ms(r,{select:t}),document.activeElement!==n)return}function NL(e){const t=uC(e),n=ub(t,e),r=ub(t.reverse(),e);return[n,r]}function uC(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 ub(e,t){for(const n of e)if(!CL(n,{upTo:t}))return n}function CL(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 jL(e){return e instanceof HTMLInputElement&&"select"in e}function ms(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&jL(e)&&t&&e.select()}}var db=EL();function EL(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=fb(e,t),e.unshift(t)},remove(t){var n;e=fb(e,t),(n=e[0])==null||n.resume()}}}function fb(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function kL(e){return e.filter(t=>t.tagName!=="A")}var PL="Portal",zl=x.forwardRef((e,t)=>{var d;const{container:n,...r}=e,[i,a]=x.useState(!1);Ut(()=>a(!0),[]);const c=n||i&&((d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body);return c?A4.createPortal(l.jsx(ke.div,{...r,ref:t}),c):null});zl.displayName=PL;var Cm=0;function Fg(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??hb()),document.body.insertAdjacentElement("beforeend",e[1]??hb()),Cm++,()=>{Cm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Cm--}},[])}function hb(){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 sr=function(){return sr=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},sr.apply(this,arguments)};function dC(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 TL(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 Bu="right-scroll-bar-position",Vu="width-before-scroll-bar",_L="with-scroll-bars-hidden",RL="--removed-body-scroll-bar-size";function jm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function AL(e,t){var n=x.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 ML=typeof window<"u"?x.useLayoutEffect:x.useEffect,mb=new WeakMap;function OL(e,t){var n=AL(null,function(r){return e.forEach(function(i){return jm(i,r)})});return ML(function(){var r=mb.get(n);if(r){var i=new Set(r),a=new Set(e),c=n.current;
vendor: 4,196 bytes, lines 392-407
392i.forEach(function(d){a.has(d)||jm(d,null)}),a.forEach(function(d){i.has(d)||jm(d,c)})}mb.set(n,e)},[e]),n}function DL(e){return e}function IL(e,t){t===void 0&&(t=DL);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 c=t(a,r);return n.push(c),function(){n=n.filter(function(d){return d!==c})}},assignSyncMedium:function(a){for(r=!0;n.length;){var c=n;n=[],c.forEach(a)}n={push:function(d){return a(d)},filter:function(){return n}}},assignMedium:function(a){r=!0;var c=[];if(n.length){var d=n;n=[],d.forEach(a),c=n}var f=function(){var p=c;c=[],p.forEach(a)},m=function(){return Promise.resolve().then(f)};m(),n={push:function(p){c.push(p),m()},filter:function(p){return c=c.filter(p),n}}}};return i}function LL(e){e===void 0&&(e={});var t=IL(null);return t.options=sr({async:!0,ssr:!1},e),t}var fC=function(e){var t=e.sideCar,n=dC(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 x.createElement(r,sr({},n))};fC.isSideCarExport=!0;function FL(e,t){return e.useMedium(t),fC}var hC=LL(),Em=function(){},Md=x.forwardRef(function(e,t){var n=x.useRef(null),r=x.useState({onScrollCapture:Em,onWheelCapture:Em,onTouchMoveCapture:Em}),i=r[0],a=r[1],c=e.forwardProps,d=e.children,f=e.className,m=e.removeScrollBar,p=e.enabled,g=e.shards,v=e.sideCar,N=e.noRelative,C=e.noIsolation,b=e.inert,S=e.allowPinchZoom,j=e.as,P=j===void 0?"div":j,k=e.gapMode,T=dC(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=v,U=OL([n,t]),F=sr(sr({},T),i);return x.createElement(x.Fragment,null,p&&x.createElement(A,{sideCar:hC,removeScrollBar:m,shards:g,noRelative:N,noIsolation:C,inert:b,setCallbacks:a,allowPinchZoom:!!S,lockRef:n,gapMode:k}),c?x.cloneElement(x.Children.only(d),sr(sr({},F),{ref:U})):x.createElement(P,sr({},F,{className:f,ref:U}),d))});Md.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Md.classNames={fullWidth:Vu,zeroRight:Bu};var BL=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function VL(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=BL();return t&&e.setAttribute("nonce",t),e}function zL(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function UL(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $L=function(){var e=0,t=null;return{add:function(n){e==0&&(t=VL())&&(zL(t,n),UL(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},HL=function(){var e=$L();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},mC=function(){var e=HL(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},WL={left:0,top:0,right:0,gap:0},km=function(e){return parseInt(e||"",10)||0},qL=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[km(n),km(r),km(i)]},KL=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return WL;var t=qL(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])}},GL=mC(),wo="data-scroll-locked",QL=function(e,t,n,r){var i=e.left,a=e.top,c=e.right,d=e.gap;return n===void 0&&(n="margin"),` 393 .`.concat(_L,` { 394 overflow: hidden `).concat(r,`; 395 padding-right: `).concat(d,"px ").concat(r,`; 396 } 397 body[`).concat(wo,`] { 398 overflow: hidden `).concat(r,`; 399 overscroll-behavior: contain; 400 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 401 padding-left: `.concat(i,`px; 402 padding-top: `).concat(a,`px; 403 padding-right: `).concat(c,`px; 404 margin-left:0; 405 margin-top:0; 406 margin-right: `).concat(d,"px ").concat(r,`; 407 `),n==="padding"&&"padding-right: ".concat(d,"px ").concat(r,";
407")].filter(Boolean).join(""),` 408 } 409 410 .`).concat(Bu,` { 411 right: `).concat(d,"px ").concat(r,`; 412 } 413 414 .`).concat(Vu,` { 415 margin-right: `).concat(d,"px ").concat(r,`; 416 } 417 418 .`).concat(Bu," .").concat(Bu,` { 419 right: 0 `).concat(r,`; 420 } 421 422 .`).concat(Vu," .").concat(Vu,` { 423 margin-right: 0 `).concat(r,`; 424 } 425 426 body[`).concat(wo,`] { 427 `).concat(RL,": ").concat(d,`px; 428 } 429`)},pb=function(){var e=parseInt(document.body.getAttribute(wo)||"0",10);return isFinite(e)?e:0},YL=function(){x.useEffect(function(){return document.body.setAttribute(wo,(pb()+1).toString()),function(){var e=pb()-1;e<=0?document.body.removeAttribute(wo):document.body.setAttribute(wo,e.toString())}},[])},XL=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;YL();var a=x.useMemo(function(){return KL(i)},[i]);return x.createElement(GL,{styles:QL(a,!t,i,n?"":"!important")})},Pp=!1;if(typeof window<"u")try{var yu=Object.defineProperty({},"passive",{get:function(){return Pp=!0,!0}});window.addEventListener("test",yu,yu),window.removeEventListener("test",yu,yu)}catch{Pp=!1}var lo=Pp?{passive:!1}:!1,JL=function(e){return e.tagName==="TEXTAREA"},pC=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!JL(e)&&n[t]==="visible")},ZL=function(e){return pC(e,"overflowY")},e5=function(e){return pC(e,"overflowX")},gb=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=gC(e,r);if(i){var a=yC(e,r),c=a[1],d=a[2];if(c>d)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},t5=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},n5=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},gC=function(e,t){return e==="v"?ZL(t):e5(t)},yC=function(e,t){return e==="v"?t5(t):n5(t)},r5=function(e,t){return e==="h"&&t==="rtl"?-1:1},s5=function(e,t,n,r,i){var a=r5(e,window.getComputedStyle(t).direction),c=a*r,d=n.target,f=t.contains(d),m=!1,p=c>0,g=0,v=0;do{if(!d)break;var N=yC(e,d),C=N[0],b=N[1],S=N[2],j=b-S-a*C;(C||j)&&gC(e,d)&&(g+=j,v+=C);var P=d.parentNode;d=P&&P.nodeType===Node.DOCUMENT_FRAGMENT_NODE?P.host:P}while(!f&&d!==document.body||f&&(t.contains(d)||t===d));return(p&&Math.abs(g)<1||!p&&Math.abs(v)<1)&&(m=!0),m},xu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yb=function(e){return[e.deltaX,e.deltaY]},xb=function(e){return e&&"current"in e?e.current:e},i5=function(e,t){return e[0]===t[0]&&e[1]===t[1]},o5=function(e){return` 430 .block-interactivity-`.concat(e,` {pointer-events: none;} 431 .allow-interactivity-`).concat(e,` {pointer-events: all;} 432`)},a5=0,co=[];function l5(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),i=x.useState(a5++)[0],a=x.useState(mC)[0],c=x.useRef(e);x.useEffect(function(){c.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var b=TL([e.lockRef.current],(e.shards||[]).map(xb),!0).filter(Boolean);return b.forEach(function(S){return S.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),b.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var d=x.useCallback(function(b,S){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!c.current.allowPinchZoom;var j=xu(b),P=n.current,k="deltaX"in b?b.deltaX:P[0]-j[0],T="deltaY"in b?b.deltaY:P[1]-j[1],A,U=b.target,F=Math.abs(k)>Math.abs(T)?"h":"v";if("touches"in b&&F==="h"&&U.type==="range")return!1;var L=gb(F,U);if(!L)return!0;if(L?A=F:(A=F==="v"?"h":"v",L=gb(F,U)),!L)return!1;if(!r.current&&"changedTouches"in b&&(k||T)&&(r.current=A),!A)return!0;var te=r.current||A;return s5(te,S,b,te==="h"?k:T)},[]),f=x.useCallback(function(b){var S=b;if(!(!co.length||co[co.length-1]!==a)){var j="deltaY"in S?yb(S):xu(S),P=t.current.filter(function(A){return A.name===S.type&&(A.target===S.target||S.target===A.shadowParent)&&i5(A.delta,j)})[0];if(P&&P.should){S.cancelable&&S.preventDefault();return}
vendor: 4,338 bytes, line 432
432if(!P){var k=(c.current.shards||[]).map(xb).filter(Boolean).filter(function(A){return A.contains(S.target)}),T=k.length>0?d(S,k[0]):!c.current.noIsolation;T&&S.cancelable&&S.preventDefault()}}},[]),m=x.useCallback(function(b,S,j,P){var k={name:b,delta:S,target:j,should:P,shadowParent:c5(j)};t.current.push(k),setTimeout(function(){t.current=t.current.filter(function(T){return T!==k})},1)},[]),p=x.useCallback(function(b){n.current=xu(b),r.current=void 0},[]),g=x.useCallback(function(b){m(b.type,yb(b),b.target,d(b,e.lockRef.current))},[]),v=x.useCallback(function(b){m(b.type,xu(b),b.target,d(b,e.lockRef.current))},[]);x.useEffect(function(){return co.push(a),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:v}),document.addEventListener("wheel",f,lo),document.addEventListener("touchmove",f,lo),document.addEventListener("touchstart",p,lo),function(){co=co.filter(function(b){return b!==a}),document.removeEventListener("wheel",f,lo),document.removeEventListener("touchmove",f,lo),document.removeEventListener("touchstart",p,lo)}},[]);var N=e.removeScrollBar,C=e.inert;return x.createElement(x.Fragment,null,C?x.createElement(a,{styles:o5(i)}):null,N?x.createElement(XL,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function c5(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const u5=FL(hC,l5);var Od=x.forwardRef(function(e,t){return x.createElement(Md,sr({},e,{ref:t,sideCar:u5}))});Od.classNames=Md.classNames;var d5=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},uo=new WeakMap,vu=new WeakMap,wu={},Pm=0,xC=function(e){return e&&(e.host||xC(e.parentNode))},f5=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=xC(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})},h5=function(e,t,n,r){var i=f5(t,Array.isArray(e)?e:[e]);wu[n]||(wu[n]=new WeakMap);var a=wu[n],c=[],d=new Set,f=new Set(i),m=function(g){!g||d.has(g)||(d.add(g),m(g.parentNode))};i.forEach(m);var p=function(g){!g||f.has(g)||Array.prototype.forEach.call(g.children,function(v){if(d.has(v))p(v);else try{var N=v.getAttribute(r),C=N!==null&&N!=="false",b=(uo.get(v)||0)+1,S=(a.get(v)||0)+1;uo.set(v,b),a.set(v,S),c.push(v),b===1&&C&&vu.set(v,!0),S===1&&v.setAttribute(n,"true"),C||v.setAttribute(r,"true")}catch(j){console.error("aria-hidden: cannot operate on ",v,j)}})};return p(t),d.clear(),Pm++,function(){c.forEach(function(g){var v=uo.get(g)-1,N=a.get(g)-1;uo.set(g,v),a.set(g,N),v||(vu.has(g)||g.removeAttribute(r),vu.delete(g)),N||g.removeAttribute(n)}),Pm--,Pm||(uo=new WeakMap,uo=new WeakMap,vu=new WeakMap,wu={})}},Bg=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=d5(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),h5(r,i,n,"aria-hidden")):function(){return null}},Dd="Dialog",[vC]=Tn(Dd),[m5,Kn]=vC(Dd),wC=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:c=!0}=e,d=x.useRef(null),f=x.useRef(null),[m,p]=fr({prop:r,defaultProp:i??!1,onChange:a,caller:Dd});return l.jsx(m5,{scope:t,triggerRef:d,contentRef:f,contentId:$n(),titleId:$n(),descriptionId:$n(),open:m,onOpenChange:p,onOpenToggle:x.useCallback(()=>p(g=>!g),[p]),modal:c,children:n})};wC.displayName=Dd;var bC="DialogTrigger",SC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Kn(bC,n),a=Ie(t,i.triggerRef);return l.jsx(ke.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Ug(i.open),...r,ref:a,onClick:ie(e.onClick,i.onOpenToggle)})});SC.displayName=bC;var Vg="DialogPortal",[p5,NC]=vC(Vg,{forceMount:void 0}),CC=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=Kn(Vg,t);return l.jsx(p5,{scope:t,forceMount:n,children:x.Children.map(r,c=>l.jsx(_n,{present:n||a.open,children:l.jsx(zl,{asChild:!0,container:i,children:c})}))})};CC.displayName=Vg;var Zu="DialogOverlay",jC=x.forwardRef((e,t)=>{const n=NC(Zu,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Kn(Zu,e.__scopeDialog);return a.modal?l.jsx(_n,{present:r||a.open,children:l.jsx(y5,{...i,ref:t})}):null});jC.displayName=Zu;var g5=Ci("DialogOverlay.RemoveScroll"),y5=x.forwardRef((e,t)=>
vendor: 4,635 bytes, lines 432-436
432{const{__scopeDialog:n,...r}=e,i=Kn(Zu,n);return l.jsx(Od,{as:g5,allowPinchZoom:!0,shards:[i.contentRef],children:l.jsx(ke.div,{"data-state":Ug(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Ei="DialogContent",EC=x.forwardRef((e,t)=>{const n=NC(Ei,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Kn(Ei,e.__scopeDialog);return l.jsx(_n,{present:r||a.open,children:a.modal?l.jsx(x5,{...i,ref:t}):l.jsx(v5,{...i,ref:t})})});EC.displayName=Ei;var x5=x.forwardRef((e,t)=>{const n=Kn(Ei,e.__scopeDialog),r=x.useRef(null),i=Ie(t,n.contentRef,r);return x.useEffect(()=>{const a=r.current;if(a)return Bg(a)},[]),l.jsx(kC,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ie(e.onCloseAutoFocus,a=>{var c;a.preventDefault(),(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:ie(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0;(c.button===2||d)&&a.preventDefault()}),onFocusOutside:ie(e.onFocusOutside,a=>a.preventDefault())})}),v5=x.forwardRef((e,t)=>{const n=Kn(Ei,e.__scopeDialog),r=x.useRef(!1),i=x.useRef(!1);return l.jsx(kC,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var c,d;(c=e.onCloseAutoFocus)==null||c.call(e,a),a.defaultPrevented||(r.current||(d=n.triggerRef.current)==null||d.focus(),a.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:a=>{var f,m;(f=e.onInteractOutside)==null||f.call(e,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=a.target;((m=n.triggerRef.current)==null?void 0:m.contains(c))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&i.current&&a.preventDefault()}})}),kC=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...c}=e,d=Kn(Ei,n),f=x.useRef(null),m=Ie(t,f);return Fg(),l.jsxs(l.Fragment,{children:[l.jsx(Ad,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:l.jsx(Vl,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Ug(d.open),...c,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),l.jsxs(l.Fragment,{children:[l.jsx(w5,{titleId:d.titleId}),l.jsx(S5,{contentRef:f,descriptionId:d.descriptionId})]})]})}),zg="DialogTitle",PC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Kn(zg,n);return l.jsx(ke.h2,{id:i.titleId,...r,ref:t})});PC.displayName=zg;var TC="DialogDescription",_C=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Kn(TC,n);return l.jsx(ke.p,{id:i.descriptionId,...r,ref:t})});_C.displayName=TC;var RC="DialogClose",AC=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Kn(RC,n);return l.jsx(ke.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,()=>i.onOpenChange(!1))})});AC.displayName=RC;function Ug(e){return e?"open":"closed"}var MC="DialogTitleWarning",[q9,OC]=ZI(MC,{contentName:Ei,titleName:zg,docsSlug:"dialog"}),w5=({titleId:e})=>{const t=OC(MC),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 433 434If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 435 436For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},b5="DialogDescriptionWarning",S5=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${OC(b5).contentName}}.`;return x.useEffect(()=>{var a;const i=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},DC=wC,N5=SC,IC=CC,Id=jC,Ld=EC,Fd=PC,Bd=_C,LC=AC;const Tp=DC,C5=IC,FC=x.forwardRef(({className:e,...t},n)=>l.jsx(Id,{ref:n,className:Se("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));FC.displayName=Id.displayName;const ed=x.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(C5,{children:[l.jsx(FC,{}),l.jsxs(Ld,{ref:r,className:Se("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
436nded-lg",e),...n,children:[t,l.jsxs(LC,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[l.jsx(xg,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));ed.displayName=Ld.displayName;const $g=({className:e,...t})=>l.jsx("div",{className:Se("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});$g.displayName="DialogHeader";const BC=({className:e,...t})=>l.jsx("div",{className:Se("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});BC.displayName="DialogFooter";const Hg=x.forwardRef(({className:e,...t},n)=>l.jsx(Fd,{ref:n,className:Se("text-lg font-semibold leading-none tracking-tight",e),...t}));Hg.displayName=Fd.displayName;const VC=x.forwardRef(({className:e,...t},n)=>l.jsx(Bd,{ref:n,className:Se("text-sm text-muted-foreground",e),...t}));VC.displayName=Bd.displayName;function td(e,[t,n]){return Math.min(n,Math.max(t,e))}function Vd(e){const t=e+"CollectionProvider",[n,r]=Tn(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=b=>{const{scope:S,children:j}=b,P=fs.useRef(null),k=fs.useRef(new Map).current;return l.jsx(i,{scope:S,itemMap:k,collectionRef:P,children:j})};c.displayName=t;const d=e+"CollectionSlot",f=Ci(d),m=fs.forwardRef((b,S)=>{const{scope:j,children:P}=b,k=a(d,j),T=Ie(S,k.collectionRef);return l.jsx(f,{ref:T,children:P})});m.displayName=d;const p=e+"CollectionItemSlot",g="data-radix-collection-item",v=Ci(p),N=fs.forwardRef((b,S)=>{const{scope:j,children:P,...k}=b,T=fs.useRef(null),A=Ie(S,T),U=a(p,j);return fs.useEffect(()=>(U.itemMap.set(T,{ref:T,...k}),()=>void U.itemMap.delete(T))),l.jsx(v,{[g]:"",ref:A,children:P})});N.displayName=p;function C(b){const S=a(e+"CollectionConsumer",b);return fs.useCallback(()=>{const P=S.collectionRef.current;if(!P)return[];const k=Array.from(P.querySelectorAll(`[${g}]`));return Array.from(S.itemMap.values()).sort((U,F)=>k.indexOf(U.ref.current)-k.indexOf(F.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:c,Slot:m,ItemSlot:N},C,r]}var j5=x.createContext(void 0);function Ul(e){const t=x.useContext(j5);return e||t||"ltr"}const E5=["top","right","bottom","left"],As=Math.min,fn=Math.max,nd=Math.round,bu=Math.floor,lr=e=>({x:e,y:e}),k5={left:"right",right:"left",bottom:"top",top:"bottom"},P5={start:"end",end:"start"};function _p(e,t,n){return fn(e,As(t,n))}function Br(e,t){return typeof e=="function"?e(t):e}function Vr(e){return e.split("-")[0]}function Qo(e){return e.split("-")[1]}function Wg(e){return e==="x"?"y":"x"}function qg(e){return e==="y"?"height":"width"}const T5=new Set(["top","bottom"]);function or(e){return T5.has(Vr(e))?"y":"x"}function Kg(e){return Wg(or(e))}function _5(e,t,n){n===void 0&&(n=!1);const r=Qo(e),i=Kg(e),a=qg(i);let c=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(c=rd(c)),[c,rd(c)]}function R5(e){const t=rd(e);return[Rp(e),t,Rp(t)]}function Rp(e){return e.replace(/start|end/g,t=>P5[t])}const vb=["left","right"],wb=["right","left"],A5=["top","bottom"],M5=["bottom","top"];function O5(e,t,n){switch(e){case"top":case"bottom":return n?t?wb:vb:t?vb:wb;case"left":case"right":return t?A5:M5;default:return[]}}function D5(e,t,n,r){const i=Qo(e);let a=O5(Vr(e),n==="start",r);return i&&(a=a.map(c=>c+"-"+i),t&&(a=a.concat(a.map(Rp)))),a}function rd(e){return e.replace(/left|right|bottom|top/g,t=>k5[t])}function I5(e){return{top:0,right:0,bottom:0,left:0,...e}}function zC(e){return typeof e!="number"?I5(e):{top:e,right:e,bottom:e,left:e}}function sd(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 bb(e,t,n){let{reference:r,floating:i}=e;const a=or(t),c=Kg(t),d=qg(c),f=Vr(t),m=a==="y",p=r.x+r.width/2-i.width/2,g=r.y+r.height/2-i.height/2,v=r[d]/2-i[d]/2;let N;switch(f){case"top":N={x:p,y:r.y-i.height};break;
vendor: 25,610 bytes, line 436
436case"bottom":N={x:p,y:r.y+r.height};break;case"right":N={x:r.x+r.width,y:g};break;case"left":N={x:r.x-i.width,y:g};break;default:N={x:r.x,y:r.y}}switch(Qo(t)){case"start":N[c]-=v*(n&&m?-1:1);break;case"end":N[c]+=v*(n&&m?-1:1);break}return N}const L5=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:c}=n,d=a.filter(Boolean),f=await(c.isRTL==null?void 0:c.isRTL(t));let m=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:p,y:g}=bb(m,r,f),v=r,N={},C=0;for(let b=0;b<d.length;b++){const{name:S,fn:j}=d[b],{x:P,y:k,data:T,reset:A}=await j({x:p,y:g,initialPlacement:r,placement:v,strategy:i,middlewareData:N,rects:m,platform:c,elements:{reference:e,floating:t}});p=P??p,g=k??g,N={...N,[S]:{...N[S],...T}},A&&C<=50&&(C++,typeof A=="object"&&(A.placement&&(v=A.placement),A.rects&&(m=A.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:p,y:g}=bb(m,v,f)),b=-1)}return{x:p,y:g,placement:v,strategy:i,middlewareData:N}};async function ml(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:a,rects:c,elements:d,strategy:f}=e,{boundary:m="clippingAncestors",rootBoundary:p="viewport",elementContext:g="floating",altBoundary:v=!1,padding:N=0}=Br(t,e),C=zC(N),S=d[v?g==="floating"?"reference":"floating":g],j=sd(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(S)))==null||n?S:S.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:m,rootBoundary:p,strategy:f})),P=g==="floating"?{x:r,y:i,width:c.floating.width,height:c.floating.height}:c.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),T=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},A=sd(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:P,offsetParent:k,strategy:f}):P);return{top:(j.top-A.top+C.top)/T.y,bottom:(A.bottom-j.bottom+C.bottom)/T.y,left:(j.left-A.left+C.left)/T.x,right:(A.right-j.right+C.right)/T.x}}const F5=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:a,platform:c,elements:d,middlewareData:f}=t,{element:m,padding:p=0}=Br(e,t)||{};if(m==null)return{};const g=zC(p),v={x:n,y:r},N=Kg(i),C=qg(N),b=await c.getDimensions(m),S=N==="y",j=S?"top":"left",P=S?"bottom":"right",k=S?"clientHeight":"clientWidth",T=a.reference[C]+a.reference[N]-v[N]-a.floating[C],A=v[N]-a.reference[N],U=await(c.getOffsetParent==null?void 0:c.getOffsetParent(m));let F=U?U[k]:0;(!F||!await(c.isElement==null?void 0:c.isElement(U)))&&(F=d.floating[k]||a.floating[C]);const L=T/2-A/2,te=F/2-b[C]/2-1,K=As(g[j],te),B=As(g[P],te),J=K,se=F-b[C]-B,le=F/2-b[C]/2+L,ve=_p(J,le,se),G=!f.arrow&&Qo(i)!=null&&le!==ve&&a.reference[C]/2-(le<J?K:B)-b[C]/2<0,ne=G?le<J?le-J:le-se:0;return{[N]:v[N]+ne,data:{[N]:ve,centerOffset:le-ve-ne,...G&&{alignmentOffset:ne}},reset:G}}}),B5=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:a,rects:c,initialPlacement:d,platform:f,elements:m}=t,{mainAxis:p=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:b=!0,...S}=Br(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const j=Vr(i),P=or(d),k=Vr(d)===d,T=await(f.isRTL==null?void 0:f.isRTL(m.floating)),A=v||(k||!b?[rd(d)]:R5(d)),U=C!=="none";!v&&U&&A.push(...D5(d,b,C,T));const F=[d,...A],L=await ml(t,S),te=[];let K=((r=a.flip)==null?void 0:r.overflows)||[];if(p&&te.push(L[j]),g){const le=_5(i,c,T);te.push(L[le[0]],L[le[1]])}if(K=[...K,{placement:i,overflows:te}],!te.every(le=>le<=0)){var B,J;const le=(((B=a.flip)==null?void 0:B.index)||0)+1,ve=F[le];if(ve&&(!(g==="alignment"?P!==or(ve):!1)||K.every(D=>or(D.placement)===P?D.overflows[0]>0:!0)))return{data:{index:le,overflows:K},reset:{placement:ve}};let G=(J=K.filter(ne=>ne.overflows[0]<=0).sort((ne,D)=>ne.overflows[1]-D.overflows[1])[0])==null?void 0:J.placement;if(!G)switch(N){case"bestFit":{var se;const ne=(se=K.filter(D=>{if(U){const W=or(D.placement);return W===P||W==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(W=>W>0).reduce((W,Y)=>W+Y,0)]).sort((D,W)=>D[1]-W[1])[0])==null?void 0:se[0];ne&&(G=ne);break}case"initialPlacement":G=d;break}if(i!==G)return{reset:{placement:G}}}return{}}}};function Sb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Nb(e){return E5.some(t=>e[t]>=0)}const V5=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Br(e,t);switch(r){case"referenceHidden":{const a=await ml(t,{...i,elementContext:"reference"}),c=Sb(a,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Nb(c)}}}case"escaped":{const a=await ml(t,{...i,altBoundary:!0}),c=Sb(a,n.floating);return{data:{escapedOffsets:c,escaped:Nb(c)}}}default:return{}}}}},UC=new Set(["left","top"]);async function z5(e,t){const{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),c=Vr(n),d=Qo(n),f=or(n)==="y",m=UC.has(c)?-1:1,p=a&&f?-1:1,g=Br(t,e);let{mainAxis:v,crossAxis:N,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof C=="number"&&(N=d==="end"?C*-1:C),f?{x:N*p,y:v*m}:{x:v*m,y:N*p}}const U5=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:a,placement:c,middlewareData:d}=t,f=await z5(t,e);return c===((n=d.offset)==null?void 0:n.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:a+f.y,data:{...f,placement:c}}}}},$5=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:c=!1,limiter:d={fn:S=>{let{x:j,y:P}=S;return{x:j,y:P}}},...f}=Br(e,t),m={x:n,y:r},p=await ml(t,f),g=or(Vr(i)),v=Wg(g);let N=m[v],C=m[g];if(a){const S=v==="y"?"top":"left",j=v==="y"?"bottom":"right",P=N+p[S],k=N-p[j];N=_p(P,N,k)}if(c){const S=g==="y"?"top":"left",j=g==="y"?"bottom":"right",P=C+p[S],k=C-p[j];C=_p(P,C,k)}const b=d.fn({...t,[v]:N,[g]:C});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:a,[g]:c}}}}}},H5=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:c}=t,{offset:d=0,mainAxis:f=!0,crossAxis:m=!0}=Br(e,t),p={x:n,y:r},g=or(i),v=Wg(g);let N=p[v],C=p[g];const b=Br(d,t),S=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const k=v==="y"?"height":"width",T=a.reference[v]-a.floating[k]+S.mainAxis,A=a.reference[v]+a.reference[k]-S.mainAxis;N<T?N=T:N>A&&(N=A)}if(m){var j,P;const k=v==="y"?"width":"height",T=UC.has(Vr(i)),A=a.reference[g]-a.floating[k]+(T&&((j=c.offset)==null?void 0:j[g])||0)+(T?0:S.crossAxis),U=a.reference[g]+a.reference[k]+(T?0:((P=c.offset)==null?void 0:P[g])||0)-(T?S.crossAxis:0);C<A?C=A:C>U&&(C=U)}return{[v]:N,[g]:C}}}},W5=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:a,platform:c,elements:d}=t,{apply:f=()=>{},...m}=Br(e,t),p=await ml(t,m),g=Vr(i),v=Qo(i),N=or(i)==="y",{width:C,height:b}=a.floating;let S,j;g==="top"||g==="bottom"?(S=g,j=v===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(j=g,S=v==="end"?"top":"bottom");const P=b-p.top-p.bottom,k=C-p.left-p.right,T=As(b-p[S],P),A=As(C-p[j],k),U=!t.middlewareData.shift;let F=T,L=A;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=k),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(F=P),U&&!v){const K=fn(p.left,0),B=fn(p.right,0),J=fn(p.top,0),se=fn(p.bottom,0);N?L=C-2*(K!==0||B!==0?K+B:fn(p.left,p.right)):F=b-2*(J!==0||se!==0?J+se:fn(p.top,p.bottom))}await f({...t,availableWidth:L,availableHeight:F});const te=await c.getDimensions(d.floating);return C!==te.width||b!==te.height?{reset:{rects:!0}}:{}}}};function zd(){return typeof window<"u"}function Yo(e){return $C(e)?(e.nodeName||"").toLowerCase():"#document"}function hn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pr(e){var t;return(t=($C(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $C(e){return zd()?e instanceof Node||e instanceof hn(e).Node:!1}function Hn(e){return zd()?e instanceof Element||e instanceof hn(e).Element:!1}function mr(e){return zd()?e instanceof HTMLElement||e instanceof hn(e).HTMLElement:!1}function Cb(e){return!zd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof hn(e).ShadowRoot}const q5=new Set(["inline","contents"]);function $l(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Wn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!q5.has(i)}const K5=new Set(["table","td","th"]);function G5(e){return K5.has(Yo(e))}const Q5=[":popover-open",":modal"];function Ud(e){return Q5.some(t=>{try{return e.matches(t)}catch{return!1}})}const Y5=["transform","translate","scale","rotate","perspective"],X5=["transform","translate","scale","rotate","perspective","filter"],J5=["paint","layout","strict","content"];function Gg(e){const t=Qg(),n=Hn(e)?Wn(e):e;return Y5.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)||X5.some(r=>(n.willChange||"").includes(r))||J5.some(r=>(n.contain||"").includes(r))}function Z5(e){let t=Ms(e);for(;mr(t)&&!Io(t);){if(Gg(t))return t;if(Ud(t))return null;t=Ms(t)}return null}function Qg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const e3=new Set(["html","body","#document"]);function Io(e){return e3.has(Yo(e))}function Wn(e){return hn(e).getComputedStyle(e)}function $d(e){return Hn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ms(e){if(Yo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cb(e)&&e.host||pr(e);return Cb(t)?t.host:t}function HC(e){const t=Ms(e);return Io(t)?e.ownerDocument?e.ownerDocument.body:e.body:mr(t)&&$l(t)?t:HC(t)}function pl(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=HC(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),c=hn(i);if(a){const d=Ap(c);return t.concat(c,c.visualViewport||[],$l(i)?i:[],d&&n?pl(d):[])}return t.concat(i,pl(i,[],n))}function Ap(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function WC(e){const t=Wn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=mr(e),a=i?e.offsetWidth:n,c=i?e.offsetHeight:r,d=nd(n)!==a||nd(r)!==c;return d&&(n=a,r=c),{width:n,height:r,$:d}}function Yg(e){return Hn(e)?e:e.contextElement}function bo(e){const t=Yg(e);if(!mr(t))return lr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:a}=WC(t);let c=(a?nd(n.width):n.width)/r,d=(a?nd(n.height):n.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const t3=lr(0);function qC(e){const t=hn(e);return!Qg()||!t.visualViewport?t3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function n3(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==hn(e)?!1:t}function ki(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Yg(e);let c=lr(1);t&&(r?Hn(r)&&(c=bo(r)):c=bo(e));const d=n3(a,n,r)?qC(a):lr(0);let f=(i.left+d.x)/c.x,m=(i.top+d.y)/c.y,p=i.width/c.x,g=i.height/c.y;if(a){const v=hn(a),N=r&&Hn(r)?hn(r):r;let C=v,b=Ap(C);for(;b&&r&&N!==C;){const S=bo(b),j=b.getBoundingClientRect(),P=Wn(b),k=j.left+(b.clientLeft+parseFloat(P.paddingLeft))*S.x,T=j.top+(b.clientTop+parseFloat(P.paddingTop))*S.y;f*=S.x,m*=S.y,p*=S.x,g*=S.y,f+=k,m+=T,C=hn(b),b=Ap(C)}}return sd({width:p,height:g,x:f,y:m})}function Hd(e,t){const n=$d(e).scrollLeft;return t?t.left+n:ki(pr(e)).left+n}function KC(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Hd(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function r3(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const a=i==="fixed",c=pr(r),d=t?Ud(t.floating):!1;if(r===c||d&&a)return n;let f={scrollLeft:0,scrollTop:0},m=lr(1);const p=lr(0),g=mr(r);if((g||!g&&!a)&&((Yo(r)!=="body"||$l(c))&&(f=$d(r)),mr(r))){const N=ki(r);m=bo(r),p.x=N.x+r.clientLeft,p.y=N.y+r.clientTop}const v=c&&!g&&!a?KC(c,f):lr(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-f.scrollLeft*m.x+p.x+v.x,y:n.y*m.y-f.scrollTop*m.y+p.y+v.y}}function s3(e){return Array.from(e.getClientRects())}function i3(e){const t=pr(e),n=$d(e),r=e.ownerDocument.body,i=fn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=fn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let c=-n.scrollLeft+Hd(e);const d=-n.scrollTop;return Wn(r).direction==="rtl"&&(c+=fn(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:c,y:d}}const jb=25;function o3(e,t){const n=hn(e),r=pr(e),i=n.visualViewport;let a=r.clientWidth,c=r.clientHeight,d=0,f=0;if(i){a=i.width,c=i.height;const p=Qg();(!p||p&&t==="fixed")&&(d=i.offsetLeft,f=i.offsetTop)}const m=Hd(r);if(m<=0){const p=r.ownerDocument,g=p.body,v=getComputedStyle(g),N=p.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,C=Math.abs(r.clientWidth-g.clientWidth-N);C<=jb&&(a-=C)}else m<=jb&&(a+=m);return{width:a,height:c,x:d,y:f}}const a3=new Set(["absolute","fixed"]);function l3(e,t){const n=ki(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=mr(e)?bo(e):lr(1),c=e.clientWidth*a.x,d=e.clientHeight*a.y,f=i*a.x,m=r*a.y;return{width:c,height:d,x:f,y:m}}function Eb(e,t,n){let r;if(t==="viewport")r=o3(e,n);else if(t==="document")r=i3(pr(e));else if(Hn(t))r=l3(t,n);else{const i=qC(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return sd(r)}function GC(e,t){const n=Ms(e);return n===t||!Hn(n)||Io(n)?!1:Wn(n).position==="fixed"||GC(n,t)}function c3(e,t){const n=t.get(e);if(n)return n;let r=pl(e,[],!1).filter(d=>Hn(d)&&Yo(d)!=="body"),i=null;const a=Wn(e).position==="fixed";let c=a?Ms(e):e;for(;Hn(c)&&!Io(c);){const d=Wn(c),f=Gg(c);!f&&d.position==="fixed"&&(i=null),(a?!f&&!i:!f&&d.position==="static"&&!!i&&a3.has(i.position)||$l(c)&&!f&&GC(e,c))?r=r.filter(p=>p!==c):i=d,c=Ms(c)}return t.set(e,r),r}function u3(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const c=[...n==="clippingAncestors"?Ud(t)?[]:c3(t,this._c):[].concat(n),r],d=c[0],f=c.reduce((m,p)=>{const g=Eb(t,p,i);return m.top=fn(g.top,m.top),m.right=As(g.right,m.right),m.bottom=As(g.bottom,m.bottom),m.left=fn(g.left,m.left),m},Eb(t,d,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function d3(e){const{width:t,height:n}=WC(e);return{width:t,height:n}}function f3(e,t,n){const r=mr(t),i=pr(t),a=n==="fixed",c=ki(e,!0,a,t);let d={scrollLeft:0,scrollTop:0};const f=lr(0);function m(){f.x=Hd(i)}if(r||!r&&!a)if((Yo(t)!=="body"||$l(i))&&(d=$d(t)),r){const N=ki(t,!0,a,t);f.x=N.x+t.clientLeft,f.y=N.y+t.clientTop}else i&&m();a&&!r&&i&&m();const p=i&&!r&&!a?KC(i,d):lr(0),g=c.left+d.scrollLeft-f.x-p.x,v=c.top+d.scrollTop-f.y-p.y;return{x:g,y:v,width:c.width,height:c.height}}function Tm(e){return Wn(e).position==="static"}function kb(e,t){if(!mr(e)||Wn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pr(e)===n&&(n=n.ownerDocument.body),n}function QC(e,t){const n=hn(e);if(Ud(e))return n;if(!mr(e)){let i=Ms(e);for(;i&&!Io(i);){if(Hn(i)&&!Tm(i))return i;i=Ms(i)}return n}let r=kb(e,t);for(;r&&G5(r)&&Tm(r);)r=kb(r,t);return r&&Io(r)&&Tm(r)&&!Gg(r)?n:r||Z5(e)||n}const h3=async function(e){const t=this.getOffsetParent||QC,n=this.getDimensions,r=await n(e.floating);return{reference:f3(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function m3(e){return Wn(e).direction==="rtl"}const p3={convertOffsetParentRelativeRectToViewportRelativeRect:r3,getDocumentElement:pr,getClippingRect:u3,getOffsetParent:QC,getElementRects:h3,getClientRects:s3,getDimensions:d3,getScale:bo,isElement:Hn,isRTL:m3};function YC(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function g3(e,t){let n=null,r;const i=pr(e);function a(){var d;clearTimeout(r),(d=n)==null||d.disconnect(),n=null}function c(d,f){d===void 0&&(d=!1),f===void 0&&(f=1),a();const m=e.getBoundingClientRect(),{left:p,top:g,width:v,height:N}=m;if(d||t(),!v||!N)return;const C=bu(g),b=bu(i.clientWidth-(p+v)),S=bu(i.clientHeight-(g+N)),j=bu(p),k={rootMargin:-C+"px "+-b+"px "+-S+"px "+-j+"px",threshold:fn(0,As(1,f))||1};let T=!0;function A(U){const F=U[0].intersectionRatio;if(F!==f){if(!T)return c();F?c(!1,F):r=setTimeout(()=>{c(!1,1e-7)},1e3)}F===1&&!YC(m,e.getBoundingClientRect())&&c(),T=!1}try{n=new IntersectionObserver(A,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(A,k)}n.observe(e)}return c(!0),a}function y3(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,m=Yg(e),p=i||a?[...m?pl(m):[],...pl(t)]:[];p.forEach(j=>{i&&j.addEventListener("scroll",n,{passive:!0}),a&&j.addEventListener("resize",n)});const g=m&&d?g3(m,n):null;let v=-1,N=null;c&&(N=new ResizeObserver(j=>{let[P]=j;P&&P.target===m&&N&&(N.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var k;(k=N)==null||k.observe(t)})),n()}),m&&!f&&N.observe(m),N.observe(t));let C,b=f?ki(e):null;f&&S();function S(){const j=ki(e);b&&!YC(b,j)&&n(),b=j,C=requestAnimationFrame(S)}return n(),()=>{var j;p.forEach(P=>{i&&P.removeEventListener("scroll",n),a&&P.removeEventListener("resize",n)}),g==null||g(),(j=N)==null||j.disconnect(),N=null,f&&cancelAnimationFrame(C)}}const x3=U5,v3=$5,w3=B5,b3=W5,S3=V5,Pb=F5,N3=H5,C3=(e,t,n)=>{const r=new Map,i={platform:p3,...n},a={...i.platform,_c:r};return L5(e,t,{...i,platform:a})};var j3=typeof document<"u",E3=function(){},zu=j3?x.useLayoutEffect:E3;function id(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(!id(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)&&!id(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function XC(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tb(e,t){const n=XC(e);return Math.round(t*n)/n}function _m(e){const t=x.useRef(e);return zu(()=>{t.current=e}),t}function k3(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:c}={},transform:d=!0,whileElementsMounted:f,open:m}=e,[p,g]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,N]=x.useState(r);id(v,r)||N(r);const[C,b]=x.useState(null),[S,j]=x.useState(null),P=x.useCallback(D=>{D!==U.current&&(U.current=D,b(D))},[]),k=x.useCallback(D=>{D!==F.current&&(F.current=D,j(D))},[]),T=a||C,A=c||S,U=x.useRef(null),F=x.useRef(null),L=x.useRef(p),te=f!=null,K=_m(f),B=_m(i),J=_m(m),se=x.useCallback(()=>{if(!U.current||!F.current)return;const D={placement:t,strategy:n,middleware:v};B.current&&(D.platform=B.current),C3(U.current,F.current,D).then(W=>{const Y={...W,isPositioned:J.current!==!1};le.current&&!id(L.current,Y)&&(L.current=Y,Ml.flushSync(()=>{g(Y)}))})},[v,t,n,B,J]);zu(()=>{m===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,g(D=>({...D,isPositioned:!1})))},[m]);const le=x.useRef(!1);zu(()=>(le.current=!0,()=>{le.current=!1}),[]),zu(()=>{if(T&&(U.current=T),A&&(F.current=A),T&&A){if(K.current)return K.current(T,A,se);se()}},[T,A,se,K,te]);const ve=x.useMemo(()=>({reference:U,floating:F,setReference:P,setFloating:k}),[P,k]),G=x.useMemo(()=>({reference:T,floating:A}),[T,A]),ne=x.useMemo(()=>{const D={position:n,left:0,top:0};if(!G.floating)return D;const W=Tb(G.floating,p.x),Y=Tb(G.floating,p.y);return d?{...D,transform:"translate("+W+"px, "+Y+"px)",...XC(G.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:W,top:Y}},[n,d,G.floating,p.x,p.y]);return x.useMemo(()=>({...p,update:se,refs:ve,elements:G,floatingStyles:ne}),[p,se,ve,G,ne])}const P3=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?Pb({element:r.current,padding:i}).fn(n):{}:r?Pb({element:r,padding:i}).fn(n):{}}}},T3=(e,t)=>({...x3(e),options:[e,t]}),_3=(e,t)=>({...v3(e),options:[e,t]}),R3=(e,t)=>({...N3(e),options:[e,t]}),A3=(e,t)=>({...w3(e),options:[e,t]}),M3=(e,t)=>({...b3(e),options:[e,t]}),O3=(e,t)=>({...S3(e),options:[e,t]}),D3=(e,t)=>({...P3(e),options:[e,t]});var I3="Arrow",JC=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return l.jsx(ke.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});JC.displayName=I3;var L3=JC,Xg="Popper",[ZC,Xo]=Tn(Xg),[F3,ej]=ZC(Xg),tj=e=>{const{__scopePopper:t,children:n}=e,[r,i]=x.useState(null);return l.jsx(F3,{scope:t,anchor:r,onAnchorChange:i,children:n})};tj.displayName=Xg;var nj="PopperAnchor",rj=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=ej(nj,n),c=x.useRef(null),d=Ie(t,c),f=x.useRef(null);return x.useEffect(()=>{const m=f.current;f.current=(r==null?void 0:r.current)||c.current,m!==f.current&&a.onAnchorChange(f.current)}),r?null:l.jsx(ke.div,{...i,ref:d})});rj.displayName=nj;var Jg="PopperContent",[B3,V3]=ZC(Jg),sj=x.forwardRef((e,t)=>{var Z,ge,we,Re,Be,Ve;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:c=0,arrowPadding:d=0,avoidCollisions:f=!0,collisionBoundary:m=[],collisionPadding:p=0,sticky:g="partial",hideWhenDetached:v=!1,updatePositionStrategy:N="optimized",onPlaced:C,...b}=e,S=ej(Jg,n),[j,P]=x.useState(null),k=Ie(t,St=>P(St)),[T,A]=x.useState(null),U=_d(T),F=(U==null?void 0:U.width)??0,L=(U==null?void 0:U.height)??0,te=r+(a!=="center"?"-"+a:""),K=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},B=Array.isArray(m)?m:[m],J=B.length>0,se={padding:K,boundary:B.filter(U3),altBoundary:J},{refs:le,floatingStyles:ve,placement:G,isPositioned:ne,middlewareData:D}=k3({strategy:"fixed",placement:te,whileElementsMounted:(...St)=>y3(...St,{animationFrame:N==="always"}),elements:{reference:S.anchor},middleware:[T3({mainAxis:i+L,alignmentAxis:c}),f&&_3({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?R3():void 0,...se}),f&&A3({...se}),M3({...se,apply:({elements:St,rects:Qt,availableWidth:Ur,availableHeight:$r})=>{const{width:gr,height:Zl}=Qt.reference,Hr=St.floating.style;Hr.setProperty("--radix-popper-available-width",`${Ur}px`),Hr.setProperty("--radix-popper-available-height",`${$r}px`),Hr.setProperty("--radix-popper-anchor-width",`${gr}px`),Hr.setProperty("--radix-popper-anchor-height",`${Zl}px`)}}),T&&D3({element:T,padding:d}),$3({arrowWidth:F,arrowHeight:L}),v&&O3({strategy:"referenceHidden",...se})]}),[W,Y]=aj(G),O=hr(C);Ut(()=>{ne&&(O==null||O())},[ne,O]);const q=(Z=D.arrow)==null?void 0:Z.x,ce=(ge=D.arrow)==null?void 0:ge.y,ue=((we=D.arrow)==null?void 0:we.centerOffset)!==0,[je,Pe]=x.useState();return Ut(()=>{j&&Pe(window.getComputedStyle(j).zIndex)},[j]),l.jsx("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...ve,transform:ne?ve.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:je,"--radix-popper-transform-origin":[(Re=D.transformOrigin)==null?void 0:Re.x,(Be=D.transformOrigin)==null?void 0:Be.y].join(" "),...((Ve=D.hide)==null?void 0:Ve.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(B3,{scope:n,placedSide:W,onArrowChange:A,arrowX:q,arrowY:ce,shouldHideArrow:ue,children:l.jsx(ke.div,{"data-side":W,"data-align":Y,...b,ref:k,style:{...b.style,animation:ne?void 0:"none"}})})})});sj.displayName=Jg;var ij="PopperArrow",z3={top:"bottom",right:"left",bottom:"top",left:"right"},oj=x.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=V3(ij,r),c=z3[a.placedSide];return l.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[c]: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:l.jsx(L3,{...i,ref:n,style:{...i.style,display:"block"}})})});oj.displayName=ij;function U3(e){return e!==null}var $3=e=>({name:"transformOrigin",options:e,fn(t){var S,j,P;const{placement:n,rects:r,middlewareData:i}=t,c=((S=i.arrow)==null?void 0:S.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[m,p]=aj(n),g={start:"0%",center:"50%",end:"100%"}[p],v=(((j=i.arrow)==null?void 0:j.x)??0)+d/2,N=(((P=i.arrow)==null?void 0:P.y)??0)+f/2;let C="",b="";return m==="bottom"?(C=c?g:`${v}px`,b=`${-f}px`):m==="top"?(C=c?g:`${v}px`,b=`${r.floating.height+f}px`):m==="right"?(C=`${-f}px`,b=c?g:`${N}px`):m==="left"&&(C=`${r.floating.width+f}px`,b=c?g:`${N}px`),{data:{x:C,y:b}}}});function aj(e){const[t,n="center"]=e.split("-");return[t,n]}var Zg=tj,ey=rj,ty=sj,ny=oj,lj=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"}),H3="VisuallyHidden",cj=x.forwardRef((e,t)=>
vendor: 4,275 bytes, line 436
436l.jsx(ke.span,{...e,ref:t,style:{...lj,...e.style}}));cj.displayName=H3;var W3=cj,q3=[" ","Enter","ArrowUp","ArrowDown"],K3=[" ","Enter"],Pi="Select",[Wd,qd,G3]=Vd(Pi),[Jo]=Tn(Pi,[G3,Xo]),Kd=Xo(),[Q3,Is]=Jo(Pi),[Y3,X3]=Jo(Pi),uj=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:a,value:c,defaultValue:d,onValueChange:f,dir:m,name:p,autoComplete:g,disabled:v,required:N,form:C}=e,b=Kd(t),[S,j]=x.useState(null),[P,k]=x.useState(null),[T,A]=x.useState(!1),U=Ul(m),[F,L]=fr({prop:r,defaultProp:i??!1,onChange:a,caller:Pi}),[te,K]=fr({prop:c,defaultProp:d,onChange:f,caller:Pi}),B=x.useRef(null),J=S?C||!!S.closest("form"):!0,[se,le]=x.useState(new Set),ve=Array.from(se).map(G=>G.props.value).join(";");return l.jsx(Zg,{...b,children:l.jsxs(Q3,{required:N,scope:t,trigger:S,onTriggerChange:j,valueNode:P,onValueNodeChange:k,valueNodeHasChildren:T,onValueNodeHasChildrenChange:A,contentId:$n(),value:te,onValueChange:K,open:F,onOpenChange:L,dir:U,triggerPointerDownPosRef:B,disabled:v,children:[l.jsx(Wd.Provider,{scope:t,children:l.jsx(Y3,{scope:e.__scopeSelect,onNativeOptionAdd:x.useCallback(G=>{le(ne=>new Set(ne).add(G))},[]),onNativeOptionRemove:x.useCallback(G=>{le(ne=>{const D=new Set(ne);return D.delete(G),D})},[]),children:n})}),J?l.jsxs(Oj,{"aria-hidden":!0,required:N,tabIndex:-1,name:p,autoComplete:g,value:te,onChange:G=>K(G.target.value),disabled:v,form:C,children:[te===void 0?l.jsx("option",{value:""}):null,Array.from(se)]},ve):null]})})};uj.displayName=Pi;var dj="SelectTrigger",fj=x.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,a=Kd(n),c=Is(dj,n),d=c.disabled||r,f=Ie(t,c.onTriggerChange),m=qd(n),p=x.useRef("touch"),[g,v,N]=Ij(b=>{const S=m().filter(k=>!k.disabled),j=S.find(k=>k.value===c.value),P=Lj(S,b,j);P!==void 0&&c.onValueChange(P.value)}),C=b=>{d||(c.onOpenChange(!0),N()),b&&(c.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)})};return l.jsx(ey,{asChild:!0,...a,children:l.jsx(ke.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":Dj(c.value)?"":void 0,...i,ref:f,onClick:ie(i.onClick,b=>{b.currentTarget.focus(),p.current!=="mouse"&&C(b)}),onPointerDown:ie(i.onPointerDown,b=>{p.current=b.pointerType;const S=b.target;S.hasPointerCapture(b.pointerId)&&S.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&b.pointerType==="mouse"&&(C(b),b.preventDefault())}),onKeyDown:ie(i.onKeyDown,b=>{const S=g.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&v(b.key),!(S&&b.key===" ")&&q3.includes(b.key)&&(C(),b.preventDefault())})})})});fj.displayName=dj;var hj="SelectValue",mj=x.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:a,placeholder:c="",...d}=e,f=Is(hj,n),{onValueNodeHasChildrenChange:m}=f,p=a!==void 0,g=Ie(t,f.onValueNodeChange);return Ut(()=>{m(p)},[m,p]),l.jsx(ke.span,{...d,ref:g,style:{pointerEvents:"none"},children:Dj(f.value)?l.jsx(l.Fragment,{children:c}):a})});mj.displayName=hj;var J3="SelectIcon",pj=x.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return l.jsx(ke.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});pj.displayName=J3;var Z3="SelectPortal",gj=e=>l.jsx(zl,{asChild:!0,...e});gj.displayName=Z3;var Ti="SelectContent",yj=x.forwardRef((e,t)=>{const n=Is(Ti,e.__scopeSelect),[r,i]=x.useState();if(Ut(()=>{i(new DocumentFragment)},[]),!n.open){const a=r;return a?Ml.createPortal(l.jsx(xj,{scope:e.__scopeSelect,children:l.jsx(Wd.Slot,{scope:e.__scopeSelect,children:l.jsx("div",{children:e.children})})}),a):null}return l.jsx(vj,{...e,ref:t})});yj.displayName=Ti;var Fn=10,[xj,Ls]=Jo(Ti),eF="SelectContentImpl",tF=Ci("SelectContent.RemoveScroll"),vj=x.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:a,onPointerDownOutside:c,side:d,sideOffset:f,align:m,alignOffset:p,arrowPadding:g,collisionBoundary:v,collisionPadding:N,sticky:C,hideWhenDetached:b,avoidCollisions:S,...j}=e,P=Is(Ti,n),[k,T]=x.useState(null),[A,U]=x.useState(null),F=Ie(t,Z=>T(Z)),[L,te]=x.useState(null),[K,B]=x.useState(null),J=qd(n),[se,le]=x.useState(!1),ve=
vendor: 12,358 bytes, line 436
436x.useRef(!1);x.useEffect(()=>{if(k)return Bg(k)},[k]),Fg();const G=x.useCallback(Z=>{const[ge,...we]=J().map(Ve=>Ve.ref.current),[Re]=we.slice(-1),Be=document.activeElement;for(const Ve of Z)if(Ve===Be||(Ve==null||Ve.scrollIntoView({block:"nearest"}),Ve===ge&&A&&(A.scrollTop=0),Ve===Re&&A&&(A.scrollTop=A.scrollHeight),Ve==null||Ve.focus(),document.activeElement!==Be))return},[J,A]),ne=x.useCallback(()=>G([L,k]),[G,L,k]);x.useEffect(()=>{se&&ne()},[se,ne]);const{onOpenChange:D,triggerPointerDownPosRef:W}=P;x.useEffect(()=>{if(k){let Z={x:0,y:0};const ge=Re=>{var Be,Ve;Z={x:Math.abs(Math.round(Re.pageX)-(((Be=W.current)==null?void 0:Be.x)??0)),y:Math.abs(Math.round(Re.pageY)-(((Ve=W.current)==null?void 0:Ve.y)??0))}},we=Re=>{Z.x<=10&&Z.y<=10?Re.preventDefault():k.contains(Re.target)||D(!1),document.removeEventListener("pointermove",ge),W.current=null};return W.current!==null&&(document.addEventListener("pointermove",ge),document.addEventListener("pointerup",we,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ge),document.removeEventListener("pointerup",we,{capture:!0})}}},[k,D,W]),x.useEffect(()=>{const Z=()=>D(!1);return window.addEventListener("blur",Z),window.addEventListener("resize",Z),()=>{window.removeEventListener("blur",Z),window.removeEventListener("resize",Z)}},[D]);const[Y,O]=Ij(Z=>{const ge=J().filter(Be=>!Be.disabled),we=ge.find(Be=>Be.ref.current===document.activeElement),Re=Lj(ge,Z,we);Re&&setTimeout(()=>Re.ref.current.focus())}),q=x.useCallback((Z,ge,we)=>{const Re=!ve.current&&!we;(P.value!==void 0&&P.value===ge||Re)&&(te(Z),Re&&(ve.current=!0))},[P.value]),ce=x.useCallback(()=>k==null?void 0:k.focus(),[k]),ue=x.useCallback((Z,ge,we)=>{const Re=!ve.current&&!we;(P.value!==void 0&&P.value===ge||Re)&&B(Z)},[P.value]),je=r==="popper"?Mp:wj,Pe=je===Mp?{side:d,sideOffset:f,align:m,alignOffset:p,arrowPadding:g,collisionBoundary:v,collisionPadding:N,sticky:C,hideWhenDetached:b,avoidCollisions:S}:{};return l.jsx(xj,{scope:n,content:k,viewport:A,onViewportChange:U,itemRefCallback:q,selectedItem:L,onItemLeave:ce,itemTextRefCallback:ue,focusSelectedItem:ne,selectedItemText:K,position:r,isPositioned:se,searchRef:Y,children:l.jsx(Od,{as:tF,allowPinchZoom:!0,children:l.jsx(Ad,{asChild:!0,trapped:P.open,onMountAutoFocus:Z=>{Z.preventDefault()},onUnmountAutoFocus:ie(i,Z=>{var ge;(ge=P.trigger)==null||ge.focus({preventScroll:!0}),Z.preventDefault()}),children:l.jsx(Vl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:Z=>Z.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:l.jsx(je,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:Z=>Z.preventDefault(),...j,...Pe,onPlaced:()=>le(!0),ref:F,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:ie(j.onKeyDown,Z=>{const ge=Z.ctrlKey||Z.altKey||Z.metaKey;if(Z.key==="Tab"&&Z.preventDefault(),!ge&&Z.key.length===1&&O(Z.key),["ArrowUp","ArrowDown","Home","End"].includes(Z.key)){let Re=J().filter(Be=>!Be.disabled).map(Be=>Be.ref.current);if(["ArrowUp","End"].includes(Z.key)&&(Re=Re.slice().reverse()),["ArrowUp","ArrowDown"].includes(Z.key)){const Be=Z.target,Ve=Re.indexOf(Be);Re=Re.slice(Ve+1)}setTimeout(()=>G(Re)),Z.preventDefault()}})})})})})})});vj.displayName=eF;var nF="SelectItemAlignedPosition",wj=x.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,a=Is(Ti,n),c=Ls(Ti,n),[d,f]=x.useState(null),[m,p]=x.useState(null),g=Ie(t,F=>p(F)),v=qd(n),N=x.useRef(!1),C=x.useRef(!0),{viewport:b,selectedItem:S,selectedItemText:j,focusSelectedItem:P}=c,k=x.useCallback(()=>{if(a.trigger&&a.valueNode&&d&&m&&b&&S&&j){const F=a.trigger.getBoundingClientRect(),L=m.getBoundingClientRect(),te=a.valueNode.getBoundingClientRect(),K=j.getBoundingClientRect();if(a.dir!=="rtl"){const Be=K.left-L.left,Ve=te.left-Be,St=F.left-Ve,Qt=F.width+St,Ur=Math.max(Qt,L.width),$r=window.innerWidth-Fn,gr=td(Ve,[Fn,Math.max(Fn,$r-Ur)]);d.style.minWidth=Qt+"px",d.style.left=gr+"px"}else{const Be=L.right-K.right,Ve=window.innerWidth-te.right-Be,St=window.innerWidth-F.right-Ve,Qt=F.width+St,Ur=Math.max(Qt,L.width),$r=window.innerWidth-Fn,gr=td(Ve,[Fn,Math.max(Fn,$r-Ur)]);d.style.minWidth=Qt+"px",d.style.right=gr+"px"}const B=v(),J=window.innerHeight-Fn*2,se=b.scrollHeight,le=window.getComputedStyle(m),ve=parseInt(le.borderTopWidth,10),G=parseInt(le.paddingTop,10),ne=parseInt(le.borderBottomWidth,10),D=parseInt(le.paddingBottom,10),W=ve+G+se+D+ne,Y=Math.min(S.offsetHeight*5,W),O=window.getComputedStyle(b),q=parseInt(O.paddingTop,10),ce=parseInt(O.paddingBottom,10),ue=F.top+F.height/2-Fn,je=J-ue,Pe=S.offsetHeight/2,Z=S.offsetTop+Pe,ge=ve+G+Z,we=W-ge;if(ge<=ue){const Be=B.length>0&&S===B[B.length-1].ref.current;d.style.bottom="0px";const Ve=m.clientHeight-b.offsetTop-b.offsetHeight,St=Math.max(je,Pe+(Be?ce:0)+Ve+ne),Qt=ge+St;d.style.height=Qt+"px"}else{const Be=B.length>0&&S===B[0].ref.current;d.style.top="0px";const St=Math.max(ue,ve+b.offsetTop+(Be?q:0)+Pe)+we;d.style.height=St+"px",b.scrollTop=ge-ue+b.offsetTop}d.style.margin=`${Fn}px 0`,d.style.minHeight=Y+"px",d.style.maxHeight=J+"px",r==null||r(),requestAnimationFrame(()=>N.current=!0)}},[v,a.trigger,a.valueNode,d,m,b,S,j,a.dir,r]);Ut(()=>k(),[k]);const[T,A]=x.useState();Ut(()=>{m&&A(window.getComputedStyle(m).zIndex)},[m]);const U=x.useCallback(F=>{F&&C.current===!0&&(k(),P==null||P(),C.current=!1)},[k,P]);return l.jsx(sF,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:N,onScrollButtonChange:U,children:l.jsx("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:T},children:l.jsx(ke.div,{...i,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});wj.displayName=nF;var rF="SelectPopperPosition",Mp=x.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Fn,...a}=e,c=Kd(n);return l.jsx(ty,{...c,...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)"}})});Mp.displayName=rF;var[sF,ry]=Jo(Ti,{}),Op="SelectViewport",bj=x.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,a=Ls(Op,n),c=ry(Op,n),d=Ie(t,a.onViewportChange),f=x.useRef(0);return l.jsxs(l.Fragment,{children:[l.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}),l.jsx(Wd.Slot,{scope:n,children:l.jsx(ke.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:ie(i.onScroll,m=>{const p=m.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:v}=c;if(v!=null&&v.current&&g){const N=Math.abs(f.current-p.scrollTop);if(N>0){const C=window.innerHeight-Fn*2,b=parseFloat(g.style.minHeight),S=parseFloat(g.style.height),j=Math.max(b,S);if(j<C){const P=j+N,k=Math.min(C,P),T=P-k;g.style.height=k+"px",g.style.bottom==="0px"&&(p.scrollTop=T>0?T:0,g.style.justifyContent="flex-end")}}}f.current=p.scrollTop})})})]})});bj.displayName=Op;var Sj="SelectGroup",[iF,oF]=Jo(Sj),aF=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=$n();return l.jsx(iF,{scope:n,id:i,children:l.jsx(ke.div,{role:"group","aria-labelledby":i,...r,ref:t})})});aF.displayName=Sj;var Nj="SelectLabel",Cj=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=oF(Nj,n);return l.jsx(ke.div,{id:i.id,...r,ref:t})});Cj.displayName=Nj;var od="SelectItem",[lF,jj]=Jo(od),Ej=x.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:a,...c}=e,d=Is(od,n),f=Ls(od,n),m=d.value===r,[p,g]=x.useState(a??""),[v,N]=x.useState(!1),C=Ie(t,P=>{var k;return(k=f.itemRefCallback)==null?void 0:k.call(f,P,r,i)}),b=$n(),S=x.useRef("touch"),j=()=>{i||(d.onValueChange(r),d.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 l.jsx(lF,{scope:n,value:r,disabled:i,textId:b,isSelected:m,onItemTextChange:x.useCallback(P=>{g(k=>k||((P==null?void 0:P.textContent)??"").trim())},[]),children:l.jsx(Wd.ItemSlot,{scope:n,value:r,disabled:i,textValue:p,children:l.jsx(ke.div,{role:"option","aria-labelledby":b,"data-highlighted":v?"":void 0,"aria-selected":m&&v,"data-state":m?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...c,ref:C,onFocus:ie(c.onFocus,()=>N(!0)),onBlur:ie(c.onBlur,()=>N(!1)),onClick:ie(c.onClick,()=>{S.current!=="mouse"&&j()}),onPointerUp:ie(c.onPointerUp,()=>{S.current==="mouse"&&j()}),onPointerDown:ie(c.onPointerDown,P=>{S.current=P.pointerType}),onPointerMove:ie(c.onPointerMove,P=>{var k;S.current=P.pointerType,i?(k=f.onItemLeave)==null||k.call(f):S.current==="mouse"&&P.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ie(c.onPointerLeave,P=>{var k;P.currentTarget===document.activeElement&&((k=f.onItemLeave)==null||k.call(f))}),onKeyDown:ie(c.onKeyDown,P=>{var T;((T=f.searchRef)==null?void 0:T.current)!==""&&P.key===" "||(K3.includes(P.key)&&j(),P.key===" "&&P.preventDefault())})})})})});Ej.displayName=od;var Za="SelectItemText",kj=x.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...a}=e,c=Is(Za,n),d=Ls(Za,n),f=jj(Za,n),m=X3(Za,n),[p,g]=x.useState(null),v=Ie(t,j=>g(j),f.onItemTextChange,j=>{var P;return(P=d.itemTextRefCallback)==null?void 0:P.call(d,j,f.value,f.disabled)}),N=p==null?void 0:p.textContent,C=x.useMemo(()=>l.jsx("option",{value:f.value,disabled:f.disabled,children:N},f.value),[f.disabled,f.value,N]),{onNativeOptionAdd:b,onNativeOptionRemove:S}=m;return Ut(()=>(b(C),()=>S(C)),[b,S,C]),l.jsxs(l.Fragment,{children:[l.jsx(ke.span,{id:f.textId,...a,ref:v}),f.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Ml.createPortal(a.children,c.valueNode):null]})});kj.displayName=Za;var Pj="SelectItemIndicator",Tj=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return jj(Pj,n).isSelected?l.jsx(ke.span,{"aria-hidden":!0,...r,ref:t}):null});Tj.displayName=Pj;var Dp="SelectScrollUpButton",_j=x.forwardRef((e,t)=>{const n=Ls(Dp,e.__scopeSelect),r=ry(Dp,e.__scopeSelect),[i,a]=x.useState(!1),c=Ie(t,r.onScrollButtonChange);return Ut(()=>{if(n.viewport&&n.isPositioned){let d=function(){const m=f.scrollTop>0;a(m)};const f=n.viewport;return d(),f.addEventListener("scroll",d),()=>f.removeEventListener("scroll",d)}},[n.viewport,n.isPositioned]),i?l.jsx(Aj,{...e,ref:c,onAutoScroll:()=>{const{viewport:d,selectedItem:f}=n;d&&f&&(d.scrollTop=d.scrollTop-f.offsetHeight)}}):null});_j.displayName=Dp;var Ip="SelectScrollDownButton",Rj=x.forwardRef((e,t)=>{const n=Ls(Ip,e.__scopeSelect),r=ry(Ip,e.__scopeSelect),[i,a]=x.useState(!1),c=Ie(t,r.onScrollButtonChange);return Ut(()=>{if(n.viewport&&n.isPositioned){let d=function(){const m=f.scrollHeight-f.clientHeight,p=Math.ceil(f.scrollTop)<m;a(p)};const f=n.viewport;return d(),f.addEventListener("scroll",d),()=>f.removeEventListener("scroll",d)}},[n.viewport,n.isPositioned]),i?l.jsx(Aj,{...e,ref:c,onAutoScroll:()=>{const{viewport:d,selectedItem:f}=n;d&&f&&(d.scrollTop=d.scrollTop+f.offsetHeight)}}):null});Rj.displayName=Ip;var Aj=x.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,a=Ls("SelectScrollButton",n),c=x.useRef(null),d=qd(n),f=x.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return x.useEffect(()=>()=>f(),[f]),Ut(()=>{var p;const m=d().find(g=>g.ref.current===document.activeElement);(p=m==null?void 0:m.ref.current)==null||p.scrollIntoView({block:"nearest"})},[d]),l.jsx(ke.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:ie(i.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(r,50))}),onPointerMove:ie(i.onPointerMove,()=>{var m;(m=a.onItemLeave)==null||m.call(a),c.current===null&&(c.current=window.setInterval(r,50))}),onPointerLeave:ie(i.onPointerLeave,()=>{f()})})}),cF="SelectSeparator",Mj=x.forwardRef((e,t)=>
vendor: 5,193 bytes, line 436
436{const{__scopeSelect:n,...r}=e;return l.jsx(ke.div,{"aria-hidden":!0,...r,ref:t})});Mj.displayName=cF;var Lp="SelectArrow",uF=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Kd(n),a=Is(Lp,n),c=Ls(Lp,n);return a.open&&c.position==="popper"?l.jsx(ny,{...i,...r,ref:t}):null});uF.displayName=Lp;var dF="SelectBubbleInput",Oj=x.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=x.useRef(null),a=Ie(r,i),c=Td(t);return x.useEffect(()=>{const d=i.current;if(!d)return;const f=window.HTMLSelectElement.prototype,p=Object.getOwnPropertyDescriptor(f,"value").set;if(c!==t&&p){const g=new Event("change",{bubbles:!0});p.call(d,t),d.dispatchEvent(g)}},[c,t]),l.jsx(ke.select,{...n,style:{...lj,...n.style},ref:a,defaultValue:t})});Oj.displayName=dF;function Dj(e){return e===""||e===void 0}function Ij(e){const t=hr(e),n=x.useRef(""),r=x.useRef(0),i=x.useCallback(c=>{const d=n.current+c;t(d),(function f(m){n.current=m,window.clearTimeout(r.current),m!==""&&(r.current=window.setTimeout(()=>f(""),1e3))})(d)},[t]),a=x.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,a]}function Lj(e,t,n){const i=t.length>1&&Array.from(t).every(m=>m===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let c=fF(e,Math.max(a,0));i.length===1&&(c=c.filter(m=>m!==n));const f=c.find(m=>m.textValue.toLowerCase().startsWith(i.toLowerCase()));return f!==n?f:void 0}function fF(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var hF=uj,Fj=fj,mF=mj,pF=pj,gF=gj,Bj=yj,yF=bj,Vj=Cj,zj=Ej,xF=kj,vF=Tj,Uj=_j,$j=Rj,Hj=Mj;const _s=hF,Rs=mF,Ar=x.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(Fj,{ref:r,className:Se("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,l.jsx(pF,{asChild:!0,children:l.jsx(xd,{className:"h-4 w-4 opacity-50"})})]}));Ar.displayName=Fj.displayName;const Wj=x.forwardRef(({className:e,...t},n)=>l.jsx(Uj,{ref:n,className:Se("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(J_,{className:"h-4 w-4"})}));Wj.displayName=Uj.displayName;const qj=x.forwardRef(({className:e,...t},n)=>l.jsx($j,{ref:n,className:Se("flex cursor-default items-center justify-center py-1",e),...t,children:l.jsx(xd,{className:"h-4 w-4"})}));qj.displayName=$j.displayName;const Mr=x.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>l.jsx(gF,{children:l.jsxs(Bj,{ref:i,className:Se("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:[l.jsx(Wj,{}),l.jsx(yF,{className:Se("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),l.jsx(qj,{})]})}));Mr.displayName=Bj.displayName;const wF=x.forwardRef(({className:e,...t},n)=>l.jsx(Vj,{ref:n,className:Se("px-2 py-1.5 text-sm font-semibold",e),...t}));wF.displayName=Vj.displayName;const Bt=x.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(zj,{ref:r,className:Se("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:[l.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(vF,{children:l.jsx(Lr,{className:"h-4 w-4"})})}),l.jsx(xF,{children:t})]}));Bt.displayName=zj.displayName;const bF=x.forwardRef(({className:e,...t},n)=>l.jsx(Hj,{ref:n,className:Se("-mx-1 my-1 h-px bg-muted",e),...t}));bF.displayName=Hj.displayName;const SF=[{value:"auto",el:"ÎÏ
ÏοκίνηÏο",en:"Auto"},{value:"health",el:"Υγεία",en:"Health"},{value:"home",el:"ÎαÏοικία",en:"Home"},{value:"life",el:"ÎÏή",en:"Life"},{value:"business",el:"ÎÏιÏείÏηÏη",en:"Business"},{value:"travel",el:"Ταξίδι",en:"Travel"},{value:"motorcycle",el:"ÎοÏοÏÏ
κλÎÏα",en:"Motorcycle"},{value:"pet",el:"ÎαÏοικίδιο",en:"Pet"},{value:"other",el:"Îλλο",en:"Other"}],NF=[{value:"morning",el:"Î ÏÏί (9:00-12:00)",en:"Morning (9:00-12:00)"},{value:"afternoon",el:"ÎÏÏγεÏ
μα (12:00-17:00)",en:"Afternoon (12:00-17:00)"},{value:"evening",el:"ÎÏάδÏ
(17:00-20:00)",en:"Evening (17:00-20:00)"},{value:"anytime",el:"ÎÏοιαδήÏοÏε ÏÏα",en:"Anytime"}];function Gd({isOpen:e,onClose:t,defaultInsuranceType:n="",comparisonData:r=null,sourcePage:i=""}){const{t:a,language:c}
436=Ye(),[d,f]=x.useState(!1),[m,p]=x.useState(!1),[g,v]=x.useState({full_name:"",phone:"",email:"",insurance_type:n,description:"",preferred_contact_time:"anytime",gdpr_consent:!1,marketing_consent:!1}),N=async b=>{b.preventDefault(),g.gdpr_consent&&(f(!0),await Fe.entities.Lead.create({...g,source_page:i,comparison_data:r}),f(!1),p(!0))},C=()=>{p(!1),v({full_name:"",phone:"",email:"",insurance_type:n,description:"",preferred_contact_time:"anytime",gdpr_consent:!1,marketing_consent:!1}),t()};return m?l.jsx(Tp,{open:e,onOpenChange:C,children:l.jsx(ed,{className:"sm:max-w-md bg-zinc-900 border-zinc-800",children:l.jsxs("div",{className:"flex flex-col items-center text-center py-8",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/20 flex items-center justify-center mb-4",children:l.jsx(Rl,{className:"w-8 h-8 text-green-500"})}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:a("ÎÏ
ÏαÏιÏÏοÏμε!","Thank you!")}),l.jsx("p",{className:"text-gray-400",children:a("ÎÎ½Î±Ï ÏÏμβοÏ
λÏÏ Î¼Î±Ï Î¸Î± εÏικοινÏνήÏει μαζί ÏÎ±Ï ÏÏνÏομα.","One of our advisors will contact you shortly.")}),l.jsx(Te,{onClick:C,className:"mt-6 bg-amber-500 hover:bg-amber-600 text-black",children:a("ÎλείÏιμο","Close")})]})})}):l.jsx(Tp,{open:e,onOpenChange:C,children:l.jsxs(ed,{className:"sm:max-w-lg bg-zinc-900 border-zinc-800 max-h-[90vh] overflow-y-auto",children:[l.jsxs($g,{children:[l.jsxs(Hg,{className:"text-white flex items-center gap-2",children:[l.jsx(Fr,{className:"w-5 h-5 text-amber-400"}),a("ÎνάθεÏη Ïε ΣÏμβοÏ
λο","Request a Callback")]}),l.jsx(VC,{className:"text-gray-400",children:a("ΣÏ
μÏληÏÏÏÏε Ïα ÏÏοιÏεία ÏÎ±Ï ÎºÎ±Î¹ θα ÏÎ±Ï ÎºÎ±Î»ÎÏοÏ
με δÏÏεάν.","Fill in your details and we will call you for free.")})]}),l.jsxs("form",{onSubmit:N,className:"space-y-4 mt-4",children:[l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{htmlFor:"full_name",className:"text-gray-300",children:[a("ÎνομαÏεÏÏνÏ
μο","Full Name")," *"]}),l.jsx(pt,{id:"full_name",required:!0,value:g.full_name,onChange:b=>v({...g,full_name:b.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{htmlFor:"phone",className:"text-gray-300",children:[a("ΤηλÎÏÏνο","Phone")," *"]}),l.jsx(pt,{id:"phone",type:"tel",required:!0,value:g.phone,onChange:b=>v({...g,phone:b.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{htmlFor:"email",className:"text-gray-300",children:"Email *"}),l.jsx(pt,{id:"email",type:"email",required:!0,value:g.email,onChange:b=>v({...g,email:b.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{className:"text-gray-300",children:[a("ΤÏÏÎ¿Ï ÎÏÏάλιÏηÏ","Insurance Type")," *"]}),l.jsxs(_s,{value:g.insurance_type,onValueChange:b=>v({...g,insurance_type:b}),children:[l.jsx(Ar,{className:"bg-zinc-800 border-zinc-700 text-white",children:l.jsx(Rs,{placeholder:a("ÎÏιλÎξÏε...","Select...")})}),l.jsx(Mr,{className:"bg-zinc-800 border-zinc-700",children:SF.map(b=>l.jsx(Bt,{value:b.value,className:"text-white",children:c==="el"?b.el:b.en},b.value))})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:a("Î ÏοÏιμÏμενη ÎÏα","Preferred Time")}),l.jsxs(_s,{value:g.preferred_contact_time,onValueChange:b=>v({...g,preferred_contact_time:b}),children:[l.jsx(Ar,{className:"bg-zinc-800 border-zinc-700 text-white",children:l.jsx(Rs,{})}),l.jsx(Mr,{className:"bg-zinc-800 border-zinc-700",children:NF.map(b=>l.jsx(Bt,{value:b.value,className:"text-white",children:c==="el"?b.el:b.en},b.value))})]})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{htmlFor:"description",className:"text-gray-300",children:a("ΠεÏιγÏαÏή ÎνάγκηÏ","Brief Description")}
436),l.jsx(Bl,{id:"description",value:g.description,onChange:b=>v({...g,description:b.target.value}),className:"bg-zinc-800 border-zinc-700 text-white min-h-[80px]",placeholder:a("ΠεÏιγÏάÏÏε ÏÏνÏομα Ïι ÏάÏνεÏε...","Briefly describe what you are looking for...")})]}),l.jsxs("div",{className:"space-y-3 pt-2",children:[l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(ji,{id:"gdpr",checked:g.gdpr_consent,onCheckedChange:b=>v({...g,gdpr_consent:b}),className:"mt-1 border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx(We,{htmlFor:"gdpr",className:"text-sm text-gray-400 font-normal leading-relaxed",children:a("Î£Ï Î¼ÏÏÎ½Ï Î¼Îµ Ïην εÏεξεÏγαÏία ÏÏν ÏÏοÏÏÏικÏν Î¼Î¿Ï Î´ÎµÎ´Î¿Î¼ÎνÏν ÏÏμÏÏνα με Ïην ΠολιÏική ÎÏοÏÏήÏÎ¿Ï . *","I agree to the processing of my personal data in accordance with the Privacy Policy. *")})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(ji,{id:"marketing",checked:g.marketing_consent,onCheckedChange:b=>v({...g,marketing_consent:b}),className:"mt-1 border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx(We,{htmlFor:"marketing",className:"text-sm text-gray-400 font-normal leading-relaxed",children:a("ÎÎÎ»Ï Î½Î± Î»Î±Î¼Î²Î¬Î½Ï ÎµÎ½Î·Î¼ÎµÏÏÏÎµÎ¹Ï ÎºÎ±Î¹ ÏÏοÏÏοÏÎÏ.","I want to receive updates and offers.")})]})]}),l.jsx(Te,{type:"submit",disabled:d||!g.gdpr_consent,className:"w-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold h-12",children:d?l.jsxs(l.Fragment,{children:[l.jsx(ir,{className:"w-4 h-4 mr-2 animate-spin"}),a("ÎÏοÏÏολή...","Sending...")]}):a("ÎηÏήÏÏε ÎÏÏεάν ÎλήÏη","Request Free Callback")})]})]})})}const Qd=x.createContext(null);function sy(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const iy=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class CF extends x.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 jF({children:e,isPresent:t}){const n=x.useId(),r=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0}),{nonce:a}=x.useContext(iy);return x.useInsertionEffect(()=>{const{width:c,height:d,top:f,left:m}=i.current;if(t||!r.current||!c||!d)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(` 437 [data-motion-pop-id="${n}"] { 438 position: absolute !important; 439 width: ${c}px !important; 440 height: ${d}px !important; 441 top: ${f}px !important; 442 left: ${m}px !important; 443 } 444 `),()=>{document.head.removeChild(p)}},[t]),l.jsx(CF,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const EF=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:c})=>{const d=sy(kF),f=x.useId(),m=x.useCallback(g=>{d.set(g,!0);for(const v of d.values())if(!v)return;r&&r()},[d,r]),p=x.useMemo(()=>({id:f,initial:t,isPresent:n,custom:i,onExitComplete:m,register:g=>(d.set(g,!1),()=>d.delete(g))}),a?[Math.random(),m]:[n,m]);return x.useMemo(()=>{d.forEach((g,v)=>d.set(v,!1))},[n]),x.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),c==="popLayout"&&(e=l.jsx(jF,{isPresent:n,children:e})),l.jsx(Qd.Provider,{value:p,children:e})};function kF(){return new Map}const oy=x.createContext({}),mn=e=>e;let Kj=mn;function ay(e){let t;return()=>(t===void 0&&(t=e()),t)}const Lo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Or=e=>e*1e3,Dr=e=>e/1e3,Su=e=>e.key||"";function _b(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const ly=typeof window<"u",Gj=ly?x.useLayoutEffect:x.useEffect,ad=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:c="sync"})=>{const d=x.useMemo(()=>_b(e),[e]),f=d.map(Su),m=x.useRef(!0),p=x.useRef(d),g=sy(()=>
vendor: 6,300 bytes, line 444
444new Map),[v,N]=x.useState(d),[C,b]=x.useState(d);Gj(()=>{m.current=!1,p.current=d;for(let P=0;P<C.length;P++){const k=Su(C[P]);f.includes(k)?g.delete(k):g.get(k)!==!0&&g.set(k,!1)}},[C,f.length,f.join("-")]);const S=[];if(d!==v){let P=[...d];for(let k=0;k<C.length;k++){const T=C[k],A=Su(T);f.includes(A)||(P.splice(k,0,T),S.push(T))}c==="wait"&&S.length&&(P=S),b(_b(P)),N(d);return}const{forceRender:j}=x.useContext(oy);return l.jsx(l.Fragment,{children:C.map(P=>{const k=Su(P),T=d===C||f.includes(k),A=()=>{if(g.has(k))g.set(k,!0);else return;let U=!0;g.forEach(F=>{F||(U=!1)}),U&&(j==null||j(),b(p.current),i&&i())};return l.jsx(EF,{isPresent:T,initial:!m.current||r?void 0:!1,custom:T?void 0:n,presenceAffectsLayout:a,mode:c,onExitComplete:T?void 0:A,children:P},k)})})},PF={useManualTiming:!1};function TF(e){let t=new Set,n=new Set,r=!1,i=!1;const a=new WeakSet;let c={delta:0,timestamp:0,isProcessing:!1};function d(m){a.has(m)&&(f.schedule(m),e()),m(c)}const f={schedule:(m,p=!1,g=!1)=>{const N=g&&r?t:n;return p&&a.add(m),N.has(m)||N.add(m),m},cancel:m=>{n.delete(m),a.delete(m)},process:m=>{if(c=m,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(d),t.clear(),r=!1,i&&(i=!1,f.process(m))}};return f}const Nu=["read","resolveKeyframes","update","preRender","render","postRender"],_F=40;function Qj(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,c=Nu.reduce((j,P)=>(j[P]=TF(a),j),{}),{read:d,resolveKeyframes:f,update:m,preRender:p,render:g,postRender:v}=c,N=()=>{const j=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(j-i.timestamp,_F),1),i.timestamp=j,i.isProcessing=!0,d.process(i),f.process(i),m.process(i),p.process(i),g.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(N))},C=()=>{n=!0,r=!0,i.isProcessing||e(N)};return{schedule:Nu.reduce((j,P)=>{const k=c[P];return j[P]=(T,A=!1,U=!1)=>(n||C(),k.schedule(T,A,U)),j},{}),cancel:j=>{for(let P=0;P<Nu.length;P++)c[Nu[P]].cancel(j)},state:i,steps:c}}const{schedule:nt,cancel:Os,state:Mt,steps:Rm}=Qj(typeof requestAnimationFrame<"u"?requestAnimationFrame:mn,!0),Yj=x.createContext({strict:!1}),Rb={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"]},Fo={};for(const e in Rb)Fo[e]={isEnabled:t=>Rb[e].some(n=>!!t[n])};function RF(e){for(const t in e)Fo[t]={...Fo[t],...e[t]}}const AF=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 ld(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||AF.has(e)}let Xj=e=>!ld(e);function MF(e){e&&(Xj=t=>t.startsWith("on")?!ld(t):e(t))}try{MF(require("@emotion/is-prop-valid").default)}catch{}function OF(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Xj(i)||n===!0&&ld(i)||!t&&!ld(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function DF(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 Yd=x.createContext({});function gl(e){return typeof e=="string"||Array.isArray(e)}function Xd(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const cy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],uy=["initial",...cy];function Jd(e){return Xd(e.animate)||uy.some(t=>gl(e[t]))}function Jj(e){return!!(Jd(e)||e.variants)}function IF(e,t){if(Jd(e)){const{initial:n,animate:r}=e;return{initial:n===!1||gl(n)?n:void 0,animate:gl(r)?r:void 0}}return e.inherit!==!1?t:{}}function LF(e){const{initial:t,animate:n}=IF(e,x.useContext(Yd));return x.useMemo(()=>({initial:t,animate:n}),[Ab(t),Ab(n)])}function Ab(e){return Array.isArray(e)?e.join(" "):e}const FF=Symbol.for("motionComponentSymbol");function po(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function BF(e,t,n){return x.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):po(n)&&(n.current=r))},[t])}const dy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),VF="framerAppearId",Zj="data-"+dy(VF),{schedule:fy}=Qj(queueMicrotask,!1),eE=x.createContext({});function zF(e,t,n,r,i){var a,c;const{visualElement:d}=x.useContext(Yd),f=x.useContext(Yj),m=x.useContext(Qd),p=x.useContext(iy).reducedMotion,g=x.useRef(null);r=r||f.renderer,!g.current&&r&&(g.current=r(e,{visualState:t,parent:d,props:n,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:p}));const v=g.current,N=x.useContext(eE);v&&!v.projection&&i&&(v.type==="html"||v.type==="svg")&&UF(g.current,n,i,N);const C=x.useRef(!1);x.useInsertionEffect(()=>{v&&C.current&&v.update(n,m)});const b=n[Zj],S=x.useRef(!!b&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,b))&&((c=window.MotionHasOptimisedAnimation)===null||c===void 0?void 0:c.call(window,b)));return Gj(()=>{v&&(C.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),fy.render(v.render),S.current&&v.animationState&&v.animationState.animateChanges())}),x.useEffect(()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var j;(j=window.MotionHandoffMarkAsComplete)===null||j===void 0||j.call(window,b)}),S.current=!1))}),v}function UF(e,t,n,r){const{layoutId:i,layout:a,drag:c,dragConstraints:d,layoutScroll:f,layoutRoot:m}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:tE(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!c||d&&po(d),visualElement:e,animationType:typeof a=="str
444ing"?a:"both",initialPromotionConfig:r,layoutScroll:f,layoutRoot:m})}function tE(e){if(e)return e.options.allowProjection!==!1?e.projection:tE(e.parent)}function $F({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){var a,c;e&&RF(e);function d(m,p){let g;const v={...x.useContext(iy),...m,layoutId:HF(m)},{isStatic:N}=v,C=LF(m),b=r(m,N);if(!N&&ly){WF();const S=qF(v);g=S.MeasureLayout,C.visualElement=zF(i,b,v,t,S.ProjectionNode)}return l.jsxs(Yd.Provider,{value:C,children:[g&&C.visualElement?l.jsx(g,{visualElement:C.visualElement,...v}):null,n(i,m,BF(b,C.visualElement,p),b,N,C.visualElement)]})}d.displayName=`motion.${typeof i=="string"?i:`create(${(c=(a=i.displayName)!==null&&a!==void 0?a:i.name)!==null&&c!==void 0?c:""})`}`;const f=x.forwardRef(d);return f[FF]=i,f}function HF({layoutId:e}){const t=x.useContext(oy).id;return t&&e!==void 0?t+"-"+e:e}function WF(e,t){x.useContext(Yj).strict}function qF(e){const{drag:t,layout:n}=Fo;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 KF=["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 hy(e){return typeof e!="string"||e.includes("-")?!1:!!(KF.indexOf(e)>-1||/[A-Z]/u.test(e))}function nE(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 rE=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 sE(e,t,n,r){nE(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(rE.has(i)?i:dy(i),t.attrs[i])}const zt=e=>!!(e&&e.getVelocity),cd={};function GF(e){Object.assign(cd,e)}const Hl=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Mi=new Set(Hl);function iE(e,{layout:t,layoutId:n}){return Mi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!cd[e]||e==="opacity")}function my(e,t,n){var r;const{style:i}=e,a={};for(const c in i)(zt(i[c])||t.style&&zt(t.style[c])||iE(c,e)||((r=n==null?void 0:n.getValue(c))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[c]=i[c]);return a}function oE(e,t,n){const r=my(e,t,n);for(const i in e)if(zt(e[i])||zt(t[i])){const a=Hl.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=e[i]}return r}function Mb(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function py(e,t,n,r){if(typeof t=="function"){const[i,a]=Mb(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]=Mb(r);t=t(n!==void 0?n:e.custom,i,a)}return t}const Fp=e=>Array.isArray(e),QF=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),YF=e=>Fp(e)?e[e.length-1]||0:e;function Uu(e){const t=zt(e)?e.get():e;return QF(t)?t.toValue():t}function XF({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const c={latestValues:JF(r,i,a,e),renderState:t()};return n&&(c.mount=d=>n(r,d,c)),c}const aE=e=>(t,n)=>{const r=x.useContext(Yd),i=x.useContext(Qd),a=()=>XF(e,t,r,i);return n?a():sy(a)};function JF(e,t,n,r){const i={},a=r(e,{});for(const v in a)i[v]=Uu(a[v]);let{initial:c,animate:d}=e;const f=Jd(e),m=Jj(e);t&&m&&!f&&e.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let p=n?n.initial===!1:!1;p=p||c===!1;const g=p?d:c;if(g&&typeof g!="boolean"&&!Xd(g)){const v=Array.isArray(g)?g:[g];for(let N=0;N<v.length;N++){const C=py(e,v[N]);if(C){const{transitionEnd:b,transition:S,...j}=C;for(const P in j){let k=j[P];if(Array.isArray(k)){const T=p?k.length-1:0;k=k[T]}k!==null&&(i[P]=k)}for(const P in b)i[P]=b[P]}}}return i}const gy=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),lE=()=>({...gy(),attrs:{}}),cE=(e,t)=>t&&typeof e=="number"?t.transform(e):e,zr=(e,t,n)=>n>t?t:n<e?e:n,Zo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},yl={...Zo,transform:e=>zr(0,1,e)},Cu={...Zo,default:1},Wl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ps=Wl("deg"),cr=Wl("%"),Ee=Wl("px"),ZF=Wl("vh"),e6=Wl("vw"),Ob={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},t6={borderWidth:Ee,borderTopWidth:Ee,borderRightWidth:Ee,borderBottomWidth:Ee,borderLeftWidth:Ee,borderRadius:Ee,radiu
vendor: 28,281 bytes, line 444
444s:Ee,borderTopLeftRadius:Ee,borderTopRightRadius:Ee,borderBottomRightRadius:Ee,borderBottomLeftRadius:Ee,width:Ee,maxWidth:Ee,height:Ee,maxHeight:Ee,top:Ee,right:Ee,bottom:Ee,left:Ee,padding:Ee,paddingTop:Ee,paddingRight:Ee,paddingBottom:Ee,paddingLeft:Ee,margin:Ee,marginTop:Ee,marginRight:Ee,marginBottom:Ee,marginLeft:Ee,backgroundPositionX:Ee,backgroundPositionY:Ee},n6={rotate:ps,rotateX:ps,rotateY:ps,rotateZ:ps,scale:Cu,scaleX:Cu,scaleY:Cu,scaleZ:Cu,skew:ps,skewX:ps,skewY:ps,distance:Ee,translateX:Ee,translateY:Ee,translateZ:Ee,x:Ee,y:Ee,z:Ee,perspective:Ee,transformPerspective:Ee,opacity:yl,originX:Ob,originY:Ob,originZ:Ee},Db={...Zo,transform:Math.round},yy={...t6,...n6,zIndex:Db,size:Ee,fillOpacity:yl,strokeOpacity:yl,numOctaves:Db},r6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},s6=Hl.length;function i6(e,t,n){let r="",i=!0;for(let a=0;a<s6;a++){const c=Hl[a],d=e[c];if(d===void 0)continue;let f=!0;if(typeof d=="number"?f=d===(c.startsWith("scale")?1:0):f=parseFloat(d)===0,!f||n){const m=cE(d,yy[c]);if(!f){i=!1;const p=r6[c]||c;r+=`${p}(${m}) `}n&&(t[c]=m)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}const uE=e=>t=>typeof t=="string"&&t.startsWith(e),dE=uE("--"),o6=uE("var(--"),xy=e=>o6(e)?a6.test(e.split("/*")[0].trim()):!1,a6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function vy(e,t,n){const{style:r,vars:i,transformOrigin:a}=e;let c=!1,d=!1;for(const f in t){const m=t[f];if(Mi.has(f)){c=!0;continue}else if(dE(f)){i[f]=m;continue}else{const p=cE(m,yy[f]);f.startsWith("origin")?(d=!0,a[f]=p):r[f]=p}}if(t.transform||(c||n?r.transform=i6(t,e.transform,n):r.transform&&(r.transform="none")),d){const{originX:f="50%",originY:m="50%",originZ:p=0}=a;r.transformOrigin=`${f} ${m} ${p}`}}function Ib(e,t,n){return typeof e=="string"?e:Ee.transform(t+n*e)}function l6(e,t,n){const r=Ib(t,e.x,e.width),i=Ib(n,e.y,e.height);return`${r} ${i}`}const c6={offset:"stroke-dashoffset",array:"stroke-dasharray"},u6={offset:"strokeDashoffset",array:"strokeDasharray"};function d6(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?c6:u6;e[a.offset]=Ee.transform(-r);const c=Ee.transform(t),d=Ee.transform(n);e[a.array]=`${c} ${d}`}function wy(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:c,pathSpacing:d=1,pathOffset:f=0,...m},p,g){if(vy(e,m,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:N,dimensions:C}=e;v.transform&&(C&&(N.transform=v.transform),delete v.transform),C&&(i!==void 0||a!==void 0||N.transform)&&(N.transformOrigin=l6(C,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),c!==void 0&&d6(v,c,d,f,!1)}const by=e=>typeof e=="string"&&e.toLowerCase()==="svg",f6={useVisualState:aE({scrapeMotionValuesFromProps:oE,createRenderState:lE,onMount:(e,t,{renderState:n,latestValues:r})=>{nt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),nt.render(()=>{wy(n,r,by(t.tagName),e.transformTemplate),sE(t,n)})}})},h6={useVisualState:aE({scrapeMotionValuesFromProps:my,createRenderState:gy})};function fE(e,t,n){for(const r in t)!zt(t[r])&&!iE(r,n)&&(e[r]=t[r])}function m6({transformTemplate:e},t){return x.useMemo(()=>{const n=gy();return vy(n,t,e),Object.assign({},n.vars,n.style)},[t])}function p6(e,t){const n=e.style||{},r={};return fE(r,n,e),Object.assign(r,m6(e,t)),r}function g6(e,t){const n={},r=p6(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 y6(e,t,n,r){const i=x.useMemo(()=>{const a=lE();return wy(a,t,by(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};fE(a,e.style,e),i.style={...a,...i.style}}return i}function x6(e=!1){return(n,r,i,{latestValues:a},c)=>{const f=(hy(n)?y6:g6)(r,a,c,n),m=OF(r,typeof n=="string",e),p=n!==x.Fragment?{...m,...f,ref:i}:{},{children:g}=r,v=x.useMemo(()=>zt(g)?g.get():g,[g]);return x.createElement(n,{...p,children:v})}}function v6(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const c={...hy(r)?f6:h6,preloadedFeatures:e,useRender:x6(i),createVisualElement:t,Component:r};return $F(c)}}function hE(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 Zd(e,t,n){const r=e.getProps();return py(r,t,n!==void 0?n:r.custom,e)}const w6=ay(()=>window.ScrollTimeline!==void 0);class b6{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(w6()&&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 S6 extends b6{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function Sy(e,t){return e?e[t]||e.default||e:void 0}const Bp=2e4;function mE(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Bp;)t+=n,r=e.next(t);return t>=Bp?1/0:t}function Ny(e){return typeof e=="function"}function Lb(e,t){e.timeline=t,e.onfinish=null}const Cy=e=>Array.isArray(e)&&typeof e[0]=="number",N6={linearEasing:void 0};function C6(e,t){const n=ay(e);return()=>{var r;return(r=N6[t])!==null&&r!==void 0?r:n()}}const ud=C6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),pE=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let a=0;a<i;a++)r+=e(Lo(0,i-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function gE(e){return!!(typeof e=="function"&&ud()||!e||typeof e=="string"&&(e in Vp||ud())||Cy(e)||Array.isArray(e)&&e.every(gE))}const el=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Vp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:el([0,.65,.55,1]),circOut:el([.55,0,1,.45]),backIn:el([.31,.01,.66,-.59]),backOut:el([.33,1.53,.69,.99])};function yE(e,t){if(e)return typeof e=="function"&&ud()?pE(e,t):Cy(e)?el(e):Array.isArray(e)?e.map(n=>yE(n,t)||Vp.easeOut):Vp[e]}const Bn={x:!1,y:!1};function xE(){return Bn.x||Bn.y}function j6(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 vE(e,t){const n=j6(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function Fb(e){return t=>{t.pointerType==="touch"||xE()||e(t)}}function E6(e,t,n={}){const[r,i,a]=vE(e,n),c=Fb(d=>{const{target:f}=d,m=t(d);if(typeof m!="function"||!f)return;const p=Fb(g=>{m(g),f.removeEventListener("pointerleave",p)});f.addEventListener("pointerleave",p,i)});return r.forEach(d=>{d.addEventListener("pointerenter",c,i)}),a}const wE=(e,t)=>t?e===t?!0:wE(e,t.parentElement):!1,jy=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,k6=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function P6(e){return k6.has(e.tagName)||e.tabIndex!==-1}const tl=new WeakSet;function Bb(e){return t=>{t.key==="Enter"&&e(t)}}function Am(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const T6=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Bb(()=>{if(tl.has(n))return;Am(n,"down");const i=Bb(()=>{Am(n,"up")}),a=()=>Am(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 Vb(e){return jy(e)&&!xE()}function _6(e,t,n={}){const[r,i,a]=vE(e,n),c=d=>{const f=d.currentTarget;if(!Vb(d)||tl.has(f))return;tl.add(f);const m=t(d),p=(N,C)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",v),!(!Vb(N)||!tl.has(f))&&(tl.delete(f),typeof m=="function"&&m(N,{success:C}))},g=N=>{p(N,n.useGlobalTarget||wE(f,N.target))},v=N=>{p(N,!1)};window.addEventListener("pointerup",g,i),window.addEventListener("pointercancel",v,i)};return r.forEach(d=>{!P6(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(n.useGlobalTarget?window:d).addEventListener("pointerdown",c,i),d.addEventListener("focus",m=>T6(m,i),i)}),a}function R6(e){return e==="x"||e==="y"?Bn[e]?null:(Bn[e]=!0,()=>{Bn[e]=!1}):Bn.x||Bn.y?null:(Bn.x=Bn.y=!0,()=>{Bn.x=Bn.y=!1})}let $u;function A6(){$u=void 0}const ur={now:()=>($u===void 0&&ur.set(Mt.isProcessing||PF.useManualTiming?Mt.timestamp:performance.now()),$u),set:e=>{$u=e,queueMicrotask(A6)}};function Ey(e,t){e.indexOf(t)===-1&&e.push(t)}function ky(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Py{constructor(){this.subscriptions=[]}add(t){return Ey(this.subscriptions,t),()=>ky(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 c=this.subscriptions[a];c&&c(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function bE(e,t){return t?e*(1e3/t):0}const zb=30,M6=e=>!isNaN(parseFloat(e));class O6{constructor(t,n={}){this.version="11.16.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=ur.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=ur.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=M6(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 Py);const r=this.events[t].add(n);return t==="change"?()=>{r(),nt.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=ur.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>zb)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zb);return bE(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 xl(e,t){return new O6(e,t)}function D6(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,xl(n))}function I6(e,t){const n=Zd(e,t);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const c in a){const d=YF(a[c]);D6(e,c,d)}}function L6(e){return!!(zt(e)&&e.add)}function zp(e,t){const n=e.getValue("willChange");if(L6(n))return n.add(t)}function SE(e){return e.props[Zj]}const NE=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,F6=1e-7,B6=12;function V6(e,t,n,r,i){let a,c,d=0;do c=t+(n-t)/2,a=NE(c,r,i)-e,a>0?n=c:t=c;while(Math.abs(a)>F6&&++d<B6);return c}function ql(e,t,n,r){if(e===t&&n===r)return mn;const i=a=>V6(a,0,1,e,n);return a=>a===0||a===1?a:NE(i(a),t,r)}const CE=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,jE=e=>t=>1-e(1-t),EE=ql(.33,1.53,.69,.99),Ty=jE(EE),kE=CE(Ty),PE=e=>(e*=2)<1?.5*Ty(e):.5*(2-Math.pow(2,-10*(e-1))),_y=e=>1-Math.sin(Math.acos(e)),TE=jE(_y),_E=CE(_y),RE=e=>/^0[^.\s]+$/u.test(e);function z6(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||RE(e):!0}const AE=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),U6=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $6(e){const t=U6.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function ME(e,t,n=1){const[r,i]=$6(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const c=a.trim();return AE(c)?parseFloat(c):c}return xy(i)?ME(i,t,n+1):i}const H6=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ub=e=>e===Zo||e===Ee,$b=(e,t)=>parseFloat(e.split(", ")[t]),Hb=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return $b(i[1],t);{const a=r.match(/^matrix\((.+)\)$/u);return a?$b(a[1],e):0}},W6=new Set(["x","y","z"]),q6=Hl.filter(e=>!W6.has(e));function K6(e){const t=[];return q6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Bo={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:Hb(4,13),y:Hb(5,14)};Bo.translateX=Bo.x;Bo.translateY=Bo.y;const OE=e=>t=>t.test(e),G6={test:e=>e==="auto",parse:e=>e},DE=[Zo,Ee,cr,ps,e6,ZF,G6],Wb=e=>DE.find(OE(e)),xi=new Set;let Up=!1,$p=!1;function IE(){if($p){const e=Array.from(xi).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=K6(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,c])=>{var d;(d=r.getValue(a))===null||d===void 0||d.set(c)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}$p=!1,Up=!1,xi.forEach(e=>e.complete()),xi.clear()}function LE(){xi.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&($p=!0)})}function Q6(){LE(),IE()}class Ry{constructor(t,n,r,i,a,c=!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=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(xi.add(this),Up||(Up=!0,nt.read(LE),nt.resolveKeyframes(IE))):(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 c=i==null?void 0:i.get(),d=t[t.length-1];if(c!==void 0)t[0]=c;else if(r&&n){const f=r.readValue(n,d);f!=null&&(t[0]=f)}t[0]===void 0&&(t[0]=d),i&&c===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),xi.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,xi.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ol=e=>Math.round(e*1e5)/1e5,Ay=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Y6(e){return e==null}const X6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,My=(e,t)=>n=>!!(typeof n=="string"&&X6.test(n)&&n.startsWith(e)||t&&!Y6(n)&&Object.prototype.hasOwnProperty.call(n,t)),FE=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,a,c,d]=r.match(Ay);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},J6=e=>zr(0,255,e),Mm={...Zo,transform:e=>Math.round(J6(e))},ai={test:My("rgb","red"),parse:FE("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Mm.transform(e)+", "+Mm.transform(t)+", "+Mm.transform(n)+", "+ol(yl.transform(r))+")"};function Z6(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 Hp={test:My("#"),parse:Z6,transform:ai.transform},go={test:My("hsl","hue"),parse:FE("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(ol(t))+", "+cr.transform(ol(n))+", "+ol(yl.transform(r))+")"},Ft={test:e=>ai.test(e)||Hp.test(e)||go.test(e),parse:e=>ai.test(e)?ai.parse(e):go.test(e)?go.parse(e):Hp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ai.transform(e):go.transform(e)},eB=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function tB(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Ay))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(eB))===null||n===void 0?void 0:n.length)||0)>0}const BE="number",VE="color",nB="var",rB="var(",qb="${}",sB=/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 vl(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const d=t.replace(sB,f=>(Ft.test(f)?(r.color.push(a),i.push(VE),n.push(Ft.parse(f))):f.startsWith(rB)?(r.var.push(a),i.push(nB),n.push(f)):(r.number.push(a),i.push(BE),n.push(parseFloat(f))),++a,qb)).split(qb);return{values:n,split:d,indexes:r,types:i}}function zE(e){return vl(e).values}function UE(e){const{split:t,types:n}=vl(e),r=t.length;return i=>{let a="";for(let c=0;c<r;c++)if(a+=t[c],i[c]!==void 0){const d=n[c];d===BE?a+=ol(i[c]):d===VE?a+=Ft.transform(i[c]):a+=i[c]}return a}}const iB=e=>typeof e=="number"?0:e;function oB(e){const t=zE(e);return UE(e)(t.map(iB))}const Ds={test:tB,parse:zE,createTransformer:UE,getAnimatableNone:oB},aB=new Set(["brightness","contrast","saturate","opacity"]);function lB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ay)||[];if(!r)return e;const i=n.replace(r,"");let a=aB.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const cB=/\b([a-z-]*)\(.*?\)/gu,Wp={...Ds,getAnimatableNone:e=>{const t=e.match(cB);return t?t.map(lB).join(" "):e}},uB={...yy,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:Wp,WebkitFilter:Wp},Oy=e=>uB[e];function $E(e,t){let n=Oy(e);return n!==Wp&&(n=Ds),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const dB=new Set(["auto","none","0"]);function fB(e,t,n){let r=0,i;for(;r<e.length&&!i;){const a=e[r];typeof a=="string"&&!dB.has(a)&&vl(a).values.length&&(i=e[r]),r++}if(i&&n)for(const a of t)e[a]=$E(n,i)}class HE extends Ry{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 f=0;f<t.length;f++){let m=t[f];if(typeof m=="string"&&(m=m.trim(),xy(m))){const p=ME(m,n.current);p!==void 0&&(t[f]=p),f===t.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!H6.has(r)||t.length!==2)return;const[i,a]=t,c=Wb(i),d=Wb(a);if(c!==d)if(Ub(c)&&Ub(d))for(let f=0;f<t.length;f++){const m=t[f];typeof m=="string"&&(t[f]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)z6(t[i])&&r.push(i);r.length&&fB(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=Bo[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 c=i.length-1,d=i[c];i[c]=Bo[r](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([f,m])=>{n.getValue(f).set(m)}),this.resolveNoneKeyframes()}}const Kb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ds.test(e)||e==="0")&&!e.startsWith("url("));function hB(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 mB(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],c=Kb(i,t),d=Kb(a,t);return!c||!d?!1:hB(e)||(n==="spring"||Ny(n))&&r}const pB=e=>e!==null;function ef(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(pB),a=t&&n!=="loop"&&t%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}const gB=40;class WE{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:c="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ur.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:a,repeatType:c,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>gB?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Q6(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=ur.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:a,delay:c,onComplete:d,onUpdate:f,isGenerator:m}=this.options;if(!m&&!mB(t,r,i,a))if(c)this.options.duration=0;else{f==null||f(ef(t,this.options,n)),d==null||d(),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 ot=(e,t,n)=>e+(t-e)*n;function Om(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 yB({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,c=0;if(!t)i=a=c=n;else{const d=n<.5?n*(1+t):n+t-n*t,f=2*n-d;i=Om(f,d,e+1/3),a=Om(f,d,e),c=Om(f,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(c*255),alpha:r}}function dd(e,t){return n=>n>0?t:e}const Dm=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},xB=[Hp,ai,go],vB=e=>xB.find(t=>t.test(e));function Gb(e){const t=vB(e);if(!t)return!1;let n=t.parse(e);return t===go&&(n=yB(n)),n}const Qb=(e,t)=>{const n=Gb(e),r=Gb(t);if(!n||!r)return dd(e,t);const i={...n};return a=>(i.red=Dm(n.red,r.red,a),i.green=Dm(n.green,r.green,a),i.blue=Dm(n.blue,r.blue,a),i.alpha=ot(n.alpha,r.alpha,a),ai.transform(i))},wB=(e,t)=>n=>t(e(n)),Kl=(...e)=>e.reduce(wB),qp=new Set(["none","hidden"]);function bB(e,t){return qp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function SB(e,t){return n=>ot(e,t,n)}function Dy(e){return typeof e=="number"?SB:typeof e=="string"?xy(e)?dd:Ft.test(e)?Qb:jB:Array.isArray(e)?qE:typeof e=="object"?Ft.test(e)?Qb:NB:dd}function qE(e,t){const n=[...e],r=n.length,i=e.map((a,c)=>Dy(a)(a,t[c]));return a=>{for(let c=0;c<r;c++)n[c]=i[c](a);return n}}function NB(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Dy(e[i])(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}}function CB(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const c=t.types[a],d=e.indexes[c][i[c]],f=(n=e.values[d])!==null&&n!==void 0?n:0;r[a]=f,i[c]++}return r}const jB=(e,t)=>{const n=Ds.createTransformer(t),r=vl(e),i=vl(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?qp.has(e)&&!i.values.length||qp.has(t)&&!r.values.length?bB(e,t):Kl(qE(CB(r,i),i.values),n):dd(e,t)};function KE(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ot(e,t,n):Dy(e)(e,t)}const EB=5;function GE(e,t,n){const r=Math.max(t-EB,0);return bE(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},Im=.001;function kB({duration:e=ct.duration,bounce:t=ct.bounce,velocity:n=ct.velocity,mass:r=ct.mass}){let i,a,c=1-t;c=zr(ct.minDamping,ct.maxDamping,c),e=zr(ct.minDuration,ct.maxDuration,Dr(e)),c<1?(i=m=>{const p=m*c,g=p*e,v=p-n,N=Kp(m,c),C=Math.exp(-g);return Im-v/N*C},a=m=>{const g=m*c*e,v=g*n+n,N=Math.pow(c,2)*Math.pow(m,2)*e,C=Math.exp(-g),b=Kp(Math.pow(m,2),c);return(-i(m)+Im>0?-1:1)*((v-N)*C)/b}):(i=m=>{const p=Math.exp(-m*e),g=(m-n)*e+1;return-Im+p*g},a=m=>{const p=Math.exp(-m*e),g=(n-m)*(e*e);return p*g});const d=5/e,f=TB(i,a,d);if(e=Or(e),isNaN(f))return{stiffness:ct.stiffness,damping:ct.damping,duration:e};{const m=Math.pow(f,2)*r;return{stiffness:m,damping:c*2*Math.sqrt(r*m),duration:e}}}const PB=12;function TB(e,t,n){let r=n;for(let i=1;i<PB;i++)r=r-e(r)/t(r);return r}function Kp(e,t){return e*Math.sqrt(1-t*t)}const _B=["duration","bounce"],RB=["stiffness","damping","mass"];function Yb(e,t){return t.some(n=>e[n]!==void 0)}function AB(e){let t={velocity:ct.velocity,stiffness:ct.stiffness,damping:ct.damping,mass:ct.mass,isResolvedFromDuration:!1,...e};if(!Yb(e,RB)&&Yb(e,_B))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*zr(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ct.mass,stiffness:i,damping:a}}else{const n=kB(e);t={...t,...n,mass:ct.mass},t.isResolvedFromDuration=!0}return t}function QE(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],c=n.keyframes[n.keyframes.length-1],d={done:!1,value:a},{stiffness:f,damping:m,mass:p,duration:g,velocity:v,isResolvedFromDuration:N}=AB({...n,velocity:-Dr(n.velocity||0)}),C=v||0,b=m/(2*Math.sqrt(f*p)),S=c-a,j=Dr(Math.sqrt(f/p)),P=Math.abs(S)<5;r||(r=P?ct.restSpeed.granular:ct.restSpeed.default),i||(i=P?ct.restDelta.granular:ct.restDelta.default);let k;if(b<1){const A=Kp(j,b);k=U=>{const F=Math.exp(-b*j*U);return c-F*((C+b*j*S)/A*Math.sin(A*U)+S*Math.cos(A*U))}}else if(b===1)k=A=>c-Math.exp(-j*A)*(S+(C+j*S)*A);else{const A=j*Math.sqrt(b*b-1);k=U=>{const F=Math.exp(-b*j*U),L=Math.min(A*U,300);return c-F*((C+b*j*S)*Math.sinh(L)+A*S*Math.cosh(L))/A}}const T={calculatedDuration:N&&g||null,next:A=>{const U=k(A);if(N)d.done=A>=g;else{let F=0;b<1&&(F=A===0?Or(C):GE(k,A,U));const L=Math.abs(F)<=r,te=Math.abs(c-U)<=i;d.done=L&&te}return d.value=d.done?c:U,d},toString:()=>{const A=Math.min(mE(T),Bp),U=pE(F=>T.next(A*F).value,A,30);return A+"ms "+U}
vendor: 5,150 bytes, line 444
444};return T}function Xb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:c,min:d,max:f,restDelta:m=.5,restSpeed:p}){const g=e[0],v={done:!1,value:g},N=L=>d!==void 0&&L<d||f!==void 0&&L>f,C=L=>d===void 0?f:f===void 0||Math.abs(d-L)<Math.abs(f-L)?d:f;let b=n*t;const S=g+b,j=c===void 0?S:c(S);j!==S&&(b=j-g);const P=L=>-b*Math.exp(-L/r),k=L=>j+P(L),T=L=>{const te=P(L),K=k(L);v.done=Math.abs(te)<=m,v.value=v.done?j:K};let A,U;const F=L=>{N(v.value)&&(A=L,U=QE({keyframes:[v.value,C(v.value)],velocity:GE(k,L,v.value),damping:i,stiffness:a,restDelta:m,restSpeed:p}))};return F(0),{calculatedDuration:null,next:L=>{let te=!1;return!U&&A===void 0&&(te=!0,T(L),F(L)),A!==void 0&&L>=A?U.next(L-A):(!te&&T(L),v)}}}const MB=ql(.42,0,1,1),OB=ql(0,0,.58,1),YE=ql(.42,0,.58,1),DB=e=>Array.isArray(e)&&typeof e[0]!="number",IB={linear:mn,easeIn:MB,easeInOut:YE,easeOut:OB,circIn:_y,circInOut:_E,circOut:TE,backIn:Ty,backInOut:kE,backOut:EE,anticipate:PE},Jb=e=>{if(Cy(e)){Kj(e.length===4);const[t,n,r,i]=e;return ql(t,n,r,i)}else if(typeof e=="string")return IB[e];return e};function LB(e,t,n){const r=[],i=n||KE,a=e.length-1;for(let c=0;c<a;c++){let d=i(e[c],e[c+1]);if(t){const f=Array.isArray(t)?t[c]||mn:t;d=Kl(f,d)}r.push(d)}return r}function FB(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(Kj(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 c=LB(t,r,i),d=c.length,f=m=>{let p=0;if(d>1)for(;p<e.length-2&&!(m<e[p+1]);p++);const g=Lo(e[p],e[p+1],m);return c[p](g)};return n?m=>f(zr(e[0],e[a-1],m)):f}function BB(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Lo(0,t,r);e.push(ot(n,1,i))}}function VB(e){const t=[0];return BB(t,e.length-1),t}function zB(e,t){return e.map(n=>n*t)}function UB(e,t){return e.map(()=>t||YE).splice(0,e.length-1)}function fd({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=DB(r)?r.map(Jb):Jb(r),a={done:!1,value:t[0]},c=zB(n&&n.length===t.length?n:VB(t),e),d=FB(c,t,{ease:Array.isArray(i)?i:UB(t,i)});return{calculatedDuration:e,next:f=>(a.value=d(f),a.done=f>=e,a)}}const $B=e=>{const t=({timestamp:n})=>e(n);return{start:()=>nt.update(t,!0),stop:()=>Os(t),now:()=>Mt.isProcessing?Mt.timestamp:ur.now()}},HB={decay:Xb,inertia:Xb,tween:fd,keyframes:fd,spring:QE},WB=e=>e/100;class Iy extends WE{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:f}=this.options;f&&f()};const{name:n,motionValue:r,element:i,keyframes:a}=this.options,c=(i==null?void 0:i.KeyframeResolver)||Ry,d=(f,m)=>this.onKeyframesResolved(f,m);this.resolver=new c(a,d,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:c=0}=this.options,d=Ny(n)?n:HB[n]||fd;let f,m;d!==fd&&typeof t[0]!="number"&&(f=Kl(WB,KE(t[0],t[1])),t=[0,100]);const p=d({...this.options,keyframes:t});a==="mirror"&&(m=d({...this.options,keyframes:[...t].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=mE(p));const{calculatedDuration:g}=p,v=g+i,N=v*(r+1)-i;return{generator:p,mirroredGenerator:m,mapPercentToKeyframes:f,calculatedDuration:g,resolvedDuration:v,totalDuration:N}}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:L}=this.options;return{done:!0,value:L[L.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:c,mapPercentToKeyframes:d,keyframes:f,calculatedDuration:m,totalDuration:p,resolvedDuration:g}=r;if(this.startTime===null)return a.next(0);const{delay:v,repeat:N,repeatType:C,repeatDelay:b,onUpdate:S}=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 j=this.currentTime-v*(this.speed>=0?1:-1),P=this.speed>=0?j<0:j>p;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let k=this.currentTime,T=a;if(N){const L=Math.min(this.currentTime,p)/g;let te=Math.floor(L),K=L%1;!K&&L>=1&&(K=1),K===1&&te--,te=Math.min(te,N+1),!!(te%2)&&(C==="reverse"?(K=1-K,b&&(K-=b/g)):C==="mirror"&&(T=c)),k=zr(0,1,K)*g}const A=P?{done:!1,value:f[0]}:T.next(k);d&&(A.value=d(A.value));let{done:U}=A;!P&&m!==null&&(U=this.speed>=0?this.currentTime>=p:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return F&&i!==void 0&&(A.value=ef(f,this.options,i)),S&&S(A.value),F&&this.finish(),A}get duration(){const{resolved:t}=this;return t?Dr(t.calculatedDuration):0}
vendor: 33,224 bytes, line 444
444get time(){return Dr(this.currentTime)}set time(t){t=Or(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=Dr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=$B,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 qB=new Set(["opacity","clipPath","filter","transform"]);function KB(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:c="loop",ease:d="easeInOut",times:f}={}){const m={[t]:n};f&&(m.offset=f);const p=yE(d,i);return Array.isArray(p)&&(m.easing=p),e.animate(m,{delay:r,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:c==="reverse"?"alternate":"normal"})}const GB=ay(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hd=10,QB=2e4;function YB(e){return Ny(e.type)||e.type==="spring"||!gE(e.ease)}function XB(e,t){const n=new Iy({...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<QB;)r=n.sample(a),i.push(r.value),a+=hd;return{times:void 0,keyframes:i,duration:a-hd,ease:"linear"}}const XE={anticipate:PE,backInOut:kE,circInOut:_E};function JB(e){return e in XE}class Zb extends WE{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:a}=this.options;this.resolver=new HE(a,(c,d)=>this.onKeyframesResolved(c,d),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:a,ease:c,type:d,motionValue:f,name:m,startTime:p}=this.options;if(!(!((r=f.owner)===null||r===void 0)&&r.current))return!1;if(typeof c=="string"&&ud()&&JB(c)&&(c=XE[c]),YB(this.options)){const{onComplete:v,onUpdate:N,motionValue:C,element:b,...S}=this.options,j=XB(t,S);t=j.keyframes,t.length===1&&(t[1]=t[0]),i=j.duration,a=j.times,c=j.ease,d="keyframes"}const g=KB(f.owner.current,m,t,{...this.options,duration:i,times:a,ease:c});return g.startTime=p??this.calcStartTime(),this.pendingTimeline?(Lb(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:v}=this.options;f.set(ef(t,this.options,n)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:i,times:a,type:d,ease:c,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Dr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Dr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Or(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 mn;const{animation:r}=n;Lb(r,t)}return mn}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:c,times:d}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:p,onComplete:g,element:v,...N}=this.options,C=new Iy({...N,keyframes:r,duration:i,type:a,ease:c,times:d,isGenerator:!0}),b=Or(this.time);m.setWithVelocity(C.sample(b-hd).value,C.sample(b).value,hd)}const{onStop:f}=this.options;f&&f(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:c,type:d}=t;return GB()&&r&&qB.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&a!=="mirror"&&c!==0&&d!=="inertia"}}const ZB={type:"spring",stiffness:500,damping:25,restSpeed:10},eV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),tV={type:"keyframes",duration:.8},nV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rV=(e,{keyframes:t})=>t.length>2?tV:Mi.has(e)?e.startsWith("scale")?eV(t[1]):ZB:nV;function sV({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:c,repeatDelay:d,from:f,elapsed:m,...p}){return!!Object.keys(p).length}const Ly=(e,t,n,r={},i,a)=>c=>{const d=Sy(r,e)||{},f=d.delay||r.delay||0;let{elapsed:m=0}=r;m=m-Or(f);let p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-m,onUpdate:v=>{t.set(v),d.onUpdate&&d.onUpdate(v)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:a?void 0:i};sV(d)||(p={...p,...rV(e,p)}),p.duration&&(p.duration=Or(p.duration)),p.repeatDelay&&(p.repeatDelay=Or(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let g=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(g=!0)),g&&!a&&t.get()!==void 0){const v=ef(p.keyframes,d);if(v!==void 0)return nt.update(()=>{p.onUpdate(v),p.onComplete()}),new S6([])}return!a&&Zb.supports(p)?new Zb(p):new Iy(p)};function iV({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function JE(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:c=e.getDefaultTransition(),transitionEnd:d,...f}=t;r&&(c=r);const m=[],p=i&&e.animationState&&e.animationState.getState()[i];for(const g in f){const v=e.getValue(g,(a=e.latestValues[g])!==null&&a!==void 0?a:null),N=f[g];if(N===void 0||p&&iV(p,g))continue;const C={delay:n,...Sy(c||{},g)};let b=!1;if(window.MotionHandoffAnimation){const j=SE(e);if(j){const P=window.MotionHandoffAnimation(j,g,nt);P!==null&&(C.startTime=P,b=!0)}}zp(e,g),v.start(Ly(g,v,N,e.shouldReduceMotion&&Mi.has(g)?{type:!1}:C,e,b));const S=v.animation;S&&m.push(S)}return d&&Promise.all(m).then(()=>{nt.update(()=>{d&&I6(e,d)})}),m}function Gp(e,t,n={}){var r;const i=Zd(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 c=i?()=>Promise.all(JE(e,i,n)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:v}=a;return oV(e,t,p+m,g,v,n)}:()=>Promise.resolve(),{when:f}=a;if(f){const[m,p]=f==="beforeChildren"?[c,d]:[d,c];return m().then(()=>p())}else return Promise.all([c(),d(n.delay)])}function oV(e,t,n=0,r=0,i=1,a){const c=[],d=(e.variantChildren.size-1)*r,f=i===1?(m=0)=>m*r:(m=0)=>d-m*r;return Array.from(e.variantChildren).sort(aV).forEach((m,p)=>{m.notify("AnimationStart",t),c.push(Gp(m,t,{...a,delay:n+f(p)}).then(()=>m.notify("AnimationComplete",t)))}),Promise.all(c)}function aV(e,t){return e.sortNodePosition(t)}function lV(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Gp(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Gp(e,t,n);else{const i=typeof t=="function"?Zd(e,t,n.custom):t;r=Promise.all(JE(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const cV=uy.length;function ZE(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?ZE(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<cV;n++){const r=uy[n],i=e.props[r];(gl(i)||i===!1)&&(t[r]=i)}return t}const uV=[...cy].reverse(),dV=cy.length;function fV(e){return t=>Promise.all(t.map(({animation:n,options:r})=>lV(e,n,r)))}function hV(e){let t=fV(e),n=e1(),r=!0;const i=f=>(m,p)=>{var g;const v=Zd(e,p,f==="exit"?(g=e.presenceContext)===null||g===void 0?void 0:g.custom:void 0);if(v){const{transition:N,transitionEnd:C,...b}=v;m={...m,...b,...C}}return m};function a(f){t=f(e)}function c(f){const{props:m}=e,p=ZE(e.parent)||{},g=[],v=new Set;let N={},C=1/0;for(let S=0;S<dV;S++){const j=uV[S],P=n[j],k=m[j]!==void 0?m[j]:p[j],T=gl(k),A=j===f?P.isActive:null;A===!1&&(C=S);let U=k===p[j]&&k!==m[j]&&T;if(U&&r&&e.manuallyAnimateOnMount&&(U=!1),P.protectedKeys={...N},!P.isActive&&A===null||!k&&!P.prevProp||Xd(k)||typeof k=="boolean")continue;const F=mV(P.prevProp,k);let L=F||j===f&&P.isActive&&!U&&T||S>C&&T,te=!1;const K=Array.isArray(k)?k:[k];let B=K.reduce(i(j),{});A===!1&&(B={});const{prevResolvedValues:J={}}=P,se={...J,...B},le=ne=>{L=!0,v.has(ne)&&(te=!0,v.delete(ne)),P.needsAnimating[ne]=!0;const D=e.getValue(ne);D&&(D.liveStyle=!1)};for(const ne in se){const D=B[ne],W=J[ne];if(N.hasOwnProperty(ne))continue;let Y=!1;Fp(D)&&Fp(W)?Y=!hE(D,W):Y=D!==W,Y?D!=null?le(ne):v.add(ne):D!==void 0&&v.has(ne)?le(ne):P.protectedKeys[ne]=!0}P.prevProp=k,P.prevResolvedValues=B,P.isActive&&(N={...N,...B}),r&&e.blockInitialAnimation&&(L=!1),L&&(!(U&&F)||te)&&g.push(...K.map(ne=>({animation:ne,options:{type:j}})))}if(v.size){const S={};v.forEach(j=>{const P=e.getBaseTarget(j),k=e.getValue(j);k&&(k.liveStyle=!0),S[j]=P??null}),g.push({animation:S})}let b=!!g.length;return r&&(m.initial===!1||m.initial===m.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(g):Promise.resolve()}function d(f,m){var p;if(n[f].isActive===m)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var N;return(N=v.animationState)===null||N===void 0?void 0:N.setActive(f,m)}),n[f].isActive=m;const g=c(f);for(const v in n)n[v].protectedKeys={};return g}return{animateChanges:c,setActive:d,setAnimateFunction:a,getState:()=>n,reset:()=>{n=e1(),r=!0}}}function mV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!hE(t,e):!1}function ei(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e1(){return{animate:ei(!0),whileInView:ei(),whileHover:ei(),whileTap:ei(),whileDrag:ei(),whileFocus:ei(),exit:ei()}}class Fs{constructor(t){this.isMounted=!1,this.node=t}update(){}}class pV extends Fs{constructor(t){super(t),t.animationState||(t.animationState=hV(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Xd(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 gV=0;class yV extends Fs{constructor(){super(...arguments),this.id=gV++}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 xV={animation:{Feature:pV},exit:{Feature:yV}};function wl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Gl(e){return{point:{x:e.pageX,y:e.pageY}}}const vV=e=>t=>jy(t)&&e(t,Gl(t));function al(e,t,n,r){return wl(e,t,vV(n),r)}const t1=(e,t)=>Math.abs(e-t);function wV(e,t){const n=t1(e.x,t.x),r=t1(e.y,t.y);return Math.sqrt(n**2+r**2)}class ek{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 g=Fm(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,N=wV(g.offset,{x:0,y:0})>=3;if(!v&&!N)return;const{point:C}=g,{timestamp:b}=Mt;this.history.push({...C,timestamp:b});const{onStart:S,onMove:j}=this.handlers;v||(S&&S(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),j&&j(this.lastMoveEvent,g)},this.handlePointerMove=(g,v)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Lm(v,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(g,v)=>{this.end();const{onEnd:N,onSessionEnd:C,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Fm(g.type==="pointercancel"?this.lastMoveEventInfo:Lm(v,this.transformPagePoint),this.history);this.startEvent&&N&&N(g,S),C&&C(g,S)},!jy(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const c=Gl(t),d=Lm(c,this.transformPagePoint),{point:f}=d,{timestamp:m}=Mt;this.history=[{...f,timestamp:m}];const{onSessionStart:p}=n;p&&p(t,Fm(d,this.history)),this.removeListeners=Kl(al(this.contextWindow,"pointermove",this.handlePointerMove),al(this.contextWindow,"pointerup",this.handlePointerUp),al(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Os(this.updatePoint)}}function Lm(e,t){return t?{point:t(e.point)}:e}function n1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Fm({point:e},t){return{point:e,delta:n1(e,tk(t)),offset:n1(e,bV(t)),velocity:SV(t,.1)}}function bV(e){return e[0]}function tk(e){return e[e.length-1]}function SV(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=tk(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Or(t)));)n--;if(!r)return{x:0,y:0};const a=Dr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const c={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}const nk=1e-4,NV=1-nk,CV=1+nk,rk=.01,jV=0-rk,EV=0+rk;function pn(e){return e.max-e.min}function kV(e,t,n){return Math.abs(e-t)<=n}function r1(e,t,n,r=.5){e.origin=r,e.originPoint=ot(t.min,t.max,e.origin),e.scale=pn(n)/pn(t),e.translate=ot(n.min,n.max,e.origin)-e.originPoint,(e.scale>=NV&&e.scale<=CV||isNaN(e.scale))&&(e.scale=1),(e.translate>=jV&&e.translate<=EV||isNaN(e.translate))&&(e.translate=0)}function ll(e,t,n,r){r1(e.x,t.x,n.x,r?r.originX:void 0),r1(e.y,t.y,n.y,r?r.originY:void 0)}function s1(e,t,n){e.min=n.min+t.min,e.max=e.min+pn(t)}function PV(e,t,n){s1(e.x,t.x,n.x),s1(e.y,t.y,n.y)}function i1(e,t,n){e.min=t.min-n.min,e.max=e.min+pn(t)}function cl(e,t,n){i1(e.x,t.x,n.x),i1(e.y,t.y,n.y)}function TV(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ot(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ot(n,e,r.max):Math.min(e,n)),e}function o1(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 _V(e,{top:t,left:n,bottom:r,right:i}){return{x:o1(e.x,n,i),y:o1(e.y,t,r)}}function a1(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 RV(e,t){return{x:a1(e.x,t.x),y:a1(e.y,t.y)}}function AV(e,t){let n=.5;const r=pn(e),i=pn(t);return i>r?n=Lo(t.min,t.max-r,e.min):r>i&&(n=Lo(e.min,e.max-i,t.min)),zr(0,1,n)}function MV(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 Qp=.35;function OV(e=Qp){return e===!1?e=0:e===!0&&(e=Qp),{x:l1(e,"left","right"),y:l1(e,"top","bottom")}}function l1(e,t,n){return{min:c1(e,t),max:c1(e,n)}}function c1(e,t){return typeof e=="number"?e:e[t]||0}const u1=()=>({translate:0,scale:1,origin:0,originPoint:0}),yo=()=>({x:u1(),y:u1()}),d1=()=>({min:0,max:0}),ft=()=>({x:d1(),y:d1()});function Nn(e){return[e("x"),e("y")]}function sk({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function DV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function IV(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 Bm(e){return e===void 0||e===1}function Yp({scale:e,scaleX:t,scaleY:n}){return!Bm(e)||!Bm(t)||!Bm(n)}function ti(e){return Yp(e)||ik(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ik(e){return f1(e.x)||f1(e.y)}function f1(e){return e&&e!=="0%"}function md(e,t,n){const r=e-n,i=t*r;return n+i}function h1(e,t,n,r,i){return i!==void 0&&(e=md(e,i,r)),md(e,n,r)+t}function Xp(e,t=0,n=1,r,i){e.min=h1(e.min,t,n,r,i),e.max=h1(e.max,t,n,r,i)}function ok(e,{x:t,y:n}){Xp(e.x,t.translate,t.scale,t.originPoint),Xp(e.y,n.translate,n.scale,n.originPoint)}const m1=.999999999999,p1=1.0000000000001;function LV(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,c;for(let d=0;d<i;d++){a=n[d],c=a.projectionDelta;const{visualElement:f}=a.options;f&&f.props.style&&f.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&vo(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,ok(e,c)),r&&ti(a.latestValues)&&vo(e,a.latestValues))}t.x<p1&&t.x>m1&&(t.x=1),t.y<p1&&t.y>m1&&(t.y=1)}function xo(e,t){e.min=e.min+t,e.max=e.max+t}function g1(e,t,n,r,i=.5){const a=ot(e.min,e.max,i);Xp(e,t,n,a,r)}function vo(e,t){g1(e.x,t.x,t.scaleX,t.scale,t.originX),g1(e.y,t.y,t.scaleY,t.scale,t.originY)}function ak(e,t){return sk(IV(e.getBoundingClientRect(),t))}function FV(e,t,n){const r=ak(e,n),{scroll:i}=t;return i&&(xo(r.x,i.offset.x),xo(r.y,i.offset.y)),r}const lk=({current:e})=>e?e.ownerDocument.defaultView:null,BV=new WeakMap;class VV{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=ft(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=p=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gl(p).point)},a=(p,g)=>{const{drag:v,dragPropagation:N,onDragStart:C}=this.getProps();if(v&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=R6(v),!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),Nn(S=>{let j=this.getAxisMotionValue(S).get()||0;if(cr.test(j)){const{projection:P}=this.visualElement;if(P&&P.layout){const k=P.layout.layoutBox[S];k&&(j=pn(k)*(parseFloat(j)/100))}}this.originPoint[S]=j}),C&&nt.postRender(()=>C(p,g)),zp(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},c=(p,g)=>{const{dragPropagation:v,dragDirectionLock:N,onDirectionLock:C,onDrag:b}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:S}=g;if(N&&this.currentDirection===null){this.currentDirection=zV(S),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",g.point,S),this.updateAxis("y",g.point,S),this.visualElement.render(),b&&b(p,g)},d=(p,g)=>this.stop(p,g),f=()=>Nn(p=>{var g;return this.getAnimationState(p)==="paused"&&((g=this.getAxisMotionValue(p).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new ek(t,{onSessionStart:i,onStart:a,onMove:c,onSessionEnd:d,resumeAnimation:f},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:lk(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&&nt.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||!ju(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let c=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(c=TV(c,this.constraints[t],this.elastic[t])),a.set(c)}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&&po(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=_V(i.layoutBox,n):this.constraints=!1,this.elastic=OV(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Nn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=MV(i.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!po(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=FV(r,i.root,this.visualElement.getTransformPagePoint());let c=RV(i.layout.layoutBox,a);if(n){const d=n(DV(c));this.hasMutatedConstraints=!!d,d&&(c=sk(d))}return c}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),f=this.constraints||{},m=Nn(p=>{if(!ju(p,n,this.currentDirection))return;let g=f&&f[p]||{};c&&(g={min:0,max:0});const v=i?200:1e6,N=i?40:1e7,C={type:"inertia",velocity:r?t[p]:0,bounceStiffness:v,bounceDamping:N,timeConstant:750,restDelta:1,restSpeed:10,...a,...g};return this.startAxisValueAnimation(p,C)});return Promise.all(m).then(d)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return zp(this.visualElement,t),r.start(Ly(t,r,0,n,this.visualElement,!1))}stopAnimation(){Nn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Nn(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){Nn(n=>{const{drag:r}=this.getProps();if(!ju(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:c,max:d}=i.layout.layoutBox[n];a.set(t[n]-ot(c,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!po(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Nn(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const f=d.get();i[c]=AV({min:f,max:f},this.constraints[c])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Nn(c=>{if(!ju(c,t,null))return;const d=this.getAxisMotionValue(c),{min:f,max:m}=this.constraints[c];d.set(ot(f,m,i[c]))})}addListeners(){if(!this.visualElement.current)return;BV.set(this.visualElement,this);const t=this.visualElement.current,n=al(t,"pointerdown",f=>{const{drag:m,dragListener:p=!0}=this.getProps();m&&p&&this.start(f)}),r=()=>{const{dragConstraints:f}=this.getProps();po(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),nt.read(r);const c=wl(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:m})=>{this.isDragging&&m&&(Nn(p=>{const g=this.getAxisMotionValue(p);g&&(this.originPoint[p]+=f[p].translate,g.set(g.get()+f[p].translate))}),this.visualElement.render())}));return()=>{c(),n(),a(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:c=Qp,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:c,dragMomentum:d}}}function ju(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zV(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class UV extends Fs{constructor(t){super(t),this.removeGroupControls=mn,this.removeListeners=mn,this.controls=new VV(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mn}unmount(){this.removeGroupControls(),this.removeListeners()}}const y1=e=>(t,n)=>{e&&nt.postRender(()=>e(t,n))};class $V extends Fs{constructor(){super(...arguments),this.removePointerDownListener=mn}onPointerDown(t){this.session=new ek(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lk(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:y1(t),onStart:y1(n),onMove:r,onEnd:(a,c)=>{delete this.session,i&&nt.postRender(()=>i(a,c))}}}mount(){this.removePointerDownListener=al(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 HV(){const e=x.useContext(Qd);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=x.useId();x.useEffect(()=>r(i),[]);const a=x.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,a]:[!0]}const Hu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function x1(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const qa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Ee.test(e))e=parseFloat(e);else return e;const n=x1(e,t.target.x),r=x1(e,t.target.y);return`${n}% ${r}%`}},WV={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ds.parse(e);if(i.length>5)return r;const a=Ds.createTransformer(e),c=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,f=n.y.scale*t.y;i[0+c]/=d,i[1+c]/=f;const m=ot(d,f,.5);return typeof i[2+c]=="number"&&(i[2+c]/=m),typeof i[3+c]=="number"&&(i[3+c]/=m),a(i)}};class qV extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;GF(KV),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()})),Hu.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,c=r.projection;return c&&(c.isPresent=a,i||t.layoutDependency!==n||n===void 0?c.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?c.promote():c.relegate()||nt.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),fy.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 ck(e){const[t,n]=HV(),r=x.useContext(oy);return l.jsx(qV,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(eE),isPresent:t,safeToRemove:n})}const KV={borderRadius:{...qa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:qa,borderTopRightRadius:qa,borderBottomLeftRadius:qa,borderBottomRightRadius:qa,boxShadow:WV};function GV(e,t,n){const r=zt(e)?e:xl(e);return r.start(Ly("",r,t,n)),r.animation}function QV(e){return e instanceof SVGElement&&e.tagName!=="svg"}const YV=(e,t)=>e.depth-t.depth;class XV{constructor(){this.children=[],this.isDirty=!1}add(t){Ey(this.children,t),this.isDirty=!0}remove(t){ky(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YV),this.isDirty=!1,this.children.forEach(t)}}function JV(e,t){const n=ur.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(Os(r),e(a-t))};return nt.read(r,!0),()=>Os(r)}const uk=["TopLeft","TopRight","BottomLeft","BottomRight"],ZV=uk.length,v1=e=>typeof e=="string"?parseFloat(e):e,w1=e=>typeof e=="number"||Ee.test(e);function ez(e,t,n,r,i,a){i?(e.opacity=ot(0,n.opacity!==void 0?n.opacity:1,tz(r)),e.opacityExit=ot(t.opacity!==void 0?t.opacity:1,0,nz(r))):a&&(e.opacity=ot(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let c=0;c<ZV;c++){const d=`border${uk[c]}Radius`;let f=b1(t,d),m=b1(n,d);if(f===void 0&&m===void 0)continue;f||(f=0),m||(m=0),f===0||m===0||w1(f)===w1(m)?(e[d]=Math.max(ot(v1(f),v1(m),r),0),(cr.test(m)||cr.test(f))&&(e[d]+="%")):e[d]=m}(t.rotate||n.rotate)&&(e.rotate=ot(t.rotate||0,n.rotate||0,r))}function b1(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const tz=dk(0,.5,TE),nz=dk(.5,.95,mn);function dk(e,t,n){return r=>r<e?0:r>t?1:n(Lo(e,t,r))}function S1(e,t){e.min=t.min,e.max=t.max}function Sn(e,t){S1(e.x,t.x),S1(e.y,t.y)}function N1(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function C1(e,t,n,r,i){return e-=t,e=md(e,1/n,r),i!==void 0&&(e=md(e,1/i,r)),e}function rz(e,t=0,n=1,r=.5,i,a=e,c=e){if(cr.test(t)&&(t=parseFloat(t),t=ot(c.min,c.max,t/100)-c.min),typeof t!="number")return;let d=ot(a.min,a.max,r);e===a&&(d-=t),e.min=C1(e.min,t,n,d,i),e.max=C1(e.max,t,n,d,i)}function j1(e,t,[n,r,i],a,c){rz(e,t[n],t[r],t[i],t.scale,a,c)}const sz=["x","scaleX","originX"],iz=["y","scaleY","originY"];function E1(e,t,n,r){j1(e.x,t,sz,n?n.x:void 0,r?r.x:void 0),j1(e.y,t,iz,n?n.y:void 0,r?r.y:void 0)}function k1(e){return e.translate===0&&e.scale===1}function fk(e){return k1(e.x)&&k1(e.y)}function P1(e,t){return e.min===t.min&&e.max===t.max}function oz(e,t){return P1(e.x,t.x)&&P1(e.y,t.y)}function T1(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function hk(e,t){return T1(e.x,t.x)&&T1(e.y,t.y)}function _1(e){return pn(e.x)/pn(e.y)}function R1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class az{constructor(){this.members=[]}add(t){Ey(this.members,t),t.scheduleRender()}remove(t){if(ky(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 lz(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y,c=(n==null?void 0:n.z)||0;if((i||a||c)&&(r=`translate3d(${i}px, ${a}px, ${c}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:m,rotate:p,rotateX:g,rotateY:v,skewX:N,skewY:C}=n;m&&(r=`perspective(${m}px) ${r}`),p&&(r+=`rotate(${p}deg) `),g&&(r+=`rotateX(${g}deg) `),v&&(r+=`rotateY(${v}deg) `),N&&(r+=`skewX(${N}deg) `),C&&(r+=`skewY(${C}deg) `)}const d=e.x.scale*t.x,f=e.y.scale*t.y;return(d!==1||f!==1)&&(r+=`scale(${d}, ${f}
444)`),r||"none"}const ni={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},nl=typeof window<"u"&&window.MotionDebug!==void 0,Vm=["","X","Y","Z"],cz={visibility:"hidden"},A1=1e3;let uz=0;function zm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function mk(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=SE(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",nt,!(i||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&mk(r)}function pk({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(c={},d=t==null?void 0:t()){this.id=uz++,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,nl&&(ni.totalNodes=ni.resolvedTargetDeltas=ni.recalculatedProjection=0),this.nodes.forEach(hz),this.nodes.forEach(xz),this.nodes.forEach(vz),this.nodes.forEach(mz),nl&&window.MotionDebug.record(ni)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new XV)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Py),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const f=this.eventHandlers.get(c);f&&f.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=QV(c),this.instance=c;const{layoutId:f,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(m||f)&&(this.isLayoutDirty=!0),e){let g;const v=()=>this.root.updateBlockedByResize=!1;e(c,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=JV(v,250),Hu.hasAnimatedSinceResize&&(Hu.hasAnimatedSinceResize=!1,this.nodes.forEach(O1))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&p&&(f||m)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeTargetChanged:N,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||p.getDefaultTransition()||Cz,{onLayoutAnimationStart:S,onLayoutAnimationComplete:j}=p.getProps(),P=!this.targetLayout||!hk(this.targetLayout,C)||N,k=!v&&N;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||k||v&&(P||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,k);const T={...Sy(b,"layout"),onPlay:S,onComplete:j};(p.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else v||O1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Os(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.forEac
vendor: 29,518 bytes, line 444
444h(wz),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&mk(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const g=this.path[p];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:d,layout:f}=this.options;if(d===void 0&&!f)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(M1);return}this.isUpdating||this.nodes.forEach(gz),this.isUpdating=!1,this.nodes.forEach(yz),this.nodes.forEach(dz),this.nodes.forEach(fz),this.clearAllSnapshots();const d=ur.now();Mt.delta=zr(0,1e3/60,d-Mt.timestamp),Mt.timestamp=d,Mt.isProcessing=!0,Rm.update.process(Mt),Rm.preRender.process(Mt),Rm.render.process(Mt),Mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,fy.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(pz),this.sharedNodes.forEach(bz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ft(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d){const f=r(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:f,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!i)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!fk(this.projectionDelta),f=this.getTransformTemplate(),m=f?f(this.latestValues,""):void 0,p=m!==this.prevTransformTemplateValue;c&&(d||ti(this.latestValues)||p)&&(i(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let f=this.removeElementScroll(d);return c&&(f=this.removeTransform(f)),jz(f),{animationId:this.root.animationId,measuredBox:d,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:d}=this.options;if(!d)return ft();const f=d.measureViewportBox();if(!(((c=this.scroll)===null||c===void 0?void 0:c.wasRoot)||this.path.some(Ez))){const{scroll:p}=this.root;p&&(xo(f.x,p.offset.x),xo(f.y,p.offset.y))}return f}removeElementScroll(c){var d;const f=ft();if(Sn(f,c),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return f;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:g,options:v}=p;p!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&Sn(f,c),xo(f.x,g.offset.x),xo(f.y,g.offset.y))}return f}applyTransform(c,d=!1){const f=ft();Sn(f,c);for(let m=0;m<this.path.length;m++){const p=this.path[m];!d&&p.options.layoutScroll&&p.scroll&&p!==p.root&&vo(f,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),ti(p.latestValues)&&vo(f,p.latestValues)}return ti(this.latestValues)&&vo(f,this.latestValues),f}removeTransform(c){const d=ft();Sn(d,c);for(let f=0;f<this.path.length;f++){const m=this.path[f];if(!m.instance||!ti(m.latestValues))continue;Yp(m.latestValues)&&m.updateSnapshot();const p=ft(),g=m.measurePageBox();Sn(p,g),E1(d,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,p)}return ti(this.latestValues)&&E1(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var d;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==f;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!(!this.layout||!(g||v))){if(this.resolvedRelativeTargetAt=Mt.timestamp,!this.targetDelta&&!this.relativeTarget){const N=this.getClosestProjectingParent();N&&N.layout&&this.animationProgress!==1?(this.relativeParent=N,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ft(),this.relativeTargetOrigin=ft(),cl(this.relativeTargetOrigin,this.layout.layoutBox,N.layout.layoutBox),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ft(),this.targetWithTransforms=ft()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),PV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Sn(this.target,this.layout.layoutBox),ok(this.target,this.targetDelta)):Sn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const N=this.getClosestProjectingParent();N&&!!N.resumingFrom==!!this.resumingFrom&&!N.options.layoutScroll&&N.target&&this.animationProgress!==1?(this.relativeParent=N,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ft(),this.relativeTargetOrigin=ft(),cl(this.relativeTargetOrigin,this.target,N.target),Sn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nl&&ni.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Yp(this.parent.latestValues)||ik(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var c;const d=this.getLead(),f=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty)&&(m=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===Mt.timestamp&&(m=!1),m)return;const{layout:p,layoutId:g}=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||g))return;Sn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,N=this.treeScale.y;LV(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=ft());const{target:C}=d;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(N1(this.prevProjectionDelta.x,this.projectionDelta.x),N1(this.prevProjectionDelta.y,this.projectionDelta.y)),ll(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==N||!R1(this.projectionDelta.x,this.prevProjectionDelta.x)||!R1(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C)),nl&&ni.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),c){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=yo(),this.projectionDelta=yo(),this.projectionDeltaWithTransform=yo()}setAnimationOrigin(c,d=!1){const f=this.snapshot,m=f?f.latestValues:{},p={...this.latestValues},g=yo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const v=ft(),N=f?f.source:void 0,C=this.layout?this.layout.source:void 0,b=N!==C,S=this.getStack(),j=!S||S.members.length<=1,P=!!(b&&!j&&this.options.crossfade===!0&&!this.path.some(Nz));this.animationProgress=0;let k;this.mixTargetDelta=T=>{const A=T/1e3;D1(g.x,c.x,A),D1(g.y,c.y,A),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cl(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sz(this.relativeTarget,this.relativeTargetOrigin,v,A),k&&oz(this.relativeTarget,k)&&(this.isProjectionDirty=!1),k||(k=ft()),Sn(k,this.relativeTarget)),b&&(this.animationValues=p,ez(p,m,this.latestValues,A,P,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Os(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{Hu.hasAnimatedSinceResize=!0,this.currentAnimation=GV(0,A1,{...c,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(A1),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:f,layout:m,latestValues:p}=c;if(!(!d||!f||!m)){if(this!==c&&this.layout&&m&&gk(this.options.animationType,this.layout.layoutBox,m.layoutBox)){f=this.target||ft();const g=pn(this.layout.layoutBox.x);f.x.min=c.target.x.min,f.x.max=f.x.min+g;const v=pn(this.layout.layoutBox.y);f.y.min=c.target.y.min,f.y.max=f.y.min+v}Sn(d,f),vo(d,p),ll(this.projectionDeltaWithTransform,this.layoutCorrected,d,p)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new az),this.sharedNodes.get(c).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var c;const{layoutId:d}=this.options;return d?((c=this.getStack())===null||c===void 0?void 0:c.lead)||this:this}getPrevLead(){var c;const{layoutId:d}=this.options;return d?(c=this.getStack())===null||c===void 0?void 0:c.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:f}={}){const m=this.getStack();m&&m.promote(this,f),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:f}=c;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(d=!0),!d)return;const m={};f.z&&zm("z",c,m,this.animationValues);for(let p=0;p<Vm.length;p++)zm(`rotate${Vm[p]}`,c,m,this.animationValues),zm(`skew${Vm[p]}`,c,m,this.animationValues);c.render();for(const p in m)c.setStaticValue(p,m[p]),this.animationValues&&(this.animationValues[p]=m[p]);c.scheduleRender()}getProjectionStyles(c){var d,f;if(!this.instance||this.isSVG)return;if(!this.isVisible)return cz;const m={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=Uu(c==null?void 0:c.pointerEvents)||"",m.transform=p?p(this.latestValues,""):"none",m;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const b={};return this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=Uu(c==null?void 0:c.pointerEvents)||""),this.hasProjected&&!ti(this.latestValues)&&(b.transform=p?p({},""):"none",this.hasProjected=!1),b}const v=g.animationValues||g.latestValues;this.applyTransformsToTarget(),m.transform=lz(this.projectionDeltaWithTransform,this.treeScale,v),p&&(m.transform=p(v,m.transform));const{x:N,y:C}=this.projectionDelta;m.transformOrigin=`${N.origin*100}% ${C.origin*100}% 0`,g.animationValues?m.opacity=g===this?(f=(d=v.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:m.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const b in cd){if(v[b]===void 0)continue;const{correct:S,applyTo:j}=cd[b],P=m.transform==="none"?v[b]:S(v[b],g);if(j){const k=j.length;for(let T=0;T<k;T++)m[j[T]]=P}else m[b]=P}return this.options.layoutId&&(m.pointerEvents=g===this?Uu(c==null?void 0:c.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var d;return(d=c.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(M1),this.root.sharedNodes.clear()}}}function dz(e){e.updateLayout()}function fz(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,c=n.source!==e.layout.source;a==="size"?Nn(g=>{const v=c?n.measuredBox[g]:n.layoutBox[g],N=pn(v);v.min=r[g].min,v.max=v.min+N}):gk(a,n.layoutBox,r)&&Nn(g=>{const v=c?n.measuredBox[g]:n.layoutBox[g],N=pn(r[g]);v.max=v.min+N,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+N)});const d=yo();ll(d,r,n.layoutBox);const f=yo();c?ll(f,e.applyTransform(i,!0),n.measuredBox):ll(f,r,n.layoutBox);const m=!fk(d);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:N}=g;if(v&&N){const C=ft();cl(C,n.layoutBox,v.layoutBox);const b=ft();cl(b,r,N.layoutBox),hk(C,b)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=b,e.relativeTargetOrigin=C,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:f,layoutDelta:d,hasLayoutChanged:m,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function hz(e){nl&&ni.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 mz(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function pz(e){e.clearSnapshot()}function M1(e){e.clearMeasurements()}function gz(e){e.isLayoutDirty=!1}function yz(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function O1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function xz(e){e.resolveTargetDelta()}function vz(e){e.calcProjection()}function wz(e){e.resetSkewAndRotation()}function bz(e){e.removeLeadSnapshot()}function D1(e,t,n){e.translate=ot(t.translate,0,n),e.scale=ot(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function I1(e,t,n,r){e.min=ot(t.min,n.min,r),e.max=ot(t.max,n.max,r)}function Sz(e,t,n,r){I1(e.x,t.x,n.x,r),I1(e.y,t.y,n.y,r)}function Nz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Cz={duration:.45,ease:[.4,0,.1,1]},L1=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),F1=L1("applewebkit/")&&!L1("chrome/")?Math.round:mn;function B1(e){e.min=F1(e.min),e.max=F1(e.max)}function jz(e){B1(e.x),B1(e.y)}function gk(e,t,n){return e==="position"||e==="preserve-aspect"&&!kV(_1(t),_1(n),.2)}function Ez(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const kz=pk({attachResizeListener:(e,t)=>wl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Um={current:void 0},yk=pk({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Um.current){const e=new kz({});e.mount(window),e.setOptions({layoutScroll:!0}),Um.current=e}return Um.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Pz={pan:{Feature:$V},drag:{Feature:UV,ProjectionNode:yk,MeasureLayout:ck}};function V1(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&&nt.postRender(()=>a(t,Gl(t)))}class Tz extends Fs{mount(){const{current:t}=this.node;t&&(this.unmount=E6(t,n=>(V1(this.node,n,"Start"),r=>V1(this.node,r,"End"))))}unmount(){}}class _z extends Fs{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=Kl(wl(this.node.current,"focus",()=>this.onFocus()),wl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function z1(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&&nt.postRender(()=>a(t,Gl(t)))}class Rz extends Fs{mount(){const{current:t}=this.node;t&&(this.unmount=_6(t,n=>(z1(this.node,n,"Start"),(r,{success:i})=>z1(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Jp=new WeakMap,$m=new WeakMap,Az=e=>{const t=Jp.get(e.target);t&&t(e)},Mz=e=>{e.forEach(Az)};function Oz({root:e,...t}){const n=e||document;$m.has(n)||$m.set(n,{});const r=$m.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Mz,{root:e,...t})),r[i]}function Dz(e,t,n){const r=Oz(t);return Jp.set(e,n),r.observe(e),()=>{Jp.delete(e),r.unobserve(e)}}const Iz={some:0,all:1};class Lz extends Fs{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,c={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:Iz[i]},d=f=>{const{isIntersecting:m}=f;if(this.isInView===m||(this.isInView=m,a&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:p,onViewportLeave:g}=this.node.getProps(),v=m?p:g;v&&v(f)};return Dz(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Fz(t,n))&&this.startObserver()}unmount(){}}function Fz({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Bz={inView:{Feature:Lz},tap:{Feature:Rz},focus:{Feature:_z},hover:{Feature:Tz}},Vz={layout:{ProjectionNode:yk,MeasureLayout:ck}},Zp={current:null},xk={current:!1};function zz(){if(xk.current=!0,!!ly)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zp.current=e.matches;e.addListener(t),t()}else Zp.current=!1}function Uz(e,t,n){for(const r in t){const i=t[r],a=n[r];if(zt(i))e.addValue(r,i);else if(zt(a))e.addValue(r,xl(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){const c=e.getValue(r);c.liveStyle===!0?c.jump(i):c.hasAnimated||c.set(i)}else{const c=e.getStaticValue(r);e.addValue(r,xl(c!==void 0?c:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const U1=new WeakMap,$z=[...DE,Ft,Ds],Hz=e=>$z.find(OE(e)),$1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Wz{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ry,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 v=ur.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,nt.render(this.render,!1,!0))};const{latestValues:f,renderState:m}=c;this.latestValues=f,this.baseTarget={...f},this.initialValues=n.initial?{...f}:{},this.renderState=m,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!a,this.isControllingVariants=Jd(n),this.isVariantNode=Jj(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...g}=this.scrapeMotionValuesFromProps(n,{},this);for(const v in g){const N=g[v];f[v]!==void 0&&zt(N)&&N.set(f[v],!1)}}mount(t){this.current=t,U1.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)),xk.current||zz(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Zp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){U1.delete(this.current),this.projection&&this.projection.unmount(),Os(this.notifyUpdate),Os(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=Mi.has(t),i=n.on("change",d=>{this.latestValues[t]=d,this.props.onUpdate&&nt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),a(),c&&c(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Fo){const n=Fo[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):ft()}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<$1.length;r++){const i=$1[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,c=t[a];c&&(this.propEventSubscriptions[i]=this.on(i,c))}this.prevMotionValues=Uz(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=xl(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"&&(AE(i)||RE(i))?i=parseFloat(i):!Hz(i)&&Ds.test(n)&&(i=$E(t,n)),this.setBaseTarget(t,zt(i)?i.get():i)),zt(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 c=py(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);c&&(i=c[t])}if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!zt(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 Py),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class vk extends Wz{constructor(){super(...arguments),this.KeyframeResolver=HE}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;zt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function qz(e){return window.getComputedStyle(e)}class Kz extends vk{constructor(){super(...arguments),this.type="html",this.renderInstance=nE}readValueFromInstance(t,n){if(Mi.has(n)){const r=Oy(n);return r&&r.default||0}else{const r=qz(t),i=(dE(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return ak(t,n)}build(t,n,r){vy(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return my(t,n,r)}}class Gz extends vk{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ft}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Mi.has(n)){const r=Oy(n);return r&&r.default||0}return n=rE.has(n)?n:dy(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return oE(t,n,r)}build(t,n,r){wy(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){sE(t,n,r,i)}mount(t){this.isSVGTag=by(t.tagName),super.mount(t)}}const Qz=(e,t)=>
444hy(e)?new Gz(t):new Kz(t,{allowProjection:e!==x.Fragment}),Yz=v6({...xV,...Bz,...Pz,...Vz},Qz),_e=DF(Yz);function Xz(){const{t:e}=Ye(),[t,n]=x.useState(!1);return l.jsxs(l.Fragment,{children:[l.jsxs("section",{className:"relative min-h-[85vh] flex items-center bg-black overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0",children:[l.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-amber-500/10 rounded-full blur-3xl"}),l.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-amber-500/5 rounded-full blur-3xl"}),l.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.02)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.02)_1px,transparent_1px)] bg-[size:64px_64px]"})]}),l.jsx("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16 lg:py-24",children:l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[l.jsxs(_e.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6},children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-amber-500/10 rounded-full mb-6",children:[l.jsx(wi,{className:"w-4 h-4 text-amber-400"}),l.jsx("span",{className:"text-amber-400 text-sm font-medium",children:e("Î #1 ΠλαÏÏÏÏμα ΣÏγκÏιÏηÏ","#1 Comparison Platform")})]}),l.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-white leading-tight mb-6",children:[e("ΣÏγκÏινε ÎÏÏάλειεÏ","Compare Insurance"),l.jsx("br",{}),l.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-amber-400 to-amber-600",children:e("ÏÏην Îλλάδα","in Greece")})]}),l.jsx("p",{className:"text-xl text-gray-400 mb-8 leading-relaxed max-w-xl",children:e("ΤιμÎÏ & ÎαλÏÏÎµÎ¹Ï Î±ÏÏ ÏÎ¹Ï ÎºÎ¿ÏÏ
ÏÎ±Î¯ÎµÏ Î±ÏÏαλιÏÏικÎÏ ÎµÏαιÏÎµÎ¯ÎµÏ Ïε λιγÏÏεÏο αÏÏ 2 λεÏÏά. ÎξοικονÏμηÏε ÏÏÏνο και ÏÏήμα.","Prices & Coverage from top insurance companies in less than 2 minutes. Save time and money.")}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-10",children:[l.jsx(Ze,{to:Qe("Compare"),children:l.jsxs(Te,{size:"lg",className:"w-full sm:w-auto bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold text-lg px-8 h-14 shadow-lg shadow-amber-500/25",children:[e("Îεκίνα ΣÏγκÏιÏη","Start Comparison"),l.jsx(kn,{className:"w-5 h-5 ml-2"})]})}),l.jsxs(Te,{size:"lg",variant:"outline",onClick:()=>n(!0),className:"w-full sm:w-auto border-amber-400 text-amber-400 hover:bg-amber-500/10 h-14 px-8",children:[l.jsx(Fr,{className:"w-5 h-5 mr-2"}),e("ÎνάθεÏη Ïε ΣÏμβοÏ
λο","Request Advisor")]})]}),l.jsxs("div",{className:"flex flex-wrap gap-6",children:[l.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[l.jsx(Rl,{className:"w-5 h-5 text-green-500"}),l.jsx("span",{className:"text-sm",children:e("100% ÎÏÏεάν Preview","100% Free Preview")})]}),l.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[l.jsx(hg,{className:"w-5 h-5 text-amber-400"}),l.jsx("span",{className:"text-sm",children:e("ÎÏοÏελÎÏμαÏα Ïε 2 λεÏÏά","Results in 2 minutes")})]}),l.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[l.jsx(wi,{className:"w-5 h-5 text-blue-400"}),l.jsx("span",{className:"text-sm",children:e("GDPR ΣÏ
μμÏÏÏÏÏη","GDPR Compliant")})]})]})]}),l.jsx(_e.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},className:"relative",children:l.jsxs("div",{className:"relative bg-gradient-to-br from-zinc-800/50 to-zinc-900/50 backdrop-blur-xl rounded-3xl border border-white/10 p-8 lg:p-10",children:[l.jsx("div",{className:"absolute -top-4 -right-4 w-24 h-24 bg-amber-500/20 rounded-full blur-2xl"}),l.jsx("div",{className:"absolute -bottom-4 -left-4 w-32 h-32 bg-amber-500/10 rounded-full blur-2xl"}),l.jsxs("div",{className:"relative grid grid-cols-2 gap-6",children:[l.jsxs("div",{className:"bg-zinc-800/50 rounded-2xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl lg:text-5xl font-bold text-amber-400 mb-2",children:"50+"}),l.jsx("div",{className:"text-sm text-gray-400",children:e("ÎÏÏαλιÏÏικÎÏ","Insurance Companies")})]}),l.jsxs("div",{className:"bg-zinc-800/50 rounded-2xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl lg:text-5xl font-bold text-white mb-2",children:"200+"}),l.jsx("div",{className:"text-sm text-gray-400",children:e("ΠακÎÏα","Plans")})]}),l.jsxs("div",{className:"bg-zinc-800/50 rounded-2xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl lg:text-5xl font-bold text-white mb-2",children:"10K+"}),l.jsx("div",{className:"text-sm text-gray-400",children:e("ΧÏήÏÏεÏ","Users")})]}),l.jsxs("div",{className:"bg-zinc-800/50 rounded-2xl p-6 text-center",children:[l.jsx("div",{className:"text-4xl lg:text-5xl font-bold text-green-400 mb-2",children:"30%"}),l.jsx("div",{className:"text-sm text-gray-400",children:e("ÎÎÏη ÎξοικονÏμηÏη","Avg. Savings")})]})]}),l.jsx("div",{className:"mt-8 pt-6 border-t border-white/10",children:l.jsx("p",{className:"text-center text-gray-500 text-sm",children:e("ÎμÏιÏÏη ÏλαÏÏÏÏμα αÏÏ ÏÎ¹Î»Î¹Î¬Î´ÎµÏ ÎλληνεÏ","Trusted by thousands of Greeks")})})]})})]})})]}),l.jsx(Gd,{isOpen:t,onClose:()=>n(!1),sourcePage:"home_hero"})]})}const Jz=[{type:"auto",icon:dg,el:"ÎÏ
ÏοκίνηÏο",en:"Auto",de
444scEl:"ÎαÏική, μικÏή, θÏαÏÏη κÏÏ
ÏÏάλλÏν",descEn:"Basic, comprehensive, glass coverage",color:"from-blue-500 to-blue-600"},{type:"health",icon:mg,el:"Υγεία",en:"Health",descEl:"ÎοÏηλεία, εξÏνοÏοκομειακά, check-up",descEn:"Hospitalization, outpatient, check-up",color:"from-red-500 to-red-600"},{type:"home",icon:gg,el:"ÎαÏοικία",en:"Home",descEl:"Î Ï
Ïκαγιά, ÏειÏμÏÏ, κλοÏή",descEn:"Fire, earthquake, theft",color:"from-green-500 to-green-600"},{type:"life",icon:pg,el:"ÎÏή",en:"Life",descEl:"ÎάναÏοÏ, ανικανÏÏηÏα, αÏοÏαμίεÏ
Ïη",descEn:"Death, disability, savings",color:"from-purple-500 to-purple-600"},{type:"business",icon:vi,el:"ÎÏιÏείÏηÏη",en:"Business",descEl:"ÎÏÏική εÏ
θÏνη, ÏεÏιοÏ
Ïία, διακοÏή",descEn:"Liability, property, interruption",color:"from-amber-500 to-amber-600"},{type:"travel",icon:bS,el:"Ταξίδι",en:"Travel",descEl:"ÎαÏÏικά, ακÏÏÏÏη, αÏοÏκεÏ
ÎÏ",descEn:"Medical, cancellation, luggage",color:"from-cyan-500 to-cyan-600"},{type:"motorcycle",icon:mS,el:"ÎοÏοÏÏ
κλÎÏα",en:"Motorcycle",descEl:"Î¥ÏοÏÏεÏÏική, μικÏή, κλοÏή",descEn:"Mandatory, comprehensive, theft",color:"from-orange-500 to-orange-600"},{type:"pet",icon:yS,el:"ÎαÏοικίδιο",en:"Pet",descEl:"ÎÏηνιαÏÏικά, αÏÏÏημα, αÏθÎνεια",descEn:"Veterinary, accident, illness",color:"from-pink-500 to-pink-600"}];function Zz(){const{t:e,language:t}=Ye();return l.jsx("section",{className:"py-20 lg:py-28 bg-zinc-950",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 lg:mb-16",children:[l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ΤÏÏοι ÎÏÏάλιÏηÏ","Insurance Types")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ΣÏ
γκÏίνεÏε ÏιμÎÏ ÎºÎ±Î¹ καλÏÏÎµÎ¹Ï Î³Î¹Î± ÏÎ»ÎµÏ ÏÎ¹Ï ÎºÎ±ÏηγοÏÎ¯ÎµÏ Î±ÏÏάλιÏηÏ","Compare prices and coverage for all insurance categories")})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 lg:gap-6",children:Jz.map((n,r)=>l.jsx(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.05},children:l.jsx(Ze,{to:Qe("Compare")+`?type=${n.type}`,className:"group block h-full",children:l.jsxs("div",{className:"relative h-full bg-zinc-900/50 hover:bg-zinc-900 border border-white/5 hover:border-white/10 rounded-2xl p-6 transition-all duration-300 overflow-hidden",children:[l.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${n.color} opacity-0 group-hover:opacity-5 transition-opacity duration-300`}),l.jsxs("div",{className:"relative",children:[l.jsx("div",{className:`w-14 h-14 rounded-xl bg-gradient-to-br ${n.color} flex items-center justify-center mb-4 group-hover:scale-110 transition-transform duration-300`,children:l.jsx(n.icon,{className:"w-7 h-7 text-white"})}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2 group-hover:text-amber-400 transition-colors",children:t==="el"?n.el:n.en}),l.jsx("p",{className:"text-gray-500 text-sm mb-4",children:t==="el"?n.descEl:n.descEn}),l.jsxs("div",{className:"flex items-center text-amber-400 text-sm font-medium opacity-0 group-hover:opacity-100 transition-opacity",children:[e("ΣÏγκÏινε ΤÏÏα","Compare Now"),l.jsx(kn,{className:"w-4 h-4 ml-1 group-hover:translate-x-1 transition-transform"})]})]})]})})},n.type))})]})})}function e8(){const{t:e}=Ye(),t=[{icon:pS,number:"01",titleEl:"ΣÏ
μÏλήÏÏÏε Ïη ΦÏÏμα",titleEn:"Fill the Form",descEl:"ÎÏίλεξε Ïον ÏÏÏο αÏÏάλιÏÎ·Ï ÎºÎ±Î¹ ÏÏ
μÏλήÏÏÏε Ïα βαÏικά ÏÏοιÏεία Ïε λιγÏÏεÏο αÏÏ 1 λεÏÏÏ.",descEn:"Select the insurance type and fill in the basic details in less than 1 minute."},{icon:Al,number:"02",titleEl:"ÎÎµÏ Ïα ÎÏοÏελÎÏμαÏα",titleEn:"View Results",descEl:"Îάβε άμεÏα ÏÏοÏÏοÏÎÏ Î±ÏÏ ÏÎ¹Ï ÎºÎ¿ÏÏ
ÏÎ±Î¯ÎµÏ Î±ÏÏαλιÏÏικÎÏ ÎµÏαιÏείεÏ, ÏαξινομημÎÎ½ÎµÏ ÎºÎ±Ïά Ïιμή ή κάλÏ
Ïη.",descEn:"Get instant quotes from top insurance companies, sorted by price or coverage."},{icon:xS,number:"03",titleEl:"ÎÏίλεξε & ÎÏοθήκεÏ
Ïε",titleEn:"Choose & Save",descEl:"ΣÏγκÏινε ÏακÎÏα side-by-side, αγÏÏαÏε αναλÏ
ÏÎ¹ÎºÏ report ή ζήÏηÏε κλήÏη αÏÏ ÏÏμβοÏ
λο.",descEn:"Compare plans side-by-side, purchase detailed report or request a callback from advisor."}];return l.jsxs("section",{className:"py-20 lg:py-28 bg-black relative overflow-hidden",children:[l.jsxs("div",{className:"absolute inset-0",children:[l.jsx("div",{className:"absolute top-1/2 left-0 w-64 h-64 bg-amber-500/5 rounded-full blur-3xl"}),l.jsx("div",{className:"absolute bottom-0 right-0 w-96 h-96 bg-amber-500/5 rounded-full blur-3xl"})]}),l.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 lg:mb-16",children:[l.jsx("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-amber-500/10 rounded-full mb-6",children:l.jsx("span",{className:"text-amber-400 text-sm font-medium",children:e("ÎÏλή ÎιαδικαÏία","Simple Process")})}),l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("Î ÏÏ ÎειÏοÏ
Ïγεί","How It Works")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ΤÏία αÏλά βήμαÏα για να βÏείÏε Ïην ιδανική αÏÏάλεια","Three simple steps to find the ideal insurance")})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-8 lg:gap-12",children:t.map((n,r)=>l.jsxs(_e.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},className:"relative",children:[r<t.length-1&&l.jsx("div",{className:"hidden md:block absolute top-14 left-[60%] w-[80%] h-px bg-gradient-to-r from-amber-500/50 to-transparent"}),l.jsxs("div",{className:"relative text-center",children:[l.jsxs("div",{className:"relative inline-block mb-6",children:[l.jsx("div",{className:"w-28 h-28 rounded-2xl bg-gradient-to-br from-zinc-800 to-zinc-900 border border-white/10 flex items-center justify-center mx-auto",children:l.jsx(n.icon,{className:"w-12 h-12 text-amber-400"})}),l.jsx("div",{className:"absolute -top-2 -right-2 w-10 h-10 bg-gradient-to-br from-amber-500 to-amber-600 rounded-xl flex items-center justify-center text-black font-bold text-sm",children:n.number})]}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-3",children:e(n.titleEl,n.titleEn)}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e(n.descEl,n.descEn)})]})]},r))})]})]})}function t8(){const{t:e}=Ye(),t=[{name:{el:"Basic Report",en:"Basic Report"},price:"4,90",popular:!1,features:{el:["ΠλήÏÎ·Ï ÏÎ¯Î½Î±ÎºÎ±Ï ÏιμÏν","ÎαÏικÎÏ ÎºÎ±Î»ÏÏειÏ","Top 5 εÏιλογÎÏ","ÎξαγÏγή PDF"],en:["Complete price table","Basic coverage","Top 5 options","PDF export"]}},{name:{el:"Pro Report",en:"Pro Report"},price:"9,90",popular:!0,features:{el:["Îλα Ïα Basic +","ÎνάλÏ
Ïη καλÏÏεÏν/εξαιÏÎÏεÏν",'Score "Value for Money"',"ÎξαÏομικεÏ
μÎνη ÏÏÏÏαÏη","ΣÏγκÏιÏη side-by-side"],en:["All Basic +","Coverage/exclusions analysis",'"Value for Money" score',"Personalized recommendation","Side-by-side comparison"]}},{name:{el:"Premium Report",en:"Premium Report"},price:"14,90",popular:!1,features:{el:["Îλα Ïα Pro +","2η γνÏμη / εναλλακÏικά","ΣενάÏια ÏαμηλÏÏεÏÎ·Ï Î±ÏαλλαγήÏ","Î ÏοÏεÏαιÏÏηÏα Ï
ÏοÏÏήÏιξηÏ","Email με ÏÏνοÏη"],en:["All Pro +","2nd opinion / alternatives","Lower deductible scenarios","Priority support","Summary email"]}}];return l.jsxs("section",{className:"py-20 lg:py-28 bg-zinc-950 relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0",children:l.jsx("div",{className:"absolute top-0 right-1/4 w-96 h-96 bg-amber-500/5 rounded-full blur-3xl"})}),l.jsxs("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12 lg:mb-16",children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-amber-500/10 rounded-full mb-6",children:[l.jsx(vd,{className:"w-4 h-4 text-amber-400"}),l.jsx("span",{className:"text-amber-400 text-sm font-medium",children:e("ÎναλÏ
Ïικά Reports","Detailed Reports")})]}),l.jsx("h2",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ΤιμοκαÏÎ¬Î»Î¿Î³Î¿Ï Reports","Report Pricing")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎÏÏεάν preview + ÏληÏÏμÎνα reports με αναλÏ
ÏικÎÏ ÏληÏοÏοÏίεÏ","Free preview + paid reports with detailed information")})]}),l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-gradient-to-r from-green-500/10 to-emerald-500/10 border border-green-500/20 rounded-2xl p-6 mb-10 text-center",children:[l.jsxs("div",{className:"flex items-center justify-center gap-3 mb-2",children:[l.jsx(Lr,{className:"w-5 h-5 text-green-400"}),l.jsx("span",{className:"text-green-400 font-semibold",children:e("ÎΩΡÎÎÎ Preview ÎÏοÏελεÏμάÏÏν","FREE Results Preview")})]}),l.jsx("p",{className:"text-gray-400 text-sm",children:e("ÎείÏε εÏαιÏεία, ÏακÎÏο, ενδεικÏική Ïιμή και βαÏικÎÏ ÎºÎ±Î»ÏÏÎµÎ¹Ï ÏÏÏÎ¯Ï ÏÏÎÏÏη","See company, plan, indicative price and basic coverage for free")})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6 lg:gap-8",children:t.map((n,r)=>l.jsxs(_e.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.1},className:`relative rounded-2xl overflow-hidden ${n.popular?"bg-gradient-to-br from-amber-500/10 to-amber-600/5 border-2 border-amber-500/30":"bg-zinc-900/50 border border-white/5"}`,children:[n.popular&&l.jsxs("div",{className:"absolute top-0 left-0 right-0 bg-gradient-to-r from-amber-500 to-amber-600 text-black text-xs font-semibold py-1.5 text-center",children:[l.jsx(Oo,{className:"w-3 h-3 inline-block mr-1"}),e("Î ÎÎ ÎÎÎÎΦÎÎÎΣ","MOST POPULAR")]}),l.jsxs("div",{className:`p-6 lg:p-8 ${n.popular?"pt-10":""}`,children:[l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e(n.name.el,n.name.en)}),l.jsxs("div",{className:"flex items-baseline gap-1 mb-6",children:[l.jsx("span",{className:"text-4xl font-bold text-white",children:n.price}),l.jsx("span",{className:"text-gray-400",children:"â¬"}),l.jsx("span",{className:"text-gray-500 text-sm ml-1",children:e("/ ÎÏεÏ
να","/ research")})]}),l.jsx("ul",{className:"space-y-3 mb-8",children:(e(n.features.el,n.features.en)||n.features.el).map((i,a)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(Lr,{className:`w-5 h-5 flex-shrink-0 mt-0.5 ${n.popular?"text-amber-400":"text-gray-500"}`}),l.jsx("span",{className:"text-gray-300 text-sm",children:i})]},a))}),l.jsx(Ze,{to:Qe("Compare"),children:l.jsx(Te,{className:`w-full ${n.popular?"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold":"bg-white/10 hover:bg-white/15 text-white"}`,children:e("Îεκίνα ΣÏγκÏιÏη","Start Comparison")})})]})]},r))})]})]})}function n8(){const{t:e}
444=Ye(),t=[{icon:wi,titleEl:"GDPR ΣÏ
μμÏÏÏÏÏη",titleEn:"GDPR Compliant",descEl:"ΠλήÏÎ·Ï ÏÏ
μμÏÏÏÏÏη με Ïον ÎÏ
ÏÏÏαÏÎºÏ ÎανονιÏÎ¼Ï Î ÏοÏÏαÏÎ¯Î±Ï ÎεδομÎνÏν",descEn:"Full compliance with the European Data Protection Regulation"},{icon:wS,titleEl:"ÎÏÏαλή ÎεδομÎνα",titleEn:"Secure Data",descEl:"ÎÏÏ
ÏÏογÏάÏηÏη SSL και αÏοθήκεÏ
Ïη Ïε αÏÏÎ±Î»ÎµÎ¯Ï servers",descEn:"SSL encryption and storage on secure servers"},{icon:gS,titleEl:"ÎÏίÏÎ·Î¼ÎµÏ Î Î·Î³ÎÏ",titleEn:"Official Sources",descEl:"ÎεδομÎνα αÏÏ partner feeds και εÏίÏημα APIs - ÏÏÏÎ¯Ï scraping",descEn:"Data from partner feeds and official APIs - no scraping"},{icon:Rl,titleEl:"ÎνδεικÏικÎÏ Î¤Î¹Î¼ÎÏ",titleEn:"Indicative Prices",descEl:"Îι ÏιμÎÏ ÎµÎ¯Î½Î±Î¹ ενδεικÏικÎÏ ÎºÎ±Î¹ εÏιβεβαιÏνονÏαι αÏÏ Ïον ÏάÏοÏο",descEn:"Prices are indicative and confirmed by the provider"}];return l.jsx("section",{className:"py-16 lg:py-20 bg-black border-t border-b border-white/5",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-10",children:[l.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white mb-3",children:e("ÎÏÏάλεια & ÎμÏιÏÏοÏÏνη","Security & Trust")}),l.jsx("p",{className:"text-gray-400",children:e("Î ÏÏοÏÏαÏία ÏÏν δεδομÎνÏν ÏÎ±Ï ÎµÎ¯Î½Î±Î¹ η ÏÏοÏεÏαιÏÏηÏά μαÏ","Your data protection is our priority")})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:t.map((n,r)=>l.jsxs(_e.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.05},className:"flex items-start gap-4 p-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center flex-shrink-0",children:l.jsx(n.icon,{className:"w-6 h-6 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-semibold mb-1",children:e(n.titleEl,n.titleEn)}),l.jsx("p",{className:"text-gray-500 text-sm leading-relaxed",children:e(n.descEl,n.descEn)})]})]},r))}),l.jsx(_e.div,{initial:{opacity:0}
444,whileInView:{opacity:1},viewport:{once:!0},className:"mt-10 p-4 bg-zinc-900/50 rounded-xl border border-white/5",children:l.jsx("p",{className:"text-gray-500 text-xs text-center leading-relaxed",children:e("ÎÏοÏοίηÏη: Îι ÏιμÎÏ ÎºÎ±Î¹ οι καλÏÏÎµÎ¹Ï ÏοÏ
εμÏανίζονÏαι είναι ενδεικÏικÎÏ ÎºÎ±Î¹ ÏÏοÎÏÏονÏαι αÏÏ partner feeds, affiliate δεδομÎνα ή ÏειÏοκίνηÏη ειÏαγÏγή ÏÏον καÏÎ¬Î»Î¿Î³Ï Î¼Î±Ï. Î Ïελική Ïιμή και οι ÏÏοι εÏιβεβαιÏνονÏαι αÏÏ Ïην αÏÏαλιÏÏική εÏαιÏεία καÏά Ïην ÎκδοÏη ÏοÏ
ÏÏ
μβολαίοÏ
. Îεν ÏÏαγμαÏοÏοιοÏμε scraping δεδομÎνÏν.","Disclaimer: Prices and coverages displayed are indicative and come from partner feeds, affiliate data, or manual catalog entry. Final price and terms are confirmed by the insurance company upon policy issuance. We do not perform data scraping.")})})]})})}function r8(){const{t:e}=Ye(),[t,n]=x.useState(!1);return l.jsxs(l.Fragment,{children:[l.jsxs("section",{className:"py-20 lg:py-28 bg-black relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-amber-500/10 via-black to-black"}),l.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-amber-500/10 rounded-full blur-3xl"}),l.jsx("div",{className:"relative max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:l.jsxs(_e.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[l.jsx("h2",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6 leading-tight",children:e("ÎÏοιμοι να βÏείÏε Ïην ιδανική αÏÏάλεια;","Ready to find the ideal insurance?")}),l.jsx("p",{className:"text-xl text-gray-400 mb-10 max-w-2xl mx-auto",children:e("ÎεκινήÏÏε Ïη ÏÏγκÏιÏη ÏÏÏα ή μιλήÏÏε με Îναν αÏÏ ÏοÏ
Ï ÏÏ
μβοÏλοÏ
Ï Î¼Î±Ï Î³Î¹Î± εξαÏομικεÏ
μÎνη βοήθεια.","Start your comparison now or talk to one of our advisors for personalized help.")}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[l.jsx(Ze,{to:Qe("Compare"),children:l.jsxs(Te,{size:"lg",className:"w-full sm:w-auto bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold text-lg px-10 h-14 shadow-lg shadow-amber-500/25",children:[e("Îεκίνα ΣÏγκÏιÏη","Start Comparison"),l.jsx(kn,{className:"w-5 h-5 ml-2"})]})}),l.jsxs(Te,{size:"lg",variant:"outline",onClick:()=>n(!0),className:"w-full sm:w-auto border-amber-400 text-amber-400 hover:bg-amber-500/10 h-14 px-10",children:[l.jsx(Fr,{className:"w-5 h-5 mr-2"}),e("ÎνάθεÏη Ïε ΣÏμβοÏ
λο","Request Advisor")]})]}),l.jsx("p",{className:"mt-6 text-gray-500 text-sm",children:e("ÎÏÏεάν preview ⢠ΧÏÏÎ¯Ï Î´ÎÏμεÏ
Ïη ⢠ÎÏοÏελÎÏμαÏα Ïε 2 λεÏÏά","Free preview ⢠No commitment ⢠Results in 2 minutes")})]})})]}),l.jsx(Gd,{isOpen:t,onClose:()=>n(!1),sourcePage:"home_cta"})]})}function s8(){return l.jsxs(l.Fragment,{children:[l.jsx(Xz,{}),l.jsx(Zz,{}),l.jsx(e8,{}),l.jsx(t8,{}),l.jsx(n8,{}),l.jsx(r8,{})]})}const i8=[{type:"auto",icon:dg,el:"ÎÏ
ÏοκίνηÏο",en:"Auto"},{type:"health",icon:mg,el:"Υγεία",en:"Health"},{type:"home",icon:gg,el:"ÎαÏοικία",en:"Home"},{type:"life",icon:pg,el:"ÎÏή",en:"Life"},{type:"business",icon:vi,el:"ÎÏιÏείÏηÏη",en:"Business"},{type:"travel",icon:bS,el:"Ταξίδι",en:"Travel"},{type:"motorcycle",icon:mS,el:"ÎοÏοÏÏ
κλÎÏα",en:"Motorcycle"},{type:"pet",icon:yS,el:"ÎαÏοικίδιο",en:"Pet"}];function o8({selected:e,onSelect:t}){const{t:n,language:r}=Ye();return l.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 lg:gap-4",children:i8.map(i=>{const a=e===i.type;return l.jsxs(_e.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:()=>t(i.type),className:`relative p-4 lg:p-6 rounded-xl border transition-all duration-200 ${a?"bg-amber-500/10 border-amber-500/50 ring-2 ring-amber-500/20":"bg-zinc-900/50 border-white/5 hover:border-white/20"}`,children:[l.jsxs("div",{className:"flex flex-col items-center text-center gap-2",children:[l.jsx(i.icon,{className:`w-8 h-8 ${a?"text-amber-400":"text-gray-400"}`}),l.jsx("span",{className:`font-medium ${a?"text-white":"text-gray-300"}`,children:r==="el"?i.el:i.en})]}),a&&l.jsx(_e.div,{layoutId:"selector-indicator",className:"absolute inset-0 rounded-xl border-2 border-amber-500",transition:{type:"spring",bounce:.2,duration:.6}})]},i.type)})})}var wk=["PageUp","PageDown"],bk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Sk={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ea="Slider",[eg,a8,l8]=Vd(ea),[Nk]=Tn(ea,[l8]),[c8,tf]=Nk(ea),Ck=x.forwardRef((e,t)=>
444{const{name:n,min:r=0,max:i=100,step:a=1,orientation:c="horizontal",disabled:d=!1,minStepsBetweenThumbs:f=0,defaultValue:m=[r],value:p,onValueChange:g=()=>{},onValueCommit:v=()=>{},inverted:N=!1,form:C,...b}=e,S=x.useRef(new Set),j=x.useRef(0),k=c==="horizontal"?u8:d8,[T=[],A]=fr({prop:p,defaultProp:m,onChange:B=>{var se;(se=[...S.current][j.current])==null||se.focus(),g(B)}}),U=x.useRef(T);function F(B){const J=g8(T,B);K(B,J)}function L(B){K(B,j.current)}function te(){const B=U.current[j.current];T[j.current]!==B&&v(T)}function K(B,J,{commit:se}={commit:!1}){const le=w8(a),ve=b8(Math.round((B-r)/a)*a+r,le),G=td(ve,[r,i]);A((ne=[])=>{const D=m8(ne,G,J);if(v8(D,f*a)){j.current=D.indexOf(G);const W=String(D)!==String(ne);return W&&se&&v(D),W?D:ne}else return ne})}return l.jsx(c8,{scope:e.__scopeSlider,name:n,disabled:d,min:r,max:i,valueIndexToChangeRef:j,thumbs:S.current,values:T,orientation:c,form:C,children:l.jsx(eg.Provider,{scope:e.__scopeSlider,children:l.jsx(eg.Slot,{scope:e.__scopeSlider,children:l.jsx(k,{"aria-disabled":d,"data-disabled":d?"":void 0,...b,ref:t,onPointerDown:ie(b.onPointerDown,()=>{d||(U.current=T)}),min:r,max:i,inverted:N,onSlideStart:d?void 0:F,onSlideMove:d?void 0:L,onSlideEnd:d?void 0:te,onHomeKeyDown:()=>!d&&K(r,0,{commit:!0}),onEndKeyDown:()=>!d&&K(i,T.length-1,{commit:!0}),onStepKeyDown:({event:B,direction:J})=>{if(!d){const ve=wk.includes(B.key)||B.shiftKey&&bk.includes(B.key)?10:1,G=j.current,ne=T[G],D=a*ve*J;K(ne+D,G,{commit:!0})}}})})})})});Ck.displayName=ea;var[jk,Ek]=Nk(ea,{startEdge:"left",endEdge:"right",size:"width",direction:1}),u8=x.forwardRef((e,t)=>{const{min:n,max:r,dir:i,inverted:a,onSlideStart:c,onSlideMove:d,onSlideEnd:f,onStepKeyDown:m,...p}=e,[g,v]=x.useState(null),N=Ie(t,k=>v(k)),C=x.useRef(void 0),b=Ul(i),S=b==="ltr",j=S&&!a||!S&&a;function P(k){const T=C.current||g.getBoundingClientRect(),A=[0,T.width],F=Fy(A,j?[n,r]:[r,n]);return C.current=T,F(k-T.left)}return l.jsx(jk,{scope:e.__scopeSlider,startEdge:j?"left":"right",endEdge:j?"right":"left",direction:j?1:-1,size:"width",children:l.jsx(kk,{dir:b,"data-orientation":"horizontal",...p,ref:N,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:k=>{const T=P(k.clientX);c==null||c(T)},onSlideMove:k=>{const T=P(k.clientX);d==null||d(T)},onSlideEnd:()=>{C.current=void 0,f==null||f()},onStepKeyDown:k=>{const A=Sk[j?"from-left":"from-right"].includes(k.key);m==null||m({event:k,direction:A?-1:1})}})})}),d8=x.forwardRef((e,t)=>{const{min:n,max:r,inverted:i,onSlideStart:a,onSlideMove:c,onSlideEnd:d,onStepKeyDown:f,...m}=e,p=x.useRef(null),g=Ie(t,p),v=x.useRef(void 0),N=!i;function C(b){const S=v.current||p.current.getBoundingClientRect(),j=[0,S.height],k=Fy(j,N?[r,n]:[n,r]);return v.current=S,k(b-S.top)}return l.jsx(jk,{scope:e.__scopeSlider,startEdge:N?"bottom":"top",endEdge:N?"top":"bottom",size:"height",direction:N?1:-1,children:l.jsx(kk,{"data-orientation":"vertical",...m,ref:g,style:{...m.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:b=>{const S=C(b.clientY);a==null||a(S)},onSlideMove:b=>{const S=C(b.clientY);c==null||c(S)},onSlideEnd:()=>{v.current=void 0,d==null||d()},onStepKeyDown:b=>{const j=Sk[N?"from-bottom":"from-top"].includes(b.key);f==null||f({event:b,direction:j?-1:1})}})})}),kk=x.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:a,onHomeKeyDown:c,onEndKeyDown:d,onStepKeyDown:f,...m}=e,p=tf(ea,n);return l.jsx(ke.span,{...m,ref:t,onKeyDown:ie(e.onKeyDown,g=>{g.key==="Home"?(c(g),g.preventDefault()):g.key==="End"?(d(g),g.preventDefault()):wk.concat(bk).includes(g.key)&&(f(g),g.preventDefault())}),onPointerDown:ie(e.onPointerDown,g=>{const v=g.target;v.setPointerCapture(g.pointerId),g.preventDefault(),p.thumbs.has(v)?v.focus():r(g)}),onPointerMove:ie(e.onPointerMove,g=>{g.target.hasPointerCapture(g.pointerId)&&i(g)}),onPointerUp:ie(e.onPointerUp,g=>{const v=g.target;v.hasPointerCapture(g.pointerId)&&(v.releasePointerCapture(g.pointerId),a(g))})})}),Pk="SliderTrack",Tk=x.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,i=tf(Pk,n);return l.jsx(ke.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});Tk.displayName=Pk;var tg="SliderRange",_k=x.forwardRef((e,t)=>
444{const{__scopeSlider:n,...r}=e,i=tf(tg,n),a=Ek(tg,n),c=x.useRef(null),d=Ie(t,c),f=i.values.length,m=i.values.map(v=>Mk(v,i.min,i.max)),p=f>1?Math.min(...m):0,g=100-Math.max(...m);return l.jsx(ke.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...r,ref:d,style:{...e.style,[a.startEdge]:p+"%",[a.endEdge]:g+"%"}})});_k.displayName=tg;var ng="SliderThumb",Rk=x.forwardRef((e,t)=>{const n=a8(e.__scopeSlider),[r,i]=x.useState(null),a=Ie(t,d=>i(d)),c=x.useMemo(()=>r?n().findIndex(d=>d.ref.current===r):-1,[n,r]);return l.jsx(f8,{...e,ref:a,index:c})}),f8=x.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:i,...a}=e,c=tf(ng,n),d=Ek(ng,n),[f,m]=x.useState(null),p=Ie(t,P=>m(P)),g=f?c.form||!!f.closest("form"):!0,v=_d(f),N=c.values[r],C=N===void 0?0:Mk(N,c.min,c.max),b=p8(r,c.values.length),S=v==null?void 0:v[d.size],j=S?y8(S,C,d.direction):0;return x.useEffect(()=>{if(f)return c.thumbs.add(f),()=>{c.thumbs.delete(f)}},[f,c.thumbs]),l.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[d.startEdge]:`calc(${C}% + ${j}px)`},children:[l.jsx(eg.ItemSlot,{scope:e.__scopeSlider,children:l.jsx(ke.span,{role:"slider","aria-label":e["aria-label"]||b,"aria-valuemin":c.min,"aria-valuenow":N,"aria-valuemax":c.max,"aria-orientation":c.orientation,"data-orientation":c.orientation,"data-disabled":c.disabled?"":void 0,tabIndex:c.disabled?void 0:0,...a,ref:p,style:N===void 0?{display:"none"}:e.style,onFocus:ie(e.onFocus,()=>{c.valueIndexToChangeRef.current=r})})}),g&&l.jsx(Ak,{name:i??(c.name?c.name+(c.values.length>1?"[]":""):void 0),form:c.form,value:N},r)]})});Rk.displayName=ng;var h8="RadioBubbleInput",Ak=x.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const i=x.useRef(null),a=Ie(i,r),c=Td(t);return x.useEffect(()=>{const d=i.current;if(!d)return;const f=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(f,"value").set;if(c!==t&&p){const g=new Event("input",{bubbles:!0});p.call(d,t),d.dispatchEvent(g)}},[c,t]),l.jsx(ke.input,{style:{display:"none"},...n,ref:a,defaultValue:t})});Ak.displayName=h8;function m8(e=[],t,n){const r=[...e];return r[n]=t,r.sort((i,a)=>i-a)}function Mk(e,t,n){const a=100/(n-t)*(e-t);return td(a,[0,100])}function p8(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function g8(e,t){if(e.length===1)return 0;const n=e.map(i=>Math.abs(i-t)),r=Math.min(...n);return n.indexOf(r)}function y8(e,t,n){const r=e/2,a=Fy([0,50],[0,r]);return(r-a(t)*n)*n}function x8(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function v8(e,t){if(t>0){const n=x8(e);return Math.min(...n)>=t}return!0}function Fy(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function w8(e){return(String(e).split(".")[1]||"").length}function b8(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var Ok=Ck,S8=Tk,N8=_k,C8=Rk;const Dk=x.forwardRef(({className:e,...t},n)=>l.jsxs(Ok,{ref:n,className:Se("relative flex w-full touch-none select-none items-center",e),...t,children:[l.jsx(S8,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:l.jsx(N8,{className:"absolute h-full bg-primary"})}),l.jsx(C8,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));Dk.displayName=Ok.displayName;var nf="Switch",[j8]=Tn(nf),[E8,k8]=j8(nf),Ik=x.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:c,disabled:d,value:f="on",onCheckedChange:m,form:p,...g}=e,[v,N]=x.useState(null),C=Ie(t,k=>N(k)),b=x.useRef(!1),S=v?p||!!v.closest("form"):!0,[j,P]=fr({prop:i,defaultProp:a??!1,onChange:m,caller:nf});return l.jsxs(E8,{scope:n,checked:j,disabled:d,children:[l.jsx(ke.button,{type:"button",role:"switch","aria-checked":j,"aria-required":c,"data-state":Vk(j),"data-disabled":d?"":void 0,disabled:d,value:f,...g,ref:C,onClick:ie(e.onClick,k=>{P(T=>!T),S&&(b.current=k.isPropagationStopped(),b.current||k.stopPropagation())})}),S&&l.jsx(Bk,{control:v,bubbles:!b.current,name:r,value:f,checked:j,required:c,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});Ik.displayName=nf;var Lk="SwitchThumb",Fk=x.forwardRef((e,t)=>
444{const{__scopeSwitch:n,...r}=e,i=k8(Lk,n);return l.jsx(ke.span,{"data-state":Vk(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})});Fk.displayName=Lk;var P8="SwitchBubbleInput",Bk=x.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...i},a)=>{const c=x.useRef(null),d=Ie(c,a),f=Td(n),m=_d(t);return x.useEffect(()=>{const p=c.current;if(!p)return;const g=window.HTMLInputElement.prototype,N=Object.getOwnPropertyDescriptor(g,"checked").set;if(f!==n&&N){const C=new Event("click",{bubbles:r});N.call(p,n),p.dispatchEvent(C)}},[f,n,r]),l.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:d,style:{...i.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Bk.displayName=P8;function Vk(e){return e?"checked":"unchecked"}var zk=Ik,T8=Fk;const By=x.forwardRef(({className:e,...t},n)=>l.jsx(zk,{className:Se("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:l.jsx(T8,{className:Se("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));By.displayName=zk.displayName;const _8={auto:{fields:[{key:"vehicle_type",type:"select",labelEl:"ΤÏÏÎ¿Ï ÎÏήμαÏοÏ",labelEn:"Vehicle Type",options:[{value:"car",el:"ÎÏ
ÏοκίνηÏο",en:"Car"},{value:"suv",el:"SUV",en:"SUV"},{value:"van",el:"Van",en:"Van"}]},{key:"cc",type:"select",labelEl:"ÎÏ
βικά (cc)",labelEn:"Engine (cc)",options:[{value:"1000",el:"ÎÏÏ 1000cc",en:"Up to 1000cc"},{value:"1400",el:"1001-1400cc",en:"1001-1400cc"},{value:"1600",el:"1401-1600cc",en:"1401-1600cc"},{value:"2000",el:"1601-2000cc",en:"1601-2000cc"},{value:"2500",el:"2001+cc",en:"2001+cc"}]},{key:"year",type:"input",inputType:"number",labelEl:"ÎÏÎ¿Ï ÎαÏαÏκεÏ
ήÏ",labelEn:"Year",placeholder:"2020"},{key:"region",type:"select",labelEl:"ΠεÏιοÏή",labelEn:"Region",options:[{value:"athens",el:"ÎÏÏική",en:"Attica"},{value:"thessaloniki",el:"ÎεÏÏαλονίκη",en:"Thessaloniki"},{value:"other",el:"Îλλη",en:"Other"}]},{key:"usage",type:"select",labelEl:"ΧÏήÏη",labelEn:"Usage",options:[{value:"personal",el:"ÎδιÏÏική",en:"Personal"},{value:"professional",el:"ÎÏαγγελμαÏική",en:"Professional"}]},{key:"bonus_malus",type:"slider",labelEl:"Bonus-Malus",labelEn:"Bonus-Malus",min:0,max:20},{key:"driver_age",type:"input",inputType:"number",labelEl:"Îλικία ÎδηγοÏ",labelEn:"Driver Age",placeholder:"35"}]},health:{fields:[{key:"age",type:"input",inputType:"number",labelEl:"Îλικία",labelEn:"Age",placeholder:"35"},{key:"city",type:"select",labelEl:"Î Ïλη",labelEn:"City",options:[{value:"athens",el:"Îθήνα",en:"Athens"},{value:"thessaloniki",el:"ÎεÏÏαλονίκη",en:"Thessaloniki"},{value:"other",el:"Îλλη",en:"Other"}]},{key:"coverage_level",type:"select",labelEl:"ÎÏίÏεδο ÎάλÏ
ÏηÏ",labelEn:"Coverage Level",options:[{value:"basic",el:"ÎαÏικÏ",en:"Basic"},{value:"standard",el:"Standard",en:"Standard"},{value:"premium",el:"Premium",en:"Premium"}]},{key:"inpatient",type:"switch",labelEl:"ÎοÏηλεία",labelEn:"Inpatient"},{key:"outpatient",type:"switch",labelEl:"ÎξÏνοÏοκομειακά",labelEn:"Outpatient"},{key:"deductible",type:"select",labelEl:"ÎÏαλλαγή",labelEn:"Deductible",options:[{value:"0",el:"0â¬",en:"â¬0"},{value:"500",el:"500â¬",en:"â¬500"},{value:"1000",el:"1000â¬",en:"â¬1000"},{value:"2000",el:"2000â¬",en:"â¬2000"}]}]},home:{fields:[{key:"property_type",type:"select",labelEl:"ΤÏÏÎ¿Ï ÎκινήÏοÏ
",labelEn:"Property Type",options:[{value:"apartment",el:"ÎιαμÎÏιÏμα",en:"Apartment"},{value:"house",el:"ÎονοκαÏοικία",en:"House"},{value:"maisonette",el:"ÎεζονÎÏα",en:"Maisonette"}]},{key:"sqm",type:"input",inputType:"number",labelEl:"ΤεÏÏαγÏνικά (Ï.μ.)",labelEn:"Square Meters",placeholder:"100"},{key:"location",type:"select",labelEl:"ΤοÏοθεÏία",labelEn:"Location",options:[{value:"urban",el:"ÎÏÏικÏ",en:"Urban"},{value:"suburban",el:"Î ÏοάÏÏιο",en:"Suburban"},{value:"rural",el:"ÎγÏοÏικÏ",en:"Rural"}]},{key:"build_year",type:"input",inputType:"number",labelEl:"ÎÏÎ¿Ï ÎαÏαÏκεÏ
ήÏ",labelEn:"Build Year",placeholder:"2000"},{key:"fire",type:"switch",labelEl:"Î Ï
Ïκαγιά",labelEn:"Fire"},{key:"earthquake",type:"switch",labelEl:"ΣειÏμÏÏ",labelEn:"Earthquake"},{key:"theft",type:"switch",labelEl:"ÎλοÏή",labelEn:"Theft"}]},life:{fields:[{key:"age",type:"input",inputType:"number",labelEl:"Îλικία",labelEn:"Age",placeholder:"35"},{key:"smoker",type:"switch",labelEl:"ÎαÏνιÏÏήÏ",labelEn:"Smoker"},{key:"term_length",type:"select",labelEl:"ÎιάÏκεια (ÎÏη)",labelEn:"Term (years)",options:[{value:"10",el:"10 ÎÏη",en:"10 years"},{value:"15",el:"15 ÎÏη",en:"15 years"},{value:"20",el:"20 ÎÏη",en:"20 years"},{value:"30",el:"30 ÎÏη",en:"30 years"}]},{key:"amount_insured",type:"select",labelEl:"ΠοÏÏ ÎÏÏάλιÏηÏ",labelEn:"Amount Insured",options:[{value:"50000",el:"50.000â¬",en:"â¬50,000"},{value:"100000",el:"100.000â¬",en:"â¬100,000"},{value:"200000",el:"200.000â¬",en:"â¬200,000"},{value:"500000",el:"500.000â¬",en:"â¬500,000"}]}]},business:{fields:[{key:"sector",type:"select",labelEl:"ÎλάδοÏ",labelEn:"Sector",options:[{value:"retail",el:"ÎÎ¹Î±Î½Î¹ÎºÏ ÎμÏÏÏιο",en:"Retail"},{value:"services",el:"Î¥ÏηÏεÏίεÏ",en:"Services"},{value:"manufacturing",el:"ÎιομηÏανία",en:"Manufacturing"}
444,{value:"hospitality",el:"ΤοÏ
ÏιÏμÏÏ/ÎÏÏίαÏη",en:"Hospitality"},{value:"other",el:"Îλλο",en:"Other"}]},{key:"turnover",type:"select",labelEl:"ΤζίÏοÏ",labelEn:"Turnover",options:[{value:"100000",el:"ÎÏÏ 100.000â¬",en:"Up to â¬100K"},{value:"500000",el:"100.000-500.000â¬",en:"â¬100K-500K"},{value:"1000000",el:"500.000-1.000.000â¬",en:"â¬500K-1M"},{value:"5000000",el:"1.000.000+â¬",en:"â¬1M+"}]},{key:"employees",type:"input",inputType:"number",labelEl:"ÎÏιθμÏÏ ÎÏγαζομÎνÏν",labelEn:"Employees",placeholder:"10"},{key:"liability",type:"switch",labelEl:"ÎÏÏική ÎÏ
θÏνη",labelEn:"Liability"},{key:"property",type:"switch",labelEl:"ΠεÏιοÏ
Ïία",labelEn:"Property"},{key:"interruption",type:"switch",labelEl:"ÎιακοÏή ÎÏγαÏιÏν",labelEn:"Business Interruption"}]},travel:{fields:[{key:"destination",type:"select",labelEl:"Î ÏοοÏιÏμÏÏ",labelEn:"Destination",options:[{value:"europe",el:"ÎÏ
ÏÏÏη",en:"Europe"},{value:"worldwide",el:"ΠαγκοÏμίÏÏ",en:"Worldwide"},{value:"usa",el:"ÎÎ Î/ÎαναδάÏ",en:"USA/Canada"}]},{key:"days",type:"input",inputType:"number",labelEl:"ÎμÎÏÎµÏ Î¤Î±Î¾Î¹Î´Î¹Î¿Ï",labelEn:"Travel Days",placeholder:"7"},{key:"age",type:"input",inputType:"number",labelEl:"Îλικία",labelEn:"Age",placeholder:"35"},{key:"medical",type:"switch",labelEl:"ÎαÏÏικά Îξοδα",labelEn:"Medical Coverage"},{key:"cancellation",type:"switch",labelEl:"ÎκÏÏÏÏη ΤαξιδιοÏ",labelEn:"Trip Cancellation"},{key:"luggage",type:"switch",labelEl:"ÎÏοÏκεÏ
ÎÏ",labelEn:"Luggage"}]},motorcycle:{fields:[{key:"cc",type:"select",labelEl:"ÎÏ
βικά (cc)",labelEn:"Engine (cc)",options:[{value:"125",el:"ÎÏÏ 125cc",en:"Up to 125cc"},{value:"250",el:"126-250cc",en:"126-250cc"},{value:"600",el:"251-600cc",en:"251-600cc"},{value:"1000",el:"601+cc",en:"601+cc"}]},{key:"year",type:"input",inputType:"number",labelEl:"ÎÏÎ¿Ï ÎαÏαÏκεÏ
ήÏ",labelEn:"Year",placeholder:"2020"},{key:"driver_age",type:"input",inputType:"number",labelEl:"Îλικία ÎδηγοÏ",labelEn:"Driver Age",placeholder:"30"},{key:"comprehensive",type:"switch",labelEl:"ÎικÏή",labelEn:"Comprehensive"},{key:"theft",type:"switch",labelEl:"ÎλοÏή",labelEn:"Theft"}]},pet:{fields:[{key:"pet_type",type:"select",labelEl:"ΤÏÏÎ¿Ï ÎÏοÏ
",labelEn:"Pet Type",options:[{value:"dog",el:"ΣκÏλοÏ",en:"Dog"},{value:"cat",el:"ÎάÏα",en:"Cat"}]},{key:"age",type:"input",inputType:"number",labelEl:"Îλικία ÎÏοÏ
",labelEn:"Pet Age",placeholder:"3"},{key:"breed",type:"input",inputType:"text",labelEl:"ΡάÏÏα",labelEn:"Breed",placeholder:""},{key:"veterinary",type:"switch",labelEl:"ÎÏηνιαÏÏικά",labelEn:"Veterinary"},{key:"accident",type:"switch",labelEl:"ÎÏÏÏημα",labelEn:"Accident"},{key:"illness",type:"switch",labelEl:"ÎÏθÎνεια",labelEn:"Illness"}]}};
444function R8({insuranceType:e,formData:t,onFormChange:n}){const{t:r,language:i}=Ye(),a=_8[e]||{fields:[]},c=(d,f)=>{n({...t,[d]:f})};return l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:a.fields.map(d=>l.jsxs("div",{className:d.type==="switch"?"flex items-center justify-between":"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:i==="el"?d.labelEl:d.labelEn}),d.type==="input"&&l.jsx(pt,{type:d.inputType,value:t[d.key]||"",onChange:f=>c(d.key,f.target.value),placeholder:d.placeholder,className:"bg-zinc-800 border-zinc-700 text-white"}),d.type==="select"&&l.jsxs(_s,{value:t[d.key]||"",onValueChange:f=>c(d.key,f),children:[l.jsx(Ar,{className:"bg-zinc-800 border-zinc-700 text-white",children:l.jsx(Rs,{placeholder:r("ÎÏιλÎξÏε...","Select...")})}),l.jsx(Mr,{className:"bg-zinc-800 border-zinc-700",children:d.options.map(f=>l.jsx(Bt,{value:f.value,className:"text-white",children:i==="el"?f.el:f.en},f.value))})]}),d.type==="slider"&&l.jsxs("div",{className:"pt-2",children:[l.jsx(Dk,{value:[t[d.key]||d.min],onValueChange:([f])=>c(d.key,f),min:d.min,max:d.max,step:1,className:"w-full"}),l.jsx("div",{className:"text-amber-400 text-sm mt-1",children:t[d.key]||d.min})]}),d.type==="switch"&&l.jsx(By,{checked:t[d.key]||!1,onCheckedChange:f=>c(d.key,f),className:"data-[state=checked]:bg-amber-500"})]},d.key))})}const A8=_l("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 kt({className:e,variant:t,...n}){return l.jsx("div",{className:Se(A8({variant:t}),e),...n})}var[rf]=Tn("Tooltip",[Xo]),sf=Xo(),Uk="TooltipProvider",M8=700,rg="tooltip.open",[O8,Vy]=rf(Uk),$k=e=>{const{__scopeTooltip:t,delayDuration:n=M8,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,c=x.useRef(!0),d=x.useRef(!1),f=x.useRef(0);return x.useEffect(()=>{const m=f.current;return()=>window.clearTimeout(m)},[]),l.jsx(O8,{scope:t,isOpenDelayedRef:c,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(f.current),c.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>c.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:x.useCallback(m=>{d.current=m},[]),disableHoverableContent:i,children:a})};$k.displayName=Uk;var bl="Tooltip",[D8,Ql]=rf(bl),Hk=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:c,delayDuration:d}=e,f=Vy(bl,e.__scopeTooltip),m=sf(t),[p,g]=x.useState(null),v=$n(),N=x.useRef(0),C=c??f.disableHoverableContent,b=d??f.delayDuration,S=x.useRef(!1),[j,P]=fr({prop:r,defaultProp:i??!1,onChange:F=>{F?(f.onOpen(),document.dispatchEvent(new CustomEvent(rg))):f.onClose(),a==null||a(F)},caller:bl}),k=x.useMemo(()=>j?S.current?"delayed-open":"instant-open":"closed",[j]),T=x.useCallback(()=>{window.clearTimeout(N.current),N.current=0,S.current=!1,P(!0)},[P]),A=x.useCallback(()=>{window.clearTimeout(N.current),N.current=0,P(!1)},[P]),U=x.useCallback(()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>{S.current=!0,P(!0),N.current=0},b)},[b,P]);return x.useEffect(()=>()=>{N.current&&(window.clearTimeout(N.current),N.current=0)},[]),l.jsx(Zg,{...m,children:l.jsx(D8,{scope:t,contentId:v,open:j,stateAttribute:k,trigger:p,onTriggerChange:g,onTriggerEnter:x.useCallback(()=>{f.isOpenDelayedRef.current?U():T()},[f.isOpenDelayedRef,U,T]),onTriggerLeave:x.useCallback(()=>{C?A():(window.clearTimeout(N.current),N.current=0)},[A,C]),onOpen:T,onClose:A,disableHoverableContent:C,children:n})})};Hk.displayName=bl;var sg="TooltipTrigger",Wk=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Ql(sg,n),a=Vy(sg,n),c=sf(n),d=x.useRef(null),f=Ie(t,d,i.onTriggerChange),m=x.useRef(!1),p=x.useRef(!1),g=x.useCallback(()=>m.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),l.jsx(ey,{asChild:!0,...c,children:l.jsx(ke.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:f,onPointerMove:ie(e.onPointerMove,v=>{v.pointerType!=="touch"&&!p.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),p.current=!0)}),onPointerLeave:ie(e.onPointerLeave,()=>{i.onTriggerLeave(),p.current=!1}),onPointerDown:ie(e.onPointerDown,()=>{i.open&&i.onClose(),m.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:ie(e.onFocus,()=>{m.current||i.onOpen()}),onBlur:ie(e.onBlur,i.onClose),onClick:ie(e.onClick,i.onClose)})})});Wk.displayName=sg;var zy="TooltipPortal",[I8,L8]=rf(zy,{forceMount:void 0}),qk=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=Ql(zy,t);return l.jsx(I8,{scope:t,forceMount:n,children:l.jsx(_n,{present:n||a.open,children:l.jsx(zl,{asChild:!0,container:i,children:r})})})};qk.displayName=zy;var Vo="TooltipContent",Kk=x.forwardRef((e,t)=>
vendor: 4,664 bytes, line 444
444{const n=L8(Vo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,c=Ql(Vo,e.__scopeTooltip);return l.jsx(_n,{present:r||c.open,children:c.disableHoverableContent?l.jsx(Gk,{side:i,...a,ref:t}):l.jsx(F8,{side:i,...a,ref:t})})}),F8=x.forwardRef((e,t)=>{const n=Ql(Vo,e.__scopeTooltip),r=Vy(Vo,e.__scopeTooltip),i=x.useRef(null),a=Ie(t,i),[c,d]=x.useState(null),{trigger:f,onClose:m}=n,p=i.current,{onPointerInTransitChange:g}=r,v=x.useCallback(()=>{d(null),g(!1)},[g]),N=x.useCallback((C,b)=>{const S=C.currentTarget,j={x:C.clientX,y:C.clientY},P=$8(j,S.getBoundingClientRect()),k=H8(j,P),T=W8(b.getBoundingClientRect()),A=K8([...k,...T]);d(A),g(!0)},[g]);return x.useEffect(()=>()=>v(),[v]),x.useEffect(()=>{if(f&&p){const C=S=>N(S,p),b=S=>N(S,f);return f.addEventListener("pointerleave",C),p.addEventListener("pointerleave",b),()=>{f.removeEventListener("pointerleave",C),p.removeEventListener("pointerleave",b)}}},[f,p,N,v]),x.useEffect(()=>{if(c){const C=b=>{const S=b.target,j={x:b.clientX,y:b.clientY},P=(f==null?void 0:f.contains(S))||(p==null?void 0:p.contains(S)),k=!q8(j,c);P?v():k&&(v(),m())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[f,p,c,m,v]),l.jsx(Gk,{...e,ref:a})}),[B8,V8]=rf(bl,{isInside:!1}),z8=WI("TooltipContent"),Gk=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:c,...d}=e,f=Ql(Vo,n),m=sf(n),{onClose:p}=f;return x.useEffect(()=>(document.addEventListener(rg,p),()=>document.removeEventListener(rg,p)),[p]),x.useEffect(()=>{if(f.trigger){const g=v=>{const N=v.target;N!=null&&N.contains(f.trigger)&&p()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[f.trigger,p]),l.jsx(Vl,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:g=>g.preventDefault(),onDismiss:p,children:l.jsxs(ty,{"data-state":f.stateAttribute,...m,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(z8,{children:r}),l.jsx(B8,{scope:n,isInside:!0,children:l.jsx(W3,{id:f.contentId,role:"tooltip",children:i||r})})]})})});Kk.displayName=Vo;var Qk="TooltipArrow",U8=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=sf(n);return V8(Qk,n).isInside?null:l.jsx(ny,{...i,...r,ref:t})});U8.displayName=Qk;function $8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function H8(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function W8(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function q8(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,c=t.length-1;a<t.length;c=a++){const d=t[a],f=t[c],m=d.x,p=d.y,g=f.x,v=f.y;p>r!=v>r&&n<(g-m)*(r-p)/(v-p)+m&&(i=!i)}return i}function K8(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),G8(t)}function G8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const a=t[t.length-1],c=t[t.length-2];if((a.x-c.x)*(i.y-c.y)>=(a.y-c.y)*(i.x-c.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],c=n[n.length-2];if((a.x-c.x)*(i.y-c.y)>=(a.y-c.y)*(i.x-c.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Q8=$k,Y8=Hk,X8=Wk,J8=qk,Yk=Kk;const Z8=Q8,eU=Y8,tU=X8,Xk=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(J8,{children:l.jsx(Yk,{ref:r,sideOffset:t,className:Se("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
444de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Xk.displayName=Yk.displayName;const Eu={api:{el:"API",en:"API",color:"bg-green-500/20 text-green-400"},partner_feed:{el:"Partner",en:"Partner",color:"bg-blue-500/20 text-blue-400"},csv:{el:"Feed",en:"Feed",color:"bg-purple-500/20 text-purple-400"},manual:{el:"Catalog",en:"Catalog",color:"bg-gray-500/20 text-gray-400"}};function nU({results:e,companies:t,onBuyReport:n,onRequestCallback:r,onCompare:i,selectedForCompare:a,onToggleCompare:c}){const{t:d,language:f}=Ye(),[m,p]=x.useState("price"),[g,v]=x.useState("cards"),N=S=>{const j=t.find(P=>P.id===S);return j?f==="el"?j.name:j.name_en||j.name:""},C=S=>{const j=t.find(P=>P.id===S);return j==null?void 0:j.logo_url},b=[...e].sort((S,j)=>m==="price"?(S.price_annual||0)-(j.price_annual||0):m==="coverage"||m==="value"?(j.value_score||0)-(S.value_score||0):0);return l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-between items-start sm:items-center",children:[l.jsx("div",{className:"flex items-center gap-2",children:l.jsxs("span",{className:"text-gray-400 text-sm",children:[d("ÎÏÎθηκαν","Found")," ",e.length," ",d("ÏακÎÏα","plans")]})}),l.jsxs("div",{className:"flex gap-3",children:[l.jsxs(_s,{value:m,onValueChange:p,children:[l.jsxs(Ar,{className:"w-40 bg-zinc-800 border-zinc-700 text-white",children:[l.jsx(V_,{className:"w-4 h-4 mr-2"}),l.jsx(Rs,{})]}),l.jsxs(Mr,{className:"bg-zinc-800 border-zinc-700",children:[l.jsx(Bt,{value:"price",className:"text-white",children:d("Τιμή â","Price â")}),l.jsx(Bt,{value:"coverage",className:"text-white",children:d("ÎάλÏ
Ïη â","Coverage â")}),l.jsx(Bt,{value:"value",className:"text-white",children:d("Îξία â","Value â")})]})]}),a.length>=2&&l.jsxs(Te,{onClick:i,className:"bg-amber-500 hover:bg-amber-600 text-black",children:[l.jsx(bR,{className:"w-4 h-4 mr-2"}),d("ΣÏγκÏιÏη","Compare")," (",a.length,")"]})]})]}),a.length>0&&a.length<4&&l.jsx("div",{className:"bg-amber-500/10 border border-amber-500/20 rounded-lg p-3 text-sm text-amber-400",children:d(`ÎÏιλÎξÏε ακÏμη ${4-a.length} ÏακÎÏα για ÏÏγκÏιÏη (μÎÏÏι 4)`,`Select ${4-a.length} more plans to compare (up to 4)`)}),l.jsx("div",{className:"space-y-4",children:l.jsx(ad,{mode:"popLayout",children:b.map((S,j)=>{var k,T,A,U,F,L,te,K;const P=a.includes(S.id);return l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{delay:j*.05},className:`relative bg-zinc-900/50 border rounded-xl p-4 lg:p-6 transition-all ${P?"border-amber-500/50 ring-1 ring-amber-500/20":"border-white/5 hover:border-white/10"}`,children:[l.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center gap-4 mb-4",children:[l.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[l.jsx(ji,{checked:P,onCheckedChange:()=>c(S.id),disabled:!P&&a.length>=4,className:"border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx("div",{className:"w-12 h-12 rounded-lg bg-white flex items-center justify-center overflow-hidden flex-shrink-0",children:C(S.company_id)?l.jsx("img",{src:C(S.company_id),alt:"",className:"w-10 h-10 object-contain"}):l.jsx("span",{className:"text-zinc-400 font-bold text-lg",children:((k=N(S.company_id))==null?void 0:k[0])||"I"})}),l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("h3",{className:"font-semibold text-white",children:f==="el"?S.name:S.name_en||S.name}),S.tier==="premium"&&l.jsxs(kt,{className:"bg-amber-500/20 text-amber-400 border-0",children:[l.jsx(Oo,{className:"w-3 h-3 mr-1"}),"Premium"]})]}),l.jsx("p",{className:"text-gray-400 text-sm",children:N(S.company_id)})]})]}),l.jsxs("div",{className:"text-right lg:min-w-[140px]",children:[l.jsx("div",{className:"text-sm text-gray-400",children:d("αÏÏ","from")}),l.jsxs("div",{className:"text-2xl font-bold text-white",children:["â¬",((T=S.price_monthly)==null?void 0:T.toFixed(0))||"-",l.jsxs("span",{className:"text-sm text-gray-400 font-normal",children:["/",d("μήνα","mo")]})]}),l.jsxs("div",{className:"text-sm text-gray-500",children:[d("ή","or")," â¬",((A=S.price_annual)==null?void 0:A.toFixed(0))||"-","/",d("ÎÏοÏ","yr")]})]})]}),l.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[(U=f==="el"?S.coverage_highlights:S.coverage_highlights_en||S.coverage_highlights)==null?void 0:U.slice(0,3).map((B,J)=>l.jsxs(kt,{variant:"outline",className:"border-white/10 text-gray-300",children:[l.jsx(Lr,{className:"w-3 h-3 mr-1 text-green-400"}),B]},J)),(((F=S.coverage_highlights)==null?void 0:F.length)||0)>3&&l.jsxs(kt,{variant:"outline",className:"border-white/10 text-gray-400",children:["+",S.coverage_highlights.length-3," ",d("ακÏμη","more")]})]}),l.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-2 mb-4",children:[l.jsx(Z8,{children:l.jsxs(eU,{children:[l.jsx(tU,{asChild:!0,children:l.jsxs(kt,{className:`${((L=Eu[S.source_type])==null?void 0:L.color)||Eu.manual.color} border-0 cursor-help`,children:[l.jsx(gS,{className:"w-3 h-3 mr-1"}),d(((te=Eu[S.source_type])==null?void 0:te.el)||"Catalog",((K=Eu[S.source_type])==null?void 0:K.en)||"Catalog")]})}),l.jsx(Xk,{className:"bg-zinc-800 border-zinc-700",children:l.jsxs("p",{className:"text-sm",children:[d("Πηγή δεδομÎÎ
444½Ïν:","Data source:")," ",S.source_type,l.jsx("br",{}),d("ΤελεÏ
Ïαία ενημÎÏÏÏη:","Last updated:")," ",S.source_updated_at?new Date(S.source_updated_at).toLocaleDateString():"-"]})})]})}),S.value_score&&l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("span",{className:"text-gray-400 text-sm",children:d("Îξία:","Value:")}),l.jsx("div",{className:"flex items-center gap-1",children:[1,2,3,4,5].map(B=>l.jsx(Oo,{className:`w-4 h-4 ${B<=Math.round(S.value_score/20)?"text-amber-400 fill-amber-400":"text-gray-600"}`},B))})]})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[l.jsxs(Te,{onClick:()=>n(S),className:"flex-1 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:[l.jsx(ul,{className:"w-4 h-4 mr-2"}),d("Full Report (9,90â¬)","Full Report (â¬9.90)")]}),l.jsxs(Te,{onClick:()=>r(S),variant:"outline",className:"flex-1 border-amber-400 text-amber-400 hover:bg-amber-500/10",children:[l.jsx(Fr,{className:"w-4 h-4 mr-2"}),d("ÎνάθεÏη Ïε ΣÏμβοÏ
λο","Request Advisor")]}),S.affiliate_link&&l.jsx(Te,{asChild:!0,variant:"outline",className:"border-amber-500/30 text-amber-400 hover:bg-amber-500/10",children:l.jsxs("a",{href:S.affiliate_link,target:"_blank",rel:"noopener noreferrer",children:[l.jsx(mR,{className:"w-4 h-4 mr-2"}),d("Î ÏοÏÏÏηÏε","Proceed")]})})]})]},S.id)})})})]})}function rU(){var le,ve;const{t:e}=Ye(),n=new URLSearchParams(window.location.search).get("type")||"",[r,i]=x.useState(n?2:1),[a,c]=x.useState(n),[d,f]=x.useState({}),[m,p]=x.useState(!1),[g,v]=x.useState([]),[N,C]=x.useState(!1),[b,S]=x.useState(null),[j,P]=x.useState(!1),{data:k=[]}=sn({queryKey:["companies"],queryFn:()=>Fe.entities.InsuranceCompany.filter({is_active:!0})}),{data:T=[],isLoading:A}=sn({queryKey:["plans",a],queryFn:()=>Fe.entities.InsurancePlan.filter({insurance_type:a,is_active:!0}),enabled:!!a&&r>=3}),U=G=>{c(G),i(2)},F=()=>{m&&i(3)},L=()=>{r>1&&(i(r-1),r===2&&c(""))},te=G=>{S(G),P(!0)},K=G=>{S(G),C(!0)},B=G=>{v(ne=>ne.includes(G)?ne.filter(D=>D!==G):ne.length<4?[...ne,G]:ne)},J=()=>{const G=g.join(",");window.location.href=Qe("CompareResults")+`?ids=${G}&type=${a}`},se={1:{el:"ÎÏιλογή ΤÏÏοÏ
ÎÏÏάλιÏηÏ",en:"Select Insurance Type"},2:{el:"ΣÏ
μÏληÏÏÏÏε Ïα ΣÏοιÏεία",en:"Fill in Details"},3:{el:"ÎÏοÏελÎÏμαÏα",en:"Results"}};return l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"min-h-screen bg-black py-8 lg:py-12",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx("div",{className:"flex items-center justify-between mb-4",children:[1,2,3].map(G=>l.jsxs("div",{className:"flex items-center",children:[l.jsx("div",{className:`w-10 h-10 rounded-full flex items-center justify-center font-semibold transition-colors ${r>=G?"bg-amber-500 text-black":"bg-zinc-800 text-gray-400"}`,children:G}),G<3&&l.jsx("div",{className:`w-20 sm:w-32 lg:w-48 h-1 mx-2 ${r>G?"bg-amber-500":"bg-zinc-800"}`})]},G))}),l.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-white text-center",children:e((le=se[r])==null?void 0:le.el,(ve=se[r])==null?void 0:ve.en)})]}),l.jsxs(ad,{mode:"wait",children:[r===1&&l.jsx(_e.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-6 lg:p-8",children:l.jsx(o8,{selected:a,onSelect:U})},"step1"),r===2&&l.jsxs(_e.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-6 lg:p-8",children:[l.jsx(R8,{insuranceType:a,formData:d,onFormChange:f}),l.jsx("div",{className:"mt-8 p-4 bg-zinc-800/50 rounded-xl border border-white/5",children:l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(ji,{id:"disclaimer",checked:m,onCheckedChange:p,className:"mt-1 border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx(We,{htmlFor:"disclaimer",className:"text-sm text-gray-400 leading-relaxed cursor-pointer",children:e("ÎαÏÎ±Î½Î¿Ï ÏÏι οι ÏιμÎÏ ÎµÎ¯Î½Î±Î¹ ενδεικÏικÎÏ ÎºÎ±Î¹ εÏιβεβαιÏνονÏαι αÏÏ Ïον ÏάÏοÏο. Τα δεδομÎÎ
444½Î± ÏÏοÎÏÏονÏαι αÏÏ partner feeds, affiliate δεδομÎνα ή ÏειÏοκίνηÏη καÏαÏÏÏηÏη.","I understand that prices are indicative and confirmed by the provider. Data comes from partner feeds, affiliate data or manual entry.")})]})}),l.jsxs("div",{className:"flex gap-4 mt-6",children:[l.jsxs(Te,{variant:"outline",onClick:L,className:"border-amber-400 text-amber-400 hover:bg-amber-500/10",children:[l.jsx(Gm,{className:"w-4 h-4 mr-2"}),e("ΠίÏÏ","Back")]}),l.jsxs(Te,{onClick:F,disabled:!m,className:"flex-1 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:[e("ÎÎµÏ ÎÏοÏελÎÏμαÏα","View Results"),l.jsx(kn,{className:"w-4 h-4 ml-2"})]})]})]},"step2"),r===3&&l.jsxs(_e.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},children:[l.jsxs(Te,{variant:"ghost",onClick:L,className:"mb-6 text-gray-400 hover:text-white hover:bg-white/5",children:[l.jsx(Gm,{className:"w-4 h-4 mr-2"}),e("Îλλαγή κÏιÏηÏίÏν","Change criteria")]}),l.jsxs("div",{className:"bg-amber-500/10 border border-amber-500/20 rounded-xl p-4 mb-6 flex items-start gap-3",children:[l.jsx(eR,{className:"w-5 h-5 text-amber-400 flex-shrink-0 mt-0.5"}),l.jsx("p",{className:"text-sm text-gray-300",children:e("Τα αÏοÏελÎÏμαÏα είναι preview. Îια ÏλήÏη ανάλÏ
Ïη καλÏÏεÏν, εξαιÏÎÏεÏν και ÏÏÏÏαÏηÏ, αγοÏάÏÏε Îνα Full Report ή ζηÏήÏÏε δÏÏεάν κλήÏη αÏÏ ÏÏμβοÏ
λο.","Results are preview. For full coverage analysis, exclusions and recommendation, purchase a Full Report or request a free callback from an advisor.")})]}),A?l.jsx("div",{className:"flex items-center justify-center py-20",children:l.jsx(ir,{className:"w-8 h-8 animate-spin text-amber-500"})}):T.length>0?l.jsx(nU,{results:T,companies:k,onBuyReport:te,onRequestCallback:K,onCompare:J,selectedForCompare:g,onToggleCompare:B}):l.jsxs("div",{className:"text-center py-20",children:[l.jsx(wi,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e("Îεν βÏÎθηκαν ÏακÎÏα","No plans found")}),l.jsx("p",{className:"text-gray-400 mb-6",children:e("Îεν Ï
ÏάÏÏοÏ
ν διαθÎÏιμα ÏακÎÏα για αÏ
Ïά Ïα κÏιÏήÏια.","No plans available for these criteria.")}),l.jsx(Te,{onClick:()=>C(!0),className:"bg-amber-500 hover:bg-amber-600 text-black",children:e("ÎηÏήÏÏε Îοήθεια","Request Help")})]})]},"step3")]})]})}),l.jsx(Gd,{isOpen:N,onClose:()=>C(!1),defaultInsuranceType:a,comparisonData:{formData:d,selectedPlan:b},sourcePage:"compare_results"}),l.jsx(ad,{children:j&&l.jsx(_e.div,{initial:{opacity:0}
444,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 flex items-center justify-center z-50 p-4",onClick:()=>P(!1),children:l.jsxs(_e.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},onClick:G=>G.stopPropagation(),className:"bg-zinc-900 border border-zinc-800 rounded-2xl p-6 lg:p-8 max-w-md w-full",children:[l.jsx("h3",{className:"text-xl font-bold text-white mb-4",children:e("ÎγοÏά Full Report","Purchase Full Report")}),l.jsxs("div",{className:"space-y-4 mb-6",children:[l.jsxs("div",{className:"bg-zinc-800/50 rounded-lg p-4",children:[l.jsx("div",{className:"text-sm text-gray-400 mb-1",children:e("ΠακÎÏο:","Plan:")}),l.jsx("div",{className:"font-semibold text-white",children:b==null?void 0:b.name})]}),l.jsxs("div",{className:"flex justify-between items-center py-3 border-t border-white/10",children:[l.jsx("span",{className:"text-gray-300",children:"Pro Report"}),l.jsx("span",{className:"text-2xl font-bold text-white",children:"â¬9,90"})]})]}),l.jsxs("form",{action:"https://www.paypal.com/cgi-bin/webscr",method:"post",target:"_top",children:[l.jsx("input",{type:"hidden",name:"cmd",value:"_xclick"}),l.jsx("input",{type:"hidden",name:"business",value:"[email protected]"}),l.jsx("input",{type:"hidden",name:"item_name",value:"Pro Report - Insurance Comparison"}),l.jsx("input",{type:"hidden",name:"amount",value:"9.90"}),l.jsx("input",{type:"hidden",name:"currency_code",value:"EUR"}),l.jsx("input",{type:"hidden",name:"return",value:window.location.origin+Qe("Dashboard")}),l.jsx("input",{type:"hidden",name:"cancel_return",value:window.location.href}),l.jsx("button",{type:"submit",className:"w-full bg-[#0070ba] hover:bg-[#005ea6] text-white rounded-lg p-4 text-center cursor-pointer transition-colors mb-4",children:l.jsxs("div",{className:"flex items-center justify-center gap-2",children:[l.jsx("span",{className:"font-semibold",children:"PayPal"}),l.jsx("span",{className:"text-sm opacity-80",children:e("ΠληÏÏμή","Checkout")})]})})]}),l.jsx("p",{className:"text-xs text-gray-500 text-center",children:e("ÎεÏά Ïην ÏληÏÏμή θα λάβεÏε ÏÏÏÏβαÏη ÏÏο ÏλήÏÎµÏ report με email.","After payment you will receive access to the full report via email.")}),l.jsx(Te,{variant:"ghost",onClick:()=>P(!1),className:"w-full mt-4 text-gray-400 hover:text-white",children:e("ÎκÏÏÏÏη","Cancel")})]})})})]})}const Hm={auto:{el:"ÎÏ
ÏοκίνηÏο",en:"Auto"},health:{el:"Υγεία",en:"Health"},home:{el:"ÎαÏοικία",en:"Home"},life:{el:"ÎÏή",en:"Life"},business:{el:"ÎÏιÏείÏηÏη",en:"Business"},travel:{el:"Ταξίδι",en:"Travel"},motorcycle:{el:"ÎοÏοÏÏ
κλÎÏα",en:"Motorcycle"},pet:{el:"ÎαÏοικίδιο",en:"Pet"}};function sU(){const{t:e,language:t}=Ye(),[n,r]=x.useState(""),[i,a]=x.useState("all"),{data:c=[],isLoading:d}=sn({queryKey:["companies"],queryFn:()=>Fe.entities.InsuranceCompany.filter({is_active:!0},"display_order")}),f=c.filter(m=>{const p=m.name.toLowerCase().includes(n.toLowerCase())||m.name_en&&m.name_en.toLowerCase().includes(n.toLowerCase()),g=i==="all"||m.insurance_types&&m.insurance_types.includes(i);return p&&g});return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ÎÏÏαλιÏÏικÎÏ ÎÏαιÏείεÏ","Insurance Companies")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎξεÏεÏ
νήÏÏε ÏÎ¹Ï ÏÏ
νεÏγαζÏÎ¼ÎµÎ½ÎµÏ Î±ÏÏαλιÏÏικÎÏ ÎµÏαιÏÎµÎ¯ÎµÏ ÎºÎ±Î¹ Ïα ÏακÎÏα ÏοÏ
Ï","Explore our partner insurance companies and their plans")})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mb-8",children:[l.jsxs("div",{className:"relative flex-1",children:[l.jsx(Al,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),l.jsx(pt,{value:n,onChange:m=>r(m.target.value),placeholder:e("ÎναζήÏηÏη εÏαιÏείαÏ...","Search company..."),className:"pl-10 bg-zinc-900 border-zinc-800 text-white"})]}),l.jsxs(_s,{value:i,onValueChange:a,children:[l.jsx(Ar,{className:"w-full sm:w-48 bg-zinc-900 border-zinc-800 text-white",children:l.jsx(Rs,{placeholder:e("ΤÏÏÎ¿Ï ÎÏÏάλιÏηÏ","Insurance Type")})}),l.jsxs(Mr,{className:"bg-zinc-900 border-zinc-800",children:[l.jsx(Bt,{value:"all",className:"text-white",children:e("Îλοι οι ΤÏÏοι","All Types")}),Object.entries(Hm).map(([m,p])=>l.jsx(Bt,{value:m,className:"text-white",children:t==="el"?p.el:p.en},m))]})]})]}),d?l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3,4,5,6].map(m=>l.jsxs("div",{className:"bg-zinc-900/50 rounded-xl p-6 animate-pulse",children:[l.jsx("div",{className:"w-16 h-16 bg-zinc-800 rounded-xl mb-4"}),l.jsx("div",{className:"h-6 bg-zinc-800 rounded w-3/4 mb-2"}),l.jsx("div",{className:"h-4 bg-zinc-800 rounded w-1/2"})]},m))}):f.length>0?l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:f.map((m,p)=>{var g,v;return l.jsx(_e.div,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},transition:{delay:p*.05},children:l.jsx(Ze,{to:Qe("CompanyDetail")+`?id=${m.id}`,children:l.jsxs("div",{className:"group bg-zinc-900/50 border border-white/5 hover:border-amber-500/30 rounded-xl p-6 transition-all h-full",children:[l.jsxs("div",{className:"flex items-start justify-between mb-4",children:[l.jsx("div",{className:"w-16 h-16 rounded-xl bg-white flex items-center justify-center overflow-hidden",children:m.logo_url?l.jsx("img",{src:m.logo_url,alt:m.name,className:"w-12 h-12 object-contain"}):l.jsx(vi,{className:"w-8 h-8 text-zinc-400"})}),m.rating&&l.jsxs("div",{className:"flex items-center gap-1 text-amber-400",children:[l.jsx(Oo,{className:"w-4 h-4 fill-amber-400"}),l.jsx("span",{className:"font-semibold",children:m.rating.toFixed(1)})]})]}),l.jsx("h3",{className:"text-lg font-semibold text-white mb-2 group-hover:text-amber-400 transition-colors",children:t==="el"?m.name:m.name_en||m.name}),l.jsx("p",{className:"text-gray-400 text-sm line-clamp-2 mb-4",children:t==="el"?m.description:m.description_en||m.description}),l.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[(g=m.insurance_types)==null?void 0:g.slice(0,3).map(N=>{var C,b;return l.jsx(kt,{variant:"outline",className:"border-white/10 text-gray-400 text-xs",children:t==="el"?(C=Hm[N])==null?void 0:C.el:(b=Hm[N])==null?void 0:b.en},N)}),(((v=m.insurance_types)==null?void 0:v.length)||0)>3&&l.jsxs(kt,{variant:"outline",className:"border-white/10 text-gray-400 text-xs",children:["+",m.insurance_types.length-3]})]}),m.is_partner&&l.jsx(kt,{className:"bg-amber-500/20 text-amber-400 border-0",children:e("ΣÏ
νεÏγάÏηÏ","Partner")}),l.jsxs("div",{className:"flex items-center text-amber-400 text-sm font-medium mt-4 opacity-0 group-hover:opacity-100 transition-opacity",children:[e("ÎÎµÏ Î ÎµÏιÏÏÏÏεÏα","View More"),l.jsx(kn,{className:"w-4 h-4 ml-1 group-hover:translate-x-1 transition-transform"})]})]})})},m.id)})}):l.jsxs("div",{className:"text-center py-20",children:[l.jsx(vi,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e("Îεν βÏÎθηκαν εÏαιÏείεÏ","No companies found")}),l.jsx("p",{className:"text-gray-400",children:e("ÎοκιμάÏÏε διαÏοÏεÏικά κÏιÏήÏια αναζήÏηÏηÏ.","Try different search criteria.")})]})]})})}const ku={auto:{el:"ÎÏ
ÏοκίνηÏο",en:"Auto"},health:{el:"Υγεία",en:"Health"},home:{el:"ÎαÏοικία",en:"Home"},life:{el:"ÎÏή",en:"Life"},business:{el:"ÎÏιÏείÏηÏη",en:"Business"},travel:{el:"Ταξίδι",en:"Travel"},motorcycle:{el:"ÎοÏοÏÏ
κλÎÏα",en:"Motorcycle"},pet:{el:"ÎαÏοικίδιο",en:"Pet"}};function iU(){var p;const{t:e,language:t}=Ye(),r=new URLSearchParams(window.location.search).get("id"),[i,a]=x.useState(!1),{data:c,isLoading:d}=sn({queryKey:["company",r],queryFn:async()=>(await Fe.entities.InsuranceCompany.filter({id:r}))[0],enabled:!!r}),{data:f=[]}=sn({queryKey:["company-plans",r],queryFn:()=>Fe.entities.InsurancePlan.filter({company_id:r,is_active:!0}),enabled:!!r});if(d)return l.jsx("div",{className:"min-h-screen bg-black flex items-center justify-center",children:l.jsx("div",{className:"animate-spin w-8 h-8 border-2 border-amber-500 border-t-transparent rounded-full"})});if(!c)return l.jsxs("div",{className:"min-h-screen bg-black py-20 text-center",children:[l.jsx(vi,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),l.jsx("h1",{className:"text-2xl font-bold text-white mb-4",children:e("ÎÏαιÏεία δεν βÏÎθηκε","Company not found")}),l.jsx(Ze,{to:Qe("Companies"),children:l.jsx(Te,{className:"bg-amber-500 hover:bg-amber-600 text-black",children:e("ΠίÏÏ ÏÏÎ¹Ï ÎÏαιÏείεÏ","Back to Companies")})})]});const m=f.reduce((g,v)=>(g[v.insurance_type]||(g[v.insurance_type]=[]),g[v.insurance_type].push(v),g),{});return l.jsxs(l.Fragment,{children:[l.jsx("div",{className:"min-h-screen bg-black py-8 lg:py-12",children:l.jsxs("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsx(Ze,{to:Qe("Companies"),children:l.jsxs(Te,{variant:"ghost",className:"mb-6 text-gray-400 hover:text-white hover:bg-white/5",children:[l.jsx(Gm,{className:"w-4 h-4 mr-2"}),e("ÎÎ»ÎµÏ Î¿Î¹ ÎÏαιÏείεÏ","All Companies")]})}),l.jsxs(_e.div,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-6 lg:p-8 mb-8",children:[l.jsxs("div",{className:"flex flex-col md:flex-row gap-6 items-start",children:[l.jsx("div",{className:"w-24 h-24 rounded-xl bg-white flex items-center justify-center overflow-hidden flex-shrink-0",children:c.logo_url?l.jsx("img",{src:c.logo_url,alt:c.name,className:"w-20 h-20 object-contain"}):l.jsx(vi,{className:"w-12 h-12 text-zinc-400"})}),l.jsxs("div",{className:"flex-1",children:[l.jsxs("div",{className:"flex items-start justify-between flex-wrap gap-4",children:[l.jsxs("div",{children:[l.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-white mb-2",children:t==="el"?c.name:c.name_en||c.name}),c.rating&&l.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[l.jsx("div",{className:"flex items-center gap-1",children:[1,2,3,4,5].map(g=>l.jsx(Oo,{className:`w-5 h-5 ${g<=c.rating?"text-amber-400 fill-amber-400":"text-gray-600"}`},g))}),l.jsxs("span",{className:"text-gray-400",children:["(",c.rating.toFixed(1),")"]})]})]}),c.is_partner&&l.jsx(kt,{className:"bg-amber-500/20 text-amber-400 border-0",children:e("ÎÏίÏÎ·Î¼Î¿Ï Î£Ï
νεÏγάÏηÏ","Official Partner")})]}),l.jsx("p",{className:"text-gray-400 mb-6",children:t==="el"?c.description:c.description_en||c.description}),l.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:(p=c.insurance_types)==null?void 0:p.map(g=>{var v,N;return l.jsx(kt,{className:"bg-zinc-800 text-gray-300 border-0",children:t==="el"?(v=ku[g])==null?void 0:v.el:(N=ku[g])==null?void 0:N.en},g)})}),l.jsxs("div",{className:"flex flex-wrap gap-4",children:[c.website&&l.jsxs("a",{href:c.website,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-gray-400 hover:text-amber-400 transition-colors",children:[l.jsx(vS,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm",children:"Website"})]}),c.phone&&l.jsxs("a",{href:`tel:${c.phone}`,className:"flex items-center gap-2 text-gray-400 hover:text-amber-400 transition-colors",children:[l.jsx(Fr,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm",children:c.phone})]}),c.email&&l.jsxs("a",{href:`mailto:${c.email}`,className:"flex items-center gap-2 text-gray-400 hover:text-amber-400 transition-colors",children:[l.jsx(yg,{className:"w-4 h-4"}),l.jsx("span",{className:"text-sm",children:c.email})]})]})]})]}),l.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 mt-6 pt-6 border-t border-white/5",children:[l.jsx(Ze,{to:Qe("Compare")+`?company=${c.id}`,className:"flex-1",children:l.jsxs(Te,{className:"w-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:[e("ΣÏγκÏινε ΠακÎÏα","Compare Plans"),l.jsx(kn,{className:"w-4 h-4 ml-2"})]})}),l.jsxs(Te,{onClick:()=>a(!0),variant:"outline",className:"flex-1 border-amber-400 text-amber-400 hover:bg-amber-500/10",children:[l.jsx(Fr,{className:"w-4 h-4 mr-2"}),e("ÎνάθεÏη Ïε ΣÏμβοÏ
λο","Request Advisor")]})]})]}),Object.keys(m).length>0&&l.jsxs("div",{className:"space-y-8",children:[l.jsx("h2",{className:"text-xl font-bold text-white",children:e("ÎιαθÎÏιμα ΠακÎÏα","Available Plans")}),Object.entries(m).map(([g,v])=>{var N,C;return l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold text-amber-400 mb-4",children:t==="el"?(N=ku[g])==null?void 0:N.el:(C=ku[g])==null?void 0:C.en}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:v.map(b=>{var S,j;return l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-xl p-5",children:[l.jsxs("div",{className:"flex items-start justify-between mb-3",children:[l.jsx("h4",{className:"font-semibold text-white",children:t==="el"?b.name:b.name_en||b.name}),b.tier==="premium"&&l.jsx(kt,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:"Premium"})]}),l.jsxs("div",{className:"text-2xl font-bold text-white mb-3",children:["â¬",((S=b.price_monthly)==null?void 0:S.toFixed(0))||"-",l.jsxs("span",{className:"text-sm text-gray-400 font-normal",children:["/",e("μήνα","mo")]})]}),l.jsx("ul",{className:"space-y-2 mb-4",children:(j=t==="el"?b.coverage_highlights:b.coverage_highlights_en||b.coverage_highlights)==null?void 0:j.slice(0,3).map((P,k)=>l.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-400",children:[l.jsx(Lr,{className:"w-4 h-4 text-green-400 flex-shrink-0 mt-0.5"}),P]},k))}),l.jsx(Ze,{to:Qe("Compare")+`?type=${g}`,children:l.jsx(Te,{variant:"outline",size:"sm",className:"w-full border-white/10 text-white hover:bg-white/5",children:e("ΣÏγκÏινε","Compare")})})]},b.id)})})]},g)})]})]})}),l.jsx(Gd,{isOpen:i,onClose:()=>a(!1),sourcePage:`company_${c==null?void 0:c.id}`})]})}const oU=[{type:"auto",icon:dg,el:"ÎÏÏάλεια ÎÏ
ÏοκινήÏοÏ
",en:"Auto Insurance",coverages:{el:[{name:"ÎÏÏική ÎÏ
θÏνη (Î¥ÏοÏÏεÏÏική)",desc:"ÎαλÏÏÏει ζημιÎÏ Ïε ÏÏίÏοÏ
Ï"},{name:"ÎικÏή ÎÏÏάλεια",desc:"ÎαλÏÏÏει και ÏÎ¹Ï Î´Î¹ÎºÎÏ ÏÎ±Ï Î¶Î·Î¼Î¹ÎÏ"},{name:"ÎÏαÏÏη ÎÏÏ
ÏÏάλλÏν",desc:"ΠαÏμÏÏίζ, ÏαÏάθÏ
Ïα, καθÏÎÏÏεÏ"},{name:"ÎλοÏή",desc:"Îλική ή μεÏική κλοÏή"},{name:"ΦÏ
Ïικά ΦαινÏμενα",desc:"Χαλάζι, ÏλημμÏÏα, ÏÏ
Ïκαγιά"},{name:"Îδική Îοήθεια",desc:"24/7 ÏÏ
μοÏλκηÏη και Ï
ÏοÏÏήÏιξη"}],en:[{name:"Third Party Liability (Mandatory)",desc:"Covers damage to third parties"},{name:"Comprehensive",desc:"Covers your own damage too"},{name:"Glass Coverage",desc:"Windshield, windows, mirrors"},{name:"Theft",desc:"Total or partial theft"},{name:"Natural Disasters",desc:"Hail, flood, fire"},{name:"Roadside Assistance",desc:"24/7 towing and support"}]},packages:[{name:"Basic",el:"ÎÏνο αÏÏική εÏ
θÏνη",en:"Third party only"},{name:"Plus",el:"ÎαÏική + κλοÏή + ÏÏ
Ïικά",en:"Basic + theft + n
444atural"},{name:"Premium",el:"ΠλήÏÎ·Ï Î¼Î¹ÎºÏή κάλÏ
Ïη",en:"Full comprehensive"}]},{type:"health",icon:mg,el:"ÎÏÏάλεια ΥγείαÏ",en:"Health Insurance",coverages:{el:[{name:"ÎοÏηλεία",desc:"Îξοδα νοÏοκομείοÏ
και ÏειÏοÏ
ÏγείοÏ
"},{name:"ÎξÏνοÏοκομειακά",desc:"ÎÏιÏκÎÏÎµÎ¹Ï Î³Î¹Î±ÏÏÏν, εξεÏάÏειÏ"},{name:"ΦαÏμακεÏ
Ïική",desc:"ÎάλÏ
Ïη ÏαÏμάκÏν"},{name:"ÎιαγνÏÏÏικά Check-up",desc:"ÎÏήÏÎ¹Î¿Ï ÏÏοληÏÏικÏÏ ÎλεγÏοÏ"},{name:"ÎδονÏιαÏÏική",desc:"ÎδονÏιαÏÏικÎÏ ÎµÏγαÏίεÏ"},{name:"ΨÏ
Ïική Υγεία",desc:"ΨÏ
Ïολογική Ï
ÏοÏÏήÏιξη"}],en:[{name:"Hospitalization",desc:"Hospital and surgery costs"},{name:"Outpatient",desc:"Doctor visits, tests"},{name:"Pharmaceutical",desc:"Medication coverage"},{name:"Check-up",desc:"Annual preventive check"},{name:"Dental",desc:"Dental work"},{name:"Mental Health",desc:"Psychological support"}]},packages:[{name:"Basic",el:"ÎοÏηλεία μÏνο",en:"Hospitalization only"},{name:"Plus",el:"ÎοÏηλεία + εξÏνοÏοκομειακά",en:"Hospital + outpatient"},{name:"Premium",el:"ΠλήÏÎ·Ï ÎºÎ¬Î»Ï
Ïη",en:"Full coverage"}]},{type:"home",icon:gg,el:"ÎÏÏάλεια ÎαÏοικίαÏ",en:"Home Insurance",coverages:{el:[{name:"Î Ï
Ïκαγιά",desc:"ÎάλÏ
Ïη αÏÏ ÏÏÏιά"},{name:"ΣειÏμÏÏ",desc:"ÎημιÎÏ Î±ÏÏ ÏειÏμÏ"},{name:"ÎλοÏή / ÎιάÏÏηξη",desc:"ÎÏÏλεια ανÏικειμÎνÏν"},{name:"ÎημιÎÏ Î±ÏÏ Î½ÎµÏÏ",desc:"ΠλημμÏÏα, διαÏÏοÎÏ"},{name:"ÎÏÏική ÎÏ
θÏνη",desc:"ÎημιÎÏ Ïε γείÏονεÏ"},{name:"ΠεÏιεÏÏμενο",desc:"ÎÏιÏλα, ÏÏ
ÏκεÏ
ÎÏ"}],en:[{name:"Fire",desc:"Fire damage coverage"},{name:"Earthquake",desc:"Earthquake damage"},{name:"Theft / Burglary",desc:"Loss of items"},{name:"Water Damage",desc:"Flood, leaks"},{name:"Liability",desc:"Damage to neighbors"},{name:"Contents",desc:"Furniture, appliances"}]},packages:[{name:"Basic",el:"Î Ï
Ïκαγιά + ÏειÏμÏÏ",en:"Fire + earthquake"},{name:"Plus",el:"ÎαÏική + κλοÏή",en:"Basic + theft"},{name:"Premium",el:"ΠλήÏÎ·Ï Î¼Îµ ÏεÏιεÏÏμενο",en:"Full with contents"}]},{type:"life",icon:pg,el:"ÎÏÏάλεια ÎÏήÏ",en:"Life Insurance",coverages:{el:[{name:"ÎάναÏοÏ",desc:"ÎÏοζημίÏÏη Ïε δικαιοÏÏοÏ
Ï"},{name:"ÎÏνιμη ÎνικανÏÏηÏα",desc:"ÎεÏάλαιο Ïε αναÏηÏία"},{name:"ΣοβαÏÎÏ ÎÏθÎνειεÏ",desc:"ÎαÏκίνοÏ, ÎμÏÏαγμα κλÏ"},{name:"ÎÏοÏαμίεÏ
Ïη",desc:"ÎÏενδÏ
ÏÎ¹ÎºÏ ÏÏοιÏείο"}],en:[{name:"Death",desc:"Compensation to beneficiaries"},{name:"Permanent Disability",desc:"Capital in case of disability"},{name:"Critical Illness",desc:"Cancer, heart attack etc"},{name:"Savings",desc:"Investment component"}]},packages:[{name:"Term",el:"ÎαθαÏή αÏÏάλιÏη",en:"Pure insurance"},{name:"Whole Life",el:"ÎÏÏβια ÏÏοÏÏαÏία",en:"Lifetime protection"},{name:"Unit Linked",el:"Îε εÏενδÏ
ÏικÏ",en:"With investment"}]}];function aU(){const{t:e,language:t}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ΠακÎÏα & ÎαλÏÏειÏ","Plans & Coverage")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎάθεÏε Ïι καλÏÏÏει κάθε ÏÏÏÎ¿Ï Î±ÏÏάλιÏÎ·Ï ÎºÎ±Î¹ Ïοιο ÏακÎÏο ÏαιÏιάζει ÏÏÎ¹Ï Î±Î½Î¬Î³ÎºÎµÏ ÏαÏ","Learn what each insurance type covers and which plan suits your needs")})]}),l.jsx("div",{className:"space-y-8",children:oU.map((n,r)=>l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:r*.1},className:"bg-zinc-900/50 border border-white/5 rounded-2xl overflow-hidden",children:[l.jsx("div",{className:"bg-gradient-to-r from-amber-500/10 to-transparent p-6 lg:p-8 border-b border-white/5",children:l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("div",{className:"w-14 h-14 roun
444ded-xl bg-amber-500/20 flex items-center justify-center",children:l.jsx(n.icon,{className:"w-7 h-7 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("h2",{className:"text-xl lg:text-2xl font-bold text-white",children:t==="el"?n.el:n.en}),l.jsxs(Ze,{to:Qe("Compare")+`?type=${n.type}`,className:"text-amber-400 text-sm hover:underline inline-flex items-center gap-1",children:[e("ΣÏγκÏινε ΤÏÏα","Compare Now"),l.jsx(kn,{className:"w-3 h-3"})]})]})]})}),l.jsxs("div",{className:"p-6 lg:p-8",children:[l.jsxs("div",{className:"grid lg:grid-cols-2 gap-8",children:[l.jsxs("div",{children:[l.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[l.jsx(wi,{className:"w-5 h-5 text-amber-400"}),e("Τι ÎαλÏÏÏει","What It Covers")]}),l.jsx("ul",{className:"space-y-3",children:(t==="el"?n.coverages.el:n.coverages.en).map((i,a)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(Lr,{className:"w-5 h-5 text-green-400 flex-shrink-0 mt-0.5"}),l.jsxs("div",{children:[l.jsx("span",{className:"text-white font-medium",children:i.name}),l.jsxs("span",{className:"text-gray-400 text-sm ml-2",children:["â ",i.desc]})]})]},a))})]}),l.jsxs("div",{children:[l.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[l.jsx(PR,{className:"w-5 h-5 text-amber-400"}),e("Î ÏοÏεινÏμενα ΠακÎÏα","Recommended Packages")]}),l.jsx("div",{className:"space-y-3",children:n.packages.map((i,a)=>l.jsxs("div",{className:"bg-zinc-800/50 rounded-xl p-4 flex items-center justify-between",children:[l.jsxs("div",{children:[l.jsx(kt,{className:`mb-2 ${i.name==="Basic"?"bg-gray-500/20 text-gray-400":i.name==="Plus"?"bg-blue-500/20 text-blue-400":"bg-amber-500/20 text-amber-400"} border-0`,children:i.name}),l.jsx("p",{className:"text-gray-300 text-sm",children:t==="el"?i.el:i.en})]}),l.jsx(kn,{className:"w-5 h-5 text-gray-500"})]},a))})]})]}),l.jsx("div",{className:"mt-8 pt-6 border-t border-white/5",children:l.jsx(Ze,{to:Qe("Compare")+`?type=${n.type}`,children:l.jsxs(Te,{className:"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:[e("Îεκίνα ΣÏγκÏιÏη","Start Comparison"),l.jsx(kn,{className:"w-4 h-4 ml-2"})]})})})]})]},n.type))})]})})}function Gn(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 _i(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Jk=6048e5,lU=864e5;let cU={};function of(){return cU}function Sl(e,t){var d,f,m,p;const n=of(),r=(t==null?void 0:t.weekStartsOn)??((f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??n.weekStartsOn??((p=(m=n.locale)==null?void 0:m.options)==null?void 0:p.weekStartsOn)??0,i=Gn(e),a=i.getDay(),c=(a<r?7:0)+a-r;return i.setDate(i.getDate()-c),i.setHours(0,0,0,0),i}function pd(e){return Sl(e,{weekStartsOn:1})}function Zk(e){const t=Gn(e),n=t.getFullYear(),r=_i(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=pd(r),a=_i(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const c=pd(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}function H1(e){const t=Gn(e);return t.setHours(0,0,0,0),t}function W1(e){const t=Gn(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 uU(e,t){const n=H1(e),r=H1(t),i=+n-W1(n),a=+r-W1(r);return Math.round((i-a)/lU)}function dU(e){const t=Zk(e),n=_i(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),pd(n)}function fU(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function hU(e){if(!fU(e)&&typeof e!="number")return!1;const t=Gn(e);return!isNaN(Number(t))}function mU(e){const t=Gn(e),n=_i(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const pU={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"}},gU=(e,t,n)=>{let r;const i=pU[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 Wm(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const yU={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xU={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vU={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},wU={date:Wm({formats:yU,defaultWidth:"full"}),time:Wm({formats:xU,defaultWidth:"full"}),dateTime:Wm({formats:vU,defaultWidth:"full"})},bU={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},SU=(e,t,n,r)=>bU[e];function Ka(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const c=e.defaultFormattingWidth||e.defaultWidth,d=n!=null&&n.width?String(n.width):c;i=e.formattingValues[d]||e.formattingValues[c]}else{const c=e.defaultWidth,d=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[d]||e.values[c]}const a=e.argumentCallback?e.argumentCallback(t):t;return i[a]}}const NU={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},CU={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jU={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"]},EU={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","Frid
444ay","Saturday"]},kU={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"}},PU={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"}},TU=(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"},_U={ordinalNumber:TU,era:Ka({values:NU,defaultWidth:"wide"}),quarter:Ka({values:CU,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ka({values:jU,defaultWidth:"wide"}),day:Ka({values:EU,defaultWidth:"wide"}),dayPeriod:Ka({values:kU,defaultWidth:"wide",formattingValues:PU,defaultFormattingWidth:"wide"})};function Ga(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 c=a[0],d=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(d)?AU(d,g=>g.test(c)):RU(d,g=>g.test(c));let m;m=e.valueCallback?e.valueCallback(f):f,m=n.valueCallback?n.valueCallback(m):m;const p=t.slice(c.length);return{value:m,rest:p}}}function RU(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function AU(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function MU(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 c=e.valueCallback?e.valueCallback(a[0]):a[0];c=n.valueCallback?n.valueCallback(c):c;const d=t.slice(i.length);return{value:c,rest:d}}}const OU=/^(\d+)(th|st|nd|rd)?/i,DU=/\d+/i,IU={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},LU={any:[/^b/i,/^(a|c)/i]},FU={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},BU={any:[/1/i,/2/i,/3/i,/4/i]},VU={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},zU={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]},UU={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},$U={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]},HU={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},WU={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}},qU={ordinalNumber:MU({matchPattern:OU,parsePattern:DU,valueCallback:e=>parseInt(e,10)}),era:Ga({matchPatterns:IU,defaultMatchWidth:"wide",parsePatterns:LU,defaultParseWidth:"any"}),quarter:Ga({matchPatterns:FU,defaultMatchWidth:"wide",parsePatterns:BU,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ga({matchPatterns:VU,defaultMatchWidth:"wide",parsePatterns:zU,defaultParseWidth:"any"}),day:Ga({matchPatterns:UU,defaultMatchWidth:"wide",parsePatterns:$U,defaultParseWidth:"any"}),dayPeriod:Ga({matchPatterns:HU,defaultMatchWidth:"any",parsePatterns:WU,defaultParseWidth:"any"})},KU={code:"en-US",formatDistance:gU,formatLong:wU,formatRelative:SU,localize:_U,match:qU,options:{weekStartsOn:0,firstWeekContainsDate:1}};function GU(e){const t=Gn(e);return uU(t,mU(t))+1}function QU(e){const t=Gn(e),n=+pd(t)-+dU(t);return Math.round(n/Jk)+1}function eP(e,t){var p,g,v,N;const n=Gn(e),r=n.getFullYear(),i=of(),a=(t==null?void 0:t.firstWeekContainsDate)??((g=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??i.firstWeekContainsDate??((N=(v=i.locale)==null?void 0:v.options)==null?void 0:N.firstWeekContainsDate)??1,c=_i(e,0);c.setFullYear(r+1,0,a),c.setHours(0,0,0,0);const d=Sl(c,t),f=_i(e,0);f.setFullYear(r,0,a),f.setHours(0,0,0,0);const m=Sl(f,t);return n.getTime()>=d.getTime()?r+1:n.getTime()>=m.getTime()?r:r-1}function YU(e,t){var d,f,m,p;const n=of(),r=(t==null?void 0:t.firstWeekContainsDate)??((f=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:f.firstWeekContainsDate)??n.firstWeekContainsDate??((p=(m=n.locale)==null?void 0:m.options)==null?void 0:p.firstWeekContainsDate)??1,i=eP(e,t),a=_i(e,0);return a.setFullYear(i,0,r),a.setHours(0,0,0,0),Sl(a,t)}function XU(e,t){const n=Gn(e),r=+Sl(n,t)-+YU(n,t);return Math.round(r/Jk)+1}function Ge(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}
vendor: 5,432 bytes, line 444
444const ds={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ge(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Ge(n+1,2)},d(e,t){return Ge(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 Ge(e.getHours()%12||12,t.length)},H(e,t){return Ge(e.getHours(),t.length)},m(e,t){return Ge(e.getMinutes(),t.length)},s(e,t){return Ge(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return Ge(i,t.length)}},fo={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},q1={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 ds.y(e,t)},Y:function(e,t,n,r){const i=eP(e,r),a=i>0?i:1-i;if(t==="YY"){const c=a%100;return Ge(c,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):Ge(a,t.length)},R:function(e,t){const n=Zk(e);return Ge(n,t.length)},u:function(e,t){const n=e.getFullYear();return Ge(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 Ge(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 Ge(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 ds.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 Ge(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=XU(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):Ge(i,t.length)},I:function(e,t,n){const r=QU(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):Ge(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ds.d(e,t)},D:function(e,t,n){const r=GU(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ge(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 Ge(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 Ge(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 Ge(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=fo.noon:r===0?i=fo.midnight:i=r/12>
vendor: 2,222 bytes, line 444
444=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=fo.evening:r>=12?i=fo.afternoon:r>=4?i=fo.morning:i=fo.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 ds.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ds.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ds.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ds.s(e,t)},S:function(e,t){return ds.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return G1(r);case"XXXX":case"XX":return ri(r);case"XXXXX":case"XXX":default:return ri(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return G1(r);case"xxxx":case"xx":return ri(r);case"xxxxx":case"xxx":default:return ri(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+K1(r,":");case"OOOO":default:return"GMT"+ri(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+K1(r,":");case"zzzz":default:return"GMT"+ri(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return Ge(r,t.length)},T:function(e,t,n){const r=e.getTime();return Ge(r,t.length)}};function K1(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),a=r%60;
444return a===0?n+String(i):n+String(i)+t+Ge(a,2)}function G1(e,t){return e%60===0?(e>0?"-":"+")+Ge(Math.abs(e)/60,2):ri(e,t)}function ri(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Ge(Math.trunc(r/60),2),a=Ge(r%60,2);return n+i+t+a}const Q1=(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"})}},tP=(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"})}},JU=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Q1(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}}",Q1(r,t)).replace("{{time}}",tP(i,t))},ZU={p:tP,P:JU},e$=/^D+$/,t$=/^Y+$/,n$=["D","DD","YY","YYYY"];function r$(e){return e$.test(e)}function s$(e){return t$.test(e)}function i$(e,t,n){const r=o$(e,t,n);if(console.warn(r),n$.includes(e))throw new RangeError(r)}function o$(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 a$=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,l$=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,c$=/^'([^]*?)'?$/,u$=/''/g,d$=/[a-zA-Z]/;function Uy(e,t,n){var p,g,v,N;const r=of(),i=r.locale??KU,a=r.firstWeekContainsDate??((g=(p=r.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,c=r.weekStartsOn??((N=(v=r.locale)==null?void 0:v.options)==null?void 0:N.weekStartsOn)??0,d=Gn(e);if(!hU(d))throw new RangeError("Invalid time value");let f=t.match(l$).map(C=>{const b=C[0];if(b==="p"||b==="P"){const S=ZU[b];return S(C,i.formatLong)}return C}).join("").match(a$).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const b=C[0];if(b==="'")return{isToken:!1,value:f$(C)};if(q1[b])return{isToken:!0,value:C};if(b.match(d$))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");return{isToken:!1,value:C}});i.localize.preprocessor&&(f=i.localize.preprocessor(d,f));const m={firstWeekContainsDate:a,weekStartsOn:c,locale:i};return f.map(C=>{if(!C.isToken)return C.value;const b=C.value;(s$(b)||r$(b))&&i$(b,t,String(e));const S=q1[b[0]];return S(d,b,i.localize,m)}).join("")}function f$(e){const t=e.match(c$);return t?t[1].replace(u$,"'"):e}const qm={auto:{el:"ÎÏ
ÏοκίνηÏο",en:"Auto"},health:{el:"Υγεία",en:"Health"},home:{el:"ÎαÏοικία",en:"Home"},life:{el:"ÎÏή",en:"Life"},business:{el:"ÎÏιÏείÏηÏη",en:"Business"},general:{el:"Îενικά",en:"General"}};function h$(){const{t:e,language:t}=Ye(),[n,r]=x.useState("all"),{data:i=[],isLoading:a}=sn({queryKey:["blog-posts"],queryFn:()=>Fe.entities.BlogPost.filter({is_published:!0},"-published_at")}),c=n==="all"?i:i.filter(d=>d.category===n);return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("Blog & Insights","Blog & Insights")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎÏθÏα, ÏÏ
μβοÏ
λÎÏ ÎºÎ±Î¹ νÎα αÏÏ Ïον κÏÏμο ÏÎ·Ï Î±ÏÏάλιÏηÏ","Articles, tips and news from the insurance world")})]}),l.jsxs("div",{className:"flex flex-wrap gap-2 justify-center mb-10",children:[l.jsx(Te,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>r("all"),className:n==="all"?"bg-amber-500 hover:bg-amber-600 text-black":"border-white/10 text-gray-300 hover:bg-white/5",children:e("Îλα","All")}),Object.entries(qm).map(([d,f])=>l.jsx(Te,{variant:n===d?"default":"outline",size:"sm",onClick:()=>r(d),className:n===d?"bg-amber-500 hover:bg-amber-600 text-black":"border-white/10 text-gray-300 hover:bg-white/5",children:t==="el"?f.el:f.en},d))]}),a?l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[1,2,3,4,5,6].map(d=>l.jsxs("div",{className:"bg-zinc-900/50 rounded-xl overflow-hidden animate-pulse",children:[l.jsx("div",{className:"h-48 bg-zinc-800"}),l.jsxs("div",{className:"p-6",children:[l.jsx("div",{className:"h-4 bg-zinc-800 rounded w-1/4 mb-4"}),l.jsx("div",{className:"h-6 bg-zinc-800 rounded w-3/4 mb-2"}),l.jsx("div",{className:"h-4 bg-zinc-800 rounded w-full"})]})]},d))}):c.length>0?l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map((d,f)=>{var m,p;return l.jsx(_e.article,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},transition:{delay:f*.05},children:l.jsx(Ze,{to:Qe("BlogPost")+`?slug=${d.slug}`,children:l.jsxs("div",{className:"group bg-zinc-900/50 border border-white/5 hover:border-amber-500/30 rounded-xl overflow-hidden transition-all h-full",children:[l.jsxs("div",{className:"h-48 bg-zinc-800 relative overflow-hidden",children:[d.featured_image?l.jsx("img",{src:d.featured_image,alt:d.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"}):l.jsx("div",{className:"w-full h-full flex items-center justify-center",children:l.jsx(ew,{className:"w-12 h-12 text-zinc-600"})}),l.jsx(kt,{className:"absolute top-4 left-4 bg-black/70 text-white border-0",children:t==="el"?(m=qm[d.category])==null?void 0:m.el:(p=qm[d.category])==null?void 0:p.en})]}),l.jsxs("div",{className:"p-6",children:[l.jsxs("div",{className:"flex items-center gap-4 text-sm text-gray-500 mb-3",children:[l.jsxs("span",{className:"flex items-center gap-1",children:[l.jsx(W_,{className:"w-4 h-4"}),d.published_at?Uy(new Date(d.published_at),"dd/MM/yyyy"):"-"]}),d.author&&l.jsxs("span",{className:"flex items-center gap-1",children:[l.jsx(Qm,{className:"w-4 h-4"}),d.author]})]}),l.jsx("h2",{className:"text-lg font-semibold text-white mb-2 group-hover:text-amber-400 transition-colors line-clamp-2",children:t==="el"?d.title:d.title_en||d.title}),l.jsx("p",{className:"text-gray-400 text-sm line-clamp-3 mb-4",children:t==="el"?d.excerpt:d.excerpt_en||d.excerpt}),l.jsxs("span",{className:"inline-flex items-center text-amber-400 text-sm font-medium",children:[e("ÎιαβάÏÏε ΠεÏιÏÏÏÏεÏα","Read More"),l.jsx(kn,{className:"w-4 h-4 ml-1 group-hover:translate-x-1 transition-transform"})]})]})]})})},d.id)})}):l.jsxs("div",{className:"text-center py-20",children:[l.jsx(ew,{className:"w-16 h-16 text-gray-600 mx-auto mb-4"}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e("Îεν Ï
ÏάÏÏοÏ
ν άÏθÏα","No articles yet")}),l.jsx("p",{className:"text-gray-400",children:e("ΣÏνÏομα θα ÏÏοÏÏεθοÏν νÎα άÏθÏα.","New articles coming soon.")})]})]})})}const m$={general:{el:"Îενικά",en:"General"},pricing:{el:"ΤιμολÏγηÏη",en:"Pricing"},reports:{el:"Reports",en:"Reports"},privacy:{el:"ÎÏÏÏÏηÏο",en:"Privacy"},technical:{el:"ΤεÏνικά",en:"Technical"},refunds:{el:"ÎÏιÏÏÏοÏÎÏ",en:"Refunds"}},p$=[{question:{el:"Î ÏÏ Î»ÎµÎ¹ÏοÏ
Ïγεί η ÏÏγκÏιÏη αÏÏαλειÏν;",en:"How does the insurance comparison work?"},answer:{el:"ΣÏ
μÏληÏÏνεÏε Ïα ÏÏοιÏεία ÏαÏ, λαμβάνεÏε άμεÏα αÏοÏελÎÏμαÏα αÏÏ ÏÎ¹Ï ÏÏ
νεÏγαζÏÎ¼ÎµÎ½ÎµÏ ÎµÏαιÏÎµÎ¯ÎµÏ ÎºÎ±Î¹ μÏοÏείÏε να ÏÏ
γκÏίνεÏε ÏακÎÏα side-by-side.",en:"Fill in your details, get instant results from partner companies and compare plans side-by-side."},category:"general"},{question:{el:"Îίναι δÏÏεάν η ÏÏήÏη ÏÎ·Ï ÏλαÏÏÏÏμαÏ;",en:"Is the platform free to use?"},answer:{el:"ΠβαÏική ÏÏγκÏιÏη (preview) είναι δÏÏεάν. Îια ÏλήÏη αναÏοÏά με αναλÏ
ÏικÎÏ ÎºÎ±Î»ÏÏÎµÎ¹Ï ÎºÎ±Î¹ ÏÏ
ÏÏάÏειÏ, Ï
ÏάÏÏει ÏÏÎÏÏη 4,90⬠- 14,90⬠ανά report.",en:"Basic comparison (preview) is free. For full reports with detailed coverage and recommendations, there is a fee of â¬4.90 - â¬14.90 per report."},category:"pricing"},{question:{el:"Τι ÏεÏιλαμβάνει Ïο Full Report;",en:"What does the Full Report include?"},answer:{el:"ΠλήÏη Ïίνακα ÏιμÏν, αναλÏ
ÏικÎÏ ÎºÎ±Î»ÏÏÎµÎ¹Ï ÎºÎ±Î¹ εξαιÏÎÏειÏ, value-for-money score, εξαÏομικεÏ
μÎνη ÏÏÏÏαÏη και δÏ
ναÏÏÏηÏα εξαγÏÎ³Î®Ï PDF.",en:"Complete price table, detailed coverage and exclusions, value-for-money score, personalized recommendation and PDF export."},category:"reports"},{question:{el:"ÎÏÏ ÏÎ¿Ï ÏÏοÎÏÏονÏαι Ïα δεδομÎνα ÏιμÏν;",en:"Where does the pricing data come from?"}
444,answer:{el:"Τα δεδομÎνα ÏÏοÎÏÏονÏαι αÏÏ partner feeds, affiliate δεδομÎνα ή ÏειÏοκίνηÏη καÏαÏÏÏηÏη. Îεν κάνοÏ
με scraping. Îι ÏιμÎÏ ÎµÎ¯Î½Î±Î¹ ενδεικÏικÎÏ ÎºÎ±Î¹ εÏιβεβαιÏνονÏαι αÏÏ Ïον ÏάÏοÏο.",en:"Data comes from partner feeds, affiliate data or manual entry. We do not scrape. Prices are indicative and confirmed by the provider."},category:"technical"},{question:{el:"Î ÏÏ ÏÏοÏÏαÏεÏονÏαι Ïα δεδομÎνα μοÏ
;",en:"How is my data protected?"},answer:{el:"ΣÏ
μμοÏÏÏνÏμαÏÏε ÏλήÏÏÏ Î¼Îµ Ïον GDPR. Τα δεδομÎνα ÏÎ±Ï ÎºÏÏ
ÏÏογÏαÏοÏνÏαι και αÏοθηκεÏονÏαι Ïε αÏÏÎ±Î»ÎµÎ¯Ï servers ενÏÏÏ ÎÎ. Îεν Ïα μοιÏαζÏμαÏÏε με ÏÏίÏοÏ
Ï ÏÏÏÎ¯Ï Ïη ÏÏ
γκαÏάθεÏή ÏαÏ.",en:"We are fully GDPR compliant. Your data is encrypted and stored on secure EU servers. We do not share it with third parties without your consent."},category:"privacy"},{question:{el:"ÎÏοÏÏ Î½Î± ÏάÏÏ ÎµÏιÏÏÏοÏή ÏÏημάÏÏν;",en:"Can I get a refund?"},answer:{el:"Îάν δεν είÏÏε ικανοÏοιημÎνοι με Ïο report, εÏικοινÏνήÏÏε μαζί Î¼Î±Ï ÎµÎ½ÏÏÏ 7 ημεÏÏν και θα εξεÏάÏοÏ
με Ïο αίÏημά ÏαÏ.",en:"If you are not satisfied with the report, contact us within 7 days and we will review your request."},category:"refunds"}];function g$(){const{t:e,language:t}=Ye(),[n,r]=x.useState(""),[i,a]=x.useState("all"),[c,d]=x.useState([]),{data:f=[]}=sn({queryKey:["faqs"],queryFn:()=>Fe.entities.FAQ.filter({is_active:!0},"display_order")}),p=(f.length>0?f:p$.map((v,N)=>({id:`default-${N}`,question:t==="el"?v.question.el:v.question.en,question_en:v.question.en,answer:t==="el"?v.answer.el:v.answer.en,answer_en:v.answer.en,category:v.category}))).filter(v=>{const N=t==="el"?v.question:v.question_en||v.question,C=t==="el"?v.answer:v.answer_en||v.answer,b=!n||N.toLowerCase().includes(n.toLowerCase())||C.toLowerCase().includes(n.toLowerCase()),S=i==="all"||v.category===i;return b&&S}),g=v=>{d(N=>N.includes(v)?N.filter(C=>C!==v):[...N,v])};return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ΣÏ
ÏνÎÏ ÎÏÏÏήÏειÏ","Frequently Asked Questions")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎÏείÏε αÏανÏήÏÎµÎ¹Ï ÏÏÎ¹Ï Ïιο ÏÏ
νηθιÏμÎÎ½ÎµÏ ÎµÏÏÏήÏειÏ","Find answers to the most common questions")})]}),l.jsxs("div",{className:"relative mb-8",children:[l.jsx(Al,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),l.jsx(pt,{value:n,onChange:v=>r(v.target.value),placeholder:e("ÎναζήÏηÏη...","Search..."),className:"pl-12 py-6 bg-zinc-900 border-zinc-800 text-white text-lg"})]}),l.jsxs("div",{className:"flex flex-wrap gap-2 justify-center mb-10",children:[l.jsx(Te,{variant:i==="all"?"default":"outline",size:"sm",onClick:()=>a("all"),className:i==="all"?"bg-amber-500 hover:bg-amber-600 text-black":"border-white/10 text-gray-300 hover:bg-white/5",children:e("Îλα","All")}),Object.entries(m$).map(([v,N])=>l.jsx(Te,{variant:i===v?"default":"outline",size:"sm",onClick:()=>a(v),className:i===v?"bg-amber-500 hover:bg-amber-600 text-black":"border-white/10 text-gray-300 hover:bg-white/5",children:t==="el"?N.el:N.en},v))]}),l.jsx("div",{className:"space-y-4",children:p.map(v=>
444{const N=c.includes(v.id),C=t==="el"?v.question:v.question_en||v.question,b=t==="el"?v.answer:v.answer_en||v.answer;return l.jsxs(_e.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-xl overflow-hidden",children:[l.jsxs("button",{onClick:()=>g(v.id),className:"w-full flex items-center justify-between p-5 text-left",children:[l.jsx("span",{className:"font-medium text-white pr-4",children:C}),l.jsx(xd,{className:`w-5 h-5 text-gray-400 flex-shrink-0 transition-transform ${N?"rotate-180":""}`})]}),l.jsx(ad,{children:N&&l.jsx(_e.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.2},children:l.jsx("div",{className:"px-5 pb-5 pt-0",children:l.jsx("p",{className:"text-gray-400 leading-relaxed",children:b})})})})]},v.id)})}),p.length===0&&l.jsxs("div",{className:"text-center py-12",children:[l.jsx(fg,{className:"w-12 h-12 text-gray-600 mx-auto mb-4"}),l.jsx("p",{className:"text-gray-400",children:e("Îεν βÏÎθηκαν αÏοÏελÎÏμαÏα.","No results found.")})]})]})})}function y$(){const{t:e}=Ye(),[t,n]=x.useState(!1),[r,i]=x.useState(!1),[a,c]=x.useState({full_name:"",email:"",phone:"",message:"",gdpr_consent:!1}),d=async f=>{f.preventDefault(),a.gdpr_consent&&(n(!0),await Fe.entities.Lead.create({...a,insurance_type:"other",description:a.message,source_page:"contact"}),n(!1),i(!0))};return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl font-bold text-white mb-4",children:e("ÎÏικοινÏνία","Contact")}),l.jsx("p",{className:"text-gray-400 text-lg max-w-2xl mx-auto",children:e("ÎίμαÏÏε ÎµÎ´Ï Î³Î¹Î± να αÏανÏήÏοÏ
με ÏÏÎ¹Ï ÎµÏÏÏήÏÎµÎ¹Ï ÏαÏ","We are here to answer your questions")})]}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[l.jsx(_e.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},children:l.jsxs("div",{className:"bg-gradient-to-br from-zinc-900/50 to-zinc-900/30 border border-white/5 rounded-2xl p-8",children:[l.jsx("h2",{className:"text-2xl font-bold text-white mb-6",children:e("ΣÏοιÏεία ÎÏικοινÏνίαÏ","Contact Details")}),l.jsxs("div",{className:"space-y-6",children:[l.jsxs("div",{children:[l.jsxs("h3",{className:"text-white font-medium mb-3 flex items-center gap-2",children:[l.jsx(LR,{className:"w-5 h-5 text-amber-400"}),e("ΤΠÎΡÎΦÎÎÎ ÎÎΣ","OUR OFFICES")]}),l.jsxs("div",{className:"space-y-3 ml-7",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-amber-400 font-medium text-sm mb-1",children:"ATHENS"}),l.jsxs("p",{className:"text-gray-400 text-sm",children:["86 Akadimias Str., 4th floor",l.jsx("br",{}),"Athens, 10678, Greece"]})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-amber-400 font-medium text-sm mb-1",children:"THESSALONIKI"}),l.jsxs("p",{className:"text-gray-400 text-sm",children:["24 Aristotelous Str., 1st floor",l.jsx("br",{}),"Thessaloniki, 54623, Greece"]})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-amber-400 font-medium text-sm mb-1",children:"IOANNINA"}),l.jsxs("p",{className:"text-gray-400 text-sm",children:["1 Evergeti Domboli Av.",l.jsx("br",{}),"Ioannina, 45332, Greece"]})]})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center flex-shrink-0",children:l.jsx(yg,{className:"w-5 h-5 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-medium mb-1",children:"Email"}),l.jsx("a",{href:"mailto:[email protected]",className:"text-gray-400 hover:text-amber-400 transition-colors",children:"[email protected]"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center flex-shrink-0",children:l.jsx(Fr,{className:"w-5 h-5 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-medium mb-1",children:"Mobile"}),l.jsx("a",{href:"tel:+306939838223",className:"text-gray-400 hover:text-amber-400 transition-colors",children:"+30 6939 838 223"})]})]}),l.jsxs("div",{className:"flex items-start gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center flex-shrink-0",children:l.jsx(hg,{className:"w-5 h-5 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-medium mb-1",children:e("ÎÏÎµÏ ÎειÏοÏ
ÏγίαÏ","Business Hours")}),l.jsxs("p",{className:"text-gray-400",children:[e("ÎεÏ
ÏÎÏα - ΠαÏαÏκεÏ
ή: 9:00 - 18:00","Monday - Friday: 9:00 - 18:00"),l.jsx("br",{}),e("ΣάββαÏο: 10:00 - 14:00","Saturday: 10:00 - 14:00")]})]})]})]})]})}),l.jsx(_e.div,{initial:{opacity:0,x:20}
444,animate:{opacity:1,x:0},children:r?l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/20 flex items-center justify-center mx-auto mb-4",children:l.jsx(Rl,{className:"w-8 h-8 text-green-500"})}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e("ÎÏ
ÏαÏιÏÏοÏμε!","Thank you!")}),l.jsx("p",{className:"text-gray-400 mb-6",children:e("Îάβαμε Ïο μήνÏ
μά ÏÎ±Ï ÎºÎ±Î¹ θα εÏικοινÏνήÏοÏ
με ÏÏνÏομα.","We received your message and will get back to you soon.")}),l.jsx(Te,{onClick:()=>{i(!1),c({full_name:"",email:"",phone:"",message:"",gdpr_consent:!1})},variant:"outline",className:"border-white/10 text-white hover:bg-white/5",children:e("ÎÎο ÎήνÏ
μα","New Message")})]}):l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8",children:[l.jsxs("h2",{className:"text-2xl font-bold text-white mb-6 flex items-center gap-2",children:[l.jsx(zR,{className:"w-6 h-6 text-amber-400"}),e("ΣÏείλÏε Î¼Î±Ï ÎήνÏ
μα","Send us a Message")]}),l.jsxs("form",{onSubmit:d,className:"space-y-5",children:[l.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{htmlFor:"name",className:"text-gray-300",children:[e("ÎνομαÏεÏÏνÏ
μο","Full Name")," *"]}),l.jsx(pt,{id:"name",required:!0,value:a.full_name,onChange:f=>c({...a,full_name:f.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{htmlFor:"phone",className:"text-gray-300",children:e("ΤηλÎÏÏνο","Phone")}),l.jsx(pt,{id:"phone",type:"tel",value:a.phone,onChange:f=>c({...a,phone:f.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{htmlFor:"email",className:"text-gray-300",children:"Email *"}),l.jsx(pt,{id:"email",type:"email",required:!0,value:a.email,onChange:f=>c({...a,email:f.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{htmlFor:"message",className:"text-gray-300",children:[e("ÎήνÏ
μα","Message")," *"]}),l.jsx(Bl,{id:"message",required:!0,value:a.message,onChange:f=>c({...a,message:f.target.value}),className:"bg-zinc-800 border-zinc-700 text-white min-h-[150px]",placeholder:e("Î ÏÏ Î¼ÏοÏοÏμε να ÏÎ±Ï Î²Î¿Î·Î¸Î®ÏοÏ
με;","How can we help you?")})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(ji,{id:"gdpr",checked:a.gdpr_consent,onCheckedChange:f=>c({...a,gdpr_consent:f}),className:"mt-1 border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx(We,{htmlFor:"gdpr",className:"text-sm text-gray-400 font-normal leading-relaxed",children:e("ΣÏ
μÏÏÎ½Ï Î¼Îµ Ïην εÏεξεÏγαÏία ÏÏν ÏÏοÏÏÏικÏν μοÏ
δεδομÎνÏν ÏÏμÏÏνα με Ïην ΠολιÏική ÎÏοÏÏήÏοÏ
. *","I agree to the processing of my personal data in accordance with the Privacy Policy. *")})]}),l.jsx(Te,{type:"submit",disabled:t||!a.gdpr_consent,className:"w-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold h-12",children:t?l.jsxs(l.Fragment,{children:[l.jsx(ir,{className:"w-4 h-4 mr-2 animate-spin"}),e("ÎÏοÏÏολή...","Sending...")]}):l.jsxs(l.Fragment,{children:[l.jsx(SS,{className:"w-4 h-4 mr-2"}),e("ÎÏοÏÏολή ÎηνÏμαÏοÏ","Send Message")]})})]})]})})]})]})})}function x$(){const{t:e}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 lg:p-12",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx(ul,{className:"w-8 h-8 text-amber-400"}),l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ÎÏοι ΧÏήÏηÏ","Terms of Use")})]}),l.jsxs("div",{className:"prose prose-invert max-w-none",children:[l.jsxs("p",{className:"text-gray-400 mb-6",children:[e("ΤελεÏ
Ïαία ενημÎÏÏÏη:","
444Last updated:")," ",new Date().toLocaleDateString()]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("1. ÎÏοδοÏή ÎÏÏν","1. Acceptance of Terms")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îε Ïη ÏÏήÏη ÏÎ·Ï ÏλαÏÏÏÏÎ¼Î±Ï GLP INSURANCES αÏοδÎÏεÏÏε ÏοÏ
Ï ÏαÏÏνÏÎµÏ ÏÏοÏ
Ï ÏÏήÏηÏ. Îάν δεν ÏÏ
μÏÏνείÏε με οÏοιονδήÏοÏε ÏÏο, ÏαÏακαλοÏμε μην ÏÏηÏιμοÏοιείÏε Ïην ÏλαÏÏÏÏμα.","By using the GLP INSURANCES platform you accept these terms of use. If you do not agree with any term, please do not use the platform.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("2. ΠεÏιγÏαÏή Î¥ÏηÏεÏίαÏ","2. Service Description")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î GLP INSURANCES ÏαÏÎÏει ÏλαÏÏÏÏμα ÏÏγκÏιÏÎ·Ï Î±ÏÏαλιÏÏικÏν ÏÏοÏÏνÏÏν. Îι ÏιμÎÏ ÎºÎ±Î¹ οι καλÏÏÎµÎ¹Ï ÏοÏ
εμÏανίζονÏαι είναι ενδεικÏικÎÏ ÎºÎ±Î¹ ÏÏοÎÏÏονÏαι αÏÏ partner feeds, affiliate δεδομÎνα ή ÏειÏοκίνηÏη καÏαÏÏÏηÏη. Îεν αÏοÏελοÏμε αÏÏαλιÏÏική εÏαιÏεία ή μεÏίÏη.","GLP INSURANCES provides an insurance product comparison platform. Prices and coverages displayed are indicative and come from partner feeds, affiliate data or manual entry. We are not an insurance company or broker.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("3. ÎνδεικÏικÎÏ Î¤Î¹Î¼ÎÏ","3. Indicative Prices")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îι ÏιμÎÏ ÏοÏ
εμÏανίζονÏαι ÏÏην ÏλαÏÏÏÏμα είναι ενδεικÏικÎÏ. Î Ïελική Ïιμή και οι ÏÏοι ÏοÏ
αÏÏαλιÏÏηÏίοÏ
καθοÏίζονÏαι αÏÏ Ïην εκάÏÏοÏε αÏÏαλιÏÏική εÏαιÏεία καÏά Ïην ÎκδοÏη ÏοÏ
ÏÏ
μβολαίοÏ
.","Prices displayed on the platform are indicative. The final price and policy terms are determined by the respective insurance company upon policy issuance.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("4. ΠληÏÏμÎÏ & Reports","4. Payments & Reports")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î ÏλαÏÏÏÏμα ÏÏοÏÏÎÏει δÏÏεάν preview αÏοÏελεÏμάÏÏν. Îια ÏλήÏη αναÏοÏά (Full Report) αÏαιÏείÏαι ÏληÏÏμή. Îι ÏληÏÏμÎÏ ÎµÏεξεÏγάζονÏαι μÎÏÏ PayPal.","The platform offers free results preview. Full Reports require payment. Payments are processed via PayPal.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("5. ΠεÏιοÏιÏμÏÏ ÎÏ
θÏνηÏ","5. Limitation of Liability")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î GLP INSURANCES δεν εÏ
θÏνεÏαι για αÏοÏάÏÎµÎ¹Ï ÏοÏ
λαμβάνονÏαι βάÏει ÏÏν ÏληÏοÏοÏιÏν ÏÎ·Ï ÏλαÏÏÏÏμαÏ. ΣÏ
νιÏÏοÏμε εÏικοινÏνία με ÏοÏ
Ï ÏαÏÏÏοÏ
Ï Î³Î¹Î± εÏιβεβαίÏÏη ÏÏιν Ïη ÏÏναÏη ÏÏ
μβολαίοÏ
.","GLP INSURANCES is not liable for decisions made based on platform information. We recommend contacting providers for confirmation before signing a contract.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("6. ΤÏοÏοÏοίηÏη ÎÏÏν","6. Modification of Terms")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎιαÏηÏοÏμε Ïο δικαίÏμα ÏÏοÏοÏοίηÏÎ·Ï ÏÏν ÏαÏÏνÏÏν ÏÏÏν. Îι αλλαγÎÏ Î¸Î± αναÏÏÏνÏαι ÏÏην ÏαÏοÏÏα Ïελίδα.","We reserve the right to modify these terms. Changes will be posted on this page.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("7. ÎÏικοινÏνία","7. Contact")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îια εÏÏÏήÏÎµÎ¹Ï ÏÏεÏικά με ÏοÏ
Ï ÏÏοÏ
Ï ÏÏήÏηÏ, εÏικοινÏνήÏÏε ÏÏο [email protected].","For questions about the terms of use, contact [email protected].")})]})]})})})}function v$(){const{t:e}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs(_e.div,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 lg:p-12",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx(wi,{className:"w-8 h-8 text-amber-400"}),l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ΠολιÏική ÎÏοÏÏήÏοÏ
","Privacy Policy")})]}),l.jsxs("div",{className:"prose prose-invert max-w-none",children:[l.jsxs("p",{className:"text-gray-400 mb-6",children:[e("ΤελεÏ
Ïαία ενημÎÏÏÏη:","Last updated:")," ",new Date().toLocaleDateString()]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("1. Î¥ÏεÏθÏ
Î½Î¿Ï ÎÏεξεÏγαÏίαÏ","1. Data Controller")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î¥ÏεÏθÏ
Î½Î¿Ï ÎµÏεξεÏγαÏÎ¯Î±Ï ÏÏν δεδομÎνÏν ÏÎ±Ï ÎµÎ¯Î½Î±Î¹ η GLP INSURANCES με ÎδÏα Ïην Îθήνα, Îλλάδα.","The data controller is GLP INSURANCES based in Athens, Greece.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("2. ÎεδομÎνα ÏοÏ
ΣÏ
λλÎγοÏ
με","2. Data We Collect")}),l.jsxs("ul",{className:"text-gray-400 list-disc list-inside space-y-2",children:[l.jsx("li",{children:e("ΣÏοιÏεία εÏικοινÏÎ½Î¯Î±Ï (Ïνομα, email, ÏηλÎÏÏνο)","Contact details (name, email, phone)")}),l.jsx("li",{children:e("ÎεδομÎνα ÏÏÏÎ¼Î±Ï ÏÏγκÏιÏÎ·Ï (ηλικία, ÏεÏιοÏή, ÏÏÏÎ¿Ï Î¿ÏήμαÏÎ¿Ï ÎºÎ»Ï)","Comparison form data (age, region, vehicle type etc)")}),l.jsx("li",{children:e("ÎεδομÎνα ÏληÏÏÎ¼Î®Ï (εÏεξεÏγάζονÏαι αÏÏ PayPal)","Payment data (processed by PayPal)")}),l.jsx("li",{children:e("ΤεÏνικά δεδομÎνα (IP, browser, cookies)","Technical data (IP, browser, cookies)")})]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("3. ΣκοÏÏÏ ÎÏεξεÏγαÏίαÏ","3. Purpose of Processing")}),l.jsxs("ul",{className:"text-gray-400 list-disc list-inside space-y-2",children:[l.jsx("li",{children:e("ΠαÏοÏή Ï
ÏηÏεÏÎ¯Î±Ï ÏÏγκÏιÏÎ·Ï Î±ÏÏαλειÏν","Provision of insurance comparison service")}),l.jsx("li",{children:e("ÎÏικοινÏνία Ïε αίÏημα callback","Communication upon callback request")}),l.jsx("li",{children:e("ΠαÏάδοÏη reports ÏοÏ
αγοÏάÏÏηκαν","Delivery of purchased reports")}),l.jsx("li",{children:e("ÎελÏίÏÏη ÏλαÏÏÏÏμαÏ","Platform improvement")})]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("4. Îομική ÎάÏη","4. Legal Basis")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎÏεξεÏγαζÏμαÏÏε Ïα δεδομÎνα ÏÎ±Ï Î²Î¬Ïει: (α) ÏÎ·Ï ÏÏ
γκαÏάθεÏÎ®Ï ÏαÏ, (β) ÏÎ·Ï ÎµÎºÏÎλεÏÎ·Ï ÏÏμβαÏηÏ, (γ) Î½Î¿Î¼Î¹ÎºÎ®Ï Ï
ÏοÏÏÎÏÏηÏ.","We process your data based on: (a) your consent, (b) contract execution, (c) legal obligation.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("5. ÎιαÏήÏηÏη ÎεδομÎνÏν","5. Data Retention")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎιαÏηÏοÏμε Ïα δεδομÎνα ÏÎ±Ï Î³Î¹Î± ÏÏο διάÏÏημα αÏαιÏείÏαι για ÏοÏ
Ï ÏκοÏοÏÏ ÏοÏ
ÏÏ
λλÎÏθηκαν ή για ÏÏο εÏιβάλλεÏαι αÏÏ Ïο νÏμο.","We retain your data for as long as necessary for the purposes collected or as required by law.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("6. Τα ÎικαιÏμαÏά Î£Î±Ï (GDPR)","6. Your Rights (GDPR)")}),l.jsxs("ul",{className:"text-gray-400 list-disc list-inside space-y-2",children:[l.jsx("li",{children:e("Î ÏÏÏβαÏη ÏÏα δεδομÎνα ÏαÏ","Access to your data")}),l.jsx("li",{children:e("ÎιÏÏθÏÏη ανακÏιβÏν δεδομÎνÏν","Correction of inaccurate data")}),l.jsx("li",{children:e('ÎιαγÏαÏή ("δικαίÏμα ÏÏη λήθη")','Erasure ("right to be forgotten")')}),l.jsx("li",{children:e("ΠεÏιοÏιÏμÏÏ ÎµÏεξεÏγαÏίαÏ","Restriction of processing")}
444),l.jsx("li",{children:e("ΦοÏηÏÏÏηÏα δεδομÎνÏν","Data portability")}),l.jsx("li",{children:e("ÎνανÏίÏÏη ÏÏην εÏεξεÏγαÏία","Objection to processing")})]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("7. ÎÏÏάλεια ÎεδομÎνÏν","7. Data Security")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ΧÏηÏιμοÏοιοÏμε κÏÏ
ÏÏογÏάÏηÏη SSL και αÏοθηκεÏοÏ
με Ïα δεδομÎνα Ïε αÏÏÎ±Î»ÎµÎ¯Ï servers ενÏÏÏ ÏÎ·Ï ÎÎ.","We use SSL encryption and store data on secure servers within the EU.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("8. ÎÏικοινÏνία","8. Contact")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îια θÎμαÏα ÏÏοÏÏαÏÎ¯Î±Ï Î´ÎµÎ´Î¿Î¼ÎνÏν, εÏικοινÏνήÏÏε: [email protected]","For data protection matters, contact: [email protected]")})]})]})})})}function w$(){const{t:e}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 lg:p-12",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx(oA,{className:"w-8 h-8 text-amber-400"}),l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ÎÏοÏοίηÏη ÎÏ
θÏ
νÏν","Disclaimer")})]}),l.jsxs("div",{className:"prose prose-invert max-w-none",children:[l.jsx("div",{className:"bg-amber-500/10 border border-amber-500/20 rounded-xl p-6 mb-8",children:l.jsx("p",{className:"text-amber-200 font-medium",children:e("ΣημανÏικÏ: ÎιαβάÏÏε ÏÏοÏεκÏικά Ïην ÏαÏακάÏÏ Î±ÏοÏοίηÏη εÏ
θÏ
νÏν ÏÏιν ÏÏηÏιμοÏοιήÏεÏε Ïην ÏλαÏÏÏÏμα.","Important: Please read the following disclaimer carefully before using the platform.")})}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("ÎνδεικÏικÎÏ Î Î»Î·ÏοÏοÏίεÏ","Indicative Information")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îι ÏιμÎÏ, οι καλÏÏÎµÎ¹Ï ÎºÎ±Î¹ οι λοιÏÎÏ ÏληÏοÏοÏÎ¯ÎµÏ ÏοÏ
εμÏανίζονÏαι ÏÏην ÏλαÏÏÏÏμα GLP INSURANCES είναι ενδεικÏικÎÏ ÎºÎ±Î¹ δεν αÏοÏελοÏν δεÏμεÏ
Ïική ÏÏοÏÏοÏά. Τα δεδομÎνα ÏÏοÎÏÏονÏαι αÏÏ partner feeds, affiliate δεδομÎνα ή ÏειÏοκίνηÏη καÏαÏÏÏηÏη ÏÏον καÏÎ¬Î»Î¿Î³Ï Î¼Î±Ï.","Prices, coverages and other information displayed on the GLP INSURANCES platform are indicative and do not constitute a binding offer. Data comes from partner feeds, affiliate data or manual entry in our catalog.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("ÎÏιβεβαίÏÏη αÏÏ Î Î¬ÏοÏο","Provider Confirmation")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î Ïελική Ïιμή, οι ÏÏοι και οι καλÏÏÎµÎ¹Ï ÏοÏ
αÏÏαλιÏÏηÏίοÏ
ÏÏ
μβολαίοÏ
καθοÏίζονÏαι αÏοκλειÏÏικά αÏÏ Ïην εκάÏÏοÏε αÏÏαλιÏÏική εÏαιÏεία καÏά Ïη διαδικαÏία underwriting και ÎκδοÏÎ·Ï ÏοÏ
ÏÏ
μβολαίοÏ
. ΣÏ
νιÏÏοÏμε να εÏικοινÏνήÏεÏε αÏεÏ
Î¸ÎµÎ¯Î±Ï Î¼Îµ Ïον ÏάÏοÏο για εÏιβεβαίÏÏη ÏÏιν λάβεÏε οÏοιαδήÏοÏε αÏÏÏαÏη.","The final price, terms and coverages of the insurance policy are determined exclusively by the respective insurance company during the underwriting and policy issuance process. We recommend contacting the provider directly for confirmation before making any decision.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("Îεν ÎίμαÏÏε ÎÏÏαλιÏÏÎÏ","We Are Not Insurers")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î GLP INSURANCES δεν είναι αÏÏαλιÏÏική εÏαιÏεία, μεÏίÏÎ·Ï Î® ÏÏάκÏοÏÎ±Ï Î±ÏÏαλίÏεÏν. ΠαÏÎÏοÏ
με αÏοκλειÏÏικά Ï
ÏηÏεÏία ÏÏÎ
444³ÎºÏιÏÎ·Ï ÏληÏοÏοÏιÏν. Îεν εκδίδοÏ
με αÏÏαλιÏÏήÏια ÏÏ
μβÏλαια οÏÏε ειÏÏÏάÏÏοÏ
με αÏÏάλιÏÏÏα.","GLP INSURANCES is not an insurance company, broker or insurance agent. We exclusively provide an information comparison service. We do not issue insurance policies nor collect premiums.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("ΧÏÏÎ¯Ï Scraping","No Scraping")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îεν ÏÏαγμαÏοÏοιοÏμε scraping δεδομÎνÏν αÏÏ Î¹ÏÏοÏÎµÎ»Î¯Î´ÎµÏ Î±ÏÏαλιÏÏικÏν εÏαιÏειÏν. Τα δεδομÎνα Î¼Î±Ï ÏÏοÎÏÏονÏαι αÏοκλειÏÏικά αÏÏ ÎµÏίÏÎ·Î¼ÎµÏ ÏÏ
νεÏγαÏίεÏ, partner APIs, affiliate feeds ή ÏειÏοκίνηÏη καÏαÏÏÏηÏη.","We do not scrape data from insurance company websites. Our data comes exclusively from official partnerships, partner APIs, affiliate feeds or manual entry.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("ΠεÏιοÏιÏμÏÏ ÎÏ
θÏνηÏ","Limitation of Liability")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Î GLP INSURANCES δεν ÏÎÏει εÏ
θÏνη για αÏοÏάÏÎµÎ¹Ï ÏοÏ
λαμβάνονÏαι βάÏει ÏÏν ÏληÏοÏοÏιÏν ÏοÏ
ÏαÏÎÏονÏαι ÏÏην ÏλαÏÏÏÏμα. Îάθε ÏÏήÏÏÎ·Ï ÎµÎ¯Î½Î±Î¹ Ï
ÏεÏθÏ
Î½Î¿Ï Î³Î¹Î± Ïην εÏαλήθεÏ
Ïη ÏÏν ÏληÏοÏοÏιÏν και Ïη λήÏη αÏοÏάÏεÏν ÏÏμÏÏνα με ÏÎ¹Ï Î±Î½Î¬Î³ÎºÎµÏ ÏοÏ
.","GLP INSURANCES is not liable for decisions made based on information provided on the platform. Each user is responsible for verifying information and making decisions according to their needs.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("ÎÏικοινÏνία","Contact")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îια εÏÏÏήÏÎµÎ¹Ï Î® διεÏ
κÏινίÏειÏ, εÏικοινÏνήÏÏε μαζί Î¼Î±Ï ÏÏο [email protected].","For questions or clarifications, contact us at [email protected].")})]})]})})})}function b$(){const{t:e}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 lg:p-12",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx(QR,{className:"w-8 h-8 text-amber-400"}),l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ΠολιÏική ÎÏιÏÏÏοÏÏν","Refund Policy")})]}),l.jsxs("div",{className:"prose prose-invert max-w-none",children:[l.jsxs("p",{className:"text-gray-400 mb-6",children:[e("ΤελεÏ
Ïαία ενημÎÏÏÏη:","Last updated:")," ",new Date().toLocaleDateString()]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("1. ΨηÏιακά Î ÏοÏÏνÏα","1. Digital Products")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Τα Reports ÏοÏ
ÏαÏÎÏονÏαι αÏÏ Ïην GLP INSURANCES είναι ÏηÏιακά ÏÏοÏÏνÏα. ÎÏÎ³Ï ÏÎ·Ï ÏÏÏÎ·Ï ÏοÏ
Ï, ÏαÏÎÏονÏαι άμεÏα μεÏά Ïην ολοκλήÏÏÏη ÏÎ·Ï ÏληÏÏμήÏ.","Reports provided by GLP INSURANCES are digital products. Due to their nature, they are delivered immediately after payment completion.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("2. ÎικαίÏμα Î¥ÏαναÏÏÏηÏηÏ","2. Right of Withdrawal")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ΣÏμÏÏνα με Ïην ελληνική και εÏ
ÏÏÏαÏκή νομοθεÏία για Ïο ηλεκÏÏÎ¿Î½Î¹ÎºÏ ÎµÎ¼ÏÏÏιο, Ïα ÏηÏιακά ÏÏοÏÏνÏα ÏοÏ
ÏαÏÎÏονÏαι άμεÏα μεÏά Ïην αγοÏά εξαιÏοÏνÏαι αÏÏ Ïο δικαίÏμα Ï
ÏαναÏ
444ÏÏηÏÎ·Ï 14 ημεÏÏν, εÏÏÏον ο καÏαναλÏÏÎ®Ï ÎÏει δÏÏει Ïη ÏηÏή ÏÏ
γκαÏάθεÏή ÏοÏ
για Ïην άμεÏη ÏαÏοÏή.","According to Greek and European e-commerce legislation, digital products delivered immediately after purchase are exempt from the 14-day withdrawal right, provided the consumer has given explicit consent for immediate delivery.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("3. ÎξαιÏÎÏÎµÎ¹Ï - ÎÏιÏÏÏοÏή ΧÏημάÏÏν","3. Exceptions - Refund")}),l.jsx("p",{className:"text-gray-400 leading-relaxed mb-4",children:e("ΠαÏÏλα αÏ
Ïά, εξεÏάζοÏ
με αιÏήμαÏα εÏιÏÏÏοÏÎ®Ï ÏÏÎ¹Ï Î±ÎºÏλοÏ
Î¸ÎµÏ ÏεÏιÏÏÏÏειÏ:","Nevertheless, we review refund requests in the following cases:")}),l.jsxs("ul",{className:"text-gray-400 list-disc list-inside space-y-2",children:[l.jsx("li",{children:e("ΤεÏÎ½Î¹ÎºÏ ÏÏÏβλημα ÏοÏ
εμÏÏδιÏε Ïην ÏαÏάδοÏη ÏοÏ
report","Technical issue that prevented report delivery")}),l.jsx("li",{children:e("ÎιÏλή ÏÏÎÏÏη για Ïο ίδιο report","Double charge for the same report")}),l.jsx("li",{children:e("Το report δεν ανÏαÏοκÏίνεÏαι ÏÏην ÏεÏιγÏαÏή (ÏημανÏική αÏÏκλιÏη)","Report does not match description (significant deviation)")})]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("4. ÎιαδικαÏία ÎιÏήμαÏοÏ","4. Request Process")}),l.jsx("p",{className:"text-gray-400 leading-relaxed mb-4",children:e("Îια να Ï
ÏοβάλεÏε αίÏημα εÏιÏÏÏοÏήÏ:","To submit a refund request:")}),l.jsxs("ol",{className:"text-gray-400 list-decimal list-inside space-y-2",children:[l.jsx("li",{children:e("ÎÏικοινÏνήÏÏε ενÏÏÏ 7 ημεÏÏν αÏÏ Ïην αγοÏά","Contact us within 7 days of purchase")}),l.jsx("li",{children:e("ÎναÏÎÏεÏε Ïον αÏÎ¹Î¸Î¼Ï ÏÏ
Î½Î±Î»Î»Î±Î³Î®Ï PayPal","State your PayPal transaction number")}),l.jsx("li",{children:e("ΠεÏιγÏάÏÏε Ïον λÏγο ÏοÏ
αιÏήμαÏοÏ","Describe the reason for your request")})]}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("5. ΧÏÏÎ½Î¿Ï ÎÏεξεÏγαÏίαÏ","5. Processing Time")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Τα αιÏήμαÏα εξεÏάζονÏαι ενÏÏÏ 5 εÏγάÏιμÏν ημεÏÏν. Îάν εγκÏιθεί, η εÏιÏÏÏοÏή γίνεÏαι μÎÏÏ PayPal ενÏÏÏ 7-10 εÏγάÏιμÏν ημεÏÏν.","Requests are reviewed within 5 business days. If approved, the refund is processed via PayPal within 7-10 business days.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("6. ÎÏικοινÏνία","6. Contact")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îια αιÏήμαÏα εÏιÏÏÏοÏήÏ: [email protected]","For refund requests: [email protected]")})]})]})})})}function S$(){const{t:e}=Ye();return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 lg:p-12",children:[l.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[l.jsx(lR,{className:"w-8 h-8 text-amber-400"}),l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ΠολιÏική Cookies","Cookies Policy")})]}),l.jsxs("div",{className:"prose prose-invert max-w-none",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("1. Τι είναι Ïα Cookies","1. What are Cookies")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Τα cookies είναι μικÏά αÏÏεία κειμÎνοÏ
ÏοÏ
αÏοθηκεÏονÏαι ÏÏη ÏÏ
ÏκεÏ
ή ÏÎ±Ï ÏÏαν εÏιÏκÎÏÏεÏÏε Ïην ιÏÏοÏελίδα μαÏ. ΧÏηÏιμοÏοιοÏνÏαι για Ïη βελÏίÏÏη ÏÎ·Ï ÎµÎ¼ÏειÏÎ¯Î±Ï ÏÏήÏηÏ.","Cookies are small text files stored on your device when you visit our website. They are used to improve user experience.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("2. ΤÏÏοι Cookies ÏοÏ
ΧÏηÏιμοÏοιοÏμε","2. Types of Cookies We Use")}),l.jsx("h3",{className:"text-lg font-medium text-white mt-6 mb-2",children:e("ÎÏαÏαίÏηÏα Cookies","Essential Cookies")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎÏαÏαίÏηÏα για Ïη λειÏοÏ
Ïγία ÏÎ·Ï Î¹ÏÏοÏελίδαÏ. ΠεÏιλαμβάνοÏ
ν cookies για Ïη διαÏήÏηÏη ÏÎ·Ï ÏÏνδεÏÎ·Ï ÎºÎ±Î¹ ÏÎ¹Ï ÏÏοÏιμήÏÎµÎ¹Ï Î³Î»ÏÏÏαÏ.","Essential for website functionality. Include cookies for maintaining login and language preferences.")}),l.jsx("h3",{className:"text-lg font-medium text-white mt-6 mb-2",children:e("Cookies ÎνάλÏ
ÏηÏ","Analytics Co
444okies")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎÎ±Ï Î²Î¿Î·Î¸Î¿Ïν να καÏανοήÏοÏ
με ÏÏÏ ÏÏηÏιμοÏοιείÏε Ïην ιÏÏοÏελίδα για να Ïη βελÏιÏÏοÏ
με.","Help us understand how you use the website to improve it.")}),l.jsx("h3",{className:"text-lg font-medium text-white mt-6 mb-2",children:e("Cookies Marketing","Marketing Cookies")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ΧÏηÏιμοÏοιοÏνÏαι για Ïην ÏÏοβολή ÏÏεÏικÏν διαÏημίÏεÏν βάÏει ÏÏν ενδιαÏεÏÏνÏÏν ÏαÏ.","Used to display relevant ads based on your interests.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("3. ÎιαÏείÏιÏη Cookies","3. Managing Cookies")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎÏοÏείÏε να διαÏειÏιÏÏείÏε ή να αÏενεÏγοÏοιήÏεÏε Ïα cookies μÎÏÏ ÏÏν ÏÏ
θμίÏεÏν ÏοÏ
ÏÏογÏάμμαÏÎ¿Ï ÏεÏιήγηÏÎ®Ï ÏαÏ. ΣημειÏÏÏε ÏÏι η αÏενεÏγοÏοίηÏη οÏιÏμÎνÏν cookies μÏοÏεί να εÏηÏεάÏει Ïη λειÏοÏ
ÏγικÏÏηÏα ÏÎ·Ï Î¹ÏÏοÏελίδαÏ.","You can manage or disable cookies through your browser settings. Note that disabling certain cookies may affect website functionality.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("4. ΤÏίÏα ÎÎÏη","4. Third Parties")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("ÎνδÎÏεÏαι να ÏÏηÏιμοÏοιοÏμε cookies ÏÏίÏÏν ÏÏÏÏ Google Analytics και PayPal για Ïην ÏαÏοÏή ÏÏν Ï
ÏηÏεÏιÏν μαÏ.","We may use third-party cookies such as Google Analytics and PayPal to provide our services.")}),l.jsx("h2",{className:"text-xl font-semibold text-white mt-8 mb-4",children:e("5. ÎÏικοινÏνία","5. Contact")}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e("Îια εÏÏÏήÏÎµÎ¹Ï ÏÏεÏικά με Ïα cookies: [email protected]","For questions about cookies: [email protected]")})]})]})})})}var Km="rovingFocusGroup.onEntryFocus",N$={bubbles:!1,cancelable:!0},Yl="RovingFocusGroup",[ig,nP,C$]=Vd(Yl),[j$,af]=Tn(Yl,[C$]),[E$,k$]=j$(Yl),rP=x.forwardRef((e,t)=>l.jsx(ig.Provider,{scope:e.__scopeRovingFocusGroup,children:l.jsx(ig.Slot,{scope:e.__scopeRovingFocusGroup,children:l.jsx(P$,{...e,ref:t})})}));rP.displayName=Yl;var P$=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:f,onEntryFocus:m,preventScrollOnEntryFocus:p=!1,...g}=e,v=x.useRef(null),N=Ie(t,v),C=Ul(a),[b,S]=fr({prop:c,defaultProp:d??null,onChange:f,caller:Yl}),[j,P]=x.useState(!1),k=hr(m),T=nP(n),A=x.useRef(!1),[U,F]=x.useState(0);return x.useEffect(()=>{const L=v.current;if(L)return L.addEventListener(Km,k),()=>L.removeEventListener(Km,k)},[k]),l.jsx(E$,{scope:n,orientation:r,dir:C,loop:i,currentTabStopId:b,onItemFocus:x.useCallback(L=>S(L),[S]),onItemShiftTab:x.useCallback(()=>P(!0),[]),onFocusableItemAdd:x.useCallback(()=>F(L=>L+1),[]),onFocusableItemRemove:x.useCallback(()=>F(L=>L-1),[]),children:l.jsx(ke.div,{tabIndex:j||U===0?-1:0,"data-orientation":r,...g,ref:N,style:{outline:"none",...e.style},onMouseDown:ie(e.onMouseDown,()=>{A.current=!0}),onFocus:ie(e.onFocus,L=>{const te=!A.current;if(L.target===L.currentTarget&&te&&!j){const K=new CustomEvent(Km,N$);if(L.currentTarget.dispatchEvent(K),!K.defaultPrevented){const B=T().filter(G=>G.focusable),J=B.find(G=>G.active),se=B.find(G=>G.id===b),ve=[J,se,...B].filter(Boolean).map(G=>G.ref.current);oP(ve,p)}}A.current=!1}),onBlur:ie(e.onBlur,()=>P(!1))})})}),sP="RovingFocusGroupItem",iP=x.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:c,...d}=e,f=$n(),m=a||f,p=k$(sP,n),g=p.currentTabStopId===m,v=nP(n),{onFocusableItemAdd:N,onFocusableItemRemove:C,currentTabStopId:b}=p;return x.useEffect(()=>{if(r)return N(),()=>C()}
vendor: 6,131 bytes, line 444
444,[r,N,C]),l.jsx(ig.ItemSlot,{scope:n,id:m,focusable:r,active:i,children:l.jsx(ke.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...d,ref:t,onMouseDown:ie(e.onMouseDown,S=>{r?p.onItemFocus(m):S.preventDefault()}),onFocus:ie(e.onFocus,()=>p.onItemFocus(m)),onKeyDown:ie(e.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){p.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const j=R$(S,p.orientation,p.dir);if(j!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let k=v().filter(T=>T.focusable).map(T=>T.ref.current);if(j==="last")k.reverse();else if(j==="prev"||j==="next"){j==="prev"&&k.reverse();const T=k.indexOf(S.currentTarget);k=p.loop?A$(k,T+1):k.slice(T+1)}setTimeout(()=>oP(k))}}),children:typeof c=="function"?c({isCurrentTabStop:g,hasTabStop:b!=null}):c})})});iP.displayName=sP;var T$={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _$(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function R$(e,t,n){const r=_$(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return T$[r]}function oP(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function A$(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var aP=rP,lP=iP,lf="Tabs",[M$]=Tn(lf,[af]),cP=af(),[O$,$y]=M$(lf),uP=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:a,orientation:c="horizontal",dir:d,activationMode:f="automatic",...m}=e,p=Ul(d),[g,v]=fr({prop:r,onChange:i,defaultProp:a??"",caller:lf});return l.jsx(O$,{scope:n,baseId:$n(),value:g,onValueChange:v,orientation:c,dir:p,activationMode:f,children:l.jsx(ke.div,{dir:p,"data-orientation":c,...m,ref:t})})});uP.displayName=lf;var dP="TabsList",fP=x.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,a=$y(dP,n),c=cP(n);return l.jsx(aP,{asChild:!0,...c,orientation:a.orientation,dir:a.dir,loop:r,children:l.jsx(ke.div,{role:"tablist","aria-orientation":a.orientation,...i,ref:t})})});fP.displayName=dP;var hP="TabsTrigger",mP=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...a}=e,c=$y(hP,n),d=cP(n),f=yP(c.baseId,r),m=xP(c.baseId,r),p=r===c.value;return l.jsx(lP,{asChild:!0,...d,focusable:!i,active:p,children:l.jsx(ke.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":m,"data-state":p?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:f,...a,ref:t,onMouseDown:ie(e.onMouseDown,g=>{!i&&g.button===0&&g.ctrlKey===!1?c.onValueChange(r):g.preventDefault()}),onKeyDown:ie(e.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&c.onValueChange(r)}),onFocus:ie(e.onFocus,()=>{const g=c.activationMode!=="manual";!p&&!i&&g&&c.onValueChange(r)})})})});mP.displayName=hP;var pP="TabsContent",gP=x.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:a,...c}=e,d=$y(pP,n),f=yP(d.baseId,r),m=xP(d.baseId,r),p=r===d.value,g=x.useRef(p);return x.useEffect(()=>{const v=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(v)},[]),l.jsx(_n,{present:i||p,children:({present:v})=>l.jsx(ke.div,{"data-state":p?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!v,id:m,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:g.current?"0s":void 0},children:v&&a})})});gP.displayName=pP;function yP(e,t){return`${e}-trigger-${t}`}function xP(e,t){return`${e}-content-${t}`}var D$=uP,vP=fP,wP=mP,bP=gP;const I$=D$,SP=x.forwardRef(({className:e,...t},n)=>l.jsx(vP,{ref:n,className:Se("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));SP.displayName=vP.displayName;const ho=x.forwardRef(({className:e,...t},n)=>l.jsx(wP,{ref:n,className:Se("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));ho.displayName=wP.displayName;const mo=x.forwardRef(({className:e,...t},n)=>l.jsx(bP,{ref:n,className:Se("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));mo.displayName=bP.displayName;const Wu=x.forwardRef(({className:e,...t},n)=>l.jsx("div",{className:"relative w-full overflow-auto",children:l.jsx("table",{ref:n,className:Se("w-full caption-bottom text-sm",e),...t})}));Wu.displayName="Table";const qu=x.forwardRef(({className:e,...t},n)=>l.jsx("thead",{ref:n,className:Se("[&_tr]:border-b",e),...t}));qu.displayName="TableHeader";const Ku=x.forwardRef(({className:e,...t},n)=>l.jsx("tbody",{ref:n,className:Se("[&_tr:last-child]:border-0",e),...t}));Ku.displayName="TableBody";const L$=x.forwardRef(({className:e,...t},n)=>l.jsx("tfoot",{ref:n,className:Se("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));L$.displayName="TableFooter";const si=x.forwardRef(({className:e,...t},n)=>l.jsx("tr",{ref:n,className:Se("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));si.displayName="TableRow";const Rt=x.forwardRef(({className:e,...t},n)=>l.jsx("th",{ref:n,className:Se("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}));Rt.displayName="TableHead";const At=x.forwardRef(({className:e,...t},n)=>l.jsx("td",{ref:n,className:Se("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",e),...t}));At.displayName="TableCell";const F$=x.forwardRef(({className:e,...t},n)=>l.jsx("caption",{ref:n,className:Se("mt-4 text-sm text-muted-foreground",e),...t}));F$.displayName="TableCaption";const B$=["auto","health","home","life","business","travel","motorcycle","pet"];function V$(){var K;const{t:e}
444=Ye(),t=Cg(),[n,r]=x.useState("companies"),[i,a]=x.useState({open:!1,type:"",data:null}),[c,d]=x.useState(null);x.useEffect(()=>{(async()=>{if(await Fe.auth.isAuthenticated()){const se=await Fe.auth.me();d(se),se.role!=="admin"&&(window.location.href="/")}else window.location.href="/"})()},[]);const{data:f=[],isLoading:m}=sn({queryKey:["admin-companies"],queryFn:()=>Fe.entities.InsuranceCompany.list("-created_date")}),{data:p=[],isLoading:g}=sn({queryKey:["admin-plans"],queryFn:()=>Fe.entities.InsurancePlan.list("-created_date")}),{data:v=[],isLoading:N}=sn({queryKey:["admin-leads"],queryFn:()=>Fe.entities.Lead.list("-created_date")}),{data:C=[],isLoading:b}=sn({queryKey:["admin-blog"],queryFn:()=>Fe.entities.BlogPost.list("-created_date")}),{data:S=[],isLoading:j}=sn({queryKey:["admin-faqs"],queryFn:()=>Fe.entities.FAQ.list("display_order")}),P=Zs({mutationFn:B=>Fe.entities.InsuranceCompany.create(B),onSuccess:()=>t.invalidateQueries(["admin-companies"])}),k=Zs({mutationFn:({id:B,data:J})=>Fe.entities.InsuranceCompany.update(B,J),onSuccess:()=>t.invalidateQueries(["admin-companies"])}),T=Zs({mutationFn:B=>Fe.entities.InsuranceCompany.delete(B),onSuccess:()=>t.invalidateQueries(["admin-companies"])}),A=Zs({mutationFn:B=>Fe.entities.InsurancePlan.create(B),onSuccess:()=>t.invalidateQueries(["admin-plans"])}),U=Zs({mutationFn:({id:B,data:J})=>Fe.entities.InsurancePlan.update(B,J),onSuccess:()=>t.invalidateQueries(["admin-plans"])}),F=Zs({mutationFn:B=>Fe.entities.InsurancePlan.delete(B),onSuccess:()=>t.invalidateQueries(["admin-plans"])}),L=Zs({mutationFn:({id:B,data:J})=>Fe.entities.Lead.update(B,J),onSuccess:()=>t.invalidateQueries(["admin-leads"])}),te=async()=>{const{type:B,data:J}=i;B==="company"?J.id?await k.mutateAsync({id:J.id,data:J}):await P.mutateAsync(J):B==="plan"&&(J.id?await U.mutateAsync({id:J.id,data:J}):await A.mutateAsync(J)),a({open:!1,type:"",data:null})};return!c||c.role!=="admin"?l.jsx("div",{className:"min-h-screen bg-black flex items-center justify-center",children:l.jsx(ir,{className:"w-8 h-8 animate-spin text-amber-500"})}):l.jsx("div",{className:"min-h-screen bg-black py-8",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"mb-8",children:[l.jsx("h1",{className:"text-3xl font-bold text-white",children:e("ÎιαÏείÏιÏη","Admin Panel")}),l.jsx("p",{className:"text-gray-400",children:e("ÎιαÏείÏιÏη ÏεÏιεÏομÎνοÏ
ÏλαÏÏÏÏμαÏ","Platform content management")})]}),l.jsxs(I$,{value:n,onValueChange:r,children:[l.jsxs(SP,{className:"bg-zinc-900 border border-white/10 mb-8",children:[l.jsxs(ho,{value:"companies",className:"data-[state=active]:bg-amber-500 data-[state=active]:text-black",children:[l.jsx(vi,{className:"w-4 h-4 mr-2"}),e("ÎÏαιÏείεÏ","Companies")]}),l.jsxs(ho,{value:"plans",className:"data-[state=active]:bg-amber-500 data-[state=active]:text-black",children:[l.jsx($R,{className:"w-4 h-4 mr-2"}),e("ΠακÎÏα","Plans")]}),l.jsxs(ho,{value:"leads",className:"data-[state=active]:bg-amber-500 data-[state=active]:text-black",children:[l.jsx(NS,{className:"w-4 h-4 mr-2"}),"Leads"]}),l.jsxs(ho,{value:"blog",className:"data-[state=active]:bg-amber-500 data-[state=active]:text-black",children:[l.jsx(ul,{className:"w-4 h-4 mr-2"}),"Blog"]}),l.jsxs(ho,{value:"faq",className:"data-[state=active]:bg-amber-500 data-[state=active]:text-black",children:[l.jsx(fg,{className:"w-4 h-4 mr-2"}),"FAQ"]})]}),l.jsx(mo,{value:"companies",children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsxs("div",{className:"flex justify-between items-center mb-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white",children:e("ÎÏÏαλιÏÏικÎÏ ÎÏαιÏείεÏ","Insurance Companies")}),l.jsxs(Te,{onClick:()=>a({open:!0,type:"company",data:{is_active:!0}}),className:"bg-amber-500 hover:bg-amber-600 text-black",children:[l.jsx(nw,{className:"w-4 h-4 mr-2"}),e("Î ÏοÏθήκη","Add")]})]}),m?l.jsx("div",{className:"flex justify-center py-8",children:l.jsx(ir,{className:"w-6 h-6 animate-spin text-amber-500"})}):l.jsxs(Wu,{children:[l.jsx(qu,{children:l.jsxs(si,{className:"border-white/10",children:[l.jsx(Rt,{className:"text-gray-400",children:e("Îνομα","Name")}),l.jsx(Rt,{className:"text-gray-400",children:e("ΤÏÏοι","Types")}),l.jsx(Rt,{className:"text-gray-400",children:e("ÎαÏάÏÏαÏη","Status")}),l.jsx(Rt,{className:"text-gray-400",children:e("ÎνÎÏγειεÏ","Actions")})]})}),l.jsx(Ku,{children:f.map(B=>{var J;return l.jsxs(si,{className:"border-white/5",children:[l.jsx(At,{className:"text-white font-medium",children:B.name}),l.jsx(At,{children:l.jsx("div",{className:"flex flex-wrap gap-1",children:(J=B.insurance_types)==null?void 0:J.slice(0,3).map(se=>l.jsx(kt,{variant:"outline",className:"text-xs border-white/10 text-gray-400",children:se},se))})}),l.jsx(At,{children:l.jsx(kt,{className:B.is_active?"bg-green-500/20 text-green-400":"bg-red-500/20 text-red-400",children:B.is_active?"Active":"Inactive"})}),l.jsx(At,{children:l.jsxs("div",{className:"flex gap-2",children:[l.jsx(Te,{variant:"ghost",size:"icon",onClick:()=>a({open:!0,type:"company",data:B}),className:"text-gray-400 hover:text-white",children:l.jsx(tw,{className:"w-4 h-4"})}),l.jsx(Te,{variant:"ghost",size:"icon",onClick:()=>T.mutate(B.id),className:"text-gray-400 hover:text-red-400",children:l.jsx(rw,{className:"w-4 h-4"})})]})})]},B.id)})})]})]})}),l.jsx(mo,{value:"plans",children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsxs("div",{className:"flex justify-between items-center mb-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white",children:e("ÎÏÏαλιÏÏικά ΠακÎÏα","Insurance Plans")}),l.jsxs(Te,{onClick:()=>a({open:!0,type:"plan",data:{is_active:!0,source_type:"manual"}}),className:"bg-amber-500 hover:bg-amber-600 text-black",children:[l.jsx(nw,{className:"w-4 h-4 mr-2"}),e("Î ÏοÏθήκη","Add")]})]}),g?l.jsx("div",{className:"flex justify-center py-8",children:l.jsx(ir,{className:"w-6 h-6 animate-spin text-amber-500"})}):l.jsxs(Wu,{children:[l.jsx(qu,{children:l.jsxs(si,{className:"border-white/10",children:[l.jsx(Rt,{className:"text-gray-400",children:e("ΠακÎÏο","Plan")}),l.jsx(Rt,{className:"text-gray-400",children:e("ÎÏαιÏεία","Company")}),l.jsx(Rt,{className:"text-gray-400",children:e("ΤÏÏοÏ","Type")}),l.jsx(Rt,{className:"text-gray-400",children:e("Τιμή","Price")}),l.jsx(Rt,{className:"text-gray-400",children:e("Πηγή","Source")}),l.jsx(Rt,{className:"text-gray-400",children:e("ÎνÎÏγειεÏ","Actions")})]})}),l.jsx(Ku,{children:p.map(B=>{var J;return l.jsxs(si,{className:"border-white/5",children:[l.jsx(At,{className:"text-white font-medium",children:B.name}),l.jsx(At,{className:"text-gray-400",children:((J=f.find(se=>se.id===B.company_id))==null?void 0:J.name)||"-"}),l.jsx(At,{children:l.jsx(kt,{variant:"outline",className:"border-white/10 text-gray-400",children:B.insurance_type})}),l.jsxs(At,{className:"text-white",children:["â¬",B.price_monthly||"-","/μήνα"]}),l.jsx(At,{children:l.jsx(kt,{className:"bg-zinc-800 text-gray-400",children:B.source_type})}),l.jsx(At,{children:l.jsxs("div",{className:"flex gap-2",children:[l.jsx(Te,{variant:"ghost",size:"icon",onClick:()=>a({open:!0,type:"plan",data:B}),className:"text-gray-400 hover:text-white",children:l.jsx(tw,{className:"w-4 h-4"})}),l.jsx(Te,{variant:"ghost",size:"icon",onClick:()=>F.mutate(B.id),className:"text-gray-400 hover:text-red-400",children:l.jsx(rw,{className:"w-4 h-4"})})]})})]},B.id)})})]})]})}),l.jsx(mo,{value:"leads",children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mb-6",children:"Leads"}),N?l.jsx("div",{className:"flex justify-center py-8",children:l.jsx(ir,{className:"w-6 h-6 animate-spin text-amber-500"})}):l.jsxs(Wu,{children:[l.jsx(qu,{children:l.jsxs(si,{className:"border-white/10",children:[l.jsx(Rt,{className:"text-gray-400",children:e("Îμ/νία","Date")}),l.jsx(Rt,{className:"text-gray-400",children:e("Îνομα","Name")}),l.jsx(Rt,{className:"text-gray-400",children:"Email"}),l.jsx(Rt,{className:"text-gray-400",children:e("ΤηλÎÏÏνο","Phone")}),l.jsx(Rt,{className:"text-gray-400",children:e("ΤÏÏοÏ","Type")}),l.jsx(Rt,{className:"text-gray-400",children:e("ÎαÏάÏÏαÏη","Status")})]})}),l.jsx(Ku,{children:v.map(B=>l.jsxs(si,{className:"border-white/5",children:[l.jsx(At,{className:"text-gray-400",children:B.created_date?Uy(new Date(B.created_date),"dd/MM/yy HH:mm"):"-"}),l.jsx(At,{className:"text-white font-medium",children:B.full_name}),l.jsx(At,{className:"text-gray-400",children:B.email}),l.jsx(At,{className:"text-gray-400",children:B.phone}),l.jsx(At,{children:l.jsx(kt,{variant:"outline",className:"border-white/10 text-gray-400",children:B.insurance_type})}),l.jsx(At,{children:l.jsxs(_s,{value:B.status,onValueChange:J=>L.mutate({id:B.id,data:{status:J}}),children:[l.jsx(Ar,{className:"w-32 bg-zinc-800 border-zinc-700 text-white text-xs",children:l.jsx(Rs,{})}),l.jsxs(Mr,{className:"bg-zinc-800 border-zinc-700",children:[l.jsx(Bt,{value:"new",className:"text-white",children:"New"}),l.jsx(Bt,{value:"contacted",className:"text-white",children:"Contacted"}),l.jsx(Bt,{value:"in_progress",className:"text-white",children:"In Progress"}),l.jsx(Bt,{value:"converted",className:"text-white",children:"Converted"}),l.jsx(Bt,{value:"closed",className:"text-white",children:"Closed"})]})]})})]},B.id))})]})]})}),l.jsx(mo,{value:"blog",children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mb-6",children:"Blog Posts"}),l.jsx("p",{className:"text-gray-400",children:e("ÎιαÏείÏιÏη άÏθÏÏν blog","Manage blog posts")})]})}),l.jsx(mo,{value:"faq",children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mb-6",children:"FAQ"}),l.jsx("p",{className:"text-gray-400",children:e("ÎιαÏείÏιÏη ÏÏ
ÏνÏν εÏÏÏήÏεÏν","Manage frequently asked questions")})]})})]}),l.jsx(Tp,{open:i.open,onOpenChange:B=>!B&&a({open:!1,type:"",data:null}),children:l.jsxs(ed,{className:"bg-zinc-900 border-zinc-800 max-w-2xl max-h-[90vh] overflow-y-auto",children:[l.jsx($g,{children:l.jsxs(Hg,{className:"text-white",children:[(K=i.data)!=null&&K.id?e("ÎÏεξεÏγαÏία","Edit"):e("Î ÏοÏθήκη","Add")," ",i.type==="company"?e("ÎÏαιÏείαÏ","Company"):e("ΠακÎÏοÏ
","Plan")]})}),i.type==="company"&&i.data&&l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("Îνομα (GR)","Name (GR)")}),l.jsx(pt,{value:i.data.name||"",onChange:B=>a({...i,data:{...i.data,name:B.target.value}}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("Îνομα (EN)","Name (EN)")}),l.jsx(pt,{value:i.data.name_en||"",onChange:B=>a({...i,data:{...i.data,name_en:B.target.value}}),className:"bg-zinc-800 border-zinc-700 text-white"})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:"Logo URL"}),l.jsx(pt,{value:i.data.logo_url||"",onChange:B=>a({...i,data:{...i.data,logo_url:B.target.value}}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("ΠεÏιγÏαÏή (GR)","Description (GR)")}),l.jsx(Bl,{value:i.data.description||"",onChange:B=>a({...i,data:{...i.data,description:B.target.value}}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"flex items-center justify-between",children:[l.jsx(We,{className:"text-gray-300",children:e("ÎνεÏγή","Active")}
444),l.jsx(By,{checked:i.data.is_active,onCheckedChange:B=>a({...i,data:{...i.data,is_active:B}})})]})]}),i.type==="plan"&&i.data&&l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("ÎÏαιÏεία","Company")}),l.jsxs(_s,{value:i.data.company_id||"",onValueChange:B=>a({...i,data:{...i.data,company_id:B}}),children:[l.jsx(Ar,{className:"bg-zinc-800 border-zinc-700 text-white",children:l.jsx(Rs,{placeholder:e("ÎÏιλογή...","Select...")})}),l.jsx(Mr,{className:"bg-zinc-800 border-zinc-700",children:f.map(B=>l.jsx(Bt,{value:B.id,className:"text-white",children:B.name},B.id))})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("ΤÏÏÎ¿Ï ÎÏÏάλιÏηÏ","Insurance Type")}),l.jsxs(_s,{value:i.data.insurance_type||"",onValueChange:B=>a({...i,data:{...i.data,insurance_type:B}}),children:[l.jsx(Ar,{className:"bg-zinc-800 border-zinc-700 text-white",children:l.jsx(Rs,{})}),l.jsx(Mr,{className:"bg-zinc-800 border-zinc-700",children:B$.map(B=>l.jsx(Bt,{value:B,className:"text-white",children:B},B))})]})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("Îνομα ΠακÎÏοÏ
","Plan Name")}),l.jsx(pt,{value:i.data.name||"",onChange:B=>a({...i,data:{...i.data,name:B.target.value}}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("Τιμή/Îήνα (â¬)","Price/Month (â¬)")}),l.jsx(pt,{type:"number",value:i.data.price_monthly||"",onChange:B=>a({...i,data:{...i.data,price_monthly:parseFloat(B.target.value)}}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("Τιμή/ÎÏÎ¿Ï (â¬)","Price/Year (â¬)")}),l.jsx(pt,{type:"number",value:i.data.price_annual||"",onChange:B=>a({...i,data:{...i.data,price_annual:parseFloat(B.target.value)}}),className:"bg-zinc-800 border-zinc-700 text-white"})]})]})]}),l.jsxs(BC,{children:[l.jsx(Te,{variant:"outline",onClick:()=>a({open:!1,type:"",data:null}),className:"border-white/10 text-white",children:e("ÎκÏÏÏÏη","Cancel")}),l.jsxs(Te,{onClick:te,className:"bg-amber-500 hover:bg-amber-600 text-black",children:[l.jsx(XR,{className:"w-4 h-4 mr-2"}),e("ÎÏοθήκεÏ
Ïη","Save")]})]})]})})]})})}function z$(){const{t:e}=Ye(),[t,n]=x.useState(null);x.useEffect(()=>{(async()=>{if(!await Fe.auth.isAuthenticated()){Fe.auth.redirectToLogin("/Dashboard");return}const m=await Fe.auth.me();n(m)})()},[]);const{data:r=[],isLoading:i}=sn({queryKey:["user-reports",t==null?void 0:t.email],queryFn:()=>Fe.entities.ComparisonReport.filter({created_by:t.email},"-created_date"),enabled:!!(t!=null&&t.email)});if(!t)return l.jsx("div",{className:"min-h-screen bg-black flex items-center justify-center",children:l.jsx(ir,{className:"w-8 h-8 animate-spin text-amber-500"})});const a=r.filter(d=>d.payment_status==="completed"),c=r.filter(d=>d.payment_status==="pending");return l.jsx("div",{className:"min-h-screen bg-black py-8 lg:py-12",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsxs("div",{className:"mb-8",children:[l.jsxs("h1",{className:"text-3xl font-bold text-white mb-2",children:[e("ÎαλÏÏήÏθαÏε","Welcome"),", ",t.full_name||t.email]}),l.jsx("p",{className:"text-gray-400",children:e("ÎιαÏειÏιÏÏείÏε ÏÎ¹Ï ÏÏ
γκÏίÏÎµÎ¹Ï ÎºÎ±Î¹ Ïα reports ÏαÏ","Manage your comparisons and reports")})]}),l.jsxs("div",{className:"grid sm:grid-cols-3 gap-6 mb-10",children:[l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center",children:l.jsx(Al,{className:"w-6 h-6 text-amber-400"})}),l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-bold text-white",children:r.length}),l.jsx("div",{className:"text-gray-400 text-sm",children:e("ΣÏ
νολικÎÏ ÎναζηÏήÏειÏ","Total Searches")})]})]})}),l.jsx(_e.div,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},transition:{delay:.1},className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/10 flex items-center justify-center",children:l.jsx(ul,{className:"w-6 h-6 text-green-400"})}),l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-bold text-white",children:a.length}),l.jsx("div",{className:"text-gray-400 text-sm",children:e("Full Reports","Full Reports")})]})]})}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/10 flex items-center justify-center",children:l.jsx(hg,{className:"w-6 h-6 text-blue-400"})}),l.jsxs("div",{children:[l.jsx("div",{className:"text-2xl font-bold text-white",children:c.length}),l.jsx("div",{className:"text-gray-400 text-sm",children:e("Σε Îναμονή","Pending")})]})]})})]}),l.jsxs("div",{className:"mb-10",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mb-4",children:e("ÎÏήγοÏÎµÏ ÎνÎÏγειεÏ","Quick Actions")}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:l.jsx(Ze,{to:Qe("Compare"),children:l.jsxs(Te,{className:"w-full h-auto py-4 bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:[l.jsxs("div",{className:"text-left",children:[l.jsx("div",{className:"font-semibold",children:e("ÎÎα ΣÏγκÏιÏη","New Comparison")}),l.jsx("div",{className:"text-xs opacity-70",children:e("ÎεκινήÏÏε αναζήÏηÏη","Start a search")})]}),l.jsx(kn,{className:"w-5 h-5 ml-auto"})]})})})]}),l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6",children:[l.jsx("h2",{className:"text-xl font-semibold text-white mb-6",children:e("Î ÏÏÏÏαÏα Reports","Recent Reports")}),i?l.jsx("div",{className:"flex justify-center py-8",children:l.jsx(ir,{className:"w-6 h-6 animate-spin text-amber-500"})}):r.length>0?l.jsx("div",{className:"space-y-4",children:r.slice(0,10).map(d=>l.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 p-4 bg-zinc-800/50 rounded-lg",children:[l.jsxs("div",{children:[l.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[l.jsx("span",{className:"text-white font-medium capitalize",children:d.insurance_type}),l.jsx(kt,{className:d.payment_status==="completed"?"bg-green-500/20 text-green-400":"bg-yellow-500/20 text-yellow-400",children:d.report_tier||"preview"})]}),l.jsx("div",{className:"text-gray-400 text-sm",children:d.created_date&&Uy(new Date(d.created_date),"dd/MM/yyyy HH:mm")})]}),l.jsxs("div",{className:"flex gap-2",children:[d.payment_status==="completed"&&l.jsxs(Te,{variant:"outline",size:"sm",className:"border-white/10 text-white hover:bg-white/5",children:[l.jsx(fR,{className:"w-4 h-4 mr-2"}),e("ÎήÏη","Download")]}),l.jsx(Ze,{to:Qe("Compare")+`?type=${d.insurance_type}`,children:l.jsx(Te,{variant:"outline",size:"sm",className:"border-white/10 text-white hover:bg-white/5",children:e("ÎÏανάληÏη","Repeat")})})]})]},d.id))}):l.jsxs("div",{className:"text-center py-12",children:[l.jsx(ul,{className:"w-12 h-12 text-gray-600 mx-auto mb-4"}),l.jsx("h3",{className:"text-lg font-medium text-white mb-2",children:e("Îεν Ï
ÏάÏÏοÏ
ν reports ακÏμη","No reports yet")}),l.jsx("p",{className:"text-gray-400 mb-6",children:e("ÎεκινήÏÏε μια ÏÏγκÏιÏη για να δείÏε Ïα αÏοÏελÎÏμαÏά ÏÎ±Ï ÎµÎ´Ï.","Start a comparison to see your results here.")}),l.jsx(Ze,{to:Qe("Compare"),children:l.jsx(Te,{className:"bg-amber-500 hover:bg-amber-600 text-black",children:e("Îεκίνα ΣÏγκÏιÏη","Start Comparison")})})]})]})]})})}function U$(){const{t:e}=Ye(),[t,n]=x.useState(!1),[r,i]=x.useState(!1),[a,c]=x.useState({company_name:"",contact_name:"",email:"",ph
444one:"",message:"",gdpr_consent:!1}),d=async m=>{m.preventDefault(),a.gdpr_consent&&(n(!0),await Fe.entities.Lead.create({full_name:a.contact_name,email:a.email,phone:a.phone,insurance_type:"other",description:`Partner Application - ${a.company_name}: ${a.message}`,gdpr_consent:a.gdpr_consent,source_page:"partners"}),n(!1),i(!0))},f=[{icon:sA,titleEl:"ÎÏξηÏη Î ÏλήÏεÏν",titleEn:"Increase Sales",descEl:"Î ÏÏÏβαÏη Ïε ÏÎ¹Î»Î¹Î¬Î´ÎµÏ ÎµÎ½Î´Î¹Î±ÏεÏÏμενοÏ
Ï ÏελάÏÎµÏ ÏοÏ
αναζηÏοÏν αÏÏάλιÏη.",descEn:"Access to thousands of interested customers looking for insurance."},{icon:NS,titleEl:"ΣÏοÏεÏ
μÎνα Leads",titleEn:"Targeted Leads",descEl:"ÎάβεÏε leads με ÏλήÏη ÏÏοιÏεία και ÏÏοÏιμήÏÎµÎ¹Ï ÏελαÏÏν.",descEn:"Receive leads with complete customer details and preferences."},{icon:vd,titleEl:"ÎÏκολη ÎνÏÏμάÏÏÏη",titleEn:"Easy Integration",descEl:"API, CSV feed ή manual upload - εÏιλÎξÏε Ïον ÏÏÏÏο ÏοÏ
ÏÎ±Ï ÏαιÏιάζει.",descEn:"API, CSV feed or manual upload - choose what works for you."}];return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsx("div",{className:"text-center mb-16",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-amber-500/10 rounded-full mb-6",children:[l.jsx(NR,{className:"w-4 h-4 text-amber-400"}),l.jsx("span",{className:"text-amber-400 text-sm font-medium",children:e("Î ÏÏγÏαμμα ΣÏ
νεÏγαÏÏν","Partner Program")})]}),l.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6",children:e("ÎίνεÏε ΣÏ
νεÏγάÏηÏ","Become a Partner")}),l.jsx("p",{className:"text-xl text-gray-400 max-w-2xl mx-auto",children:e("ΣÏ
νεÏγαÏÏείÏε με Ïην GLP INSURANCES και αÏοκÏήÏÏε ÏÏÏÏβαÏη Ïε ÏÎ¹Î»Î¹Î¬Î´ÎµÏ Î´Ï
νηÏικοÏÏ ÏελάÏεÏ.","Partner with GLP INSURANCES and gain access to thousands of potential customers.")})]})}),l.jsx("div",{className:"grid md:grid-cols-3 gap-8 mb-16",children:f.map((m,p)=>l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:p*.1},className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-6",children:[l.jsx("div",{className:"w-14 h-14 rounded-xl bg-amber-500/10 flex items-center justify-center mb-4",children:l.jsx(m.icon,{className:"w-7 h-7 text-amber-400"})}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e(m.titleEl,m.titleEn)}),l.jsx("p",{className:"text-gray-400",children:e(m.descEl,m.descEn)})]},p))}),l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-gradient-to-br from-zinc-900/50 to-zinc-900/30 border border-white/5 rounded-2xl p-8 mb-16",children:[l.jsx("h2",{className:"text-2xl font-bold text-white mb-8 text-center",children:e("ΤÏÏοι ΣÏ
νεÏγαÏίαÏ","Partnership Types")}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-amber-400 mb-2",children:"API"}),l.jsx("p",{className:"text-gray-400 text-sm",children:e("ΣÏνδεÏη με API για real-time ÏιμÎÏ","API connection for real-time pricing")})]}),l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-amber-400 mb-2",children:"Feed"}),l.jsx("p",{className:"text-gray-400 text-sm",children:e("CSV/JSON feed με αÏ
ÏÏμαÏη ανανÎÏÏη","CSV/JSON feed with automatic refresh")})]}),l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"text-4xl font-bold text-amber-400 mb-2",children:"Affiliate"}),l.jsx("p",{className:"text-gray-400 text-sm",children:e("ΣÏνδεÏμοι ÏαÏαÏομÏÎ®Ï Î¼Îµ tracking","Referral links with tracking")})]})]})]}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"max-w-xl mx-auto",children:r?l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8 text-center",children:[l.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/20 flex items-center justify-center mx-auto mb-4",children:l.jsx(Rl,{className:"w-8 h-8 text-green-500"})}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-2",children:e("ÎÏ
ÏαÏιÏÏοÏμε!","Thank you!")}),l.jsx("p",{className:"text-gray-400",children:e("Îάβαμε Ïην αίÏηÏή ÏαÏ. Îα εÏικοινÏνήÏοÏ
με ÏÏνÏομα.","We received your application. We will contact you soon.")})]}):l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-8",children:[l.jsx("h2",{className:"text-2xl font-bold text-white mb-6 text-center",children:e("ÎίÏηÏη ΣÏ
νεÏγαÏίαÏ","Partner Application")}),l.jsxs("form",{onSubmit:d,className:"space-y-5",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{className:"text-gray-300",children:[e("ÎÏÏνÏ
μία ÎÏαιÏείαÏ","Company Name")," *"]}),l.jsx(pt,{required:!0,value:a.company_name,onChange:m=>c({...a,company_name:m.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{className:"text-gray-300",children:[e("Î¥ÏεÏθÏ
Î½Î¿Ï ÎÏικοινÏνίαÏ","Contact Person")," *"]}),l.jsx(pt,{required:!0,value:a.contact_name,onChange:m=>c({...a,contact_name:m.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs(We,{className:"text-gray-300",children:[e("ΤηλÎÏÏνο","Phone")," *"]}
444),l.jsx(pt,{type:"tel",required:!0,value:a.phone,onChange:m=>c({...a,phone:m.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:"Email *"}),l.jsx(pt,{type:"email",required:!0,value:a.email,onChange:m=>c({...a,email:m.target.value}),className:"bg-zinc-800 border-zinc-700 text-white"})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsx(We,{className:"text-gray-300",children:e("ÎήνÏ
μα","Message")}),l.jsx(Bl,{value:a.message,onChange:m=>c({...a,message:m.target.value}),className:"bg-zinc-800 border-zinc-700 text-white min-h-[100px]",placeholder:e("ΠεÏιγÏάÏÏε Ïην εÏαιÏεία ÏÎ±Ï ÎºÎ±Î¹ Ïον ÏÏÏο ÏÏ
νεÏγαÏÎ¯Î±Ï ÏοÏ
ÏÎ±Ï ÎµÎ½Î´Î¹Î±ÏÎÏει...","Describe your company and the type of partnership you are interested in...")})]}),l.jsxs("div",{className:"flex items-start gap-3",children:[l.jsx(ji,{id:"gdpr",checked:a.gdpr_consent,onCheckedChange:m=>c({...a,gdpr_consent:m}),className:"mt-1 border-zinc-600 data-[state=checked]:bg-amber-500 data-[state=checked]:border-amber-500"}),l.jsx(We,{htmlFor:"gdpr",className:"text-sm text-gray-400 font-normal leading-relaxed",children:e("ΣÏ
μÏÏÎ½Ï Î¼Îµ Ïην εÏεξεÏγαÏία ÏÏν δεδομÎνÏν μοÏ
ÏÏμÏÏνα με Ïην ΠολιÏική ÎÏοÏÏήÏοÏ
. *","I agree to the processing of my data in accordance with the Privacy Policy. *")})]}),l.jsx(Te,{type:"submit",disabled:t||!a.gdpr_consent,className:"w-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold h-12",children:t?l.jsxs(l.Fragment,{children:[l.jsx(ir,{className:"w-4 h-4 mr-2 animate-spin"}),e("ÎÏοÏÏολή...","Sending...")]}):l.jsxs(l.Fragment,{children:[l.jsx(SS,{className:"w-4 h-4 mr-2"}),e("Î¥Ïοβολή ÎίÏηÏηÏ","Submit Application")]})})]})]})})]})})}function $$(){const{t:e}=Ye(),t=[{number:"01",icon:pS,titleEl:"ÎÏιλÎξÏε ΤÏÏο ÎÏÏάλιÏηÏ",titleEn:"Choose Insurance Type",descEl:"ÎÏιλÎξÏε Ïον ÏÏÏο αÏÏάλιÏÎ·Ï ÏοÏ
ÏÎ±Ï ÎµÎ½Î´Î¹Î±ÏÎÏει αÏÏ ÏÎ¹Ï 8 διαθÎÏÎ¹Î¼ÎµÏ ÎºÎ±ÏηγοÏίεÏ: ÎÏ
ÏοκίνηÏο, Υγεία, ÎαÏοικία, ÎÏή, ÎÏιÏείÏηÏη, Ταξίδι, ÎοÏοÏÏ
κλÎÏα ή ÎαÏοικίδιο.",descEn:"Choose the insurance type you are interested in from 8 available categories: Auto, Health, Home, Life, Business, Travel, Motorcycle or Pet."},{number:"02",icon:Al,titleEl:"ΣÏ
μÏληÏÏÏÏε Ïα ΣÏοιÏεία",titleEn:"Fill in Details",descEl:"ÎÏανÏήÏÏε Ïε μεÏικÎÏ Î±ÏλÎÏ ÎµÏÏÏήÏÎµÎ¹Ï ÏÏεÏικά με ÏÎ¹Ï Î±Î½Î¬Î³ÎºÎµÏ ÏαÏ. Î ÏÏÏμα ÏÏοÏαÏμÏζεÏαι αÏ
ÏÏμαÏα ανάλογα με Ïον ÏÏÏο αÏÏάλιÏηÏ.",descEn:"Answer a few simple questions about your needs. The form automatically adapts based on the insurance type."},{number:"03",icon:xS,titleEl:"ÎάβεÏε ÎÏοÏελÎÏμαÏα",titleEn:"Get Results",descEl:"ÎείÏε άμεÏα ενδεικÏικÎÏ ÏιμÎÏ ÎºÎ±Î¹ καλÏÏÎµÎ¹Ï Î±ÏÏ ÏÎ¹Ï ÏÏ
νεÏγαζÏÎ¼ÎµÎ½ÎµÏ Î±ÏÏαλιÏÏικÎÏ ÎµÏαιÏείεÏ. ΣÏ
γκÏίνεÏε μÎÏÏι 4 ÏακÎÏα side-by-side.",descEn:"See instant indicative prices and coverage from partner insurance companies. Compare up to 4 plans side-by-side."},{number:"04",icon:Fr,titleEl:"ÎÏιλÎξÏε ÎÏÏμενο Îήμα",titleEn:"Choose Next Step",descEl:"ÎγοÏάÏÏε αναλÏ
ÏÎ¹ÎºÏ Full Report ή ζηÏήÏÏε δÏÏεάν κλήÏη αÏÏ ÏÏμβοÏ
λο για εξαÏομικεÏ
μÎνη καθοδήγηÏη.",descEn:"Purchase a detailed Full Report or request a free callback from an advisor for personalized guidance."}],n=[{icon:vd,titleEl:"ÎÏοÏελÎÏμαÏα Ïε 2 λεÏÏά",titleEn:"Results in 2 minutes",descEl:"ÎÏήγοÏη διαδικαÏία ÏÏÏÎ¯Ï ÏεÏιÏÏά βήμαÏα",descEn:"Fast process without unnecessary steps"},{icon:wi,titleEl:"ÎξιÏÏιÏÏÎµÏ Î Î·Î³ÎÏ",titleEn:"Reliable Sources",descEl:"ÎεδομÎÎ
444½Î± αÏÏ partner feeds και APIs",descEn:"Data from partner feeds and APIs"},{icon:wS,titleEl:"GDPR ΣÏ
μμÏÏÏÏÏη",titleEn:"GDPR Compliant",descEl:"Τα δεδομÎνα ÏÎ±Ï ÎµÎ¯Î½Î±Î¹ αÏÏαλή",descEn:"Your data is secure"}];return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsx("div",{className:"text-center mb-16",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[l.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6",children:e("Î ÏÏ ÎειÏοÏ
Ïγεί","How It Works")}),l.jsx("p",{className:"text-xl text-gray-400 max-w-2xl mx-auto",children:e("4 αÏλά βήμαÏα για να βÏείÏε Ïην ιδανική αÏÏάλεια ÏÏÎ¹Ï ÎºÎ±Î»ÏÏεÏÎµÏ ÏιμÎÏ","4 simple steps to find the ideal insurance at the best prices")})]})}),l.jsxs("div",{className:"relative mb-20",children:[l.jsx("div",{className:"hidden lg:block absolute left-1/2 top-0 bottom-0 w-px bg-gradient-to-b from-amber-500/50 via-amber-500/20 to-transparent"}),l.jsx("div",{className:"space-y-12 lg:space-y-0",children:t.map((r,i)=>l.jsxs(_e.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:i*.1},className:`relative lg:flex items-center ${i%2===0?"lg:flex-row":"lg:flex-row-reverse"} lg:mb-16`,children:[l.jsx("div",{className:`lg:w-1/2 ${i%2===0?"lg:pr-16 lg:text-right":"lg:pl-16"}`,children:l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-2xl p-6 lg:p-8",children:[l.jsxs("div",{className:`flex items-center gap-4 mb-4 ${i%2===0?"lg:justify-end":""}`,children:[l.jsx("div",{className:"w-14 h-14 rounded-xl bg-amber-500/10 flex items-center justify-center",children:l.jsx(r.icon,{className:"w-7 h-7 text-amber-400"})}),l.jsx("div",{className:"lg:hidden",children:l.jsx("span",{className:"text-amber-400 font-bold text-2xl",children:r.number})})]}),l.jsx("h3",{className:"text-xl font-semibold text-white mb-3",children:e(r.titleEl,r.titleEn)}),l.jsx("p",{className:"text-gray-400 leading-relaxed",children:e(r.descEl,r.descEn)})]})}),l.jsx("div",{className:"hidden lg:flex absolute left-1/2 -translate-x-1/2 w-16 h-16 rounded-full bg-gradient-to-br from-amber-500 to-amber-600 items-center justify-center z-10",children:l.jsx("span",{className:"text-black font-bold text-xl",children:r.number})}),l.jsx("div",{className:"lg:w-1/2"})]},i))})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-16",children:n.map((r,i)=>l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5+i*.1},className:"bg-zinc-900/50 border border-white/5 rounded-xl p-6 text-center",children:[l.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center mx-auto mb-4",children:l.jsx(r.icon,{className:"w-6 h-6 text-amber-400"})}),l.jsx("h3",{className:"text-lg font-semibold text-white mb-2",children:e(r.titleEl,r.titleEn)}),l.jsx("p",{className:"text-gray-400 text-sm",children:e(r.descEl,r.descEn)})]},i))}),l.jsx(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"text-center",children:l.jsx(Ze,{to:Qe("Compare"),children:l.jsxs(Te,{size:"lg",className:"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold text-lg px-10 h-14",children:[e("Îεκίνα ΤÏÏα","Start Now"),l.jsx(kn,{className:"w-5 h-5 ml-2"})]})})})]})})}function H$(){const{t:e}=Ye(),t=[{name:{el:"Preview",en:"Preview"},price:e("ÎÏÏεάν","Free"),priceNumber:0,popular:!1,description:{el:"ÎαÏική ÏÏοβολή αÏοÏελεÏμάÏÏν",en:"Basic results preview"},features:{el:['ÎνδεικÏικÎÏ ÏιμÎÏ "αÏÏ"',"ÎαÏικÎÏ ÎºÎ±Î»ÏÏÎµÎ¹Ï (2-3 bullets)","ÎÏÏ 10 αÏοÏελÎÏμαÏα","ΣÏγκÏιÏη side-by-side"],en:['Indicative "from" prices',"Basic coverage (2-3 bullets)","Up to 10 results","Side-by-side comparison"]},notIncluded:{el:["ÎναλÏ
ÏικÎÏ ÎµÎ¾Î±Î¹ÏÎÏειÏ","Value score","PDF export"],en:["Detailed exclusions","Value score","PDF export"]}},{name:{el:"Basic Report",en:"Basic Report"},price:"4,90â¬",priceNumber:4.9,popular:!1,description:{el:"ÎναλÏ
ÏικÏÏ ÏÎ¯Î½Î±ÎºÎ±Ï ÏιμÏν",en:"Detailed price table"},features:{el:["ΠλήÏÎ·Ï ÏÎ¯Î½Î±ÎºÎ±Ï ÏιμÏν","ÎναλÏ
ÏικÎÏ ÎºÎ±Î»ÏÏειÏ","Top 5 εÏιλογÎÏ","ÎξαγÏγή PDF","ÎαÏικÎÏ ÎµÎ¾Î±Î¹ÏÎÏειÏ"],en:["Complete price table","Detailed coverage","Top 5 options","PDF export","Basic exclusions"]}},{name:{el:"Pro Report",en:"Pro Report"},price:"9,90â¬",priceNumber:9.9,popular:!0,description:{el:"ΠλήÏÎ·Ï Î±Î½Î¬Î»Ï
Ïη & ÏÏÏÏαÏη",en:"Full analysis & recommendation"},features:{el:["Îλα Ïα Basic +","ΠλήÏÎ·Ï Î±Î½Î¬Î»Ï
Ïη καλÏÏεÏν","ÎναλÏ
ÏικÎÏ ÎµÎ¾Î±Î¹ÏÎÏειÏ",'Score "Value for Money"',"ÎξαÏομικεÏ
μÎνη ÏÏÏÏαÏη","ΣÏγκÏιÏη μÎÏÏι 10 ÏακÎÏÏν","Email Ï
ÏοÏÏήÏιξη"],en:["All Basic +","Full coverage analysis","Detailed exclusions",'"Value for Money" score',"Personalized recommendation","Compare up to 10 plans","Email support"]}},{name:{el:"Premium Report",en:"Premium Report"},price:"14,90â¬",priceNumber:14.9,popular:!1,description:{el:"2Î
444· γνÏμη & εναλλακÏικά",en:"2nd opinion & alternatives"},features:{el:["Îλα Ïα Pro +","2η γνÏμη / εναλλακÏικά ÏενάÏια","ÎνάλÏ
Ïη ÏαμηλÏÏεÏÎ·Ï Î±ÏαλλαγήÏ","ΣÏ
γκÏιÏικά ÏενάÏια","Î ÏοÏεÏαιÏÏηÏα Ï
ÏοÏÏήÏιξηÏ","Email ÏÏνοÏη report","ΤηλεÏÏνική Ï
ÏοÏÏήÏιξη"],en:["All Pro +","2nd opinion / alternative scenarios","Lower deductible analysis","Comparative scenarios","Priority support","Report summary email","Phone support"]}}],n=[{q:{el:"Τι είναι Ïο Preview;",en:"What is Preview?"},a:{el:"Το Preview είναι δÏÏεάν και ÏÎ±Ï Î´ÎµÎ¯Ïνει βαÏικÎÏ ÏληÏοÏοÏÎ¯ÎµÏ Î³Î¹Î± κάθε ÏακÎÏο. Îια ÏλήÏη ανάλÏ
Ïη ÏÏειάζεÏÏε Report.",en:"Preview is free and shows you basic information for each plan. For full analysis you need a Report."}},{q:{el:"Î ÏÏ ÏληÏÏνÏ;",en:"How do I pay?"},a:{el:"Îι ÏληÏÏμÎÏ Î³Î¯Î½Î¿Î½Ïαι μÎÏÏ PayPal. ÎεÏά Ïην ολοκλήÏÏÏη λαμβάνεÏε άμεÏα Ïο report.",en:"Payments are made via PayPal. After completion you immediately receive the report."}},{q:{el:"Î¥ÏάÏÏει εγγÏηÏη εÏιÏÏÏοÏήÏ;",en:"Is there a refund guarantee?"},a:{el:"Îαι, εάν δεν είÏÏε ικανοÏοιημÎνοι, εÏικοινÏνήÏÏε ενÏÏÏ 7 ημεÏÏν.",en:"Yes, if you are not satisfied, contact us within 7 days."}}];return l.jsx("div",{className:"min-h-screen bg-black py-12 lg:py-16",children:l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[l.jsx("div",{className:"text-center mb-16",children:l.jsxs(_e.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-amber-500/10 rounded-full mb-6",children:[l.jsx(vd,{className:"w-4 h-4 text-amber-400"}),l.jsx("span",{className:"text-amber-400 text-sm font-medium",children:e("ÎÏλή ΤιμολÏγηÏη","Simple Pricing")})]}),l.jsx("h1",{className:"text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-6",children:e("ΤιμοκαÏάλογοÏ","Pricing")}),l.jsx("p",{className:"text-xl text-gray-400 max-w-2xl mx-auto",children:e("ÎÏÏεάν preview + ÏληÏÏμÎνα reports για ÏÏοÏ
Ï Î¸ÎλοÏ
ν ÏλήÏη ανάλÏ
Ïη","Free preview + paid reports for those who want full analysis")})]})}),l.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-20",children:t.map((r,i)=>l.jsxs(_e.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:i*.1},className:`relative rounded-2xl overflow-hidden ${r.popular?"bg-gradient-to-br from-amber-500/10 to-amber-600/5 border-2 border-amber-500/30":"bg-zinc-900/50 border border-white/5"}`,children:[r.popular&&l.jsxs("div",{className:"absolute top-0 left-0 right-0 bg-gradient-to-r from-amber-500 to-amber-600 text-black text-xs font-semibold py-1.5 text-center",children:[l.jsx(Oo,{className:"w-3 h-3 inline-block mr-1"}),e("Î ÎÎ ÎÎÎÎΦÎÎÎΣ","MOST POPULAR")]}),l.jsxs("div",{className:`p-6 ${r.popular?"pt-10":""}`,children:[l.jsx("h3",{className:"text-xl font-semibold text-white mb-1",children:e(r.name.el,r.name.en)}),l.jsx("p",{className:"text-gray-500 text-sm mb-4",children:e(r.description.el,r.description.en)}),l.jsxs("div",{className:"mb-6",children:[l.jsx("span",{className:"text-3xl font-bold text-white",children:r.price}),r.priceNumber>0&&l.jsx("span",{className:"text-gray-500 text-sm ml-1",children:e("/ ÎÏεÏ
να","/ research")})]}),l.jsx("ul",{className:"space-y-3 mb-6",children:(e(r.features.el,r.features.en)||r.features.el).map((a,c)=>l.jsxs("li",{className:"flex items-start gap-3",children:[l.jsx(Lr,{className:`w-5 h-5 flex-shrink-0 mt-0.5 ${r.popular?"text-amber-400":"text-green-400"}`}),l.jsx("span",{className:"text-gray-300 text-sm",children:a})]},c))}),l.jsx(Ze,{to:Qe("Compare"),children:l.jsx(Te,{className:`w-full ${r.popular?"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold":(r.priceNumber===0,"bg-white/10 hover:bg-white/15 text-white")}`,children:r.priceNumber===0?e("Îεκίνα ÎÏÏεάν","Start Free"):e("ÎÏιλογή","Select")})})]})]},i))}),l.jsxs(_e.div,{initial:{opacity:0,y:20}
444,animate:{opacity:1,y:0},className:"max-w-3xl mx-auto",children:[l.jsxs("h2",{className:"text-2xl font-bold text-white text-center mb-8 flex items-center justify-center gap-2",children:[l.jsx(fg,{className:"w-6 h-6 text-amber-400"}),e("ΣÏ
ÏνÎÏ ÎÏÏÏήÏÎµÎ¹Ï Î¤Î¹Î¼Î¿Î»ÏγηÏηÏ","Pricing FAQs")]}),l.jsx("div",{className:"space-y-4",children:n.map((r,i)=>l.jsxs("div",{className:"bg-zinc-900/50 border border-white/5 rounded-xl p-5",children:[l.jsx("h3",{className:"font-semibold text-white mb-2",children:e(r.q.el,r.q.en)}),l.jsx("p",{className:"text-gray-400 text-sm",children:e(r.a.el,r.a.en)})]},i))})]})]})})}const W$=DC,q$=N5,K$=IC,NP=x.forwardRef(({className:e,...t},n)=>l.jsx(Id,{className:Se("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));NP.displayName=Id.displayName;const G$=_l("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),CP=x.forwardRef(({side:e="right",className:t,children:n,...r},i)=>l.jsxs(K$,{children:[l.jsx(NP,{}),l.jsxs(Ld,{ref:i,className:Se(G$({side:e}),t),...r,children:[l.jsxs(LC,{className:"absolute right-4 top-4 roun
444ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[l.jsx(xg,{className:"h-4 w-4"}),l.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));CP.displayName=Ld.displayName;const Q$=x.forwardRef(({className:e,...t},n)=>l.jsx(Fd,{ref:n,className:Se("text-lg font-semibold text-foreground",e),...t}));Q$.displayName=Fd.displayName;const Y$=x.forwardRef(({className:e,...t},n)=>l.jsx(Bd,{ref:n,className:Se("text-sm text-muted-foreground",e),...t}));Y$.displayName=Bd.displayName;var og=["Enter"," "],X$=["ArrowDown","PageUp","Home"],jP=["ArrowUp","PageDown","End"],J$=[...X$,...jP],Z$={ltr:[...og,"ArrowRight"],rtl:[...og,"ArrowLeft"]},e7={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Xl="Menu",[Nl,t7,n7]=Vd(Xl),[Oi,EP]=Tn(Xl,[n7,Xo,af]),cf=Xo(),kP=af(),[r7,Di]=Oi(Xl),[s7,Jl]=Oi(Xl),PP=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:c=!0}=e,d=cf(t),[f,m]=x.useState(null),p=x.useRef(!1),g=hr(a),v=Ul(i);return x.useEffect(()=>{const N=()=>{p.current=!0,document.addEventListener("pointerdown",C,{capture:!0,once:!0}),document.addEventListener("pointermove",C,{capture:!0,once:!0})},C=()=>p.current=!1;return document.addEventListener("keydown",N,{capture:!0}),()=>{document.removeEventListener("keydown",N,{capture:!0}),document.removeEventListener("pointerdown",C,{capture:!0}),document.removeEventListener("pointermove",C,{capture:!0})}},[]),l.jsx(Zg,{...d,children:l.jsx(r7,{scope:t,open:n,onOpenChange:g,content:f,onContentChange:m,children:l.jsx(s7,{scope:t,onClose:x.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:p,dir:v,modal:c,children:r})})})};PP.displayName=Xl;var i7="MenuAnchor",Hy=x.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=cf(n);return l.jsx(ey,{...i,...r,ref:t})});Hy.displayName=i7;var Wy="MenuPortal",[o7,TP]=Oi(Wy,{forceMount:void 0}),_P=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=Di(Wy,t);return l.jsx(o7,{scope:t,forceMount:n,children:l.jsx(_n,{present:n||a.open,children:l.jsx(zl,{asChild:!0,container:i,children:r})})})};_P.displayName=Wy;var Pn="MenuContent",[a7,qy]=Oi(Pn),RP=x.forwardRef((e,t)=>{const n=TP(Pn,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Di(Pn,e.__scopeMenu),c=Jl(Pn,e.__scopeMenu);return l.jsx(Nl.Provider,{scope:e.__scopeMenu,children:l.jsx(_n,{present:r||a.open,children:l.jsx(Nl.Slot,{scope:e.__scopeMenu,children:c.modal?l.jsx(l7,{...i,ref:t}):l.jsx(c7,{...i,ref:t})})})})}),l7=x.forwardRef((e,t)=>{const n=Di(Pn,e.__scopeMenu),r=x.useRef(null),i=Ie(t,r);return x.useEffect(()=>{const a=r.current;if(a)return Bg(a)},[]),l.jsx(Ky,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ie(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),c7=x.forwardRef((e,t)=>{const n=Di(Pn,e.__scopeMenu);return l.jsx(Ky,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),u7=Ci("MenuContent.ScrollLock"),Ky=x.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:c,disableOutsidePointerEvents:d,onEntryFocus:f,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:v,onDismiss:N,disableOutsideScroll:C,...b}=e,S=Di(Pn,n),j=Jl(Pn,n),P=cf(n),k=kP(n),T=t7(n),[A,U]=x.useState(null),F=x.useRef(null),L=Ie(t,F,S.onContentChange),te=x.useRef(0),K=x.useRef(""),B=x.useRef(0),J=x.useRef(null),se=x.useRef("right"),le=x.useRef(0),ve=C?Od:x.Fragment,G=C?{as:u7,allowPinchZoom:!0}:void 0,ne=W=>{var Z,ge;const Y=K.current+W,O=T().filter(we=>!we.disabled),q=document.activeElement,ce=(Z=O.find(we=>we.ref.current===q))==null?void 0:Z.textValue,ue=O.map(we=>we.textValue),je=S7(ue,Y,ce),Pe=(ge=O.find(we=>we.textValue===je))==null?void 0:ge.ref.current;(function we(Re){K.current=Re,window.clearTimeout(te.current),Re!==""&&(te.current=window.setTimeout(()=>we(""),1e3))})(Y),Pe&&setTimeout(()=>Pe.focus())};x.useEffect(()=>()=>window.clearTimeout(te.current),[]),Fg();const D=x.useCallback(W=>{var O,q;return se.current===((O=J.current)==null?void 0:O.side)&&C7(W,(q=J.current)==null?void 0:q.area)},[]);return l.jsx(a7,{scope:n,searchRef:K,onItemEnter:x.useCallback(W=>{D(W)&&W.preventDefault()},[D]),onItemLeave:x.useCallback(W=>{var Y;D(W)||((Y=F.current)==null||Y.focus(),U(null))},[D]),onTriggerLeave:x.useCallback(W=>{D(W)&&W.preventDefault()},[D]),pointerGraceTimerRef:B,onPointerGraceIntentChange:x.useCallback(W=>{J.current=W},[]),children:l.jsx(ve,{...G,children:l.jsx(Ad,{asChild:!0,trapped:i,onMountAutoFocus:ie(a,W=>{var Y;W.preventDefault(),(Y=F.current)==null||Y.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:l.jsx(Vl,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:v,onDismiss:N,children:l.jsx(aP,{asChild:!0,...k,dir:j.dir,orientation:"vertical",loop:r,currentTabStopId:A,onCurrentTabStopIdChange:U,onEntryFocus:ie(f,W=>{j.isUsingKeyboardRef.current||W.preventDefault()}),preventScrollOnEntryFocus:!0,children:l.jsx(ty,{role:"menu","aria-orientation":"vertical","data-state":KP(S.open
vendor: 9,655 bytes, line 444
444),"data-radix-menu-content":"",dir:j.dir,...P,...b,ref:L,style:{outline:"none",...b.style},onKeyDown:ie(b.onKeyDown,W=>{const O=W.target.closest("[data-radix-menu-content]")===W.currentTarget,q=W.ctrlKey||W.altKey||W.metaKey,ce=W.key.length===1;O&&(W.key==="Tab"&&W.preventDefault(),!q&&ce&&ne(W.key));const ue=F.current;if(W.target!==ue||!J$.includes(W.key))return;W.preventDefault();const Pe=T().filter(Z=>!Z.disabled).map(Z=>Z.ref.current);jP.includes(W.key)&&Pe.reverse(),w7(Pe)}),onBlur:ie(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(te.current),K.current="")}),onPointerMove:ie(e.onPointerMove,Cl(W=>{const Y=W.target,O=le.current!==W.clientX;if(W.currentTarget.contains(Y)&&O){const q=W.clientX>le.current?"right":"left";se.current=q,le.current=W.clientX}}))})})})})})})});RP.displayName=Pn;var d7="MenuGroup",Gy=x.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ke.div,{role:"group",...r,ref:t})});Gy.displayName=d7;var f7="MenuLabel",AP=x.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ke.div,{...r,ref:t})});AP.displayName=f7;var gd="MenuItem",Y1="menu.itemSelect",uf=x.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=x.useRef(null),c=Jl(gd,e.__scopeMenu),d=qy(gd,e.__scopeMenu),f=Ie(t,a),m=x.useRef(!1),p=()=>{const g=a.current;if(!n&&g){const v=new CustomEvent(Y1,{bubbles:!0,cancelable:!0});g.addEventListener(Y1,N=>r==null?void 0:r(N),{once:!0}),JN(g,v),v.defaultPrevented?m.current=!1:c.onClose()}};return l.jsx(MP,{...i,ref:f,disabled:n,onClick:ie(e.onClick,p),onPointerDown:g=>{var v;(v=e.onPointerDown)==null||v.call(e,g),m.current=!0},onPointerUp:ie(e.onPointerUp,g=>{var v;m.current||(v=g.currentTarget)==null||v.click()}),onKeyDown:ie(e.onKeyDown,g=>{const v=d.searchRef.current!=="";n||v&&g.key===" "||og.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});uf.displayName=gd;var MP=x.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,c=qy(gd,n),d=kP(n),f=x.useRef(null),m=Ie(t,f),[p,g]=x.useState(!1),[v,N]=x.useState("");return x.useEffect(()=>{const C=f.current;C&&N((C.textContent??"").trim())},[a.children]),l.jsx(Nl.ItemSlot,{scope:n,disabled:r,textValue:i??v,children:l.jsx(lP,{asChild:!0,...d,focusable:!r,children:l.jsx(ke.div,{role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:m,onPointerMove:ie(e.onPointerMove,Cl(C=>{r?c.onItemLeave(C):(c.onItemEnter(C),C.defaultPrevented||C.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ie(e.onPointerLeave,Cl(C=>c.onItemLeave(C))),onFocus:ie(e.onFocus,()=>g(!0)),onBlur:ie(e.onBlur,()=>g(!1))})})})}),h7="MenuCheckboxItem",OP=x.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return l.jsx(BP,{scope:e.__scopeMenu,checked:n,children:l.jsx(uf,{role:"menuitemcheckbox","aria-checked":yd(n)?"mixed":n,...i,ref:t,"data-state":Yy(n),onSelect:ie(i.onSelect,()=>r==null?void 0:r(yd(n)?!0:!n),{checkForDefaultPrevented:!1})})})});OP.displayName=h7;var DP="MenuRadioGroup",[m7,p7]=Oi(DP,{value:void 0,onValueChange:()=>{}}),IP=x.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=hr(r);return l.jsx(m7,{scope:e.__scopeMenu,value:n,onValueChange:a,children:l.jsx(Gy,{...i,ref:t})})});IP.displayName=DP;var LP="MenuRadioItem",FP=x.forwardRef((e,t)=>{const{value:n,...r}=e,i=p7(LP,e.__scopeMenu),a=n===i.value;return l.jsx(BP,{scope:e.__scopeMenu,checked:a,children:l.jsx(uf,{role:"menuitemradio","aria-checked":a,...r,ref:t,"data-state":Yy(a),onSelect:ie(r.onSelect,()=>{var c;return(c=i.onValueChange)==null?void 0:c.call(i,n)},{checkForDefaultPrevented:!1})})})});FP.displayName=LP;var Qy="MenuItemIndicator",[BP,g7]=Oi(Qy,{checked:!1}),VP=x.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=g7(Qy,n);return l.jsx(_n,{present:r||yd(a.checked)||a.checked===!0,children:l.jsx(ke.span,{...i,ref:t,"data-state":Yy(a.checked)})})});VP.displayName=Qy;var y7="MenuSeparator",zP=x.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return l.jsx(ke.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});zP.displayName=y7;var x7="MenuArrow",UP=x.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=cf(n);return l.jsx(ny,{...i,...r,ref:t})});UP.displayName=x7;var v7="MenuSub",[G9,$P]=Oi(v7),rl="MenuSubTrigger",HP=x.forwardRef((e,t)=>{const n=Di(rl,e.__scopeMenu),r=Jl(rl,e.__scopeMenu),i=$P(rl,e.__scopeMenu),a=qy(rl,e.__scopeMenu),c=x.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=a,m={__scopeMenu:e.__scopeMenu},p=x.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return x.useEffect(()=>p,[p]),x.useEffect(()=>{const g=d.current;return()=>{window.clearTimeout(g),f(null)}},[d,f]),l.jsx(Hy,{asChild:!0,...m,children:l.jsx(MP,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":KP(n.open),...e,ref:Pd(t,i.onTriggerChange),onClick:g=>{var v;(v=e.onClick)==null||v.call(e,g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ie(e.onPointerMove,Cl(g=>{a.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!n.open&&!c.current&&(a.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:ie(e.onPointerLeave,Cl(g=>{var N,C;p();const v=(N=n.content)==null?void 0:N.getBoundingClientRect();if(v){const b=(C=n.content)==null?void 0:C.dataset.side,S=b==="right",j=S?-5:5,P=v[S?"left":"right"],k=v[S?"right":"left"];a.onPointerGraceIntentChange({area:[{x:g.clientX+j,y:g.clientY},{x:P,y:v.top},{x:k,y:v.top},{x:k,y:v.bottom},{x:P,y:v.bottom}],side:b}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(g),g.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:ie(e.onKeyDown,g=>{var N;const v=a.searchRef.current!=="";e.disabled||v&&g.key===" "||Z$[r.dir].includes(g.key)&&(n.onOpenChange(!0),(N=n.content)==null||N.focus(),g.preventDefault())})})})});HP.displayName=rl;var WP="MenuSubContent",qP=x.forwardRef((e,t)=>{const n=TP(Pn,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Di(Pn,e.__scopeMenu),c=Jl(Pn,e.__scopeMenu),d=$P(WP,e.__scopeMenu),f=x.useRef(null),m=Ie(t,f);return l.jsx(Nl.Provider,{scope:e.__scopeMenu,children:l.jsx(_n,{present:r||a.open,children:l.jsx(Nl.Slot,{scope:e.__scopeMenu,children:l.jsx(Ky,{id:d.contentId,"aria-labelledby":d.triggerId,...i,ref:m,align:"start",side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var g;c.isUsingKeyboardRef.current&&((g=f.current)==null||g.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:ie(e.onFocusOutside,p=>{p.target!==d.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:ie(e.onEscapeKeyDown,p=>{c.onClose(),p.preventDefault()}),onKeyDown:ie(e.onKeyDown,p=>{var N;const g=p.currentTarget.contains(p.target),v=e7[c.dir].includes(p.key);g&&v&&(a.onOpenChange(!1),(N=d.trigger)==null||N.focus(),p.preventDefault())})})})})})});qP.displayName=WP;function KP(e){return e?"open":"closed"}function yd(e){return e==="indeterminate"}function Yy(e){return yd(e)?"indeterminate":e?"checked":"unchecked"}function w7(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function b7(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function S7(e,t,n){const i=t.length>1&&Array.from(t).every(m=>m===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let c=b7(e,Math.max(a,0));i.length===1&&(c=c.filter(m=>m!==n));const f=c.find(m=>m.toLowerCase().startsWith(i.toLowerCase()));return f!==n?f:void 0}function N7(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,c=t.length-1;a<t.length;c=a++){const d=t[a],f=t[c],m=d.x,p=d.y,g=f.x,v=f.y;p>r!=v>r&&n<(g-m)*(r-p)/(v-p)+m&&(i=!i)}return i}function C7(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return N7(n,t)}function Cl(e){return t=>t.pointerType==="mouse"?e(t):void 0}var j7=PP,E7=Hy,k7=_P,P7=RP,T7=Gy,_7=AP,R7=uf,A7=OP,M7=IP,O7=FP,D7=VP,I7=zP,L7=UP,F7=HP,B7=qP,df="DropdownMenu",[V7]=Tn(df,[EP]),Gt=EP(),[z7,GP]=V7(df),QP=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:c,modal:d=!0}=e,f=Gt(t),m=x.useRef(null),[p,g]=fr({prop:i,defaultProp:a??!1,onChange:c,caller:df});return l.jsx(z7,{scope:t,triggerId:$n(),triggerRef:m,contentId:$n(),open:p,onOpenChange:g,onOpenToggle:x.useCallback(()=>g(v=>!v),[g]),modal:d,children:l.jsx(j7,{...f,open:p,onOpenChange:g,dir:r,modal:d,children:n})})};QP.displayName=df;var YP="DropdownMenuTrigger",XP=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=GP(YP,n),c=Gt(n);return l.jsx(E7,{asChild:!0,...c,children:l.jsx(ke.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:Pd(t,a.triggerRef),onPointerDown:ie(e.onPointerDown,d=>{!r&&d.button===0&&d.ctrlKey===!1&&(a.onOpenToggle(),a.open||d.preventDefault())}),onKeyDown:ie(e.onKeyDown,d=>{r||(["Enter"," "].includes(d.key)&&a.onOpenToggle(),d.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(d.key)&&d.preventDefault())})})})});XP.displayName=YP;var U7="DropdownMenuPortal",JP=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Gt(t);return l.jsx(k7,{...r,...n})};JP.displayName=U7;var ZP="DropdownMenuContent",e2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=GP(ZP,n),a=Gt(n),c=x.useRef(!1);return l.jsx(P7,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:ie(e.onCloseAutoFocus,d=>{var f;
444c.current||(f=i.triggerRef.current)==null||f.focus(),c.current=!1,d.preventDefault()}),onInteractOutside:ie(e.onInteractOutside,d=>{const f=d.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0,p=f.button===2||m;(!i.modal||p)&&(c.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)"}})});e2.displayName=ZP;var $7="DropdownMenuGroup",H7=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(T7,{...i,...r,ref:t})});H7.displayName=$7;var W7="DropdownMenuLabel",t2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(_7,{...i,...r,ref:t})});t2.displayName=W7;var q7="DropdownMenuItem",n2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(R7,{...i,...r,ref:t})});n2.displayName=q7;var K7="DropdownMenuCheckboxItem",r2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(A7,{...i,...r,ref:t})});r2.displayName=K7;var G7="DropdownMenuRadioGroup",Q7=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(M7,{...i,...r,ref:t})});Q7.displayName=G7;var Y7="DropdownMenuRadioItem",s2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(O7,{...i,...r,ref:t})});s2.displayName=Y7;var X7="DropdownMenuItemIndicator",i2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(D7,{...i,...r,ref:t})});i2.displayName=X7;var J7="DropdownMenuSeparator",o2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(I7,{...i,...r,ref:t})});o2.displayName=J7;var Z7="DropdownMenuArrow",e9=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(L7,{...i,...r,ref:t})});e9.displayName=Z7;var t9="DropdownMenuSubTrigger",a2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(F7,{...i,...r,ref:t})});a2.displayName=t9;var n9="DropdownMenuSubContent",l2=x.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Gt(n);return l.jsx(B7,{...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)"}})});l2.displayName=n9;var r9=QP,s9=XP,i9=JP,c2=e2,u2=t2,d2=n2,f2=r2,h2=s2,m2=i2,p2=o2,g2=a2,y2=l2;const o9=r9,a9=s9,l9=x.forwardRef(({className:e,inset:t,children:n,...r},i)=>l.jsxs(g2,{ref:i,className:Se("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,l.jsx(Y_,{className:"ml-auto"})]}));l9.displayName=g2.displayName;const c9=x.forwardRef(({className:e,...t},n)=>l.jsx(y2,{ref:n,className:Se("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}));c9.displayName=y2.displayName;const x2=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(i9,{children:l.jsx(c2,{ref:r,sideOffset:t,className:Se("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]:sli
444de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));x2.displayName=c2.displayName;const Gu=x.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(d2,{ref:r,className:Se("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}));Gu.displayName=d2.displayName;const u9=x.forwardRef(({className:e,children:t,checked:n,...r},i)=>l.jsxs(f2,{ref:i,className:Se("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:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(m2,{children:l.jsx(Lr,{className:"h-4 w-4"})})}),t]}));u9.displayName=f2.displayName;const d9=x.forwardRef(({className:e,children:t,...n},r)=>l.jsxs(h2,{ref:r,className:Se("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:[l.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:l.jsx(m2,{children:l.jsx(sR,{className:"h-2 w-2 fill-current"})})}),t]}));d9.displayName=h2.displayName;const f9=x.forwardRef(({className:e,inset:t,...n},r)=>l.jsx(u2,{ref:r,className:Se("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));f9.displayName=u2.displayName;const h9=x.forwardRef(({className:e,...t},n)=>l.jsx(p2,{ref:n,className:Se("-mx-1 my-1 h-px bg-muted",e),...t}));h9.displayName=p2.displayName;function m9({user:e}){const{language:t,toggleLanguage:n,t:r}=Ye(),[i,a]=x.useState(!1),c=[{label:r("ÎÏÏική","Home"),href:"Home"},{label:r("ΣÏγκÏιÏη","Compare"),href:"Compare"},{label:r("ÎÏαιÏείεÏ","Companies"),href:"Companies"},{label:r("ΠακÎÏα & ÎαλÏÏειÏ","Plans & Coverage"),href:"Coverage"},{label:r("Blog","Blog"),href:"Blog"},{label:r("FAQ","FAQ"),href:"FAQ"},{label:r("ÎÏικοινÏνία","Contact"),href:"Contact"}];return l.jsx("header",{className:"sticky top-0 z-50 bg-black/95 backdrop-blur-md border-b border-white/10",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:l.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[l.jsxs(Ze,{to:Qe("Home"),className:"flex items-center gap-2",children:[l.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/694c6befaf9cde1683ade5e5/38dd73fdd_GLPINSURANCES.png",alt:"GLP INSURANCES Logo",className:"h-12 w-auto"}),l.jsxs("div",{className:"hidden sm:block",children:[l.jsx("span",{className:"text-white font-semibold text-lg tracking-tight",children:"GLP"}),l.jsx("span",{className:"text-amber-400 font-light text-lg ml-1",children:"INSURANCES"})]})]}),l.jsx("nav",{className:"hidden lg:flex items-center gap-1",children:c.map(d=>l.jsx(Ze,{to:Qe(d.href),className:"px-3 py-2 text-sm text-gray-300 hover:text-white transition-colors rounded-lg hover:bg-white/5",children:d.label},d.href))}),l.jsxs("div",{className:"flex items-center gap-2 sm:gap-4",children:[l.jsxs("button",{onClick:n,className:"flex items-center gap-1 px-2 py-1.5 text-sm text-gray-300 hover:text-white transition-colors rounded-lg hover:bg-white/5",children:[l.jsx(vS,{className:"w-4 h-4"}),l.jsx("span",{className:"uppercase font-medium",children:t})]}),e?l.jsxs(o9,{children:[l.jsx(a9,{asChild:!0,children:l.jsxs(Te,{variant:"ghost",size:"sm",className:"text-gray-300 hover:text-white hover:bg-white/5",children:[l.jsx(Qm,{className:"w-4 h-4 mr-2"}),l.jsx("span",{className:"hidden sm:inline",children:e.full_name||e.email}),l.jsx(xd,{className:"w-4 h-4 ml-1"})]})}),l.jsxs(x2,{align:"end",className:"bg-zinc-900 border-zinc-800",children:[l.jsx(Gu,{asChild:!0,children:l.jsx(Ze,{to:Qe("Dashboard"),
444className:"text-gray-300 hover:text-white",children:r("Î Î¯Î½Î±ÎºÎ±Ï ÎλÎγÏοÏ
","Dashboard")})}),e.role==="admin"&&l.jsx(Gu,{asChild:!0,children:l.jsx(Ze,{to:Qe("Admin"),className:"text-gray-300 hover:text-white",children:r("ÎιαÏείÏιÏη","Admin")})}),l.jsx(Gu,{onClick:()=>Fe.auth.logout(),className:"text-gray-300 hover:text-white cursor-pointer",children:r("ÎÏοÏÏνδεÏη","Logout")})]})]}):l.jsxs(Te,{variant:"ghost",size:"sm",onClick:()=>Fe.auth.redirectToLogin(),className:"text-gray-300 hover:text-white hover:bg-white/5",children:[l.jsx(Qm,{className:"w-4 h-4 mr-2"}),l.jsx("span",{className:"hidden sm:inline",children:r("ΣÏνδεÏη","Login")})]}),l.jsx(Ze,{to:Qe("Compare"),children:l.jsx(Te,{size:"sm",className:"bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold shadow-lg shadow-amber-500/20",children:r("ΠάÏε Î ÏοÏÏοÏÎÏ","Get Quotes")})}),l.jsxs(W$,{open:i,onOpenChange:a,children:[l.jsx(q$,{asChild:!0,className:"lg:hidden",children:l.jsx(Te,{variant:"ghost",size:"icon",className:"text-white hover:bg-white/5",children:l.jsx(BR,{className:"w-6 h-6"})})}),l.jsx(CP,{side:"right",className:"bg-zinc-900 border-zinc-800 w-80",children:l.jsxs("div",{className:"flex flex-col h-full pt-8",children:[l.jsx("nav",{className:"flex flex-col gap-1",children:c.map(d=>l.jsx(Ze,{to:Qe(d.href),onClick:()=>a(!1),className:"px-4 py-3 text-lg text-gray-300 hover:text-white transition-colors rounded-lg hover:bg-white/5",children:d.label},d.href))}),l.jsx("div",{className:"mt-auto pb-8",children:l.jsx(Ze,{to:Qe("Compare"),onClick:()=>a(!1),children:l.jsx(Te,{className:"w-full bg-gradient-to-r from-amber-500 to-amber-600 hover:from-amber-600 hover:to-amber-700 text-black font-semibold",children:r("ΠάÏε Î ÏοÏÏοÏÎÏ","Get Quotes")})})})]})})]})]})]})})})}function p9(){const{t:e}=Ye(),t=[{label:e("ÎÏοι ΧÏήÏηÏ","Terms of Use"),href:"Terms"},{label:e("ΠολιÏική ÎÏοÏÏήÏοÏ
","Privacy Policy"),href:"Privacy"},{label:e("Cookies","Cookies"),href:"Cookies"},{label:e("ÎÏοÏοίηÏη ÎÏ
θÏ
νÏν","Disclaimer"),href:"Disclaimer"},{label:e("ΠολιÏική ÎÏιÏÏÏοÏÏν","Refund Policy"),href:"Refunds"}],n=[{label:e("ΣÏγκÏιÏη ÎÏÏαλειÏν","Compare Insurance"),href:"Compare"},{label:e("ÎÏαιÏείεÏ","Companies"),href:"Companies"},{label:e("Î ÏÏ ÎειÏοÏ
Ïγεί","How it Works"),href:"HowItWorks"},{label:e("ΤιμοκαÏάλογοÏ","Pricing"),href:"Pricing"},{label:e("ΣÏ
νεÏγάÏεÏ","Partners"),href:"Partners"}],r=[{label:e("ÎÏÏάλεια ÎÏ
ÏοκινήÏοÏ
","Auto Insurance"),page:"Compare",type:"auto"},{label:e("ÎÏÏάλεια ΥγείαÏ","Health Insurance"),page:"Compare",type:"health"},{label:e("ÎÏÏάλεια ÎαÏοικίαÏ","Home Insurance"),page:"Compare",type:"home"},{label:e("ÎÏÏάλεια ÎÏήÏ","Life Insurance"),page:"Compare",type:"life"},{label:e("ÎÏÏάλεια ÎÏιÏείÏηÏηÏ","Business Insurance"),page:"Compare",type:"business"},{label:e("ΤαξιδιÏÏική ÎÏÏάλεια","Travel Insurance"),page:"Compare",type:"travel"}];return l.jsxs("footer",{className:"bg-black border-t border-white/10",children:[l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-16",children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-12",children:[l.jsxs("div",{className:"lg:col-span-1",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[l.jsx("img",{src:"https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/694c6befaf9cde1683ade5e5/38dd73fdd_GLPINSURANCES.png",alt:"GLP INSURANCES Logo",className:"h-10 w-auto"}),l.jsxs("div",{children:[l.jsx("span",{className:"text-white font-semibold text-lg",children:"GLP"}),l.jsx("span",{className:"text-amber-400 font-light text-lg ml-1",children:"INSURANCES"})]})]}),l.jsx("p",{className:"text-gray-400 text-sm leading-relaxed mb-6",children:e("Î Ïιο αξιÏÏιÏÏη ÏλαÏÏÏÏμα ÏÏγκÏιÏÎ·Ï Î±ÏÏαλειÏν ÏÏην Îλλάδα. ÎÏείÏε ÏÎ¹Ï ÎºÎ±Î»ÏÏεÏÎµÏ ÏιμÎÏ ÎºÎ±Î¹ καλÏÏÎµÎ¹Ï Ïε λίγα λεÏÏά.","The most trusted insurance comparison platform in Greece. Find the best prices and coverage in minutes.")}),l.jsxs("div",{className:"flex gap-3",children:[l.jsx("a",{href:"#",className:"w-9 h-9 rounded-full bg-white/5 hover:bg-amber-500/20 flex items-center justify-center transition-colors group",children:l.jsx(gR,{className:"w-4 h-4 text-gray-400 group-hover:text-amber-400"})}),l.jsx("a",{href:"#",className:"w-9 h-9 rounded-full bg-white/5 hover:bg-amber-500/20 flex items-center justify-center transition-colors group",children:l.jsx(_R,{className:"w-4 h-4 text-gray-400 group-hover:text-amber-400"})}),l.jsx("a",{href:"#",className:"w-9 h-9 rounded-full bg-white/5 hover:bg-amber-500/20 flex items-center justify-center transition-colors group",children:l.jsx(AR,{className:"w-4 h-4 text-gray-400 group-hover:text-amber-400"})}),l.jsx("a",{href:"#",className:"w-9 h-9 rounded-full bg-white/5 hover:bg-amber-500/20 flex items-center justify-center transition-colors group",children:l.jsx(lA,{className:"w-4 h-4 text-gray-400 group-hover:text-amber-400"})})]})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-semibold mb-4",children:e("ÎÏήγοÏη Î ÏÏÏβαÏη","Quick Links")}),l.jsx("ul",{className:"space-y-2",children:n.map(i=>l.jsx("li",{children:l.jsx(Ze,{to:Qe(i.href),className:"text-gray-400 hover:text-amber-400 text-sm transition-colors",children:i.label})},i.href))})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-semibold mb-4",children:e("ΤÏÏοι ÎÏÏάλιÏηÏ","Insurance Types")}),l.jsx("ul",{className:"space-y-2",children:r.map(i=>l.jsx("li",{children:l.jsx("a",{href:Qe(i.page)+`?type=${i.type}`,className:"text-gray-400 hover:text-amber-400 text-sm transition-colors",children:i.label})},i.type))})]}),l.jsxs("div",{children:[l.jsx("h3",{className:"text-white font-semibold mb-4",children:e("ÎÏικοινÏνία","Contact")}),l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-amber-400 text-xs font-semibold mb-2",children:"OUR OFFICES"}),l.jsxs("div",{className:"space-y-2 text-gray-400 text-xs",children:[l.jsxs("div",{children:[l.jsx("p",{className:"font-medium",children:"ATHENS"}),l.jsx("p",{children:"86 Akadimias Str., 4th floor"}),l.jsx("p",{children:"Athens, 10678, Greece"})]}),l.jsxs("div",{children:[l.jsx("p",{className:"font-medium",children:"THESSALONIKI"}),l.jsx("p",{children:"24 Aristotelous Str., 1st floor"}),l.jsx("p",{children:"Thessaloniki, 54623, Greece"})]}),l.jsxs("div",{children:[l.jsx("p",{className:"font-medium",children:"IOANNINA"}),l.jsx("p",{children:"1 Evergeti Domboli Av."}),l.jsx("p",{children:"Ioannina, 45332, Greece"})]})]})]}),l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(yg,{className:"w-4 h-4 text-amber-400 flex-shrink-0"}),l.jsx("a",{href:"mailto:[email protected]",className:"text-gray-400 hover:text-amber-400 text-xs transition-colors",children:"[email protected]"})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx(Fr,{className:"w-4 h-4 text-amber-400 flex-shrink-0"}),l.jsx("a",{href:"tel:+306939838223",className:"text-gray-400 hover:text-amber-400 text-xs transition-colors",children:"+30 6939 838 223"})]})]})]})]})]})}),l.jsx("div",{className:"border-t border-white/5",children:l.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:l.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l.jsx("div",{className:"flex flex-wrap justify-center gap-4 mb-2",children:t.map(i=>l.jsx(Ze,{to:Qe(i.href),className:"text-gray-500 hover:text-gray-300 text-sm transition-colors",children:i.label},i.href))}),l.jsxs("div",{className:"text-center",children:[l.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"© 2026 - GLP INSURANCES was designed by GLP APPS - A member of GLP TECHNOLOGIES."}),l.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"GLP INSURANCES is a member of GLP ADVISORS which is a GLP GROUP c
444ompany."}),l.jsxs("div",{className:"flex items-center justify-center gap-2",children:[l.jsx("a",{href:"https://www.glpnet.net",target:"_blank",rel:"noopener noreferrer",className:"text-amber-400 hover:text-amber-300 text-xs transition-colors",children:"GLP Net"}),l.jsx("span",{className:"text-gray-500 text-xs",children:". Site Builder."}),l.jsx("span",{className:"text-2xl",children:"ð¬ð·"}),l.jsx("span",{className:"text-2xl",children:"ðºð¸"})]})]})]})})})]})}function g9({children:e}){const[t,n]=x.useState(null);return x.useEffect(()=>{(async()=>{if(await Fe.auth.isAuthenticated()){const a=await Fe.auth.me();n(a)}})()},[]),l.jsx(UI,{children:l.jsxs("div",{className:"min-h-screen bg-black text-white",children:[l.jsx(m9,{user:t}),l.jsx("main",{children:e}),l.jsx(p9,{})]})})}const y9={Home:s8,Compare:rU,Companies:sU,CompanyDetail:iU,Coverage:aU,Blog:h$,FAQ:g$,Contact:y$,Terms:x$,Privacy:v$,Disclaimer:w$,Refunds:b$,Cookies:S$,Admin:V$,Dashboard:z$,Partners:U$,HowItWorks:$$,Pricing:H$},v2={mainPage:"Home",Pages:y9,Layout:g9};function x9(){const e=Wo(),{isAuthenticated:t}=QN(),{Pages:n,mainPage:r}=v2,i=r;return x.useEffect(()=>{const a=e.pathname;let c;if(a==="/"||a==="")c=i;else{const d=a.replace(/^\//,"").split("/")[0];c=Object.keys(n).find(p=>p.toLowerCase()===d.toLowerCase())||null}t&&c&&Fe.appLogs.logUserInApp(c).catch(()=>{})},[e,t,n,i]),null}function v9({}){var i;const t=Wo().pathname.substring(1),{data:n,isFetched:r}=sn({queryKey:["user"],queryFn:async()=>{try{return{user:await Fe.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return l.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:l.jsx("div",{className:"max-w-md w-full",children:l.jsxs("div",{className:"text-center space-y-6",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),l.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),l.jsxs("div",{className:"space-y-3",children:[l.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),l.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",l.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"&&l.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:l.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),l.jsxs("div",{className:"text-left space-y-1",children:[l.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),l.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."})]})]})}),l.jsx("div",{className:"pt-6",children:l.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:[l.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.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 w9=()=>l.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:l.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:l.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:l.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"})})}),l.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),l.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."}),l.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[l.jsx("p",{children:"If you believe this is an error, you can:"}),l.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[l.jsx("li",{children:"Verify you are logged in with the correct account"}),l.jsx("li",{children:"Contact the app administrator for access"}),l.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),{Pages:w2,Layout:X1,mainPage:b9}=v2,b2=b9,S9=w2[b2],J1=({children:e,currentPageName:t})=>X1?l.jsx(X1,{currentPageName:t,children:e}):l.jsx(l.Fragment,{children:e}),N9=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:n,navigateToLogin:r}=QN();if(t||e)return l.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:l.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 l.jsx(w9,{});if(n.type==="auth_required")return r(),null}return l.jsxs(CM,{children:[l.jsx(Ru,{path:"/",element:l.jsx(J1,{currentPageName:b2,children:l.jsx(S9,{})})}),Object.entries(w2).map(([i,a])=>l.jsx(Ru,{path:`/${i}`,element:l.jsx(J1,{currentPageName:i,children:l.jsx(a,{})})},i)),l.jsx(Ru,{path:"*",element:l.jsx(v9,{})})]})};function C9(){return l.jsx(zI,{children:l.jsxs(v4,{client:R4,children:[l.jsxs(RM,{children:[l.jsx(x9,{}),l.jsx(N9,{})]}),l.jsx(QA,{})]})})}k_.createRoot(document.getElementById("root")).render(l.jsx(C9,{}));
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.