vendor: 5,800 bytes, lines 1-9
1function ej(e,n){for(var i=0;i<n.length;i++){const o=n[i];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const d=Object.getOwnPropertyDescriptor(o,l);d&&Object.defineProperty(e,l,d.get?d:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const d of l)if(d.type==="childList")for(const u of d.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(l){const d={};return l.integrity&&(d.integrity=l.integrity),l.referrerPolicy&&(d.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?d.credentials="include":l.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(l){if(l.ep)return;l.ep=!0;const d=i(l);fetch(l.href,d)}})();function kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Od={exports:{}},Di={},Vd={exports:{}},ve={};/** 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 og;function tj(){if(og)return ve;og=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),u=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),v=Symbol.iterator;function b(D){return D===null||typeof D!="object"?null:(D=v&&D[v]||D["@@iterator"],typeof D=="function"?D:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,w={};function j(D,$,le){this.props=D,this.context=$,this.refs=w,this.updater=le||k}j.prototype.isReactComponent={},j.prototype.setState=function(D,$){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,$,"setState")},j.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function P(){}P.prototype=j.prototype;function S(D,$,le){this.props=D,this.context=$,this.refs=w,this.updater=le||k}var T=S.prototype=new P;T.constructor=S,C(T,j.prototype),T.isPureReactComponent=!0;var O=Array.isArray,M=Object.prototype.hasOwnProperty,U={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function V(D,$,le){var ue,we={},be=null,ge=null;if($!=null)for(ue in $.ref!==void 0&&(ge=$.ref),$.key!==void 0&&(be=""+$.key),$)M.call($,ue)&&!z.hasOwnProperty(ue)&&(we[ue]=$[ue]);var ke=arguments.length-2;if(ke===1)we.children=le;else if(1<ke){for(var Ae=Array(ke),st=0;st<ke;st++)Ae[st]=arguments[st+2];we.children=Ae}if(D&&D.defaultProps)for(ue in ke=D.defaultProps,ke)we[ue]===void 0&&(we[ue]=ke[ue]);return{$$typeof:e,type:D,key:be,ref:ge,props:we,_owner:U.current}}function oe(D,$){return{$$typeof:e,type:D.type,key:$,ref:D.ref,props:D.props,_owner:D._owner}}function he(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function Re(D){var $={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(le){return $[le]})}var Ge=/\/+/g;function qe(D,$){return typeof D=="object"&&D!==null&&D.key!=null?Re(""+D.key):$.toString(36)}function Be(D,$,le,ue,we){var be=typeof D;(be==="undefined"||be==="boolean")&&(D=null);var ge=!1;if(D===null)ge=!0;else switch(be){case"string":case"number":ge=!0;break;case"object":switch(D.$$typeof){case e:case n:ge=!0}}if(ge)return ge=D,we=we(ge),D=ue===""?"."+qe(ge,0):ue,O(we)?(le="",D!=null&&(le=D.replace(Ge,"$&/")+"/"),Be(we,$,le,"",function(st){return st})):we!=null&&(he(we)&&(we=oe(we,le+(!we.key||ge&&ge.key===we.key?"":(""+we.key).replace(Ge,"$&/")+"/")+D)),$.push(we)),1;if(ge=0,ue=ue===""?".":ue+":",O(D))for(var ke=0;ke<D.length;ke++){be=D[ke];var Ae=ue+qe(be,ke);ge+=Be(be,$,le,Ae,we)}else if(Ae=b(D),typeof Ae=="function")for(D=Ae.call(D),ke=0;!(be=D.next()).done;)be=be.value,Ae=ue+qe(be,ke++),ge+=Be(be,$,le,Ae,we);else if(be==="object")throw $=String(D),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.");return ge}function _e(D,$,le){if(D==null)return D;var ue=[],we=0;return Be(D,ue,"","",function(be){return $.call(le,be,we++)}),ue}function Ie(D){if(D._status===-1){var $=D._result;$=$(),$.then(function(le){(D._status===0||D._status===-1)&&(D._status=1,D._result=le)},function(le){(D._status===0||D._status===-1)&&(D._status=2,D._result=le)}),D._status===-1&&(D._status=0,D._result=$)}if(D._status===1)return D._result.default;throw D._result}var me={current:null},F={transition:null},re={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:F,ReactCurrentOwner:U};function K(){throw Error("act(...) is not supported in production builds of React.")}return ve.Children={map:_e,forEach:function(D,$,le){_e(D,function(){$.apply(this,arguments)},le)},count:function(D){var $=0;return _e(D,function(){$++}),$},toArray:function(D){return _e(D,function($){return $})||[]},only:function(D){if(!he(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},ve.Component=j,ve.Fragment=i,ve.Profiler=l,ve.PureComponent=S,ve.StrictMode=o,ve.Suspense=f,ve.__SECRET_INT
vendor: 5,924 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=re,ve.act=K,ve.cloneElement=function(D,$,le){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var ue=C({},D.props),we=D.key,be=D.ref,ge=D._owner;if($!=null){if($.ref!==void 0&&(be=$.ref,ge=U.current),$.key!==void 0&&(we=""+$.key),D.type&&D.type.defaultProps)var ke=D.type.defaultProps;for(Ae in $)M.call($,Ae)&&!z.hasOwnProperty(Ae)&&(ue[Ae]=$[Ae]===void 0&&ke!==void 0?ke[Ae]:$[Ae])}var Ae=arguments.length-2;if(Ae===1)ue.children=le;else if(1<Ae){ke=Array(Ae);for(var st=0;st<Ae;st++)ke[st]=arguments[st+2];ue.children=ke}return{$$typeof:e,type:D.type,key:we,ref:be,props:ue,_owner:ge}},ve.createContext=function(D){return D={$$typeof:u,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:d,_context:D},D.Consumer=D},ve.createElement=V,ve.createFactory=function(D){var $=V.bind(null,D);return $.type=D,$},ve.createRef=function(){return{current:null}},ve.forwardRef=function(D){return{$$typeof:m,render:D}},ve.isValidElement=he,ve.lazy=function(D){return{$$typeof:x,_payload:{_status:-1,_result:D},_init:Ie}},ve.memo=function(D,$){return{$$typeof:h,type:D,compare:$===void 0?null:$}},ve.startTransition=function(D){var $=F.transition;F.transition={};try{D()}finally{F.transition=$}},ve.unstable_act=K,ve.useCallback=function(D,$){return me.current.useCallback(D,$)},ve.useContext=function(D){return me.current.useContext(D)},ve.useDebugValue=function(){},ve.useDeferredValue=function(D){return me.current.useDeferredValue(D)},ve.useEffect=function(D,$){return me.current.useEffect(D,$)},ve.useId=function(){return me.current.useId()},ve.useImperativeHandle=function(D,$,le){return me.current.useImperativeHandle(D,$,le)},ve.useInsertionEffect=function(D,$){return me.current.useInsertionEffect(D,$)},ve.useLayoutEffect=function(D,$){return me.current.useLayoutEffect(D,$)},ve.useMemo=function(D,$){return me.current.useMemo(D,$)},ve.useReducer=function(D,$,le){return me.current.useReducer(D,$,le)},ve.useRef=function(D){return me.current.useRef(D)},ve.useState=function(D){return me.current.useState(D)},ve.useSyncExternalStore=function(D,$,le){return me.current.useSyncExternalStore(D,$,le)},ve.useTransition=function(){return me.current.useTransition()},ve.version="18.3.1",ve}var ag;function dm(){return ag||(ag=1,Vd.exports=tj()),Vd.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 lg;function nj(){if(lg)return Di;lg=1;var e=dm(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function u(m,f,h){var x,v={},b=null,k=null;h!==void 0&&(b=""+h),f.key!==void 0&&(b=""+f.key),f.ref!==void 0&&(k=f.ref);for(x in f)o.call(f,x)&&!d.hasOwnProperty(x)&&(v[x]=f[x]);if(m&&m.defaultProps)for(x in f=m.defaultProps,f)v[x]===void 0&&(v[x]=f[x]);return{$$typeof:n,type:m,key:b,ref:k,props:v,_owner:l.current}}return Di.Fragment=i,Di.jsx=u,Di.jsxs=u,Di}var cg;function rj(){return cg||(cg=1,Od.exports=nj()),Od.exports}var r=rj(),Aa={},zd={exports:{}},Et={},$d={exports:{}},Bd={};/** 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 dg;function sj(){return dg||(dg=1,(function(e){function n(F,re){var K=F.length;F.push(re);e:for(;0<K;){var D=K-1>>>1,$=F[D];if(0<l($,re))F[D]=re,F[K]=$,K=D;else break e}}function i(F){return F.length===0?null:F[0]}function o(F){if(F.length===0)return null;var re=F[0],K=F.pop();if(K!==re){F[0]=K;e:for(var D=0,$=F.length,le=$>>>1;D<le;){var ue=2*(D+1)-1,we=F[ue],be=ue+1,ge=F[be];if(0>l(we,K))be<$&&0>l(ge,we)?(F[D]=ge,F[be]=K,D=be):(F[D]=we,F[ue]=K,D=ue);else if(be<$&&0>l(ge,K))F[D]=ge,F[be]=K,D=be;else break e}}return re}function l(F,re){var K=F.sortIndex-re.sortIndex;return K!==0?K:F.id-re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var d=performance;e.unstable_now=function(){return d.now()}}else{var u=Date,m=u.now();e.unstable_now=function(){return u.now()-m}}var f=[],h=[],x=1,v=null,b=3,k=!1,C=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(F){for(var re=i(h);re!==null;){if(re.callback===null)o(h);else if(re.startTime<=F)o(h),re.sortIndex=re.expirationTime,n(f,re);else break;re=i(h)}}function O(F){if(w=!1,T(F),!C)if(i(f)!==null)C=!0,Ie(M);else{var re=i(h);re!==null&&me(O,re.startTime-F)}}function M(F,re){C=!1,w&&(w=!1,P(V),V=-1),k=!0;var K=b;try{for(T(re),v=i(f);v!==null&&(!(v.expirationTime>re)||F&&!Re());){var D=v.callback;if(typeof D=="function"){v.callback=null,b=v.priorityLevel;var $=D(v.expirationTime<=re);re=e.unstable_now(),typeof $=="function"?v.callback=$:v===i(f)&&o(f),T(re)}else o(f);v=i(f)}if(v!==null)var le=!0;else{var ue=i(h);ue!==null&&me(O,ue.startTime-re),le=!1}return le}finally{v=null,b=K,k=!1}}var U=!1,z=null,V=-1,oe=5,he=-1;function Re(){return!(e.unstable_now()-he<oe)}function Ge(){if(z!==null){var F=e.unstable_now();he=F;var re=!0;try{re=z(!0,F)}finally{re?qe():(U=!1,z=null)}}else U=!1}var qe;if(typeof S=="function")qe=function(){S(Ge)};else if(typeof MessageChannel<"u"){var Be=new MessageChannel,_e=Be.port2;Be.port1.onmessage=Ge,qe=function(){_e.postMessage(null)}}else qe=function(){j(Ge,0)};
vendor: 39,362 bytes, lines 25-37
25function Ie(F){z=F,U||(U=!0,qe())}function me(F,re){V=j(function(){F(e.unstable_now())},re)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(F){F.callback=null},e.unstable_continueExecution=function(){C||k||(C=!0,Ie(M))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):oe=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return i(f)},e.unstable_next=function(F){switch(b){case 1:case 2:case 3:var re=3;break;default:re=b}var K=b;b=re;try{return F()}finally{b=K}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,re){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var K=b;b=F;try{return re()}finally{b=K}},e.unstable_scheduleCallback=function(F,re,K){var D=e.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?D+K:D):K=D,F){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}return $=K+$,F={id:x++,callback:re,priorityLevel:F,startTime:K,expirationTime:$,sortIndex:-1},K>D?(F.sortIndex=K,n(h,F),i(f)===null&&F===i(h)&&(w?(P(V),V=-1):w=!0,me(O,K-D))):(F.sortIndex=$,n(f,F),C||k||(C=!0,Ie(M))),F},e.unstable_shouldYield=Re,e.unstable_wrapCallback=function(F){var re=b;return function(){var K=b;b=re;try{return F.apply(this,arguments)}finally{b=K}}}})(Bd)),Bd}var ug;function ij(){return ug||(ug=1,$d.exports=sj()),$d.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 mg;function oj(){if(mg)return Et;mg=1;var e=dm(),n=ij();function i(t){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+t,a=1;a<arguments.length;a++)s+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+t+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function d(t,s){u(t,s),u(t+"Capture",s)}function u(t,s){for(l[t]=s,t=0;t<s.length;t++)o.add(s[t])}var m=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,x={},v={};function b(t){return f.call(v,t)?!0:f.call(x,t)?!1:h.test(t)?v[t]=!0:(x[t]=!0,!1)}function k(t,s,a,c){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return c?!1:a!==null?!a.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function C(t,s,a,c){if(s===null||typeof s>"u"||k(t,s,a,c))return!0;if(c)return!1;if(a!==null)switch(a.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function w(t,s,a,c,p,g,N){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=c,this.attributeNamespace=p,this.mustUseProperty=a,this.propertyName=t,this.type=s,this.sanitizeURL=g,this.removeEmptyString=N}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){j[t]=new w(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var s=t[0];j[s]=new w(s,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){j[t]=new w(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){j[t]=new w(t,2,!1,t,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(t){j[t]=new w(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){j[t]=new w(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){j[t]=new w(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){j[t]=new w(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){j[t]=new w(t,5,!1,t.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function S(t){return t[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(t){var s=t.replace(P,S);j[s]=new w(s,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var s=t.replace(P,S);j[s]=new w(s,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var s=t.replace(P,S);j[s]=new w(s,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){j[t]=new w(t,1,!1,t.toLowerCase(),null,!1,!1)}),j.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){j[t]=new w(t,1,!1,t.toLowerCase(),null,!0,!0)});function T(t,s,a,c){var p=j.hasOwnProperty(s)?j[s]:null;(p!==null?p.type!==0:c||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(C(s,a,p,c)&&(a=null),c||p===null?b(s)&&(a===null?t.removeAttribute(s):t.setAttribute(s,""+a)):p.mustUseProperty?t[p.propertyName]=a===null?p.type===3?!1:"":a:(s=p.attributeName,c=p.attributeNamespace,a===null?t.removeAttribute(s):(p=p.type,a=p===3||p===4&&a===!0?"":""+a,c?t.setAttributeNS(c,s,a):t.setAttribute(s,a))))}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for("react.element"),U=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),Re=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Ie=Symbol.for("react.lazy"),me=Symbol.for("react.offscreen"),F=Symbol.iterator;function re(t){return t===null||typeof t!="object"?null:(t=F&&t[F]||t["@@iterator"],typeof t=="function"?t:null)}var K=Object.assign,D;function $(t){if(D===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);D=s&&s[1]||""}return` 34`+D+t}var le=!1;function ue(t,s){if(!t||le)return"";le=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(_){var c=_}Reflect.construct(t,[],s)}else{try{s.call()}catch(_){c=_}t.call(s.prototype)}else{try{throw Error()}catch(_){c=_}t()}}catch(_){if(_&&c&&typeof _.stack=="string"){for(var p=_.stack.split(` 35`),g=c.stack.split(` 36`),N=p.length-1,E=g.length-1;1<=N&&0<=E&&p[N]!==g[E];)E--;for(;1<=N&&0<=E;N--,E--)if(p[N]!==g[E]){if(N!==1||E!==1)do if(N--,E--,0>E||p[N]!==g[E]){var A=` 37`+p[N].replace(" at new "," at ");return t.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",t.displayName)),A}while(1<=N&&0<=E);break}}}finally{le=!1,Error.prepareStackTrace=a}return(t=t?t.displayName||t.name:"")?$(t):""}function we(t){switch(t.tag){case 5:return $(t.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return t=ue(t.type,!1),t;case 11:return t=ue(t.type.render,!1),t;case 1:return t=ue(t.type,!0),t;default:return""}}function be(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case z:return"Fragment";case U:return"Portal";case oe:return"Profiler";case V:return"StrictMode";case qe:return"Suspense";case Be:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Re:return(t.displayName||"Context")+".Consumer";case he:return(t._context.displayName||"Context")+".Provider";case Ge:var s=t.render;return t=t.displayName,t||(t=s.displayName||s.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case _e:return s=t.displayName||null,s!==null?s:be(t.type)||"Memo";case Ie:s=t._payload,t=t._init;try{return be(t(s))}catch{}}return null}function ge(t){var s=t.type;switch(t.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=s.render,t=t.displayName||t.name||"",s.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return be(s);case 8:return s===V?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function ke(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Ae(t){var s=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function st(t){var s=Ae(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,s),c=""+t[s];if(!t.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var p=a.get,g=a.set;return Object.defineProperty(t,s,{configurable:!0,get:function(){return p.call(this)},set:function(N){c=""+N,g.call(this,N)}}),Object.defineProperty(t,s,{enumerable:a.enumerable}),{getValue:function(){return c},setValue:function(N){c=""+N},stopTracking:function(){t._valueTracker=null,delete t[s]}}}}function Vn(t){t._valueTracker||(t._valueTracker=st(t))}function yr(t){if(!t)return!1;var s=t._valueTracker;if(!s)return!0;var a=s.getValue(),c="";return t&&(c=Ae(t)?t.checked?"true":"false":t.value),t=c,t!==a?(s.setValue(t),!0):!1}function wo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Gl(t,s){var a=s.checked;return K({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??t._wrapperState.initialChecked})}function mp(t,s){var a=s.defaultValue==null?"":s.defaultValue,c=s.checked!=null?s.checked:s.defaultChecked;a=ke(s.value!=null?s.value:a),t._wrapperState={initialChecked:c,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function pp(t,s){s=s.checked,s!=null&&T(t,"checked",s,!1)}function ql(t,s){pp(t,s);var a=ke(s.value),c=s.type;if(a!=null)c==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+a):t.value!==""+a&&(t.value=""+a);else if(c==="submit"||c==="reset"){t.removeAttribute("value");return}s.hasOwnProperty("value")?Kl(t,s.type,a):s.hasOwnProperty("defaultValue")&&Kl(t,s.type,ke(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(t.defaultChecked=!!s.defaultChecked)}function fp(t,s,a){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var c=s.type;if(!(c!=="submit"&&c!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+t._wrapperState.initialValue,a||s===t.value||(t.value=s),t.defaultValue=s}a=t.name,a!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,a!==""&&(t.name=a)}function Kl(t,s,a){(s!=="number"||wo(t.ownerDocument)!==t)&&(a==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+a&&(t.defaultValue=""+a))}var Ys=Array.isArray;function Jr(t,s,a,c){if(t=t.options,s){s={};for(var p=0;p<a.length;p++)s["$"+a[p]]=!0;for(a=0;a<t.length;a++)p=s.hasOwnProperty("$"+t[a].value),t[a].selected!==p&&(t[a].selected=p),p&&c&&(t[a].defaultSelected=!0)}else{for(a=""+ke(a),s=null,p=0;p<t.length;p++){if(t[p].value===a){t[p].selected=!0,c&&(t[p].defaultSelected=!0);return}s!==null||t[p].disabled||(s=t[p])}s!==null&&(s.selected=!0)}}function Yl(t,s){if(s.dangerouslySetInnerHTML!=null)throw Error(i(91));return K({},s,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function hp(t,s){var a=s.value;if(a==null){if(a=s.children,s=s.defaultValue,a!=null){if(s!=null)throw Error(i(92));if(Ys(a)){if(1<a.length)throw Error(i(93));a=a[0]}s=a}s==null&&(s=""),a=s}t._wrapperState={initialValue:ke(a)}}function gp(t,s){var a=ke(s.value),c=ke(s.defaultValue);a!=null&&(a=""+a,a!==t.value&&(t.value=a),s.defaultValue==null&&t.defaultValue!==a&&(t.defaultValue=a)),c!=null&&(t.defaultValue=""+c)}function xp(t){var s=t.textContent;s===t._wrapperState.initialValue&&s!==""&&s!==null&&(t.value=s)}function yp(t){switch(t){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 Xl(t,s){return t==null||t==="http://www.w3.org/1999/xhtml"?yp(s):t==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var bo,vp=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,c,p){MSApp.execUnsafeLocalFunction(function(){return t(s,a,c,p)})}:t})(function(t,s){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=s;else{for(bo=bo||document.createElement("div"),bo.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=bo.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;s.firstChild;)t.appendChild(s.firstChild)}});function Xs(t,s){if(s){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=s;return}}t.textContent=s}var Qs={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},sb=["Webkit","ms","Moz","O"];Object.keys(Qs).forEach(function(t){sb.forEach(function(s){s=s+t.charAt(0).toUpperCase()+t.substring(1),Qs[s]=Qs[t]})});function wp(t,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||Qs.hasOwnProperty(t)&&Qs[t]?(""+s).trim():s+"px"}function bp(t,s){t=t.style;for(var a in s)if(s.hasOwnProperty(a)){var c=a.indexOf("--")===0,p=wp(a,s[a],c);a==="float"&&(a="cssFloat"),c?t.setProperty(a,p):t[a]=p}}var ib=K({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ql(t,s){if(s){if(ib[t]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(i(137,t));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(i(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(i(61))}if(s.style!=null&&typeof s.style!="object")throw Error(i(62))}}function Zl(t,s){if(t.indexOf("-")===-1)return typeof s.is=="string";switch(t){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 Jl=null;function ec(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var tc=null,es=null,ts=null;function jp(t){if(t=vi(t)){if(typeof tc!="function")throw Error(i(280));var s=t.stateNode;s&&(s=Uo(s),tc(t.stateNode,t.type,s))}}function Np(t){es?ts?ts.push(t):ts=[t]:es=t}function Pp(){if(es){var t=es,s=ts;if(ts=es=null,jp(t),s)for(t=0;t<s.length;t++)jp(s[t])}}function kp(t,s){return t(s)}function Cp(){}var nc=!1;function Sp(t,s,a){if(nc)return t(s,a);nc=!0;try{return kp(t,s,a)}finally{nc=!1,(es!==null||ts!==null)&&(Cp(),Pp())}}function Zs(t,s){var a=t.stateNode;if(a===null)return null;var c=Uo(a);if(c===null)return null;a=c[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(t=t.type,c=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!c;break e;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(i(231,s,typeof a));return a}var rc=!1;if(m)try{var Js={};Object.defineProperty(Js,"passive",{get:function(){rc=!0}}),window.addEventListener("test",Js,Js),window.removeEventListener("test",Js,Js)}catch{rc=!1}function ob(t,s,a,c,p,g,N,E,A){var _=Array.prototype.slice.call(arguments,3);try{s.apply(a,_)}catch(H){this.onError(H)}}var ei=!1,jo=null,No=!1,sc=null,ab={onError:function(t){ei=!0,jo=t}};function lb(t,s,a,c,p,g,N,E,A){ei=!1,jo=null,ob.apply(ab,arguments)}function cb(t,s,a,c,p,g,N,E,A){if(lb.apply(this,arguments),ei){if(ei){var _=jo;ei=!1,jo=null}else throw Error(i(198));No||(No=!0,sc=_)}}function vr(t){var s=t,a=t;if(t.alternate)for(;s.return;)s=s.return;else{t=s;do s=t,(s.flags&4098)!==0&&(a=s.return),t=s.return;while(t)}return s.tag===3?a:null}function Ep(t){if(t.tag===13){var s=t.memoizedState;if(s===null&&(t=t.alternate,t!==null&&(s=t.memoizedState)),s!==null)return s.dehydrated}return null}function Ap(t){if(vr(t)!==t)throw Error(i(188))}function db(t){var s=t.alternate;if(!s){if(s=vr(t),s===null)throw Error(i(188));return s!==t?null:t}for(var a=t,c=s;;){var p=a.return;if(p===null)break;var g=p.alternate;if(g===null){if(c=p.return,c!==null){a=c;continue}break}if(p.child===g.child){for(g=p.child;g;){if(g===a)return Ap(p),t;if(g===c)return Ap(p),s;g=g.sibling}throw Error(i(188))}if(a.return!==c.return)a=p,c=g;else{for(var N=!1,E=p.child;E;){if(E===a){N=!0,a=p,c=g;break}if(E===c){N=!0,c=p,a=g;break}E=E.sibling}if(!N){for(E=g.child;E;){if(E===a){N=!0,a=g,c=p;break}if(E===c){N=!0,c=g,a=p;break}E=E.sibling}if(!N)throw Error(i(189))}}if(a.alternate!==c)throw Error(i(190))}if(a.tag!==3)throw Error(i(188));return a.stateNode.current===a?t:s}function Tp(t){return t=db(t),t!==null?Rp(t):null}function Rp(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var s=Rp(t);if(s!==null)return s;t=t.sibling}return null}var Ip=n.unstable_scheduleCallback,Mp=n.unstable_cancelCallback,ub=n.unstable_shouldYield,mb=n.unstable_requestPaint,Ke=n.unstable_now,pb=n.unstable_getCurrentPriorityLevel,ic=n.unstable_ImmediatePriority,Dp=n.unstable_UserBlockingPriority,Po=n.unstable_NormalPriority,fb=n.unstable_LowPriority,Lp=n.unstable_IdlePriority,ko=null,dn=null;function hb(t){if(dn&&typeof dn.onCommitFiberRoot=="function")try{dn.onCommitFiberRoot(ko,t,void 0,(t.current.flags&128)===128)}catch{}}var qt=Math.clz32?Math.clz32:yb,gb=Math.log,xb=Math.LN2;function yb(t){return t>>>=0,t===0?32:31-(gb(t)/xb|0)|0}var Co=64,So=4194304;function ti(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Eo(t,s){var a=t.pendingLanes;if(a===0)return 0;var c=0,p=t.suspendedLanes,g=t.pingedLanes,N=a&268435455;if(N!==0){var E=N&~p;E!==0?c=ti(E):(g&=N,g!==0&&(c=ti(g)))}else N=a&~p,N!==0?c=ti(N):g!==0&&(c=ti(g));if(c===0)return 0;if(s!==0&&s!==c&&(s&p)===0&&(p=c&-c,g=s&-s,p>=g||p===16&&(g&4194240)!==0))return s;if((c&4)!==0&&(c|=a&16),s=t.entangledLanes,s!==0)for(t=t.entanglements,s&=c;0<s;)a=31-qt(s),p=1<<a,c|=t[a],s&=~p;return c}function vb(t,s){switch(t){case 1:case 2:case 4:return s+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wb(t,s){for(var a=t.suspendedLanes,c=t.pingedLanes,p=t.expirationTimes,g=t.pendingLanes;0<g;){var N=31-qt(g),E=1<<N,A=p[N];A===-1?((E&a)===0||(E&c)!==0)&&(p[N]=vb(E,s)):A<=s&&(t.expiredLanes|=E),g&=~E}}function oc(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function Wp(){var t=Co;return Co<<=1,(Co&4194240)===0&&(Co=64),t}function ac(t){for(var s=[],a=0;31>a;a++)s.push(t);return s}function ni(t,s,a){t.pendingLanes|=s,s!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,s=31-qt(s),t[s]=a}function bb(t,s){var a=t.pendingLanes&~s;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=s,t.mutableReadLanes&=s,t.entangledLanes&=s,s=t.entanglements;var c=t.eventTimes;for(t=t.expirationTimes;0<a;){var p=31-qt(a),g=1<<p;s[p]=0,c[p]=-1,t[p]=-1,a&=~g}}function lc(t,s){var a=t.entangledLanes|=s;for(t=t.entanglements;a;){var c=31-qt(a),p=1<<c;p&s|t[c]&s&&(t[c]|=s),a&=~p}}var Te=0;function _p(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var Fp,cc,Op,Vp,zp,dc=!1,Ao=[],zn=null,$n=null,Bn=null,ri=new Map,si=new Map,Un=[],jb="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 $p(t,s){switch(t){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":$n=null;break;case"mouseover":case"mouseout":Bn=null;break;case"pointerover":case"pointerout":ri.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":si.delete(s.pointerId)}}function ii(t,s,a,c,p,g){return t===null||t.nativeEvent!==g?(t={blockedOn:s,domEventName:a,eventSystemFlags:c,nativeEvent:g,targetContainers:[p]},s!==null&&(s=vi(s),s!==null&&cc(s)),t):(t.eventSystemFlags|=c,s=t.targetContainers,p!==null&&s.indexOf(p)===-1&&s.push(p),t)}function Nb(t,s,a,c,p){switch(s){case"focusin":return zn=ii(zn,t,s,a,c,p),!0;case"dragenter":return $n=ii($n,t,s,a,c,p),!0;case"mouseover":return Bn=ii(Bn,t,s,a,c,p),!0;case"pointerover":var g=p.pointerId;return ri.set(g,ii(ri.get(g)||null,t,s,a,c,p)),!0;case"gotpointercapture":return g=p.pointerId,si.set(g,ii(si.get(g)||null,t,s,a,c,p)),!0}return!1}function Bp(t){var s=wr(t.target);if(s!==null){var a=vr(s);if(a!==null){if(s=a.tag,s===13){if(s=Ep(a),s!==null){t.blockedOn=s,zp(t.priority,function(){Op(a)});return}}else if(s===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function To(t){if(t.blockedOn!==null)return!1;for(var s=t.targetContainers;0<s.length;){var a=mc(t.domEventName,t.eventSystemFlags,s[0],t.nativeEvent);if(a===null){a=t.nativeEvent;var c=new a.constructor(a.type,a);Jl=c,a.target.dispatchEvent(c),Jl=null}else return s=vi(a),s!==null&&cc(s),t.blockedOn=a,!1;s.shift()}return!0}function Up(t,s,a){To(t)&&a.delete(s)}function Pb(){dc=!1,zn!==null&&To(zn)&&(zn=null),$n!==null&&To($n)&&($n=null),Bn!==null&&To(Bn)&&(Bn=null),ri.forEach(Up),si.forEach(Up)}function oi(t,s){t.blockedOn===s&&(t.blockedOn=null,dc||(dc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Pb)))}function ai(t){function s(p){return oi(p,t)}if(0<Ao.length){oi(Ao[0],t);for(var a=1;a<Ao.length;a++){var c=Ao[a];c.blockedOn===t&&(c.blockedOn=null)}}for(zn!==null&&oi(zn,t),$n!==null&&oi($n,t),Bn!==null&&oi(Bn,t),ri.forEach(s),si.forEach(s),a=0;a<Un.length;a++)c=Un[a],c.blockedOn===t&&(c.blockedOn=null);for(;0<Un.length&&(a=Un[0],a.blockedOn===null);)Bp(a),a.blockedOn===null&&Un.shift()}var ns=O.ReactCurrentBatchConfig,Ro=!0;function kb(t,s,a,c){var p=Te,g=ns.transition;ns.transition=null;try{Te=1,uc(t,s,a,c)}finally{Te=p,ns.transition=g}}function Cb(t,s,a,c){var p=Te,g=ns.transition;ns.transition=null;try{Te=4,uc(t,s,a,c)}finally{Te=p,ns.transition=g}}function uc(t,s,a,c){if(Ro){var p=mc(t,s,a,c);if(p===null)Ac(t,s,c,Io,a),$p(t,c);else if(Nb(p,t,s,a,c))c.stopPropagation();else if($p(t,c),s&4&&-1<jb.indexOf(t)){for(;p!==null;){var g=vi(p);if(g!==null&&Fp(g),g=mc(t,s,a,c),g===null&&Ac(t,s,c,Io,a),g===p)break;p=g}p!==null&&c.stopPropagation()}else Ac(t,s,c,null,a)}}var Io=null;function mc(t,s,a,c){if(Io=null,t=ec(c),t=wr(t),t!==null)if(s=vr(t),s===null)t=null;else if(a=s.tag,a===13){if(t=Ep(s),t!==null)return t;t=null}else if(a===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;t=null}else s!==t&&(t=null);return Io=t,null}function Hp(t){switch(t){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(pb()){case ic:return 1;case Dp:return 4;case Po:case fb:return 16;case Lp:return 536870912;default:return 16}default:return 16}}var Hn=null,pc=null,Mo=null;function Gp(){if(Mo)return Mo;var t,s=pc,a=s.length,c,p="value"in Hn?Hn.value:Hn.textContent,g=p.length;for(t=0;t<a&&s[t]===p[t];t++);var N=a-t;for(c=1;c<=N&&s[a-c]===p[g-c];c++);return Mo=p.slice(t,1<c?1-c:void 0)}function Do(t){var s=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),32<=t||t===13?t:0}function Lo(){return!0}function qp(){return!1}function Dt(t){function s(a,c,p,g,N){this._reactName=a,this._targetInst=p,this.type=c,this.nativeEvent=g,this.target=N,this.currentTarget=null;for(var E in t)t.hasOwnProperty(E)&&(a=t[E],this[E]=a?a(g):g[E]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Lo:qp,this.isPropagationStopped=qp,this}return K(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Lo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Lo)},persist:function(){},isPersistent:Lo}),s}var rs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fc=Dt(rs),li=K({},rs,{view:0,detail:0}),Sb=Dt(li),hc,gc,ci,Wo=K({},li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ci&&(ci&&t.type==="mousemove"?(hc=t.screenX-ci.screenX,gc=t.screenY-ci.screenY):gc=hc=0,ci=t),hc)},movementY:function(t){return"movementY"in t?t.movementY:gc}}),Kp=Dt(Wo),Eb=K({},Wo,{dataTransfer:0}),Ab=Dt(Eb),Tb=K({},li,{relatedTarget:0}),xc=Dt(Tb),Rb=K({},rs,{animationName:0,elapsedTime:0,pseudoElement:0}),Ib=Dt(Rb),Mb=K({},rs,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Db=Dt(Mb),Lb=K({},rs,{data:0}),Yp=Dt(Lb),Wb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_b={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"},Fb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ob(t){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(t):(t=Fb[t])?!!s[t]:!1}function yc(){return Ob}var Vb=K({},li,{key:function(t){if(t.key){var s=Wb[t.key]||t.key;if(s!=="Unidentified")return s}return t.type==="keypress"?(t=Do(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_b[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yc,charCode:function(t){return t.type==="keypress"?Do(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Do(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),zb=Dt(Vb),$b=K({},Wo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xp=Dt($b),Bb=K({},li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yc}),Ub=Dt(Bb),Hb=K({},rs,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gb=Dt(Hb),qb=K({},Wo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Kb=Dt(qb),Yb=[9,13,27,32],vc=m&&"CompositionEvent"in window,di=null;m&&"documentMode"in document&&(di=document.documentMode);var Xb=m&&"TextEvent"in window&&!di,Qp=m&&(!vc||di&&8<di&&11>=di),Zp=" ",Jp=!1;function ef(t,s){switch(t){case"keyup":return Yb.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ss=!1;function Qb(t,s){switch(t){case"compositionend":return tf(s);case"keypress":return s.which!==32?null:(Jp=!0,Zp);case"textInput":return t=s.data,t===Zp&&Jp?null:t;default:return null}}function Zb(t,s){if(ss)return t==="compositionend"||!vc&&ef(t,s)?(t=Gp(),Mo=pc=Hn=null,ss=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return Qp&&s.locale!=="ko"?null:s.data;default:return null}}var Jb={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 nf(t){var s=t&&t.nodeName&&t.nodeName.toLowerCase();return s==="input"?!!Jb[t.type]:s==="textarea"}function rf(t,s,a,c){Np(c),s=zo(s,"onChange"),0<s.length&&(a=new fc("onChange","change",null,a,c),t.push({event:a,listeners:s}))}var ui=null,mi=null;function e1(t){jf(t,0)}function _o(t){var s=cs(t);if(yr(s))return t}function t1(t,s){if(t==="change")return s}var sf=!1;if(m){var wc;if(m){var bc="oninput"in document;if(!bc){var of=document.createElement("div");of.setAttribute("oninput","return;"),bc=typeof of.oninput=="function"}wc=bc}else wc=!1;sf=wc&&(!document.documentMode||9<document.documentMode)}function af(){ui&&(ui.detachEvent("onpropertychange",lf),mi=ui=null)}function lf(t){if(t.propertyName==="value"&&_o(mi)){var s=[];rf(s,mi,t,ec(t)),Sp(e1,s)}}function n1(t,s,a){t==="focusin"?(af(),ui=s,mi=a,ui.attachEvent("onpropertychange",lf)):t==="focusout"&&af()}function r1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return _o(mi)}function s1(t,s){if(t==="click")return _o(s)}function i1(t,s){if(t==="input"||t==="change")return _o(s)}function o1(t,s){return t===s&&(t!==0||1/t===1/s)||t!==t&&s!==s}var Kt=typeof Object.is=="function"?Object.is:o1;function pi(t,s){if(Kt(t,s))return!0;if(typeof t!="object"||t===null||typeof s!="object"||s===null)return!1;var a=Object.keys(t),c=Object.keys(s);if(a.length!==c.length)return!1;for(c=0;c<a.length;c++){var p=a[c];if(!f.call(s,p)||!Kt(t[p],s[p]))return!1}return!0}function cf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function df(t,s){var a=cf(t);t=0;for(var c;a;){if(a.nodeType===3){if(c=t+a.textContent.length,t<=s&&c>=s)return{node:a,offset:s-t};t=c}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=cf(a)}}function uf(t,s){return t&&s?t===s?!0:t&&t.nodeType===3?!1:s&&s.nodeType===3?uf(t,s.parentNode):"contains"in t?t.contains(s):t.compareDocumentPosition?!!(t.compareDocumentPosition(s)&16):!1:!1}function mf(){for(var t=window,s=wo();s instanceof t.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)t=s.contentWindow;else break;s=wo(t.document)}return s}function jc(t){var s=t&&t.nodeName&&t.nodeName.toLowerCase();return s&&(s==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||s==="textarea"||t.contentEditable==="true")}function a1(t){var s=mf(),a=t.focusedElem,c=t.selectionRange;if(s!==a&&a&&a.ownerDocument&&uf(a.ownerDocument.documentElement,a)){if(c!==null&&jc(a)){if(s=c.start,t=c.end,t===void 0&&(t=s),"selectionStart"in a)a.selectionStart=s,a.selectionEnd=Math.min(t,a.value.length);else if(t=(s=a.ownerDocument||document)&&s.defaultView||window,t.getSelection){t=t.getSelection();var p=a.textContent.length,g=Math.min(c.start,p);c=c.end===void 0?g:Math.min(c.end,p),!t.extend&&g>c&&(p=c,c=g,g=p),p=df(a,g);var N=df(a,c);p&&N&&(t.rangeCount!==1||t.anchorNode!==p.node||t.anchorOffset!==p.offset||t.focusNode!==N.node||t.focusOffset!==N.offset)&&(s=s.createRange(),s.setStart(p.node,p.offset),t.removeAllRanges(),g>c?(t.addRange(s),t.extend(N.node,N.offset)):(s.setEnd(N.node,N.offset),t.addRange(s)))}}for(s=[],t=a;t=t.parentNode;)t.nodeType===1&&s.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<s.length;a++)t=s[a],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var l1=m&&"documentMode"in document&&11>=document.documentMode,is=null,Nc=null,fi=null,Pc=!1;function pf(t,s,a){var c=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Pc||is==null||is!==wo(c)||(c=is,"selectionStart"in c&&jc(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),fi&&pi(fi,c)||(fi=c,c=zo(Nc,"onSelect"),0<c.length&&(s=new fc("onSelect","select",null,s,a),t.push({event:s,listeners:c}),s.target=is)))}function Fo(t,s){var a={};return a[t.toLowerCase()]=s.toLowerCase(),a["Webkit"+t]="webkit"+s,a["Moz"+t]="moz"+s,a}var os={animationend:Fo("Animation","AnimationEnd"),animationiteration:Fo("Animation","AnimationIteration"),animationstart:Fo("Animation","AnimationStart"),transitionend:Fo("Transition","TransitionEnd")},kc={},ff={};m&&(ff=document.createElement("div").style,"AnimationEvent"in window||(delete os.animationend.animation,delete os.animationiteration.animation,delete os.animationstart.animation),"TransitionEvent"in window||delete os.transitionend.transition);function Oo(t){if(kc[t])return kc[t];if(!os[t])return t;var s=os[t],a;for(a in s)if(s.hasOwnProperty(a)&&a in ff)return kc[t]=s[a];return t}var hf=Oo("animationend"),gf=Oo("animationiteration"),xf=Oo("animationstart"),yf=Oo("transitionend"),vf=new Map,wf="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 Gn(t,s){vf.set(t,s),d(s,[t])}for(var Cc=0;Cc<wf.length;Cc++){var Sc=wf[Cc],c1=Sc.toLowerCase(),d1=Sc[0].toUpperCase()+Sc.slice(1);Gn(c1,"on"+d1)}Gn(hf,"onAnimationEnd"),Gn(gf,"onAnimationIteration"),Gn(xf,"onAnimationStart"),Gn("dblclick","onDoubleClick"),Gn("focusin","onFocus"),Gn("focusout","onBlur"),Gn(yf,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),d("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),d("onSelect","focusout contextmenu dragend focu
37sin keydown keyup mousedown mouseup selectionchange".split(" ")),d("onBeforeInput",["compositionend","keypress","textInput","paste"]),d("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),d("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hi="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(" "),u1=new Set("cancel close invalid load scroll toggle".split(" ").concat(hi));function bf(t,s,a){var c=t.type||"unknown-event";t.currentTarget=a,cb(c,s,void 0,t),t.currentTarget=null}function jf(t,s){s=(s&4)!==0;for(var a=0;a<t.length;a++){var c=t[a],p=c.event;c=c.listeners;e:{var g=void 0;if(s)for(var N=c.length-1;0<=N;N--){var E=c[N],A=E.instance,_=E.currentTarget;if(E=E.listener,A!==g&&p.isPropagationStopped())break e;bf(p,E,_),g=A}else for(N=0;N<c.length;N++){if(E=c[N],A=E.instance,_=E.currentTarget,E=E.listener,A!==g&&p.isPropagationStopped())break e;bf(p,E,_),g=A}}}if(No)throw t=sc,No=!1,sc=null,t}function De(t,s){var a=s[Lc];a===void 0&&(a=s[Lc]=new Set);var c=t+"__bubble";a.has(c)||(Nf(s,t,2,!1),a.add(c))}function Ec(t,s,a){var c=0;s&&(c|=4),Nf(a,t,c,s)}var Vo="_reactListening"+Math.random().toString(36).slice(2);function gi(t){if(!t[Vo]){t[Vo]=!0,o.forEach(function(a){a!=="selectionchange"&&(u1.has(a)||Ec(a,!1,t),Ec(a,!0,t))});var s=t.nodeType===9?t:t.ownerDocument;s===null||s[Vo]||(s[Vo]=!0,Ec("selectionchange",!1,s))}}function Nf(t,s,a,c){switch(Hp(s)){case 1:var p=kb;break;case 4:p=Cb;break;default:p=uc}a=p.bind(null,s,a,t),p=void 0,!rc||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(p=!0),c?p!==void 0?t.addEventListener(s,a,{capture:!0,passive:p}):t.addEventListener(s,a,!0):p!==void 0?t.addEventListener(s,a,{passive:p}):t.addEventListener(s,a,!1)}function Ac(t,s,a,c,p){var g=c;if((s&1)===0&&(s&2)===0&&c!==null)e:for(;;){if(c===null)return;var N=c.tag;if(N===3||N===4){var E=c.stateNode.containerInfo;if(E===p||E.nodeType===8&&E.parentNode===p)break;if(N===4)for(N=c.return;N!==null;){var A=N.tag;if((A===3||A===4)&&(A=N.stateNode.containerInfo,A===p||A.nodeType===8&&A.parentNode===p))return;N=N.return}for(;E!==null;){if(N=wr(E),N===null)return;if(A=N.tag,A===5||A===6){c=g=N;continue e}E=E.parentNode}}c=c.return}Sp(function(){var _=g,H=ec(a),G=[];e:{var B=vf.get(t);if(B!==void 0){var Z=fc,ee=t;switch(t){case"keypress":if(Do(a)===0)break e;case"keydown":case"keyup":Z=zb;break;case"focusin":ee="focus",Z=xc;break;case"focusout":ee="blur",Z=xc;break;case"beforeblur":case"afterblur":Z=xc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=Kp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=Ab;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=Ub;break;case hf:case gf:case xf:Z=Ib;break;case yf:Z=Gb;break;case"scroll":Z=Sb;break;case"wheel":Z=Kb;break;case"copy":case"cut":case"paste":Z=Db;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=Xp}var se=(s&4)!==0,Ye=!se&&t==="scroll",L=se?B!==null?B+"Capture":null:B;se=[];for(var R=_,W;R!==null;){W=R;var q=W.stateNode;if(W.tag===5&&q!==null&&(W=q,L!==null&&(q=Zs(R,L),q!=null&&se.push(xi(R,q,W)))),Ye)break;R=R.return}0<se.length&&(B=new Z(B,ee,null,a,H),G.push({event:B,listeners:se}))}}if((s&7)===0){e:{if(B=t==="mouseover"||t==="pointerover",Z=t==="mouseout"||t==="pointerout",B&&a!==Jl&&(ee=a.relatedTarget||a.fromElement)&&(wr(ee)||ee[Pn]))break e;if((Z||B)&&(B=H.window===H?H:(B=H.ownerDocument)?B.defaultView||B.parentWindow:window,Z?(ee=a.relatedTarget||a.toElement,Z=_,ee=ee?wr(ee):null,ee!==null&&(Ye=vr(ee),ee!==Ye||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(Z=null,ee=_),Z!==ee)){if(se=Kp,q="onMouseLeave",L="onMouseEnter",R="mouse",(t==="pointerout"||t==="pointerover")&&(se=Xp,q="onPointerLeave",L="onPointerEnter",R="pointer"),Ye=Z==null?B:cs(Z),W=ee==null?B:cs(ee),B=new se(q,R+"leave",Z,a,H),B.target=Ye,B.relatedTarget=W,q=null,wr(H)===_&&(se=new se(L,R+"enter",ee,a,H),se.target=W,se.relatedTarget=Ye,q=se),Ye=q,Z&&ee)t:{for(se=Z,L=ee,R=0,W=se;W;W=as(W))R++;for(W=0,q=L;q;q=as(q))W++;for(;0<R-W;)se=as(se),R--;for(;0<W-R;)L=as(L),W--;for(;R--;){if(se===L||L!==null&&se===L.alternate)break t;se=as(se),L=as(L)}se=null}else se=null;
vendor: 7,723 bytes, lines 37-38
37Z!==null&&Pf(G,B,Z,se,!1),ee!==null&&Ye!==null&&Pf(G,Ye,ee,se,!0)}}e:{if(B=_?cs(_):window,Z=B.nodeName&&B.nodeName.toLowerCase(),Z==="select"||Z==="input"&&B.type==="file")var ae=t1;else if(nf(B))if(sf)ae=i1;else{ae=r1;var ce=n1}else(Z=B.nodeName)&&Z.toLowerCase()==="input"&&(B.type==="checkbox"||B.type==="radio")&&(ae=s1);if(ae&&(ae=ae(t,_))){rf(G,ae,a,H);break e}ce&&ce(t,B,_),t==="focusout"&&(ce=B._wrapperState)&&ce.controlled&&B.type==="number"&&Kl(B,"number",B.value)}switch(ce=_?cs(_):window,t){case"focusin":(nf(ce)||ce.contentEditable==="true")&&(is=ce,Nc=_,fi=null);break;case"focusout":fi=Nc=is=null;break;case"mousedown":Pc=!0;break;case"contextmenu":case"mouseup":case"dragend":Pc=!1,pf(G,a,H);break;case"selectionchange":if(l1)break;case"keydown":case"keyup":pf(G,a,H)}var de;if(vc)e:{switch(t){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else ss?ef(t,a)&&(fe="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(fe="onCompositionStart");fe&&(Qp&&a.locale!=="ko"&&(ss||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&ss&&(de=Gp()):(Hn=H,pc="value"in Hn?Hn.value:Hn.textContent,ss=!0)),ce=zo(_,fe),0<ce.length&&(fe=new Yp(fe,t,null,a,H),G.push({event:fe,listeners:ce}),de?fe.data=de:(de=tf(a),de!==null&&(fe.data=de)))),(de=Xb?Qb(t,a):Zb(t,a))&&(_=zo(_,"onBeforeInput"),0<_.length&&(H=new Yp("onBeforeInput","beforeinput",null,a,H),G.push({event:H,listeners:_}),H.data=de))}jf(G,s)})}function xi(t,s,a){return{instance:t,listener:s,currentTarget:a}}function zo(t,s){for(var a=s+"Capture",c=[];t!==null;){var p=t,g=p.stateNode;p.tag===5&&g!==null&&(p=g,g=Zs(t,a),g!=null&&c.unshift(xi(t,g,p)),g=Zs(t,s),g!=null&&c.push(xi(t,g,p))),t=t.return}return c}function as(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Pf(t,s,a,c,p){for(var g=s._reactName,N=[];a!==null&&a!==c;){var E=a,A=E.alternate,_=E.stateNode;if(A!==null&&A===c)break;E.tag===5&&_!==null&&(E=_,p?(A=Zs(a,g),A!=null&&N.unshift(xi(a,A,E))):p||(A=Zs(a,g),A!=null&&N.push(xi(a,A,E)))),a=a.return}N.length!==0&&t.push({event:s,listeners:N})}var m1=/\r\n?/g,p1=/\u0000|\uFFFD/g;function kf(t){return(typeof t=="string"?t:""+t).replace(m1,` 38`).replace(p1,"")}function $o(t,s,a){if(s=kf(s),kf(t)!==s&&a)throw Error(i(425))}function Bo(){}var Tc=null,Rc=null;function Ic(t,s){return t==="textarea"||t==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Mc=typeof setTimeout=="function"?setTimeout:void 0,f1=typeof clearTimeout=="function"?clearTimeout:void 0,Cf=typeof Promise=="function"?Promise:void 0,h1=typeof queueMicrotask=="function"?queueMicrotask:typeof Cf<"u"?function(t){return Cf.resolve(null).then(t).catch(g1)}:Mc;function g1(t){setTimeout(function(){throw t})}function Dc(t,s){var a=s,c=0;do{var p=a.nextSibling;if(t.removeChild(a),p&&p.nodeType===8)if(a=p.data,a==="/$"){if(c===0){t.removeChild(p),ai(s);return}c--}else a!=="$"&&a!=="$?"&&a!=="$!"||c++;a=p}while(a);ai(s)}function qn(t){for(;t!=null;t=t.nextSibling){var s=t.nodeType;if(s===1||s===3)break;if(s===8){if(s=t.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return t}function Sf(t){t=t.previousSibling;for(var s=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"){if(s===0)return t;s--}else a==="/$"&&s++}t=t.previousSibling}return null}var ls=Math.random().toString(36).slice(2),un="__reactFiber$"+ls,yi="__reactProps$"+ls,Pn="__reactContainer$"+ls,Lc="__reactEvents$"+ls,x1="__reactListeners$"+ls,y1="__reactHandles$"+ls;function wr(t){var s=t[un];if(s)return s;for(var a=t.parentNode;a;){if(s=a[Pn]||a[un]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(t=Sf(t);t!==null;){if(a=t[un])return a;t=Sf(t)}return s}t=a,a=t.parentNode}return null}function vi(t){return t=t[un]||t[Pn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function cs(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(i(33))}function Uo(t){return t[yi]||null}var Wc=[],ds=-1;function Kn(t){return{current:t}}function Le(t){0>ds||(t.current=Wc[ds],Wc[ds]=null,ds--)}function Me(t,s){ds++,Wc[ds]=t.current,t.current=s}var Yn={},gt=Kn(Yn),Nt=Kn(!1),br=Yn;function us(t,s){var a=t.type.contextTypes;if(!a)return Yn;var c=t.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===s)return c.__reactInternalMemoizedMaskedChildContext;var p={},g;for(g in a)p[g]=s[g];return c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=s,t.__reactInternalMemoizedMaskedChildContext=p),p}function Pt(t){return t=t.childContextTypes,t!=null}function Ho(){Le(Nt),Le(gt)}function Ef(t,s,a){if(gt.current!==Yn)throw Error(i(168));Me(gt,s),Me(Nt,a)}function Af(t,s,a){var c=t.stateNode;if(s=s.childContextTypes,typeof c.getChildContext!="function")return a;c=c.getChildContext();for(var p in c)if(!(p in s))throw Error(i(108,ge(t)||"Unknown",p));return K({},a,c)}function Go(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Yn,br=gt.current,Me(gt,t),Me(Nt,Nt.current),!0}function Tf(t,s,a){var c=t.stateNode;if(!c)throw Error(i(169));a?(t=Af(t,s,br),c.__reactInternalMemoizedMergedChildContext=t,Le(Nt),Le(gt),Me(gt,t)):Le(Nt),Me(Nt,a)}var kn=null,qo=!1,_c=!1;function Rf(t){kn===null?kn=[t]:kn.push(t)}function v1(t){qo=!0,Rf(t)}function Xn(){if(!_c&&kn!==null){_c=!0;var t=0,s=Te;try{var a=kn;for(Te=1;t<a.length;t++){var c=a[t];do c=c(!0);while(c!==null)}kn=null,qo=!1}catch(p){throw kn!==null&&(kn=kn.slice(t+1)),Ip(ic,Xn),p}finally{Te=s,_c=!1}}return null}var ms=[],ps=0,Ko=null,Yo=0,Ft=[],Ot=0,jr=null,Cn=1,Sn="";function Nr(t,s){ms[ps++]=Yo,ms[ps++]=Ko,Ko=t,Yo=s}function If(t,s,a){Ft[Ot++]=Cn,Ft[Ot++]=Sn,Ft[Ot++]=jr,jr=t;var c=Cn;t=Sn;var p=32-qt(c)-1;c&=~(1<<p),a+=1;var g=32-qt(s)+p;if(30<g){var N=p-p%5;g=(c&(1<<N)-1).toString(32),c>>=N,p-=N,Cn=1<<32-qt(s)+p|a<<p|c,Sn=g+t}else Cn=1<<g|a<<p|c,Sn=t}function Fc(t){t.return!==null&&(Nr(t,1),If(t,1,0))}function Oc(t){for(;t===Ko;)Ko=ms[--ps],ms[ps]=null,Yo=ms[--ps],ms[ps]=null;for(;t===jr;)jr=Ft[--Ot],Ft[Ot]=null,Sn=Ft[--Ot],Ft[Ot]=null,Cn=Ft[--Ot],Ft[Ot]=null}var Lt=null,Wt=null,We=!1,Yt=null;function Mf(t,s){var a=Bt(5,null,null,0);a.elementType="DELETED",a.stateNode=s,a.return=t,s=t.deletions,s===null?(t.deletions=[a],t.flags|=16):s.push(a)}function Df(t,s){switch(t.tag){case 5:var a=t.type;return s=s.nodeType!==1||a.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(t.stateNode=s,Lt=t,Wt=qn(s.firstChild),!0):!1;case 6:return s=t.pendingProps===""||s.nodeType!==3?null:s,s!==null?(t.stateNode=s,Lt=t,Wt=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=jr!==null?{id:Cn,overflow:Sn}:null,t.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=Bt(18,null,null,0),a.stateNode=s,a.return=t,t.child=a,Lt=t,Wt=null,!0):!1;default:return!1}}function Vc(t){return(t.mode&1)!==0&&(t.flags&128)===0}function zc(t){if(We){var s=Wt;if(s){var a=s;if(!Df(t,s)){if(Vc(t))throw Error(i(418));s=qn(a.nextSibling);var c=Lt;s&&Df(t,s)?Mf(c,a):(t.flags=t.flags&-4097|2,We=!1,Lt=t)}}else{if(Vc(t))throw Error(i(418));t.flags=t.flags&-4097|2,We=!1,Lt=t}}}function Lf(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Lt=t}function Xo(t){if(t!==Lt)return!1;if(!We)return Lf(t),We=!0,!1;var s;if((s=t.tag!==3)&&!(s=t.tag!==5)&&(s=t.type,s=s!=="head"&&s!=="body"&&!Ic(t.type,t.memoizedProps)),s&&(s=Wt)){if(Vc(t))throw Wf(),Error(i(418));for(;s;)Mf(t,s),s=qn(s.nextSibling)}if(Lf(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));e:{for(t=t.nextSibling,s=0;t;
vendor: 4,437 bytes, line 38
38){if(t.nodeType===8){var a=t.data;if(a==="/$"){if(s===0){Wt=qn(t.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}t=t.nextSibling}Wt=null}}else Wt=Lt?qn(t.stateNode.nextSibling):null;return!0}function Wf(){for(var t=Wt;t;)t=qn(t.nextSibling)}function fs(){Wt=Lt=null,We=!1}function $c(t){Yt===null?Yt=[t]:Yt.push(t)}var w1=O.ReactCurrentBatchConfig;function wi(t,s,a){if(t=a.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(i(309));var c=a.stateNode}if(!c)throw Error(i(147,t));var p=c,g=""+t;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===g?s.ref:(s=function(N){var E=p.refs;N===null?delete E[g]:E[g]=N},s._stringRef=g,s)}if(typeof t!="string")throw Error(i(284));if(!a._owner)throw Error(i(290,t))}return t}function Qo(t,s){throw t=Object.prototype.toString.call(s),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":t))}function _f(t){var s=t._init;return s(t._payload)}function Ff(t){function s(L,R){if(t){var W=L.deletions;W===null?(L.deletions=[R],L.flags|=16):W.push(R)}}function a(L,R){if(!t)return null;for(;R!==null;)s(L,R),R=R.sibling;return null}function c(L,R){for(L=new Map;R!==null;)R.key!==null?L.set(R.key,R):L.set(R.index,R),R=R.sibling;return L}function p(L,R){return L=sr(L,R),L.index=0,L.sibling=null,L}function g(L,R,W){return L.index=W,t?(W=L.alternate,W!==null?(W=W.index,W<R?(L.flags|=2,R):W):(L.flags|=2,R)):(L.flags|=1048576,R)}function N(L){return t&&L.alternate===null&&(L.flags|=2),L}function E(L,R,W,q){return R===null||R.tag!==6?(R=Md(W,L.mode,q),R.return=L,R):(R=p(R,W),R.return=L,R)}function A(L,R,W,q){var ae=W.type;return ae===z?H(L,R,W.props.children,q,W.key):R!==null&&(R.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ie&&_f(ae)===R.type)?(q=p(R,W.props),q.ref=wi(L,R,W),q.return=L,q):(q=ba(W.type,W.key,W.props,null,L.mode,q),q.ref=wi(L,R,W),q.return=L,q)}function _(L,R,W,q){return R===null||R.tag!==4||R.stateNode.containerInfo!==W.containerInfo||R.stateNode.implementation!==W.implementation?(R=Dd(W,L.mode,q),R.return=L,R):(R=p(R,W.children||[]),R.return=L,R)}function H(L,R,W,q,ae){return R===null||R.tag!==7?(R=Rr(W,L.mode,q,ae),R.return=L,R):(R=p(R,W),R.return=L,R)}function G(L,R,W){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Md(""+R,L.mode,W),R.return=L,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case M:return W=ba(R.type,R.key,R.props,null,L.mode,W),W.ref=wi(L,null,R),W.return=L,W;case U:return R=Dd(R,L.mode,W),R.return=L,R;case Ie:var q=R._init;return G(L,q(R._payload),W)}if(Ys(R)||re(R))return R=Rr(R,L.mode,W,null),R.return=L,R;Qo(L,R)}return null}function B(L,R,W,q){var ae=R!==null?R.key:null;if(typeof W=="string"&&W!==""||typeof W=="number")return ae!==null?null:E(L,R,""+W,q);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case M:return W.key===ae?A(L,R,W,q):null;case U:return W.key===ae?_(L,R,W,q):null;case Ie:return ae=W._init,B(L,R,ae(W._payload),q)}if(Ys(W)||re(W))return ae!==null?null:H(L,R,W,q,null);Qo(L,W)}return null}function Z(L,R,W,q,ae){if(typeof q=="string"&&q!==""||typeof q=="number")return L=L.get(W)||null,E(R,L,""+q,ae);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case M:return L=L.get(q.key===null?W:q.key)||null,A(R,L,q,ae);case U:return L=L.get(q.key===null?W:q.key)||null,_(R,L,q,ae);case Ie:var ce=q._init;return Z(L,R,W,ce(q._payload),ae)}if(Ys(q)||re(q))return L=L.get(W)||null,H(R,L,q,ae,null);Qo(R,q)}return null}function ee(L,R,W,q){for(var ae=null,ce=null,de=R,fe=R=0,at=null;de!==null&&fe<W.length;fe++){de.index>fe?(at=de,de=null):at=de.sibling;var Ce=B(L,de,W[fe],q);if(Ce===null){de===null&&(de=at);break}t&&de&&Ce.alternate===null&&s(L,de),R=g(Ce,R,fe),ce===null?ae=Ce:ce.sibling=Ce,ce=Ce,de=at}if(fe===W.length)return a(L,de),We&&Nr(L,fe),ae;if(de===null){for(;fe<W.length;fe++)de=G(L,W[fe],q),de!==null&&(R=g(de,R,fe),ce===null?ae=de:ce.sibling=de,ce=de);return We&&Nr(L,fe),ae}for(de=c(L,de);fe<W.length;fe++)at=Z(de,L,fe,W[fe],q),at!==null&&(t&&at.alternate!==null&&de.delete(at.key===null?fe:at.key),R=g(at,R,fe),ce===null?ae=at:ce.sibling=at,ce=at);return t&&de.forEach(function(ir){return s(L,ir)}),We&&Nr(L,fe),ae}function se(L,R,W,q){var ae=re(W);if(typeof ae!="function")throw Error(i(150));if(W=ae.call(W),W==null)throw Error(i(151));for(var ce=ae=null,de=R,fe=R=0,at=null,Ce=W.next();de!==null&&!Ce.done;fe++,Ce=W.next()){de.index>
vendor: 72,806 bytes, lines 38-40
38fe?(at=de,de=null):at=de.sibling;var ir=B(L,de,Ce.value,q);if(ir===null){de===null&&(de=at);break}t&&de&&ir.alternate===null&&s(L,de),R=g(ir,R,fe),ce===null?ae=ir:ce.sibling=ir,ce=ir,de=at}if(Ce.done)return a(L,de),We&&Nr(L,fe),ae;if(de===null){for(;!Ce.done;fe++,Ce=W.next())Ce=G(L,Ce.value,q),Ce!==null&&(R=g(Ce,R,fe),ce===null?ae=Ce:ce.sibling=Ce,ce=Ce);return We&&Nr(L,fe),ae}for(de=c(L,de);!Ce.done;fe++,Ce=W.next())Ce=Z(de,L,fe,Ce.value,q),Ce!==null&&(t&&Ce.alternate!==null&&de.delete(Ce.key===null?fe:Ce.key),R=g(Ce,R,fe),ce===null?ae=Ce:ce.sibling=Ce,ce=Ce);return t&&de.forEach(function(J1){return s(L,J1)}),We&&Nr(L,fe),ae}function Ye(L,R,W,q){if(typeof W=="object"&&W!==null&&W.type===z&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case M:e:{for(var ae=W.key,ce=R;ce!==null;){if(ce.key===ae){if(ae=W.type,ae===z){if(ce.tag===7){a(L,ce.sibling),R=p(ce,W.props.children),R.return=L,L=R;break e}}else if(ce.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ie&&_f(ae)===ce.type){a(L,ce.sibling),R=p(ce,W.props),R.ref=wi(L,ce,W),R.return=L,L=R;break e}a(L,ce);break}else s(L,ce);ce=ce.sibling}W.type===z?(R=Rr(W.props.children,L.mode,q,W.key),R.return=L,L=R):(q=ba(W.type,W.key,W.props,null,L.mode,q),q.ref=wi(L,R,W),q.return=L,L=q)}return N(L);case U:e:{for(ce=W.key;R!==null;){if(R.key===ce)if(R.tag===4&&R.stateNode.containerInfo===W.containerInfo&&R.stateNode.implementation===W.implementation){a(L,R.sibling),R=p(R,W.children||[]),R.return=L,L=R;break e}else{a(L,R);break}else s(L,R);R=R.sibling}R=Dd(W,L.mode,q),R.return=L,L=R}return N(L);case Ie:return ce=W._init,Ye(L,R,ce(W._payload),q)}if(Ys(W))return ee(L,R,W,q);if(re(W))return se(L,R,W,q);Qo(L,W)}return typeof W=="string"&&W!==""||typeof W=="number"?(W=""+W,R!==null&&R.tag===6?(a(L,R.sibling),R=p(R,W),R.return=L,L=R):(a(L,R),R=Md(W,L.mode,q),R.return=L,L=R),N(L)):a(L,R)}return Ye}var hs=Ff(!0),Of=Ff(!1),Zo=Kn(null),Jo=null,gs=null,Bc=null;function Uc(){Bc=gs=Jo=null}function Hc(t){var s=Zo.current;Le(Zo),t._currentValue=s}function Gc(t,s,a){for(;t!==null;){var c=t.alternate;if((t.childLanes&s)!==s?(t.childLanes|=s,c!==null&&(c.childLanes|=s)):c!==null&&(c.childLanes&s)!==s&&(c.childLanes|=s),t===a)break;t=t.return}}function xs(t,s){Jo=t,Bc=gs=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&s)!==0&&(kt=!0),t.firstContext=null)}function Vt(t){var s=t._currentValue;if(Bc!==t)if(t={context:t,memoizedValue:s,next:null},gs===null){if(Jo===null)throw Error(i(308));gs=t,Jo.dependencies={lanes:0,firstContext:t}}else gs=gs.next=t;return s}var Pr=null;function qc(t){Pr===null?Pr=[t]:Pr.push(t)}function Vf(t,s,a,c){var p=s.interleaved;return p===null?(a.next=a,qc(s)):(a.next=p.next,p.next=a),s.interleaved=a,En(t,c)}function En(t,s){t.lanes|=s;var a=t.alternate;for(a!==null&&(a.lanes|=s),a=t,t=t.return;t!==null;)t.childLanes|=s,a=t.alternate,a!==null&&(a.childLanes|=s),a=t,t=t.return;return a.tag===3?a.stateNode:null}var Qn=!1;function Kc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zf(t,s){t=t.updateQueue,s.updateQueue===t&&(s.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function An(t,s){return{eventTime:t,lane:s,tag:0,payload:null,callback:null,next:null}}function Zn(t,s,a){var c=t.updateQueue;if(c===null)return null;if(c=c.shared,(Pe&2)!==0){var p=c.pending;return p===null?s.next=s:(s.next=p.next,p.next=s),c.pending=s,En(t,a)}return p=c.interleaved,p===null?(s.next=s,qc(c)):(s.next=p.next,p.next=s),c.interleaved=s,En(t,a)}function ea(t,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var c=s.lanes;c&=t.pendingLanes,a|=c,s.lanes=a,lc(t,a)}}function $f(t,s){var a=t.updateQueue,c=t.alternate;if(c!==null&&(c=c.updateQueue,a===c)){var p=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var N={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?p=g=N:g=g.next=N,a=a.next}while(a!==null);g===null?p=g=s:g=g.next=s}else p=g=s;a={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:c.shared,effects:c.effects},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=s:t.next=s,a.lastBaseUpdate=s}function ta(t,s,a,c){var p=t.updateQueue;Qn=!1;var g=p.firstBaseUpdate,N=p.lastBaseUpdate,E=p.shared.pending;if(E!==null){p.shared.pending=null;var A=E,_=A.next;A.next=null,N===null?g=_:N.next=_,N=A;var H=t.alternate;H!==null&&(H=H.updateQueue,E=H.lastBaseUpdate,E!==N&&(E===null?H.firstBaseUpdate=_:E.next=_,H.lastBaseUpdate=A))}if(g!==null){var G=p.baseState;N=0,H=_=A=null,E=g;do{var B=E.lane,Z=E.eventTime;if((c&B)===B){H!==null&&(H=H.next={eventTime:Z,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var ee=t,se=E;switch(B=s,Z=a,se.tag){case 1:if(ee=se.payload,typeof ee=="function"){G=ee.call(Z,G,B);break e}G=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=se.payload,B=typeof ee=="function"?ee.call(Z,G,B):ee,B==null)break e;G=K({},G,B);break e;case 2:Qn=!0}}E.callback!==null&&E.lane!==0&&(t.flags|=64,B=p.effects,B===null?p.effects=[E]:B.push(E))}else Z={eventTime:Z,lane:B,tag:E.tag,payload:E.payload,callback:E.callback,next:null},H===null?(_=H=Z,A=G):H=H.next=Z,N|=B;if(E=E.next,E===null){if(E=p.shared.pending,E===null)break;B=E,E=B.next,B.next=null,p.lastBaseUpdate=B,p.shared.pending=null}}while(!0);if(H===null&&(A=G),p.baseState=A,p.firstBaseUpdate=_,p.lastBaseUpdate=H,s=p.shared.interleaved,s!==null){p=s;do N|=p.lane,p=p.next;while(p!==s)}else g===null&&(p.shared.lanes=0);Sr|=N,t.lanes=N,t.memoizedState=G}}function Bf(t,s,a){if(t=s.effects,s.effects=null,t!==null)for(s=0;s<t.length;s++){var c=t[s],p=c.callback;if(p!==null){if(c.callback=null,c=a,typeof p!="function")throw Error(i(191,p));p.call(c)}}}var bi={},mn=Kn(bi),ji=Kn(bi),Ni=Kn(bi);function kr(t){if(t===bi)throw Error(i(174));return t}function Yc(t,s){switch(Me(Ni,s),Me(ji,t),Me(mn,bi),t=s.nodeType,t){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:Xl(null,"");break;default:t=t===8?s.parentNode:s,s=t.namespaceURI||null,t=t.tagName,s=Xl(s,t)}Le(mn),Me(mn,s)}function ys(){Le(mn),Le(ji),Le(Ni)}function Uf(t){kr(Ni.current);var s=kr(mn.current),a=Xl(s,t.type);s!==a&&(Me(ji,t),Me(mn,a))}function Xc(t){ji.current===t&&(Le(mn),Le(ji))}var Fe=Kn(0);function na(t){for(var s=t;s!==null;){if(s.tag===13){var a=s.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break;for(;s.sibling===null;){if(s.return===null||s.return===t)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Qc=[];function Zc(){for(var t=0;t<Qc.length;t++)Qc[t]._workInProgressVersionPrimary=null;Qc.length=0}var ra=O.ReactCurrentDispatcher,Jc=O.ReactCurrentBatchConfig,Cr=0,Oe=null,tt=null,it=null,sa=!1,Pi=!1,ki=0,b1=0;function xt(){throw Error(i(321))}function ed(t,s){if(s===null)return!1;for(var a=0;a<s.length&&a<t.length;a++)if(!Kt(t[a],s[a]))return!1;return!0}function td(t,s,a,c,p,g){if(Cr=g,Oe=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,ra.current=t===null||t.memoizedState===null?k1:C1,t=a(c,p),Pi){g=0;do{if(Pi=!1,ki=0,25<=g)throw Error(i(301));g+=1,it=tt=null,s.updateQueue=null,ra.current=S1,t=a(c,p)}while(Pi)}if(ra.current=aa,s=tt!==null&&tt.next!==null,Cr=0,it=tt=Oe=null,sa=!1,s)throw Error(i(300));return t}function nd(){var t=ki!==0;return ki=0,t}function pn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?Oe.memoizedState=it=t:it=it.next=t,it}function zt(){if(tt===null){var t=Oe.alternate;t=t!==null?t.memoizedState:null}else t=tt.next;var s=it===null?Oe.memoizedState:it.next;if(s!==null)it=s,tt=t;else{if(t===null)throw Error(i(310));tt=t,t={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},it===null?Oe.memoizedState=it=t:it=it.next=t}return it}function Ci(t,s){return typeof s=="function"?s(t):s}function rd(t){var s=zt(),a=s.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=t;var c=tt,p=c.baseQueue,g=a.pending;if(g!==null){if(p!==null){var N=p.next;p.next=g.next,g.next=N}c.baseQueue=p=g,a.pending=null}if(p!==null){g=p.next,c=c.baseState;var E=N=null,A=null,_=g;do{var H=_.lane;if((Cr&H)===H)A!==null&&(A=A.next={lane:0,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),c=_.hasEagerState?_.eagerState:t(c,_.action);else{var G={lane:H,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null};A===null?(E=A=G,N=c):A=A.next=G,Oe.lanes|=H,Sr|=H}_=_.next}while(_!==null&&_!==g);A===null?N=c:A.next=E,Kt(c,s.memoizedState)||(kt=!0),s.memoizedState=c,s.baseState=N,s.baseQueue=A,a.lastRenderedState=c}if(t=a.interleaved,t!==null){p=t;do g=p.lane,Oe.lanes|=g,Sr|=g,p=p.next;while(p!==t)}else p===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}function sd(t){var s=zt(),a=s.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=t;var c=a.dispatch,p=a.pending,g=s.memoizedState;if(p!==null){a.pending=null;var N=p=p.next;do g=t(g,N.action),N=N.next;while(N!==p);Kt(g,s.memoizedState)||(kt=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),a.lastRenderedState=g}return[g,c]}function Hf(){}function Gf(t,s){var a=Oe,c=zt(),p=s(),g=!Kt(c.memoizedState,p);if(g&&(c.memoizedState=p,kt=!0),c=c.queue,id(Yf.bind(null,a,c,t),[t]),c.getSnapshot!==s||g||it!==null&&it.memoizedState.tag&1){if(a.flags|=2048,Si(9,Kf.bind(null,a,c,p,s),void 0,null),ot===null)throw Error(i(349));(Cr&30)!==0||qf(a,s,p)}return p}function qf(t,s,a){t.flags|=16384,t={getSnapshot:s,value:a},s=Oe.updateQueue,s===null?(s={lastEffect:null,stores:null},Oe.updateQueue=s,s.stores=[t]):(a=s.stores,a===null?s.stores=[t]:a.push(t))}function Kf(t,s,a,c){s.value=a,s.getSnapshot=c,Xf(s)&&Qf(t)}function Yf(t,s,a){return a(function(){Xf(s)&&Qf(t)})}function Xf(t){var s=t.getSnapshot;t=t.value;try{var a=s();return!Kt(t,a)}catch{return!0}}function Qf(t){var s=En(t,1);s!==null&&Jt(s,t,1,-1)}function Zf(t){var s=pn();return typeof t=="function"&&(t=t()),s.memoizedState=s.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:t},s.queue=t,t=t.dispatch=P1.bind(null,Oe,t),[s.memoizedState,t]}function Si(t,s,a,c){return t={tag:t,create:s,destroy:a,deps:c,next:null},s=Oe.updateQueue,s===null?(s={lastEffect:null,stores:null},Oe.updateQueue=s,s.lastEffect=t.next=t):(a=s.lastEffect,a===null?s.lastEffect=t.next=t:(c=a.next,a.next=t,t.next=c,s.lastEffect=t)),t}function Jf(){return zt().memoizedState}function ia(t,s,a,c){var p=pn();Oe.flags|=t,p.memoizedState=Si(1|s,a,void 0,c===void 0?null:c)}function oa(t,s,a,c){var p=zt();c=c===void 0?null:c;var g=void 0;if(tt!==null){var N=tt.memoizedState;if(g=N.destroy,c!==null&&ed(c,N.deps)){p.memoizedState=Si(s,a,g,c);return}}Oe.flags|=t,p.memoizedState=Si(1|s,a,g,c)}function eh(t,s){return ia(8390656,8,t,s)}function id(t,s){return oa(2048,8,t,s)}function th(t,s){return oa(4,2,t,s)}function nh(t,s){return oa(4,4,t,s)}function rh(t,s){if(typeof s=="function")return t=t(),s(t),function(){s(null)};if(s!=null)return t=t(),s.current=t,function(){s.current=null}}function sh(t,s,a){return a=a!=null?a.concat([t]):null,oa(4,4,rh.bind(null,s,t),a)}function od(){}function ih(t,s){var a=zt();s=s===void 0?null:s;var c=a.memoizedState;return c!==null&&s!==null&&ed(s,c[1])?c[0]:(a.memoizedState=[t,s],t)}function oh(t,s){var a=zt();s=s===void 0?null:s;var c=a.memoizedState;return c!==null&&s!==null&&ed(s,c[1])?c[0]:(t=t(),a.memoizedState=[t,s],t)}function ah(t,s,a){return(Cr&21)===0?(t.baseState&&(t.baseState=!1,kt=!0),t.memoizedState=a):(Kt(a,s)||(a=Wp(),Oe.lanes|=a,Sr|=a,t.baseState=!0),s)}function j1(t,s){var a=Te;Te=a!==0&&4>a?a:4,t(!0);var c=Jc.transition;Jc.transition={};try{t(!1),s()}finally{Te=a,Jc.transition=c}}function lh(){return zt().memoizedState}function N1(t,s,a){var c=nr(t);if(a={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null},ch(t))dh(s,a);else if(a=Vf(t,s,a,c),a!==null){var p=bt();Jt(a,t,c,p),uh(a,s,c)}}function P1(t,s,a){var c=nr(t),p={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null};if(ch(t))dh(s,p);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var N=s.lastRenderedState,E=g(N,a);if(p.hasEagerState=!0,p.eagerState=E,Kt(E,N)){var A=s.interleaved;A===null?(p.next=p,qc(s)):(p.next=A.next,A.next=p),s.interleaved=p;return}}catch{}finally{}a=Vf(t,s,p,c),a!==null&&(p=bt(),Jt(a,t,c,p),uh(a,s,c))}}function ch(t){var s=t.alternate;return t===Oe||s!==null&&s===Oe}function dh(t,s){Pi=sa=!0;var a=t.pending;a===null?s.next=s:(s.next=a.next,a.next=s),t.pending=s}function uh(t,s,a){if((a&4194240)!==0){var c=s.lanes;c&=t.pendingLanes,a|=c,s.lanes=a,lc(t,a)}}var aa={readContext:Vt,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},k1={readContext:Vt,useCallback:function(t,s){return pn().memoizedState=[t,s===void 0?null:s],t},useContext:Vt,useEffect:eh,useImperativeHandle:function(t,s,a){return a=a!=null?a.concat([t]):null,ia(4194308,4,rh.bind(null,s,t),a)},useLayoutEffect:function(t,s){return ia(4194308,4,t,s)},useInsertionEffect:function(t,s){return ia(4,2,t,s)},useMemo:function(t,s){var a=pn();return s=s===void 0?null:s,t=t(),a.memoizedState=[t,s],t},useReducer:function(t,s,a){var c=pn();return s=a!==void 0?a(s):s,c.memoizedState=c.baseState=s,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},c.queue=t,t=t.dispatch=N1.bind(null,Oe,t),[c.memoizedState,t]},useRef:function(t){var s=pn();return t={current:t},s.memoizedState=t},useState:Zf,useDebugValue:od,useDeferredValue:function(t){return pn().memoizedState=t},useTransition:function(){var t=Zf(!1),s=t[0];return t=j1.bind(null,t[1]),pn().memoizedState=t,[s,t]},useMutableSource:function(){},useSyncExternalStore:function(t,s,a){var c=Oe,p=pn();if(We){if(a===void 0)throw Error(i(407));a=a()}else{if(a=s(),ot===null)throw Error(i(349));(Cr&30)!==0||qf(c,s,a)}p.memoizedState=a;var g={value:a,getSnapshot:s};return p.queue=g,eh(Yf.bind(null,c,g,t),[t]),c.flags|=2048,Si(9,Kf.bind(null,c,g,a,s),void 0,null),a},useId:function(){var t=pn(),s=ot.identifierPrefix;if(We){var a=Sn,c=Cn;a=(c&~(1<<32-qt(c)-1)).toString(32)+a,s=":"+s+"R"+a,a=ki++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=b1++,s=":"+s+"r"+a.toString(32)+":";return t.memoizedState=s},unstable_isNewReconciler:!1},C1={readContext:Vt,useCallback:ih,useContext:Vt,useEffect:id,useImperativeHandle:sh,useInsertionEffect:th,useLayoutEffect:nh,useMemo:oh,useReducer:rd,useRef:Jf,useState:function(){return rd(Ci)},useDebugValue:od,useDeferredValue:function(t){var s=zt();return ah(s,tt.memoizedState,t)},useTransition:function(){var t=rd(Ci)[0],s=zt().memoizedState;return[t,s]},useMutableSource:Hf,useSyncExternalStore:Gf,useId:lh,unstable_isNewReconciler:!1},S1={readContext:Vt,useCallback:ih,useContext:Vt,useEffect:id,useImperativeHandle:sh,useInsertionEffect:th,useLayoutEffect:nh,useMemo:oh,useReducer:sd,useRef:Jf,useState:function(){return sd(Ci)},useDebugValue:od,useDeferredValue:function(t){var s=zt();return tt===null?s.memoizedState=t:ah(s,tt.memoizedState,t)},useTransition:function(){var t=sd(Ci)[0],s=zt().memoizedState;return[t,s]},useMutableSource:Hf,useSyncExternalStore:Gf,useId:lh,unstable_isNewReconciler:!1};function Xt(t,s){if(t&&t.defaultProps){s=K({},s),t=t.defaultProps;for(var a in t)s[a]===void 0&&(s[a]=t[a]);return s}return s}function ad(t,s,a,c){s=t.memoizedState,a=a(c,s),a=a==null?s:K({},s,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var la={isMounted:function(t){return(t=t._reactInternals)?vr(t)===t:!1},enqueueSetState:function(t,s,a){t=t._reactInternals;var c=bt(),p=nr(t),g=An(c,p);g.payload=s,a!=null&&(g.callback=a),s=Zn(t,g,p),s!==null&&(Jt(s,t,p,c),ea(s,t,p))},enqueueReplaceState:function(t,s,a){t=t._reactInternals;var c=bt(),p=nr(t),g=An(c,p);g.tag=1,g.payload=s,a!=null&&(g.callback=a),s=Zn(t,g,p),s!==null&&(Jt(s,t,p,c),ea(s,t,p))},enqueueForceUpdate:function(t,s){t=t._reactInternals;var a=bt(),c=nr(t),p=An(a,c);p.tag=2,s!=null&&(p.callback=s),s=Zn(t,p,c),s!==null&&(Jt(s,t,c,a),ea(s,t,c))}};function mh(t,s,a,c,p,g,N){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(c,g,N):s.prototype&&s.prototype.isPureReactComponent?!pi(a,c)||!pi(p,g):!0}function ph(t,s,a){var c=!1,p=Yn,g=s.contextType;return typeof g=="object"&&g!==null?g=Vt(g):(p=Pt(s)?br:gt.current,c=s.contextTypes,g=(c=c!=null)?us(t,p):Yn),s=new s(a,g),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=la,t.stateNode=s,s._reactInternals=t,c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=p,t.__reactInternalMemoizedMaskedChildContext=g),s}function fh(t,s,a,c){t=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,c),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,c),s.state!==t&&la.enqueueReplaceState(s,s.state,null)}function ld(t,s,a,c){var p=t.stateNode;p.props=a,p.state=t.memoizedState,p.refs={},Kc(t);var g=s.contextType;typeof g=="object"&&g!==null?p.context=Vt(g):(g=Pt(s)?br:gt.current,p.context=us(t,g)),p.state=t.memoizedState,g=s.getDerivedStateFromProps,typeof g=="function"&&(ad(t,s,g,a),p.state=t.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(s=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),s!==p.state&&la.enqueueReplaceState(p,p.state,null),ta(t,a,p,c),p.state=t.memoizedState),typeof p.componentDidMount=="function"&&(t.flags|=4194308)}function vs(t,s){try{var a="",c=s;do a+=we(c),c=c.return;while(c);var p=a}catch(g){p=` 39Error generating stack: `+g.message+` 40`+g.stack}return{value:t,source:s,stack:p,digest:null}}function cd(t,s,a){return{value:t,source:null,stack:a??null,digest:s??null}}function dd(t,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var E1=typeof WeakMap=="function"?WeakMap:Map;function hh(t,s,a){a=An(-1,a),a.tag=3,a.payload={element:null};var c=s.value;return a.callback=function(){ha||(ha=!0,kd=c),dd(t,s)},a}function gh(t,s,a){a=An(-1,a),a.tag=3;var c=t.type.getDerivedStateFromError;if(typeof c=="function"){var p=s.value;a.payload=function(){return c(p)},a.callback=function(){dd(t,s)}}var g=t.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){dd(t,s),typeof c!="function"&&(er===null?er=new Set([this]):er.add(this));var N=s.stack;this.componentDidCatch(s.value,{componentStack:N!==null?N:""})}),a}function xh(t,s,a){var c=t.pingCache;if(c===null){c=t.pingCache=new E1;var p=new Set;c.set(s,p)}else p=c.get(s),p===void 0&&(p=new Set,c.set(s,p));p.has(a)||(p.add(a),t=$1.bind(null,t,s,a),s.then(t,t))}function yh(t){do{var s;if((s=t.tag===13)&&(s=t.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return t;t=t.return}while(t!==null);return null}function vh(t,s,a,c,p){return(t.mode&1)===0?(t===s?t.flags|=65536:(t.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(s=An(-1,1),s.tag=2,Zn(a,s,1))),a.lanes|=1),t):(t.flags|=65536,t.lanes=p,t)}var A1=O.ReactCurrentOwner,kt=!1;function wt(t,s,a,c){s.child=t===null?Of(s,null,a,c):hs(s,t.child,a,c)}function wh(t,s,a,c,p){a=a.render;var g=s.ref;return xs(s,p),c=td(t,s,a,c,g,p),a=nd(),t!==null&&!kt?(s.updateQueue=t.updateQueue,s.flags&=-2053,t.lanes&=~p,Tn(t,s,p)):(We&&a&&Fc(s),s.flags|=1,wt(t,s,c,p),s.child)}function bh(t,s,a,c,p){if(t===null){var g=a.type;return typeof g=="function"&&!Id(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=g,jh(t,s,g,c,p)):(t=ba(a.type,null,c,s,s.mode,p),t.ref=s.ref,t.return=s,s.child=t)}if(g=t.child,(t.lanes&p)===0){var N=g.memoizedProps;if(a=a.compare,a=a!==null?a:pi,a(N,c)&&t.ref===s.ref)return Tn(t,s,p)}return s.flags|=1,t=sr(g,c),t.ref=s.ref,t.return=s,s.child=t}function jh(t,s,a,c,p){if(t!==null){var g=t.memoizedProps;if(pi(g,c)&&t.ref===s.ref)if(kt=!1,s.pendingProps=c=g,(t.lanes&p)!==0)(t.flags&131072)!==0&&(kt=!0);else return s.lanes=t.lanes,Tn(t,s,p)}return ud(t,s,a,c,p)}function Nh(t,s,a){var c=s.pendingProps,p=c.children,g=t!==null?t.memoizedState:null;if(c.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(bs,_t),_t|=a;else{if((a&1073741824)===0)return t=g!==null?g.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:t,cachePool:null,transitions:null},s.updateQueue=null,Me(bs,_t),_t|=t,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=g!==null?g.baseLanes:a,Me(bs,_t),_t|=c}else g!==null?(c=g.baseLanes|a,s.memoizedState=null):c=a,Me(bs,_t),_t|=c;return wt(t,s,p,a),s.child}function Ph(t,s){var a=s.ref;(t===null&&a!==null||t!==null&&t.ref!==a)&&(s.flags|=512,s.flags|=2097152)}function ud(t,s,a,c,p){var g=Pt(a)?br:gt.current;return g=us(s,g),xs(s,p),a=td(t,s,a,c,g,p),c=nd(),t!==null&&!kt?(s.updateQueue=t.updateQueue,s.flags&=-2053,t.lanes&=~p,Tn(t,s,p)):(We&&c&&Fc(s),s.flags|=1,wt(t,s,a,p),s.child)}function kh(t,s,a,c,p){if(Pt(a)){var g=!0;Go(s)}else g=!1;if(xs(s,p),s.stateNode===null)da(t,s),ph(s,a,c),ld(s,a,c,p),c=!0;else if(t===null){var N=s.stateNode,E=s.memoizedProps;N.props=E;var A=N.context,_=a.contextType;typeof _=="object"&&_!==null?_=Vt(_):(_=Pt(a)?br:gt.current,_=us(s,_));var H=a.getDerivedStateFromProps,G=typeof H=="function"||typeof N.getSnapshotBeforeUpdate=="function";G||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(E!==c||A!==_)&&fh(s,N,c,_),Qn=!1;var B=s.memoizedState;N.state=B,ta(s,c,N,p),A=s.memoizedState,E!==c||B!==A||Nt.current||Qn?(typeof H=="function"&&(ad(s,a,H,c),A=s.memoizedState),(E=Qn||mh(s,a,E,c,B,A,_))?(G||typeof N.UNSAFE_componentWillMount!="function"&&typeof N.componentWillMount!="function"||(typeof N.componentWillMount=="function"&&N.componentWillMount(),typeof N.UNSAFE_componentWillMount=="function"&&N.UNSAFE_componentWillMount()),typeof N.componentDidMount=="function"&&(s.flags|=4194308)):(typeof N.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=c,s.memoizedState=A),N.props=c,N.state=A,N.context=_,c=E):(typeof N.componentDidMount=="function"&&(s.flags|=4194308),c=!1)}else{N=s.stateNode,zf(t,s),E=s.memoizedProps,_=s.type===s.elementType?E:Xt(s.type,E),N.props=_,G=s.pendingProps,B=N.context,A=a.contextType,typeof A=="object"&&A!==null?A=Vt(A):(A=Pt(a)?br:gt.current,A=us(s,A));var Z=a.getDerivedStateFromProps;(H=typeof Z=="function"||typeof N.getSnapshotBeforeUpdate=="function")||typeof N.UNSAFE_componentWillReceiveProps!="function"&&typeof N.componentWillReceiveProps!="function"||(E!==G||B!==A)&&fh(s,N,c,A),Qn=!1,B=s.memoizedState,N.state=B,ta(s,c,N,p);var ee=s.memoizedState;E!==G||B!==ee||Nt.current||Qn?(typeof Z=="function"&&(ad(s,a,Z,c),ee=s.memoizedState),(_=Qn||mh(s,a,_,c,B,ee,A)||!1)?(H||typeof N.UNSAFE_componentWillUpdate!="function"&&typeof N.componentWillUpdate!="function"||(typeof N.componentWillUpdate=="function"&&N.componentWillUpdate(c,ee,A),typeof N.UNSAFE_componentWillUpdate=="function"&&N.UNSAFE_componentWillUpdate(c,ee,A)),typeof N.componentDidUpdate=="function"&&(s.flags|=4),typeof N.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof N.componentDidUpdate!="function"||E===t.memoizedProps&&B===t.memoizedState||(s.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||E===t.memoizedProps&&B===t.memoizedState||(s.flags|=1024),s.memoizedProps=c,s.memoizedState=ee),N.props=c,N.state=ee,N.context=A,c=_):(typeof N.componentDidUpdate!="function"||E===t.memoizedProps&&B===t.memoizedState||(s.flags|=4),typeof N.getSnapshotBeforeUpdate!="function"||E===t.memoizedProps&&B===t.memoizedState||(s.flags|=1024),c=!1)}return md(t,s,a,c,g,p)}function md(t,s,a,c,p,g){Ph(t,s);var N=(s.flags&128)!==0;if(!c&&!N)return p&&Tf(s,a,!1),Tn(t,s,g);c=s.stateNode,A1.current=s;var E=N&&typeof a.getDerivedStateFromError!="function"?null:c.render();return s.flags|=1,t!==null&&N?(s.child=hs(s,t.child,null,g),s.child=hs(s,null,E,g)):wt(t,s,E,g),s.memoizedState=c.state,p&&Tf(s,a,!0),s.child}function Ch(t){var s=t.stateNode;s.pendingContext?Ef(t,s.pendingContext,s.pendingContext!==s.context):s.context&&Ef(t,s.context,!1),Yc(t,s.containerInfo)}function Sh(t,s,a,c,p){return fs(),$c(p),s.flags|=256,wt(t,s,a,c),s.child}var pd={dehydrated:null,treeContext:null,retryLane:0};function fd(t){return{baseLanes:t,cachePool:null,transitions:null}}function Eh(t,s,a){var c=s.pendingProps,p=Fe.current,g=!1,N=(s.flags&128)!==0,E;if((E=N)||(E=t!==null&&t.memoizedState===null?!1:(p&2)!==0),E?(g=!0,s.flags&=-129):(t===null||t.memoizedState!==null)&&(p|=1),Me(Fe,p&1),t===null)return zc(s),t=s.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((s.mode&1)===0?s.lanes=1:t.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(N=c.children,t=c.fallback,g?(c=s.mode,g=s.child,N={mode:"hidden",children:N},(c&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=N):g=ja(N,c,0,null),t=Rr(t,c,a,null),g.return=s,t.return=s,g.sibling=t,s.child=g,s.child.memoizedState=fd(a),s.memoizedState=pd,t):hd(s,N));if(p=t.memoizedState,p!==null&&(E=p.dehydrated,E!==null))return T1(t,s,N,c,E,p,a);if(g){g=c.fallback,N=s.mode,p=t.child,E=p.sibling;var A={mode:"hidden",children:c.children};return(N&1)===0&&s.child!==p?(c=s.child,c.childLanes=0,c.pendingProps=A,s.deletions=null):(c=sr(p,A),c.subtreeFlags=p.subtreeFlags&14680064),E!==null?g=sr(E,g):(g=Rr(g,N,a,null),g.flags|=2),g.return=s,c.return=s,c.sibling=g,s.child=c,c=g,g=s.child,N=t.child.memoizedState,N=N===null?fd(a):{baseLanes:N.baseLanes|a,cachePool:null,transitions:N.transitions},g.memoizedState=N,g.childLanes=t.childLanes&~a,s.memoizedState=pd,c}return g=t.child,t=g.sibling,c=sr(g,{mode:"visible",children:c.children}),(s.mode&1)===0&&(c.lanes=a),c.return=s,c.sibling=null,t!==null&&(a=s.deletions,a===null?(s.deletions=[t],s.flags|=16):a.push(t)),s.child=c,s.memoizedState=null,c}function hd(t,s){return s=ja({mode:"visible",children:s},t.mode,0,null),s.return=t,t.child=s}function ca(t,s,a,c){return c!==null&&$c(c),hs(s,t.child,null,a),t=hd(s,s.pendingProps.children),t.flags|=2,s.memoizedState=null,t}function T1(t,s,a,c,p,g,N){if(a)return s.flags&256?(s.flags&=-257,c=cd(Error(i(422))),ca(t,s,N,c)):s.memoizedState!==null?(s.child=t.child,s.flags|=128,null):(g=c.fallback,p=s.mode,c=ja({mode:"visible",children:c.children},p,0,null),g=Rr(g,p,N,null),g.flags|=2,c.return=s,g.return=s,c.sibling=g,s.child=c,(s.mode&1)!==0&&hs(s,t.child,null,N),s.child.memoizedState=fd(N),s.memoizedState=pd,g);if((s.mode&1)===0)return ca(t,s,N,null);if(p.data==="$!"){if(c=p.nextSibling&&p.nextSibling.dataset,c)var E=c.dgst;return c=E,g=Error(i(419)),c=cd(g,c,void 0),ca(t,s,N,c)}if(E=(N&t.childLanes)!==0,kt||E){if(c=ot,c!==null){switch(N&-N){case 4:p=2;break;case 16:p=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(c.suspendedLanes|N))!==0?0:p,p!==0&&p!==g.retryLane&&(g.retryLane=p,En(t,p),Jt(c,t,p,-1))}return Rd(),c=cd(Error(i(421))),ca(t,s,N,c)}return p.data==="$?"?(s.flags|=128,s.child=t.child,s=B1.bind(null,t),p._reactRetry=s,null):(t=g.treeContext,Wt=qn(p.nextSibling),Lt=s,We=!0,Yt=null,t!==null&&(Ft[Ot++]=Cn,Ft[Ot++]=Sn,Ft[Ot++]=jr,Cn=t.id,Sn=t.overflow,jr=s),s=hd(s,c.children),s.flags|=4096,s)}function Ah(t,s,a){t.lanes|=s;var c=t.alternate;c!==null&&(c.lanes|=s),Gc(t.return,s,a)}function gd(t,s,a,c,p){var g=t.memoizedState;g===null?t.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:c,tail:a,tailMode:p}:(g.isBackwards=s,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=a,g.tailMode=p)}function Th(t,s,a){var c=s.pendingProps,p=c.revealOrder,g=c.tail;if(wt(t,s,c.children,a),c=Fe.current,(c&2)!==0)c=c&1|2,s.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=s.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ah(t,a,s);else if(t.tag===19)Ah(t,a,s);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===s)break e;for(;t.sibling===null;){if(t.return===null||t.return===s)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}c&=1}if(Me(Fe,c),(s.mode&1)===0)s.memoizedState=null;else switch(p){case"forwards":for(a=s.child,p=null;a!==null;)t=a.alternate,t!==null&&na(t)===null&&(p=a),a=a.sibling;a=p,a===null?(p=s.child,s.child=null):(p=a.sibling,a.sibling=null),gd(s,!1,p,a,g);break;case"backwards":for(a=null,p=s.child,s.child=null;p!==null;){if(t=p.alternate,t!==null&&na(t)===null){s.child=p;break}t=p.sibling,p.sibling=a,a=p,p=t}gd(s,!0,a,null,g);break;case"together":gd(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function da(t,s){(s.mode&1)===0&&t!==null&&(t.alternate=null,s.alternate=null,s.flags|=2)}function Tn(t,s,a){if(t!==null&&(s.dependencies=t.dependencies),Sr|=s.lanes,(a&s.childLanes)===0)return null;if(t!==null&&s.child!==t.child)throw Error(i(153));if(s.child!==null){for(t=s.child,a=sr(t,t.pendingProps),s.child=a,a.return=s;t.sibling!==null;)t=t.sibling,a=a.sibling=sr(t,t.pendingProps),a.return=s;a.sibling=null}return s.child}function R1(t,s,a){switch(s.tag){case 3:Ch(s),fs();break;case 5:Uf(s);break;case 1:Pt(s.type)&&Go(s);break;case 4:Yc(s,s.stateNode.containerInfo);break;case 10:var c=s.type._context,p=s.memoizedProps.value;Me(Zo,c._currentValue),c._currentValue=p;break;case 13:if(c=s.memoizedState,c!==null)return c.dehydrated!==null?(Me(Fe,Fe.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Eh(t,s,a):(Me(Fe,Fe.current&1),t=Tn(t,s,a),t!==null?t.sibling:null);Me(Fe,Fe.current&1);break;case 19:if(c=(a&s.childLanes)!==0,(t.flags&128)!==0){if(c)return Th(t,s,a);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Me(Fe,Fe.current),c)break;return null;case 22:case 23:return s.lanes=0,Nh(t,s,a)}return Tn(t,s,a)}var Rh,xd,Ih,Mh;Rh=function(t,s){for(var a=s.child;a!==null;){if(a.tag===5||a.tag===6)t.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},xd=function(){},Ih=function(t,s,a,c){var p=t.memoizedProps;if(p!==c){t=s.stateNode,kr(mn.current);var g=null;switch(a){case"input":p=Gl(t,p),c=Gl(t,c),g=[];break;case"select":p=K({},p,{value:void 0}),c=K({},c,{value:void 0}),g=[];break;case"textarea":p=Yl(t,p),c=Yl(t,c),g=[];break;default:typeof p.onClick!="function"&&typeof c.onClick=="function"&&(t.onclick=Bo)}Ql(a,c);var N;a=null;for(_ in p)if(!c.hasOwnProperty(_)&&p.hasOwnProperty(_)&&p[_]!=null)if(_==="style"){var E=p[_];for(N in E)E.hasOwnProperty(N)&&(a||(a={}),a[N]="")}else _!=="dangerouslySetInnerHTML"&&_!=="children"&&_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&_!=="autoFocus"&&(l.hasOwnProperty(_)?g||(g=[]):(g=g||[]).push(_,null));for(_ in c){var A=c[_];if(E=p?.[_],c.hasOwnProperty(_)&&A!==E&&(A!=null||E!=null))if(_==="style")if(E){for(N in E)!E.hasOwnProperty(N)||A&&A.hasOwnProperty(N)||(a||(a={}),a[N]="");for(N in A)A.hasOwnProperty(N)&&E[N]!==A[N]&&(a||(a={}),a[N]=A[N])}else a||(g||(g=[]),g.push(_,a)),a=A;else _==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,E=E?E.__html:void 0,A!=null&&E!==A&&(g=g||[]).push(_,A)):_==="children"?typeof A!="string"&&typeof A!="number"||(g=g||[]).push(_,""+A):_!=="suppressContentEditableWarning"&&_!=="suppressHydrationWarning"&&(l.hasOwnProperty(_)?(A!=null&&_==="onScroll"&&De("scroll",t),g||E===A||(g=[])):(g=g||[]).push(_,A))}a&&(g=g||[]).push("style",a);var _=g;(s.updateQueue=_)&&(s.flags|=4)}},Mh=function(t,s,a,c){a!==c&&(s.flags|=4)};function Ei(t,s){if(!We)switch(t.tailMode){case"hidden":s=t.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var c=null;a!==null;)a.alternate!==null&&(c=a),a=a.sibling;c===null?s||t.tail===null?t.tail=null:t.tail.sibling=null:c.sibling=null}}function yt(t){var s=t.alternate!==null&&t.alternate.child===t.child,a=0,c=0;if(s)for(var p=t.child;p!==null;)a|=p.lanes|p.childLanes,c|=p.subtreeFlags&14680064,c|=p.flags&14680064,p.return=t,p=p.sibling;else for(p=t.child;p!==null;)a|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=t,p=p.sibling;return t.subtreeFlags|=c,t.childLanes=a,s}function I1(t,s,a){var c=s.pendingProps;switch(Oc(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return yt(s),null;case 1:return Pt(s.type)&&Ho(),yt(s),null;case 3:return c=s.stateNode,ys(),Le(Nt),Le(gt),Zc(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(t===null||t.child===null)&&(Xo(s)?s.flags|=4:t===null||t.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Yt!==null&&(Ed(Yt),Yt=null))),xd(t,s),yt(s),null;case 5:Xc(s);var p=kr(Ni.current);if(a=s.type,t!==null&&s.stateNode!=null)Ih(t,s,a,c,p),t.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!c){if(s.stateNode===null)throw Error(i(166));return yt(s),null}if(t=kr(mn.current),Xo(s)){c=s.stateNode,a=s.type;var g=s.memoizedProps;switch(c[un]=s,c[yi]=g,t=(s.mode&1)!==0,a){case"dialog":De("cancel",c),De("close",c);break;case"iframe":case"object":case"embed":De("load",c);break;case"video":case"audio":for(p=0;p<hi.length;p++)De(hi[p],c);break;case"source":De("error",c);break;case"img":case"image":case"link":De("error",c),De("load",c);break;case"details":De("toggle",c);break;case"input":mp(c,g),De("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!g.multiple},De("invalid",c);break;case"textarea":hp(c,g),De("invalid",c)}Ql(a,g),p=null;for(var N in g)if(g.hasOwnProperty(N)){var E=g[N];N==="children"?typeof E=="string"?c.textContent!==E&&(g.suppressHydrationWarning!==!0&&$o(c.textContent,E,t),p=["children",E]):typeof E=="number"&&c.textContent!==""+E&&(g.suppressHydrationWarning!==!0&&$o(c.textContent,E,t),p=["children",""+E]):l.hasOwnProperty(N)&&E!=null&&N==="onScroll"&&De("scroll",c)}switch(a){case"input":Vn(c),fp(c,g,!0);break;case"textarea":Vn(c),xp(c);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(c.onclick=Bo)}c=p,s.updateQueue=c,c!==null&&(s.flags|=4)}else{N=p.nodeType===9?p:p.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=yp(a)),t==="http://www.w3.org/1999/xhtml"?a==="script"?(t=N.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof c.is=="string"?t=N.createElement(a,{is:c.is}):(t=N.createElement(a),a==="select"&&(N=t,c.multiple?N.multiple=!0:c.size&&(N.size=c.size))):t=N.createElementNS(t,a),t[un]=s,t[yi]=c,Rh(t,s,!1,!1),s.stateNode=t;e:{switch(N=Zl(a,c),a){case"dialog":De("cancel",t),De("close",t),p=c;break;case"iframe":case"object":case"embed":De("load",t),p=c;break;case"video":case"audio":for(p=0;p<hi.length;p++)De(hi[p],t);p=c;break;case"source":De("error",t),p=c;break;case"img":case"image":case"link":De("error",t),De("load",t),p=c;break;case"details":De("toggle",t),p=c;break;case"input":mp(t,c),p=Gl(t,c),De("invalid",t);break;case"option":p=c;break;case"select":t._wrapperState={wasMultiple:!!c.multiple},p=K({},c,{value:void 0}),De("invalid",t);break;case"textarea":hp(t,c),p=Yl(t,c),De("invalid",t);break;default:p=c}Ql(a,p),E=p;for(g in E)if(E.hasOwnProperty(g)){var A=E[g];g==="style"?bp(t,A):g==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,A!=null&&vp(t,A)):g==="children"?typeof A=="string"?(a!=="textarea"||A!=="")&&Xs(t,A):typeof A=="number"&&Xs(t,""+A):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(l.hasOwnProperty(g)?A!=null&&g==="onScroll"&&De("scroll",t):A!=null&&T(t,g,A,N))}switch(a){case"input":Vn(t),fp(t,c,!1);break;case"textarea":Vn(t),xp(t);break;case"option":c.value!=null&&t.setAttribute("value",""+ke(c.value));break;case"select":t.multiple=!!c.multiple,g=c.value,g!=null?Jr(t,!!c.multiple,g,!1):c.defaultValue!=null&&Jr(t,!!c.multiple,c.defaultValue,!0);break;default:typeof p.onClick=="function"&&(t.onclick=Bo)}switch(a){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return yt(s),null;case 6:if(t&&s.stateNode!=null)Mh(t,s,t.memoizedProps,c);else{if(typeof c!="string"&&s.stateNode===null)throw Error(i(166));if(a=kr(Ni.current),kr(mn.current),Xo(s)){if(c=s.stateNode,a=s.memoizedProps,c[un]=s,(g=c.nodeValue!==a)&&(t=Lt,t!==null))switch(t.tag){case 3:$o(c.nodeValue,a,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&$o(c.nodeValue,a,(t.mode&1)!==0)}g&&(s.flags|=4)}else c=(a.nodeType===9?a:a.ownerDocument).createTextNode(c),c[un]=s,s.stateNode=c}return yt(s),null;case 13:if(Le(Fe),c=s.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(We&&Wt!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Wf(),fs(),s.flags|=98560,g=!1;else if(g=Xo(s),c!==null&&c.dehydrated!==null){if(t===null){if(!g)throw Error(i(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(i(317));g[un]=s}else fs(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;yt(s),g=!1}else Yt!==null&&(Ed(Yt),Yt=null),g=!0;if(!g)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(c=c!==null,c!==(t!==null&&t.memoizedState!==null)&&c&&(s.child.flags|=8192,(s.mode&1)!==0&&(t===null||(Fe.current&1)!==0?nt===0&&(nt=3):Rd())),s.updateQueue!==null&&(s.flags|=4),yt(s),null);case 4:return ys(),xd(t,s),t===null&&gi(s.stateNode.containerInfo),yt(s),null;case 10:return Hc(s.type._context),yt(s),null;case 17:return Pt(s.type)&&Ho(),yt(s),null;case 19:if(Le(Fe),g=s.memoizedState,g===null)return yt(s),null;if(c=(s.flags&128)!==0,N=g.rendering,N===null)if(c)Ei(g,!1);else{if(nt!==0||t!==null&&(t.flags&128)!==0)for(t=s.child;t!==null;){if(N=na(t),N!==null){for(s.flags|=128,Ei(g,!1),c=N.updateQueue,c!==null&&(s.updateQueue=c,s.flags|=4),s.subtreeFlags=0,c=a,a=s.child;a!==null;)g=a,t=c,g.flags&=14680066,N=g.alternate,N===null?(g.childLanes=0,g.lanes=t,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=N.childLanes,g.lanes=N.lanes,g.child=N.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=N.memoizedProps,g.memoizedState=N.memoizedState,g.updateQueue=N.updateQueue,g.type=N.type,t=N.dependencies,g.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),a=a.sibling;return Me(Fe,Fe.current&1|2),s.child}t=t.sibling}g.tail!==null&&Ke()>js&&(s.flags|=128,c=!0,Ei(g,!1),s.lanes=4194304)}else{if(!c)if(t=na(N),t!==null){if(s.flags|=128,c=!0,a=t.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),Ei(g,!0),g.tail===null&&g.tailMode==="hidden"&&!N.alternate&&!We)return yt(s),null}else 2*Ke()-g.renderingStartTime>js&&a!==1073741824&&(s.flags|=128,c=!0,Ei(g,!1),s.lanes=4194304);g.isBackwards?(N.sibling=s.child,s.child=N):(a=g.last,a!==null?a.sibling=N:s.child=N,g.last=N)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=Ke(),s.sibling=null,a=Fe.current,Me(Fe,c?a&1|2:a&1),s):(yt(s),null);case 22:case 23:return Td(),c=s.memoizedState!==null,t!==null&&t.memoizedState!==null!==c&&(s.flags|=8192),c&&(s.mode&1)!==0?(_t&1073741824)!==0&&(yt(s),s.subtreeFlags&6&&(s.flags|=8192)):yt(s),null;case 24:return null;case 25:return null}throw Error(i(156,s.tag))}function M1(t,s){switch(Oc(s),s.tag){case 1:return Pt(s.type)&&Ho(),t=s.flags,t&65536?(s.flags=t&-65537|128,s):null;case 3:return ys(),Le(Nt),Le(gt),Zc(),t=s.flags,(t&65536)!==0&&(t&128)===0?(s.flags=t&-65537|128,s):null;case 5:return Xc(s),null;case 13:if(Le(Fe),t=s.memoizedState,t!==null&&t.dehydrated!==null){if(s.alternate===null)throw Error(i(340));fs()}return t=s.flags,t&65536?(s.flags=t&-65537|128,s):null;case 19:return Le(Fe),null;case 4:return ys(),null;case 10:return Hc(s.type._context),null;case 22:case 23:return Td(),null;case 24:return null;default:return null}}var ua=!1,vt=!1,D1=typeof WeakSet=="function"?WeakSet:Set,J=null;function ws(t,s){var a=t.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(c){Ue(t,s,c)}else a.current=null}function yd(t,s,a){try{a()}catch(c){Ue(t,s,c)}}var Dh=!1;function L1(t,s){if(Tc=Ro,t=mf(),jc(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else e:{a=(a=t.ownerDocument)&&a.defaultView||window;var c=a.getSelection&&a.getSelection();if(c&&c.rangeCount!==0){a=c.anchorNode;var p=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var N=0,E=-1,A=-1,_=0,H=0,G=t,B=null;t:for(;;){for(var Z;G!==a||p!==0&&G.nodeType!==3||(E=N+p),G!==g||c!==0&&G.nodeType!==3||(A=N+c),G.nodeType===3&&(N+=G.nodeValue.length),(Z=G.firstChild)!==null;)B=G,G=Z;for(;;){if(G===t)break t;if(B===a&&++_===p&&(E=N),B===g&&++H===c&&(A=N),(Z=G.nextSibling)!==null)break;G=B,B=G.parentNode}G=Z}a=E===-1||A===-1?null:{start:E,end:A}}else a=null}a=a||{start:0,end:0}}else a=null;for(Rc={focusedElem:t,selectionRange:a},Ro=!1,J=s;J!==null;)if(s=J,t=s.child,(s.subtreeFlags&1028)!==0&&t!==null)t.return=s,J=t;else for(;J!==null;){s=J;try{var ee=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var se=ee.memoizedProps,Ye=ee.memoizedState,L=s.stateNode,R=L.getSnapshotBeforeUpdate(s.elementType===s.type?se:Xt(s.type,se),Ye);L.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var W=s.stateNode.containerInfo;W.nodeType===1?W.textContent="":W.nodeType===9&&W.documentElement&&W.removeChild(W.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(q){Ue(s,s.return,q)}if(t=s.sibling,t!==null){t.return=s.return,J=t;break}J=s.return}return ee=Dh,Dh=!1,ee}function Ai(t,s,a){var c=s.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var p=c=c.next;do{if((p.tag&t)===t){var g=p.destroy;p.destroy=void 0,g!==void 0&&yd(s,a,g)}p=p.next}while(p!==c)}}function ma(t,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&t)===t){var c=a.create;a.destroy=c()}a=a.next}while(a!==s)}}function vd(t){var s=t.ref;if(s!==null){var a=t.stateNode;switch(t.tag){case 5:t=a;break;default:t=a}typeof s=="function"?s(t):s.current=t}}function Lh(t){var s=t.alternate;s!==null&&(t.alternate=null,Lh(s)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(s=t.stateNode,s!==null&&(delete s[un],delete s[yi],delete s[Lc],delete s[x1],delete s[y1])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Wh(t){return t.tag===5||t.tag===3||t.tag===4}function _h(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Wh(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function wd(t,s,a){var c=t.tag;if(c===5||c===6)t=t.stateNode,s?a.nodeType===8?a.parentNode.insertBefore(t,s):a.insertBefore(t,s):(a.nodeType===8?(s=a.parentNode,s.insertBefore(t,a)):(s=a,s.appendChild(t)),a=a._reactRootContainer,a!=null||s.onclick!==null||(s.onclick=Bo));else if(c!==4&&(t=t.child,t!==null))for(wd(t,s,a),t=t.sibling;t!==null;)wd(t,s,a),t=t.sibling}function bd(t,s,a){var c=t.tag;if(c===5||c===6)t=t.stateNode,s?a.insertBefore(t,s):a.appendChild(t);else if(c!==4&&(t=t.child,t!==null))for(bd(t,s,a),t=t.sibling;t!==null;)bd(t,s,a),t=t.sibling}var mt=null,Qt=!1;function Jn(t,s,a){for(a=a.child;a!==null;)Fh(t,s,a),a=a.sibling}function Fh(t,s,a){if(dn&&typeof dn.onCommitFiberUnmount=="function")try{dn.onCommitFiberUnmount(ko,a)}catch{}switch(a.tag){case 5:vt||ws(a,s);case 6:var c=mt,p=Qt;mt=null,Jn(t,s,a),mt=c,Qt=p,mt!==null&&(Qt?(t=mt,a=a.stateNode,t.nodeType===8?t.parentNode.removeChild(a):t.removeChild(a)):mt.removeChild(a.stateNode));break;case 18:mt!==null&&(Qt?(t=mt,a=a.stateNode,t.nodeType===8?Dc(t.parentNode,a):t.nodeType===1&&Dc(t,a),ai(t)):Dc(mt,a.stateNode));break;case 4:c=mt,p=Qt,mt=a.stateNode.containerInfo,Qt=!0,Jn(t,s,a),mt=c,Qt=p;break;case 0:case 11:case 14:case 15:if(!vt&&(c=a.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){p=c=c.next;do{var g=p,N=g.destroy;g=g.tag,N!==void 0&&((g&2)!==0||(g&4)!==0)&&yd(a,s,N),p=p.next}while(p!==c)}Jn(t,s,a);break;case 1:if(!vt&&(ws(a,s),c=a.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=a.memoizedProps,c.state=a.memoizedState,c.componentWillUnmount()}catch(E){Ue(a,s,E)}Jn(t,s,a);break;case 21:Jn(t,s,a);break;case 22:a.mode&1?(vt=(c=vt)||a.memoizedState!==null,Jn(t,s,a),vt=c):Jn(t,s,a);break;default:Jn(t,s,a)}}function Oh(t){var s=t.updateQueue;if(s!==null){t.updateQueue=null;var a=t.stateNode;a===null&&(a=t.stateNode=new D1),s.forEach(function(c){var p=U1.bind(null,t,c);a.has(c)||(a.add(c),c.then(p,p))})}}function Zt(t,s){var a=s.deletions;if(a!==null)for(var c=0;c<a.length;c++){var p=a[c];try{var g=t,N=s,E=N;e:for(;E!==null;){switch(E.tag){case 5:mt=E.stateNode,Qt=!1;break e;case 3:mt=E.stateNode.containerInfo,Qt=!0;break e;case 4:mt=E.stateNode.containerInfo,Qt=!0;break e}E=E.return}if(mt===null)throw Error(i(160));Fh(g,N,p),mt=null,Qt=!1;var A=p.alternate;A!==null&&(A.return=null),p.return=null}catch(_){Ue(p,s,_)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Vh(s,t),s=s.sibling}function Vh(t,s){var a=t.alternate,c=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Zt(s,t),fn(t),c&4){try{Ai(3,t,t.return),ma(3,t)}catch(se){Ue(t,t.return,se)}try{Ai(5,t,t.return)}catch(se){Ue(t,t.return,se)}}break;case 1:Zt(s,t),fn(t),c&512&&a!==null&&ws(a,a.return);break;case 5:if(Zt(s,t),fn(t),c&512&&a!==null&&ws(a,a.return),t.flags&32){var p=t.stateNode;try{Xs(p,"")}catch(se){Ue(t,t.return,se)}}if(c&4&&(p=t.stateNode,p!=null)){var g=t.memoizedProps,N=a!==null?a.memoizedProps:g,E=t.type,A=t.updateQueue;if(t.updateQueue=null,A!==null)try{E==="input"&&g.type==="radio"&&g.name!=null&&pp(p,g),Zl(E,N);var _=Zl(E,g);for(N=0;N<A.length;N+=2){var H=A[N],G=A[N+1];H==="style"?bp(p,G):H==="dangerouslySetInnerHTML"?vp(p,G):H==="children"?Xs(p,G):T(p,H,G,_)}switch(E){case"input":ql(p,g);break;case"textarea":gp(p,g);break;case"select":var B=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!g.multiple;var Z=g.value;Z!=null?Jr(p,!!g.multiple,Z,!1):B!==!!g.multiple&&(g.defaultValue!=null?Jr(p,!!g.multiple,g.defaultValue,!0):Jr(p,!!g.multiple,g.multiple?[]:"",!1))}p[yi]=g}catch(se){Ue(t,t.return,se)}}break;case 6:if(Zt(s,t),fn(t),c&4){if(t.stateNode===null)throw Error(i(162));p=t.stateNode,g=t.memoizedProps;try{p.nodeValue=g}catch(se){Ue(t,t.return,se)}}break;case 3:if(Zt(s,t),fn(t),c&4&&a!==null&&a.memoizedState.isDehydrated)try{ai(s.containerInfo)}catch(se){Ue(t,t.return,se)}break;case 4:Zt(s,t),fn(t);break;case 13:Zt(s,t),fn(t),p=t.child,p.flags&8192&&(g=p.memoizedState!==null,p.stateNode.isHidden=g,!g||p.alternate!==null&&p.alternate.memoizedState!==null||(Pd=Ke())),c&4&&Oh(t);break;case 22:if(H=a!==null&&a.memoizedState!==null,t.mode&1?(vt=(_=vt)||H,Zt(s,t),vt=_):Zt(s,t),fn(t),c&8192){if(_=t.memoizedState!==null,(t.stateNode.isHidden=_)&&!H&&(t.mode&1)!==0)for(J=t,H=t.child;H!==null;){for(G=J=H;J!==null;){switch(B=J,Z=B.child,B.tag){case 0:case 11:case 14:case 15:Ai(4,B,B.return);break;case 1:ws(B,B.return);var ee=B.stateNode;if(typeof ee.componentWillUnmount=="function"){c=B,a=B.return;try{s=c,ee.props=s.memoizedProps,ee.state=s.memoizedState,ee.componentWillUnmount()}catch(se){Ue(c,a,se)}}break;case 5:ws(B,B.return);break;case 22:if(B.memoizedState!==null){Bh(G);continue}}Z!==null?(Z.return=B,J=Z):Bh(G)}H=H.sibling}e:for(H=null,G=t;;){if(G.tag===5){if(H===null){H=G;try{p=G.stateNode,_?(g=p.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(E=G.stateNode,A=G.memoizedProps.style,N=A!=null&&A.hasOwnProperty("display")?A.display:null,E.style.display=wp("display",N))}catch(se){Ue(t,t.return,se)}}}else if(G.tag===6){if(H===null)try{G.stateNode.nodeValue=_?"":G.memoizedProps}catch(se){Ue(t,t.return,se)}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===t)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===t)break e;for(;G.sibling===null;){if(G.return===null||G.return===t)break e;H===G&&(H=null),G=G.return}H===G&&(H=null),G.sibling.return=G.return,G=G.sibling}}break;case 19:Zt(s,t),fn(t),c&4&&Oh(t);break;case 21:break;default:Zt(s,t),fn(t)}}function fn(t){var s=t.flags;if(s&2){try{e:{for(var a=t.return;a!==null;){if(Wh(a)){var c=a;break e}a=a.return}throw Error(i(160))}switch(c.tag){case 5:var p=c.stateNode;c.flags&32&&(Xs(p,""),c.flags&=-33);var g=_h(t);bd(t,g,p);break;case 3:case 4:var N=c.stateNode.containerInfo,E=_h(t);wd(t,E,N);break;default:throw Error(i(161))}}catch(A){Ue(t,t.return,A)}t.flags&=-3}s&4096&&(t.flags&=-4097)}function W1(t,s,a){J=t,zh(t)}function zh(t,s,a){for(var c=(t.mode&1)!==0;J!==null;){var p=J,g=p.child;if(p.tag===22&&c){var N=p.memoizedState!==null||ua;if(!N){var E=p.alternate,A=E!==null&&E.memoizedState!==null||vt;E=ua;var _=vt;if(ua=N,(vt=A)&&!_)for(J=p;J!==null;)N=J,A=N.child,N.tag===22&&N.memoizedState!==null?Uh(p):A!==null?(A.return=N,J=A):Uh(p);for(;g!==null;)J=g,zh(g),g=g.sibling;J=p,ua=E,vt=_}$h(t)}else(p.subtreeFlags&8772)!==0&&g!==null?(g.return=p,J=g):$h(t)}}function $h(t){for(;J!==null;){var s=J;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:vt||ma(5,s);break;case 1:var c=s.stateNode;if(s.flags&4&&!vt)if(a===null)c.componentDidMount();else{var p=s.elementType===s.type?a.memoizedProps:Xt(s.type,a.memoizedProps);c.componentDidUpdate(p,a.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var g=s.updateQueue;g!==null&&Bf(s,g,c);break;case 3:var N=s.updateQueue;if(N!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}Bf(s,N,a)}break;case 5:var E=s.stateNode;if(a===null&&s.flags&4){a=E;var A=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":A.autoFocus&&a.focus();break;case"img":A.src&&(a.src=A.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var _=s.alternate;if(_!==null){var H=_.memoizedState;if(H!==null){var G=H.dehydrated;G!==null&&ai(G)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}vt||s.flags&512&&vd(s)}catch(B){Ue(s,s.return,B)}}if(s===t){J=null;break}if(a=s.sibling,a!==null){a.return=s.return,J=a;break}J=s.return}}function Bh(t){for(;J!==null;){var s=J;if(s===t){J=null;break}var a=s.sibling;if(a!==null){a.return=s.return,J=a;break}J=s.return}}function Uh(t){for(;J!==null;){var s=J;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{ma(4,s)}catch(A){Ue(s,a,A)}break;case 1:var c=s.stateNode;if(typeof c.componentDidMount=="function"){var p=s.return;try{c.componentDidMount()}catch(A){Ue(s,p,A)}}var g=s.return;try{vd(s)}catch(A){Ue(s,g,A)}break;case 5:var N=s.return;try{vd(s)}catch(A){Ue(s,N,A)}}}catch(A){Ue(s,s.return,A)}if(s===t){J=null;break}var E=s.sibling;if(E!==null){E.return=s.return,J=E;break}J=s.return}}var _1=Math.ceil,pa=O.ReactCurrentDispatcher,jd=O.ReactCurrentOwner,$t=O.ReactCurrentBatchConfig,Pe=0,ot=null,Ze=null,pt=0,_t=0,bs=Kn(0),nt=0,Ti=null,Sr=0,fa=0,Nd=0,Ri=null,Ct=null,Pd=0,js=1/0,Rn=null,ha=!1,kd=null,er=null,ga=!1,tr=null,xa=0,Ii=0,Cd=null,ya=-1,va=0;function bt(){return(Pe&6)!==0?Ke():ya!==-1?ya:ya=Ke()}function nr(t){return(t.mode&1)===0?1:(Pe&2)!==0&&pt!==0?pt&-pt:w1.transition!==null?(va===0&&(va=Wp()),va):(t=Te,t!==0||(t=window.event,t=t===void 0?16:Hp(t.type)),t)}function Jt(t,s,a,c){if(50<Ii)throw Ii=0,Cd=null,Error(i(185));ni(t,a,c),((Pe&2)===0||t!==ot)&&(t===ot&&((Pe&2)===0&&(fa|=a),nt===4&&rr(t,pt)),St(t,c),a===1&&Pe===0&&(s.mode&1)===0&&(js=Ke()+500,qo&&Xn()))}function St(t,s){var a=t.callbackNode;wb(t,s);var c=Eo(t,t===ot?pt:0);if(c===0)a!==null&&Mp(a),t.callbackNode=null,t.callbackPriority=0;else if(s=c&-c,t.callbackPriority!==s){if(a!=null&&Mp(a),s===1)t.tag===0?v1(Gh.bind(null,t)):Rf(Gh.bind(null,t)),h1(function(){(Pe&6)===0&&Xn()}),a=null;else{switch(_p(c)){case 1:a=ic;break;case 4:a=Dp;break;case 16:a=Po;break;case 536870912:a=Lp;break;default:a=Po}a=eg(a,Hh.bind(null,t))}t.callbackPriority=s,t.callbackNode=a}}function Hh(t,s){if(ya=-1,va=0,(Pe&6)!==0)throw Error(i(327));var a=t.callbackNode;if(Ns()&&t.callbackNode!==a)return null;var c=Eo(t,t===ot?pt:0);if(c===0)return null;if((c&30)!==0||(c&t.expiredLanes)!==0||s)s=wa(t,c);else{s=c;var p=Pe;Pe|=2;var g=Kh();(ot!==t||pt!==s)&&(Rn=null,js=Ke()+500,Ar(t,s));do try{V1();break}catch(E){qh(t,E)}while(!0);Uc(),pa.current=g,Pe=p,Ze!==null?s=0:(ot=null,pt=0,s=nt)}if(s!==0){if(s===2&&(p=oc(t),p!==0&&(c=p,s=Sd(t,p))),s===1)throw a=Ti,Ar(t,0),rr(t,c),St(t,Ke()),a;if(s===6)rr(t,c);else{if(p=t.current.alternate,(c&30)===0&&!F1(p)&&(s=wa(t,c),s===2&&(g=oc(t),g!==0&&(c=g,s=Sd(t,g))),s===1))throw a=Ti,Ar(t,0),rr(t,c),St(t,Ke()),a;switch(t.finishedWork=p,t.finishedLanes=c,s){case 0:case 1:throw Error(i(345));case 2:Tr(t,Ct,Rn);break;case 3:if(rr(t,c),(c&130023424)===c&&(s=Pd+500-Ke(),10<s)){if(Eo(t,0)!==0)break;if(p=t.suspendedLanes,(p&c)!==c){bt(),t.pingedLanes|=t.suspendedLanes&p;break}t.timeoutHandle=Mc(Tr.bind(null,t,Ct,Rn),s);break}Tr(t,Ct,Rn);break;case 4:if(rr(t,c),(c&4194240)===c)break;for(s=t.eventTimes,p=-1;0<c;){var N=31-qt(c);g=1<<N,N=s[N],N>p&&(p=N),c&=~g}if(c=p,c=Ke()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*_1(c/1960))-c,10<c){t.timeoutHandle=Mc(Tr.bind(null,t,Ct,Rn),c);break}Tr(t,Ct,Rn);break;case 5:Tr(t,Ct,Rn);break;default:throw Error(i(329))}}}return St(t,Ke()),t.callbackNode===a?Hh.bind(null,t):null}function Sd(t,s){var a=Ri;return t.current.memoizedState.isDehydrated&&(Ar(t,s).flags|=256),t=wa(t,s),t!==2&&(s=Ct,Ct=a,s!==null&&Ed(s)),t}function Ed(t){Ct===null?Ct=t:Ct.push.apply(Ct,t)}function F1(t){for(var s=t;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var c=0;c<a.length;c++){var p=a[c],g=p.getSnapshot;p=p.value;try{if(!Kt(g(),p))return!1}catch{return!1}}}if(a=s.child,s.subtreeFlags&16384&&a!==null)a.return=s,s=a;else{if(s===t)break;for(;s.sibling===null;){if(s.return===null||s.return===t)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function rr(t,s){for(s&=~Nd,s&=~fa,t.suspendedLanes|=s,t.pingedLanes&=~s,t=t.expirationTimes;0<s;){var a=31-qt(s),c=1<<a;t[a]=-1,s&=~c}}function Gh(t){if((Pe&6)!==0)throw Error(i(327));Ns();var s=Eo(t,0);if((s&1)===0)return St(t,Ke()),null;var a=wa(t,s);if(t.tag!==0&&a===2){var c=oc(t);c!==0&&(s=c,a=Sd(t,c))}if(a===1)throw a=Ti,Ar(t,0),rr(t,s),St(t,Ke()),a;if(a===6)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=s,Tr(t,Ct,Rn),St(t,Ke()),null}function Ad(t,s){var a=Pe;Pe|=1;try{return t(s)}finally{Pe=a,Pe===0&&(js=Ke()+500,qo&&Xn())}}function Er(t){tr!==null&&tr.tag===0&&(Pe&6)===0&&Ns();var s=Pe;Pe|=1;var a=$t.transition,c=Te;try{if($t.transition=null,Te=1,t)return t()}finally{Te=c,$t.transition=a,Pe=s,(Pe&6)===0&&Xn()}}function Td(){_t=bs.current,Le(bs)}function Ar(t,s){t.finishedWork=null,t.finishedLanes=0;var a=t.timeoutHandle;if(a!==-1&&(t.timeoutHandle=-1,f1(a)),Ze!==null)for(a=Ze.return;a!==null;){var c=a;switch(Oc(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&Ho();break;case 3:ys(),Le(Nt),Le(gt),Zc();break;case 5:Xc(c);break;case 4:ys();break;case 13:Le(Fe);break;case 19:Le(Fe);break;case 10:Hc(c.type._context);break;case 22:case 23:Td()}a=a.return}if(ot=t,Ze=t=sr(t.current,null),pt=_t=s,nt=0,Ti=null,Nd=fa=Sr=0,Ct=Ri=null,Pr!==null){for(s=0;s<Pr.length;s++)if(a=Pr[s],c=a.interleaved,c!==null){a.interleaved=null;var p=c.next,g=a.pending;if(g!==null){var N=g.next;g.next=p,c.next=N}a.pending=c}Pr=null}return t}function qh(t,s){do{var a=Ze;try{if(Uc(),ra.current=aa,sa){for(var c=Oe.memoizedState;c!==null;){var p=c.queue;p!==null&&(p.pending=null),c=c.next}sa=!1}if(Cr=0,it=tt=Oe=null,Pi=!1,ki=0,jd.current=null,a===null||a.return===null){nt=1,Ti=s,Ze=null;break}e:{var g=t,N=a.return,E=a,A=s;if(s=pt,E.flags|=32768,A!==null&&typeof A=="object"&&typeof A.then=="function"){var _=A,H=E,G=H.tag;if((H.mode&1)===0&&(G===0||G===11||G===15)){var B=H.alternate;B?(H.updateQueue=B.updateQueue,H.memoizedState=B.memoizedState,H.lanes=B.lanes):(H.updateQueue=null,H.memoizedState=null)}var Z=yh(N);if(Z!==null){Z.flags&=-257,vh(Z,N,E,g,s),Z.mode&1&&xh(g,_,s),s=Z,A=_;var ee=s.updateQueue;if(ee===null){var se=new Set;se.add(A),s.updateQueue=se}else ee.add(A);break e}else{if((s&1)===0){xh(g,_,s),Rd();break e}A=Error(i(426))}}else if(We&&E.mode&1){var Ye=yh(N);if(Ye!==null){(Ye.flags&65536)===0&&(Ye.flags|=256),vh(Ye,N,E,g,s),$c(vs(A,E));break e}}g=A=vs(A,E),nt!==4&&(nt=2),Ri===null?Ri=[g]:Ri.push(g),g=N;do{switch(g.tag){case 3:g.flags|=65536,s&=-s,g.lanes|=s;var L=hh(g,A,s);$f(g,L);break e;case 1:E=A;var R=g.type,W=g.stateNode;if((g.flags&128)===0&&(typeof R.getDerivedStateFromError=="function"||W!==null&&typeof W.componentDidCatch=="function"&&(er===null||!er.has(W)))){g.flags|=65536,s&=-s,g.lanes|=s;var q=gh(g,E,s);$f(g,q);break e}}g=g.return}while(g!==null)}Xh(a)}catch(ae){s=ae,Ze===a&&a!==null&&(Ze=a=a.return);continue}break}while(!0)}function Kh(){var t=pa.current;return pa.current=aa,t===null?aa:t}function Rd(){(nt===0||nt===3||nt===2)&&(nt=4),ot===null||(Sr&268435455)===0&&(fa&268435455)===0||rr(ot,pt)}function wa(t,s){var a=Pe;Pe|=2;var c=Kh();(ot!==t||pt!==s)&&(Rn=null,Ar(t,s));do try{O1();break}catch(p){qh(t,p)}while(!0);if(Uc(),Pe=a,pa.current=c,Ze!==null)throw Error(i(261));return ot=null,pt=0,nt}function O1(){for(;Ze!==null;)Yh(Ze)}function V1(){for(;Ze!==null&&!ub();)Yh(Ze)}function Yh(t){var s=Jh(t.alternate,t,_t);t.memoizedProps=t.pendingProps,s===null?Xh(t):Ze=s,jd.current=null}function Xh(t){var s=t;do{var a=s.alternate;if(t=s.return,(s.flags&32768)===0){if(a=I1(a,s,_t),a!==null){Ze=a;return}}else{if(a=M1(a,s),a!==null){a.flags&=32767,Ze=a;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{nt=6,Ze=null;return}}if(s=s.sibling,s!==null){Ze=s;return}Ze=s=t}while(s!==null);nt===0&&(nt=5)}function Tr(t,s,a){var c=Te,p=$t.transition;try{$t.transition=null,Te=1,z1(t,s,a,c)}finally{$t.transition=p,Te=c}return null}function z1(t,s,a,c){do Ns();while(tr!==null);if((Pe&6)!==0)throw Error(i(327));a=t.finishedWork;var p=t.finishedLanes;if(a===null)return null;if(t.finishedWork=null,t.finishedLanes=0,a===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var g=a.lanes|a.childLanes;if(bb(t,g),t===ot&&(Ze=ot=null,pt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||ga||(ga=!0,eg(Po,function(){return Ns(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=$t.transition,$t.transition=null;var N=Te;Te=1;var E=Pe;Pe|=4,jd.current=null,L1(t,a),Vh(a,t),a1(Rc),Ro=!!Tc,Rc=Tc=null,t.current=a,W1(a),mb(),Pe=E,Te=N,$t.transition=g}else t.current=a;if(ga&&(ga=!1,tr=t,xa=p),g=t.pendingLanes,g===0&&(er=null),hb(a.stateNode),St(t,Ke()),s!==null)for(c=t.onRecoverableError,a=0;a<s.length;a++)p=s[a],c(p.value,{componentStack:p.stack,digest:p.digest});if(ha)throw ha=!1,t=kd,kd=null,t;return(xa&1)!==0&&t.tag!==0&&Ns(),g=t.pendingLanes,(g&1)!==0?t===Cd?Ii++:(Ii=0,Cd=t):Ii=0,Xn(),null}function Ns(){if(tr!==null){var t=_p(xa),s=$t.transition,a=Te;try{if($t.transition=null,Te=16>t?16:t,tr===null)var c=!1;else{if(t=tr,tr=null,xa=0,(Pe&6)!==0)throw Error(i(331));var p=Pe;for(Pe|=4,J=t.current;J!==null;){var g=J,N=g.child;if((J.flags&16)!==0){var E=g.deletions;if(E!==null){for(var A=0;A<E.length;A++){var _=E[A];for(J=_;J!==null;){var H=J;switch(H.tag){case 0:case 11:case 15:Ai(8,H,g)}var G=H.child;if(G!==null)G.return=H,J=G;else for(;J!==null;){H=J;var B=H.sibling,Z=H.return;if(Lh(H),H===_){J=null;break}if(B!==null){B.return=Z,J=B;break}J=Z}}}var ee=g.alternate;if(ee!==null){var se=ee.child;if(se!==null){ee.child=null;do{var Ye=se.sibling;se.sibling=null,se=Ye}while(se!==null)}}J=g}}if((g.subtreeFlags&2064)!==0&&N!==null)N.return=g,J=N;else e:for(;J!==null;){if(g=J,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:Ai(9,g,g.return)}var L=g.sibling;if(L!==null){L.return=g.return,J=L;break e}J=g.return}}var R=t.current;for(J=R;J!==null;){N=J;var W=N.child;if((N.subtreeFlags&2064)!==0&&W!==null)W.return=N,J=W;else e:for(N=R;J!==null;){if(E=J,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:ma(9,E)}}catch(ae){Ue(E,E.return,ae)}if(E===N){J=null;break e}var q=E.sibling;if(q!==null){q.return=E.return,J=q;break e}J=E.return}}if(Pe=p,Xn(),dn&&typeof dn.onPostCommitFiberRoot=="function")try{dn.onPostCommitFiberRoot(ko,t)}catch{}c=!0}return c}finally{Te=a,$t.transition=s}}return!1}function Qh(t,s,a){s=vs(a,s),s=hh(t,s,1),t=Zn(t,s,1),s=bt(),t!==null&&(ni(t,1,s),St(t,s))}function Ue(t,s,a){if(t.tag===3)Qh(t,t,a);else for(;s!==null;){if(s.tag===3){Qh(s,t,a);break}else if(s.tag===1){var c=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(er===null||!er.has(c))){t=vs(a,t),t=gh(s,t,1),s=Zn(s,t,1),t=bt(),s!==null&&(ni(s,1,t),St(s,t));break}}s=s.return}}function $1(t,s,a){var c=t.pingCache;c!==null&&c.delete(s),s=bt(),t.pingedLanes|=t.suspendedLanes&a,ot===t&&(pt&a)===a&&(nt===4||nt===3&&(pt&130023424)===pt&&500>Ke()-Pd?Ar(t,0):Nd|=a),St(t,s)}function Zh(t,s){s===0&&((t.mode&1)===0?s=1:(s=So,So<<=1,(So&130023424)===0&&(So=4194304)));var a=bt();t=En(t,s),t!==null&&(ni(t,s,a),St(t,a))}function B1(t){var s=t.memoizedState,a=0;s!==null&&(a=s.retryLane),Zh(t,a)}function U1(t,s){var a=0;switch(t.tag){case 13:var c=t.stateNode,p=t.memoizedState;p!==null&&(a=p.retryLane);break;case 19:c=t.stateNode;break;default:throw Error(i(314))}c!==null&&c.delete(s),Zh(t,a)}var Jh;Jh=function(t,s,a){if(t!==null)if(t.memoizedProps!==s.pendingProps||Nt.current)kt=!0;else{if((t.lanes&a)===0&&(s.flags&128)===0)return kt=!1,R1(t,s,a);kt=(t.flags&131072)!==0}else kt=!1,We&&(s.flags&1048576)!==0&&If(s,Yo,s.index);switch(s.lanes=0,s.tag){case 2:var c=s.type;da(t,s),t=s.pendingProps;var p=us(s,gt.current);xs(s,a),p=td(null,s,c,t,p,a);var g=nd();return s.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Pt(c)?(g=!0,Go(s)):g=!1,s.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Kc(s),p.updater=la,s.stateNode=p,p._reactInternals=s,ld(s,c,t,a),s=md(null,s,c,!0,g,a)):(s.tag=0,We&&g&&Fc(s),wt(null,s,p,a),s=s.child),s;case 16:c=s.elementType;e:{switch(da(t,s),t=s.pendingProps,p=c._init,c=p(c._payload),s.type=c,p=s.tag=G1(c),t=Xt(c,t),p){case 0:s=ud(null,s,c,t,a);break e;case 1:s=kh(null,s,c,t,a);break e;case 11:s=wh(null,s,c,t,a);break e;case 14:s=bh(null,s,c,Xt(c.type,t),a);break e}throw Error(i(306,c,""))}return s;case 0:return c=s.type,p=s.pendingProps,p=s.elementType===c?p:Xt(c,p),ud(t,s,c,p,a);case 1:return c=s.type,p=s.pendingProps,p=s.elementType===c?p:Xt(c,p),kh(t,s,c,p,a);case 3:e:{if(Ch(s),t===null)throw Error(i(387));c=s.pendingProps,g=s.memoizedState,p=g.element,zf(t,s),ta(s,c,null,a);var N=s.memoizedState;if(c=N.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:N.cache,pendingSuspenseBoundaries:N.pendingSuspenseBoundaries,transitions:N.transitions},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){p=vs(Error(i(423)),s),s=Sh(t,s,c,a,p);break e}else if(c!==p){p=vs(Error(i(424)),s),s=Sh(t,s,c,a,p);break e}else for(Wt=qn(s.stateNode.containerInfo.firstChild),Lt=s,We=!0,Yt=null,a=Of(s,null,c,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(fs(),c===p){s=Tn(t,s,a);break e}wt(t,s,c,a)}s=s.child}return s;case 5:return Uf(s),t===null&&zc(s),c=s.type,p=s.pendingProps,g=t!==null?t.memoizedProps:null,N=p.children,Ic(c,p)?N=null:g!==null&&Ic(c,g)&&(s.flags|=32),Ph(t,s),wt(t,s,N,a),s.child;case 6:return t===null&&zc(s),null;case 13:return Eh(t,s,a);case 4:return Yc(s,s.stateNode.containerInfo),c=s.pendingProps,t===null?s.child=hs(s,null,c,a):wt(t,s,c,a),s.child;case 11:return c=s.type,p=s.pendingProps,p=s.elementType===c?p:Xt(c,p),wh(t,s,c,p,a);case 7:return wt(t,s,s.pendingProps,a),s.child;case 8:return wt(t,s,s.pendingProps.children,a),s.child;case 12:return wt(t,s,s.pendingProps.children,a),s.child;case 10:e:{if(c=s.type._context,p=s.pendingProps,g=s.memoizedProps,N=p.value,Me(Zo,c._currentValue),c._currentValue=N,g!==null)if(Kt(g.value,N)){if(g.children===p.children&&!Nt.current){s=Tn(t,s,a);break e}}else for(g=s.child,g!==null&&(g.return=s);g!==null;){var E=g.dependencies;if(E!==null){N=g.child;for(var A=E.firstContext;A!==null;){if(A.context===c){if(g.tag===1){A=An(-1,a&-a),A.tag=2;var _=g.updateQueue;if(_!==null){_=_.shared;var H=_.pending;H===null?A.next=A:(A.next=H.next,H.next=A),_.pending=A}}g.lanes|=a,A=g.alternate,A!==null&&(A.lanes|=a),Gc(g.return,a,s),E.lanes|=a;break}A=A.next}}else if(g.tag===10)N=g.type===s.type?null:g.child;else if(g.tag===18){if(N=g.return,N===null)throw Error(i(341));N.lanes|=a,E=N.alternate,E!==null&&(E.lanes|=a),Gc(N,a,s),N=g.sibling}else N=g.child;if(N!==null)N.return=g;else for(N=g;N!==null;){if(N===s){N=null;break}if(g=N.sibling,g!==null){g.return=N.return,N=g;break}N=N.return}g=N}wt(t,s,p.children,a),s=s.child}return s;case 9:return p=s.type,c=s.pendingProps.children,xs(s,a),p=Vt(p),c=c(p),s.flags|=1,wt(t,s,c,a),s.child;case 14:return c=s.type,p=Xt(c,s.pendingProps),p=Xt(c.type,p),bh(t,s,c,p,a);case 15:return jh(t,s,s.type,s.pendingProps,a);case 17:return c=s.type,p=s.pendingProps,p=s.elementType===c?p:Xt(c,p),da(t,s),s.tag=1,Pt(c)?(t=!0,Go(s)):t=!1,xs(s,a),ph(s,c,p),ld(s,c,p,a),md(null,s,c,!0,t,a);case 19:return Th(t,s,a);case 22:return Nh(t,s,a)}throw Error(i(156,s.tag))};function eg(t,s){return Ip(t,s)}function H1(t,s,a,c){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(t,s,a,c){return new H1(t,s,a,c)}function Id(t){return t=t.prototype,!(!t||!t.isReactComponent)}function G1(t){if(typeof t=="function")return Id(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Ge)return 11;if(t===_e)return 14}return 2}function sr(t,s){var a=t.alternate;return a===null?(a=Bt(t.tag,s,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=s,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&14680064,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,s=t.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a}function ba(t,s,a,c,p,g){var N=2;if(c=t,typeof t=="function")Id(t)&&(N=1);else if(typeof t=="string")N=5;else e:switch(t){case z:return Rr(a.children,p,g,s);case V:N=8,p|=8;break;case oe:return t=Bt(12,a,s,p|2),t.elementType=oe,t.lanes=g,t;case qe:return t=Bt(13,a,s,p),t.elementType=qe,t.lanes=g,t;case Be:return t=Bt(19,a,s,p),t.elementType=Be,t.lanes=g,t;case me:return ja(a,p,g,s);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case he:N=10;break e;case Re:N=9;break e;case Ge:N=11;break e;case _e:N=14;break e;case Ie:N=16,c=null;break e}throw Error(i(130,t==null?t:typeof t,""))}return s=Bt(N,a,s,p),s.elementType=t,s.type=c,s.lanes=g,s}function Rr(t,s,a,c){return t=Bt(7,t,c,s),t.lanes=a,t}function ja(t,s,a,c){return t=Bt(22,t,c,s),t.elementType=me,t.lanes=a,t.stateNode={isHidden:!1},t}function Md(t,s,a){return t=Bt(6,t,null,s),t.lanes=a,t}function Dd(t,s,a){return s=Bt(4,t.children!==null?t.children:[],t.key,s),s.lanes=a,s.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},s}function q1(t,s,a,c,p){this.tag=s,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ac(0),this.expirationTimes=ac(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ac(0),this.identifierPrefix=c,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function Ld(t,s,a,c,p,g,N,E,A){return t=new q1(t,s,a,E,A),s===1?(s=1,g===!0&&(s|=8)):s=0,g=Bt(3,null,null,s),t.current=g,g.stateNode=t,g.memoizedState={element:c,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kc(g),t}function K1(t,s,a){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:U,key:c==null?null:""+c,children:t,containerInfo:s,implementation:a}}function tg(t){if(!t)return Yn;t=t._reactInternals;e:{if(vr(t)!==t||t.tag!==1)throw Error(i(170));var s=t;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Pt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(i(171))}if(t.tag===1){var a=t.type;if(Pt(a))return Af(t,a,s)}return s}function ng(t,s,a,c,p,g,N,E,A){return t=Ld(a,c,!0,t,p,g,N,E,A),t.context=tg(null),a=t.current,c=bt(),p=nr(a),g=An(c,p),g.callback=s??null,Zn(a,g,p),t.current.lanes=p,ni(t,p,c),St(t,c),t}function Na(t,s,a,c){var p=s.current,g=bt(),N=nr(p);return a=tg(a),s.context===null?s.context=a:s.pendingContext=a,s=An(g,N),s.payload={element:t},c=c===void 0?null:c,c!==null&&(s.callback=c),t=Zn(p,s,N),t!==null&&(Jt(t,p,N,g),ea(t,p,N)),N}function Pa(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function rg(t,s){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<s?a:s}}function Wd(t,s){rg(t,s),(t=t.alternate)&&rg(t,s)}function Y1(){return null}var sg=typeof reportError=="function"?reportError:function(t){console.error(t)};function _d(t){this._internalRoot=t}ka.prototype.render=_d.prototype.render=function(t){var s=this._internalRoot;if(s===null)throw Error(i(409));Na(t,s,null,null)},ka.prototype.unmount=_d.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var s=t.containerInfo;Er(function(){Na(null,t,null,null)}),s[Pn]=null}};function ka(t){this._internalRoot=t}ka.prototype.unstable_scheduleHydration=function(t){if(t){var s=Vp();t={blockedOn:null,target:t,priority:s};for(var a=0;a<Un.length&&s!==0&&s<Un[a].priority;a++);Un.splice(a,0,t),a===0&&Bp(t)}};function Fd(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Ca(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function ig(){}function X1(t,s,a,c,p){if(p){if(typeof c=="function"){var g=c;c=function(){var _=Pa(N);g.call(_)}}var N=ng(s,c,t,0,null,!1,!1,"",ig);return t._reactRootContainer=N,t[Pn]=N.current,gi(t.nodeType===8?t.parentNode:t),Er(),N}for(;p=t.lastChild;)t.removeChild(p);if(typeof c=="function"){var E=c;c=function(){var _=Pa(A);E.call(_)}}var A=Ld(t,0,!1,null,null,!1,!1,"",ig);return t._reactRootContainer=A,t[Pn]=A.current,gi(t.nodeType===8?t.parentNode:t),Er(function(){Na(s,A,a,c)}),A}function Sa(t,s,a,c,p){var g=a._reactRootContainer;if(g){var N=g;if(typeof p=="function"){var E=p;p=function(){var A=Pa(N);E.call(A)}}Na(s,N,t,p)}else N=X1(a,s,t,p,c);return Pa(N)}Fp=function(t){switch(t.tag){case 3:var s=t.stateNode;if(s.current.memoizedState.isDehydrated){var a=ti(s.pendingLanes);a!==0&&(lc(s,a|1),St(s,Ke()),(Pe&6)===0&&(js=Ke()+500,Xn()))}break;case 13:Er(function(){var c=En(t,1);if(c!==null){var p=bt();Jt(c,t,1,p)}}),Wd(t,1)}},cc=function(t){if(t.tag===13){var s=En(t,134217728);if(s!==null){var a=bt();Jt(s,t,134217728,a)}Wd(t,134217728)}},Op=function(t){if(t.tag===13){var s=nr(t),a=En(t,s);if(a!==null){var c=bt();Jt(a,t,s,c)}Wd(t,s)}},Vp=function(){return Te},zp=function(t,s){var a=Te;try{return Te=t,s()}finally{Te=a}},tc=function(t,s,a){switch(s){case"input":if(ql(t,a),s=a.name,a.t
40ype==="radio"&&s!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<a.length;s++){var c=a[s];if(c!==t&&c.form===t.form){var p=Uo(c);if(!p)throw Error(i(90));yr(c),ql(c,p)}}}break;case"textarea":gp(t,a);break;case"select":s=a.value,s!=null&&Jr(t,!!a.multiple,s,!1)}},kp=Ad,Cp=Er;var Q1={usingClientEntryPoint:!1,Events:[vi,cs,Uo,Np,Pp,Ad]},Mi={findFiberByHostInstance:wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Z1={bundleType:Mi.bundleType,version:Mi.version,rendererPackageName:Mi.rendererPackageName,rendererConfig:Mi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Tp(t),t===null?null:t.stateNode},findFiberByHostInstance:Mi.findFiberByHostInstance||Y1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ea=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ea.isDisabled&&Ea.supportsFiber)try{ko=Ea.inject(Z1),dn=Ea}catch{}}return Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q1,Et.createPortal=function(t,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fd(s))throw Error(i(200));return K1(t,s,null,a)},Et.createRoot=function(t,s){if(!Fd(t))throw Error(i(299));var a=!1,c="",p=sg;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onRecoverableError!==void 0&&(p=s.onRecoverableError)),s=Ld(t,1,!1,null,null,a,!1,c,p),t[Pn]=s.current,gi(t.nodeType===8?t.parentNode:t),new _d(s)},Et.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var s=t._reactInternals;if(s===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=Tp(s),t=t===null?null:t.stateNode,t},Et.flushSync=function(t){return Er(t)},Et.hydrate=function(t,s,a){if(!Ca(s))throw Error(i(200));return Sa(null,t,s,!0,a)},Et.hydrateRoot=function(t,s,a){if(!Fd(t))throw Error(i(405));var c=a!=null&&a.hydratedSources||null,p=!1,g="",N=sg;if(a!=null&&(a.unstable_strictMode===!0&&(p=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(N=a.onRecoverableError)),s=ng(s,null,t,1,a??null,p,!1,g,N),t[Pn]=s.current,gi(t),c)for(t=0;t<c.length;t++)a=c[t],p=a._getVersion,p=p(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,p]:s.mutableSourceEagerHydrationData.push(a,p);return new ka(s)},Et.render=function(t,s,a){if(!Ca(s))throw Error(i(200));return Sa(null,t,s,!1,a)},Et.unmountComponentAtNode=function(t){if(!Ca(t))throw Error(i(40));return t._reactRootContainer?(Er(function(){Sa(null,null,t,!1,function(){t._reactRootContainer=null,t[Pn]=null})}),!0):!1},Et.unstable_batchedUpdates=Ad,Et.unstable_renderSubtreeIntoContainer=function(t,s,a,c){if(!Ca(a))throw Error(i(200));if(t==null||t._reactInternals===void 0)throw Error(i(38));return Sa(t,s,a,!1,c)},Et.version="18.3.1-next-f1338f8080-20240426",Et}var pg;function My(){if(pg)return zd.exports;pg=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(n){console.error(n)}}return e(),zd.exports=oj(),zd.exports}var fg;function aj(){if(fg)return Aa;fg=1;var e=My();return Aa.createRoot=e.createRoot,Aa.hydrateRoot=e.hydrateRoot,Aa}var lj=aj(),y=dm();const Qe=kl(y),um=ej({__proto__:null,default:Qe},[y]);/** 41 * react-router v7.9.6 42 * 43 * Copyright (c) Remix Software Inc. 44 * 45 * This source code is licensed under the MIT license found in the 46 * LICENSE.md file in the root directory of this source tree. 47 * 48 * @license MIT 49 */var hg="popstate";function cj(e={}){function n(o,l){let{pathname:d,search:u,hash:m}=o.location;return Cu("",{pathname:d,search:u,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(o,l){return typeof l=="string"?l:Qi(l)}return uj(n,i,null,e)}function $e(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function sn(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function dj(){return Math.random().toString(36).substring(2,10)}function gg(e,n){return{usr:e.state,key:e.key,idx:n}}function Cu(e,n,i=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?zs(n):n,state:i,key:n&&n.key||o||dj()}}function Qi({pathname:e="/",search:n="",hash:i=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function zs(e){let n={};if(e){let i=e.indexOf("#");i>=0&&(n.hash=e.substring(i),e=e.substring(0,i));let o=e.indexOf("?");o>=0&&(n.search=e.substring(o),e=e.substring(0,o)),e&&(n.pathname=e)}return n}function uj(e,n,i,o={}){let{window:l=document.defaultView,v5Compat:d=!1}=o,u=l.history,m="POP",f=null,h=x();
49h==null&&(h=0,u.replaceState({...u.state,idx:h},""));function x(){return(u.state||{idx:null}).idx}function v(){m="POP";let j=x(),P=j==null?null:j-h;h=j,f&&f({action:m,location:w.location,delta:P})}function b(j,P){m="PUSH";let S=Cu(w.location,j,P);h=x()+1;let T=gg(S,h),O=w.createHref(S);try{u.pushState(T,"",O)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;l.location.assign(O)}d&&f&&f({action:m,location:w.location,delta:1})}function k(j,P){m="REPLACE";let S=Cu(w.location,j,P);h=x();let T=gg(S,h),O=w.createHref(S);u.replaceState(T,"",O),d&&f&&f({action:m,location:w.location,delta:0})}function C(j){return mj(j)}let w={get action(){return m},get location(){return e(l,u)},listen(j){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(hg,v),f=j,()=>{l.removeEventListener(hg,v),f=null}},createHref(j){return n(l,j)},createURL:C,encodeLocation(j){let P=C(j);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:b,replace:k,go(j){return u.go(j)}};return w}function mj(e,n=!1){let i="http://localhost";
49typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),$e(i,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:Qi(e);return o=o.replace(/ $/,"%20"),!n&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function Dy(e,n,i="/"){return pj(e,n,i,!1)}function pj(e,n,i,o){let l=typeof n=="string"?zs(n):n,d=_n(l.pathname||"/",i);if(d==null)return null;let u=Ly(e);fj(u);let m=null;for(let f=0;m==null&&f<u.length;++f){let h=kj(d);m=Nj(u[f],h,o)}return m}function Ly(e,n=[],i=[],o="",l=!1){let d=(u,m,f=l,h)=>{let x={relativePath:h===void 0?u.path||"":h,caseSensitive:u.caseSensitive===!0,childrenIndex:m,route:u};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(o)&&f)return;$e(x.relativePath.startsWith(o),`Absolute route path "${x.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(o.length)}let v=Ln([o,x.relativePath]),b=i.concat(x);u.children&&u.children.length>0&&($e(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Ly(u.children,n,b,v,f)),!(u.path==null&&!u.index)&&n.push({path:v,score:bj(v,u.index),routesMeta:b})};return e.forEach((u,m)=>{if(u.path===""||!u.path?.includes("?"))d(u,m);else for(let f of Wy(u.path))d(u,m,!0,f)}),n}function Wy(e){let n=e.split("/");if(n.length===0)return[];let[i,...o]=n,l=i.endsWith("?"),d=i.replace(/\?$/,"");if(o.length===0)return l?[d,""]:[d];let u=Wy(o.join("/")),m=[];return m.push(...u.map(f=>f===""?d:[d,f].join("/"))),l&&m.push(...u),m.map(f=>e.startsWith("/")&&f===""?"/":f)}function fj(e){e.sort((n,i)=>n.score!==i.score?i.score-n.score:jj(n.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var hj=/^:[\w-]+$/,gj=3,xj=2,yj=1,vj=10,wj=-2,xg=e=>e==="*";function bj(e,n){let i=e.split("/"),o=i.length;return i.some(xg)&&(o+=wj),n&&(o+=xj),i.filter(l=>!xg(l)).reduce((l,d)=>l+(hj.test(d)?gj:d===""?yj:vj),o)}function jj(e,n){return e.length===n.length&&e.slice(0,-1).every((o,l)=>o===n[l])?e[e.length-1]-n[n.length-1]:0}function Nj(e,n,i=!1){let{routesMeta:o}=e,l={},d="/",u=[];for(let m=0;m<o.length;++m){let f=o[m],h=m===o.length-1,x=d==="/"?n:n.slice(d.length)||"/",v=il({path:f.relativePath,caseSensitive:f.caseSensitive,end:h},x),b=f.route;if(!v&&h&&i&&!o[o.length-1].route.index&&(v=il({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},x)),!v)return null;
49Object.assign(l,v.params),u.push({params:l,pathname:Ln([d,v.pathname]),pathnameBase:Tj(Ln([d,v.pathnameBase])),route:b}),v.pathnameBase!=="/"&&(d=Ln([d,v.pathnameBase]))}return u}function il(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,o]=Pj(e.path,e.caseSensitive,e.end),l=n.match(i);if(!l)return null;let d=l[0],u=d.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:o.reduce((h,{paramName:x,isOptional:v},b)=>{if(x==="*"){let C=m[b]||"";u=d.slice(0,d.length-C.length).replace(/(.)\/+$/,"$1")}const k=m[b];return v&&!k?h[x]=void 0:h[x]=(k||"").replace(/%2F/g,"/"),h},{}),pathname:d,pathnameBase:u,pattern:e}}function Pj(e,n=!1,i=!0){sn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,m,f)=>(o.push({paramName:m,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),o]}function kj(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return sn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function _n(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let i=n.endsWith("/")?n.length-1:n.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}var Cj=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sj=e=>Cj.test(e);function Ej(e,n="/"){let{pathname:i,search:o="",hash:l=""}=typeof e=="string"?zs(e):e,d;if(i)if(Sj(i))d=i;else{if(i.includes("//")){let u=i;i=i.replace(/\/\/+/g,"/"),sn(!1,`Pathnames cannot have embedded double slashes - normalizing ${u} -> ${i}`)}i.startsWith("/")?d=yg(i.substring(1),"/"):d=yg(i,n)}else d=n;return{pathname:d,search:Rj(o),hash:Ij(l)}}function yg(e,n){let i=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function Ud(e,n,i,o){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Aj(e){return e.filter((n,i)=>i===0||n.route.path&&n.route.path.length>0)}function _y(e){let n=Aj(e);return n.map((i,o)=>o===n.length-1?i.pathname:i.pathnameBase)}function Fy(e,n,i,o=!1){let l;typeof e=="string"?l=zs(e):(l={...e},$e(!l.pathname||!l.pathname.includes("?"),Ud("?","pathname","search",l)),$e(!l.pathname||!l.pathname.includes("#"),Ud("#","pathname","hash",l)),$e(!l.search||!l.search.includes("#"),Ud("#","search","hash",l)));let d=e===""||l.pathname==="",u=d?"/":l.pathname,m;if(u==null)m=i;else{let v=n.length-1;if(!o&&u.startsWith("..")){let b=u.split("/");for(;b[0]==="..";)b.shift(),v-=1;l.pathname=b.join("/")}m=v>=0?n[v]:"/"}let f=Ej(l,m),h=u&&u!=="/"&&u.endsWith("/"),x=(d||u===".")&&i.endsWith("/");return!f.pathname.endsWith("/")&&(h||x)&&(f.pathname+="/"),f}var Ln=e=>e.join("/").replace(/\/\/+/g,"/"),Tj=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Rj=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ij=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Mj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Oy=["POST","PUT","PATCH","DELETE"];new Set(Oy);var Dj=["GET",...Oy];new Set(Dj);var $s=y.createContext(null);$s.displayName="DataRouter";var Cl=y.createContext(null);Cl.displayName="DataRouterState";y.createContext(!1);var Vy=y.createContext({isTransitioning:!1});Vy.displayName="ViewTransition";var Lj=y.createContext(new Map);Lj.displayName="Fetchers";var Wj=y.createContext(null);Wj.displayName="Await";var bn=y.createContext(null);bn.displayName="Navigation";var ao=y.createContext(null);ao.displayName="Location";var jn=y.createContext({outlet:null,matches:[],isDataRoute:!1});jn.displayName="Route";var mm=y.createContext(null);mm.displayName="RouteError";function _j(e,{relative:n}={}){$e(lo(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:o}=y.useContext(bn),{hash:l,pathname:d,search:u}=co(e,{relative:n}),m=d;return i!=="/"&&(m=d==="/"?i:Ln([i,d])),o.createHref({pathname:m,search:u,hash:l})}function lo(){return y.useContext(ao)!=null}function Nn(){return $e(lo(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(ao).location}var zy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";
49function $y(e){y.useContext(bn).static||y.useLayoutEffect(e)}function Sl(){let{isDataRoute:e}=y.useContext(jn);return e?Xj():Fj()}function Fj(){$e(lo(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext($s),{basename:n,navigator:i}=y.useContext(bn),{matches:o}=y.useContext(jn),{pathname:l}=Nn(),d=JSON.stringify(_y(o)),u=y.useRef(!1);return $y(()=>{u.current=!0}),y.useCallback((f,h={})=>{if(sn(u.current,zy),!u.current)return;if(typeof f=="number"){i.go(f);return}let x=Fy(f,JSON.parse(d),l,h.relative==="path");e==null&&n!=="/"&&(x.pathname=x.pathname==="/"?n:Ln([n,x.pathname])),(h.replace?i.replace:i.push)(x,h.state,h)},[n,i,d,l,e])}y.createContext(null);function pm(){let{matches:e}=y.useContext(jn),n=e[e.length-1];return n?n.params:{}}function co(e,{relative:n}={}){let{matches:i}=y.useContext(jn),{pathname:o}=Nn(),l=JSON.stringify(_y(i));return y.useMemo(()=>Fy(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function Oj(e,n){return By(e,n)}function By(e,n,i,o,l){$e(lo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:d}=y.useContext(bn),{matches:u}=y.useContext(jn),m=u[u.length-1],f=m?m.params:{},h=m?m.pathname:"/",x=m?m.pathnameBase:"/",v=m&&m.route;{let S=v&&v.path||"";Uy(h,!v||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${S}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 50 51Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let b=Nn(),k;if(n){let S=typeof n=="string"?zs(n):n;$e(x==="/"||S.pathname?.startsWith(x),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${x}" but pathname "${S.pathname}" was given in the \`location\` prop.`),k=S}else k=b;let C=k.pathname||"/",w=C;if(x!=="/"){let S=x.replace(/^\//,"").split("/");w="/"+C.replace(/^\//,"").split("/").slice(S.length).join("/")}let j=Dy(e,{pathname:w});sn(v||j!=null,`No routes matched location "${k.pathname}${k.search}${k.hash}" `),sn(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${k.pathname}${k.search}${k.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let P=Uj(j&&j.map(S=>Object.assign({},S,{params:Object.assign({},f,S.params),pathname:Ln([x,d.encodeLocation?d.encodeLocation(S.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?x:Ln([x,d.encodeLocation?d.encodeLocation(S.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),u,i,o,l);return n&&P?y.createElement(ao.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...k},navigationType:"POP"}},P):P}function Vj(){let e=Yj(),n=Mj(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},d={padding:"2px 4px",backgroundColor:o},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=y.createElement(y.Fragment,null,y.createElement("p",null,"ð¿ Hey developer ð"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:d},"ErrorBoundary")," or"," ",y.createElement("code",{style:d},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},n),i?y.createElement("pre",{style:l},i):null,u)}var zj=y.createElement(Vj,null),$j=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){return this.state.error!==void 0?y.createElement(jn.Provider,{value:this.props.routeContext},y.createElement(mm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Bj({routeContext:e,match:n,children:i}){let o=y.useContext($s);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(jn.Provider,{value:e},i)}function Uj(e,n=[],i=null,o=null,l=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(n.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let d=e,u=i?.errors;if(u!=null){let x=d.findIndex(v=>v.route.id&&u?.[v.route.id]!==void 0);$e(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),d=d.slice(0,Math.min(d.length,x+1))}let m=!1,f=-1;if(i)for(let x=0;x<d.length;x++){let v=d[x];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(f=x),v.route.id){let{loaderData:b,errors:k}
51=i,C=v.route.loader&&!b.hasOwnProperty(v.route.id)&&(!k||k[v.route.id]===void 0);if(v.route.lazy||C){m=!0,f>=0?d=d.slice(0,f+1):d=[d[0]];break}}}let h=i&&o?(x,v)=>{o(x,{location:i.location,params:i.matches?.[0]?.params??{},errorInfo:v})}:void 0;return d.reduceRight((x,v,b)=>{let k,C=!1,w=null,j=null;i&&(k=u&&v.route.id?u[v.route.id]:void 0,w=v.route.errorElement||zj,m&&(f<0&&b===0?(Uy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,j=null):f===b&&(C=!0,j=v.route.hydrateFallbackElement||null)));let P=n.concat(d.slice(0,b+1)),S=()=>{let T;return k?T=w:C?T=j:v.route.Component?T=y.createElement(v.route.Component,null):v.route.element?T=v.route.element:T=x,y.createElement(Bj,{match:v,routeContext:{outlet:x,matches:P,isDataRoute:i!=null},children:T})};return i&&(v.route.ErrorBoundary||v.route.errorElement||b===0)?y.createElement($j,{location:i.location,revalidation:i.revalidation,component:w,error:k,children:S(),routeContext:{outlet:null,matches:P,isDataRoute:!0},onError:h}):S()},null)}function fm(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Hj(e){let n=y.useContext($s);return $e(n,fm(e)),n}function Gj(e){let n=y.useContext(Cl);return $e(n,fm(e)),n}function qj(e){let n=y.useContext(jn);return $e(n,fm(e)),n}function hm(e){let n=qj(e),i=n.matches[n.matches.length-1];return $e(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function Kj(){return hm("useRouteId")}function Yj(){let e=y.useContext(mm),n=Gj("useRouteError"),i=hm("useRouteError");return e!==void 0?e:n.errors?.[i]}function Xj(){let{router:e}=Hj("useNavigate"),n=hm("useNavigate"),i=y.useRef(!1);return $y(()=>{i.current=!0}),y.useCallback(async(l,d={})=>{sn(i.current,zy),i.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:n,...d}))},[e,n])}var vg={};function Uy(e,n,i){!n&&!vg[e]&&(vg[e]=!0,sn(!1,i))}y.memo(Qj);function Qj({routes:e,future:n,state:i,unstable_onError:o}){return By(e,void 0,i,o,n)}function Ne(e){$e(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Zj({basename:e="/",children:n=null,location:i,navigationType:o="POP",navigator:l,static:d=!1}){$e(!lo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),m=y.useMemo(()=>({basename:u,navigator:l,static:d,future:{}}),[u,l,d]);typeof i=="string"&&(i=zs(i));let{pathname:f="/",search:h="",hash:x="",state:v=null,key:b="default"}=i,k=y.useMemo(()=>{let C=_n(f,u);return C==null?null:{location:{pathname:C,search:h,hash:x,state:v,key:b},navigationType:o}},[u,f,h,x,v,b,o]);
51return sn(k!=null,`<Router basename="${u}"> is not able to match the URL "${f}${h}${x}" because it does not start with the basename, so the <Router> won't render anything.`),k==null?null:y.createElement(bn.Provider,{value:m},y.createElement(ao.Provider,{children:n,value:k}))}function Jj({children:e,location:n}){return Oj(Su(e),n)}function Su(e,n=[]){let i=[];return y.Children.forEach(e,(o,l)=>{if(!y.isValidElement(o))return;let d=[...n,l];if(o.type===y.Fragment){i.push.apply(i,Su(o.props.children,d));return}$e(o.type===Ne,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),$e(!o.props.index||!o.props.children,"An index route cannot have child routes.");let u={id:o.props.id||d.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(u.children=Su(o.props.children,d)),i.push(u)}),i}var Ka="get",Ya="application/x-www-form-urlencoded";function El(e){return e!=null&&typeof e.tagName=="string"}function eN(e){return El(e)&&e.tagName.toLowerCase()==="button"}function tN(e){return El(e)&&e.tagName.toLowerCase()==="form"}function nN(e){return El(e)&&e.tagName.toLowerCase()==="input"}function rN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function sN(e,n){return e.button===0&&(!n||n==="_self")&&!rN(e)}var Ta=null;function iN(){if(Ta===null)try{new FormData(document.createElement("form"),0),Ta=!1}catch{Ta=!0}return Ta}var oN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Hd(e){return e!=null&&!oN.has(e)?(sn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ya}"`),null):e}function aN(e,n){let i,o,l,d,u;if(tN(e)){let m=e.getAttribute("action");o=m?_n(m,n):null,i=e.getAttribute("method")||Ka,l=Hd(e.getAttribute("enctype"))||Ya,d=new FormData(e)}else if(eN(e)||nN(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||m.getAttribute("action");if(o=f?_n(f,n):null,i=e.getAttribute("formmethod")||m.getAttribute("method")||Ka,l=Hd(e.getAttribute("formenctype"))||Hd(m.getAttribute("enctype"))||Ya,d=new FormData(m,e),!iN()){let{name:h,type:x,value:v}=e;if(x==="image"){let b=h?`${h}.`:"";d.append(`${b}x`,"0"),d.append(`${b}y`,"0")}else h&&d.append(h,v)}}else{if(El(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=Ka,o=null,l=Ya,u=e}return d&&l==="text/plain"&&(u=d,d=void 0),{action:o,method:i.toLowerCase(),encType:l,formData:d,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function gm(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function lN(e,n,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return o.pathname==="/"?o.pathname=`_root.${i}`:n&&_n(o.pathname,n)==="/"?o.pathname=`${n.replace(/\/$/,"")}/_root.${i}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${i}`,o}async function cN(e,n){if(e.id in n)return n[e.id];try{let i=await import(e.module);return n[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function dN(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function uN(e,n,i){let o=await Promise.all(e.map(async l=>{let d=n.routes[l.route.id];if(d){let u=await cN(d,i);return u.links?u.links():[]}return[]}));return hN(o.flat(1).filter(dN).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function wg(e,n,i,o,l,d){let u=(f,h)=>i[h]?f.route.id!==i[h].route.id:!0,m=(f,h)=>i[h].pathname!==f.pathname||i[h].route.path?.endsWith("*")&&i[h].params["*"]!==f.params["*"];return d==="assets"?n.filter((f,h)=>u(f,h)||m(f,h)):d==="data"?n.filter((f,h)=>{let x=o.routes[f.route.id];if(!x||!x.hasLoader)return!1;if(u(f,h)||m(f,h))return!0;
51if(f.route.shouldRevalidate){let v=f.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function mN(e,n,{includeHydrateFallback:i}={}){return pN(e.map(o=>{let l=n.routes[o.route.id];if(!l)return[];let d=[l.module];return l.clientActionModule&&(d=d.concat(l.clientActionModule)),l.clientLoaderModule&&(d=d.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(d=d.concat(l.hydrateFallbackModule)),l.imports&&(d=d.concat(l.imports)),d}).flat(1))}function pN(e){return[...new Set(e)]}function fN(e){let n={},i=Object.keys(e).sort();for(let o of i)n[o]=e[o];return n}function hN(e,n){let i=new Set;return new Set(n),e.reduce((o,l)=>{let d=JSON.stringify(fN(l));return i.has(d)||(i.add(d),o.push({key:d,link:l})),o},[])}function Hy(){let e=y.useContext($s);return gm(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function gN(){let e=y.useContext(Cl);return gm(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var xm=y.createContext(void 0);xm.displayName="FrameworkContext";function Gy(){let e=y.useContext(xm);return gm(e,"You must render this element inside a <HydratedRouter> element"),e}function xN(e,n){let i=y.useContext(xm),[o,l]=y.useState(!1),[d,u]=y.useState(!1),{onFocus:m,onBlur:f,onMouseEnter:h,onMouseLeave:x,onTouchStart:v}=n,b=y.useRef(null);y.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let w=P=>{P.forEach(S=>{u(S.isIntersecting)})},j=new IntersectionObserver(w,{threshold:.5});return b.current&&j.observe(b.current),()=>{j.disconnect()}}},[e]),y.useEffect(()=>{if(o){let w=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(w)}}},[o]);let k=()=>{l(!0)},C=()=>{l(!1),u(!1)};return i?e!=="intent"?[d,b,{}]:[d,b,{onFocus:Li(m,k),onBlur:Li(f,C),onMouseEnter:Li(h,k),onMouseLeave:Li(x,C),onTouchStart:Li(v,k)}]:[!1,b,{}]}function Li(e,n){return i=>{e&&e(i),i.defaultPrevented||n(i)}}function yN({page:e,...n}){let{router:i}=Hy(),o=y.useMemo(()=>Dy(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?y.createElement(wN,{page:e,matches:o,...n}):null}function vN(e){let{manifest:n,routeModules:i}=Gy(),[o,l]=y.useState([]);return y.useEffect(()=>{let d=!1;return uN(e,n,i).then(u=>{d||l(u)}),()=>{d=!0}},[e,n,i]),o}function wN({page:e,matches:n,...i}){let o=Nn(),{manifest:l,routeModules:d}=Gy(),{basename:u}=Hy(),{loaderData:m,matches:f}=gN(),h=y.useMemo(()=>wg(e,n,f,l,o,"data"),[e,n,f,l,o]),x=y.useMemo(()=>wg(e,n,f,l,o,"assets"),[e,n,f,l,o]),v=y.useMemo(()=>{if(e===o.pathname+o.search+o.hash)return[];let C=new Set,w=!1;if(n.forEach(P=>{let S=l.routes[P.route.id];!S||!S.hasLoader||(!h.some(T=>T.route.id===P.route.id)&&P.route.id in m&&d[P.route.id]?.shouldRevalidate||S.hasClientLoader?w=!0:C.add(P.route.id))}),C.size===0)return[];let j=lN(e,u,"data");return w&&C.size>0&&j.searchParams.set("_routes",n.filter(P=>C.has(P.route.id)).map(P=>P.route.id).join(",")),[j.pathname+j.search]},[u,m,o,l,h,n,e,d]),b=y.useMemo(()=>mN(x,l),[x,l]),k=vN(x);return y.createElement(y.Fragment,null,v.map(C=>y.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...i})),b.map(C=>y.createElement("link",{key:C,rel:"modulepreload",href:C,...i})),k.map(({key:C,link:w})=>y.createElement("link",{key:C,nonce:i.nonce,...w})))}function bN(...e){return n=>{e.forEach(i=>{typeof i=="function"?i(n):i!=null&&(i.current=n)})}}var qy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{qy&&(window.__reactRouterVersion="7.9.6")}catch{}function jN({basename:e,children:n,window:i}){let o=y.useRef();o.current==null&&(o.current=cj({window:i,v5Compat:!0}));let l=o.current,[d,u]=y.useState({action:l.action,location:l.location}),m=y.useCallback(f=>{y.startTransition(()=>u(f))},[u]);return y.useLayoutEffect(()=>l.listen(m),[l,m]),y.createElement(Zj,{basename:e,children:n,location:d.location,navigationType:d.action,navigator:l})}var Ky=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xe=y.forwardRef(function({onClick:n,discover:i="render",prefetch:o="none",relative:l,reloadDocument:d,replace:u,state:m,target:f,to:h,preventScrollReset:x,viewTransition:v,...b},k){let{basename:C}=y.useContext(bn),w=typeof h=="string"&&Ky.test(h),j,P=!1;
51if(typeof h=="string"&&w&&(j=h,qy))try{let oe=new URL(window.location.href),he=h.startsWith("//")?new URL(oe.protocol+h):new URL(h),Re=_n(he.pathname,C);he.origin===oe.origin&&Re!=null?h=Re+he.search+he.hash:P=!0}catch{sn(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let S=_j(h,{relative:l}),[T,O,M]=xN(o,b),U=CN(h,{replace:u,state:m,target:f,preventScrollReset:x,relative:l,viewTransition:v});function z(oe){n&&n(oe),oe.defaultPrevented||U(oe)}let V=y.createElement("a",{...b,...M,href:j||S,onClick:P||d?n:z,ref:bN(k,O),target:f,"data-discover":!w&&i==="render"?"true":void 0});return T&&!w?y.createElement(y.Fragment,null,V,y.createElement(yN,{page:S})):V});xe.displayName="Link";var NN=y.forwardRef(function({"aria-current":n="page",caseSensitive:i=!1,className:o="",end:l=!1,style:d,to:u,viewTransition:m,children:f,...h},x){let v=co(u,{relative:h.relative}),b=Nn(),k=y.useContext(Cl),{navigator:C,basename:w}=y.useContext(bn),j=k!=null&&RN(v)&&m===!0,P=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,S=b.pathname,T=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;i||(S=S.toLowerCase(),T=T?T.toLowerCase():null,P=P.toLowerCase()),T&&w&&(T=_n(T,w)||T);const O=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let M=S===P||!l&&S.startsWith(P)&&S.charAt(O)==="/",U=T!=null&&(T===P||!l&&T.startsWith(P)&&T.charAt(P.length)==="/"),z={isActive:M,isPending:U,isTransitioning:j},V=M?n:void 0,oe;typeof o=="function"?oe=o(z):oe=[o,M?"active":null,U?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let he=typeof d=="function"?d(z):d;return y.createElement(xe,{...h,"aria-current":V,className:oe,ref:x,style:he,to:u,viewTransition:m},typeof f=="function"?f(z):f)});NN.displayName="NavLink";var PN=y.forwardRef(({discover:e="render",fetcherKey:n,navigate:i,reloadDocument:o,replace:l,state:d,method:u=Ka,action:m,onSubmit:f,relative:h,preventScrollReset:x,viewTransition:v,...b},k)=>{let C=AN(),w=TN(m,{relative:h}),j=u.toLowerCase()==="get"?"get":"post",P=typeof m=="string"&&Ky.test(m),S=T=>{if(f&&f(T),T.defaultPrevented)return;T.preventDefault();let O=T.nativeEvent.submitter,M=O?.getAttribute("formmethod")||u;C(O||T.currentTarget,{fetcherKey:n,method:M,navigate:i,replace:l,state:d,relative:h,preventScrollReset:x,viewTransition:v})};return y.createElement("form",{ref:k,method:j,action:w,onSubmit:o?f:S,...b,"data-discover":!P&&e==="render"?"true":void 0})});PN.displayName="Form";function kN(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yy(e){let n=y.useContext($s);return $e(n,kN(e)),n}function CN(e,{target:n,replace:i,state:o,preventScrollReset:l,relative:d,viewTransition:u}={}){let m=Sl(),f=Nn(),h=co(e,{relative:d});return y.useCallback(x=>{if(sN(x,n)){x.preventDefault();let v=i!==void 0?i:Qi(f)===Qi(h);m(e,{replace:v,state:o,preventScrollReset:l,relative:d,viewTransition:u})}},[f,m,h,i,o,n,e,l,d,u])}var SN=0,EN=()=>`__${String(++SN)}__`;function AN(){let{router:e}=Yy("useSubmit"),{basename:n}=y.useContext(bn),i=Kj();return y.useCallback(async(o,l={})=>{let{action:d,method:u,encType:m,formData:f,body:h}=aN(o,n);if(l.navigate===!1){let x=l.fetcherKey||EN();await e.fetch(x,i,l.action||d,{preventScrollReset:l.preventScrollReset,formData:f,body:h,formMethod:l.method||u,formEncType:l.encType||m,flushSync:l.flushSync})}else await e.navigate(l.action||d,{preventScrollReset:l.preventScrollReset,formData:f,body:h,formMethod:l.method||u,formEncType:l.encType||m,replace:l.replace,state:l.state,fromRouteId:i,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,n,i])}function TN(e,{relative:n}={}){let{basename:i}=y.useContext(bn),o=y.useContext(jn);$e(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),d={...co(e||".",{relative:n})},u=Nn();if(e==null){d.search=u.search;let m=new URLSearchParams(d.search),f=m.getAll("index");if(f.some(x=>x==="")){m.delete("index"),f.filter(v=>v).forEach(v=>m.append("index",v));let x=m.toString();d.search=x?`?${x}`:""}}return(!e||e===".")&&l.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(d.pathname=d.pathname==="/"?i:Ln([i,d.pathname])),Qi(d)}function RN(e,{relative:n}={}){let i=y.useContext(Vy);$e(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Yy("useViewTransitionState"),l=co(e,{relative:n});if(!i.isTransitioning)return!1;let d=_n(i.currentLocation.pathname,o)||i.currentLocation.pathname,u=_n(i.nextLocation.pathname,o)||i.nextLocation.pathname;return il(l.pathname,u)!=null||il(l.pathname,d)!=null}var ym=My();const IN=kl(ym),vm=y.createContext({});function Bs(e){const n=y.useRef(null);return n.current===null&&(n.current=e()),n.current}const wm=typeof window<"u",Al=wm?y.useLayoutEffect:y.useEffect,Tl=y.createContext(null);function bm(e,n){e.indexOf(n)===-1&&e.push(n)}function jm(e,n){const i=e.indexOf(n);i>-1&&e.splice(i,1)}const wn=(e,n,i)=>i>n?n:i<e?e:i;let Zi=()=>{};const Fn={},Xy=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Qy(e){return typeof e=="object"&&e!==null}const Zy=e=>/^0[^.\s]+$/u.test(e);function Nm(e){let n;return()=>(n===void 0&&(n=e()),n)}const It=e=>e,MN=(e,n)=>i=>n(e(i)),uo=(...e)=>e.reduce(MN),_s=(e,n,i)=>{const o=n-e;return o===0?1:(i-e)/o};class Pm{constructor(){this.subscriptions=[]}add(n){return bm(this.subscriptions,n),()=>jm(this.subscriptions,n)}notify(n,i,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,i,o);else for(let d=0;d<l;d++){const u=this.subscriptions[d];u&&u(n,i,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const xn=e=>e*1e3,Gt=e=>e/1e3;function km(e,n){return n?e*(1e3/n):0}const Jy=(e,n,i)=>(((1-3*i+3*n)*e+(3*i-6*n))*e+3*n)*e,DN=1e-7,LN=12;function WN(e,n,i,o,l){let d,u,m=0;do u=n+(i-n)/2,d=Jy(u,o,l)-e,d>0?i=u:n=u;
vendor: 37,375 bytes, line 51
51while(Math.abs(d)>DN&&++m<LN);return u}function mo(e,n,i,o){if(e===n&&i===o)return It;const l=d=>WN(d,0,1,e,i);return d=>d===0||d===1?d:Jy(l(d),n,o)}const ev=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,tv=e=>n=>1-e(1-n),nv=mo(.33,1.53,.69,.99),Cm=tv(nv),rv=ev(Cm),sv=e=>(e*=2)<1?.5*Cm(e):.5*(2-Math.pow(2,-10*(e-1))),Sm=e=>1-Math.sin(Math.acos(e)),iv=tv(Sm),ov=ev(Sm),_N=mo(.42,0,1,1),FN=mo(0,0,.58,1),av=mo(.42,0,.58,1),ON=e=>Array.isArray(e)&&typeof e[0]!="number",lv=e=>Array.isArray(e)&&typeof e[0]=="number",VN={linear:It,easeIn:_N,easeInOut:av,easeOut:FN,circIn:Sm,circInOut:ov,circOut:iv,backIn:Cm,backInOut:rv,backOut:nv,anticipate:sv},zN=e=>typeof e=="string",bg=e=>{if(lv(e)){Zi(e.length===4);const[n,i,o,l]=e;return mo(n,i,o,l)}else if(zN(e))return VN[e];return e},Ra=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $N(e,n){let i=new Set,o=new Set,l=!1,d=!1;const u=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function f(x){u.has(x)&&(h.schedule(x),e()),x(m)}const h={schedule:(x,v=!1,b=!1)=>{const C=b&&l?i:o;return v&&u.add(x),C.has(x)||C.add(x),x},cancel:x=>{o.delete(x),u.delete(x)},process:x=>{if(m=x,l){d=!0;return}l=!0,[i,o]=[o,i],i.forEach(f),i.clear(),l=!1,d&&(d=!1,h.process(x))}};return h}const BN=40;function cv(e,n){let i=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},d=()=>i=!0,u=Ra.reduce((T,O)=>(T[O]=$N(d),T),{}),{setup:m,read:f,resolveKeyframes:h,preUpdate:x,update:v,preRender:b,render:k,postRender:C}=u,w=()=>{const T=Fn.useManualTiming?l.timestamp:performance.now();i=!1,Fn.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(T-l.timestamp,BN),1)),l.timestamp=T,l.isProcessing=!0,m.process(l),f.process(l),h.process(l),x.process(l),v.process(l),b.process(l),k.process(l),C.process(l),l.isProcessing=!1,i&&n&&(o=!1,e(w))},j=()=>{i=!0,o=!0,l.isProcessing||e(w)};return{schedule:Ra.reduce((T,O)=>{const M=u[O];return T[O]=(U,z=!1,V=!1)=>(i||j(),M.schedule(U,z,V)),T},{}),cancel:T=>{for(let O=0;O<Ra.length;O++)u[Ra[O]].cancel(T)},state:l,steps:u}}const{schedule:Ee,cancel:on,state:ct,steps:Gd}=cv(typeof requestAnimationFrame<"u"?requestAnimationFrame:It,!0);let Xa;function UN(){Xa=void 0}const Tt={now:()=>(Xa===void 0&&Tt.set(ct.isProcessing||Fn.useManualTiming?ct.timestamp:performance.now()),Xa),set:e=>{Xa=e,queueMicrotask(UN)}},dv=e=>n=>typeof n=="string"&&n.startsWith(e),Em=dv("--"),HN=dv("var(--"),Am=e=>HN(e)?GN.test(e.split("/*")[0].trim()):!1,GN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Us={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ji={...Us,transform:e=>wn(0,1,e)},Ia={...Us,default:1},Bi=e=>Math.round(e*1e5)/1e5,Tm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function qN(e){return e==null}const KN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Rm=(e,n)=>i=>!!(typeof i=="string"&&KN.test(i)&&i.startsWith(e)||n&&!qN(i)&&Object.prototype.hasOwnProperty.call(i,n)),uv=(e,n,i)=>o=>{if(typeof o!="string")return o;const[l,d,u,m]=o.match(Tm);return{[e]:parseFloat(l),[n]:parseFloat(d),[i]:parseFloat(u),alpha:m!==void 0?parseFloat(m):1}},YN=e=>wn(0,255,e),qd={...Us,transform:e=>Math.round(YN(e))},_r={test:Rm("rgb","red"),parse:uv("red","green","blue"),transform:({red:e,green:n,blue:i,alpha:o=1})=>"rgba("+qd.transform(e)+", "+qd.transform(n)+", "+qd.transform(i)+", "+Bi(Ji.transform(o))+")"};function XN(e){let n="",i="",o="",l="";return e.length>5?(n=e.substring(1,3),i=e.substring(3,5),o=e.substring(5,7),l=e.substring(7,9)):(n=e.substring(1,2),i=e.substring(2,3),o=e.substring(3,4),l=e.substring(4,5),n+=n,i+=i,o+=o,l+=l),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const Eu={test:Rm("#"),parse:XN,transform:_r.transform},po=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),ar=po("deg"),yn=po("%"),pe=po("px"),QN=po("vh"),ZN=po("vw"),jg={...yn,parse:e=>yn.parse(e)/100,transform:e=>yn.transform(e*100)},As={test:Rm("hsl","hue"),parse:uv("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:i,alpha:o=1})=>"hsla("+Math.round(e)+", "+yn.transform(Bi(n))+", "+yn.transform(Bi(i))+", "+Bi(Ji.transform(o))+")"},Je={test:e=>_r.test(e)||Eu.test(e)||As.test(e),parse:e=>_r.test(e)?_r.parse(e):As.test(e)?As.parse(e):Eu.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?_r.transform(e):As.transform(e),getAnimatableNone:e=>{const n=Je.parse(e);return n.alpha=0,Je.transform(n)}},JN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function e2(e){return isNaN(e)&&typeof e=="string"&&(e.match(Tm)?.length||0)+(e.match(JN)?.length||0)>0}const mv="number",pv="color",t2="var",n2="var(",Ng="${}",r2=/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 eo(e){const n=e.toString(),i=[],o={color:[],number:[],var:[]},l=[];let d=0;const m=n.replace(r2,f=>(Je.test(f)?(o.color.push(d),l.push(pv),i.push(Je.parse(f))):f.startsWith(n2)?(o.var.push(d),l.push(t2),i.push(f)):(o.number.push(d),l.push(mv),i.push(parseFloat(f))),++d,Ng)).split(Ng);return{values:i,split:m,indexes:o,types:l}}function fv(e){return eo(e).values}function hv(e){const{split:n,types:i}=eo(e),o=n.length;return l=>{let d="";for(let u=0;u<o;u++)if(d+=n[u],l[u]!==void 0){const m=i[u];m===mv?d+=Bi(l[u]):m===pv?d+=Je.transform(l[u]):d+=l[u]}return d}}const s2=e=>typeof e=="number"?0:Je.test(e)?Je.getAnimatableNone(e):e;function i2(e){const n=fv(e);return hv(e)(n.map(s2))}const ur={test:e2,parse:fv,createTransformer:hv,getAnimatableNone:i2};function Kd(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}function o2({hue:e,saturation:n,lightness:i,alpha:o}){e/=360,n/=100,i/=100;let l=0,d=0,u=0;if(!n)l=d=u=i;else{const m=i<.5?i*(1+n):i+n-i*n,f=2*i-m;l=Kd(f,m,e+1/3),d=Kd(f,m,e),u=Kd(f,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(d*255),blue:Math.round(u*255),alpha:o}}function ol(e,n){return i=>i>0?n:e}const ze=(e,n,i)=>e+(n-e)*i,Yd=(e,n,i)=>{const o=e*e,l=i*(n*n-o)+o;return l<0?0:Math.sqrt(l)},a2=[Eu,_r,As],l2=e=>a2.find(n=>n.test(e));function Pg(e){const n=l2(e);if(!n)return!1;let i=n.parse(e);return n===As&&(i=o2(i)),i}const kg=(e,n)=>{const i=Pg(e),o=Pg(n);if(!i||!o)return ol(e,n);const l={...i};return d=>(l.red=Yd(i.red,o.red,d),l.green=Yd(i.green,o.green,d),l.blue=Yd(i.blue,o.blue,d),l.alpha=ze(i.alpha,o.alpha,d),_r.transform(l))},Au=new Set(["none","hidden"]);function c2(e,n){return Au.has(e)?i=>i<=0?e:n:i=>i>=1?n:e}function d2(e,n){return i=>ze(e,n,i)}function Im(e){return typeof e=="number"?d2:typeof e=="string"?Am(e)?ol:Je.test(e)?kg:p2:Array.isArray(e)?gv:typeof e=="object"?Je.test(e)?kg:u2:ol}function gv(e,n){const i=[...e],o=i.length,l=e.map((d,u)=>Im(d)(d,n[u]));return d=>{for(let u=0;u<o;u++)i[u]=l[u](d);return i}}function u2(e,n){const i={...e,...n},o={};for(const l in i)e[l]!==void 0&&n[l]!==void 0&&(o[l]=Im(e[l])(e[l],n[l]));return l=>{for(const d in o)i[d]=o[d](l);return i}}function m2(e,n){const i=[],o={color:0,var:0,number:0};for(let l=0;l<n.values.length;l++){const d=n.types[l],u=e.indexes[d][o[d]],m=e.values[u]??0;i[l]=m,o[d]++}return i}const p2=(e,n)=>{const i=ur.createTransformer(n),o=eo(e),l=eo(n);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?Au.has(e)&&!l.values.length||Au.has(n)&&!o.values.length?c2(e,n):uo(gv(m2(o,l),l.values),i):ol(e,n)};function xv(e,n,i){return typeof e=="number"&&typeof n=="number"&&typeof i=="number"?ze(e,n,i):Im(e)(e,n)}const f2=e=>{const n=({timestamp:i})=>e(i);return{start:(i=!0)=>Ee.update(n,i),stop:()=>on(n),now:()=>ct.isProcessing?ct.timestamp:Tt.now()}},yv=(e,n,i=10)=>{let o="";const l=Math.max(Math.round(n/i),2);for(let d=0;d<l;d++)o+=Math.round(e(d/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},al=2e4;function Mm(e){let n=0;const i=50;let o=e.next(n);for(;!o.done&&n<al;)n+=i,o=e.next(n);return n>=al?1/0:n}function h2(e,n=100,i){const o=i({...e,keyframes:[0,n]}),l=Math.min(Mm(o),al);return{type:"keyframes",ease:d=>o.next(l*d).value/n,duration:Gt(l)}}const g2=5;function vv(e,n,i){const o=Math.max(n-g2,0);return km(i-e(o),n-o)}const He={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},Xd=.001;function x2({duration:e=He.duration,bounce:n=He.bounce,velocity:i=He.velocity,mass:o=He.mass}){let l,d,u=1-n;u=wn(He.minDamping,He.maxDamping,u),e=wn(He.minDuration,He.maxDuration,Gt(e)),u<1?(l=h=>{const x=h*u,v=x*e,b=x-i,k=Tu(h,u),C=Math.exp(-v);return Xd-b/k*C},d=h=>{const v=h*u*e,b=v*i+i,k=Math.pow(u,2)*Math.pow(h,2)*e,C=Math.exp(-v),w=Tu(Math.pow(h,2),u);return(-l(h)+Xd>0?-1:1)*((b-k)*C)/w}):(l=h=>{const x=Math.exp(-h*e),v=(h-i)*e+1;return-Xd+x*v},d=h=>{const x=Math.exp(-h*e),v=(i-h)*(e*e);return x*v});const m=5/e,f=v2(l,d,m);if(e=xn(e),isNaN(f))return{stiffness:He.stiffness,damping:He.damping,duration:e};{const h=Math.pow(f,2)*o;return{stiffness:h,damping:u*2*Math.sqrt(o*h),duration:e}}}const y2=12;function v2(e,n,i){let o=i;for(let l=1;l<y2;l++)o=o-e(o)/n(o);return o}function Tu(e,n){return e*Math.sqrt(1-n*n)}const w2=["duration","bounce"],b2=["stiffness","damping","mass"];function Cg(e,n){return n.some(i=>e[i]!==void 0)}function j2(e){let n={velocity:He.velocity,stiffness:He.stiffness,damping:He.damping,mass:He.mass,isResolvedFromDuration:!1,...e};if(!Cg(e,b2)&&Cg(e,w2))if(e.visualDuration){const i=e.visualDuration,o=2*Math.PI/(i*1.2),l=o*o,d=2*wn(.05,1,1-(e.bounce||0))*Math.sqrt(l);n={...n,mass:He.mass,stiffness:l,damping:d}}else{const i=x2(e);n={...n,...i,mass:He.mass},n.isResolvedFromDuration=!0}return n}function ll(e=He.visualDuration,n=He.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:o,restDelta:l}=i;const d=i.keyframes[0],u=i.keyframes[i.keyframes.length-1],m={done:!1,value:d},{stiffness:f,damping:h,mass:x,duration:v,velocity:b,isResolvedFromDuration:k}=j2({...i,velocity:-Gt(i.velocity||0)}),C=b||0,w=h/(2*Math.sqrt(f*x)),j=u-d,P=Gt(Math.sqrt(f/x)),S=Math.abs(j)<5;o||(o=S?He.restSpeed.granular:He.restSpeed.default),l||(l=S?He.restDelta.granular:He.restDelta.default);let T;if(w<1){const M=Tu(P,w);T=U=>{const z=Math.exp(-w*P*U);return u-z*((C+w*P*j)/M*Math.sin(M*U)+j*Math.cos(M*U))}}else if(w===1)T=M=>u-Math.exp(-P*M)*(j+(C+P*j)*M);else{const M=P*Math.sqrt(w*w-1);T=U=>{const z=Math.exp(-w*P*U),V=Math.min(M*U,300);return u-z*((C+w*P*j)*Math.sinh(V)+M*j*Math.cosh(V))/M}}const O={calculatedDuration:k&&v||null,next:M=>{const U=T(M);if(k)m.done=M>=v;else{let z=M===0?C:0;w<1&&(z=M===0?xn(C):vv(T,M,U));const V=Math.abs(z)<=o,oe=Math.abs(u-U)<=l;m.done=V&&oe}return m.value=m.done?u:U,m},toString:()=>{const M=Math.min(Mm(O),al),U=yv(z=>O.next(M*z).value,M,30);return M+"ms "+U},toTransition:()=>{}};return O}ll.applyToOptions=e=>{const n=h2(e,100,ll);return e.ease=n.ease,e.duration=xn(n.duration),e.type="keyframes",e};function Ru({keyframes:e,velocity:n=0,power:i=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:d=500,modifyTarget:u,min:m,max:f,restDelta:h=.5,restSpeed:x}){const v=e[0],b={done:!1,value:v},k=V=>m!==void 0&&V<m||f!==void 0&&V>f,C=V=>m===void 0?f:f===void 0||Math.abs(m-V)<Math.abs(f-V)?m:f;let w=i*n;const j=v+w,P=u===void 0?j:u(j);P!==j&&(w=P-v);const S=V=>-w*Math.exp(-V/o),T=V=>P+S(V),O=V=>{const oe=S(V),he=T(V);b.done=Math.abs(oe)<=h,b.value=b.done?P:he};let M,U;const z=V=>{k(b.value)&&(M=V,U=ll({keyframes:[b.value,C(b.value)],velocity:vv(T,V,b.value),damping:l,stiffness:d,restDelta:h,restSpeed:x}))};return z(0),{calculatedDuration:null,next:V=>{let oe=!1;return!U&&M===void 0&&(oe=!0,O(V),z(V)),M!==void 0&&V>=M?U.next(V-M):(!oe&&O(V),b)}}}function N2(e,n,i){const o=[],l=i||Fn.mix||xv,d=e.length-1;for(let u=0;u<d;u++){let m=l(e[u],e[u+1]);if(n){const f=Array.isArray(n)?n[u]||It:n;m=uo(f,m)}o.push(m)}return o}function Dm(e,n,{clamp:i=!0,ease:o,mixer:l}={}){const d=e.length;if(Zi(d===n.length),d===1)return()=>n[0];if(d===2&&n[0]===n[1])return()=>n[1];const u=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),n=[...n].reverse());const m=N2(n,o,l),f=m.length,h=x=>{if(u&&x<e[0])return n[0];let v=0;if(f>1)for(;v<e.length-2&&!(x<e[v+1]);v++);const b=_s(e[v],e[v+1],x);return m[v](b)};return i?x=>h(wn(e[0],e[d-1],x)):h}function P2(e,n){const i=e[e.length-1];for(let o=1;o<=n;o++){const l=_s(0,n,o);e.push(ze(i,1,l))}}function wv(e){const n=[0];return P2(n,e.length-1),n}function k2(e,n){return e.map(i=>i*n)}function C2(e,n){return e.map(()=>n||av).splice(0,e.length-1)}function Ui({duration:e=300,keyframes:n,times:i,ease:o="easeInOut"}){const l=ON(o)?o.map(bg):bg(o),d={done:!1,value:n[0]},u=k2(i&&i.length===n.length?i:wv(n),e),m=Dm(u,n,{ease:Array.isArray(l)?l:C2(n,l)});return{calculatedDuration:e,next:f=>(d.value=m(f),d.done=f>=e,d)}}const S2=e=>e!==null;function Lm(e,{repeat:n,repeatType:i="loop"},o,l=1){const d=e.filter(S2),m=l<0||n&&i!=="loop"&&n%2===1?0:d.length-1;return!m||o===void 0?d[m]:o}const E2={decay:Ru,inertia:Ru,tween:Ui,keyframes:Ui,spring:ll};function bv(e){typeof e.type=="string"&&(e.type=E2[e.type])}class Wm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,i){return this.finished.then(n,i)}}const A2=e=>e/100;class Rl extends Wm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==Tt.now()&&this.tick(Tt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;bv(n);const{type:i=Ui,repeat:o=0,repeatDelay:l=0,repeatType:d,velocity:u=0}=n;let{keyframes:m}=n;const f=i||Ui;f!==Ui&&typeof m[0]!="number"&&(this.mixKeyframes=uo(A2,xv(m[0],m[1])),m=[0,100]);const h=f({...n,keyframes:m});d==="mirror"&&(this.mirroredGenerator=f({...n,keyframes:[...m].reverse(),velocity:-u})),h.calculatedDuration===null&&(h.calculatedDuration=Mm(h));const{calculatedDuration:x}=h;this.calculatedDuration=x,this.resolvedDuration=x+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=h}updateTime(n){const i=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(n,i=!1){const{generator:o,totalDuration:l,mixKeyframes:d,mirroredGenerator:u,resolvedDuration:m,calculatedDuration:f}=this;if(this.startTime===null)return o.next(0);const{delay:h=0,keyframes:x,repeat:v,repeatType:b,repeatDelay:k,type:C,onUpdate:w,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-l/this.speed,this.startTime)),i?this.currentTime=n:this.updateTime(n);const P=this.currentTime-h*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?P<0:P>l;this.currentTime=Math.max(P,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let T=this.currentTime,O=o;if(v){const V=Math.min(this.currentTime,l)/m;let oe=Math.floor(V),he=V%1;!he&&V>=1&&(he=1),he===1&&oe--,oe=Math.min(oe,v+1),!!(oe%2)&&(b==="reverse"?(he=1-he,k&&(he-=k/m)):b==="mirror"&&(O=u)),T=wn(0,1,he)*m}const M=S?{done:!1,value:x[0]}:O.next(T);d&&(M.value=d(M.value));let{done:U}=M;!S&&f!==null&&(U=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return z&&C!==Ru&&(M.value=Lm(x,this.options,j,this.speed)),w&&w(M.value),z&&this.finish(),M}then(n,i){return this.finished.then(n,i)}get duration(){return Gt(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Gt(n)}get time(){return Gt(this.currentTime)}set time(n){n=xn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(Tt.now());const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=Gt(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=f2,startTime:i}=this.options;this.driver||(this.driver=n(l=>this.tick(l))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=i??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Tt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function T2(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const Fr=e=>e*180/Math.PI,Iu=e=>{const n=Fr(Math.atan2(e[1],e[0]));return Mu(n)},R2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Iu,rotateZ:Iu,skewX:e=>Fr(Math.atan(e[1])),skewY:e=>Fr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Mu=e=>(e=e%360,e<0&&(e+=360),e),Sg=Iu,Eg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ag=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),I2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Eg,scaleY:Ag,scale:e=>(Eg(e)+Ag(e))/2,rotateX:e=>Mu(Fr(Math.atan2(e[6],e[5]))),rotateY:e=>Mu(Fr(Math.atan2(-e[2],e[0]))),rotateZ:Sg,rotate:Sg,skewX:e=>Fr(Math.atan(e[4])),skewY:e=>Fr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Du(e){return e.includes("scale")?1:0}function Lu(e,n){if(!e||e==="none")return Du(n);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(i)o=I2,l=i;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=R2,l=m}if(!l)return Du(n);const d=o[n],u=l[1].split(",").map(D2);return typeof d=="function"?d(u):u[d]}const M2=(e,n)=>{const{transform:i="none"}=getComputedStyle(e);return Lu(i,n)};function D2(e){return parseFloat(e.trim())}const Hs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gs=new Set(Hs),Tg=e=>e===Us||e===pe,L2=new Set(["x","y","z"]),W2=Hs.filter(e=>!L2.has(e));function _2(e){const n=[];return W2.forEach(i=>{const o=e.getValue(i);o!==void 0&&(n.push([i,o.get()]),o.set(i.startsWith("scale")?1:0))}),n}const Or={width:({x:e},{paddingLeft:n="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(n)-parseFloat(i),height:({y:e},{paddingTop:n="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(n)-parseFloat(i),top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>Lu(n,"x"),y:(e,{transform:n})=>Lu(n,"y")};Or.translateX=Or.x;Or.translateY=Or.y;const Vr=new Set;let Wu=!1,_u=!1,Fu=!1;function jv(){if(_u){const e=Array.from(Vr).filter(o=>o.needsMeasurement),n=new Set(e.map(o=>o.element)),i=new Map;n.forEach(o=>{const l=_2(o);l.length&&(i.set(o,l),o.render())}),e.forEach(o=>o.measureInitialState()),n.forEach(o=>{o.render();const l=i.get(o);l&&l.forEach(([d,u])=>{o.getValue(d)?.set(u)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}_u=!1,Wu=!1,Vr.forEach(e=>e.complete(Fu)),Vr.clear()}function Nv(){Vr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(_u=!0)})}function F2(){Fu=!0,Nv(),jv(),Fu=!1}class _m{constructor(n,i,o,l,d,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=o,this.motionValue=l,this.element=d,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(Vr.add(this),Wu||(Wu=!0,Ee.read(Nv),Ee.resolveKeyframes(jv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:o,motionValue:l}=this;if(n[0]===null){const d=l?.get(),u=n[n.length-1];if(d!==void 0)n[0]=d;else if(o&&i){const m=o.readValue(i,u);m!=null&&(n[0]=m)}n[0]===void 0&&(n[0]=u),l&&d===void 0&&l.set(n[0])}T2(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Vr.delete(this)}cancel(){this.state==="scheduled"&&(Vr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const O2=e=>e.startsWith("--");function V2(e,n,i){O2(n)?e.style.setProperty(n,i):e.style[n]=i}const Pv=Nm(()=>window.ScrollTimeline!==void 0),z2={};function $2(e,n){const i=Nm(e);return()=>z2[n]??i()}const kv=$2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),$i=([e,n,i,o])=>`cubic-bezier(${e}, ${n}, ${i}, ${o})`,Rg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:$i([0,.65,.55,1]),circOut:$i([.55,0,1,.45]),backIn:$i([.31,.01,.66,-.59]),backOut:$i([.33,1.53,.69,.99])};function Cv(e,n){if(e)return typeof e=="function"?kv()?yv(e,n):"ease-out":lv(e)?$i(e):Array.isArray(e)?e.map(i=>Cv(i,n)||Rg.easeOut):Rg[e]}function B2(e,n,i,{delay:o=0,duration:l=300,repeat:d=0,repeatType:u="loop",ease:m="easeOut",times:f}={},h=void 0){const x={[n]:i};f&&(x.offset=f);const v=Cv(m,l);Array.isArray(v)&&(x.easing=v);const b={delay:o,duration:l,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:d+1,direction:u==="reverse"?"alternate":"normal"};return h&&(b.pseudoElement=h),e.animate(x,b)}function Sv(e){return typeof e=="function"&&"applyToOptions"in e}function U2({type:e,...n}){return Sv(e)&&kv()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class H2 extends Wm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,!n)return;const{element:i,name:o,keyframes:l,pseudoElement:d,allowFlatten:u=!1,finalKeyframe:m,onComplete:f}=n;this.isPseudoElement=!!d,this.allowFlatten=u,this.options=n,Zi(typeof n.type!="string");const h=U2(n);this.animation=B2(i,o,l,h,d),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const x=Lm(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(x):V2(i,o,x),this.animation.cancel()}f?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return Gt(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Gt(n)}get time(){return Gt(Number(this.animation.currentTime)||0)}set time(n){this.finishedTime=null,this.animation.currentTime=xn(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(n){this.animation.startTime=n}attachTimeline({timeline:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&Pv()?(this.animation.timeline=n,It):i(this)}}const Ev={anticipate:sv,backInOut:rv,circInOut:ov};function G2(e){return e in Ev}function q2(e){typeof e.ease=="string"&&G2(e.ease)&&(e.ease=Ev[e.ease])}const Ig=10;class K2 extends H2{constructor(n){q2(n),bv(n),super(n),n.startTime&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:i,onUpdate:o,onComplete:l,element:d,...u}=this.options;if(!i)return;if(n!==void 0){i.set(n);return}const m=new Rl({...u,autoplay:!1}),f=xn(this.finishedTime??this.time);i.setWithVelocity(m.sample(f-Ig).value,m.sample(f).value,Ig),m.stop()}}const Mg=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ur.test(e)||e==="0")&&!e.startsWith("url("));function Y2(e){const n=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==n)return!0}function X2(e,n,i,o){const l=e[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const d=e[e.length-1],u=Mg(l,n),m=Mg(d,n);return!u||!m?!1:Y2(e)||(i==="spring"||Sv(i))&&o}function Ou(e){e.duration=0,e.type="keyframes"}const Q2=new Set(["opacity","clipPath","filter","transform"]),Z2=Nm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function J2(e){const{motionValue:n,name:i,repeatDelay:o,repeatType:l,damping:d,type:u}=e;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:h}=n.owner.getProps();return Z2()&&i&&Q2.has(i)&&(i!=="transform"||!h)&&!f&&!o&&l!=="mirror"&&d!==0&&u!=="inertia"}const eP=40;class tP extends Wm{constructor({autoplay:n=!0,delay:i=0,type:o="keyframes",repeat:l=0,repeatDelay:d=0,repeatType:u="loop",keyframes:m,name:f,motionValue:h,element:x,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Tt.now();const b={autoplay:n,delay:i,type:o,repeat:l,repeatDelay:d,repeatType:u,name:f,motionValue:h,element:x,...v},k=x?.KeyframeResolver||_m;this.keyframeResolver=new k(m,(C,w,j)=>this.onKeyframesResolved(C,w,b,!j),f,h,x),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,i,o,l){this.keyframeResolver=void 0;const{name:d,type:u,velocity:m,delay:f,isHandoff:h,onUpdate:x}=o;this.resolvedAt=Tt.now(),X2(n,d,u,m)||((Fn.instantAnimations||!f)&&x?.(Lm(n,o,i)),n[0]=n[n.length-1],Ou(o),o.repeat=0);const b={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>eP?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...o,keyframes:n},k=!h&&J2(b)?new K2({...b,element:b.motionValue.owner.current}):new Rl(b);k.finished.then(()=>this.notifyFinished()).catch(It),this.pendingTimeline&&(this.stopTimeline=k.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=k}get finished(){return this._animation?this.animation.finished:this._finished}then(n,i){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),F2()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const nP=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function rP(e){const n=nP.exec(e);if(!n)return[,];const[,i,o,l]=n;return[`--${i??o}`,l]}function Av(e,n,i=1){const[o,l]=rP(e);if(!o)return;const d=window.getComputedStyle(n).getPropertyValue(o);if(d){const u=d.trim();return Xy(u)?parseFloat(u):u}return Am(l)?Av(l,n,i+1):l}function Fm(e,n){return e?.[n]??e?.default??e}const Tv=new Set(["width","height","top","left","right","bottom",...Hs]),sP={test:e=>e==="auto",parse:e=>e},Rv=e=>n=>n.test(e),Iv=[Us,pe,yn,ar,ZN,QN,sP],Dg=e=>Iv.find(Rv(e));function iP(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zy(e):!0}const oP=new Set(["brightness","contrast","saturate","opacity"]);function aP(e){const[n,i]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[o]=i.match(Tm)||[];if(!o)return e;const l=i.replace(o,"");let d=oP.has(n)?1:0;return o!==i&&(d*=100),n+"("+d+l+")"}const lP=/\b([a-z-]*)\(.*?\)/gu,Vu={...ur,getAnimatableNone:e=>{const n=e.match(lP);return n?n.map(aP).join(" "):e}},Lg={...Us,transform:Math.round},cP={rotate:ar,rotateX:ar,rotateY:ar,rotateZ:ar,scale:Ia,scaleX:Ia,scaleY:Ia,scaleZ:Ia,skew:ar,skewX:ar,skewY:ar,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:Ji,originX:jg,originY:jg,originZ:pe},Om={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,backgroundPositionX:pe,backgroundPositionY:pe,...cP,zIndex:Lg,fillOpacity:Ji,strokeOpacity:Ji,numOctaves:Lg},dP={...Om,color:Je,backgroundColor:Je,outlineColor:Je,fill:Je,stroke:Je,borderColor:Je,borderTopColor:Je,borderRightColor:Je,borderBottomColor:Je,borderLeftColor:Je,filter:Vu,WebkitFilter:Vu},Mv=e=>dP[e];function Dv(e,n){let i=Mv(e);return i!==Vu&&(i=ur),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const uP=new Set(["auto","none","0"]);function mP(e,n,i){let o=0,l;for(;o<e.length&&!l;){const d=e[o];typeof d=="string"&&!uP.has(d)&&eo(d).values.length&&(l=e[o]),o++}if(l&&i)for(const d of n)e[d]=Dv(i,l)}class pP extends _m{constructor(n,i,o,l,d){super(n,i,o,l,d,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:o}=this;if(!i||!i.current)return;super.readKeyframes();for(let f=0;f<n.length;f++){let h=n[f];if(typeof h=="string"&&(h=h.trim(),Am(h))){const x=Av(h,i.current);x!==void 0&&(n[f]=x),f===n.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Tv.has(o)||n.length!==2)return;const[l,d]=n,u=Dg(l),m=Dg(d);if(u!==m)if(Tg(u)&&Tg(m))for(let f=0;f<n.length;f++){const h=n[f];typeof h=="string"&&(n[f]=parseFloat(h))}else Or[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,o=[];for(let l=0;l<n.length;l++)(n[l]===null||iP(n[l]))&&o.push(l);o.length&&mP(n,o,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:o}=this;if(!n||!n.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Or[o](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&n.getValue(o,l).jump(l,!1)}measureEndState(){const{element:n,name:i,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.jump(this.measuredOrigin,!1);const d=o.length-1,u=o[d];o[d]=Or[i](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,f])=>{n.getValue(m).set(f)}),this.resolveNoneKeyframes()}}function Lv(e,n,i){if(e instanceof EventTarget)return[e];if(typeof e=="string"){const l=document.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const Wv=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function Vm(e){return Qy(e)&&"offsetHeight"in e}const Wg=30,fP=e=>!isNaN(parseFloat(e)),Hi={current:void 0};class hP{constructor(n,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const l=Tt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=Tt.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=fP(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new Pm);const o=this.events[n].add(i);return n==="change"?()=>{o(),Ee.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,i,o){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-o}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return Hi.current&&Hi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const n=Tt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Wg)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Wg);return km(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function nn(e,n){return new hP(e,n)}const{schedule:zm}=cv(queueMicrotask,!1),tn={x:!1,y:!1};function _v(){return tn.x||tn.y}function gP(e){return e==="x"||e==="y"?tn[e]?null:(tn[e]=!0,()=>{tn[e]=!1}):tn.x||tn.y?null:(tn.x=tn.y=!0,()=>{tn.x=tn.y=!1})}function Fv(e,n){const i=Lv(e),o=new AbortController,l={passive:!0,...n,signal:o.signal};return[i,l,()=>o.abort()]}function _g(e){return!(e.pointerType==="touch"||_v())}function xP(e,n,i={}){const[o,l,d]=Fv(e,i),u=m=>{if(!_g(m))return;const{target:f}=m,h=n(f,m);if(typeof h!="function"||!f)return;const x=v=>{_g(v)&&(h(v),f.removeEventListener("pointerleave",x))};f.addEventListener("pointerleave",x,l)};return o.forEach(m=>{m.addEventListener("pointerenter",u,l)}),d}const Ov=(e,n)=>n?e===n?!0:Ov(e,n.parentElement):!1,$m=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,yP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function vP(e){return yP.has(e.tagName)||e.tabIndex!==-1}const Qa=new WeakSet;function Fg(e){return n=>{n.key==="Enter"&&e(n)}}function Qd(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const wP=(e,n)=>{const i=e.currentTarget;if(!i)return;const o=Fg(()=>{if(Qa.has(i))return;Qd(i,"down");const l=Fg(()=>{Qd(i,"up")}),d=()=>Qd(i,"cancel");i.addEventListener("keyup",l,n),i.addEventListener("blur",d,n)});i.addEventListener("keydown",o,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",o),n)};function Og(e){return $m(e)&&!_v()}function bP(e,n,i={}){const[o,l,d]=Fv(e,i),u=m=>{const f=m.currentTarget;if(!Og(m))return;Qa.add(f);const h=n(f,m),x=(k,C)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",b),Qa.has(f)&&Qa.delete(f),Og(k)&&typeof h=="function"&&h(k,{success:C})},v=k=>{x(k,f===window||f===document||i.useGlobalTarget||Ov(f,k.target))},b=k=>{x(k,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",b,l)};return o.forEach(m=>{(i.useGlobalTarget?window:m).addEventListener("pointerdown",u,l),Vm(m)&&(m.addEventListener("focus",h=>wP(h,l)),!vP(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),d}function Bm(e){return Qy(e)&&"ownerSVGElement"in e}const Za=new WeakMap;let Ja;const Vv=(e,n,i)=>(o,l)=>l&&l[0]?l[0][e+"Size"]:Bm(o)&&"getBBox"in o?o.getBBox()[n]:o[i],jP=Vv("inline","width","offsetWidth"),NP=Vv("block","height","offsetHeight");function PP({target:e,borderBoxSize:n}){Za.get(e)?.forEach(i=>
51{i(e,{get width(){return jP(e,n)},get height(){return NP(e,n)}})})}function kP(e){e.forEach(PP)}function CP(){typeof ResizeObserver>"u"||(Ja=new ResizeObserver(kP))}function SP(e,n){Ja||CP();const i=Lv(e);return i.forEach(o=>{let l=Za.get(o);l||(l=new Set,Za.set(o,l)),l.add(n),Ja?.observe(o)}),()=>{i.forEach(o=>{const l=Za.get(o);l?.delete(n),l?.size||Ja?.unobserve(o)})}}const el=new Set;let Ts;function EP(){Ts=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};el.forEach(n=>n(e))},window.addEventListener("resize",Ts)}function AP(e){return el.add(e),Ts||EP(),()=>{el.delete(e),!el.size&&typeof Ts=="function"&&(window.removeEventListener("resize",Ts),Ts=void 0)}}function TP(e,n){return typeof e=="function"?AP(e):SP(e,n)}function zv(e,n){let i;const o=()=>{const{currentTime:l}=n,u=(l===null?0:l.value)/100;i!==u&&e(u),i=u};return Ee.preUpdate(o,!0),()=>on(o)}function RP(e){return Bm(e)&&e.tagName==="svg"}function IP(...e){const n=!Array.isArray(e[0]),i=n?0:-1,o=e[0+i],l=e[1+i],d=e[2+i],u=e[3+i],m=Dm(l,d,u);return n?m(o):m}const dt=e=>!!(e&&e.getVelocity);function MP(e,n,i){const o=e.get();let l=null,d=o,u;const m=typeof o=="string"?o.replace(/[\d.-]/g,""):void 0,f=()=>{l&&(l.stop(),l=null)},h=()=>{f(),l=new Rl({keyframes:[zg(e.get()),zg(d)],velocity:e.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:u})};if(e.attach((x,v)=>{d=x,u=b=>v(Vg(b,m)),Ee.postRender(h)},f),dt(n)){const x=n.on("change",b=>e.set(Vg(b,m))),v=e.on("destroy",x);return()=>{x(),v()}}return f}function Vg(e,n){return n?e+n:e}function zg(e){return typeof e=="number"?e:parseFloat(e)}const DP=[...Iv,Je,ur],LP=e=>DP.find(Rv(e)),fo=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function $g(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function WP(...e){return n=>{let i=!1;const o=e.map(l=>{const d=$g(l,n);return!i&&typeof d=="function"&&(i=!0),d});if(i)return()=>{for(let l=0;l<o.length;l++){const d=o[l];typeof d=="function"?d():$g(e[l],null)}}}}function _P(...e){return y.useCallback(WP(...e),e)}class FP extends y.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const o=i.offsetParent,l=Vm(o)&&o.offsetWidth||0,d=this.props.sizeRef.current;d.height=i.offsetHeight||0,d.width=i.offsetWidth||0,d.top=i.offsetTop,d.left=i.offsetLeft,d.right=l-d.width-d.left}return null}componentDidUpdate(){}render(){return this.props.children}}function OP({children:e,isPresent:n,anchorX:i,root:o}){const l=y.useId(),d=y.useRef(null),u=y.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=y.useContext(fo),f=_P(d,e?.ref);return y.useInsertionEffect(()=>{const{width:h,height:x,top:v,left:b,right:k}=u.current;if(n||!d.current||!h||!x)return;const C=i==="left"?`left: ${b}`:`right: ${k}`;d.current.dataset.motionPopId=l;const w=document.createElement("style");m&&(w.nonce=m);const j=o??document.head;return j.appendChild(w),w.sheet&&w.sheet.insertRule(` 52 [data-motion-pop-id="${l}"] { 53 position: absolute !important; 54 width: ${h}px !important; 55 height: ${x}px !important; 56 ${C}px !important; 57 top: ${v}px !important; 58 } 59 `),()=>{j.contains(w)&&j.removeChild(w)}},[n]),r.jsx(FP,{isPresent:n,childRef:d,sizeRef:u,children:y.cloneElement(e,{ref:f})})}const VP=({children:e,initial:n,isPresent:i,onExitComplete:o,custom:l,presenceAffectsLayout:d,mode:u,anchorX:m,root:f})=>{const h=Bs(zP),x=y.useId();let v=!0,b=y.useMemo(()=>(v=!1,{id:x,initial:n,isPresent:i,custom:l,onExitComplete:k=>{h.set(k,!0);for(const C of h.values())if(!C)return;o&&o()},register:k=>(h.set(k,!1),()=>h.delete(k))}),[i,h,o]);return d&&v&&(b={...b}),y.useMemo(()=>{h.forEach((k,C)=>h.set(C,!1))},[i]),y.useEffect(()=>{!i&&!h.size&&o&&o()},[i]),u==="popLayout"&&(e=r.jsx(OP,{isPresent:i,anchorX:m,root:f,children:e})),r.jsx(Tl.Provider,{value:b,children:e})};function zP(){return new Map}function $v(e=!0){const n=y.useContext(Tl);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:o,register:l}=n,d=y.useId();y.useEffect(()=>{if(e)return l(d)},[e]);const u=y.useCallback(()=>e&&o&&o(d),[d,o,e]);return!i&&o?[!1,u]:[!0]}const Ma=e=>e.key||"";function Bg(e){const n=[];
vendor: 4,973 bytes, line 59
59return y.Children.forEach(e,i=>{y.isValidElement(i)&&n.push(i)}),n}const Es=({children:e,custom:n,initial:i=!0,onExitComplete:o,presenceAffectsLayout:l=!0,mode:d="sync",propagate:u=!1,anchorX:m="left",root:f})=>{const[h,x]=$v(u),v=y.useMemo(()=>Bg(e),[e]),b=u&&!h?[]:v.map(Ma),k=y.useRef(!0),C=y.useRef(v),w=Bs(()=>new Map),[j,P]=y.useState(v),[S,T]=y.useState(v);Al(()=>{k.current=!1,C.current=v;for(let U=0;U<S.length;U++){const z=Ma(S[U]);b.includes(z)?w.delete(z):w.get(z)!==!0&&w.set(z,!1)}},[S,b.length,b.join("-")]);const O=[];if(v!==j){let U=[...v];for(let z=0;z<S.length;z++){const V=S[z],oe=Ma(V);b.includes(oe)||(U.splice(z,0,V),O.push(V))}return d==="wait"&&O.length&&(U=O),T(Bg(U)),P(v),null}const{forceRender:M}=y.useContext(vm);return r.jsx(r.Fragment,{children:S.map(U=>{const z=Ma(U),V=u&&!h?!1:v===S||b.includes(z),oe=()=>{if(w.has(z))w.set(z,!0);else return;let he=!0;w.forEach(Re=>{Re||(he=!1)}),he&&(M?.(),T(C.current),u&&x?.(),o&&o())};return r.jsx(VP,{isPresent:V,initial:!k.current||i?void 0:!1,custom:n,presenceAffectsLayout:l,mode:d,root:f,onExitComplete:V?void 0:oe,anchorX:m,children:U},z)})})},Bv=y.createContext({strict:!1}),Ug={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"]},Fs={};for(const e in Ug)Fs[e]={isEnabled:n=>Ug[e].some(i=>!!n[i])};function $P(e){for(const n in e)Fs[n]={...Fs[n],...e[n]}}const BP=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 cl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||BP.has(e)}let Uv=e=>!cl(e);function UP(e){typeof e=="function"&&(Uv=n=>n.startsWith("on")?!cl(n):e(n))}try{UP(require("@emotion/is-prop-valid").default)}catch{}function HP(e,n,i){const o={};for(const l in e)l==="values"&&typeof e.values=="object"||(Uv(l)||i===!0&&cl(l)||!n&&!cl(l)||e.draggable&&l.startsWith("onDrag"))&&(o[l]=e[l]);return o}const Il=y.createContext({});function Ml(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function to(e){return typeof e=="string"||Array.isArray(e)}const Um=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hm=["initial",...Um];function Dl(e){return Ml(e.animate)||Hm.some(n=>to(e[n]))}function Hv(e){return!!(Dl(e)||e.variants)}function GP(e,n){if(Dl(e)){const{initial:i,animate:o}=e;return{initial:i===!1||to(i)?i:void 0,animate:to(o)?o:void 0}}return e.inherit!==!1?n:{}}function qP(e){const{initial:n,animate:i}=GP(e,y.useContext(Il));return y.useMemo(()=>({initial:n,animate:i}),[Hg(n),Hg(i)])}function Hg(e){return Array.isArray(e)?e.join(" "):e}const no={};function KP(e){for(const n in e)no[n]=e[n],Em(n)&&(no[n].isCSSVariable=!0)}function Gv(e,{layout:n,layoutId:i}){return Gs.has(e)||e.startsWith("origin")||(n||i!==void 0)&&(!!no[e]||e==="opacity")}const YP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XP=Hs.length;function QP(e,n,i){let o="",l=!0;for(let d=0;d<XP;d++){const u=Hs[d],m=e[u];if(m===void 0)continue;let f=!0;if(typeof m=="number"?f=m===(u.startsWith("scale")?1:0):f=parseFloat(m)===0,!f||i){const h=Wv(m,Om[u]);if(!f){l=!1;const x=YP[u]||u;o+=`${x}(${h}) `}i&&(n[u]=h)}}return o=o.trim(),i?o=i(n,l?"":o):l&&(o="none"),o}function Gm(e,n,i){const{style:o,vars:l,transformOrigin:d}=e;let u=!1,m=!1;for(const f in n){const h=n[f];if(Gs.has(f)){u=!0;continue}else if(Em(f)){l[f]=h;continue}else{const x=Wv(h,Om[f]);f.startsWith("origin")?(m=!0,d[f]=x):o[f]=x}}if(n.transform||(u||i?o.transform=QP(n,e.transform,i):o.transform&&(o.transform="none")),m){const{originX:f="50%",originY:h="50%",originZ:x=0}=d;o.transformOrigin=`${f} ${h} ${x}`}}const qm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function qv(e,n,i){for(const o in n)!dt(n[o])&&!Gv(o,i)&&(e[o]=n[o])}function ZP({transformTemplate:e},n){return y.useMemo(()=>{const i=qm();return Gm(i,n,e),Object.assign({},i.vars,i.style)},[n])}function JP(e,n){const i=e.style||{},o={};return qv(o,i,e),Object.assign(o,ZP(e,n)),o}function ek(e,n){const i={},o=JP(e,n);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
59`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const tk={offset:"stroke-dashoffset",array:"stroke-dasharray"},nk={offset:"strokeDashoffset",array:"strokeDasharray"};function rk(e,n,i=1,o=0,l=!0){e.pathLength=1;const d=l?tk:nk;e[d.offset]=pe.transform(-o);const u=pe.transform(n),m=pe.transform(i);e[d.array]=`${u} ${m}`}function Kv(e,{attrX:n,attrY:i,attrScale:o,pathLength:l,pathSpacing:d=1,pathOffset:u=0,...m},f,h,x){if(Gm(e,m,h),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b}=e;v.transform&&(b.transform=v.transform,delete v.transform),(b.transform||v.transformOrigin)&&(b.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),b.transform&&(b.transformBox=x?.transformBox??"fill-box",delete v.transformBox),n!==void 0&&(v.x=n),i!==void 0&&(v.y=i),o!==void 0&&(v.scale=o),l!==void 0&&rk(v,l,d,u,!1)}const Yv=()=>({...qm(),attrs:{}}),Xv=e=>typeof e=="string"&&e.toLowerCase()==="svg";function sk(e,n,i,o){const l=y.useMemo(()=>{const d=Yv();return Kv(d,n,Xv(o),e.transformTemplate,e.style),{...d.attrs,style:{...d.style}}},[n]);if(e.style){const d={};qv(d,e.style,e),l.style={...d,...l.style}}return l}const ik=["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 Km(e){return typeof e!="string"||e.includes("-")?!1:!!(ik.indexOf(e)>-1||/[A-Z]/u.test(e))}function ok(e,n,i,{latestValues:o},l,d=!1){const m=(Km(e)?sk:ek)(n,o,l,e),f=HP(n,typeof e=="string",d),h=e!==y.Fragment?{...f,...m,ref:i}:{},{children:x}=n,v=y.useMemo(()=>dt(x)?x.get():x,[x]);return y.createElement(e,{...h,children:v})}function Gg(e){const n=[{},{}];return e?.values.forEach((i,o)=>{n[0][o]=i.get(),n[1][o]=i.getVelocity()}),n}function Ym(e,n,i,o){if(typeof n=="function"){const[l,d]=Gg(o);n=n(i!==void 0?i:e.custom,l,d)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[l,d]=Gg(o);n=n(i!==void 0?i:e.custom,l,d)}return n}function tl(e){return dt(e)?e.get():e}function ak({scrapeMotionValuesFromProps:e,createRenderState:n},i,o,l){return{latestValues:lk(i,o,l,e),renderState:n()}}function lk(e,n,i,o){const l={},d=o(e,{});for(const b in d)l[b]=tl(d[b]);let{initial:u,animate:m}=e;const f=Dl(e),h=Hv(e);n&&h&&!f&&e.inherit!==!1&&(u===void 0&&(u=n.initial),m===void 0&&(m=n.animate));let x=i?i.initial===!1:!1;x=x||u===!1;const v=x?m:u;if(v&&typeof v!="boolean"&&!Ml(v)){const b=Array.isArray(v)?v:[v];for(let k=0;k<b.length;k++){const C=Ym(e,b[k]);if(C){const{transitionEnd:w,transition:j,...P}=C;for(const S in P){let T=P[S];if(Array.isArray(T)){const O=x?T.length-1:0;T=T[O]}T!==null&&(l[S]=T)}for(const S in w)l[S]=w[S]}}}return l}const Qv=e=>(n,i)=>{const o=y.useContext(Il),l=y.useContext(Tl),d=()=>ak(e,n,o,l);return i?d():Bs(d)};function Xm(e,n,i){const{style:o}=e,l={};for(const d in o)(dt(o[d])||n.style&&dt(n.style[d])||Gv(d,e)||i?.getValue(d)?.liveStyle!==void 0)&&(l[d]=o[d]);return l}const ck=Qv({scrapeMotionValuesFromProps:Xm,createRenderState:qm});function Zv(e,n,i){const o=Xm(e,n,i);for(const l in e)if(dt(e[l])||dt(n[l])){const d=Hs.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[d]=e[l]}return o}const dk=Qv({scrapeMotionValuesFromProps:Zv,createRenderState:Yv}),uk=Symbol.for("motionComponentSymbol");function Rs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function mk(e,n,i){return y.useCallback(o=>{o&&e.onMount&&e.onMount(o),n&&(o?n.mount(o):n.unmount()),i&&(typeof i=="function"?i(o):Rs(i)&&(i.current=o))},[n])}const Qm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),pk="framerAppearId",Jv="data-"+Qm(pk),e0=y.createContext({});function fk(e,n,i,o,l){const{visualElement:d}=y.useContext(Il),u=y.useContext(Bv),m=y.useContext(Tl),f=y.useContext(fo).reducedMotion,h=y.useRef(null);o=o||u.renderer,!h.current&&o&&(h.current=o(e,{visualState:n,parent:d,props:i,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:f}));const x=h.current,v=y.useContext(e0);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&hk(h.current,i,l,v);const b=y.useRef(!1);y.useInsertionEffect(()=>{x&&b.current&&x.update(i,m)});const k=i[Jv],C=y.useRef(!!k&&!window.MotionHandoffIsComplete?.(k)&&window.MotionHasOptimisedAnimation?.(k));return Al(()=>{x&&(b.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),C.current&&x.animationState&&x.animationState.animateChanges())}),y.useEffect(()=>{x&&(!C.current&&x.animationState&&x.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(k)}),C.current=!1),x.enteringChildren=void 0)}),x}function hk(e,n,i,o){const{layoutId:l,layout:d,drag:u,dragConstraints:m,layoutScroll:f,layoutRoot:h,layoutCrossfade:x}=n;e.projection=new i(e.latestValues,n["data-framer-portal-id"]?void 0:t0(e.parent)),e.projection.setOptions({layoutId:l,layout:d,alwaysMeasureLayout:!!u||m&&Rs(m),visualElement:e,animationType:typeof d=="str
59ing"?d:"both",initialPromotionConfig:o,crossfade:x,layoutScroll:f,layoutRoot:h})}function t0(e){if(e)return e.options.allowProjection!==!1?e.projection:t0(e.parent)}function Zd(e,{forwardMotionProps:n=!1}={},i,o){i&&$P(i);const l=Km(e)?dk:ck;function d(m,f){let h;const x={...y.useContext(fo),...m,layoutId:gk(m)},{isStatic:v}=x,b=qP(m),k=l(m,v);if(!v&&wm){xk();const C=yk(x);h=C.MeasureLayout,b.visualElement=fk(e,k,x,o,C.ProjectionNode)}return r.jsxs(Il.Provider,{value:b,children:[h&&b.visualElement?r.jsx(h,{visualElement:b.visualElement,...x}):null,ok(e,m,mk(k,b.visualElement,f),k,v,n)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const u=y.forwardRef(d);return u[uk]=e,u}function gk({layoutId:e}){const n=y.useContext(vm).id;return n&&e!==void 0?n+"-"+e:e}function xk(e,n){y.useContext(Bv).strict}function yk(e){const{drag:n,layout:i}=Fs;if(!n&&!i)return{};const o={...n,...i};return{MeasureLayout:n?.isEnabled(e)||i?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function vk(e,n){if(typeof Proxy>"u")return Zd;const i=new Map,o=(d,u)=>Zd(d,u,e,n),l=(d,u)=>o(d,u);return new Proxy(l,{get:(d,u)=>u==="create"?o:(i.has(u)||i.set(u,Zd(u,void 0,e,n)),i.get(u))})}function n0({top:e,left:n,right:i,bottom:o}){return{x:{min:n,max:i},y:{min:e,max:o}}}function wk({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function bk(e,n){if(!n)return e;const i=n({x:e.left,y:e.top}),o=n({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:o.y,right:o.x}}function Jd(e){return e===void 0||e===1}function zu({scale:e,scaleX:n,scaleY:i}){return!Jd(e)||!Jd(n)||!Jd(i)}function Lr(e){return zu(e)||r0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function r0(e){return qg(e.x)||qg(e.y)}function qg(e){return e&&e!=="0%"}function dl(e,n,i){const o=e-i,l=n*o;return i+l}function Kg(e,n,i,o,l){return l!==void 0&&(e=dl(e,l,o)),dl(e,i,o)+n}function $u(e,n=0,i=1,o,l){e.min=Kg(e.min,n,i,o,l),e.max=Kg(e.max,n,i,o,l)}function s0(e,{x:n,y:i}){$u(e.x,n.translate,n.scale,n.originPoint),$u(e.y,i.translate,i.scale,i.originPoint)}const Yg=.999999999999,Xg=1.0000000000001;function jk(e,n,i,o=!1){const l=i.length;if(!l)return;n.x=n.y=1;let d,u;for(let m=0;m<l;m++){d=i[m],u=d.projectionDelta;const{visualElement:f}=d.options;f&&f.props.style&&f.props.style.display==="contents"||(o&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Ms(e,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,s0(e,u)),o&&Lr(d.latestValues)&&Ms(e,d.latestValues))}n.x<Xg&&n.x>Yg&&(n.x=1),n.y<Xg&&n.y>Yg&&(n.y=1)}function Is(e,n){e.min=e.min+n,e.max=e.max+n}function Qg(e,n,i,o,l=.5){const d=ze(e.min,e.max,l);$u(e,n,i,d,o)}function Ms(e,n){Qg(e.x,n.x,n.scaleX,n.scale,n.originX),Qg(e.y,n.y,n.scaleY,n.scale,n.originY)}function i0(e,n){return n0(bk(e.getBoundingClientRect(),n))}function Nk(e,n,i){const o=i0(e,i),{scroll:l}=n;return l&&(Is(o.x,l.offset.x),Is(o.y,l.offset.y)),o}const Zg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ds=()=>({x:Zg(),y:Zg()}),Jg=()=>({min:0,max:0}),Xe=()=>({x:Jg(),y:Jg()}),Bu={current:null},o0={current:!1};function Pk(){if(o0.current=!0,!!wm)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>Bu.current=e.matches;e.addEventListener("change",n),n()}else Bu.current=!1}const kk=new WeakMap;function Ck(e,n,i){for(const o in n){const l=n[o],d=i[o];if(dt(l))e.addValue(o,l);else if(dt(d))e.addValue(o,nn(l,{owner:e}));else if(d!==l)if(e.hasValue(o)){const u=e.getValue(o);u.liveStyle===!0?u.jump(l):u.hasAnimated||u.set(l)}else{const u=e.getStaticValue(o);e.addValue(o,nn(u!==void 0?u:l,{owner:e}))}}for(const o in i)n[o]===void 0&&e.removeValue(o);return n}const ex=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Sk{scrapeMotionValuesFromProps(n,i,o){return{}}constructor({parent:n,props:i,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:d,visualState:u},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=_m,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 b=Tt.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,Ee.render(this.render,!1,!0))};
vendor: 14,504 bytes, line 59
59const{latestValues:f,renderState:h}=u;this.latestValues=f,this.baseTarget={...f},this.initialValues=i.initial?{...f}:{},this.renderState=h,this.parent=n,this.props=i,this.presenceContext=o,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!d,this.isControllingVariants=Dl(i),this.isVariantNode=Hv(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:x,...v}=this.scrapeMotionValuesFromProps(i,{},this);for(const b in v){const k=v[b];f[b]!==void 0&&dt(k)&&k.set(f[b])}}mount(n){this.current=n,kk.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),o0.current||Pk(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Bu.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),on(this.notifyUpdate),on(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const o=Gs.has(n);o&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&Ee.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{l(),d&&d(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Fs){const i=Fs[n];if(!i)continue;const{isEnabled:o,Feature:l}=i;if(!this.features[n]&&l&&o(this.props)&&(this.features[n]=new l(this)),this.features[n]){const d=this.features[n];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Xe()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let o=0;o<ex.length;o++){const l=ex[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const d="on"+l,u=n[d];u&&(this.propEventSubscriptions[l]=this.on(l,u))}this.prevMotionValues=Ck(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const o=this.values.get(n);i!==o&&(o&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let o=this.values.get(n);return o===void 0&&i!==void 0&&(o=nn(i===null?void 0:i,{owner:this}),this.addValue(n,o)),o}readValue(n,i){let o=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return o!=null&&(typeof o=="string"&&(Xy(o)||Zy(o))?o=parseFloat(o):!LP(o)&&ur.test(i)&&(o=Dv(n,i)),this.setBaseTarget(n,dt(o)?o.get():o)),dt(o)?o.get():o}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const d=Ym(this.props,i,this.presenceContext?.custom);d&&(o=d[n])}if(i&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,n);return l!==void 0&&!dt(l)?l:this.initialValues[n]!==void 0&&o===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new Pm),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}scheduleRenderMicrotask(){zm.render(this.render)}}class a0 extends Sk{constructor(){super(...arguments),this.KeyframeResolver=pP}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:o}){delete i[n],delete o[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;dt(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function l0(e,{style:n,vars:i},o,l){const d=e.style;let u;for(u in n)d[u]=n[u];l?.applyProjectionStyles(d,o);for(u in i)d.setProperty(u,i[u])}function Ek(e){return window.getComputedStyle(e)}class Ak extends a0{constructor(){super(...arguments),this.type="html",this.renderInstance=l0}readValueFromInstance(n,i){if(Gs.has(i))return this.projection?.isProjecting?Du(i):M2(n,i);{const o=Ek(n),l=(Em(i)?o.getPropertyValue(i):o[i])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:i}){return i0(n,i)}build(n,i,o){Gm(n,i,o.transformTemplate)}scrapeMotionValuesFromProps(n,i,o){return Xm(n,i,o)}}const c0=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 Tk(e,n,i,o){l0(e,n,void 0,o);for(const l in n.attrs)e.setAttribute(c0.has(l)?l:Qm(l),n.attrs[l])}class Rk extends a0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Xe}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Gs.has(i)){const o=Mv(i);return o&&o.default||0}return i=c0.has(i)?i:Qm(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,o){return Zv(n,i,o)}build(n,i,o){Kv(n,i,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(n,i,o,l){Tk(n,i,o,l)}mount(n){this.isSVGTag=Xv(n.tagName),super.mount(n)}}const Ik=(e,n)=>Km(e)?new Rk(n):new Ak(n,{allowProjection:e!==y.Fragment});function Ls(e,n,i){const o=e.getProps();return Ym(o,n,i!==void 0?i:o.custom,e)}const Uu=e=>Array.isArray(e);function Mk(e,n,i){e.hasValue(n)?e.getValue(n).set(i):e.addValue(n,nn(i))}function Dk(e){return Uu(e)?e[e.length-1]||0:e}function Lk(e,n){const i=Ls(e,n);let{transitionEnd:o={},transition:l={},...d}=i||{};d={...d,...o};for(const u in d){const m=Dk(d[u]);Mk(e,u,m)}}function Wk(e){return!!(dt(e)&&e.add)}function Hu(e,n){const i=e.getValue("willChange");if(Wk(i))return i.add(n);if(!i&&Fn.WillChange){const o=new Fn.WillChange("auto");e.addValue("willChange",o),o.add(n)}}function d0(e){return e.props[Jv]}const _k=e=>e!==null;function Fk(e,{repeat:n,repeatType:i="loop"},o){const l=e.filter(_k),d=n&&i!=="loop"&&n%2===1?0:l.length-1;return l[d]}const Ok={type:"spring",stiffness:500,damping:25,restSpeed:10},Vk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),zk={type:"keyframes",duration:.8},$k={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Bk=(e,{keyframes:n})=>n.length>2?zk:Gs.has(e)?e.startsWith("scale")?Vk(n[1]):Ok:$k;function Uk({when:e,delay:n,delayChildren:i,staggerChildren:o,staggerDirection:l,repeat:d,repeatType:u,repeatDelay:m,from:f,elapsed:h,...x}){return!!Object.keys(x).length}const Zm=(e,n,i,o={},l,d)=>u=>{const m=Fm(o,e)||{},f=m.delay||o.delay||0;let{elapsed:h=0}=o;h=h-xn(f);const x={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...m,delay:-h,onUpdate:b=>{n.set(b),m.onUpdate&&m.onUpdate(b)},onComplete:()=>{u(),m.onComplete&&m.onComplete()},name:e,motionValue:n,element:d?void 0:l};Uk(m)||Object.assign(x,Bk(e,x)),x.duration&&(x.duration=xn(x.duration)),x.repeatDelay&&(x.repeatDelay=xn(x.repeatDelay)),x.from!==void 0&&(x.keyframes[0]=x.from);let v=!1;if((x.type===!1||x.duration===0&&!x.repeatDelay)&&(Ou(x),x.delay===0&&(v=!0)),(Fn.instantAnimations||Fn.skipAnimations)&&(v=!0,Ou(x),x.delay=0),x.allowFlatten=!m.type&&!m.ease,v&&!d&&n.get()!==void 0){const b=Fk(x.keyframes,m);if(b!==void 0){Ee.update(()=>{x.onUpdate(b),x.onComplete()});return}}return m.isSync?new Rl(x):new tP(x)};function Hk({protectedKeys:e,needsAnimating:n},i){const o=e.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,o}function u0(e,n,{delay:i=0,transitionOverride:o,type:l}={}){let{transition:d=e.getDefaultTransition(),transitionEnd:u,...m}=n;o&&(d=o);const f=[],h=l&&e.animationState&&e.animationState.getState()[l];for(const x in m){const v=e.getValue(x,e.latestValues[x]??null),b=m[x];if(b===void 0||h&&Hk(h,x))continue;const k={delay:i,...Fm(d||{},x)},C=v.get();if(C!==void 0&&!v.isAnimating&&!Array.isArray(b)&&b===C&&!k.velocity)continue;let w=!1;if(window.MotionHandoffAnimation){const P=d0(e);if(P){const S=window.MotionHandoffAnimation(P,x,Ee);S!==null&&(k.startTime=S,w=!0)}}Hu(e,x),v.start(Zm(x,v,b,e.shouldReduceMotion&&Tv.has(x)?{type:!1}:k,e,w));const j=v.animation;j&&f.push(j)}return u&&Promise.all(f).then(()=>{Ee.update(()=>{u&&Lk(e,u)})}),f}function m0(e,n,i,o=0,l=1){const d=Array.from(e).sort((h,x)=>h.sortNodePosition(x)).indexOf(n),u=e.size,m=(u-1)*o;return typeof i=="function"?i(d,u):l===1?d*o:m-d*o}function Gu(e,n,i={}){const o=Ls(e,n,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=o||{};i.transitionOverride&&(l=i.transitionOverride);const d=o?()=>Promise.all(u0(e,o,i)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:h=0,staggerChildren:x,staggerDirection:v}=l;return Gk(e,n,f,h,x,v,i)}:()=>Promise.resolve(),{when:m}=l;if(m){const[f,h]=m==="beforeChildren"?[d,u]:[u,d];return f().then(()=>h())}else return Promise.all([d(),u(i.delay)])}function Gk(e,n,i=0,o=0,l=0,d=1,u){const m=[];for(const f of e.variantChildren)f.notify("AnimationStart",n),m.push(Gu(f,n,{...u,delay:i+(typeof o=="function"?0:o)+m0(e.variantChildren,f,o,l,d)}).then(()=>f.notify("AnimationComplete",n)));return Promise.all(m)}function qk(e,n,i={}){e.notify("AnimationStart",n);let o;if(Array.isArray(n)){const l=n.map(d=>Gu(e,d,i));o=Promise.all(l)}else if(typeof n=="string")o=Gu(e,n,i);else{const l=typeof n=="function"?Ls(e,n,i.custom):n;o=Promise.all(u0(e,l,i))}return o.then(()=>{e.notify("AnimationComplete",n)})}function p0(e,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==e.length)return!1;for(let o=0;o<i;o++)if(n[o]!==e[o])return!1;return!0}const Kk=Hm.length;function f0(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?f0(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const n={};for(let i=0;i<Kk;i++){const o=Hm[i],l=e.props[o];(to(l)||l===!1)&&(n[o]=l)}return n}const Yk=[...Um].reverse(),Xk=Um.length;function Qk(e){return n=>Promise.all(n.map(({animation:i,options:o})=>qk(e,i,o)))}function Zk(e){let n=Qk(e),i=tx(),o=!0;const l=f=>(h,x)=>{const v=Ls(e,x,f==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:b,transitionEnd:k,...C}=v;h={...h,...C,...k}}return h};function d(f){n=f(e)}function u(f){const{props:h}=e,x=f0(e.parent)||{},v=[],b=new Set;let k={},C=1/0;for(let j=0;j<Xk;j++){const P=Yk[j],S=i[P],T=h[P]!==void 0?h[P]:x[P],O=to(T),M=P===f?S.isActive:null;M===!1&&(C=j);let U=T===x[P]&&T!==h[P]&&O;if(U&&o&&e.manuallyAnimateOnMount&&(U=!1),S.protectedKeys={...k},!S.isActive&&M===null||!T&&!S.prevProp||Ml(T)||typeof T=="boolean")continue;const z=Jk(S.prevProp,T);let V=z||P===f&&S.isActive&&!U&&O||j>C&&O,oe=!1;const he=Array.isArray(T)?T:[T];let Re=he.reduce(l(P),{});M===!1&&(Re={});const{prevResolvedValues:Ge={}}=S,qe={...Ge,...Re},Be=me=>{V=!0,b.has(me)&&(oe=!0,b.delete(me)),S.needsAnimating[me]=!0;const F=e.getValue(me);F&&(F.liveStyle=!1)};for(const me in qe){const F=Re[me],re=Ge[me];if(k.hasOwnProperty(me))continue;let K=!1;Uu(F)&&Uu(re)?K=!p0(F,re):K=F!==re,K?F!=null?Be(me):b.add(me):F!==void 0&&b.has(me)?Be(me):S.protectedKeys[me]=!0}S.prevProp=T,S.prevResolvedValues=Re,S.isActive&&(k={...k,...Re}),o&&e.blockInitialAnimation&&(V=!1);const _e=U&&z;V&&(!_e||oe)&&v.push(...he.map(me=>{const F={type:P};if(typeof me=="string"&&o&&!_e&&e.manuallyAnimateOnMount&&e.parent){const{parent:re}=e,K=Ls(re,me);if(re.enteringChildren&&K){const{delayChildren:D}=K.transition||{};F.delay=m0(re.enteringChildren,e,D)}}return{animation:me,options:F}}))}if(b.size){const j={};if(typeof h.initial!="boolean"){const P=Ls(e,Array.isArray(h.initial)?h.initial[0]:h.initial);P&&P.transition&&(j.transition=P.transition)}b.forEach(P=>{const S=e.getBaseTarget(P),T=e.getValue(P);T&&(T.liveStyle=!0),j[P]=S??null}),v.push({animation:j})}let w=!!v.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),o=!1,w?n(v):Promise.resolve()}function m(f,h){if(i[f].isActive===h)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(f,h)),i[f].isActive=h;const x=u(f);for(const v in i)i[v].protectedKeys={};return x}return{animateChanges:u,setActive:m,setAnimateFunction:d,getState:()=>i,reset:()=>{i=tx()}}}
vendor: 6,904 bytes, line 59
59function Jk(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!p0(n,e):!1}function Ir(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tx(){return{animate:Ir(!0),whileInView:Ir(),whileHover:Ir(),whileTap:Ir(),whileDrag:Ir(),whileFocus:Ir(),exit:Ir()}}class hr{constructor(n){this.isMounted=!1,this.node=n}update(){}}class eC extends hr{constructor(n){super(n),n.animationState||(n.animationState=Zk(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Ml(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tC=0;class nC extends hr{constructor(){super(...arguments),this.id=tC++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===o)return;const l=this.node.animationState.setActive("exit",!n);i&&!n&&l.then(()=>{i(this.id)})}mount(){const{register:n,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const rC={animation:{Feature:eC},exit:{Feature:nC}};function ro(e,n,i,o={passive:!0}){return e.addEventListener(n,i,o),()=>e.removeEventListener(n,i)}function ho(e){return{point:{x:e.pageX,y:e.pageY}}}const sC=e=>n=>$m(n)&&e(n,ho(n));function Gi(e,n,i,o){return ro(e,n,sC(i),o)}const h0=1e-4,iC=1-h0,oC=1+h0,g0=.01,aC=0-g0,lC=0+g0;function jt(e){return e.max-e.min}function cC(e,n,i){return Math.abs(e-n)<=i}function nx(e,n,i,o=.5){e.origin=o,e.originPoint=ze(n.min,n.max,e.origin),e.scale=jt(i)/jt(n),e.translate=ze(i.min,i.max,e.origin)-e.originPoint,(e.scale>=iC&&e.scale<=oC||isNaN(e.scale))&&(e.scale=1),(e.translate>=aC&&e.translate<=lC||isNaN(e.translate))&&(e.translate=0)}function qi(e,n,i,o){nx(e.x,n.x,i.x,o?o.originX:void 0),nx(e.y,n.y,i.y,o?o.originY:void 0)}function rx(e,n,i){e.min=i.min+n.min,e.max=e.min+jt(n)}function dC(e,n,i){rx(e.x,n.x,i.x),rx(e.y,n.y,i.y)}function sx(e,n,i){e.min=n.min-i.min,e.max=e.min+jt(n)}function Ki(e,n,i){sx(e.x,n.x,i.x),sx(e.y,n.y,i.y)}function Ht(e){return[e("x"),e("y")]}const x0=({current:e})=>e?e.ownerDocument.defaultView:null,ix=(e,n)=>Math.abs(e-n);function uC(e,n){const i=ix(e.x,n.x),o=ix(e.y,n.y);return Math.sqrt(i**2+o**2)}class y0{constructor(n,i,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:d=!1,distanceThreshold:u=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=tu(this.lastMoveEventInfo,this.history),k=this.startEvent!==null,C=uC(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!k&&!C)return;const{point:w}=b,{timestamp:j}=ct;this.history.push({...w,timestamp:j});const{onStart:P,onMove:S}=this.handlers;k||(P&&P(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,b)},this.handlePointerMove=(b,k)=>{this.lastMoveEvent=b,this.lastMoveEventInfo=eu(k,this.transformPagePoint),Ee.update(this.updatePoint,!0)},this.handlePointerUp=(b,k)=>{this.end();const{onEnd:C,onSessionEnd:w,resumeAnimation:j}=this.handlers;if(this.dragSnapToOrigin&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=tu(b.type==="pointercancel"?this.lastMoveEventInfo:eu(k,this.transformPagePoint),this.history);this.startEvent&&C&&C(b,P),w&&w(b,P)},!$m(n))return;this.dragSnapToOrigin=d,this.handlers=i,this.transformPagePoint=o,this.distanceThreshold=u,this.contextWindow=l||window;const m=ho(n),f=eu(m,this.transformPagePoint),{point:h}=f,{timestamp:x}=ct;this.history=[{...h,timestamp:x}];const{onSessionStart:v}=i;v&&v(n,tu(f,this.history)),this.removeListeners=uo(Gi(this.contextWindow,"pointermove",this.handlePointerMove),Gi(this.contextWindow,"pointerup",this.handlePointerUp),Gi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),on(this.updatePoint)}}function eu(e,n){return n?{point:n(e.point)}:e}function ox(e,n){return{x:e.x-n.x,y:e.y-n.y}}function tu({point:e},n){return{point:e,delta:ox(e,v0(n)),offset:ox(e,mC(n)),velocity:pC(n,.1)}}function mC(e){return e[0]}function v0(e){return e[e.length-1]}function pC(e,n){if(e.length<2)return{x:0,y:0};let i=e.length-1,o=null;const l=v0(e);for(;i>=0&&(o=e[i],!(l.timestamp-o.timestamp>xn(n)));)i--;if(!o)return{x:0,y:0};const d=Gt(l.timestamp-o.timestamp);if(d===0)return{x:0,y:0};const u={x:(l.x-o.x)/d,y:(l.y-o.y)/d};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function fC(e,{min:n,max:i},o){return n!==void 0&&e<n?e=o?ze(n,e,o.min):Math.max(e,n):i!==void 0&&e>i&&(e=o?ze(i,e,o.max):Math.min(e,i)),e}function ax(e,n,i){return{min:n!==void 0?e.min+n:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function hC(e,{top:n,left:i,bottom:o,right:l}){return{x:ax(e.x,i,l),y:ax(e.y,n,o)}}function lx(e,n){let i=n.min-e.min,o=n.max-e.max;return n.max-n.min<e.max-e.min&&([i,o]=[o,i]),{min:i,max:o}}function gC(e,n){return{x:lx(e.x,n.x),y:lx(e.y,n.y)}}function xC(e,n){let i=.5;const o=jt(e),l=jt(n);return l>o?i=_s(n.min,n.max-o,e.min):o>l&&(i=_s(e.min,e.max-l,n.min)),wn(0,1,i)}function yC(e,n){const i={};return n.min!==void 0&&(i.min=n.min-e.min),n.max!==void 0&&(i.max=n.max-e.min),i}const qu=.35;function vC(e=qu){return e===!1?e=0:e===!0&&(e=qu),{x:cx(e,"left","right"),y:cx(e,"top","bottom")}}function cx(e,n,i){return{min:dx(e,n),max:dx(e,i)}}function dx(e,n){return typeof e=="number"?e:e[n]||0}const wC=new WeakMap;class bC{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Xe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:i=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const d=v=>{const{dragSnapToOrigin:b}=this.getProps();b?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(ho(v).point)},u=(v,b)=>{const{drag:k,dragPropagation:C,onDragStart:w}=this.getProps();if(k&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gP(k),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=b,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ht(P=>{let S=this.getAxisMotionValue(P).get()||0;if(yn.test(S)){const{projection:T}=this.visualElement;if(T&&T.layout){const O=T.layout.layoutBox[P];O&&(S=jt(O)*(parseFloat(S)/100))}}this.originPoint[P]=S}
vendor: 19,007 bytes, line 59
59),w&&Ee.postRender(()=>w(v,b)),Hu(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},m=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b;const{dragPropagation:k,dragDirectionLock:C,onDirectionLock:w,onDrag:j}=this.getProps();if(!k&&!this.openDragLock)return;const{offset:P}=b;if(C&&this.currentDirection===null){this.currentDirection=jC(P),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",b.point,P),this.updateAxis("y",b.point,P),this.visualElement.render(),j&&j(v,b)},f=(v,b)=>{this.latestPointerEvent=v,this.latestPanInfo=b,this.stop(v,b),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Ht(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:x}=this.getProps();this.panSession=new y0(n,{onSessionStart:d,onStart:u,onMove:m,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,distanceThreshold:o,contextWindow:x0(this.visualElement)})}stop(n,i){const o=n||this.latestPointerEvent,l=i||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!l||!o)return;const{velocity:u}=l;this.startAnimation(u);const{onDragEnd:m}=this.getProps();m&&Ee.postRender(()=>m(o,l))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,o){const{drag:l}=this.getProps();if(!o||!Da(n,l,this.currentDirection))return;const d=this.getAxisMotionValue(n);let u=this.originPoint[n]+o[n];this.constraints&&this.constraints[n]&&(u=fC(u,this.constraints[n],this.elastic[n])),d.set(u)}resolveConstraints(){const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;n&&Rs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=hC(o.layoutBox,n):this.constraints=!1,this.elastic=vC(i),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Ht(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=yC(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!Rs(n))return!1;const o=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const d=Nk(o,l.root,this.visualElement.getTransformPagePoint());let u=gC(l.layout.layoutBox,d);if(i){const m=i(wk(u));this.hasMutatedConstraints=!!m,m&&(u=n0(m))}return u}startAnimation(n){const{drag:i,dragMomentum:o,dragElastic:l,dragTransition:d,dragSnapToOrigin:u,onDragTransitionEnd:m}=this.getProps(),f=this.constraints||{},h=Ht(x=>{if(!Da(x,i,this.currentDirection))return;let v=f&&f[x]||{};u&&(v={min:0,max:0});const b=l?200:1e6,k=l?40:1e7,C={type:"inertia",velocity:o?n[x]:0,bounceStiffness:b,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...d,...v};return this.startAxisValueAnimation(x,C)});return Promise.all(h).then(m)}startAxisValueAnimation(n,i){const o=this.getAxisMotionValue(n);return Hu(this.visualElement,n),o.start(Zm(n,o,0,i,this.visualElement,!1))}stopAnimation(){Ht(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){Ht(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,o=this.visualElement.getProps(),l=o[i];return l||this.visualElement.getValue(n,(o.initial?o.initial[n]:void 0)||0)}snapToCursor(n){Ht(i=>{const{drag:o}=this.getProps();if(!Da(i,o,this.currentDirection))return;const{projection:l}=this.visualElement,d=this.getAxisMotionValue(i);if(l&&l.layout){const{min:u,max:m}=l.layout.layoutBox[i];d.set(n[i]-ze(u,m,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:o}=this.visualElement;if(!Rs(i)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Ht(u=>{const m=this.getAxisMotionValue(u);if(m&&this.constraints!==!1){const f=m.get();l[u]=xC({min:f,max:f},this.constraints[u])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Ht(u=>{if(!Da(u,n,null))return;const m=this.getAxisMotionValue(u),{min:f,max:h}=this.constraints[u];m.set(ze(f,h,l[u]))})}addListeners(){if(!this.visualElement.current)return;wC.set(this.visualElement,this);const n=this.visualElement.current,i=Gi(n,"pointerdown",f=>{const{drag:h,dragListener:x=!0}=this.getProps();h&&x&&this.start(f)}),o=()=>{const{dragConstraints:f}=this.getProps();Rs(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,d=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Ee.read(o);const u=ro(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:h})=>{this.isDragging&&h&&(Ht(x=>{const v=this.getAxisMotionValue(x);v&&(this.originPoint[x]+=f[x].translate,v.set(v.get()+f[x].translate))}),this.visualElement.render())}));return()=>{u(),i(),d(),m&&m()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:d=!1,dragElastic:u=qu,dragMomentum:m=!0}=n;return{...n,drag:i,dragDirectionLock:o,dragPropagation:l,dragConstraints:d,dragElastic:u,dragMomentum:m}}}function Da(e,n,i){return(n===!0||n===e)&&(i===null||i===e)}function jC(e,n=10){let i=null;return Math.abs(e.y)>n?i="y":Math.abs(e.x)>n&&(i="x"),i}class NC extends hr{constructor(n){super(n),this.removeGroupControls=It,this.removeListeners=It,this.controls=new bC(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||It}unmount(){this.removeGroupControls(),this.removeListeners()}}const ux=e=>(n,i)=>{e&&Ee.postRender(()=>e(n,i))};class PC extends hr{constructor(){super(...arguments),this.removePointerDownListener=It}onPointerDown(n){this.session=new y0(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x0(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:ux(n),onStart:ux(i),onMove:o,onEnd:(d,u)=>{delete this.session,l&&Ee.postRender(()=>l(d,u))}}}mount(){this.removePointerDownListener=Gi(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const nl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function mx(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const Wi={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const i=mx(e,n.target.x),o=mx(e,n.target.y);return`${i}% ${o}%`}},kC={correct:(e,{treeScale:n,projectionDelta:i})=>{const o=e,l=ur.parse(e);if(l.length>5)return o;const d=ur.createTransformer(e),u=typeof l[0]!="number"?1:0,m=i.x.scale*n.x,f=i.y.scale*n.y;l[0+u]/=m,l[1+u]/=f;const h=ze(m,f,.5);return typeof l[2+u]=="number"&&(l[2+u]/=h),typeof l[3+u]=="number"&&(l[3+u]/=h),d(l)}};let nu=!1;class CC extends y.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o,layoutId:l}=this.props,{projection:d}=n;KP(SC),d&&(i.group&&i.group.add(d),o&&o.register&&l&&o.register(d),nu&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),nl.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:o,drag:l,isPresent:d}=this.props,{projection:u}=o;return u&&(u.isPresent=d,nu=!0,l||n.layoutDependency!==i||i===void 0||n.isPresent!==d?u.willUpdate():this.safeToRemove(),n.isPresent!==d&&(d?u.promote():u.relegate()||Ee.postRender(()=>{const m=u.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),zm.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:o}=this.props,{projection:l}=n;nu=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function w0(e){const[n,i]=$v(),o=y.useContext(vm);return r.jsx(CC,{...e,layoutGroup:o,switchLayoutGroup:y.useContext(e0),isPresent:n,safeToRemove:i})}const SC={borderRadius:{...Wi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Wi,borderTopRightRadius:Wi,borderBottomLeftRadius:Wi,borderBottomRightRadius:Wi,boxShadow:kC};function EC(e,n,i){const o=dt(e)?e:nn(e);return o.start(Zm("",o,n,i)),o.animation}const AC=(e,n)=>e.depth-n.depth;class TC{constructor(){this.children=[],this.isDirty=!1}add(n){bm(this.children,n),this.isDirty=!0}remove(n){jm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(AC),this.isDirty=!1,this.children.forEach(n)}}function RC(e,n){const i=Tt.now(),o=({timestamp:l})=>{const d=l-i;d>=n&&(on(o),e(d-n))};return Ee.setup(o,!0),()=>on(o)}const b0=["TopLeft","TopRight","BottomLeft","BottomRight"],IC=b0.length,px=e=>typeof e=="string"?parseFloat(e):e,fx=e=>typeof e=="number"||pe.test(e);function MC(e,n,i,o,l,d){l?(e.opacity=ze(0,i.opacity??1,DC(o)),e.opacityExit=ze(n.opacity??1,0,LC(o))):d&&(e.opacity=ze(n.opacity??1,i.opacity??1,o));for(let u=0;u<IC;u++){const m=`border${b0[u]}Radius`;let f=hx(n,m),h=hx(i,m);if(f===void 0&&h===void 0)continue;f||(f=0),h||(h=0),f===0||h===0||fx(f)===fx(h)?(e[m]=Math.max(ze(px(f),px(h),o),0),(yn.test(h)||yn.test(f))&&(e[m]+="%")):e[m]=h}(n.rotate||i.rotate)&&(e.rotate=ze(n.rotate||0,i.rotate||0,o))}function hx(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const DC=j0(0,.5,iv),LC=j0(.5,.95,It);function j0(e,n,i){return o=>o<e?0:o>n?1:i(_s(e,n,o))}function gx(e,n){e.min=n.min,e.max=n.max}function Ut(e,n){gx(e.x,n.x),gx(e.y,n.y)}function xx(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}function yx(e,n,i,o,l){return e-=n,e=dl(e,1/i,o),l!==void 0&&(e=dl(e,1/l,o)),e}function WC(e,n=0,i=1,o=.5,l,d=e,u=e){if(yn.test(n)&&(n=parseFloat(n),n=ze(u.min,u.max,n/100)-u.min),typeof n!="number")return;let m=ze(d.min,d.max,o);e===d&&(m-=n),e.min=yx(e.min,n,i,m,l),e.max=yx(e.max,n,i,m,l)}function vx(e,n,[i,o,l],d,u){WC(e,n[i],n[o],n[l],n.scale,d,u)}const _C=["x","scaleX","originX"],FC=["y","scaleY","originY"];function wx(e,n,i,o){vx(e.x,n,_C,i?i.x:void 0,o?o.x:void 0),vx(e.y,n,FC,i?i.y:void 0,o?o.y:void 0)}function bx(e){return e.translate===0&&e.scale===1}function N0(e){return bx(e.x)&&bx(e.y)}function jx(e,n){return e.min===n.min&&e.max===n.max}function OC(e,n){return jx(e.x,n.x)&&jx(e.y,n.y)}function Nx(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function P0(e,n){return Nx(e.x,n.x)&&Nx(e.y,n.y)}function Px(e){return jt(e.x)/jt(e.y)}function kx(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}class VC{constructor(){this.members=[]}add(n){bm(this.members,n),n.scheduleRender()}remove(n){if(jm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(l=>n===l);if(i===0)return!1;let o;for(let l=i;l>=0;l--){const d=this.members[l];if(d.isPresent!==!1){o=d;break}}return o?(this.promote(o),!0):!1}promote(n,i){const o=this.lead;if(n!==o&&(this.prevLead=o,this.lead=n,n.show(),o)){o.instance&&o.scheduleRender(),n.scheduleRender(),n.resumeFrom=o,i&&(n.resumeFrom.preserveOpacity=!0),o.snapshot&&(n.snapshot=o.snapshot,n.snapshot.latestValues=o.animationValues||o.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:l}=n.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:o}=n;i.onExitComplete&&i.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zC(e,n,i){let o="";const l=e.x.translate/n.x,d=e.y.translate/n.y,u=i?.z||0;if((l||d||u)&&(o=`translate3d(${l}px, ${d}px, ${u}px) `),(n.x!==1||n.y!==1)&&(o+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:h,rotate:x,rotateX:v,rotateY:b,skewX:k,skewY:C}=i;h&&(o=`perspective(${h}px) ${o}`),x&&(o+=`rotate(${x}deg) `),v&&(o+=`rotateX(${v}deg) `),b&&(o+=`rotateY(${b}deg) `),k&&(o+=`skewX(${k}deg) `),C&&(o+=`skewY(${C}deg) `)}const m=e.x.scale*n.x,f=e.y.scale*n.y;return(m!==1||f!==1)&&(o+=`scale(${m}, ${f})`),o||"none"}const ru=["","X","Y","Z"],$C=1e3;let BC=0;function su(e,n,i,o){const{latestValues:l}=n;l[e]&&(i[e]=l[e],n.setStaticValue(e,0),o&&(o[e]=0))}function k0(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const i=d0(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:d}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",Ee,!(l||d))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&k0(o)}function C0({attachResizeListener:e,defaultParent:n,measureScroll:i,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(u={},m=n?.()){this.id=BC++,this.animationId=0,this.animationCommitId=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,this.nodes.forEach(GC),this.nodes.forEach(XC),this.nodes.forEach(QC),this.nodes.forEach(qC)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new TC)}addEventListener(u,m){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new Pm),this.eventHandlers.get(u).add(m)}notifyListeners(u,...m){const f=this.eventHandlers.get(u);f&&f.notify(...m)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=Bm(u)&&!RP(u),this.instance=u;const{layoutId:m,layout:f,visualElement:h}=this.options;if(h&&!h.current&&h.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||m)&&(this.isLayoutDirty=!0),e){let x,v=0;const b=()=>this.root.updateBlockedByResize=!1;Ee.read(()=>{v=window.innerWidth}),e(u,()=>{const k=window.innerWidth;k!==v&&(v=k,this.root.updateBlockedByResize=!0,x&&x(),x=RC(b,250),nl.hasAnimatedSinceResize&&(nl.hasAnimatedSinceResize=!1,this.nodes.forEach(Ex)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&h&&(m||f)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:v,hasRelativeLayoutChanged:b,layout:k})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||h.getDefaultTransition()||nS,{onLayoutAnimationStart:w,onLayoutAnimationComplete:j}=h.getProps(),P=!this.targetLayout||!P0(this.targetLayout,k),S=!v&&b;if(this.options.layoutRoot||this.resumeFrom||S||v&&(P||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const T={...Fm(C,"layout"),onPlay:w,onComplete:j};(h.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T),this.setAnimationOrigin(x,S)}else v||Ex(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=k})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),on(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ZC),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&k0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let x=0;x<this.path.length;x++){const v=this.path[x];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:f}=this.options;if(m===void 0&&!f)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Cx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(YC),this.nodes.forEach(UC),this.nodes.forEach(HC)):this.nodes.forEach(Sx),this.clearAllSnapshots();const m=Tt.now();ct.delta=wn(0,1e3/60,m-ct.timestamp),ct.timestamp=m,ct.isProcessing=!0,Gd.update.process(ct),Gd.preRender.process(ct),Gd.render.process(ct),ct.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zm.read(this.scheduleUpdate))}
vendor: 6,064 bytes, line 59
59clearAllSnapshots(){this.nodes.forEach(KC),this.sharedNodes.forEach(JC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ee.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ee.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!jt(this.snapshot.measuredBox.x)&&!jt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}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 u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Xe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(m=!1),m&&this.instance){const f=o(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:f,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!l)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!N0(this.projectionDelta),f=this.getTransformTemplate(),h=f?f(this.latestValues,""):void 0,x=h!==this.prevTransformTemplateValue;u&&this.instance&&(m||Lr(this.latestValues)||x)&&(l(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const m=this.measurePageBox();let f=this.removeElementScroll(m);return u&&(f=this.removeTransform(f)),rS(f),{animationId:this.root.animationId,measuredBox:m,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return Xe();const m=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sS))){const{scroll:h}=this.root;h&&(Is(m.x,h.offset.x),Is(m.y,h.offset.y))}return m}removeElementScroll(u){const m=Xe();if(Ut(m,u),this.scroll?.wasRoot)return m;for(let f=0;f<this.path.length;f++){const h=this.path[f],{scroll:x,options:v}=h;h!==this.root&&x&&v.layoutScroll&&(x.wasRoot&&Ut(m,u),Is(m.x,x.offset.x),Is(m.y,x.offset.y))}return m}applyTransform(u,m=!1){const f=Xe();Ut(f,u);for(let h=0;h<this.path.length;h++){const x=this.path[h];!m&&x.options.layoutScroll&&x.scroll&&x!==x.root&&Ms(f,{x:-x.scroll.offset.x,y:-x.scroll.offset.y}),Lr(x.latestValues)&&Ms(f,x.latestValues)}return Lr(this.latestValues)&&Ms(f,this.latestValues),f}removeTransform(u){const m=Xe();Ut(m,u);for(let f=0;f<this.path.length;f++){const h=this.path[f];if(!h.instance||!Lr(h.latestValues))continue;zu(h.latestValues)&&h.updateSnapshot();const x=Xe(),v=h.measurePageBox();Ut(x,v),wx(m,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,x)}return Lr(this.latestValues)&&wx(m,this.latestValues),m}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==ct.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==m;if(!(u||f&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:v}=this.options;if(!(!this.layout||!(x||v))){if(this.resolvedRelativeTargetAt=ct.timestamp,!this.targetDelta&&!this.relativeTarget){const b=this.getClosestProjectingParent();b&&b.layout&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Xe(),this.relativeTargetOrigin=Xe(),Ki(this.relativeTargetOrigin,this.layout.layoutBox,b.layout.layoutBox),Ut(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Xe(),this.targetWithTransforms=Xe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ut(this.target,this.layout.layoutBox),s0(this.target,this.targetDelta)):Ut(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const b=this.getClosestProjectingParent();b&&!!b.resumingFrom==!!this.resumingFrom&&!b.options.layoutScroll&&b.target&&this.animationProgress!==1?(this.relativeParent=b,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Xe(),this.relativeTargetOrigin=Xe(),Ki(this.relativeTargetOrigin,this.target,b.target),Ut(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||zu(this.parent.latestValues)||r0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const u=this.getLead(),m=!!this.resumingFrom||this!==u;let f=!0;
vendor: 9,323 bytes, line 59
59if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(f=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===ct.timestamp&&(f=!1),f)return;const{layout:h,layoutId:x}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||x))return;Ut(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,b=this.treeScale.y;jk(this.layoutCorrected,this.treeScale,this.path,m),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=Xe());const{target:k}=u;if(!k){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xx(this.prevProjectionDelta.x,this.projectionDelta.x),xx(this.prevProjectionDelta.y,this.projectionDelta.y)),qi(this.projectionDelta,this.layoutCorrected,k,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==b||!kx(this.projectionDelta.x,this.prevProjectionDelta.x)||!kx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",k))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ds(),this.projectionDelta=Ds(),this.projectionDeltaWithTransform=Ds()}setAnimationOrigin(u,m=!1){const f=this.snapshot,h=f?f.latestValues:{},x={...this.latestValues},v=Ds();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const b=Xe(),k=f?f.source:void 0,C=this.layout?this.layout.source:void 0,w=k!==C,j=this.getStack(),P=!j||j.members.length<=1,S=!!(w&&!P&&this.options.crossfade===!0&&!this.path.some(tS));this.animationProgress=0;let T;this.mixTargetDelta=O=>{const M=O/1e3;Ax(v.x,u.x,M),Ax(v.y,u.y,M),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ki(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),eS(this.relativeTarget,this.relativeTargetOrigin,b,M),T&&OC(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Xe()),Ut(T,this.relativeTarget)),w&&(this.animationValues=x,MC(x,h,this.latestValues,M,S,P)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(on(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ee.update(()=>{nl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=nn(0)),this.currentAnimation=EC(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),u.onUpdate&&u.onUpdate(m)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta($C),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:m,target:f,layout:h,latestValues:x}=u;if(!(!m||!f||!h)){if(this!==u&&this.layout&&h&&S0(this.options.animationType,this.layout.layoutBox,h.layoutBox)){f=this.target||Xe();const v=jt(this.layout.layoutBox.x);f.x.min=u.target.x.min,f.x.max=f.x.min+v;const b=jt(this.layout.layoutBox.y);f.y.min=u.target.y.min,f.y.max=f.y.min+b}Ut(m,f),Ms(m,x),qi(this.projectionDeltaWithTransform,this.layoutCorrected,m,x)}}registerSharedNode(u,m){this.sharedNodes.has(u)||this.sharedNodes.set(u,new VC),this.sharedNodes.get(u).add(m);const h=m.options.initialPromotionConfig;m.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(m):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:m,preserveFollowOpacity:f}={}){const h=this.getStack();h&&h.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let m=!1;const{latestValues:f}=u;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(m=!0),!m)return;const h={};f.z&&su("z",u,h,this.animationValues);for(let x=0;x<ru.length;x++)su(`rotate${ru[x]}`,u,h,this.animationValues),su(`skew${ru[x]}`,u,h,this.animationValues);u.render();for(const x in h)u.setStaticValue(x,h[x]),this.animationValues&&(this.animationValues[x]=h[x]);u.scheduleRender()}applyProjectionStyles(u,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=tl(m?.pointerEvents)||"",u.transform=f?f(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=tl(m?.pointerEvents)||""),this.hasProjected&&!Lr(this.latestValues)&&(u.transform=f?f({},""):"none",this.hasProjected=!1);return}u.visibility="";const x=h.animationValues||h.latestValues;this.applyTransformsToTarget();let v=zC(this.projectionDeltaWithTransform,this.treeScale,x);f&&(v=f(x,v)),u.transform=v;const{x:b,y:k}=this.projectionDelta;u.transformOrigin=`${b.origin*100}% ${k.origin*100}% 0`,h.animationValues?u.opacity=h===this?x.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:u.opacity=h===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const C in no){if(x[C]===void 0)continue;const{correct:w,applyTo:j,isCSSVariable:P}=no[C],S=v==="none"?x[C]:w(x[C],h);if(j){const T=j.length;for(let O=0;O<T;O++)u[j[O]]=S}else P?this.options.visualElement.renderState.vars[C]=S:u[C]=S}this.options.layoutId&&(u.pointerEvents=h===this?tl(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(Cx),this.root.sharedNodes.clear()}}}function UC(e){e.updateLayout()}function HC(e){const n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:l}=e.options,d=n.source!==e.layout.source;l==="size"?Ht(x=>{const v=d?n.measuredBox[x]:n.layoutBox[x],b=jt(v);v.min=i[x].min,v.max=v.min+b}):S0(l,n.layoutBox,i)&&Ht(x=>{const v=d?n.measuredBox[x]:n.layoutBox[x],b=jt(i[x]);v.max=v.min+b,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+b)});const u=Ds();qi(u,i,n.layoutBox);const m=Ds();d?qi(m,e.applyTransform(o,!0),n.measuredBox):qi(m,i,n.layoutBox);const f=!N0(u);let h=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:v,layout:b}=x;if(v&&b){const k=Xe();Ki(k,n.layoutBox,v.layoutBox);const C=Xe();Ki(C,i,b.layoutBox),P0(k,C)||(h=!0),x.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=k,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:m,layoutDelta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function GC(e){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 qC(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function KC(e){e.clearSnapshot()}function Cx(e){e.clearMeasurements()}function Sx(e){e.isLayoutDirty=!1}function YC(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ex(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function XC(e){e.resolveTargetDelta()}function QC(e){e.calcProjection()}
59function ZC(e){e.resetSkewAndRotation()}function JC(e){e.removeLeadSnapshot()}function Ax(e,n,i){e.translate=ze(n.translate,0,i),e.scale=ze(n.scale,1,i),e.origin=n.origin,e.originPoint=n.originPoint}function Tx(e,n,i,o){e.min=ze(n.min,i.min,o),e.max=ze(n.max,i.max,o)}function eS(e,n,i,o){Tx(e.x,n.x,i.x,o),Tx(e.y,n.y,i.y,o)}function tS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const nS={duration:.45,ease:[.4,0,.1,1]},Rx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ix=Rx("applewebkit/")&&!Rx("chrome/")?Math.round:It;function Mx(e){e.min=Ix(e.min),e.max=Ix(e.max)}function rS(e){Mx(e.x),Mx(e.y)}function S0(e,n,i){return e==="position"||e==="preserve-aspect"&&!cC(Px(n),Px(i),.2)}function sS(e){return e!==e.root&&e.scroll?.wasRoot}const iS=C0({attachResizeListener:(e,n)=>ro(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iu={current:void 0},E0=C0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!iu.current){const e=new iS({});e.mount(window),e.setOptions({layoutScroll:!0}),iu.current=e}return iu.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),oS={pan:{Feature:PC},drag:{Feature:NC,ProjectionNode:E0,MeasureLayout:w0}};function Dx(e,n,i){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,d=o[l];d&&Ee.postRender(()=>d(n,ho(n)))}class aS extends hr{mount(){const{current:n}=this.node;n&&(this.unmount=xP(n,(i,o)=>(Dx(this.node,o,"Start"),l=>Dx(this.node,l,"End"))))}unmount(){}}class lS extends hr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=uo(ro(this.node.current,"focus",()=>this.onFocus()),ro(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Lx(e,n,i){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),d=o[l];d&&Ee.postRender(()=>d(n,ho(n)))}class cS extends hr{mount(){const{current:n}=this.node;n&&(this.unmount=bP(n,(i,o)=>(Lx(this.node,o,"Start"),(l,{success:d})=>Lx(this.node,l,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Ku=new WeakMap,ou=new WeakMap,dS=e=>{const n=Ku.get(e.target);n&&n(e)},uS=e=>{e.forEach(dS)};function mS({root:e,...n}){const i=e||document;ou.has(i)||ou.set(i,{});const o=ou.get(i),l=JSON.stringify(n);return o[l]||(o[l]=new IntersectionObserver(uS,{root:e,...n})),o[l]}function pS(e,n,i){const o=mS(n);return Ku.set(e,i),o.observe(e),()=>{Ku.delete(e),o.unobserve(e)}}const fS={some:0,all:1};class hS extends hr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:o,amount:l="some",once:d}=n,u={root:i?i.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:fS[l]},m=f=>{const{isIntersecting:h}=f;if(this.isInView===h||(this.isInView=h,d&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:x,onViewportLeave:v}=this.node.getProps(),b=h?x:v;b&&b(f)};return pS(this.node.current,u,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(gS(n,i))&&this.startObserver()}unmount(){}}function gS({viewport:e={}},{viewport:n={}}={}){return i=>e[i]!==n[i]}const xS={inView:{Feature:hS},tap:{Feature:cS},focus:{Feature:lS},hover:{Feature:aS}},yS={layout:{ProjectionNode:E0,MeasureLayout:w0}},vS={...rC,...xS,...oS,...yS},I=vk(vS,Ik),wS=50,Wx=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),bS=()=>({time:0,x:Wx(),y:Wx()}),jS={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function _x(e,n,i,o){const l=i[n],{length:d,position:u}=jS[n],m=l.current,f=i.time;l.current=e[`scroll${u}`],l.scrollLength=e[`scroll${d}`]-e[`client${d}`],l.offset.length=0,l.offset[0]=0,l.offset[1]=l.scrollLength,l.progress=_s(0,l.scrollLength,l.current);const h=o-f;l.velocity=h>wS?0:km(l.current-m,h)}function NS(e,n,i){_x(e,"x",n,i),_x(e,"y",n,i),n.time=i}function PS(e,n){const i={x:0,y:0};let o=e;for(;o&&o!==n;)if(Vm(o))i.x+=o.offsetLeft,i.y+=o.offsetTop,o=o.offsetParent;else if(o.tagName==="svg"){const l=o.getBoundingClientRect();o=o.parentElement;const d=o.getBoundingClientRect();i.x+=l.left-d.left,i.y+=l.top-d.top}else if(o instanceof SVGGraphicsElement){const{x:l,y:d}=o.getBBox();i.x+=l,i.y+=d;let u=null,m=o.parentNode;for(;!u;)m.tagName==="svg"&&(u=m),m=o.parentNode;o=u}else break;return i}const Yu={start:0,center:.5,end:1};function Fx(e,n,i=0){let o=0;if(e in Yu&&(e=Yu[e]),typeof e=="string"){const l=parseFloat(e);e.endsWith("px")?o=l:e.endsWith("%")?e=l/100:e.endsWith("vw")?o=l/100*document.documentElement.clientWidth:e.endsWith("vh")?o=l/100*document.documentElement.clientHeight:e=l}return typeof e=="number"&&(o=n*e),i+o}const kS=[0,0];function CS(e,n,i,o){let l=Array.isArray(e)?e:kS,d=0,u=0;return typeof e=="number"?l=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?l=e.split(" "):l=[e,Yu[e]?e:"0"]),d=Fx(l[0],i,o),u=Fx(l[1],n),d-u}const SS={All:[[0,0],[1,1]]},ES={x:0,y:0};function AS(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function TS(e,n,i){const{offset:o=SS.All}=i,{target:l=e,axis:d="y"}=i,u=d==="y"?"height":"width",m=l!==e?PS(l,e):ES,f=l===e?{width:e.scrollWidth,height:e.scrollHeight}:AS(l),h={width:e.clientWidth,height:e.clientHeight};n[d].offset.length=0;let x=!n[d].interpolate;const v=o.length;for(let b=0;b<v;b++){const k=CS(o[b],h[u],f[u],m[d]);
59!x&&k!==n[d].interpolatorOffsets[b]&&(x=!0),n[d].offset[b]=k}x&&(n[d].interpolate=Dm(n[d].offset,wv(o),{clamp:!1}),n[d].interpolatorOffsets=[...n[d].offset]),n[d].progress=wn(0,1,n[d].interpolate(n[d].current))}function RS(e,n=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,n!==e){let o=n;for(;o&&o!==e;)i.x.targetOffset+=o.offsetLeft,i.y.targetOffset+=o.offsetTop,o=o.offsetParent}i.x.targetLength=n===e?n.scrollWidth:n.clientWidth,i.y.targetLength=n===e?n.scrollHeight:n.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight}function IS(e,n,i,o={}){return{measure:l=>{RS(e,o.target,i),NS(e,i,l),(o.offset||o.target)&&TS(e,i,o)},notify:()=>n(i)}}const _i=new WeakMap,Ox=new WeakMap,au=new WeakMap,Vx=e=>e===document.scrollingElement?window:e;function A0(e,{container:n=document.scrollingElement,...i}={}){if(!n)return It;let o=au.get(n);o||(o=new Set,au.set(n,o));const l=bS(),d=IS(n,e,l,i);if(o.add(d),!_i.has(n)){const m=()=>{for(const v of o)v.measure(ct.timestamp);Ee.preUpdate(f)},f=()=>{for(const v of o)v.notify()},h=()=>Ee.read(m);_i.set(n,h);const x=Vx(n);window.addEventListener("resize",h,{passive:!0}),n!==document.documentElement&&Ox.set(n,TP(n,h)),x.addEventListener("scroll",h,{passive:!0}),h()}const u=_i.get(n);return Ee.read(u,!1,!0),()=>{on(u);const m=au.get(n);if(!m||(m.delete(d),m.size))return;const f=_i.get(n);_i.delete(n),f&&(Vx(n).removeEventListener("scroll",f),Ox.get(n)?.(),window.removeEventListener("resize",f))}}const zx=new Map;function MS(e){const n={value:0},i=A0(o=>{n.value=o[e.axis].progress*100},e);return{currentTime:n,cancel:i}}function T0({source:e,container:n,...i}){const{axis:o}=i;e&&(n=e);const l=zx.get(n)??new Map;zx.set(n,l);const d=i.target??"self",u=l.get(d)??{},m=o+(i.offset??[]).join(",");return u[m]||(u[m]=!i.target&&Pv()?new ScrollTimeline({source:n,axis:o}):MS({container:n,...i})),u[m]}function DS(e,n){const i=T0(n);return e.attachTimeline({timeline:n.target?void 0:i,observe:o=>(o.pause(),zv(l=>{o.time=o.iterationDuration*l},i))})}function LS(e){return e.length===2}function WS(e,n){return LS(e)?A0(i=>{e(i[n.axis].progress,i)},n):zv(e,T0(n))}function _S(e,{axis:n="y",container:i=document.scrollingElement,...o}={}){if(!i)return It;const l={axis:n,container:i,...o};return typeof e=="function"?WS(e,l):DS(e,l)}const FS=()=>({scrollX:nn(0),scrollY:nn(0),scrollXProgress:nn(0),scrollYProgress:nn(0)}),La=e=>e?!e.current:!1;function OS({container:e,target:n,...i}={}){const o=Bs(FS),l=y.useRef(null),d=y.useRef(!1),u=y.useCallback(()=>(l.current=_S((m,{x:f,y:h})=>{o.scrollX.set(f.current),o.scrollXProgress.set(f.progress),o.scrollY.set(h.current),o.scrollYProgress.set(h.progress)},{...i,container:e?.current||void 0,target:n?.current||void 0}),()=>{l.current?.()}),[e,n,JSON.stringify(i.offset)]);return Al(()=>{if(d.current=!1,La(e)||La(n)){d.current=!0;return}else return u()},[u]),y.useEffect(()=>{if(d.current)return Zi(!La(e)),Zi(!La(n)),u()},[u]),o}function R0(e){const n=Bs(()=>nn(e)),{isStatic:i}=y.useContext(fo);if(i){const[,o]=y.useState(e);y.useEffect(()=>n.on("change",o),[])}return n}function I0(e,n){const i=R0(n()),o=()=>i.set(n());return o(),Al(()=>{const l=()=>Ee.preRender(o,!1,!0),d=e.map(u=>u.on("change",l));return()=>{d.forEach(u=>u()),on(o)}}),i}function VS(e){Hi.current=[],e();const n=I0(Hi.current,e);return Hi.current=void 0,n}function zS(e,n,i,o){if(typeof e=="function")return VS(e);const l=IP(n,i,o);return Array.isArray(e)?$x(e,l):$x([e],([d])=>l(d))}function $x(e,n){const i=Bs(()=>[]);return I0(e,()=>{i.length=0;const o=e.length;for(let l=0;l<o;l++)i[l]=e[l].get();return n(i)})}function $S(e,n={}){const{isStatic:i}=y.useContext(fo),o=()=>dt(e)?e.get():e;if(i)return zS(o);const l=R0(o());return y.useInsertionEffect(()=>MP(l,e,n),[l,JSON.stringify(n)]),l}/** 60 * @license lucide-react v0.487.0 - ISC 61 * 62 * This source code is licensed under the ISC license. 63 * See the LICENSE file in the root directory of this source tree. 64 */const BS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),US=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,i,o)=>o?o.toUpperCase():i.toLowerCase()),Bx=e=>{const n=US(e);return n.charAt(0).toUpperCase()+n.slice(1)},M0=(...e)=>e.filter((n,i,o)=>!!n&&n.trim()!==""&&o.indexOf(n)===i).join(" ").trim();/** 65 * @license lucide-react v0.487.0 - ISC 66 * 67 * This source code is licensed under the ISC license. 68 * See the LICENSE file in the root directory of this source tree. 69 */var HS={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"};/** 70 * @license lucide-react v0.487.0 - ISC 71 * 72 * This source code is licensed under the ISC license. 73 * See the LICENSE file in the root directory of this source tree. 74 */const GS=y.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:l="",children:d,iconNode:u,...m},f)=>y.createElement("svg",{ref:f,...HS,width:n,height:n,stroke:e,strokeWidth:o?Number(i)*24/Number(n):i,className:M0("lucide",l),...m},[...u.map(([h,x])=>y.createElement(h,x)),...Array.isArray(d)?d:[d]]));/** 75 * @license lucide-react v0.487.0 - ISC 76 * 77 * This source code is licensed under the ISC license. 78 * See the LICENSE file in the root directory of this source tree. 79 */const Y=(e,n)=>{const i=y.forwardRef(({className:o,...l},d)=>y.createElement(GS,{ref:d,iconNode:n,className:M0(`lucide-${BS(Bx(e))}`,`lucide-${e}`,o),...l}));return i.displayName=Bx(e),i};/** 80 * @license lucide-react v0.487.0 - ISC 81 * 82 * This source code is licensed under the ISC license. 83 * See the LICENSE file in the root directory of this source tree. 84 */const qS=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ll=Y("arrow-left",qS);/** 85 * @license lucide-react v0.487.0 - ISC 86 * 87 * This source code is licensed under the ISC license. 88 * See the LICENSE file in the root directory of this source tree. 89 */const KS=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ut=Y("arrow-right",KS);/** 90 * @license lucide-react v0.487.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const YS=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],XS=Y("arrow-up",YS);/** 95 * @license lucide-react v0.487.0 - ISC 96 * 97 * This source code is licensed under the ISC license. 98 * See the LICENSE file in the root directory of this source tree. 99 */const QS=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Wn=Y("award",QS);/** 100 * @license lucide-react v0.487.0 - ISC 101 * 102 * This source code is licensed under the ISC license. 103 * See the LICENSE file in the root directory of this source tree. 104 */const ZS=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Ux=Y("bot",ZS);/** 105 * @license lucide-react v0.487.0 - ISC 106 * 107 * This source code is licensed under the ISC license. 108 * See the LICENSE file in the root directory of this source tree. 109 */const JS=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],lu=Y("brain",JS);/** 110 * @license lucide-react v0.487.0 - ISC 111 * 112 * This source code is licensed under the ISC license. 113 * See the LICENSE file in the root directory of this source tree. 114 */const eE=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}
114],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],tE=Y("bug",eE);/** 115 * @license lucide-react v0.487.0 - ISC 116 * 117 * This source code is licensed under the ISC license. 118 * See the LICENSE file in the root directory of this source tree. 119 */const nE=[["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"}]],mr=Y("calendar",nE);/** 120 * @license lucide-react v0.487.0 - ISC 121 * 122 * This source code is licensed under the ISC license. 123 * See the LICENSE file in the root directory of this source tree. 124 */const rE=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],sE=Y("chart-column",rE);/** 125 * @license lucide-react v0.487.0 - ISC 126 * 127 * This source code is licensed under the ISC license. 128 * See the LICENSE file in the root directory of this source tree. 129 */const iE=[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
129],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]],Xu=Y("chart-no-axes-column-increasing",iE);/** 130 * @license lucide-react v0.487.0 - ISC 131 * 132 * This source code is licensed under the ISC license. 133 * See the LICENSE file in the root directory of this source tree. 134 */const oE=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ve=Y("check",oE);/** 135 * @license lucide-react v0.487.0 - ISC 136 * 137 * This source code is licensed under the ISC license. 138 * See the LICENSE file in the root directory of this source tree. 139 */const aE=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ul=Y("chevron-down",aE);/** 140 * @license lucide-react v0.487.0 - ISC 141 * 142 * This source code is licensed under the ISC license. 143 * See the LICENSE file in the root directory of this source tree. 144 */const lE=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],cE=Y("circle-check-big",lE);/** 145 * @license lucide-react v0.487.0 - ISC 146 * 147 * This source code is licensed under the ISC license. 148 * See the LICENSE file in the root directory of this source tree. 149 */const dE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ml=Y("circle-check",dE);/** 150 * @license lucide-react v0.487.0 - ISC 151 * 152 * This source code is licensed under the ISC license. 153 * See the LICENSE file in the root directory of this source tree. 154 */const uE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],mE=Y("circle-x",uE);/** 155 * @license lucide-react v0.487.0 - ISC 156 * 157 * This source code is licensed under the ISC license. 158 * See the LICENSE file in the root directory of this source tree. 159 */const pE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],$r=Y("clock",pE);/** 160 * @license lucide-react v0.487.0 - ISC 161 * 162 * This source code is licensed under the ISC license. 163 * See the LICENSE file in the root directory of this source tree. 164 */const fE=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],hE=Y("cloud",fE);/** 165 * @license lucide-react v0.487.0 - ISC 166 * 167 * This source code is licensed under the ISC license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const gE=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],D0=Y("code-xml",gE);/** 170 * @license lucide-react v0.487.0 - ISC 171 * 172 * This source code is licensed under the ISC license. 173 * See the LICENSE file in the root directory of this source tree. 174 */const xE=[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]],zr=Y("code",xE);/** 175 * @license lucide-react v0.487.0 - ISC 176 * 177 * This source code is licensed under the ISC license. 178 * See the LICENSE file in the root directory of this source tree. 179 */const yE=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
179],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],L0=Y("cpu",yE);/** 180 * @license lucide-react v0.487.0 - ISC 181 * 182 * This source code is licensed under the ISC license. 183 * See the LICENSE file in the root directory of this source tree. 184 */const vE=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Hx=Y("credit-card",vE);/** 185 * @license lucide-react v0.487.0 - ISC 186 * 187 * This source code is licensed under the ISC license. 188 * See the LICENSE file in the root directory of this source tree. 189 */const wE=[["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"}]],Qu=Y("database",wE);/** 190 * @license lucide-react v0.487.0 - ISC 191 * 192 * This source code is licensed under the ISC license. 193 * See the LICENSE file in the root directory of this source tree. 194 */const bE=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],Gx=Y("dollar-sign",bE);/** 195 * @license lucide-react v0.487.0 - ISC 196 * 197 * This source code is licensed under the ISC license. 198 * See the LICENSE file in the root directory of this source tree. 199 */const jE=[["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"}]],NE=Y("download",jE);/** 200 * @license lucide-react v0.487.0 - ISC 201 * 202 * This source code is licensed under the ISC license. 203 * See the LICENSE file in the root directory of this source tree. 204 */const PE=[["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"}]],hn=Y("external-link",PE);/** 205 * @license lucide-react v0.487.0 - ISC 206 * 207 * This source code is licensed under the ISC license. 208 * See the LICENSE file in the root directory of this source tree. 209 */const kE=[["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"}]],CE=Y("file-text",kE);/** 210 * @license lucide-react v0.487.0 - ISC 211 * 212 * This source code is licensed under the ISC license. 213 * See the LICENSE file in the root directory of this source tree. 214 */const SE=[["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"}]],Os=Y("globe",SE);/** 215 * @license lucide-react v0.487.0 - ISC 216 * 217 * This source code is licensed under the ISC license. 218 * See the LICENSE file in the root directory of this source tree. 219 */const EE=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],AE=Y("graduation-cap",EE);/** 220 * @license lucide-react v0.487.0 - ISC 221 * 222 * This source code is licensed under the ISC license. 223 * See the LICENSE file in the root directory of this source tree. 224 */const TE=[["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"}]],RE=Y("grid-3x3",TE);/** 225 * @license lucide-react v0.487.0 - ISC 226 * 227 * This source code is licensed under the ISC license. 228 * See the LICENSE file in the root directory of this source tree. 229 */const IE=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],ME=Y("grip-vertical",IE);/** 230 * @license lucide-react v0.487.0 - ISC 231 * 232 * This source code is licensed under the ISC license. 233 * See the LICENSE file in the root directory of this source tree. 234 */const DE=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Br=Y("headphones",DE);/** 235 * @license lucide-react v0.487.0 - ISC 236 * 237 * This source code is licensed under the ISC license. 238 * See the LICENSE file in the root directory of this source tree. 239 */const LE=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],WE=Y("image",LE);/** 240 * @license lucide-react v0.487.0 - ISC 241 * 242 * This source code is licensed under the ISC license. 243 * See the LICENSE file in the root directory of this source tree. 244 */const _E=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Wl=Y("layers",_E);/** 245 * @license lucide-react v0.487.0 - ISC 246 * 247 * This source code is licensed under the ISC license. 248 * See the LICENSE file in the root directory of this source tree. 249 */const FE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],OE=Y("life-buoy",FE);/** 250 * @license lucide-react v0.487.0 - ISC 251 * 252 * This source code is licensed under the ISC license. 253 * See the LICENSE file in the root directory of this source tree. 254 */const VE=[["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"}]],qx=Y("linkedin",VE);/** 255 * @license lucide-react v0.487.0 - ISC 256 * 257 * This source code is licensed under the ISC license. 258 * See the LICENSE file in the root directory of this source tree. 259 */const zE=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],$E=Y("list",zE);/** 260 * @license lucide-react v0.487.0 - ISC 261 * 262 * This source code is licensed under the ISC license. 263 * See the LICENSE file in the root directory of this source tree. 264 */const BE=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Jm=Y("loader-circle",BE);/** 265 * @license lucide-react v0.487.0 - ISC 266 * 267 * This source code is licensed under the ISC license. 268 * See the LICENSE file in the root directory of this source tree. 269 */const UE=[["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"}]],pl=Y("lock",UE);/** 270 * @license lucide-react v0.487.0 - ISC 271 * 272 * This source code is licensed under the ISC license. 273 * See the LICENSE file in the root directory of this source tree. 274 */const HE=[["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"}]],Zu=Y("mail",HE);/** 275 * @license lucide-react v0.487.0 - ISC 276 * 277 * This source code is licensed under the ISC license. 278 * See the LICENSE file in the root directory of this source tree. 279 */const GE=[["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"}]],_l=Y("map-pin",GE);/** 280 * @license lucide-react v0.487.0 - ISC 281 * 282 * This source code is licensed under the ISC license. 283 * See the LICENSE file in the root directory of this source tree. 284 */const qE=[["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"}]],KE=Y("menu",qE);/** 285 * @license lucide-react v0.487.0 - ISC 286 * 287 * This source code is licensed under the ISC license. 288 * See the LICENSE file in the root directory of this source tree. 289 */const YE=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],Kx=Y("message-circle",YE);/** 290 * @license lucide-react v0.487.0 - ISC 291 * 292 * This source code is licensed under the ISC license. 293 * See the LICENSE file in the root directory of this source tree. 294 */const XE=[["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"}]],QE=Y("message-square",XE);/** 295 * @license lucide-react v0.487.0 - ISC 296 * 297 * This source code is licensed under the ISC license. 298 * See the LICENSE file in the root directory of this source tree. 299 */const ZE=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],JE=Y("moon",ZE);/** 300 * @license lucide-react v0.487.0 - ISC 301 * 302 * This source code is licensed under the ISC license. 303 * See the LICENSE file in the root directory of this source tree. 304 */const e4=[["path",{d:"m18 8 4 4-4 4",key:"1ak13k"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}]],t4=Y("move-horizontal",e4);/** 305 * @license lucide-react v0.487.0 - ISC 306 * 307 * This source code is licensed under the ISC license. 308 * See the LICENSE file in the root directory of this source tree. 309 */const n4=[["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"}]],Yx=Y("package",n4);/** 310 * @license lucide-react v0.487.0 - ISC 311 * 312 * This source code is licensed under the ISC license. 313 * See the LICENSE file in the root directory of this source tree. 314 */const r4=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],fl=Y("palette",r4);/** 315 * @license lucide-react v0.487.0 - ISC 316 * 317 * This source code is licensed under the ISC license. 318 * See the LICENSE file in the root directory of this source tree. 319 */const s4=[["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"}]],i4=Y("phone",s4);/** 320 * @license lucide-react v0.487.0 - ISC 321 * 322 * This source code is licensed under the ISC license. 323 * See the LICENSE file in the root directory of this source tree. 324 */const o4=[["path",{d:"M12 22v-5",key:"1ega77"}
324],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]],hl=Y("plug",o4);/** 325 * @license lucide-react v0.487.0 - ISC 326 * 327 * This source code is licensed under the ISC license. 328 * See the LICENSE file in the root directory of this source tree. 329 */const a4=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],gl=Y("refresh-cw",a4);/** 330 * @license lucide-react v0.487.0 - ISC 331 * 332 * This source code is licensed under the ISC license. 333 * See the LICENSE file in the root directory of this source tree. 334 */const l4=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],Mn=Y("rocket",l4);/** 335 * @license lucide-react v0.487.0 - ISC 336 * 337 * This source code is licensed under the ISC license. 338 * See the LICENSE file in the root directory of this source tree. 339 */const c4=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],W0=Y("search",c4);/** 340 * @license lucide-react v0.487.0 - ISC 341 * 342 * This source code is licensed under the ISC license. 343 * See the LICENSE file in the root directory of this source tree. 344 */const d4=[["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"}]],u4=Y("send",d4);/** 345 * @license lucide-react v0.487.0 - ISC 346 * 347 * This source code is licensed under the ISC license. 348 * See the LICENSE file in the root directory of this source tree. 349 */const m4=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],xl=Y("settings",m4);/** 350 * @license lucide-react v0.487.0 - ISC 351 * 352 * This source code is licensed under the ISC license. 353 * See the LICENSE file in the root directory of this source tree. 354 */const p4=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],_0=Y("share-2",p4);/** 355 * @license lucide-react v0.487.0 - ISC 356 * 357 * This source code is licensed under the ISC license. 358 * See the LICENSE file in the root directory of this source tree. 359 */const f4=[["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"}]],Rt=Y("shield",f4);/** 360 * @license lucide-react v0.487.0 - ISC 361 * 362 * This source code is licensed under the ISC license. 363 * See the LICENSE file in the root directory of this source tree. 364 */const h4=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],Yi=Y("shopping-cart",h4);/** 365 * @license lucide-react v0.487.0 - ISC 366 * 367 * This source code is licensed under the ISC license. 368 * See the LICENSE file in the root directory of this source tree. 369 */const g4=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Ju=Y("smartphone",g4);/** 370 * @license lucide-react v0.487.0 - ISC 371 * 372 * This source code is licensed under the ISC license. 373 * See the LICENSE file in the root directory of this source tree. 374 */const x4=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],cr=Y("sparkles",x4);/** 375 * @license lucide-react v0.487.0 - ISC 376 * 377 * This source code is licensed under the ISC license. 378 * See the LICENSE file in the root directory of this source tree. 379 */const y4=[["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"}]],et=Y("star",y4);
379/** 380 * @license lucide-react v0.487.0 - ISC 381 * 382 * This source code is licensed under the ISC license. 383 * See the LICENSE file in the root directory of this source tree. 384 */const v4=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],w4=Y("sun",v4);/** 385 * @license lucide-react v0.487.0 - ISC 386 * 387 * This source code is licensed under the ISC license. 388 * See the LICENSE file in the root directory of this source tree. 389 */const b4=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],dr=Y("tag",b4);/** 390 * @license lucide-react v0.487.0 - ISC 391 * 392 * This source code is licensed under the ISC license. 393 * See the LICENSE file in the root directory of this source tree. 394 */const j4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Xx=Y("target",j4);/** 395 * @license lucide-react v0.487.0 - ISC 396 * 397 * This source code is licensed under the ISC license. 398 * See the LICENSE file in the root directory of this source tree. 399 */const N4=[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]],P4=Y("thumbs-up",N4);/** 400 * @license lucide-react v0.487.0 - ISC 401 * 402 * This source code is licensed under the ISC license. 403 * See the LICENSE file in the root directory of this source tree. 404 */const k4=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],C4=Y("timer",k4);/** 405 * @license lucide-react v0.487.0 - ISC 406 * 407 * This source code is licensed under the ISC license. 408 * See the LICENSE file in the root directory of this source tree. 409 */const S4=[["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"}]],Ur=Y("trending-up",S4);/** 410 * @license lucide-react v0.487.0 - ISC 411 * 412 * This source code is licensed under the ISC license. 413 * See the LICENSE file in the root directory of this source tree. 414 */const E4=[["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"}]],A4=Y("triangle-alert",E4);/** 415 * @license lucide-react v0.487.0 - ISC 416 * 417 * This source code is licensed under the ISC license. 418 * See the LICENSE file in the root directory of this source tree. 419 */const T4=[["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"}]],ep=Y("user",T4);/** 420 * @license lucide-react v0.487.0 - ISC 421 * 422 * This source code is licensed under the ISC license. 423 * See the LICENSE file in the root directory of this source tree. 424 */const R4=[["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"}]],so=Y("users",R4);/** 425 * @license lucide-react v0.487.0 - ISC 426 * 427 * This source code is licensed under the ISC license. 428 * See the LICENSE file in the root directory of this source tree. 429 */const I4=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],M4=Y("video",I4);/** 430 * @license lucide-react v0.487.0 - ISC 431 * 432 * This source code is licensed under the ISC license. 433 * See the LICENSE file in the root directory of this source tree. 434 */const D4=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],L4=Y("wand-sparkles",D4);/** 435 * @license lucide-react v0.487.0 - ISC 436 * 437 * This source code is licensed under the ISC license. 438 * See the LICENSE file in the root directory of this source tree. 439 */const W4=[["path",{d:"M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2",key:"q3hayz"}],["path",{d:"m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06",key:"1go1hn"}],["path",{d:"m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8",key:"qlwsc0"}]],Qx=Y("webhook",W4);/** 440 * @license lucide-react v0.487.0 - ISC 441 * 442 * This source code is licensed under the ISC license. 443 * See the LICENSE file in the root directory of this source tree. 444 */const _4=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],yl=Y("wrench",_4);/** 445 * @license lucide-react v0.487.0 - ISC 446 * 447 * This source code is licensed under the ISC license. 448 * See the LICENSE file in the root directory of this source tree. 449 */const F4=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
449],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],F0=Y("x",F4);/** 450 * @license lucide-react v0.487.0 - ISC 451 * 452 * This source code is licensed under the ISC license. 453 * See the LICENSE file in the root directory of this source tree. 454 */const O4=[["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"}]],rn=Y("zap",O4);function Zx(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function go(...e){return n=>{let i=!1;const o=e.map(l=>{const d=Zx(l,n);return!i&&typeof d=="function"&&(i=!0),d});if(i)return()=>{for(let l=0;l<o.length;l++){const d=o[l];typeof d=="function"?d():Zx(e[l],null)}}}}function an(...e){return y.useCallback(go(...e),e)}var V4=Symbol.for("react.lazy"),vl=um[" use ".trim().toString()];function z4(e){return typeof e=="object"&&e!==null&&"then"in e}function O0(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===V4&&"_payload"in e&&z4(e._payload)}function V0(e){const n=$4(e),i=y.forwardRef((o,l)=>{let{children:d,...u}=o;O0(d)&&typeof vl=="function"&&(d=vl(d._payload));const m=y.Children.toArray(d),f=m.find(U4);if(f){const h=f.props.children,x=m.map(v=>v===f?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:v);return r.jsx(n,{...u,ref:l,children:y.isValidElement(h)?y.cloneElement(h,void 0,x):null})}return r.jsx(n,{...u,ref:l,children:d})});return i.displayName=`${e}.Slot`,i}var z0=V0("Slot");function $4(e){const n=y.forwardRef((i,o)=>{let{children:l,...d}=i;
vendor: 15,707 bytes, line 454
454if(O0(l)&&typeof vl=="function"&&(l=vl(l._payload)),y.isValidElement(l)){const u=G4(l),m=H4(d,l.props);return l.type!==y.Fragment&&(m.ref=o?go(o,u):u),y.cloneElement(l,m)}return y.Children.count(l)>1?y.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var B4=Symbol("radix.slottable");function U4(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===B4}function H4(e,n){const i={...n};for(const o in n){const l=e[o],d=n[o];/^on[A-Z]/.test(o)?l&&d?i[o]=(...m)=>{const f=d(...m);return l(...m),f}:l&&(i[o]=l):o==="style"?i[o]={...l,...d}:o==="className"&&(i[o]=[l,d].filter(Boolean).join(" "))}return{...e,...i}}function G4(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}function $0(e){var n,i,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(n=0;n<l;n++)e[n]&&(i=$0(e[n]))&&(o&&(o+=" "),o+=i)}else for(i in e)e[i]&&(o&&(o+=" "),o+=i);return o}function B0(){for(var e,n,i=0,o="",l=arguments.length;i<l;i++)(e=arguments[i])&&(n=$0(e))&&(o&&(o+=" "),o+=n);return o}const Jx=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ey=B0,U0=(e,n)=>i=>{var o;if(n?.variants==null)return ey(e,i?.class,i?.className);const{variants:l,defaultVariants:d}=n,u=Object.keys(l).map(h=>{const x=i?.[h],v=d?.[h];if(x===null)return null;const b=Jx(x)||Jx(v);return l[h][b]}),m=i&&Object.entries(i).reduce((h,x)=>{let[v,b]=x;return b===void 0||(h[v]=b),h},{}),f=n==null||(o=n.compoundVariants)===null||o===void 0?void 0:o.reduce((h,x)=>{let{class:v,className:b,...k}=x;return Object.entries(k).every(C=>{let[w,j]=C;return Array.isArray(j)?j.includes({...d,...m}[w]):{...d,...m}[w]===j})?[...h,v,b]:h},[]);return ey(e,u,f,i?.class,i?.className)},q4=(e,n)=>{const i=new Array(e.length+n.length);for(let o=0;o<e.length;o++)i[o]=e[o];for(let o=0;o<n.length;o++)i[e.length+o]=n[o];return i},K4=(e,n)=>({classGroupId:e,validator:n}),H0=(e=new Map,n=null,i)=>({nextPart:e,validators:n,classGroupId:i}),wl="-",ty=[],Y4="arbitrary..",X4=e=>{const n=Z4(e),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return Q4(u);const m=u.split(wl),f=m[0]===""&&m.length>1?1:0;return G0(m,f,n)},getConflictingClassGroupIds:(u,m)=>{if(m){const f=o[u],h=i[u];return f?h?q4(h,f):f:h||ty}return i[u]||ty}}},G0=(e,n,i)=>{if(e.length-n===0)return i.classGroupId;const l=e[n],d=i.nextPart.get(l);if(d){const h=G0(e,n+1,d);if(h)return h}const u=i.validators;if(u===null)return;const m=n===0?e.join(wl):e.slice(n).join(wl),f=u.length;for(let h=0;h<f;h++){const x=u[h];if(x.validator(m))return x.classGroupId}},Q4=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),i=n.indexOf(":"),o=n.slice(0,i);return o?Y4+o:void 0})(),Z4=e=>{const{theme:n,classGroups:i}=e;return J4(i,n)},J4=(e,n)=>{const i=H0();for(const o in e){const l=e[o];tp(l,i,o,n)}return i},tp=(e,n,i,o)=>{const l=e.length;for(let d=0;d<l;d++){const u=e[d];e5(u,n,i,o)}},e5=(e,n,i,o)=>{if(typeof e=="string"){t5(e,n,i);return}if(typeof e=="function"){n5(e,n,i,o);return}r5(e,n,i,o)},t5=(e,n,i)=>{const o=e===""?n:q0(n,e);o.classGroupId=i},n5=(e,n,i,o)=>{if(s5(e)){tp(e(o),n,i,o);return}n.validators===null&&(n.validators=[]),n.validators.push(K4(i,e))},r5=(e,n,i,o)=>{const l=Object.entries(e),d=l.length;for(let u=0;u<d;u++){const[m,f]=l[u];tp(f,q0(n,m),i,o)}},q0=(e,n)=>{let i=e;const o=n.split(wl),l=o.length;for(let d=0;d<l;d++){const u=o[d];let m=i.nextPart.get(u);m||(m=H0(),i.nextPart.set(u,m)),i=m}return i},s5=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,i5=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,i=Object.create(null),o=Object.create(null);const l=(d,u)=>{i[d]=u,n++,n>e&&(n=0,o=i,i=Object.create(null))};return{get(d){let u=i[d];if(u!==void 0)return u;if((u=o[d])!==void 0)return l(d,u),u},set(d,u){d in i?i[d]=u:l(d,u)}}},em="!",ny=":",o5=[],ry=(e,n,i,o,l)=>({modifiers:e,hasImportantModifier:n,baseClassName:i,maybePostfixModifierPosition:o,isExternal:l}),a5=e=>{const{prefix:n,experimentalParseClassName:i}=e;let o=l=>{const d=[];let u=0,m=0,f=0,h;const x=l.length;for(let w=0;w<x;w++){const j=l[w];if(u===0&&m===0){if(j===ny){d.push(l.slice(f,w)),f=w+1;continue}if(j==="/"){h=w;continue}}j==="["?u++:j==="]"?u--:j==="("?m++:j===")"&&m--}const v=d.length===0?l:l.slice(f);let b=v,k=!1;v.endsWith(em)?(b=v.slice(0,-1),k=!0):v.startsWith(em)&&(b=v.slice(1),k=!0);const C=h&&h>f?h-f:void 0;return ry(d,k,b,C)};if(n){const l=n+ny,d=o;o=u=>u.startsWith(l)?d(u.slice(l.length)):ry(o5,!1,u,void 0,!0)}if(i){const l=o;o=d=>i({className:d,parseClassName:l})}return o},l5=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((i,o)=>{n.set(i,1e6+o)}),i=>{const o=[];let l=[];for(let d=0;d<i.length;d++){const u=i[d],m=u[0]==="[",f=n.has(u);m||f?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(u)):l.push(u)}return l.length>0&&(l.sort(),o.push(...l)),o}},c5=e=>({cache:i5(e.cacheSize),parseClassName:a5(e),sortModifiers:l5(e),...X4(e)}),d5=/\s+/,u5=(e,n)=>{const{parseClassName:i,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:d}=n,u=[],m=e.trim().split(d5);let f="";for(let h=m.length-1;h>=0;h-=1){const x=m[h],{isExternal:v,modifiers:b,hasImportantModifier:k,baseClassName:C,maybePostfixModifierPosition:w}=i(x);if(v){f=x+(f.length>0?" "+f:f);continue}let j=!!w,P=o(j?C.substring(0,w):C);if(!P){if(!j){f=x+(f.length>0?" "+f:f);continue}if(P=o(C),!P){f=x+(f.length>0?" "+f:f);continue}j=!1}const S=b.length===0?"":b.length===1?b[0]:d(b).join(":"),T=k?S+em:S,O=T+P;if(u.indexOf(O)>-1)continue;u.push(O);const M=l(P,j);for(let U=0;U<M.length;++U){const z=M[U];u.push(T+z)}f=x+(f.length>0?" "+f:f)}return f},m5=(...e)=>{let n=0,i,o,l="";for(;n<e.length;)(i=e[n++])&&(o=K0(i))&&(l&&(l+=" "),l+=o);return l},K0=e=>{if(typeof e=="string")return e;let n,i="";for(let o=0;o<e.length;o++)e[o]&&(n=K0(e[o]))&&(i&&(i+=" "),i+=n);return i},p5=(e,...n)=>{let i,o,l,d;const u=f=>{const h=n.reduce((x,v)=>v(x),e());return i=c5(h),o=i.cache.get,l=i.cache.set,d=m,m(f)},m=f=>{const h=o(f);if(h)return h;const x=u5(f,i);return l(f,x),x};return d=u,(...f)=>d(m5(...f))},f5=[],rt=e=>{const n=i=>i[e]||f5;return n.isThemeGetter=!0,n},Y0=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,X0=/^\((?:(\w[\w-]*):)?(.+)\)$/i,h5=/^\d+\/\d+$/,g5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,x5=/\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$/,y5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,v5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,w5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ps=e=>h5.test(e),ye=e=>!!e&&!Number.isNaN(Number(e)),or=e=>!!e&&Number.isInteger(Number(e)),cu=e=>e.endsWith("%")&&ye(e.slice(0,-1)),In=e=>g5.test(e),b5=()=>!0,j5=e=>x5.test(e)&&!y5.test(e),Q0=()=>!1,N5=e=>v5.test(e),P5=e=>w5.test(e),k5=e=>!te(e)&&!ne(e),C5=e=>qs(e,ew,Q0),te=e=>Y0.test(e),Mr=e=>qs(e,tw,j5),du=e=>qs(e,R5,ye),sy=e=>qs(e,Z0,Q0),S5=e=>qs(e,J0,P5),Wa=e=>qs(e,nw,N5),ne=e=>X0.test(e),Fi=e=>Ks(e,tw),E5=e=>Ks(e,I5),iy=e=>Ks(e,Z0),A5=e=>Ks(e,ew),T5=e=>Ks(e,J0),_a=e=>Ks(e,nw,!0),qs=(e,n,i)=>{const o=Y0.exec(e);return o?o[1]?n(o[1]):i(o[2]):!1},Ks=(e,n,i=!1)=>{const o=X0.exec(e);return o?o[1]?n(o[1]):i:!1},Z0=e=>e==="position"||e==="percentage",J0=e=>e==="image"||e==="url",ew=e=>e==="length"||e==="size"||e==="bg-size",tw=e=>e==="length",R5=e=>e==="number",I5=e=>e==="family-name",nw=e=>e==="shadow",M5=()=>{const e=rt("color"),n=rt("font"),i=rt("text"),o=rt("font-weight"),l=rt("tracking"),d=rt("leading"),u=rt("breakpoint"),m=rt("container"),f=rt("spacing"),h=rt("radius"),x=rt("shadow"),v=rt("inset-shadow"),b=rt("text-shadow"),k=rt("drop-shadow"),C=rt("blur"),w=rt("perspective"),j=rt("aspect"),P=rt("ease"),S=rt("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...O(),ne,te],U=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],V=()=>[ne,te,f],oe=()=>[Ps,"full","auto",...V()],he=()=>[or,"none","subgrid",ne,te],Re=()=>["auto",{span:["full",or,ne,te]},or,ne,te],Ge=()=>[or,"auto",ne,te],qe=()=>["auto","min","max","fr",ne,te],Be=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],_e=()=>["start","end","center","stretch","center-safe","end-safe"],Ie=()=>["auto",...V()],me=()=>[Ps,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],F=()=>[e,ne,te],re=()=>[...O(),iy,sy,{position:[ne,te]}],K=()=>["no-repeat",{repeat:["","x","y","space","round"]}],D=()=>["auto","cover","contain",A5,C5,{size:[ne,te]}],$=()=>[cu,Fi,Mr],le=()=>["","none","full",h,ne,te],ue=()=>["",ye,Fi,Mr],we=()=>["solid","dashed","dotted","double"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[ye,cu,iy,sy],ke=()=>["","none",C,ne,te],Ae=()=>["none",ye,ne,te],st=()=>["none",ye,ne,te],Vn=()=>[ye,ne,te],yr=()=>[Ps,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[In],breakpoint:[In],color:[b5],container:[In],"drop-shadow":[In],ease:["in","out","in-out"],font:[k5],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[In],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[In],shadow:[In],spacing:["px",ye],text:[In],"text-shadow":[In],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ps,te,ne,j]}],container:["container"],columns:[{columns:[ye,te,ne,m]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:M()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:oe()}],"inset-x":[{"inset-x":oe()}],"inset-y":[{"inset-y":oe()}],start:[{start:oe()}],end:[{end:oe()}],top:[{top:oe()}],right:[{right:oe()}],bottom:[{bottom:oe()}],left:[{left:oe()}],visibility:["visible","invisible","collapse"],z:[{z:[or,"auto",ne,te]}],basis:[{basis:[Ps,"full","auto",m,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ye,Ps,"auto","initial","none",te]}],grow:[{grow:["",ye,ne,te]}],shrink:[{shrink:["",ye,ne,te]}],order:[{order:[or,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":he()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":Ge()}],"col-end":[{"col-end":Ge()}],"grid-rows":[{"grid-rows":he()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":Ge()}],"row-end":[{"row-end":Ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":qe()}],"auto-rows":[{"auto-rows":qe()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Be(),"normal"]}],"justify-items":[{"justify-items":[..._e(),"normal"]}],"justify-self":[{"justify-self":["auto",..._e()]}],"align-content":[{content:["normal",...Be()]}],"align-items":[{items:[..._e(),{baseline:["","last"]}]}],"align-self":[{self:["auto",..._e(),{baseline:["","last"]}]}],"place-content":[{"place-content":Be()}],"place-items":[{"place-items":[..._e(),"baseline"]}],"place-self":[{"place-self":["auto",..._e()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:Ie()}],mx:[{mx:Ie()}],my:[{my:Ie()}],ms:[{ms:Ie()}],me:[{me:Ie()}],mt:[{mt:Ie()}],mr:[{mr:Ie()}],mb:[{mb:Ie()}],ml:[{ml:Ie()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:me()}],w:[{w:[m,"screen",...me()]}],"min-w":[{"min-w":[m,"screen","none",...me()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[u]},...me()]}],h:[{h:["screen","lh",...me()]}],"min-h":[{"min-h":["screen","lh","none",...me()]}],"max-h":[{"max-h":["screen","lh",...me()]}],"font-size":[{text:["base",i,Fi,Mr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,ne,du]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",cu,te]}],"font-family":[{font:[E5,te,n]}],"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:[l,ne,te]}],"line-clamp":[{"line-clamp":[ye,"none",ne,du]}],leading:[{leading:[d,...V()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[ye,"from-font","auto",ne,Mr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[ye,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],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",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:K()}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},or,ne,te],radial:["",ne,te],conic:[or,ne,te]},T5,S5]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:$()}
vendor: 8,719 bytes, line 454
454],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"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:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ye,ne,te]}],"outline-w":[{outline:["",ye,Fi,Mr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",x,_a,Wa]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",v,_a,Wa]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[ye,Mr]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",b,_a,Wa]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[ye,ne,te]}],"mix-blend":[{"mix-blend":[...be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":be()}],"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":[ye]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[ye]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:K()}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:ke()}],brightness:[{brightness:[ye,ne,te]}],contrast:[{contrast:[ye,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",k,_a,Wa]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",ye,ne,te]}],"hue-rotate":[{"hue-rotate":[ye,ne,te]}],invert:[{invert:["",ye,ne,te]}],saturate:[{saturate:[ye,ne,te]}],sepia:[{sepia:["",ye,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":ke()}],"backdrop-brightness":[{"backdrop-brightness":[ye,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[ye,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ye,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ye,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",ye,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[ye,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[ye,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",ye,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ye,"initial",ne,te]}],ease:[{ease:["linear","initial",P,ne,te]}],delay:[{delay:[ye,ne,te]}],animate:[{animate:["none",S,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,ne,te]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:st()}],"scale-x":[{"scale-x":st()}],"scale-y":[{"scale-y":st()}],"scale-z":[{"scale-z":st()}],"scale-3d":["scale-3d"],skew:[{skew:Vn()}],"skew-x":[{"skew-x":Vn()}],"skew-y":[{"skew-y":Vn()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yr()}],"translate-x":[{"translate-x":yr()}],"translate-y":[{"translate-y":yr()}],"translate-z":[{"translate-z":yr()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"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",ne,te]}],"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":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,510 bytes, line 454
454],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,te]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[ye,Fi,Mr,du]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},D5=p5(M5);function ht(...e){return D5(B0(e))}const L5=U0("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9 rounded-md"}},defaultVariants:{variant:"default",size:"default"}});function ie({className:e,variant:n,size:i,asChild:o=!1,...l}){const d=o?z0:"button";return r.jsx(d,{"data-slot":"button",className:ht(L5({variant:n,size:i,className:e})),...l})}const bl="G-KCNXYS8502",W5="G-5CZLWM9X54",_5=()=>
454{if(typeof window>"u")return;const e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${bl}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",bl,{page_path:window.location.pathname,send_page_view:!0}),window.gtag("config",W5)},F5=e=>{typeof window.gtag<"u"&&window.gtag("config",bl,{page_path:e})},je=(e,n,i,o)=>{typeof window.gtag<"u"&&window.gtag("event",e,{event_category:n,event_label:i,value:o})},Dn={clickNavLink:e=>{je("click","Navigation",`Nav Link: ${e}`)},clickServiceDropdown:()=>{je("click","Navigation","Services Dropdown Opened")},viewService:e=>{je("view","Service",`Service Viewed: ${e}`)},clickServiceCard:(e,n)=>{je("click","Service",`Service Card: ${e}`,void 0),n&&je("view_mode","Service",`View Mode: ${n}`)},toggleViewMode:e=>{je("toggle","UI",`View Mode Changed: ${e}`)},viewPricing:(e,n,i)=>{je("view_item","Ecommerce",`${e} - ${n}`,i)},clickGetStarted:(e,n,i)=>{je("add_to_cart","Ecommerce",`${e} - ${n}`,i)},openEmailDialog:e=>{je("begin_checkout","Ecommerce",`Email Dialog: ${e}`)},submitEmail:(e,n)=>{je("checkout_progress","Ecommerce",`Email Submitted: ${e}`,n)},completePurchase:(e,n)=>{je("purchase","Ecommerce",e,n),window.gtag("event","conversion",{send_to:`${bl}/purchase`,value:n,currency:"USDDS",transaction_id:`${Date.now()}-${e}`})},cancelCheckout:e=>{je("cancel","Ecommerce",`Checkout Cancelled: ${e}`)},viewContactForm:()=>{je("view","Contact","Contact Form Viewed")},submitContactForm:e=>{je("submit","Contact",`Form Submitted: ${e}`)},contactFormError:e=>{je("error","Contact",`Form Error: ${e}`)},viewProject:e=>{je("view","Portfolio",`Project Viewed: ${e}`)},clickProjectLink:(e,n)=>{je("click","Portfolio",`${e} - ${n}`)},viewReviews:()=>{je("view","Reviews","Reviews Section Viewed")},clickSocialLink:e=>{je("click","Social",`Social Link: ${e}`)},downloadCV:()=>{je("download","Engagement","CV Downloaded")},clickHeroCTA:e=>{je("click","Hero",`CTA: ${e}`)},scrollDepth:e=>{je("scroll","Engagement",`Scrolled: ${e}%`,e)},timeOnPage:(e,n)=>{je("timing","Engagement",`Time on ${n}`,e)},toggleDarkMode:e=>{je("toggle","UI",`Theme Changed: ${e}`)},searchServices:e=>{je("search","Search",`Search Query: ${e}`)},trackError:(e,n)=>{je("exception","Error",`${n}: ${e}`)}},O5=()=>{if(typeof window>"u")return;const e=[25,50,75,100],n=new Set,i=()=>{const o=Math.round(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight)*100);e.forEach(l=>{o>=l&&!n.has(l)&&(n.add(l),Dn.scrollDepth(l))})};return window.addEventListener("scroll",i,{passive:!0}),()=>{window.removeEventListener("scroll",i)}},V5=e=>{if(typeof window>"u")return;const n=Date.now(),i=()=>{const o=Math.round((Date.now()-n)/1e3);o>10&&Dn.timeOnPage(o,e)};return window.addEventListener("beforeunload",i),()=>{window.removeEventListener("beforeunload",i)}};function z5(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(!1),[u,m]=y.useState(!1),f=Nn(),h=Sl();y.useEffect(()=>{const w=()=>{d(window.scrollY>20)};return window.addEventListener("scroll",w),()=>window.removeEventListener("scroll",w)},[]);const x=()=>{const w=e?"light":"dark";n(!e),document.documentElement.classList.toggle("dark"),Dn.toggleDarkMode(w)},v=[{name:"Home",href:"/",isRoute:!0},{name:"About",href:"#about",isRoute:!1},{name:"Skills",href:"#skills",isRoute:!1},{name:"Projects",href:"#projects",isRoute:!1},{name:"Case Studies",href:"/case-studies",isRoute:!0},{name:"Blog",href:"/blog",isRoute:!0},{name:"Contact",href:"#contact",isRoute:!1}],b=[{name:"Plugin Development",href:"/services/wordpress-custom-plugin-development-service.html",icon:D0,description:"Custom WordPress plugins"},{name:"WooCommerce Development",href:"/services/woocommerce-development",icon:Yi,description:"Payments, checkout & integrations"},{name:"API & Integration Development",href:"/services/wordpress-api-integration",icon:hl,description:"CRM, ERP & REST API integrations"},{name:"React Theme Development",href:"/services/wordpress-react-theme-development",icon:fl,description:"Modern React themes"},{name:"AI Integration",href:"/services/wordpress-custom-ai-integrations.html",icon:cr,description:"AI-powered features"},{name:"Headless WordPress",href:"/services/headless-wordpress-integration",icon:Wl,description:"Headless CMS integration"},{name:"WordPress Fixing",href:"/services/wordpress-fixing-service",icon:yl,description:"Quick fixes & maintenance"}],k=(w,j)=>{if(j.preventDefault(),o(!1),!w.isRoute){const P=w.href.substring(1);if(f.pathname!=="/")h("/"),setTimeout(()=>{const S=document.getElementById(P);S&&S.scrollIntoView({behavior:"smooth",block:"start"})},100);else{const S=document.getElementById(P);S&&S.scrollIntoView({behavior:"smooth",block:"start"})}}},C=w=>w==="/"?f.pathname==="/":f.pathname===w;return r.jsx(I.header,{initial:{opacity:0,y:-20}
454,animate:{opacity:1,y:0},transition:{duration:.4},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${l?"bg-background/80 backdrop-blur-xl shadow-lg border-b border-border/50":"bg-background/60 backdrop-blur-md"}`,children:r.jsxs("div",{className:"container mx-auto px-6 py-3",children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx(xe,{to:"/",children:r.jsxs(I.div,{whileHover:{scale:1.02},whileTap:{scale:.98},className:"flex items-center gap-3 cursor-pointer",children:[r.jsx("div",{className:"w-10 h-10 rounded-xl bg-gradient-to-br from-primary to-primary/60 flex items-center justify-center shadow-lg",children:r.jsx("span",{className:"text-white font-bold text-lg",children:r.jsx("img",{src:"https://alisaleem252.com/img/logo.png"})})}),r.jsx("span",{className:"text-xl font-semibold text-foreground hidden sm:block",style:{fontFamily:"Poppins"},children:"Ali Saleem"})]})}),r.jsxs("nav",{className:"hidden lg:flex items-center gap-2",children:[v.map(w=>w.isRoute?r.jsx(xe,{to:w.href,onClick:()=>Dn.clickNavLink(w.name),children:r.jsx(I.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:`px-4 py-2 rounded-lg transition-all duration-200 ${C(w.href)?"bg-primary text-white shadow-md":"text-foreground hover:bg-primary/10"}`,children:w.name})},w.name):r.jsx(I.a,{href:w.href,whileHover:{scale:1.05},whileTap:{scale:.95},className:"px-4 py-2 rounded-lg text-foreground hover:bg-primary/10 transition-all duration-200",onClick:j=>{k(w,j),Dn.clickNavLink(w.name)},children:w.name},w.name)),r.jsxs("div",{className:"relative",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[r.jsxs(I.button,{whileHover:{scale:1.05},whileTap:{scale:.95},className:`px-4 py-2 rounded-lg transition-all duration-200 flex items-center gap-1 ${u||f.pathname.includes("/services")?"bg-primary/10 text-primary":"text-foreground hover:bg-primary/10"}`,children:["Services",r.jsx(ul,{className:`h-4 w-4 transition-transform duration-200 ${u?"rotate-180":""}`})]}),r.jsx(Es,{children:u&&r.jsx(I.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},transition:{duration:.15},className:"absolute top-full left-0 mt-2 w-80",children:r.jsxs("div",{className:"bg-background/95 backdrop-blur-xl border border-border/50 rounded-xl shadow-2xl overflow-hidden",children:[r.jsx(xe,{to:"/services/all-services",onClick:()=>m(!1),children:r.jsxs("div",{className:"flex items-center justify-between px-4 py-3 bg-primary/5 border-b border-border/50 hover:bg-primary/10 transition-colors duration-200",children:[r.jsx("span",{className:"font-semibold text-primary",children:"View All Services"}),r.jsx(ut,{className:"h-4 w-4 text-primary"})]})}),b.map((w,j)=>{const P=w.icon;return r.jsx(xe,{to:w.href,onClick:()=>m(!1),children:r.jsxs(I.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:j*.05},className:"flex items-start gap-3 px-4 py-3 hover:bg-primary/10 transition-colors duration-200 group",children:[r.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0 group-hover:bg-primary group-hover:scale-110 transition-all duration-200",children:r.jsx(P,{className:"h-5 w-5 text-primary group-hover:text-white"})}),r.jsxs("div",{className:"flex-1",children:[r.jsx("div",{className:"font-medium text-foreground group-hover:text-primary transition-colors",children:w.name}),r.jsx("div",{className:"text-xs text-muted-foreground mt-0.5",children:w.description})]})]})},w.name)})]})})})]})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(I.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:r.jsx(ie,{variant:"ghost",size:"icon",onClick:x,className:"rounded-lg hover:bg-primary/10",children:r.jsx(Es,{mode:"wait",children:e?r.jsx(I.div,{initial:{rotate:-90,opacity:0},animate:{rotate:0,opacity:1},exit:{rotate:90,opacity:0},transition:{duration:.2},children:r.jsx(w4,{className:"h-5 w-5"})},"sun"):r.jsx(I.div,{initial:{rotate:90,opacity:0},animate:{rotate:0,opacity:1},exit:{rotate:-90,opacity:0},transition:{duration:.2},children:r.jsx(JE,{className:"h-5 w-5"})},"moon")})})}),r.jsx(I.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:r.jsx(ie,{variant:"ghost",size:"icon",onClick:()=>o(!i),className:"lg:hidden rounded-lg hover:bg-primary/10",children:r.jsx(Es,{mode:"wait",children:i?r.jsx(I.div,{initial:{rotate:-90,opacity:0}
454,animate:{rotate:0,opacity:1},exit:{rotate:90,opacity:0},transition:{duration:.2},children:r.jsx(F0,{className:"h-5 w-5"})},"close"):r.jsx(I.div,{initial:{rotate:90,opacity:0},animate:{rotate:0,opacity:1},exit:{rotate:-90,opacity:0},transition:{duration:.2},children:r.jsx(KE,{className:"h-5 w-5"})},"menu")})})})]})]}),r.jsx(Es,{children:i&&r.jsx(I.nav,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"lg:hidden overflow-hidden",children:r.jsxs("div",{className:"flex flex-col gap-2 pt-4 pb-2",children:[v.map((w,j)=>w.isRoute?r.jsx(xe,{to:w.href,onClick:()=>{o(!1),Dn.clickNavLink(w.name)},children:r.jsx(I.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:j*.05},className:`px-4 py-3 rounded-lg transition-all duration-200 ${C(w.href)?"bg-primary text-white":"text-foreground hover:bg-primary/10"}`,children:w.name})},w.name):r.jsx(I.a,{href:w.href,initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:j*.05},onClick:P=>k(w,P),className:"px-4 py-3 rounded-lg text-foreground hover:bg-primary/10 transition-all duration-200",children:w.name},w.name)),r.jsxs(I.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:v.length*.05},className:"mt-2",children:[r.jsxs("div",{className:"px-4 py-3 rounded-lg text-foreground hover:bg-primary/10 transition-all duration-200 cursor-pointer flex items-center justify-between",onClick:()=>m(!u),children:[r.jsx("span",{children:"Services"}),r.jsx(ul,{className:`h-4 w-4 transition-transform duration-200 ${u?"rotate-180":""}`})]}),r.jsx(Es,{children:u&&r.jsx(I.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},className:"ml-4 mt-2 space-y-2 overflow-hidden",children:b.map((w,j)=>{const P=w.icon;return r.jsx(xe,{to:w.href,onClick:()=>{o(!1),m(!1)},children:r.jsxs(I.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:j*.05},className:"flex items-center gap-3 px-3 py-2 rounded-lg hover:bg-primary/10 transition-all duration-200",children:[r.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0",children:r.jsx(P,{className:"h-4 w-4 text-primary"})}),r.jsx("div",{className:"text-sm text-foreground",children:w.name})]})},w.name)})})})]})]})})})]})})}function $5(){const[e,n]=y.useState({x:-100,y:-100}),[i,o]=y.useState({x:-100,y:-100}),[l,d]=y.useState(!1);return y.useEffect(()=>{let u;const m=x=>{n({x:x.clientX,y:x.clientY}),d(!0)},f=()=>{d(!1)},h=()=>{o(x=>({x:x.x+(e.x-x.x)*.15,y:x.y+(e.y-x.y)*.15})),u=requestAnimationFrame(h)};return window.addEventListener("mousemove",m),window.addEventListener("mouseleave",f),u=requestAnimationFrame(h),()=>{window.removeEventListener("mousemove",m),window.removeEventListener("mouseleave",f),cancelAnimationFrame(u)}},[e.x,e.y]),l?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"custom-cursor-trail",style:{left:`${i.x}px`,top:`${i.y}px`}}),r.jsx("div",{className:"custom-cursor-dot",style:{left:`${e.x}px`,top:`${e.y}px`}})]}):null}function B5(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),l=[{name:"CMS",delay:.2,x:100,y:-350},{name:"ERP",delay:.4,x:-250,y:80},{name:"WooCommerce",delay:.6,x:200,y:-80},{name:"Stripe",delay:.8,x:-250,y:-100},{name:"React JS",delay:.8,x:-150,y:-350},{name:"AI Integrations",delay:1,x:200,y:50}];return r.jsxs("section",{id:"hero",className:"min-h-screen flex items-center justify-center relative overflow-hidden","aria-label":"Hero section introducing Ali Saleem",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),style:{cursor:i?"none":"auto"},children:[i&&r.jsx($5,{}),r.jsxs("div",{className:"absolute inset-0 -z-10","aria-hidden":"true",children:[r.jsx("div",{className:"absolute top-20 left-20 w-64 h-64 bg-secondary/30 rounded-full blur-3xl blob-animation"}),r.jsx("div",{className:"absolute bottom-20 right-20 w-80 h-80 bg-primary/20 rounded-full blur-3xl blob-animation",style:{animationDelay:"2s"}}),r.jsx("div",{className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-accent/20 rounded-full blur-3xl blob-animation",style:{animationDelay:"4s"}})]}),r.jsx("div",{className:"container mx-auto px-4 py-20",children:r.jsxs("div",{className:"flex flex-col lg:grid lg:grid-cols-2 gap-12 items-center",children:[r.jsxs("div",{className:"relative flex items-center justify-center order-1 lg:order-2",children:[r.jsx(I.div,{initial:{opacity:0,scale:.8}
454,animate:{opacity:1,scale:1},transition:{duration:1,delay:.5},className:"relative z-10",children:r.jsx("div",{className:"w-48 h-48 md:w-56 md:h-56 lg:w-220 lg:h-220 rounded-full bg-gradient-to-br from-primary/20 to-secondary/30 flex items-center justify-center",children:r.jsx("div",{role:"img","aria-label":"Ali Saleem - WordPress Developer",className:"w-44 h-44 md:w-52 md:h-52 lg:w-120 lg:h-120 rounded-full shadow-2xl",style:{backgroundImage:'url("https://alisaleem252.com/img/portrait1-2.svg")',backgroundRepeat:"no-repeat",backgroundSize:"auto 100%",backgroundPosition:e?"87.76% 50%":"12.24% 50%"}})})}),r.jsx("div",{className:"hidden lg:block",children:l.map((d,u)=>r.jsx(I.div,{initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{duration:.6,delay:d.delay},className:"absolute floating-icon",style:{left:`calc(50% + ${d.x}px)`,top:`calc(50% + ${d.y}px)`,animationDelay:`${d.delay}s`},"aria-label":`${d.name} technology`,children:r.jsx("div",{className:"w-30 h-30 bg-card border-2 border-border rounded-lg shadow-lg flex items-center justify-center transform hover:scale-110 transition-transform duration-300",children:r.jsx("span",{className:"text-xs font-semibold text-foreground",children:d.name})})},d.name))})]}),r.jsxs(I.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.8},className:"space-y-6 order-2 lg:order-1 text-center lg:text-left",children:[r.jsx(I.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-base lg:text-lg text-primary font-medium",style:{fontFamily:"Poppins"},children:"Hi, I'm Ali Saleem"}),r.jsxs(I.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"text-4xl lg:text-6xl font-bold text-foreground",style:{fontFamily:"Poppins"},children:["Custom WordPress & ",r.jsx("span",{className:"text-primary",children:"WooCommerce Development"})," for Complex Business Requirements"]}),r.jsx(I.h2,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-xl lg:text-2xl text-muted-foreground",style:{fontFamily:"Poppins"},children:"Custom plugins, WooCommerce & AI-powered solutions when off-the-shelf plugins aren't enough"}),r.jsx(I.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},className:"text-lg text-muted-foreground max-w-2xl",children:"I build custom plugins, WooCommerce functionality, API integrations and AI-powered WordPress solutions when off-the-shelf plugins aren't enough. Delivering fast, secure and scalable WordPress solutions since 2013."}),r.jsxs(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},className:"flex flex-wrap gap-4 justify-center lg:justify-start",children:[r.jsx(xe,{to:"/services/all-services",children:r.jsxs(ie,{size:"lg",className:"bg-primary hover:bg-primary/90 transition-all duration-300",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[r.jsx(hn,{className:"mr-2 h-4 w-4"}),"Request a Quote"]})}),r.jsx(xe,{to:"/case-studies",children:r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white transition-all duration-300",children:"View Case Studies"})}),r.jsxs(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white transition-all duration-300",onClick:()=>window.open("https://wa.me/923164615153","_blank"),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[r.jsx(NE,{className:"mr-2 h-4 w-4"}),"Message on WhatsApp"]}),r.jsxs(ie,{size:"lg",variant:"ghost",className:"hover:bg-primary/10 hover:text-primary transition-all duration-300",onClick:()=>document.getElementById("contact")?.scrollIntoView({behavior:"smooth"}),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[r.jsx(Zu,{className:"mr-2 h-4 w-4"}),"Get a Free Quote"]})]}),r.jsxs(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:1},className:"grid grid-cols-3 gap-4 pt-6",children:[r.jsxs("div",{className:"text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-primary",children:"10+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Years Experience"})]}),r.jsxs("div",{className:"text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-primary",children:"400+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Projects"})]}),r.jsxs("div",{className:"text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-primary",children:"400+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Happy Clients"})]})]})]})]})})]})}const oy=[{domain:"benzinga.com",name:"Benzinga"},{domain:"bittorrent.com",name:"BitTorrent"},{domain:"blender.org",name:"Blender"},{domain:"broadwayworld.com",name:"BroadwayWorld"},{domain:"bu.edu",name:"Boston University"},{domain:"byjus.com",name:"BYJU'S"},{domain:"cafepress.com",name:"CafePress"},{domain:"case.edu",name:"Case Western Reserve University"},{domain:"cbn.com",name:"CBN"},{domain:"clevelandclinic.org",name:"Cleveland Clinic"},{domain:"cointelegraph.com",name:"Cointelegraph"},{domain:"comodo.com",name:"Comodo"},{domain:"corporatefinanceinstitute.com",name:"Corporate Finance Institute"},{domain:"cricketwireless.com",name:"Cricket Wireless"}
454,{domain:"css-tricks.com",name:"CSS-Tricks"},{domain:"kaiserpermanente.org",name:"Kaiser Permanente"},{domain:"kampyle.com",name:"Kampyle"},{domain:"khaleejtimes.com",name:"Khaleej Times"},{domain:"kinsta.com",name:"Kinsta"},{domain:"nami.org",name:"NAMI"},{domain:"nationaltoday.com",name:"National Today"},{domain:"nc.gov",name:"North Carolina"},{domain:"ndtv.com",name:"NDTV"},{domain:"netdna-ssl.com",name:"NetDNA"},{domain:"newsday.com",name:"Newsday"},{domain:"nielsen.com",name:"Nielsen"},{domain:"nike.com",name:"Nike"},{domain:"nintendolife.com",name:"Nintendo Life"},{domain:"ny.gov",name:"New York State"},{domain:"ohio-state.edu",name:"Ohio State"},{domain:"ok.gov",name:"Oklahoma"},{domain:"openlibrary.org",name:"Open Library"},{domain:"tasteofhome.com",name:"Taste of Home"},{domain:"tawk.to",name:"Tawk.to"},{domain:"teacherspayteachers.com",name:"Teachers Pay Teachers"},{domain:"techdirt.com",name:"Techdirt"},{domain:"templatemonster.com",name:"TemplateMonster"},{domain:"thenation.com",name:"The Nation"},{domain:"therapservices.net",name:"Therap Services"},{domain:"thestar.com.my",name:"The Star"},{domain:"timeout.com",name:"Time Out"},{domain:"tn.gov",name:"Tennessee"},{domain:"tufts.edu",name:"Tufts University"},{domain:"tulane.edu",name:"Tulane University"}];function U5(){const e=[...oy,...oy];return r.jsxs("section",{"aria-label":"Trusted brands",className:"py-14 border-y border-border/50",children:[r.jsx("style",{children:` 455 @keyframes brands-marquee { 456 from { transform: translateX(0); } 457 to { transform: translateX(-50%); } 458 } 459 .brands-marquee-track { 460 animation: brands-marquee 190s linear infinite; 461 will-change: transform; 462 } 463 .brands-marquee:hover .brands-marquee-track { 464 animation-play-state: paused; 465 } 466 `}),r.jsx("div",{className:"container mx-auto px-4",children:r.jsx("p",{className:"text-center text-sm font-medium uppercase tracking-[0.2em] text-muted-foreground mb-8",style:{fontFamily:"Poppins"},children:"Trusted by leading brands & organizations"})}),r.jsxs("div",{className:"brands-marquee relative overflow-hidden",children:[r.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-10 h-full w-16 bg-gradient-to-r from-background to-transparent"}),r.jsx("div",{className:"pointer-events-none absolute right-0 top-0 z-10 h-full w-16 bg-gradient-to-l from-background to-transparent"}),r.jsx("div",{className:"brands-marquee-track flex w-max items-center gap-20",children:e.map((n,i)=>r.jsx("img",{src:`/img/brands/${n.domain}.png`,alt:`${n.name} logo`,title:n.name,loading:"lazy",className:"h-24 w-auto max-w-[280px] shrink-0 object-contain opacity-70 grayscale transition-all duration-300 hover:opacity-100 hover:grayscale-0"},`${n.domain}-${i}`))})]})]})}function H5(){const[e,n]=y.useState(50),[i,o]=y.useState(!1),[l,d]=y.useState(!1),u=y.useRef(null),m=y.useCallback(v=>{const b=u.current?.getBoundingClientRect();if(!b)return;const k=Math.max(0,Math.min(v-b.left,b.width));n(k/b.width*100),l||d(!0)},[l]),f=y.useCallback(v=>{i&&m(v.clientX)},[i,m]),h=y.useCallback(()=>o(!1),[]),x=y.useCallback(v=>{i&&m(v.touches[0].clientX)},[i,m]);return y.useEffect(()=>(window.addEventListener("mousemove",f),window.addEventListener("mouseup",h),window.addEventListener("touchmove",x,{passive:!0}),window.addEventListener("touchend",h),()=>{window.removeEventListener("mousemove",f),window.removeEventListener("mouseup",h),window.removeEventListener("touchmove",x),window.removeEventListener("touchend",h)}),[f,h,x]),y.useEffect(()=>{if(l)return;let v,b=null;const k=2e3,C=12,w=P=>{b||(b=P);const S=(P-b)%(k*2),T=S<k?S/k:2-S/k;n(50+(T-.5)*2*C),v=requestAnimationFrame(w)},j=setTimeout(()=>{v=requestAnimationFrame(w)},1200);return()=>{clearTimeout(j),cancelAnimationFrame(v)}},[l]),r.jsx("section",{id:"transformation",className:"py-20 bg-background","aria-label":"Before and after transformation demo",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-7xl",children:[r.jsxs(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:[r.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-3",children:["See the ",r.jsx("span",{className:"text-primary",children:"Transformation"})]}),r.jsx("p",{className:"text-muted-foreground text-lg max-w-2xl mx-auto",children:"Real results speak louder than words. Drag the slider to compare before & after."})]}),r.jsxs(I.div,{initial:{opacity:0,scale:.97},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"relative rounded-2xl overflow-hidden shadow-2xl border border-border select-none",style:{height:"70vh"},ref:u,onMouseDown:v=>{v.preventDefault(),o(!0),m(v.clientX)},onTouchStart:v=>{o(!0),m(v.touches[0].clientX)},"aria-label":"Drag the divider to compare before and after images",role:"img",children:[r.jsx("img",{src:"https://alisaleem252.com/img/compress-after.png",alt:"After transformation",className:"absolute inset-0 w-full h-full object-cover object-top",draggable:!1}),r.jsx("div",{className:"absolute inset-0 overflow-hidden",style:{width:`${e}%`},children:r.jsx("img",{src:"https://alisaleem252.com/img/compress-before.png",alt:"Before transformation",className:"absolute inset-0 h-full object-cover object-top",style:{width:`${100/e*100}%`,maxWidth:"none",filter:"grayscale(100%)"},draggable:!1})}),r.jsx("span",{className:"absolute top-4 left-4 bg-black/60 text-white text-sm font-semibold px-3 py-1 rounded-full backdrop-blur-sm pointer-events-none",children:"Before"}),r.jsx("span",{className:"absolute top-4 right-4 bg-primary/90 text-white text-sm font-semibold px-3 py-1 rounded-full backdrop-blur-sm pointer-events-none",children:"After"}),r.jsx("div",{className:"absolute inset-y-0 w-0.5 bg-white shadow-[0_0_8px_rgba(0,0,0,0.6)]",style:{left:`${e}%`,transform:"translateX(-50%)"}}),r.jsx("div",{className:`absolute top-1/2 flex items-center justify-center w-10 h-10 rounded-full bg-white shadow-lg border-2 border-primary transition-transform ${i?"scale-110":"scale-100"}`,style:{left:`${e}%`,transform:"translate(-50%, -50%)"},"aria-hidden":"true",children:r.jsx(ME,{className:"h-5 w-5 text-primary"})}),!l&&r.jsxs(I.div,{initial:{opacity:0,y:6}
466,animate:{opacity:1,y:0},transition:{delay:.8},className:"absolute bottom-5 left-1/2 -translate-x-1/2 flex items-center gap-2 bg-black/60 text-white text-sm px-4 py-2 rounded-full backdrop-blur-sm pointer-events-none",children:[r.jsx(t4,{className:"h-4 w-4 animate-bounce-x"}),"Drag to compare"]})]})]})})}function X({className:e,...n}){return r.jsx("div",{"data-slot":"card",className:ht("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border",e),...n})}function gr({className:e,...n}){return r.jsx("div",{"data-slot":"card-header",className:ht("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 pt-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...n})}function Q({className:e,...n}){return r.jsx("div",{"data-slot":"card-content",className:ht("px-6 [&:last-child]:pb-6",e),...n})}function G5(){const e=[{icon:r.jsx(zr,{className:"h-8 w-8 text-primary"}),title:"Custom Plugin Development",description:"Expert in building bespoke WordPress plugins from scratch with clean, optimized code and comprehensive documentation."},{icon:r.jsx(W0,{className:"h-8 w-8 text-primary"}),title:"Theme Development",description:"Creating responsive, high-performance WordPress themes with advanced customizer options and modern design."},{icon:r.jsx(rn,{className:"h-8 w-8 text-primary"}),title:"WooCommerce Solutions",description:"Custom WooCommerce plugins, payment gateway integrations, and e-commerce functionality development."},{icon:r.jsx(so,{className:"h-8 w-8 text-primary"}),title:"AI Integration",description:"Cutting-edge AI solutions integrated with WordPress including OpenAI API and custom AI workflows."},{icon:r.jsx(Wn,{className:"h-8 w-8 text-primary"}),title:"WordPress Expertise",description:"10+ years of WordPress development with deep knowledge of core, hooks, filters, and best practices."},{icon:r.jsx(Os,{className:"h-8 w-8 text-primary"}),title:"Full-Stack Development",description:"Proficient in PHP, JavaScript, MySQL, and modern web technologies for complete WordPress solutions."}];return r.jsx("section",{id:"about",className:"py-20 bg-secondary/20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"About Me - Your WordPress Development Expert"}),r.jsxs("div",{className:"max-w-3xl mx-auto",children:[r.jsx("p",{className:"text-lg text-muted-foreground mb-6",children:"Hi! I'm Ali Saleem, a freelance WordPress plugin and theme developer with over 10 years of experience. I specialize in creating elegant WordPress solutions that are fast, secure, and scalable. With 400+ successful projects delivered to 400+ happy clients worldwide."}),r.jsx("p",{className:"text-lg text-muted-foreground",children:"What sets me apart is my commitment to excellence and deep technical expertise in custom plugin development, AI integrations, WooCommerce solutions, and payment gateway integration. I don't just code - I create solutions that drive real business results."})]})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((n,i)=>r.jsx(I.div,{initial:{opacity:0,x:i%2===0?-50:50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:i*.1},viewport:{once:!0},whileHover:{y:-10},className:"group",children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("div",{className:"flex items-center mb-4",children:[r.jsx("div",{className:"p-3 bg-primary/10 rounded-lg mr-4 group-hover:bg-primary/20 transition-colors duration-300",children:n.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground",style:{fontFamily:"Poppins"},children:n.title})]}),r.jsx("p",{className:"text-muted-foreground",children:n.description})]})})},n.title))}),r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.3},viewport:{once:!0},className:"mt-16 text-center",children:r.jsx(X,{className:"bg-gradient-to-r from-primary/10 to-secondary/20 border-primary/20 max-w-3xl mx-auto",children:r.jsxs(Q,{className:"p-8",children:[r.jsx("h3",{className:"text-2xl font-semibold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Why Choose Me?"}),r.jsx("p",{className:"text-lg text-muted-foreground mb-6",children:"Partner with a developer who has proven expertise, reliable delivery, and a track record of exceptional results."}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4 text-left",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"10+ years WordPress experience"})]}),r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"400+ projects delivered"})]}),r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"4.9/5 average rating"})]})]}),r.jsxs("div",{className:"space-y-2",children:[r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"400+ happy clients worldwide"})]}),r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"95% repeat client rate"})]}),r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-foreground",children:"Fast & transparent communication"})]})]})]})]})})})]})})}const q5=U0("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function K5({className:e,variant:n,asChild:i=!1,...o}){const l=i?z0:"span";return r.jsx(l,{"data-slot":"badge",className:ht(q5({variant:n}),e),...o})}function Y5(){const e=[{title:"Core Technologies",skills:[{name:"WordPress",description:"98% expertise"},{name:"PHP",description:"95% expertise"},{name:"JavaScript/jQuery",description:"90% expertise"},{name:"MySQL",description:"88% expertise"}]},{title:"WordPress Development",skills:[{name:"Custom Plugins",description:"Expert level"},{name:"Theme Development",description:"Advanced"},{name:"WooCommerce",description:"92% expertise"},{name:"WordPress API",description:"REST & Hooks"}]},{title:"Advanced Solutions",skills:[{name:"AI Integration",description:"85% expertise"}
466,{name:"Payment Gateways",description:"Custom integration"},{name:"API Development",description:"RESTful APIs"},{name:"Database Design",description:"Optimization"}]},{title:"Development Tools",skills:[{name:"Git/GitHub",description:"Version control"},{name:"Composer",description:"Dependency management"},{name:"WP-CLI",description:"Command line"},{name:"Debugging Tools",description:"Xdebug, Query Monitor"}]}];return r.jsx("section",{id:"skills",className:"py-20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Technical Expertise"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Comprehensive WordPress development skills with modern tools and technologies that deliver exceptional results for every project."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((n,i)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:i*.2},viewport:{once:!0},className:"bg-card/50 backdrop-blur-sm rounded-lg p-6 border border-border/50 hover:border-primary/50 transition-all duration-300",children:[r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-4",style:{fontFamily:"Poppins"},children:n.title}),r.jsx("div",{className:"space-y-3",children:n.skills.map((o,l)=>r.jsx(I.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{duration:.4,delay:i*.2+l*.1},viewport:{once:!0},whileHover:{scale:1.05},className:"group",children:r.jsx(K5,{variant:"secondary",className:"w-full justify-center py-2 px-4 text-sm bg-primary/10 hover:bg-primary/20 text-primary border border-primary/20 group-hover:border-primary/40 transition-all duration-300 cursor-pointer",title:o.description,children:o.name})},o.name))})]},n.title))}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-16 text-center",children:[r.jsx("h3",{className:"text-2xl font-semibold text-foreground mb-8",style:{fontFamily:"Poppins"},children:"Specialized Services"}),r.jsxs("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[r.jsxs("div",{className:"p-4 bg-card/30 rounded-lg border border-border/50 hover:border-primary/50 transition-all duration-300",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Custom Plugin Development"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Bespoke WordPress plugins built from scratch with clean code and full documentation."})]}),r.jsxs("div",{className:"p-4 bg-card/30 rounded-lg border border-border/50 hover:border-primary/50 transition-all duration-300",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"AI Integration"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"OpenAI API integration, content generation tools, and custom AI workflows."})]}),r.jsxs("div",{className:"p-4 bg-card/30 rounded-lg border border-border/50 hover:border-primary/50 transition-all duration-300",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Payment Gateway Integration"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Secure custom payment gateway integration for WooCommerce with multi-currency support."})]})]})]})]})})}const X5="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODgiIGhlaWdodD0iODgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBvcGFjaXR5PSIuMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIzLjciPjxyZWN0IHg9IjE2IiB5PSIxNiIgd2lkdGg9IjU2IiBoZWlnaHQ9IjU2IiByeD0iNiIvPjxwYXRoIGQ9Im0xNiA1OCAxNi0xOCAzMiAzMiIvPjxjaXJjbGUgY3g9IjUzIiBjeT0iMzUiIHI9IjciLz48L3N2Zz4KCg==";function pr(e){const[n,i]=y.useState(!1),o=()=>{i(!0)},{src:l,alt:d,style:u,className:m,...f}=e;return n?r.jsx("div",{className:`inline-block bg-gray-100 text-center align-middle ${m??""}`,style:u,children:r.jsx("div",{className:"flex items-center justify-center w-full h-full",children:r.jsx("img",{src:X5,alt:"Error loading image",...f,"data-original-url":l})})}):r.jsx("img",{src:l,alt:d,className:m,style:u,...f,onError:o})}const np=[{slug:"woocommerce-payment-gateway",title:"Custom WooCommerce Payment Gateway",category:"WooCommerce",description:"Custom payment gateway integration for an international e-commerce brand, supporting multi-currency transactions and seamless checkout flow with PCI compliance.",tools:["PHP","WooCommerce","API Integration","Security"],image:"https://images.unsplash.com/photo-1563013544-824ae1b704d3?w=600&h=400&fit=crop",liveUrl:"https://codecanyon.net/user/alisaleem252/portfolio",results:"700+ sales on CodeCanyon",problem:"The client sold internationally but the payment processors supported by default WooCommerce extensions didn't cover their target regions or currencies.",existingSetup:"Standard WooCommerce store using a generic gateway that only supported single-currency checkout and manual reconciliation.",solution:"A custom WooCommerce payment gateway plugin built against the processor's n
466ative API, handling multi-currency conversion and checkout natively inside WooCommerce.",technicalImplementation:"PHP + WooCommerce Payment Gateway API, server-side signature verification, webhook-based order status updates, and PCI-compliant tokenized card handling (no raw card data touches the server).",outcome:"Checkout completed in the customer's local currency with automated order reconciliation, removing manual finance work and reducing failed international transactions.",relatedServiceHref:"/services/woocommerce-development/payment-gateway",relatedServiceLabel:"WooCommerce Payment Gateway Development"},{slug:"custom-membership-plugin",title:"Membership Portal Plugin",category:"Custom Plugin",description:"Custom membership levels, content restriction, and payment integration for a premium education site with automated subscription management.",tools:["WordPress","Custom Plugin","Payment Gateway","User Roles"],image:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=600&h=400&fit=crop",liveUrl:"https://www.fiverr.com/wpfixit",results:"405+ reviews on Fiverr",problem:"An education platform needed tiered course access tied to recurring payments, which off-the-shelf membership plugins only partially supported.",existingSetup:"WordPress with a generic membership plugin that couldn't handle the client's specific tier logic or automatic downgrade-on-cancellation rules.",solution:"A custom membership plugin with configurable access levels, content restriction rules and automated subscription lifecycle handling.",technicalImplementation:"Custom WordPress user roles/capabilities, recurring payment gateway webhook handling, and content-restriction logic hooked into the theme templates.",outcome:"Automated subscription management eliminated manual access upgrades/downgrades and reduced support tickets around access issues.",relatedServiceHref:"/services/wordpress-custom-plugin-development-service.html",relatedServiceLabel:"Custom WordPress Plugin Development"}
466,{slug:"appointment-booking-system",title:"Appointment Booking System",category:"Booking System",description:"WordPress booking plugin with calendar integration, email notifications, SMS alerts, and payment processing for service businesses.",tools:["WordPress","Calendar API","Payment Integration","Automation"],image:"https://images.unsplash.com/photo-1506784983877-45594efa4cbe?w=600&h=400&fit=crop",liveUrl:"https://github.com/alisaleem252",results:"Open source contribution",problem:"A service business needed clients to self-book appointments with automatic reminders, which required more automation than a basic contact form.",existingSetup:"Manual scheduling via phone/email with no automated reminders, leading to missed appointments.",solution:"A booking plugin with calendar sync, automated email/SMS reminders and integrated payment collection at booking time.",technicalImplementation:"WP-Cron scheduled reminder jobs, calendar API sync, SMS gateway integration, and payment processing tied to booking confirmation.",outcome:"Reduced no-shows through automated reminders and removed manual back-and-forth scheduling.",relatedServiceHref:"/services/wordpress-custom-plugin-development-service/automation-plugin",relatedServiceLabel:"WordPress Automation Plugin Development"},{slug:"ai-wordpress-plugin",title:"AI Content Generator",category:"AI Integration",description:"WordPress plugin integrating with OpenAI API for automated content generation, SEO optimization, and image creation with custom workflows.",tools:["AI Integration","OpenAI API","WordPress","Content Automation"],image:"https://images.unsplash.com/photo-1677442136019-21780ecad995?w=600&h=400&fit=crop",liveUrl:"https://codecanyon.net/user/alisaleem252/portfolio",results:"Advanced AI features",problem:"Content teams were spending hours drafting and reformatting posts manually before publishing on WordPress.",existingSetup:"Manual content writing and manual SEO metadata entry directly in the block editor.",solution:"A custom plugin wired to the OpenAI API to draft content, generate SEO metadata and create supporting images directly from wp-admin.",technicalImplementation:"Server-side OpenAI API calls with prompt templates, DALL-E image generation, and custom admin UI wired into the Gutenberg editor workflow.",outcome:"Cut first-draft content time significantly while keeping editorial review fully in the loop.",relatedServiceHref:"/services/wordpress-custom-ai-integrations.html",relatedServiceLabel:"AI Integration Service"},{slug:"multi-vendor-marketplace",title:"Multi-vendor Marketplace",category:"Marketplace",description:"Complete marketplace solution with vendor management, commission systems, front-end submission, and comprehensive seller dashboard.",tools:["WooCommerce","Multi-vendor","Commission System","Vendor Portal"],image:"https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=600&h=400&fit=crop",liveUrl:"https://www.upwork.com/freelancers/alis71",results:"Top Rated on Upwork",problem:"The client wanted a multi-vendor marketplace with commission handling and seller-facing tools that generic marketplace plugins didn't fully cover.",existingSetup:"A single-vendor WooCommerce store with no vendor separation, payouts or seller dashboard.",solution:"A custom vendor management layer on top of WooCommerce with commission rules, front-end product submission and a dedicated seller dashboard.",technicalImplementation:"Custom vendor user roles, order-splitting logic for multi-vendor carts, automated commission calculation, and a front-end vendor dashboard.",outcome:"Enabled the client to onboard third-party sellers with automated commission payouts instead of manual spreadsheet tracking.",relatedServiceHref:"/services/woocommerce-development",relatedServiceLabel:"WooCommerce Development"},{slug:"custom-wordpress-theme",title:"Custom WordPress Theme",category:"Theme Development",description:"Responsive, high-performance theme built from scratch with advanced customizer options, page builder integration, and WooCommerce support.",tools:["Theme Development","Custom Post Types","ACF","Page Builder"],image:"https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?w=600&h=400&fit=crop",liveUrl:"https://webostock.com/author/alisaleem252/",results:"1100+ sales on Webostock",problem:"The client needed a fast, flexible theme that a non-technical team could customize without breaking the design.",existingSetup:"A generic marketplace theme with limited customizer options and page-builder conflicts.",solution:"A theme built from scratch with custom post types, ACF-powered flexible content blocks and native WooCommerce support.",technicalImplementation:"Custom post types/taxonomies, ACF flexible content fields, WordPress Customizer API integration and WooCommerce template overrides.",outcome:"Gave the client's team full control over layout and content without needing a developer for routine changes.",relatedServiceHref:"/services/wordpress-react-theme-development",relatedServiceLabel:"WordPress React Theme Development"},{slug:"api-integration",title:"CRM Integration Plugin",category:"Integration",description:"WordPress to CRM system connector with contact sync, form integration, analytics dashboard, and automated lead management.",tools:["API Development","CRM Integration","Data Sync","Analytics"],image:"https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=600&h=400&fit=crop",liveUrl:"https://profiles.wordpress.org/zinger252/#content-plugins",results:"WordPress.org approved",problem:"Leads captured on WordPress forms had to be manually re-entered into the client's CRM every day.",existingSetup:"WordPress contact forms with no CRM connection, requiring manual export/import of lead data.",solution:"A CRM integration plugin that syncs contacts and form submissions to the CRM in real time, with a lead-tracking dashboard inside WordPress.",technicalImplementation:"REST API authentication against the CRM, real-time webhook-based sync, custom field mapping and an analytics dashboard built with the WordPress admin API.",outcome:"Removed manual data entry entirely and gave the sales team real-time visibility into new leads.",relatedServiceHref:"/services/wordpress-api-integration/crm-integration",relatedServiceLabel:"WordPress CRM Integration"},{slug:"custom-dashboard-plugin",title:"Custom Dashboard Plugin",category:"Dashboard",description:"Advanced WordPress dashboard with custom widgets, analytics, reporting, and role-based access control for enterprise clients.",tools:["WordPress Dashboard","Custom Widgets","Analytics","User Management"],image:"https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=600&h=400&fit=crop",liveUrl:"https://codecanyon.net/user/alisaleem252/portfolio",results:"Enterprise solution",problem:"An enterprise client needed internal reporting and role-based tooling that didn't belong in the public-facing site or default wp-admin screens.",existingSetup:"Default WordPress admin with no custom reporting and only basic role separation (Editor/Admin).",solution:"A custom admin dashboard plugin with reporting widgets, custom analytics views and fine-grained role-based access control.",technicalImplementation:"Custom WordPress capabilities/roles, admin dashboard widgets, and data visualizations built on top of internal WordPress and WooCommerce data.",outcome:"Gave managers and staff role-appropriate visibility into the data they needed without exposing full admin access.",relatedServiceHref:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",relatedServiceLabel:"Custom Admin Dashboard Plugin"},{slug:"woocommerce-smartlink-asi-integration",title:"WooCommerce + Smartlink ASI Promo Products Integration",category:"WooCommerce",description:"Automated import and sync of the Smartlink ASI promo-products catalog into WooCommerce â products, variations, inventory and all media images.",tools:["WooCommerce","REST API","Inventory Sync","Media Import"],image:"https://webostock.com/w
466p-content/uploads/2025/10/woo-sMARTLINK-PRODUCTS-358x358.png",liveUrl:"https://webostock.com/market-item/woocommerce-asi-central-smarlink-live-product/32067/",results:"Automated catalog + inventory sync",problem:"The client sells promotional products from the Smartlink ASI catalog and needed that large, constantly-changing catalog available in WooCommerce without manual data entry.",existingSetup:"Manual product entry and static CSV uploads that went out of date the moment inventory or pricing changed.",solution:"A custom integration that imports the Smartlink ASI product feed into WooCommerce as variable products â pulling variations, inventory levels, pricing and all media images â and keeps it in sync on a schedule.",technicalImplementation:"WooCommerce product/variation CRUD APIs, attribute mapping, media library image import, scheduled WP-Cron sync jobs and inventory/pricing update logic.",outcome:"The entire promo-products catalog stayed in sync with inventory, pricing, variations and images imported automatically, eliminating manual data entry.",relatedServiceHref:"/services/woocommerce-development/api-integration",relatedServiceLabel:"WooCommerce API Integration"},{slug:"woocommerce-drivingi-import",title:"WooCommerce Catalog Import from Drivingi.com",category:"WooCommerce",description:"Full product catalog imported from drivingi.com into WooCommerce with every variation, stock availability, pricing and all images.",tools:["WooCommerce","Product Import","Variations","Image Import"],image:"https://webostock.com/wp-content/uploads/2025/10/woo-sMARTLINK-PRODUCTS-358x358.png",liveUrl:"https://webostock.com/market-item/woocommerce-asi-central-smarlink-live-product/32067/",results:"Entire catalog imported, ready to sell",problem:"The client needed their complete drivingi.com product range available in WooCommerce, including all variations, stock status, pricing and product images.",existingSetup:"No automated import path â products had to be recreated manually, which was slow and error-prone for a large catalog.",solution:"A custom import pipeline that pulls products from drivingi.com and creates variable products in WooCommerce with every variation, correct pricing, stock availability and full image galleries.",technicalImplementation:"Custom product feed parsing, WooCommerce product/variation CRUD, attribute and variation mapping, image download into the media library, and stock/price field mapping.",outcome:"The full catalog was imported with all variations, pricing, stock and images â ready for sale without manual re-entry.",relatedServiceHref:"/services/woocommerce-development/api-integration",relatedServiceLabel:"WooCommerce API Integration"},{slug:"spanish-course-react-rebuild",title:"Spanish Course Website Rebuild with ReactJS",category:"Headless WordPress",description:"Complete UI rebuild of a Spanish course website â custom REST endpoints powering a ReactJS frontend with membership and ACF-based content.",tools:["ReactJS","WordPress REST API","ACF","Membership"],image:"https://cdn.prod.website-files.com/68656f93c6517a9f0078673b/68cbb6988c6b5e4df8fc8ba5_dreaming-spanish-og.jpg",liveUrl:"https://github.com/alisaleem252",results:"Modern React frontend on WordPress",problem:"The client's Spanish course website needed a complete UI overhaul with a modern, fast frontend while keeping WordPress as the content and course backend.",existingSetup:"A WordPress site running the Coursecats theme, with no custom API layer and a frontend limited by the theme's templates.",solution:"Rebuilt the entire UI as a ReactJS application that consumes custom WordPress REST endpoints, using ACF for structured content fields and a membership plugin for course access control.",technicalImplementation:"ReactJS frontend, custom WordPress REST API endpoints, ACF flexible content fields, and membership plugin integration for gated course content.",outcome:"A modern, fast user experience with WordPress still powering content, course structure and membership â no loss of existing backend workflows.",relatedServiceHref:"/services/headless-wordpress-integration/rest-api-react",relatedServiceLabel:"WordPress REST API for React Apps"}];function Q5(e){return np.find(n=>n.slug===e)}function Z5(){const[e,n]=y.useState([]),[i,o]=y.useState(!0),[l,d]=y.useState(8),[u,m]=y.useState(!1);y.useEffect(()=>{const b=()=>{const k=window.innerWidth<768;m(k),d(k?4:8)};return b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[]),y.useEffect(()=>{fetch("https://alisaleem252.com/portfolio.json").then(b=>b.json()).then(b=>{n(b),o(!1)}).catch(b=>{console.error("Error fetching portfolio:",b),o(!1)})},[]);const f=()=>{d(b=>b+(u?4:8))},h=l<e.length,x=e.slice(0,l),v=np;return r.jsx("section",{id:"projects",className:"py-20 bg-secondary/20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-5xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Trusted by Leading Brands Worldwide"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto mb-2",children:"Delivering exceptional WordPress solutions to businesses across diverse industries and markets"}),r.jsxs("div",{className:"flex items-center justify-center gap-6 mt-4",children:[r.jsxs("div",{className:"text-center",children:[r.jsxs("div",{className:"text-3xl font-bold text-primary",children:[e.length,"+"]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Global Clients"})]}),r.jsxs("div",{className:"text-center",children:[r.jsxs("div",{className:"text-3xl font-bold text-primary",children:[e.reduce((b,k)=>
466b+(k.Employees||0),0).toLocaleString(),"+"]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Combined Team Size"})]}),r.jsxs("div",{className:"text-center",children:[r.jsxs("div",{className:"text-3xl font-bold text-primary",children:[Math.floor(e.reduce((b,k)=>b+(k.Social||0),0)/1e3),"K+"]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Social Reach"})]})]})]}),i?r.jsxs("div",{className:"text-center py-12",children:[r.jsx("div",{className:"inline-block animate-spin rounded-full h-12 w-12 border-4 border-primary border-t-transparent"}),r.jsx("p",{className:"mt-4 text-muted-foreground",children:"Loading client portfolio..."})]}):r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 mb-8",children:x.map((b,k)=>r.jsx(I.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},transition:{duration:.5,delay:k*.05},viewport:{once:!0},whileHover:{y:-8,scale:1.02},className:"group",children:r.jsxs(X,{className:"h-full bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/60 hover:shadow-xl transition-all duration-300 overflow-hidden",children:[r.jsxs("div",{className:"relative overflow-hidden bg-gradient-to-br from-primary/5 to-secondary/5",children:[r.jsx(pr,{src:`https://alisaleem252.com/portfolio/Portoflio/${b.Domain}.jpg`,alt:`${b.Company} - WordPress client project`,className:"w-full h-48 object-cover object-top group-hover:scale-105 transition-transform duration-500"}),r.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
466parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),r.jsx("div",{className:"absolute inset-0 bg-primary/90 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:r.jsxs(ie,{size:"sm",variant:"secondary",className:"bg-white text-primary hover:bg-white/90",onClick:()=>window.open(`https://${b.Domain}`,"_blank"),children:[r.jsx(Os,{className:"h-4 w-4 mr-2"}),"Visit Website"]})}),r.jsx("div",{className:"absolute top-3 left-3 bg-primary text-white px-3 py-1 rounded-full text-xs font-medium shadow-lg",children:b.Vertical||"Business"}),b.Tranco&&b.Tranco<1e4&&r.jsxs("div",{className:"absolute top-3 right-3 bg-gradient-to-r from-yellow-400 to-orange-500 text-white px-3 py-1 rounded-full text-xs font-medium shadow-lg flex items-center gap-1",children:[r.jsx(sE,{className:"h-3 w-3"}),"Top ",b.Tranco.toLocaleString()]})]}),r.jsxs(Q,{className:"p-5",children:[r.jsx("h3",{className:"font-bold text-foreground mb-3 text-base leading-tight group-hover:text-primary transition-colors",style:{fontFamily:"Poppins"},children:b.Company}),r.jsxs("div",{className:"flex items-center gap-2 mb-3 text-sm text-muted-foreground",children:[r.jsx(Os,{className:"h-4 w-4 text-primary"}),r.jsx("span",{className:"truncate",children:b.Domain})]}),r.jsxs("div",{className:"grid grid-cols-2 gap-3 pt-3 border-t border-border/50",children:[r.jsxs("div",{className:"flex items-start gap-2",children:[r.jsx(_l,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground",children:"Location"}),r.jsx("div",{className:"text-xs font-medium text-foreground",children:b.City||b.State||b.Country})]})]}),b.Employees>0&&r.jsxs("div",{className:"flex items-start gap-2",children:[r.jsx(so,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground",children:"Team"}),r.jsxs("div",{className:"text-xs font-medium text-foreground",children:[b.Employees,"+ people"]})]})]}),b.Social>0&&r.jsxs("div",{className:"flex items-start gap-2 col-span-2",children:[r.jsx(Ur,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsxs("div",{children:[r.jsx("div",{className:"text-xs text-muted-foreground",children:"Social Reach"}),r.jsxs("div",{className:"text-xs font-medium text-foreground",children:[b.Social.toLocaleString()," followers"]})]})]})]}),r.jsx("div",{className:"mt-4 pt-3 border-t border-border/50",children:r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("span",{className:"text-xs text-green-600 font-medium flex items-center gap-1",children:[r.jsx("span",{className:"w-2 h-2 bg-green-500 rounded-full animate-pulse"}),"Active Client"]}),r.jsx("span",{className:"text-xs text-muted-foreground",children:"WordPress Expert"})]})})]})]})},b.Domain))}),h&&r.jsx(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-20",children:r.jsx(ie,{size:"lg",className:"bg-primary hover:bg-primary/90 px-12 p-4",onClick:f,children:"Load More"})})]}),r.jsx(I.div,{initial:{opacity:0}
466,whileInView:{opacity:1},transition:{duration:.8},viewport:{once:!0},className:"mb-20",children:r.jsx("div",{className:"h-px bg-gradient-to-r from-transparent via-border to-transparent"})}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Featured Projects - Custom WordPress Solutions"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Showcasing custom WordPress plugins, themes, and integrations. Each project represents a unique solution with proven results and satisfied clients."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:v.map((b,k)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:k*.1},viewport:{once:!0},whileHover:{y:-5},className:"group",children:r.jsxs(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 overflow-hidden",children:[r.jsxs("div",{className:"relative overflow-hidden",children:[r.jsx(pr,{src:b.image,alt:`${b.title} - WordPress development project`,className:"w-full h-40 object-cover group-hover:scale-110 transition-transform duration-300"}),r.jsx("div",{className:"absolute inset-0 bg-primary/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center",children:r.jsxs(ie,{size:"sm",className:"bg-primary hover:bg-primary/90",onClick:()=>window.open(b.liveUrl,"_blank"),children:[r.jsx(hn,{className:"h-4 w-4 mr-2"}),"View Details"]})}),r.jsx("div",{className:"absolute top-2 left-2 bg-primary/90 text-white px-2 py-1 rounded text-xs",children:b.category}),r.jsxs("div",{className:"absolute top-2 right-2 bg-green-500/90 text-white px-2 py-1 rounded text-xs",children:[r.jsx(Ur,{className:"h-3 w-3 inline mr-1"}),"Success"]})]}),r.jsxs(Q,{className:"p-4",children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2 text-sm leading-tight",style:{fontFamily:"Poppins"},children:b.title}),r.jsx("p",{className:"text-muted-foreground mb-3 text-xs leading-relaxed line-clamp-3",children:b.description}),r.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:b.tools.slice(0,3).map(C=>r.jsx("span",{className:"px-2 py-1 bg-primary/10 text-primary rounded text-xs",children:C},C))}),r.jsxs("div",{className:"text-xs text-green-600 font-medium mb-3",children:["â ",b.results]}),r.jsx(xe,{to:`/case-studies/${b.slug}`,children:r.jsxs(ie,{size:"sm",variant:"outline",className:"w-full text-xs border-primary/40 text-primary hover:bg-primary hover:text-white",children:[r.jsx(CE,{className:"h-3 w-3 mr-1"}),"Read Case Study"]})})]})]})},b.title))}),r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"mt-8 text-center",children:r.jsx(xe,{to:"/case-studies",children:r.jsxs(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",children:["View All Case Studies",r.jsx(hn,{className:"ml-2 h-4 w-4"})]})})}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-12 text-center",children:[r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"View More Work"}),r.jsxs("div",{className:"grid md:grid-cols-4 gap-4 max-w-4xl mx-auto",children:[r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 group cursor-pointer",onClick:()=>window.open("https://www.fiverr.com/wpfixit","_blank"),children:r.jsxs(Q,{className:"p-4 text-center",children:[r.jsx("h4",{className:"font-medium text-foreground mb-2 text-sm",children:"Fiverr Profile"}),r.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:"405+ Reviews"}),r.jsxs(ie,{size:"sm",variant:"ghost",className:"text-xs h-6 px-2",children:[r.jsx(hn,{className:"h-3 w-3 mr-1"}),"View"]}
466)]})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 group cursor-pointer",onClick:()=>window.open("https://www.upwork.com/freelancers/alis71","_blank"),children:r.jsxs(Q,{className:"p-4 text-center",children:[r.jsx("h4",{className:"font-medium text-foreground mb-2 text-sm",children:"Upwork Profile"}),r.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:"Top Rated"}),r.jsxs(ie,{size:"sm",variant:"ghost",className:"text-xs h-6 px-2",children:[r.jsx(hn,{className:"h-3 w-3 mr-1"}),"View"]})]})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 group cursor-pointer",onClick:()=>window.open("https://codecanyon.net/user/alisaleem252/portfolio","_blank"),children:r.jsxs(Q,{className:"p-4 text-center",children:[r.jsx("h4",{className:"font-medium text-foreground mb-2 text-sm",children:"CodeCanyon"}),r.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:"700+ Sales"}),r.jsxs(ie,{size:"sm",variant:"ghost",className:"text-xs h-6 px-2",children:[r.jsx(hn,{className:"h-3 w-3 mr-1"}),"View"]}
466)]})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 group cursor-pointer",onClick:()=>window.open("https://webostock.com/author/alisaleem252/","_blank"),children:r.jsxs(Q,{className:"p-4 text-center",children:[r.jsx("h4",{className:"font-medium text-foreground mb-2 text-sm",children:"Webostock"}),r.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:"1100+ Sales"}),r.jsxs(ie,{size:"sm",variant:"ghost",className:"text-xs h-6 px-2",children:[r.jsx(hn,{className:"h-3 w-3 mr-1"}),"View"]})]})})]})]}),r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.6},viewport:{once:!0},className:"text-center mt-16",children:r.jsx(X,{className:"bg-gradient-to-r from-primary/10 to-secondary/20 border-primary/20 max-w-xl mx-auto",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"Ready for Your Custom Solution?"}),r.jsx("p",{className:"text-muted-foreground mb-4 text-sm",children:"Join 400+ satisfied clients who've transformed their WordPress websites with custom development."}),r.jsx(ie,{size:"lg",className:"bg-primary hover:bg-primary/90",onClick:()=>document.getElementById("contact")?.scrollIntoView({behavior:"smooth"}),children:"Start Your Project"})]})})})]})})}function J5(){const e=[{title:"Freelance WordPress Developer",company:"Self-Employed",location:"New York City, USA (Remote)",period:"2013 - Present (10+ years)",description:"Full-time freelance WordPress plugin and theme developer serving clients worldwide through multiple platforms.",achievements:["Delivered 400+ WordPress projects with 98% client satisfaction","Maintained 4.9/5 average rating across all platforms","Achieved Top Rated status on Upwork with 95% repeat client rate","Published 700+ sales on CodeCanyon and 1,100+ on Webostock","Served 400+ happy clients across diverse industries"],tools:["WordPress","PHP","WooCommerce","JavaScript","MySQL","AI APIs"],highlight:"â Top Rated Freelancer - Multiple Platforms"},{title:"Senior WordPress Plugin Developer",company:"CodeCanyon / Envato Market",location:"Remote",period:"2015 - Present",description:"Developing and selling premium WordPress plugins for global marketplace with focus on WooCommerce solutions.",achievements:["Created multiple bestselling WordPress plugins","700+ sales with consistent 5-star ratings","Specialized in payment gateway integrations and custom solutions","Provided exceptional customer support and regular updates"],tools:["Custom Plugins","WooCommerce","Payment APIs","Security","Performance"],highlight:null},{title:"WordPress Theme Developer",company:"Webostock Marketplace",location:"Remote",period:"2014 - Present",description:"Creating premium WordPress themes with advanced features and customization options.",achievements:["1,100+ theme sales demonstrating market demand","Developed responsive themes with page builder integration","Implemented advanced customizer options and settings panels","Maintained high quality standards and regular updates"],tools:["Theme Development","Custom Post Types","ACF","Page Builders","Responsive Design"],highlight:null}];return r.jsx("section",{id:"experience",className:"py-20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Work Experience"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"A decade of WordPress development excellence, delivering custom solutions to clients worldwide."})]}),r.jsx("div",{className:"max-w-4xl mx-auto",children:r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute left-4 top-0 bottom-0 w-0.5 bg-primary/20"}),e.map((n,i)=>r.jsxs(I.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:i*.2},viewport:{once:!0},className:"relative mb-12 ml-12",children:[r.jsx("div",{className:"absolute -left-8 top-6 w-4 h-4 bg-primary rounded-full border-4 border-background z-10"}),r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[n.highlight&&r.jsx("div",{className:"mb-4",children:r.jsx("span",{className:"inline-flex items-center px-3 py-1 rounded-full bg-primary/10 text-primary text-sm font-medium",children:n.highlight})}),r.jsxs("div",{className:"mb-4",children:[r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-2",style:{fontFamily:"Poppins"},children:n.title}),r.jsxs("div",{className:"flex flex-wrap gap-4 text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center",children:[r.jsx(Ur,{className:"h-4 w-4 mr-2"}),n.company]}),r.jsxs("div",{className:"flex items-center",children:[r.jsx(_l,{className:"h-4 w-4 mr-2"}),n.location]}),r.jsxs("div",{className:"flex items-center",children:[r.jsx(mr,{className:"h-4 w-4 mr-2"}),n.period]})]})]}),r.jsx("p",{className:"text-muted-foreground mb-4",children:n.description}),r.jsxs("div",{className:"mb-4",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Key Achievements:"}),r.jsx("ul",{className:"space-y-1",children:n.achievements.map((o,l)=>r.jsxs("li",{className:"flex items-start text-muted-foreground",children:[r.jsx("span",{className:"w-1 h-1 bg-primary rounded-full mr-3 mt-2 flex-shrink-0"}),r.jsx("span",{children:o})]},l))})]}),r.jsx("div",{className:"flex flex-wrap gap-2",children:n.tools.map(o=>r.jsx("span",{className:"px-2 py-1 bg-primary/10 text-primary rounded text-xs",children:o},o))})]})})]},n.title))]})})]})})}function eA(){const e=[{degree:"Computer Science",institution:"Self-Taught Developer",year:"2010 - 2013",description:"Intensive self-study in programming, web development, and WordPress ecosystem through online courses and practical projects.",grade:"Hands-on Experience"},{degree:"WordPress & PHP Specialization",institution:"Online Learning Platforms",year:"2013 - 2015",description:"Advanced training in WordPress development, PHP programming, MySQL databases, and modern web technologies.",grade:"Professional Certification"}];return r.jsx("section",{id:"education",className:"py-20 bg-secondary/20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Education & Professional Recognition"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Continuous learning and proven excellence in WordPress development across multiple platforms."})]}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-6xl mx-auto",children:[r.jsxs("div",{className:"space-y-6",children:[r.jsx(I.h3,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.6},viewport:{once:!0},className:"text-2xl font-semibold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Education & Training"}),e.map((n,i)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:i*.2},viewport:{once:!0},whileHover:{y:-5},children:r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("div",{className:"flex items-start mb-4",children:[r.jsx("div",{className:"p-3 bg-primary/10 rounded-lg mr-4",children:r.jsx(AE,{className:"h-6 w-6 text-primary"})}),r.jsxs("div",{className:"flex-1",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-1",style:{fontFamily:"Poppins"},children:n.degree}),r.jsx("p",{className:"text-muted-foreground text-sm mb-2",children:n.institution}),r.jsx("p",{className:"text-primary text-sm font-medium",children:n.year})]})]}),r.jsx("p",{className:"text-muted-foreground mb-3",children:n.description}),r.jsxs("div",{className:"flex items-center text-sm",children:[r.jsx(et,{className:"h-4 w-4 text-yellow-500 mr-1"}),r.jsx("span",{className:"text-foreground font-medium",children:n.grade})]})]})})},n.degree))]}),r.jsxs("div",{className:"space-y-6",children:[r.jsx(I.h3,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.6},viewport:{once:!0},className:"text-2xl font-semibold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Professional Recognition"}),r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.2},viewport:{once:!0},whileHover:{y:-5,scale:1.02},children:r.jsxs(X,{className:"bg-gradient-to-br from-primary/10 to-secondary/20 backdrop-blur-sm border-primary/30 hover:border-primary/50 transition-all duration-300 relative overflow-hidden",children:[r.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/10 rounded-full blur-2xl"}),r.jsx("div",{className:"absolute bottom-0 left-0 w-24 h-24 bg-secondary/20 rounded-full blur-xl"}),r.jsxs(Q,{className:"p-6 relative z-10",children:[r.jsxs("div",{className:"flex items-center mb-4",children:[r.jsx("div",{className:"p-3 bg-primary/20 rounded-full mr-4 animate-pulse",children:r.jsx(Wn,{className:"h-8 w-8 text-primary"})}),r.jsxs("div",{children:[r.jsx("h4",{className:"text-xl font-semibold text-foreground mb-1",style:{fontFamily:"Poppins"},children:"Top Rated Freelancer"}),r.jsx("p",{className:"text-muted-foreground",children:"Multiple Platforms ⢠2015 - Present"})]})]}),r.jsx("p",{className:"text-muted-foreground mb-4",children:"Achieved Top Rated status on Upwork and 405+ five-star reviews on Fiverr, demonstrating consistent excellence and client satisfaction."}),r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{className:"flex items-center text-sm text-primary",children:[r.jsx(et,{className:"h-4 w-4 mr-1 fill-current"}),r.jsx("span",{className:"font-medium",children:"Excellence Award"})]}),r.jsx("div",{className:"text-lg",children:"â"})]})]})]})}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.4},viewport:{once:!0},className:"grid gap-4",children:[r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/30 transition-all duration-300",children:r.jsx(Q,{className:"p-4",children:r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{children:[r.jsx("h5",{className:"font-medium text-foreground",children:"Marketplace Success"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"1,800+ total sales"})]}),r.jsx("div",{className:"text-2xl",children:"ð"})]})})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/30 transition-all duration-300",children:r.jsx(Q,{className:"p-4",children:r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs("div",{children:[r.jsx("h5",{className:"font-medium text-foreground",children:"Client Satisfaction"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"4.9/5 average rating"})]}),r.jsx("div",{className:"text-2xl",children:"ð¯"})]})})})]})]})]})]})})}var uu={exports:{}},mu,ay;function tA(){if(ay)return mu;ay=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return mu=e,mu}var pu,ly;
466function nA(){if(ly)return pu;ly=1;var e=tA();function n(){}function i(){}return i.resetWarningCache=n,pu=function(){function o(u,m,f,h,x,v){if(v!==e){var b=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw b.name="Invariant Violation",b}}o.isRequired=o;function l(){return o}var d={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:n};return d.PropTypes=d,d},pu}var cy;function rA(){return cy||(cy=1,uu.exports=nA()()),uu.exports}var sA=rA();const At=kl(sA);var iA=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function tm(){return tm=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},tm.apply(this,arguments)}function oA(e,n){if(e==null)return{};var i={},o=Object.keys(e),l,d;for(d=0;d<o.length;d++)l=o[d],!(n.indexOf(l)>=0)&&(i[l]=e[l]);return i}function Fa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aA(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,nm(e,n)}function nm(e,n){return nm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,l){return o.__proto__=l,o},nm(e,n)}var Fl=(function(e){aA(n,e);function n(){var o;return o=e.call(this)||this,o.handleExpired=o.handleExpired.bind(Fa(o)),o.handleErrored=o.handleErrored.bind(Fa(o)),o.handleChange=o.handleChange.bind(Fa(o)),o.handleRecaptchaRef=o.handleRecaptchaRef.bind(Fa(o)),o}var i=n.prototype;return i.getCaptchaFunction=function(l){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[l]:this.props.grecaptcha[l]:null},i.getValue=function(){var l=this.getCaptchaFunction("getResponse");return l&&this._widgetId!==void 0?l(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&this._widgetId!==void 0?this._widgetId:null},i.execute=function(){var l=this.getCaptchaFunction("execute");if(l&&this._widgetId!==void 0)return l(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var l=this;return new Promise(function(d,u){l.executionResolve=d,l.executionReject=u,l.execute()})},i.reset=function(){var l=this.getCaptchaFunction("reset");l&&this._widgetId!==void 0&&l(this._widgetId)},i.forceReset=function(){var l=this.getCaptchaFunction("reset");l&&l()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(l){this.props.onChange&&this.props.onChange(l),this.executionResolve&&(this.executionResolve(l),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var l=this.getCaptchaFunction("render");if(l&&this._widgetId===void 0){var d=document.createElement("div");this._widgetId=l(d,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(d)}this._executeRequested&&this.props.grecaptcha&&this._widgetId!==void 0&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(l){this.captcha=l},i.render=function(){var l=this.props;l.sitekey,l.onChange,l.theme,l.type,l.tabindex,l.onExpired,l.onErrored,l.size,l.stoken,l.grecaptcha,l.badge,l.hl,l.isolated;var d=oA(l,iA);return y.createElement("div",tm({},d,{ref:this.handleRecaptchaRef}))},n})(y.Component);Fl.displayName="ReCAPTCHA";Fl.propTypes={sitekey:At.string.isRequired,onChange:At.func,grecaptcha:At.object,theme:At.oneOf(["dark","light"]),type:At.oneOf(["image","audio"]),tabindex:At.number,onExpired:At.func,onErrored:At.func,size:At.oneOf(["compact","normal","invisible"]),stoken:At.string,hl:At.string,badge:At.oneOf(["bottomright","bottomleft","inline"]),isolated:At.bool};
466Fl.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var fu={exports:{}},Se={};/** @license React v16.13.1 467 * react-is.production.min.js 468 * 469 * Copyright (c) Facebook, Inc. and its affiliates. 470 * 471 * This source code is licensed under the MIT license found in the 472 * LICENSE file in the root directory of this source tree. 473 */var dy;function lA(){if(dy)return Se;dy=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,v=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,k=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function T(M){if(typeof M=="object"&&M!==null){var U=M.$$typeof;switch(U){case n:switch(M=M.type,M){case f:case h:case o:case d:case l:case v:return M;default:switch(M=M&&M.$$typeof,M){case m:case x:case C:case k:case u:return M;default:return U}}case i:return U}}}function O(M){return T(M)===h}return Se.AsyncMode=f,Se.ConcurrentMode=h,Se.ContextConsumer=m,Se.ContextProvider=u,Se.Element=n,Se.ForwardRef=x,Se.Fragment=o,Se.Lazy=C,Se.Memo=k,Se.Portal=i,Se.Profiler=d,Se.StrictMode=l,Se.Suspense=v,Se.isAsyncMode=function(M){return O(M)||T(M)===f},Se.isConcurrentMode=O,Se.isContextConsumer=function(M){return T(M)===m},Se.isContextProvider=function(M){return T(M)===u},Se.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===n},Se.isForwardRef=function(M){return T(M)===x},Se.isFragment=function(M){return T(M)===o},Se.isLazy=function(M){return T(M)===C},Se.isMemo=function(M){return T(M)===k},Se.isPortal=function(M){return T(M)===i},Se.isProfiler=function(M){return T(M)===d},Se.isStrictMode=function(M){return T(M)===l},Se.isSuspense=function(M){return T(M)===v},Se.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===o||M===h||M===d||M===l||M===v||M===b||typeof M=="object"&&M!==null&&(M.$$typeof===C||M.$$typeof===k||M.$$typeof===u||M.$$typeof===m||M.$$typeof===x||M.$$typeof===j||M.$$typeof===P||M.$$typeof===S||M.$$typeof===w)},Se.typeOf=T,Se}var uy;function cA(){return uy||(uy=1,fu.exports=lA()),fu.exports}var hu,my;function dA(){if(my)return hu;my=1;var e=cA(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[e.ForwardRef]=o,d[e.Memo]=l;function u(C){return e.isMemo(C)?l:d[C.$$typeof]||n}var m=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,x=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,b=Object.prototype;function k(C,w,j){if(typeof w!="string"){if(b){var P=v(w);P&&P!==b&&k(C,P,j)}var S=f(w);h&&(S=S.concat(h(w)));for(var T=u(C),O=u(w),M=0;M<S.length;++M){var U=S[M];if(!i[U]&&!(j&&j[U])&&!(O&&O[U])&&!(T&&T[U])){var z=x(w,U);try{m(C,U,z)}catch{}}}}return C}return hu=k,hu}var uA=dA();const mA=kl(uA);function rm(){return rm=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},rm.apply(this,arguments)}function pA(e,n){if(e==null)return{};var i={},o=Object.keys(e),l,d;for(d=0;d<o.length;d++)l=o[d],!(n.indexOf(l)>=0)&&(i[l]=e[l]);return i}function fA(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}var en={},hA=0;function gA(e,n){return n=n||{},function(o){var l=o.displayName||o.name||"Component",d=(function(m){fA(f,m);function f(x,v){var b;return b=m.call(this,x,v)||this,b.state={},b.__scriptURL="",b}var h=f.prototype;return h.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+hA++),this.__scriptLoaderID},h.setupScriptURL=function(){return this.__scriptURL=typeof e=="function"?e():e,this.__scriptURL},h.asyncScriptLoaderHandleLoad=function(v){var b=this;this.setState(v,function(){return b.props.asyncScriptOnLoad&&b.props.asyncScriptOnLoad(b.state)})},h.asyncScriptLoaderTriggerOnScriptLoaded=function(){var v=en[this.__scriptURL];if(!v||!v.loaded)throw new Error("Script is not loaded.");for(var b in v.observers)v.observers[b](v);delete window[n.callbackName]},h.componentDidMount=function(){var v=this,b=this.setupScriptURL(),k=this.asyncScriptLoaderGetScriptLoaderID(),C=n,w=C.globalName,j=C.callbackName,P=C.scriptId;if(w&&typeof window[w]<"u"&&(en[b]={loaded:!0,observers:{}}),en[b]){var S=en[b];if(S&&(S.loaded||S.errored)){this.asyncScriptLoaderHandleLoad(S);return}S.observers[k]=function(z){return v.asyncScriptLoaderHandleLoad(z)};return}var T={};T[k]=function(z){return v.asyncScriptLoaderHandleLoad(z)},en[b]={loaded:!1,observers:T};var O=document.createElement("script");O.src=b,O.async=!0;for(var M in n.attributes)O.setAttribute(M,n.attributes[M]);P&&(O.id=P);var U=function(V){if(en[b]){var oe=en[b],he=oe.observers;for(var Re in he)V(he[Re])&&delete he[Re]}};j&&typeof window<"u"&&(window[j]=function(){return v.asyncScriptLoaderTriggerOnScriptLoaded()}),O.onload=function(){var z=en[b];z&&(z.loaded=!0,U(function(V){return j?!1:(V(z),!0)}))},O.onerror=function(){var z=en[b];z&&(z.errored=!0,U(function(V){return V(z),!0}))},document.body.appendChild(O)},h.componentWillUnmount=function(){var v=this.__scriptURL;if(n.removeOnUnmount===!0)for(var b=document.getElementsByTagName("script"),k=0;k<b.length;k+=1)b[k].src.indexOf(v)>-1&&b[k].parentNode&&b[k].parentNode.removeChild(b[k]);var C=en[v];C&&(delete C.observers[this.asyncScriptLoaderGetScriptLoaderID()],n.removeOnUnmount===!0&&delete en[v])},h.render=function(){var v=n.globalName,b=this.props;b.asyncScriptOnLoad;var k=b.forwardedRef,C=pA(b,["asyncScriptOnLoad","forwardedRef"]);return v&&typeof window<"u"&&(C[v]=typeof window[v]<"u"?window[v]:void 0),C.ref=k,y.createElement(o,C)},f})(y.Component),u=y.forwardRef(function(m,f){return y.createElement(d,rm({},m,{forwardedRef:f}))});return u.displayName="AsyncScriptLoader("+l+")",u.propTypes={asyncScriptOnLoad:At.func},mA(u,o)}}var sm="onloadcallback",xA="grecaptcha";function im(){return typeof window<"u"&&window.recaptchaOptions||{}}function yA(){var e=im(),n=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+n+"/recaptcha/enterprise.js?onload="+sm+"&render=explicit":"https://"+n+"/recaptcha/api.js?onload="+sm+"&render=explicit"}const vA=gA(yA,{callbackName:sm,globalName:xA,attributes:im().nonce?{nonce:im().nonce}:{}})(Fl);var om=function(e,n){return om=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=o[l])},om(e,n)};function xo(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");om(e,n);function i(){this.constructor=e}
473e.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}var io=function(){return io=Object.assign||function(n){for(var i,o=1,l=arguments.length;o<l;o++){i=arguments[o];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])}return n},io.apply(this,arguments)};function wA(e,n){n===void 0&&(n={});var i=n.insertAt;if(!(typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",i==="top"&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}var bA=`/* 474 code is extracted from Calendly's embed stylesheet: https://assets.calendly.com/assets/external/widget.css 475*/ 476 477.calendly-inline-widget, 478.calendly-inline-widget *, 479.calendly-badge-widget, 480.calendly-badge-widget *, 481.calendly-overlay, 482.calendly-overlay * { 483 font-size: 16px; 484 line-height: 1.2em; 485} 486 487.calendly-inline-widget { 488 min-width: 320px; 489 height: 630px; 490} 491 492.calendly-inline-widget iframe, 493.calendly-badge-widget iframe, 494.calendly-overlay iframe { 495 display: inline; 496 width: 100%; 497 height: 100%; 498} 499 500.calendly-popup-content { 501 position: relative; 502} 503 504.calendly-popup-content.calendly-mobile { 505 -webkit-overflow-scrolling: touch; 506 overflow-y: auto; 507} 508 509.calendly-overlay { 510 position: fixed; 511 top: 0; 512 left: 0; 513 right: 0; 514 bottom: 0; 515 overflow: hidden; 516 z-index: 9999; 517 background-color: #a5a5a5; 518 background-color: rgba(31, 31, 31, 0.4); 519} 520 521.calendly-overlay .calendly-close-overlay { 522 position: absolute; 523 top: 0; 524 left: 0; 525 right: 0; 526 bottom: 0; 527} 528 529.calendly-overlay .calendly-popup { 530 box-sizing: border-box; 531 position: absolute; 532 top: 50%; 533 left: 50%; 534 -webkit-transform: translateY(-50%) translateX(-50%); 535 transform: translateY(-50%) translateX(-50%); 536 width: 80%; 537 min-width: 900px; 538 max-width: 1000px; 539 height: 90%; 540 max-height: 680px; 541} 542 543@media (max-width: 975px) { 544 .calendly-overlay .calendly-popup { 545 position: fixed; 546 top: 50px; 547 left: 0; 548 right: 0; 549 bottom: 0; 550 -webkit-transform: none; 551 transform: none; 552 width: 100%; 553 height: auto; 554 min-width: 0; 555 max-height: none; 556 } 557} 558 559.calendly-overlay .calendly-popup .calendly-popup-content { 560 height: 100%; 561} 562 563.calendly-overlay .calendly-popup-close { 564 position: absolute; 565 top: 25px; 566 right: 25px; 567 color: #fff; 568 width: 19px; 569 height: 19px; 570 cursor: pointer; 571 background: url(https://assets.calendly.com/assets/external/close-icon.svg) 572 no-repeat; 573 background-size: contain; 574} 575 576@media (max-width: 975px) { 577 .calendly-overlay .calendly-popup-close { 578 top: 15px; 579 right: 15px; 580 } 581} 582 583.calendly-badge-widget { 584 position: fixed; 585 right: 20px; 586 bottom: 15px; 587 z-index: 9998; 588} 589 590.calendly-badge-widget .calendly-badge-content { 591 display: table-cell; 592 width: auto; 593 height: 45px; 594 padding: 0 30px; 595 border-radius: 25px; 596 box-shadow: rgba(0, 0, 0, 0.25) 0 2px 5px; 597 font-family: sans-serif; 598 text-align: center; 599 vertical-align: middle; 600 font-weight: bold; 601 font-size: 14px; 602 color: #fff; 603 cursor: pointer; 604} 605 606.calendly-badge-widget .calendly-badge-content.calendly-white { 607 color: #666a73; 608} 609 610.calendly-badge-widget .calendly-badge-content span { 611 display: block; 612 font-size: 12px; 613} 614 615.calendly-spinner { 616 position: absolute; 617 top: 50%; 618 left: 0; 619 right: 0; 620 -webkit-transform: translateY(-50%); 621 transform: translateY(-50%); 622 text-align: center; 623 z-index: -1; 624} 625 626.calendly-spinner > div { 627 display: inline-block; 628 width: 18px; 629 height: 18px; 630 background-color: #e1e1e1; 631 border-radius: 50%; 632 vertical-align: middle; 633 -webkit-animation: calendly-bouncedelay 1.4s infinite ease-in-out; 634 animation: calendly-bouncedelay 1.4s infinite ease-in-out; 635 -webkit-animation-fill-mode: both; 636 animation-fill-mode: both; 637} 638 639.calendly-spinner .calendly-bounce1 { 640 -webkit-animation-delay: -0.32s; 641 animation-delay: -0.32s; 642} 643 644.calendly-spinner .calendly-bounce2 { 645 -webkit-animation-delay: -0.16s; 646 animation-delay: -0.16s; 647} 648 649@-webkit-keyframes calendly-bouncedelay { 650 0%, 651 80%, 652 100% { 653 -webkit-transform: scale(0); 654 transform: scale(0); 655 } 656 657 40% { 658 -webkit-transform: scale(1); 659 transform: scale(1); 660 } 661} 662 663@keyframes calendly-bouncedelay { 664 0%, 665 80%, 666 100% { 667 -webkit-transform: scale(0); 668 transform: scale(0); 669 } 670 671 40% { 672 -webkit-transform: scale(1); 673 transform: scale(1); 674 } 675} 676`;wA(bA);function gu(e){return e.charAt(0)==="#"?e.slice(1):e}function jA(e){return e?.primaryColor&&(e.primaryColor=gu(e.primaryColor)),e?.textColor&&(e.textColor=gu(e.textColor)),e?.backgroundColor&&(e.backgroundColor=gu(e.backgroundColor)),e}var Wr;(function(e){e.PROFILE_PAGE_VIEWED="calendly.profile_page_viewed",e.EVENT_TYPE_VIEWED="calendly.event_type_viewed",e.DATE_AND_TIME_SELECTED="calendly.date_and_time_selected",e.EVENT_SCHEDULED="calendly.event_scheduled",e.PAGE_HEIGHT="calendly.page_height"})(Wr||(Wr={}));var rw=function(e){var n=e.url,i=e.prefill,o=i===void 0?{}:i,l=e.pageSettings,d=l===void 0?{}:l,u=e.utm,m=u===void 0?{}:u,f=e.embedType,h=jA(d),x=h.backgroundColor,v=h.hideEventTypeDetails,b=h.hideLandingPageDetails,k=h.primaryColor,C=h.textColor,w=h.hideGdprBanner,j=o.customAnswers,P=o.date,S=o.email,T=o.firstName,O=o.guests,M=o.lastName,U=o.location,z=o.name,V=m.utmCampaign,oe=m.utmContent,he=m.utmMedium,Re=m.utmSource,Ge=m.utmTerm,qe=m.salesforce_uuid,Be=n.indexOf("?"),_e=Be>-1,Ie=n.slice(Be+1),me=_e?n.slice(0,Be):n,F=[_e?Ie:null,x?"background_color=".concat(x):null,v?"hide_event_type_details=1":null,b?"hide_landing_page_details=1":null,k?"primary_color=".concat(k):null,C?"text_color=".concat(C):null,w?"hide_gdpr_banner=1":null,z?"name=".concat(encodeURIComponent(z)):null,U?"location=".concat(encodeURIComponent(U)):null,T?"first_name=".concat(encodeURIComponent(T)):null,M?"last_name=".concat(encodeURIComponent(M)):null,O?"guests=".concat(O.map(encodeURIComponent).join(",")):null,S?"email=".concat(encodeURIComponent(S)):null,P&&P instanceof Date?"date=".concat(NA(P)):null,V?"utm_campaign=".concat(encodeURIComponent(V)):null,oe?"utm_content=".concat(encodeURIComponent(oe)):null,he?"utm_medium=".concat(encodeURIComponent(he)):null,Re?"utm_source=".concat(encodeURIComponent(Re)):null,Ge?"utm_term=".concat(encodeURIComponent(Ge)):null,qe?"salesforce_uuid=".concat(encodeURIComponent(qe)):null,f?"embed_type=".concat(f):null,"embed_domain=1"].concat(j?kA(j):[]).filter(function(re){return re!==null}).join("&");return"".concat(me,"?").concat(F)},NA=function(e){var n=e.getMonth()+1,i=e.getDate(),o=e.getFullYear();return[o,n<10?"0".concat(n):n,i<10?"0".concat(i):i].join("-")},PA=/^a\d{1,2}$/,kA=function(e){var n=Object.keys(e).filter(function(i){return i.match(PA)});return n.length?n.map(function(i){return"".concat(i,"=").concat(encodeURIComponent(e[i]))}):[]},sw=(function(e){xo(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n.prototype.render=function(){return y.createElement("div",{className:"calendly-spinner"},y.createElement("div",{className:"calendly-bounce1"}),y.createElement("div",{className:"calendly-bounce2"}),y.createElement("div",{className:"calendly-bounce3"}))},n})(y.Component),CA="calendly-inline-widget",SA=(function(e){xo(n,e);function n(i){var o=e.call(this,i)||this;return o.state={isLoading:!0},o.onLoad=o.onLoad.bind(o),o}return n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var i=rw({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"Inline"}),o=this.props.LoadingSpinner||sw;return y.createElement("div",{className:this.props.className||CA,style:this.props.styles||{}},this.state.isLoading&&y.createElement(o,null),y.createElement("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:i}))},n})(y.Component),EA=(function(e){xo(n,e);function n(i){var o=e.call(this,i)||this;return o.state={isLoading:!0},o.onLoad=o.onLoad.bind(o),o}return n.prototype.onLoad=function(){this.setState({isLoading:!1})},n.prototype.render=function(){var i=rw({url:this.props.url,pageSettings:this.props.pageSettings,prefill:this.props.prefill,utm:this.props.utm,embedType:"Inline"}),o=this.props.LoadingSpinner||sw;return y.createElement(y.Fragment,null,this.state.isLoading&&y.createElement(o,null),y.createElement("iframe",{width:"100%",height:"100%",frameBorder:"0",title:this.props.iframeTitle||"Calendly Scheduling Page",onLoad:this.onLoad,src:i}))},n})(y.Component),iw=(function(e){if(!e.open)return null;if(!e.rootElement)throw new Error("[react-calendly]: PopupModal rootElement property cannot be undefined");return ym.createPortal(y.createElement("div",{className:"calendly-overlay"},y.createElement("div",{onClick:e.onModalClose,className:"calendly-close-overlay"}),y.createElement("div",{className:"calendly-popup"},y.createElement("div",{className:"calendly-popup-content"},y.createElement(EA,io({},e)))),y.createElement("button",{className:"calendly-popup-close",onClick:e.onModalClose,"aria-label":"Close modal",style:{display:"block",border:"none",padding:0}})),e.rootElement)});(function(e){xo(n,e);function n(i){var o=e.call(this,i)||this;return o.state={isOpen:!1},o.onClick=o.onClick.bind(o),o.onClose=o.onClose.bind(o),o}return n.prototype.onClick=function(i){i.preventDefault(),this.setState({isOpen:!0})},n.prototype.onClose=function(i){i.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return y.createElement(y.Fragment,null,y.createElement("button",{onClick:this.onClick,style:this.props.styles||{},className:this.props.className||""},this.props.text),y.createElement(iw,io({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))},n})(y.Component);(function(e){xo(n,e);function n(i){var o=e.call(this,i)||this;return o.state={isOpen:!1},o.onClick=o.onClick.bind(o),o.onClose=o.onClose.bind(o),o}return n.prototype.onClick=function(){this.setState({isOpen:!0})},n.prototype.onClose=function(i){i.stopPropagation(),this.setState({isOpen:!1})},n.prototype.render=function(){return y.createElement("div",{className:"calendly-badge-widget",onClick:this.onClick},y.createElement("div",{className:"calendly-badge-content",style:{background:this.props.color||"#00a2ff",color:this.props.textColor||"#ffffff"}},this.props.text||"Schedule time with me",this.props.branding&&y.createElement("span",null,"powered by Calendly")),y.createElement(iw,io({},this.props,{open:this.state.isOpen,onModalClose:this.onClose,rootElement:this.props.rootElement})))},n})(y.Component);var py="message";function AA(e){var n=e||{},i=n.onDateAndTimeSelected,o=n.onEventScheduled,l=n.onEventTypeViewed,d=n.onProfilePageViewed,u=n.onPageHeightResize;y.useEffect(function(){var m=function(f){var h=f.data.event;h===Wr.DATE_AND_TIME_SELECTED?i&&i(f):h===Wr.EVENT_SCHEDULED?o&&o(f):h===Wr.EVENT_TYPE_VIEWED?l&&l(f):h===Wr.PROFILE_PAGE_VIEWED?d&&d(f):h===Wr.PAGE_HEIGHT&&u&&u(f)};return window.addEventListener(py,m),function(){window.removeEventListener(py,m)}},[e])}function On({className:e,type:n,...i}){return r.jsx("input",{type:n,"data-slot":"input",className:ht("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border px-3 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i})}function TA({className:e,...n}){return r.jsx("textarea",{"data-slot":"textarea",className:ht("resize-none border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-input-background px-3 py-2 text-base transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...n})}const fy="https://calendly.com/alisaleem252/30min";function RA(){const[e,n]=y.useState("message"),[i,o]=y.useState(!1),[l,d]=y.useState({name:"",email:"",message:"",projectType:""}),[u,m]=y.useState(!1),f=y.useRef(null);AA({onEventScheduled:k=>{const C=k.data.payload??{},w=C.invitee??{},j=C.event??{};o(!0),fetch("/api/contact.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"calendly",name:w.name??"",email:w.email??"",event:"Free 30-Minute Discovery Call",start:j.start_time?new Date(j.start_time).toLocaleStr
676ing("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",timeZoneName:"short"}):"",uri:j.uri??"",browserName:navigator.userAgent,browserLanguage:navigator.language,screenRes:`${window.screen.width}x${window.screen.height}`,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,pageUrl:window.location.href})}).catch(()=>{})}});const h=async k=>{k.preventDefault();const C=f.current?.getValue();if(!C){alert("Please complete the reCAPTCHA verification");return}m(!0);try{const j=await(await fetch("/api/contact.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...l,recaptchaToken:C,browserName:navigator.userAgent,browserLanguage:navigator.language,screenRes:`${window.screen.width}x${window.screen.height}`,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,pageUrl:window.location.href})})).json();j.success?(alert("Message sent successfully! I'll get back to you within 24 hours."),d({name:"",email:"",message:"",projectType:""}),f.current?.reset()):alert(j.message||"Failed to send message. Please try again.")}catch(w){console.error("Form submission error:",w),alert("An error occurred. Please try again or contact me directly via email.")}finally{m(!1)}},x=k=>{d({...l,[k.target.name]:k.target.value})},v=[{icon:r.jsx(_l,{className:"h-5 w-5"}),title:"Location",content:"Available Globally",detail:"Available for remote work worldwide",link:null},{icon:r.jsx(i4,{className:"h-5 w-5"}),title:"WhatsApp",content:"+92 316 461 5153",detail:"Quick messaging and calls",link:"https://wa.me/923164615153"},{icon:r.jsx($r,{className:"h-5 w-5"}),title:"Availability",content:"24/7 Support Available",detail:"Flexible hours for international clients",link:null}],b=["Custom WordPress Plugin","WordPress Theme Development","WooCommerce Extension","Payment Gateway Integration","AI Integration","WordPress Fix/Bug","Monthly Development","Other"];return r.jsx("section",{id:"contact",className:"py-20",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-12",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Let's Bring Your Vision to Life"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto mb-10",children:"Ready to transform your online presence? Send me a message or book a free 30-minute discovery call â let's explore how we can work together."}),r.jsxs("div",{className:"inline-flex items-center bg-card/50 backdrop-blur-sm border border-border/50 rounded-2xl p-1.5 gap-1",children:[r.jsxs("button",{onClick:()=>n("message"),className:`relative flex items-center gap-2 px-6 py-3 rounded-xl text-sm font-semibold transition-all duration-300 ${e==="message"?"bg-primary text-primary-foreground shadow-lg shadow-primary/25":"text-muted-foreground hover:text-foreground"}`,children:[r.jsx(Kx,{className:"h-4 w-4"}),"Send a Message"]}),r.jsxs("button",{onClick:()=>n("book"),className:`relative flex items-center gap-2 px-6 py-3 rounded-xl text-sm font-semibold transition-all duration-300 ${e==="book"?"bg-primary text-primary-foreground shadow-lg shadow-primary/25":"text-muted-foreground hover:text-foreground"}`,children:[r.jsx(mr,{className:"h-4 w-4"}),"Book a Free Call",r.jsx("span",{className:"absolute -top-1.5 -right-1.5 bg-green-500 text-white text-[10px] font-bold px-1.5 py-0.5 rounded-full leading-none",children:"FREE"})]})]})]}),r.jsx(Es,{mode:"wait",children:e==="message"?r.jsx(I.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},exit:{opacity:0,y:-24},transition:{duration:.4},children:r.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 max-w-6xl mx-auto",children:[r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-8",children:[r.jsxs("div",{className:"flex items-center mb-6",children:[r.jsx(Kx,{className:"h-6 w-6 text-primary mr-3"}),r.jsx("h3",{className:"text-2xl font-semibold text-foreground",style:{fontFamily:"Poppins"},children:"Start Your Project"})]}),r.jsx("p",{className:"text-muted-foreground mb-6",children:"Tell me about your project and let's discuss how I can help you achieve your goals. I'll get back to you within 24 hours with a detailed response."}),r.jsxs("form",{onSubmit:h,className:"space-y-6",children:[r.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Your Name *"}),r.jsx(On,{name:"name",placeholder:"Enter your full name",value:l.name,onChange:x,required:!0,className:"bg-input-background border-border/50 focus:border-primary"})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Email Address *"}),r.jsx(On,{name:"email",type:"email",placeholder:"[email protected]",value:l.email,onChange:x,required:!0,className:"bg-input-background border-border/50 focus:border-primary"})]})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Project Type"}
676),r.jsxs("select",{name:"projectType",value:l.projectType,onChange:x,className:"w-full p-3 bg-input-background border border-border/50 focus:border-primary rounded-lg text-foreground",children:[r.jsx("option",{value:"",children:"Select your project type"}),b.map(k=>r.jsx("option",{value:k,children:k},k))]})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Project Details *"}),r.jsx(TA,{name:"message",placeholder:"Tell me about your project goals, timeline, and any specific requirements...",value:l.message,onChange:x,required:!0,rows:6,className:"bg-input-background border-border/50 focus:border-primary resize-none"})]}),r.jsx("div",{className:"flex justify-center",children:r.jsx(vA,{ref:f,sitekey:"6Le5exAsAAAAABjTUHx3bYQuJJv9iOyU52fEr4z6",theme:"light"})}),r.jsxs(ie,{type:"submit",disabled:u,className:"w-full bg-primary hover:bg-primary/90 transition-all duration-300 disabled:opacity-50",size:"lg",children:[r.jsx(u4,{className:"mr-2 h-4 w-4"}),u?"Sendingâ¦":"Send Message & Get Free Quote"]})]})]})}),r.jsxs("div",{className:"space-y-6",children:[r.jsx("h3",{className:"text-2xl font-semibold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Get in Touch"}),v.map((k,C)=>r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.4,delay:C*.1},viewport:{once:!0},whileHover:{scale:1.02},children:r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start",children:[r.jsx("div",{className:"p-3 bg-primary/10 rounded-lg mr-4 flex-shrink-0",children:r.jsx("div",{className:"text-primary",children:k.icon})}),r.jsxs("div",{className:"flex-1",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-1",children:k.title}),k.link?r.jsx("a",{href:k.link,className:"text-primary hover:text-primary/80 transition-colors duration-300 font-medium",children:k.content}):r.jsx("p",{className:"text-foreground font-medium",children:k.content}),r.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:k.detail})]})]})})})},k.title)),r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.4},viewport:{once:!0},className:"mt-8",children:r.jsx(X,{className:"bg-gradient-to-br from-primary/10 to-secondary/20 border-primary/20",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Why Choose Me?"}),r.jsx("div",{className:"space-y-3",children:["Free consultation and project analysis","Transparent pricing with no hidden costs","Regular updates throughout development","Post-launch support and maintenance"].map(k=>r.jsxs("div",{className:"flex items-center",children:[r.jsx("span",{className:"w-2 h-2 bg-primary rounded-full mr-3"}),r.jsx("span",{className:"text-sm text-foreground",children:k})]},k))})]})})})]})]})},"message"):r.jsx(I.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},exit:{opacity:0,y:-24},transition:{duration:.4},className:"max-w-6xl mx-auto",children:i?r.jsxs(I.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},transition:{duration:.5,type:"spring"},className:"text-center py-20",children:[r.jsx("div",{className:"inline-flex items-center justify-center w-24 h-24 rounded-full bg-green-500/10 border-2 border-green-500/30 mb-6",children:r.jsx(ml,{className:"h-12 w-12 text-green-500"})}),r.jsx("h3",{className:"text-3xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"You're All Set! ð"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-md mx-auto mb-8",children:"Your 30-minute discovery call has been booked. Check your inbox for a confirmation email â see you soon!"}),r.jsx(ie,{onClick:()=>o(!1),variant:"outline",className:"border-primary/50 text-primary hover:bg-primary/10",children:"Book Another Time"})]}):r.jsxs("div",{className:"grid lg:grid-cols-5 gap-8",children:[r.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[r.jsxs(X,{className:"bg-gradient-to-br from-primary/20 via-primary/10 to-card/50 border-primary/30 backdrop-blur-sm overflow-hidden relative",children:[r.jsx("div",{className:"absolute top-0 right-0 w-40 h-40 bg-primary/5 rounded-full -translate-y-1/2 translate-x-1/2"}),r.jsxs(Q,{className:"p-8 relative",children:[r.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[r.jsx("div",{className:"p-3 bg-primary/20 rounded-2xl",children:r.jsx(mr,{className:"h-7 w-7 text-primary"})}),r.jsxs("div",{children:[r.jsx("p",{className:"text-xs font-semibold text-primary uppercase tracking-widest",children:"Free Discovery Call"}),r.jsx("h3",{className:"text-xl font-bold text-foreground",style:{fontFamily:"Poppins"},children:"30-Minute Strategy Session"})]})]}),r.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:"Let's talk about your project, understand your goals, and map out exactly how I can help you build something exceptional."})]})]}),r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("h4",{className:"font-semibold text-foreground mb-5 flex items-center gap-2",children:[r.jsx(cr,{className:"h-4 w-4 text-primary"}),"What to Expect"]}),r.jsx("div",{className:"space-y-4",children:[{icon:r.jsx($r,{className:"h-4 w-4"}
676),text:"30 minutes, no fluff",sub:"Focused and efficient session"},{icon:r.jsx(M4,{className:"h-4 w-4"}),text:"Video or voice call",sub:"Google Meet, Zoom, or your preference"},{icon:r.jsx(Os,{className:"h-4 w-4"}),text:"Any timezone",sub:"Flexible scheduling worldwide"},{icon:r.jsx(ml,{className:"h-4 w-4"}),text:"Completely free",sub:"Zero commitment, zero cost"}].map(k=>r.jsxs("div",{className:"flex items-start gap-3",children:[r.jsx("div",{className:"p-2 bg-primary/10 rounded-lg flex-shrink-0 text-primary",children:k.icon}),r.jsxs("div",{children:[r.jsx("p",{className:"text-sm font-semibold text-foreground",children:k.text}),r.jsx("p",{className:"text-xs text-muted-foreground",children:k.sub})]})]},k.text))})]})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("div",{className:"flex items-center gap-1 mb-3",children:[[...Array(5)].map((k,C)=>r.jsx(et,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"},C)),r.jsx("span",{className:"text-xs text-muted-foreground ml-1",children:"5.0 · 50+ clients"})]}),r.jsx("p",{className:"text-sm text-muted-foreground italic",children:'"Ali understood my requirements perfectly in the very first call. The project was delivered on time and exceeded expectations!"'}),r.jsx("p",{className:"text-xs text-primary font-semibold mt-2",children:"â Verified Fiverr Review"})]})}),r.jsxs("a",{href:fy,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 w-full py-3 px-4 rounded-xl border border-primary/30 text-primary text-sm font-medium hover:bg-primary/10 transition-all duration-300",children:["Open in Calendly ",r.jsx(ut,{className:"h-4 w-4"})]})]}),r.jsx("div",{className:"lg:col-span-3",children:r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 overflow-hidden",children:r.jsxs(Q,{className:"p-0",children:[r.jsxs("div",{className:"px-6 pt-6 pb-2 border-b border-border/50 flex items-center gap-3",children:[r.jsxs("div",{className:"flex gap-1.5",children:[r.jsx("span",{className:"w-3 h-3 rounded-full bg-red-400/70"}),r.jsx("span",{className:"w-3 h-3 rounded-full bg-yellow-400/70"}),r.jsx("span",{className:"w-3 h-3 rounded-full bg-green-400/70"})]}),r.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:"calendly.com/alisaleem252/30min"})]}),r.jsx(SA,{url:fy,styles:{height:"660px",minWidth:"300px"},pageSettings:{backgroundColor:"transparent",hideEventTypeDetails:!1,hideLandingPageDetails:!1,primaryColor:"6366f1",textColor:"f1f5f9"}})]})})})]})},"book")}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-20",children:[r.jsx("h3",{className:"text-2xl font-semibold text-foreground mb-8 text-center",style:{fontFamily:"Poppins"},children:"Frequently Asked Questions"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"How long does a typical project take?"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Most WordPress projects are completed within 2-6 weeks, depending on complexity. I'll provide a detailed timeline during our initial consultation."})]})}),r.jsx(X,{className:"bg-card/30 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h4",{className:"font-semibold text-foreground mb-2",children:"Do you provide ongoing support?"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Yes! I offer comprehensive maintenance packages including security updates, performance monitoring, and content updates to keep your site running smoothly."})]})})]})]})]})})}function ft({title:e,description:n,keywords:i,ogTitle:o,ogDescription:l,ogImage:d,ogUrl:u,twitterCard:m="summary_large_image"}){return y.useEffect(()=>{document.title=e;const f=(h,x,v=!1)=>{const b=v?"property":"name";let k=document.querySelector(`meta[${b}="${h}"]`);k||(k=document.createElement("meta"),k.setAttribute(b,h),document.head.appendChild(k)),k.setAttribute("content",x)};return f("description",n),i&&f("keywords",i),f("og:title",o||e,!0),f("og:description",l||n,!0),f("og:type","website",!0),u&&f("og:url",u,!0),d&&f("og:image",d,!0),f("twitter:card",m),f("twitter:title",o||e),f("twitter:description",l||n),d&&f("twitter:image",d),()=>{document.title="Ali Saleem - WordPress Developer"}},[e,n,i,o,l,d,u,m]),null}function hy(){return r.jsxs(r.Fragment,{children:[r.jsx(ft,{title:"Ali Saleem | Custom WordPress & WooCommerce Development",description:"Custom WordPress plugins, WooCommerce development, API integrations and AI-powered solutions when off-the-shelf plugins aren't enough. 10+ years experience, 400+ projects, 400+ happy clients.",keywords:"WordPress Developer, Custom WordPress Plugin Development, WooCommerce Development, WordPress API Integration, WordPress Theme Development, AI Integration WordPress, Payment Gateway Integration",ogTitle:"Ali Saleem - Custom WordPress & WooCommerce Development",ogDescription:"Custom plugins, WooCommerce functionality, API integrations and AI-powered WordPress solutions for c
676omplex business requirements. 400+ projects delivered, 400+ happy clients.",ogUrl:window.location.href,ogImage:window.location.origin+"/favicon.ico"}),r.jsx(B5,{}),r.jsx(U5,{}),r.jsx(G5,{}),r.jsx(Y5,{}),r.jsx(H5,{}),r.jsx(Z5,{}),r.jsx(J5,{}),r.jsx(eA,{}),r.jsx(RA,{})]})}function vn(e,n,{checkForDefaultPrevented:i=!0}={}){return function(l){if(e?.(l),i===!1||!l.defaultPrevented)return n?.(l)}}function IA(e,n){const i=y.createContext(n),o=d=>{const{children:u,...m}=d,f=y.useMemo(()=>m,Object.values(m));return r.jsx(i.Provider,{value:f,children:u})};o.displayName=e+"Provider";function l(d){const u=y.useContext(i);if(u)return u;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${e}\``)}return[o,l]}function Ol(e,n=[]){let i=[];function o(d,u){const m=y.createContext(u),f=i.length;i=[...i,u];const h=v=>{const{scope:b,children:k,...C}=v,w=b?.[e]?.[f]||m,j=y.useMemo(()=>C,Object.values(C));return r.jsx(w.Provider,{value:j,children:k})};h.displayName=d+"Provider";function x(v,b){const k=b?.[e]?.[f]||m,C=y.useContext(k);if(C)return C;if(u!==void 0)return u;throw new Error(`\`${v}\` must be used within \`${d}\``)}return[h,x]}const l=()=>{const d=i.map(u=>y.createContext(u));return function(m){const f=m?.[e]||d;return y.useMemo(()=>({[`__scope${e}`]:{...m,[e]:f}}),[m,f])}};return l.scopeName=e,[o,MA(l,...n)]}function MA(...e){const n=e[0];if(e.length===1)return n;const i=()=>{const o=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(d){const u=o.reduce((m,{useScope:f,scopeName:h})=>{const v=f(d)[`__scope${h}`];return{...m,...v}},{});return y.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return i.scopeName=n.scopeName,i}var Vs=globalThis?.document?y.useLayoutEffect:()=>{},DA=um[" useId ".trim().toString()]||(()=>{}),LA=0;function Xi(e){const[n,i]=y.useState(DA());return Vs(()=>{i(o=>o??String(LA++))},[e]),e||(n?`radix-${n}`:"")}var WA=um[" useInsertionEffect ".trim().toString()]||Vs;function Vl({prop:e,defaultProp:n,onChange:i=()=>{},caller:o}){const[l,d,u]=_A({defaultProp:n,onChange:i}),m=e!==void 0,f=m?e:l;{const x=y.useRef(e!==void 0);y.useEffect(()=>{const v=x.current;v!==m&&console.warn(`${o} is changing from ${v?"controlled":"uncontrolled"} to ${m?"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.`),x.current=m},[m,o])}const h=y.useCallback(x=>{if(m){const v=FA(x)?x(e):x;v!==e&&u.current?.(v)}else d(x)},[m,e,d,u]);return[f,h]}function _A({defaultProp:e,onChange:n}){const[i,o]=y.useState(e),l=y.useRef(i),d=y.useRef(n);return WA(()=>{d.current=n},[n]),y.useEffect(()=>{l.current!==i&&(d.current?.(i),l.current=i)},[i,l]),[i,o,d]}function FA(e){return typeof e=="function"}function OA(e){const n=VA(e),i=y.forwardRef((o,l)=>{const{children:d,...u}=o,m=y.Children.toArray(d),f=m.find($A);if(f){const h=f.props.children,x=m.map(v=>v===f?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:v);return r.jsx(n,{...u,ref:l,children:y.isValidElement(h)?y.cloneElement(h,void 0,x):null})}return r.jsx(n,{...u,ref:l,children:d})});return i.displayName=`${e}.Slot`,i}function VA(e){const n=y.forwardRef((i,o)=>{const{children:l,...d}=i;
vendor: 4,496 bytes, line 676
676if(y.isValidElement(l)){const u=UA(l),m=BA(d,l.props);return l.type!==y.Fragment&&(m.ref=o?go(o,u):u),y.cloneElement(l,m)}return y.Children.count(l)>1?y.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var zA=Symbol("radix.slottable");function $A(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zA}function BA(e,n){const i={...n};for(const o in n){const l=e[o],d=n[o];/^on[A-Z]/.test(o)?l&&d?i[o]=(...m)=>{const f=d(...m);return l(...m),f}:l&&(i[o]=l):o==="style"?i[o]={...l,...d}:o==="className"&&(i[o]=[l,d].filter(Boolean).join(" "))}return{...e,...i}}function UA(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var HA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Mt=HA.reduce((e,n)=>{const i=OA(`Primitive.${n}`),o=y.forwardRef((l,d)=>{const{asChild:u,...m}=l,f=u?i:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(f,{...m,ref:d})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});function GA(e,n){e&&ym.flushSync(()=>e.dispatchEvent(n))}function oo(e){const n=y.useRef(e);return y.useEffect(()=>{n.current=e}),y.useMemo(()=>(...i)=>n.current?.(...i),[])}function qA(e,n=globalThis?.document){const i=oo(e);y.useEffect(()=>{const o=l=>{l.key==="Escape"&&i(l)};return n.addEventListener("keydown",o,{capture:!0}),()=>n.removeEventListener("keydown",o,{capture:!0})},[i,n])}var KA="DismissableLayer",am="dismissableLayer.update",YA="dismissableLayer.pointerDownOutside",XA="dismissableLayer.focusOutside",gy,ow=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),aw=y.forwardRef((e,n)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:u,onDismiss:m,...f}=e,h=y.useContext(ow),[x,v]=y.useState(null),b=x?.ownerDocument??globalThis?.document,[,k]=y.useState({}),C=an(n,z=>v(z)),w=Array.from(h.layers),[j]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),P=w.indexOf(j),S=x?w.indexOf(x):-1,T=h.layersWithOutsidePointerEventsDisabled.size>0,O=S>=P,M=JA(z=>{const V=z.target,oe=[...h.branches].some(he=>he.contains(V));!O||oe||(l?.(z),u?.(z),z.defaultPrevented||m?.())},b),U=e3(z=>{const V=z.target;[...h.branches].some(he=>he.contains(V))||(d?.(z),u?.(z),z.defaultPrevented||m?.())},b);return qA(z=>{S===h.layers.size-1&&(o?.(z),!z.defaultPrevented&&m&&(z.preventDefault(),m()))},b),y.useEffect(()=>{if(x)return i&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(gy=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(x)),h.layers.add(x),xy(),()=>{i&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=gy)}},[x,b,i,h]),y.useEffect(()=>()=>{x&&(h.layers.delete(x),h.layersWithOutsidePointerEventsDisabled.delete(x),xy())},[x,h]),y.useEffect(()=>{const z=()=>k({});return document.addEventListener(am,z),()=>document.removeEventListener(am,z)},[]),r.jsx(Mt.div,{...f,ref:C,style:{pointerEvents:T?O?"auto":"none":void 0,...e.style},onFocusCapture:vn(e.onFocusCapture,U.onFocusCapture),onBlurCapture:vn(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:vn(e.onPointerDownCapture,M.onPointerDownCapture)})});aw.displayName=KA;var QA="DismissableLayerBranch",ZA=y.forwardRef((e,n)=>{const i=y.useContext(ow),o=y.useRef(null),l=an(n,o);return y.useEffect(()=>{const d=o.current;if(d)return i.branches.add(d),()=>{i.branches.delete(d)}},[i.branches]),r.jsx(Mt.div,{...e,ref:l})});ZA.displayName=QA;function JA(e,n=globalThis?.document){const i=oo(e),o=y.useRef(!1),l=y.useRef(()=>{});return y.useEffect(()=>{const d=m=>{if(m.target&&!o.current){let f=function(){lw(YA,i,h,{discrete:!0})};const h={originalEvent:m};m.pointerType==="touch"?(n.removeEventListener("click",l.current),l.current=f,n.addEventListener("click",l.current,{once:!0})):f()}else n.removeEventListener("click",l.current);o.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",d),n.removeEventListener("click",l.current)}},[n,i]),{onPointerDownCapture:()=>o.current=!0}}function e3(e,n=globalThis?.document){const i=oo(e),o=y.useRef(!1);return y.useEffect(()=>{const l=d=>
676{d.target&&!o.current&&lw(XA,i,{originalEvent:d},{discrete:!1})};return n.addEventListener("focusin",l),()=>n.removeEventListener("focusin",l)},[n,i]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function xy(){const e=new CustomEvent(am);document.dispatchEvent(e)}function lw(e,n,i,{discrete:o}){const l=i.originalEvent.target,d=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:i});n&&l.addEventListener(e,n,{once:!0}),o?GA(l,d):l.dispatchEvent(d)}var xu="focusScope.autoFocusOnMount",yu="focusScope.autoFocusOnUnmount",yy={bubbles:!1,cancelable:!0},t3="FocusScope",cw=y.forwardRef((e,n)=>{const{loop:i=!1,trapped:o=!1,onMountAutoFocus:l,onUnmountAutoFocus:d,...u}=e,[m,f]=y.useState(null),h=oo(l),x=oo(d),v=y.useRef(null),b=an(n,w=>f(w)),k=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(o){let w=function(T){if(k.paused||!m)return;const O=T.target;m.contains(O)?v.current=O:lr(v.current,{select:!0})},j=function(T){if(k.paused||!m)return;const O=T.relatedTarget;O!==null&&(m.contains(O)||lr(v.current,{select:!0}))},P=function(T){if(document.activeElement===document.body)for(const M of T)M.removedNodes.length>0&&lr(m)};document.addEventListener("focusin",w),document.addEventListener("focusout",j);const S=new MutationObserver(P);return m&&S.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",j),S.disconnect()}}},[o,m,k.paused]),y.useEffect(()=>{if(m){wy.add(k);const w=document.activeElement;if(!m.contains(w)){const P=new CustomEvent(xu,yy);m.addEventListener(xu,h),m.dispatchEvent(P),P.defaultPrevented||(n3(a3(dw(m)),{select:!0}),document.activeElement===w&&lr(m))}return()=>{m.removeEventListener(xu,h),setTimeout(()=>{const P=new CustomEvent(yu,yy);m.addEventListener(yu,x),m.dispatchEvent(P),P.defaultPrevented||lr(w??document.body,{select:!0}),m.removeEventListener(yu,x),wy.remove(k)},0)}}},[m,h,x,k]);const C=y.useCallback(w=>{if(!i&&!o||k.paused)return;const j=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,P=document.activeElement;if(j&&P){const S=w.currentTarget,[T,O]=r3(S);T&&O?!w.shiftKey&&P===O?(w.preventDefault(),i&&lr(T,{select:!0})):w.shiftKey&&P===T&&(w.preventDefault(),i&&lr(O,{select:!0})):P===S&&w.preventDefault()}},[i,o,k.paused]);return r.jsx(Mt.div,{tabIndex:-1,...u,ref:b,onKeyDown:C})});cw.displayName=t3;function n3(e,{select:n=!1}={}){const i=document.activeElement;for(const o of e)if(lr(o,{select:n}),document.activeElement!==i)return}function r3(e){const n=dw(e),i=vy(n,e),o=vy(n.reverse(),e);return[i,o]}function dw(e){const n=[],i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const l=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||l?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)n.push(i.currentNode);return n}function vy(e,n){for(const i of e)if(!s3(i,{upTo:n}))return i}function s3(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function i3(e){return e instanceof HTMLInputElement&&"select"in e}function lr(e,{select:n=!1}={}){if(e&&e.focus){const i=document.activeElement;e.focus({preventScroll:!0}),e!==i&&i3(e)&&n&&e.select()}}var wy=o3();function o3(){let e=[];return{add(n){const i=e[0];n!==i&&i?.pause(),e=by(e,n),e.unshift(n)},remove(n){e=by(e,n),e[0]?.resume()}}}function by(e,n){const i=[...e],o=i.indexOf(n);return o!==-1&&i.splice(o,1),i}function a3(e){return e.filter(n=>n.tagName!=="A")}var l3="Portal",uw=y.forwardRef((e,n)=>{const{container:i,...o}=e,[l,d]=y.useState(!1);Vs(()=>d(!0),[]);const u=i||l&&globalThis?.document?.body;return u?IN.createPortal(r.jsx(Mt.div,{...o,ref:n}),u):null});uw.displayName=l3;function c3(e,n){return y.useReducer((i,o)=>n[i][o]??i,e)}var yo=e=>{const{present:n,children:i}=e,o=d3(n),l=typeof i=="function"?i({present:o.isPresent}):y.Children.only(i),d=an(o.ref,u3(l));return typeof i=="function"||o.isPresent?y.cloneElement(l,{ref:d}):null};yo.displayName="Presence";function d3(e){const[n,i]=y.useState(),o=y.useRef(null),l=y.useRef(e),d=y.useRef("none"),u=e?"mounted":"unmounted",[m,f]=c3(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const h=Oa(o.current);d.current=m==="mounted"?h:"none"},[m]),Vs(()=>{const h=o.current,x=l.current;if(x!==e){const b=d.current,k=Oa(h);e?f("MOUNT"):k==="none"||h?.display==="none"?f("UNMOUNT"):f(x&&b!==k?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,f]),Vs(()=>
vendor: 4,277 bytes, line 676
676{if(n){let h;const x=n.ownerDocument.defaultView??window,v=k=>{const w=Oa(o.current).includes(CSS.escape(k.animationName));if(k.target===n&&w&&(f("ANIMATION_END"),!l.current)){const j=n.style.animationFillMode;n.style.animationFillMode="forwards",h=x.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=j)})}},b=k=>{k.target===n&&(d.current=Oa(o.current))};return n.addEventListener("animationstart",b),n.addEventListener("animationcancel",v),n.addEventListener("animationend",v),()=>{x.clearTimeout(h),n.removeEventListener("animationstart",b),n.removeEventListener("animationcancel",v),n.removeEventListener("animationend",v)}}else f("ANIMATION_END")},[n,f]),{isPresent:["mounted","unmountSuspended"].includes(m),ref:y.useCallback(h=>{o.current=h?getComputedStyle(h):null,i(h)},[])}}function Oa(e){return e?.animationName||"none"}function u3(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var vu=0;function m3(){y.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??jy()),document.body.insertAdjacentElement("beforeend",e[1]??jy()),vu++,()=>{vu===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),vu--}},[])}function jy(){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 gn=function(){return gn=Object.assign||function(n){for(var i,o=1,l=arguments.length;o<l;o++){i=arguments[o];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(n[d]=i[d])}return n},gn.apply(this,arguments)};function mw(e,n){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l<o.length;l++)n.indexOf(o[l])<0&&Object.prototype.propertyIsEnumerable.call(e,o[l])&&(i[o[l]]=e[o[l]]);return i}function p3(e,n,i){if(i||arguments.length===2)for(var o=0,l=n.length,d;o<l;o++)(d||!(o in n))&&(d||(d=Array.prototype.slice.call(n,0,o)),d[o]=n[o]);return e.concat(d||Array.prototype.slice.call(n))}var rl="right-scroll-bar-position",sl="width-before-scroll-bar",f3="with-scroll-bars-hidden",h3="--removed-body-scroll-bar-size";function wu(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function g3(e,n){var i=y.useState(function(){return{value:e,callback:n,facade:{get current(){return i.value},set current(o){var l=i.value;l!==o&&(i.value=o,i.callback(o,l))}}}})[0];return i.callback=n,i.facade}var x3=typeof window<"u"?y.useLayoutEffect:y.useEffect,Ny=new WeakMap;function y3(e,n){var i=g3(null,function(o){return e.forEach(function(l){return wu(l,o)})});return x3(function(){var o=Ny.get(i);if(o){var l=new Set(o),d=new Set(e),u=i.current;l.forEach(function(m){d.has(m)||wu(m,null)}),d.forEach(function(m){l.has(m)||wu(m,u)})}Ny.set(i,e)},[e]),i}function v3(e){return e}function w3(e,n){n===void 0&&(n=v3);var i=[],o=!1,l={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(d){var u=n(d,o);return i.push(u),function(){i=i.filter(function(m){return m!==u})}},assignSyncMedium:function(d){for(o=!0;i.length;){var u=i;i=[],u.forEach(d)}i={push:function(m){return d(m)},filter:function(){return i}}},assignMedium:function(d){o=!0;var u=[];if(i.length){var m=i;i=[],m.forEach(d),u=i}var f=function(){var x=u;u=[],x.forEach(d)},h=function(){return Promise.resolve().then(f)};h(),i={push:function(x){u.push(x),h()},filter:function(x){return u=u.filter(x),i}}}};return l}function b3(e){e===void 0&&(e={});var n=w3(null);return n.options=gn({async:!0,ssr:!1},e),n}var pw=function(e){var n=e.sideCar,i=mw(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=n.read();if(!o)throw new Error("Sidecar medium not found");return y.createElement(o,gn({},i))};
vendor: 15,064 bytes, lines 676-716
676pw.isSideCarExport=!0;function j3(e,n){return e.useMedium(n),pw}var fw=b3(),bu=function(){},zl=y.forwardRef(function(e,n){var i=y.useRef(null),o=y.useState({onScrollCapture:bu,onWheelCapture:bu,onTouchMoveCapture:bu}),l=o[0],d=o[1],u=e.forwardProps,m=e.children,f=e.className,h=e.removeScrollBar,x=e.enabled,v=e.shards,b=e.sideCar,k=e.noRelative,C=e.noIsolation,w=e.inert,j=e.allowPinchZoom,P=e.as,S=P===void 0?"div":P,T=e.gapMode,O=mw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=b,U=y3([i,n]),z=gn(gn({},O),l);return y.createElement(y.Fragment,null,x&&y.createElement(M,{sideCar:fw,removeScrollBar:h,shards:v,noRelative:k,noIsolation:C,inert:w,setCallbacks:d,allowPinchZoom:!!j,lockRef:i,gapMode:T}),u?y.cloneElement(y.Children.only(m),gn(gn({},z),{ref:U})):y.createElement(S,gn({},z,{className:f,ref:U}),m))});zl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};zl.classNames={fullWidth:sl,zeroRight:rl};var N3=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function P3(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=N3();return n&&e.setAttribute("nonce",n),e}function k3(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function C3(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var S3=function(){var e=0,n=null;return{add:function(i){e==0&&(n=P3())&&(k3(n,i),C3(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},E3=function(){var e=S3();return function(n,i){y.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&i])}},hw=function(){var e=E3(),n=function(i){var o=i.styles,l=i.dynamic;return e(o,l),null};return n},A3={left:0,top:0,right:0,gap:0},ju=function(e){return parseInt(e||"",10)||0},T3=function(e){var n=window.getComputedStyle(document.body),i=n[e==="padding"?"paddingLeft":"marginLeft"],o=n[e==="padding"?"paddingTop":"marginTop"],l=n[e==="padding"?"paddingRight":"marginRight"];return[ju(i),ju(o),ju(l)]},R3=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return A3;var n=T3(e),i=document.documentElement.clientWidth,o=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,o-i+n[2]-n[0])}},I3=hw(),Ws="data-scroll-locked",M3=function(e,n,i,o){var l=e.left,d=e.top,u=e.right,m=e.gap;return i===void 0&&(i="margin"),` 677 .`.concat(f3,` { 678 overflow: hidden `).concat(o,`; 679 padding-right: `).concat(m,"px ").concat(o,`; 680 } 681 body[`).concat(Ws,`] { 682 overflow: hidden `).concat(o,`; 683 overscroll-behavior: contain; 684 `).concat([n&&"position: relative ".concat(o,";"),i==="margin"&&` 685 padding-left: `.concat(l,`px; 686 padding-top: `).concat(d,`px; 687 padding-right: `).concat(u,`px; 688 margin-left:0; 689 margin-top:0; 690 margin-right: `).concat(m,"px ").concat(o,`; 691 `),i==="padding"&&"padding-right: ".concat(m,"px ").concat(o,";")].filter(Boolean).join(""),` 692 } 693 694 .`).concat(rl,` { 695 right: `).concat(m,"px ").concat(o,`; 696 } 697 698 .`).concat(sl,` { 699 margin-right: `).concat(m,"px ").concat(o,`; 700 } 701 702 .`).concat(rl," .").concat(rl,` { 703 right: 0 `).concat(o,`; 704 } 705 706 .`).concat(sl," .").concat(sl,` { 707 margin-right: 0 `).concat(o,`; 708 } 709 710 body[`).concat(Ws,`] { 711 `).concat(h3,": ").concat(m,`px; 712 } 713`)},Py=function(){var e=parseInt(document.body.getAttribute(Ws)||"0",10);return isFinite(e)?e:0},D3=function(){y.useEffect(function(){return document.body.setAttribute(Ws,(Py()+1).toString()),function(){var e=Py()-1;e<=0?document.body.removeAttribute(Ws):document.body.setAttribute(Ws,e.toString())}},[])},L3=function(e){var n=e.noRelative,i=e.noImportant,o=e.gapMode,l=o===void 0?"margin":o;D3();var d=y.useMemo(function(){return R3(l)},[l]);return y.createElement(I3,{styles:M3(d,!n,l,i?"":"!important")})},lm=!1;if(typeof window<"u")try{var Va=Object.defineProperty({},"passive",{get:function(){return lm=!0,!0}});window.addEventListener("test",Va,Va),window.removeEventListener("test",Va,Va)}catch{lm=!1}var ks=lm?{passive:!1}:!1,W3=function(e){return e.tagName==="TEXTAREA"},gw=function(e,n){if(!(e instanceof Element))return!1;var i=window.getComputedStyle(e);return i[n]!=="hidden"&&!(i.overflowY===i.overflowX&&!W3(e)&&i[n]==="visible")},_3=function(e){return gw(e,"overflowY")},F3=function(e){return gw(e,"overflowX")},ky=function(e,n){var i=n.ownerDocument,o=n;do{typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&(o=o.host);var l=xw(e,o);if(l){var d=yw(e,o),u=d[1],m=d[2];if(u>m)return!0}o=o.parentNode}while(o&&o!==i.body);return!1},O3=function(e){var n=e.scrollTop,i=e.scrollHeight,o=e.clientHeight;return[n,i,o]},V3=function(e){var n=e.scrollLeft,i=e.scrollWidth,o=e.clientWidth;return[n,i,o]},xw=function(e,n){return e==="v"?_3(n):F3(n)},yw=function(e,n){return e==="v"?O3(n):V3(n)},z3=function(e,n){return e==="h"&&n==="rtl"?-1:1},$3=function(e,n,i,o,l){var d=z3(e,window.getComputedStyle(n).direction),u=d*o,m=i.target,f=n.contains(m),h=!1,x=u>0,v=0,b=0;do{if(!m)break;var k=yw(e,m),C=k[0],w=k[1],j=k[2],P=w-j-d*C;(C||P)&&xw(e,m)&&(v+=P,b+=C);var S=m.parentNode;m=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!f&&m!==document.body||f&&(n.contains(m)||n===m));return(x&&Math.abs(v)<1||!x&&Math.abs(b)<1)&&(h=!0),h},za=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cy=function(e){return[e.deltaX,e.deltaY]},Sy=function(e){return e&&"current"in e?e.current:e},B3=function(e,n){return e[0]===n[0]&&e[1]===n[1]},U3=function(e){return` 714 .block-interactivity-`.concat(e,` {pointer-events: none;} 715 .allow-interactivity-`).concat(e,` {pointer-events: all;} 716`)},H3=0,Cs=[];function G3(e){var n=y.useRef([]),i=y.useRef([0,0]),o=y.useRef(),l=y.useState(H3++)[0],d=y.useState(hw)[0],u=y.useRef(e);y.useEffect(function(){u.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(l));var w=p3([e.lockRef.current],(e.shards||[]).map(Sy),!0).filter(Boolean);return w.forEach(function(j){return j.classList.add("allow-interactivity-".concat(l))}),function(){document.body.classList.remove("block-interactivity-".concat(l)),w.forEach(function(j){return j.classList.remove("allow-interactivity-".concat(l))})}}},[e.inert,e.lockRef.current,e.shards]);var m=y.useCallback(function(w,j){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!u.current.allowPinchZoom;var P=za(w),S=i.current,T="deltaX"in w?w.deltaX:S[0]-P[0],O="deltaY"in w?w.deltaY:S[1]-P[1],M,U=w.target,z=Math.abs(T)>Math.abs(O)?"h":"v";if("touches"in w&&z==="h"&&U.type==="range")return!1;var V=ky(z,U);if(!V)return!0;if(V?M=z:(M=z==="v"?"h":"v",V=ky(z,U)),!V)return!1;if(!o.current&&"changedTouches"in w&&(T||O)&&(o.current=M),!M)return!0;var oe=o.current||M;return $3(oe,j,w,oe==="h"?T:O)},[]),f=y.useCallback(function(w){var j=w;if(!(!Cs.length||Cs[Cs.length-1]!==d)){var P="deltaY"in j?Cy(j):za(j),S=n.current.filter(function(M){return M.name===j.type&&(M.target===j.target||j.target===M.shadowParent)&&B3(M.delta,P)})[0];if(S&&S.should){j.cancelable&&j.preventDefault();return}if(!S){var T=(u.current.shards||[]).map(Sy).filter(Boolean).filter(function(M){return M.contains(j.target)}),O=T.length>0?m(j,T[0]):!u.current.noIsolation;O&&j.cancelable&&j.preventDefault()}}},[]),h=y.useCallback(function(w,j,P,S){var T={name:w,delta:j,target:P,should:S,shadowParent:q3(P)};n.current.push(T),setTimeout(function(){n.current=n.current.filter(function(O){return O!==T})},1)},[]),x=y.useCallback(function(w){i.current=za(w),o.current=void 0},[]),v=y.useCallback(function(w){h(w.type,Cy(w),w.target,m(w,e.lockRef.current))},[]),b=y.useCallback(function(w){h(w.type,za(w),w.target,m(w,e.lockRef.current))},[]);y.useEffect(function(){return Cs.push(d),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:b}),document.addEventListener("wheel",f,ks),document.addEventListener("touchmove",f,ks),document.addEventListener("touchstart",x,ks),function(){Cs=Cs.filter(function(w){return w!==d}),document.removeEventListener("wheel",f,ks),document.removeEventListener("touchmove",f,ks),document.removeEventListener("touchstart",x,ks)}},[]);var k=e.removeScrollBar,C=e.inert;return y.createElement(y.Fragment,null,C?y.createElement(d,{styles:U3(l)}):null,k?y.createElement(L3,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function q3(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const K3=j3(fw,G3);var vw=y.forwardRef(function(e,n){return y.createElement(zl,gn({},e,{ref:n,sideCar:K3}))});vw.classNames=zl.classNames;var Y3=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},Ss=new WeakMap,$a=new WeakMap,Ba={},Nu=0,ww=function(e){return e&&(e.host||ww(e.parentNode))},X3=function(e,n){return n.map(function(i){if(e.contains(i))return i;var o=ww(i);return o&&e.contains(o)?o:(console.error("aria-hidden",i,"in not contained inside",e,". Doing nothing"),null)}).filter(function(i){return!!i})},Q3=function(e,n,i,o){var l=X3(n,Array.isArray(e)?e:[e]);Ba[i]||(Ba[i]=new WeakMap);var d=Ba[i],u=[],m=new Set,f=new Set(l),h=function(v){!v||m.has(v)||(m.add(v),h(v.parentNode))};l.forEach(h);var x=function(v){!v||f.has(v)||Array.prototype.forEach.call(v.children,function(b){if(m.has(b))x(b);else try{var k=b.getAttribute(o),C=k!==null&&k!=="false",w=(Ss.get(b)||0)+1,j=(d.get(b)||0)+1;Ss.set(b,w),d.set(b,j),u.push(b),w===1&&C&&$a.set(b,!0),j===1&&b.setAttribute(i,"true"),C||b.setAttribute(o,"true")}catch(P){console.error("aria-hidden: cannot operate on ",b,P)}})};return x(n),m.clear(),Nu++,function(){u.forEach(function(v){var b=Ss.get(v)-1,k=d.get(v)-1;Ss.set(v,b),d.set(v,k),b||($a.has(v)||v.removeAttribute(o),$a.delete(v)),k||v.removeAttribute(i)}),Nu--,Nu||(Ss=new WeakMap,Ss=new WeakMap,$a=new WeakMap,Ba={})}},Z3=function(e,n,i){i===void 0&&(i="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),l=Y3(e);return l?(o.push.apply(o,Array.from(l.querySelectorAll("[aria-live], script"))),Q3(o,l,i,"aria-hidden")):function(){return null}};function J3(e){const n=eT(e),i=y.forwardRef((o,l)=>{const{children:d,...u}=o,m=y.Children.toArray(d),f=m.find(nT);if(f){const h=f.props.children,x=m.map(v=>v===f?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:v);return r.jsx(n,{...u,ref:l,children:y.isValidElement(h)?y.cloneElement(h,void 0,x):null})}return r.jsx(n,{...u,ref:l,children:d})});return i.displayName=`${e}.Slot`,i}function eT(e){const n=y.forwardRef((i,o)=>{const{children:l,...d}=i;if(y.isValidElement(l)){const u=sT(l),m=rT(d,l.props);return l.type!==y.Fragment&&(m.ref=o?go(o,u):u),y.cloneElement(l,m)}return y.Children.count(l)>1?y.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var tT=Symbol("radix.slottable");function nT(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tT}function rT(e,n){const i={...n};for(const o in n){const l=e[o],d=n[o];/^on[A-Z]/.test(o)?l&&d?i[o]=(...m)=>{const f=d(...m);return l(...m),f}:l&&(i[o]=l):o==="style"?i[o]={...l,...d}:o==="className"&&(i[o]=[l,d].filter(Boolean).join(" "))}return{...e,...i}}function sT(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}var $l="Dialog",[bw]=Ol($l),[iT,ln]=bw($l),jw=e=>{const{__scopeDialog:n,children:i,open:o,defaultOpen:l,onOpenChange:d,modal:u=!0}=e,m=y.useRef(null),f=y.useRef(null),[h,x]=Vl({prop:o,defaultProp:l??!1,onChange:d,caller:$l});return r.jsx(iT,{scope:n,triggerRef:m,contentRef:f,contentId:Xi(),titleId:Xi(),descriptionId:Xi(),open:h,onOpenChange:x,onOpenToggle:y.useCallback(()=>x(v=>!v),[x]),modal:u,children:i})};jw.displayName=$l;var Nw="DialogTrigger",oT=y.forwardRef((e,n)=>{const{__scopeDialog:i,...o}=e,l=ln(Nw,i),d=an(n,l.triggerRef);return r.jsx(Mt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":ip(l.open),...o,ref:d,onClick:vn(e.onClick,l.onOpenToggle)})});oT.displayName=Nw;var rp="DialogPortal",[aT,Pw]=bw(rp,{forceMount:void 0}),kw=e=>{const{__scopeDialog:n,forceMount:i,children:o,container:l}=e,d=ln(rp,n);return r.jsx(aT,{scope:n,forceMount:i,children:y.Children.map(o,u=>r.jsx(yo,{present:i||d.open,children:r.jsx(uw,{asChild:!0,container:l,children:u})}))})};kw.displayName=rp;var jl="DialogOverlay",Cw=y.forwardRef((e,n)=>{const i=Pw(jl,e.__scopeDialog),{forceMount:o=i.forceMount,...l}=e,d=ln(jl,e.__scopeDialog);return d.modal?r.jsx(yo,{present:o||d.open,children:r.jsx(cT,{...l,ref:n})}):null});Cw.displayName=jl;var lT=J3("DialogOverlay.RemoveScroll"),cT=y.forwardRef((e,n)=>{const{__scopeDialog:i,...o}=e,l=ln(jl,i);return r.jsx(vw,{as:lT,allowPinchZoom:!0,shards:[l.contentRef],children:r.jsx(Mt.div,{"data-state":ip(l.open),...o,ref:n,style:{pointerEvents:"auto",...o.style}})})}),Hr="DialogContent",Sw=y.forwardRef((e,n)=>{const i=Pw(Hr,e.__scopeDialog),{forceMount:o=i.forceMount,...l}=e,d=ln(Hr,e.__scopeDialog);return r.jsx(yo,{present:o||d.open,children:d.modal?r.jsx(dT,{...l,ref:n}):r.jsx(uT,{...l,ref:n})})});Sw.displayName=Hr;var dT=y.forwardRef((e,n)=>{const i=ln(Hr,e.__scopeDialog),o=y.useRef(null),l=an(n,i.contentRef,o);return y.useEffect(()=>{const d=o.current;if(d)return Z3(d)},[]),r.jsx(Ew,{...e,ref:l,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:vn(e.onCloseAutoFocus,d=>{d.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:vn(e.onPointerDownOutside,d=>{const u=d.detail.originalEvent,m=u.button===0&&u.ctrlKey===!0;(u.button===2||m)&&d.preventDefault()}),onFocusOutside:vn(e.onFocusOutside,d=>d.preventDefault())})}),uT=y.forwardRef((e,n)=>{const i=ln(Hr,e.__scopeDialog),o=y.useRef(!1),l=y.useRef(!1);return r.jsx(Ew,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:d=>{e.onCloseAutoFocus?.(d),d.defaultPrevented||(o.current||i.triggerRef.current?.focus(),d.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:d=>{e.onInteractOutside?.(d),d.defaultPrevented||(o.current=!0,d.detail.originalEvent.type==="pointerdown"&&(l.current=!0));const u=d.target;i.triggerRef.current?.contains(u)&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&l.current&&d.preventDefault()}})}),Ew=y.forwardRef((e,n)=>{const{__scopeDialog:i,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:d,...u}=e,m=ln(Hr,i),f=y.useRef(null),h=an(n,f);return m3(),r.jsxs(r.Fragment,{children:[r.jsx(cw,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:d,children:r.jsx(aw,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":ip(m.open),...u,ref:h,onDismiss:()=>m.onOpenChange(!1)})}),r.jsxs(r.Fragment,{children:[r.jsx(mT,{titleId:m.titleId}),r.jsx(fT,{contentRef:f,descriptionId:m.descriptionId})]})]})}
716),sp="DialogTitle",Aw=y.forwardRef((e,n)=>{const{__scopeDialog:i,...o}=e,l=ln(sp,i);return r.jsx(Mt.h2,{id:l.titleId,...o,ref:n})});Aw.displayName=sp;var Tw="DialogDescription",Rw=y.forwardRef((e,n)=>{const{__scopeDialog:i,...o}=e,l=ln(Tw,i);return r.jsx(Mt.p,{id:l.descriptionId,...o,ref:n})});Rw.displayName=Tw;var Iw="DialogClose",Mw=y.forwardRef((e,n)=>{const{__scopeDialog:i,...o}=e,l=ln(Iw,i);return r.jsx(Mt.button,{type:"button",...o,ref:n,onClick:vn(e.onClick,()=>l.onOpenChange(!1))})});Mw.displayName=Iw;function ip(e){return e?"open":"closed"}var Dw="DialogTitleWarning",[KR,Lw]=IA(Dw,{contentName:Hr,titleName:sp,docsSlug:"dialog"}),mT=({titleId:e})=>{const n=Lw(Dw),i=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 717 718If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 719 720For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(i))},[i,e]),null},pT="DialogDescriptionWarning",fT=({contentRef:e,descriptionId:n})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Lw(pT).contentName}}.`;return y.useEffect(()=>{const l=e.current?.getAttribute("aria-describedby");n&&l&&(document.getElementById(n)||console.warn(o))},[o,e,n]),null},hT=jw,gT=kw,xT=Cw,yT=Sw,vT=Aw,wT=Rw,bT=Mw;function Gr({...e}){return r.jsx(hT,{"data-slot":"dialog",...e})}function jT({...e}){return r.jsx(gT,{"data-slot":"dialog-portal",...e})}function NT({className:e,...n}){return r.jsx(xT,{"data-slot":"dialog-overlay",className:ht("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...n})}function qr({className:e,children:n,...i}){return r.jsxs(jT,{"data-slot":"dialog-portal",children:[r.jsx(NT,{}),r.jsxs(yT,{"data-slot":"dialog-content",className:ht("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...i,children:[n,r.jsxs(bT,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[r.jsx(F0,{}),r.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function Kr({className:e,...n}){return r.jsx("div",{"data-slot":"dialog-header",className:ht("flex flex-col gap-2 text-center sm:text-left",e),...n})}function Yr({className:e,...n}){return r.jsx("div",{"data-slot":"dialog-footer",className:ht("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...n})}function Xr({className:e,...n}){return r.jsx(vT,{"data-slot":"dialog-title",className:ht("text-lg leading-none font-semibold",e),...n})}function Qr({className:e,...n}){return r.jsx(wT,{"data-slot":"dialog-description",className:ht("text-muted-foreground text-sm",e),...n})}var PT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],kT=PT.reduce((e,n)=>{const i=V0(`Primitive.${n}`),o=y.forwardRef((l,d)=>{const{asChild:u,...m}=l,f=u?i:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(f,{...m,ref:d})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{}),CT="Label",Ww=y.forwardRef((e,n)=>r.jsx(kT.label,{...e,ref:n,onMouseDown:i=>{i.target.closest("button, input, select, textarea")||(e.onMouseDown?.(i),!i.defaultPrevented&&i.detail>1&&i.preventDefault())}}));Ww.displayName=CT;var ST=Ww;function Zr({className:e,...n}){return r.jsx(ST,{"data-slot":"label",className:ht("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...n})}function xr({initialReviews:e=9,title:n="Client Reviews & Testimonials",showTitle:i=!0}){const[o,l]=y.useState([]),[d,u]=y.useState([]),[m,f]=y.useState(!0),[h,x]=y.useState(e);y.useEffect(()=>{(async()=>{try{const S=await(await fetch("https://alisaleem252.com/reviews.json")).json();l(S),u(S.slice(0,e)),Dn.viewReviews()}catch(P){console.error("Failed to fetch reviews:",P),Dn.trackError("Failed to fetch reviews","Reviews Component")}finally{f(!1)}})()},[e]);const v=()=>{const j=h+6;
720x(j),u(o.slice(0,j)),Dn.trackEvent("click","Reviews","Load More Reviews")},b=j=>{const P=j.match(/\d+/g);if(!P)return 5;const S=P.reduce((T,O)=>T+parseInt(O),0);return Math.round(S/P.length)},k=j=>new Date(j).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),C=()=>o.length===0?5:(o.reduce((P,S)=>P+b(S["star rating"]),0)/o.length).toFixed(1),w=({rating:j})=>r.jsx("div",{className:"flex items-center gap-1",children:[1,2,3,4,5].map(P=>r.jsx(et,{className:`h-4 w-4 ${P<=j?"fill-yellow-400 text-yellow-400":"fill-gray-300 text-gray-300"}`},P))});return m?r.jsx("section",{className:"py-20",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs("div",{className:"text-center",children:[r.jsx("div",{className:"inline-block animate-spin rounded-full h-12 w-12 border-b-2 border-primary"}),r.jsx("p",{className:"mt-4 text-muted-foreground",children:"Loading reviews..."})]})})}):r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[i&&r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:n}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Don't just take my word for it. Here's what my clients say about working with me."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-7xl mx-auto",children:d.map((j,P)=>{const S=b(j["star rating"]),T=j["customer name"];return r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:P*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[r.jsxs("div",{className:"relative flex-shrink-0",children:[r.jsx("img",{src:`https://i.pravatar.cc/250?u=${T}`,alt:T,className:"w-12 h-12 rounded-full object-cover ring-2 ring-primary/20"}),j.recommended==="Yes"&&r.jsx("div",{className:"absolute -bottom-1 -right-1 w-5 h-5 bg-primary rounded-full flex items-center justify-center",children:r.jsx(P4,{className:"h-3 w-3 text-white fill-current"})})]}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("h4",{className:"font-semibold text-foreground truncate",children:T}),r.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[r.jsx(w,{rating:S}),r.jsxs("span",{className:"text-xs text-muted-foreground",children:["(",S,".0)"]})]})]})]}),r.jsx("div",{className:"mb-3",children:r.jsx("span",{className:"inline-block bg-primary/10 text-primary px-3 py-1 rounded-full text-xs font-medium",children:j["product name"]})}),r.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-4 line-clamp-4",children:['"',j["review content"],'"']}),r.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[r.jsx(mr,{className:"h-3 w-3"}),k(j["review date"])]})]})})},P)})}),h<o.length&&r.jsx("div",{className:"text-center mt-8",children:r.jsxs(ie,{onClick:v,className:"bg-primary text-white px-6 py-3 rounded-full hover:bg-primary/80 transition-all duration-300",children:["Load More Reviews ",r.jsx(ul,{className:"h-4 w-4 ml-2"})]})}),r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.3},viewport:{once:!0},className:"mt-16 text-center",children:r.jsx(X,{className:"inline-block bg-gradient-to-br from-primary/10 to-secondary/20 border-primary/20",children:r.jsx(Q,{className:"p-8",children:r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-8 md:gap-12",children:[r.jsxs("div",{children:[r.jsxs("div",{className:"text-4xl font-bold text-primary mb-2",children:[o.length,"+"]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Total Reviews"})]}),r.jsxs("div",{children:[r.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[r.jsx("div",{className:"text-4xl font-bold text-primary",children:C()}),r.jsx(et,{className:"h-8 w-8 fill-yellow-400 text-yellow-400"})]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Average Rating"})]}),r.jsxs("div",{children:[r.jsxs("div",{className:"text-4xl font-bold text-primary mb-2",children:[Math.round(o.filter(j=>j.recommended==="Yes").length/o.length*100),"%"]}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Recommended"})]})]})})})})]})})}function ET(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Basic Plugin",price:200,description:"Perfect for simple functionality needs",icon:r.
720jsx(zr,{className:"h-8 w-8 text-primary"}),features:["Basic settings page","Single functionality","Front-end and back-end integration","1 Year Free Updates","Basic Documentation","1 Month Support"]},{name:"Integration Plugin",price:800,description:"Advanced integrations and features",icon:r.jsx(rn,{className:"h-8 w-8 text-primary"}),features:["Integration with payment gateways","Integration with existing plugins","Single feature integration","Custom API Endpoints","Advanced Configuration Options","6 Months Support"]},{name:"Extended Plugin",price:1200,description:"Comprehensive solution for complex needs",icon:r.jsx(Rt,{className:"h-8 w-8 text-primary"}),popular:!0,features:["Comprehensive front-end and back-end features","Native plugin with extended functionalities","Complete feature set for complex needs","Custom User Roles and Permissions","Multi-Language Support","12 Months Support","Priority Support"]},{name:"Fully Integrated Plugin",price:2500,description:"Enterprise-level custom solution",icon:r.jsx(Wn,{className:"h-8 w-8 text-primary"}),features:["Complete solution with all features","Full front-end and back-end integration","Custom functionalities tailored to your needs","Advanced Security Features","Customizable Admin Dashboard","Multi-Channel Support Integration","24/7 Support","Lifetime Updates"]}],v=async(C,w)=>{m({name:C,price:w}),o(!0),d(""),h("")},b=C=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(C),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const w=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(w.error){h(w.error),n(!1);return}w.url?window.location.href=w.url:h("Failed to create checkout session. Please try again.")}catch(C){console.error("Checkout error:",C),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}};return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"WordPress Custom Plugin Development | Ali Saleem",description:"Professional WordPress custom plugin development services. Create powerful, scalable plugins with advanced features. Packages from $200 to $2500. 10+ years experience.",keywords:"WordPress plugin development, custom WordPress plugins, WordPress developer, plugin programming, WordPress customization, Ali Saleem",ogTitle:"WordPress Custom Plugin Development Services",ogDescription:"Get custom WordPress plugins built by an expert developer with 10+ years experience. Secure, scalable, and feature-rich solutions.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-4xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsx("div",{className:"bg-primary/10 rounded-full p-6 inline-block",children:r.jsx(zr,{className:"h-16 w-16 text-primary"})})}),r.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"WordPress Custom Plugin Development"}),r.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:"Transform your WordPress website with custom-built plugins tailored to your unique business needs. Professional, secure, and scalable solutions delivered by an expert with 10+ years of experience."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-8",children:[r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx($r,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Fast Delivery"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(Rt,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Secure & Clean Code"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(Br,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Dedicated Support"})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-4xl mx-auto",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-8 text-center",style:{fontFamily:"Poppins"},children:"Why Choose Custom Plugin Development?"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-12",children:[r.jsx(I.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.6},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:r.jsx(rn,{className:"h-8 w-8 text-primary"})}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"Tailored to Your Needs"}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Every plugin is custom-built from scratch to match your exact requirements. No bloated code, no unnecessary featuresâjust clean, efficient functionality designed specifically for your business."})]})})}),r.jsx(I.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.6},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:r.jsx(Rt,{className:"h-8 w-8 text-primary"})}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"Secure & Optimized"}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Built following WordPress coding standards and best practices. Security-first approach with data validation, sanitization, and performance optimization to ensure your site runs smoothly."})]})})}),r.jsx(I.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:.2},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:r.jsx(zr,{className:"h-8 w-8 text-primary"})}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"Easy to Use Interface"}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"User-friendly admin panels and intuitive settings pages. Your team can manage the plugin without technical knowledge, with comprehensive documentation for every feature."})]})})}),r.jsx(I.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:.2},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:r.jsx(Br,{className:"h-8 w-8 text-primary"})}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:"Ongoing Support"}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Get dedicated support and regular updates. From bug fixes to feature enhancements, I'm here to ensure your plugin continues to work perfectly as your business grows."})]})})})]})]})})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Select the perfect package for your project. All packages include clean code, documentation, and support."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl mx-auto",children:x.map((C,w)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:w*.1},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[C.popular&&r.jsx("div",{className:"absolute -top-4 left-0 right-0 flex justify-center z-10",children:r.jsx("div",{className:"bg-gradient-to-r from-primary to-primary/80 text-white px-4 py-1 rounded-full text-sm font-medium shadow-lg",children:"Most Popular"})}),r.jsxs(X,{className:`h-full ${C.popular?"bg-gradient-to-br from-primary/5 via-card to-card border-primary shadow-xl":"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-6 pb-4",children:[r.jsx("div",{className:"flex justify-center mb-4",children:r.jsx("div",{className:`${C.popular?"bg-primary/20":"bg-primary/10"} rounded-full p-4`,children:C.icon})}),r.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",style:{fontFamily:"Poppins"},children:C.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:C.description}),r.jsxs("div",{className:"mb-4",children:[r.jsxs("span",{className:"text-4xl font-bold text-primary",children:["$",C.price]}),r.jsx("span",{className:"text-muted-foreground ml-2",children:"one-time"})]})]}),r.jsxs(Q,{className:"p-6 pt-0",children:[r.jsx("ul",{className:"space-y-3 mb-6",children:C.features.map((j,P)=>r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground",children:j})]},P))}),r.jsx(ie,{className:`w-full ${C.popular?"bg-primary hover:bg-primary/90":"bg-primary/90 hover:bg-primary"}`,size:"lg",onClick:()=>v(C.name,C.price),disabled:e,children:e?"Processing...":"Order Now"})]})]})]},C.name))}),r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-16 text-center",children:r.jsx(X,{className:"bg-gradient-to-r from-primary/10 to-secondary/20 border-primary/20 max-w-3xl mx-auto",children:r.jsxs(Q,{className:"p-8",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"ð Secure Payment via Stripe"}),r.jsx("p",{className:"text-muted-foreground mb-4",children:"Your payment is processed securely through Stripe. We never store your credit card information."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 text-sm text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(Rt,{className:"h-4 w-4 text-primary"}),r.jsx("span",{children:"256-bit SSL Encryption"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary"}),r.jsx("span",{children:"Money-back Guarantee"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(Wn,{className:"h-4 w-4 text-primary"}),r.jsx("span",{children:"10+ Years Experience"})]})]})]})})}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.6},viewport:{once:!0},className:"mt-16 text-center",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Need a Custom Quote?"}),r.jsx("p",{className:"text-muted-foreground mb-6 max-w-2xl mx-auto",children:"Have a unique project that doesn't fit these packages? Let's discuss your requirements and create a custom solution tailored to your specific needs."}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>{const C=document.getElementById("contact");C?C.scrollIntoView({behavior:"smooth"}):window.location.href="/#contact"},children:"Contact Me for Custom Quote"})]}),r.jsxs("div",{className:"mt-20 max-w-4xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:[{href:"/services/wordpress-custom-plugin-development-service/cost",label:"WordPress Plugin Development Cost"},{href:"/services/wordpress-custom-plugin-development-service/custom-vs-existing-plugin",label:"Custom Plugin vs. Existing Plugin"},{href:"/services/wordpress-custom-plugin-development-service/woocommerce-custom-plugin",label:"WooCommerce Custom Plugin Development"},{href:"/services/wordpress-custom-plugin-development-service/api-plugin-development",label:"WordPress API Plugin Development"},{href:"/services/wordpress-custom-plugin-development-service/automation-plugin",label:"WordPress Automation Plugin Development"},{href:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",label:"Custom Admin Dashboard Plugin"},{href:"/services/wordpress-custom-plugin-development-service/plugin-maintenance",label:"WordPress Plugin Maintenance & Support"}].map(C=>r.jsx(xe,{to:C.href,children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsxs(Q,{className:"p-4 flex items-center justify-between",children:[r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:C.label}),r.jsx(ut,{className:"h-4 w-4 text-primary group-hover:translate-x-1 transition-transform flex-shrink-0"})]})})},C.href))})]})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Complete Your Order"}),r.jsxs(Qr,{children:["Please enter your email address to proceed with checkout for ",r.jsx("span",{className:"font-semibold text-foreground",children:u?.name}
720)," ($",u?.price.toLocaleString(),")."]})]}),r.jsxs("div",{className:"space-y-4 py-4",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address *"}),r.jsx(On,{id:"email",type:"email",value:l,onChange:C=>d(C.target.value),placeholder:"[email protected]",className:"w-full",required:!0}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]}),r.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send your order confirmation and invoice to this email address."})]}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{className:"bg-primary hover:bg-primary/90",onClick:k,disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-white border-t-transparent mr-2"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Proceed to Checkout",r.jsx(Mn,{className:"ml-2 h-4 w-4"})]})})]})]})})]})}function AT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Professional React Theme",price:2e3,description:"Modern, high-performance React-based WordPress theme",icon:r.jsx(fl,{className:"h-8 w-8 text-primary"}),deliveryTime:"3-4 weeks",revisions:"3 revisions",features:["Custom React-based WordPress theme","Responsive design for all devices","Gutenberg block editor integration","Custom post types and taxonomies","SEO optimized with meta tags","Fast loading with code splitting","Cross-browser compatibility","Basic customizer options","Google Fonts integration","Contact form integration","Social media integration","3 months support","1 year free updates","Complete documentation","Deployment assistance"]},{name:"Premium React Theme",price:3e3,description:"Advanced theme with custom features and integrations",icon:r.jsx(Mn,{className:"h-8 w-8 text-primary"}),popular:!0,deliveryTime:"4-6 weeks",revisions:"5 revisions",features:["Everything in Professional package","Advanced Gutenberg custom blocks","WooCommerce full integration","Multi-language support (WPML/Polylang)","Advanced theme customizer with live preview","Custom widgets and sidebars","Mega menu support","Advanced animation effects","Page builder compatibility (Elementor/Beaver)","Advanced custom fields (ACF) integration","Performance optimization (lazy loading, caching)","Blog layouts with multiple styles","Portfolio/gallery templates","Email template customization","Schema markup for rich snippets","6 months priority support","2 years free updates","Video tutorials included","Performance audit report"]},{name:"Enterprise React Theme",price:5e3,description:"Complete enterprise solution with headless CMS capabilities",icon:r.jsx(Wn,{className:"h-8 w-8 text-primary"}),deliveryTime:"6-8 weeks",revisions:"Unlimited",features:["Everything in Premium package","Headless WordPress with REST API","Next.js/React SSR/SSG implementation","Advanced state management (Redux/Context)","PWA (Progressive Web App) functionality","Advanced security features and hardening","Multi-site network support","Custom user roles and permissions","Advanced member dashboard","Real-time search with Algolia/Elasticsearch","Advanced analytics integration","Custom admin dashboard","Third-party API integrations","Custom payment gateway integration","Automated testing setup","CI/CD pipeline configuration","Cloud deployment (AWS/Vercel/Netlify)","Database optimization","CDN integration","Performance monitoring setup","12 months premium support","Lifetime updates","Monthly maintenance (3 months)","Dedicated project manager","Weekly progress reports"]}],v=async(j,P)=>{m({name:j,price:P}),o(!0),d(""),h("")},b=j=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const P=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(P.error){h(P.error),n(!1);return}P.url?window.location.href=P.url:h("Failed to create checkout session. Please try again.")}catch(j){console.error("Checkout error:",j),h("An error occurred. Please try again or c
720ontact support.")}finally{n(!1)}}},C=[{icon:r.jsx(rn,{className:"h-6 w-6 text-primary"}),title:"Lightning Fast Performance",description:"React-based themes with code splitting, lazy loading, and optimized bundle sizes ensure blazing-fast page loads and exceptional user experience."},{icon:r.jsx(Ju,{className:"h-6 w-6 text-primary"}),title:"Mobile-First & Responsive",description:"Every theme is built with mobile-first approach, ensuring perfect display and functionality across all devices and screen sizes."},{icon:r.jsx(zr,{className:"h-6 w-6 text-primary"}),title:"Modern Tech Stack",description:"Built with latest React, WordPress REST API, and modern JavaScript (ES6+), following industry best practices and coding standards."},{icon:r.jsx(xl,{className:"h-6 w-6 text-primary"}),title:"Easy Customization",description:"Intuitive theme customizer with live preview, custom blocks, and extensive options make it easy to personalize without coding."},{icon:r.jsx(Rt,{className:"h-6 w-6 text-primary"}),title:"Security First",description:"Built with security best practices, including data sanitization, validation, nonce verification, and protection against common vulnerabilities."},{icon:r.jsx(Os,{className:"h-6 w-6 text-primary"}),title:"SEO Optimized",description:"Clean semantic HTML, optimized meta tags, schema markup, and fast loading times ensure excellent search engine rankings."}],w=[{name:"React 18+",icon:"âï¸"},{name:"WordPress REST API",icon:"ð"},{name:"TypeScript",icon:"ð"},{name:"Webpack/Vite",icon:"ð¦"},{name:"Sass/CSS Modules",icon:"ð¨"},{name:"Redux/Context",icon:"ð"},{name:"Jest/Testing Library",icon:"ð§ª"},{name:"ESLint/Prettier",icon:"â¨"}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"WordPress React Theme Development | Ali Saleem",description:"Professional WordPress React theme development. Build blazing-fast, modern WordPress websites with custom React themes. Packages from $2000 to $5000.",keywords:"WordPress React theme, React WordPress development, headless WordPress, WordPress REST API, modern WordPress themes, Ali Saleem",ogTitle:"WordPress React Theme Development Services",ogDescription:"Build modern, high-performance WordPress websites with custom React themes. Headless CMS, SSR/SSG, and PWA capabilities.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-primary/10 rounded-full blur-3xl animate-pulse"}),r.jsx("div",{className:"absolute bottom-20 right-10 w-32 h-32 bg-secondary/10 rounded-full blur-3xl animate-pulse delay-1000"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-5xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsx("div",{className:"bg-gradient-to-br from-primary/20 to-primary/10 rounded-full p-6 inline-block",children:r.jsx(fl,{className:"h-16 w-16 text-primary"})})}),r.jsx(I.div,{initial:{opacity:0}
720,animate:{opacity:1},transition:{duration:.6,delay:.4},className:"mb-4",children:r.jsx("span",{className:"inline-block bg-primary/10 text-primary px-4 py-2 rounded-full text-sm font-medium",children:"Modern WordPress Solutions"})}),r.jsx("h1",{className:"text-5xl md:text-7xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"WordPress React Theme Development"}),r.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed",children:"Build blazing-fast, modern WordPress websites with custom React themes. Combine the power of React with WordPress flexibility for exceptional user experiences."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10",children:[r.jsxs("div",{className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(Mn,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"10x"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Faster Performance"})]})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(so,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"100%"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Customizable"})]})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(Ur,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"SEO"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Optimized"})]})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Why Choose React for WordPress?"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"React-powered WordPress themes offer unmatched performance, flexibility, and modern user experience that traditional PHP themes simply can't match."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:C.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.1},viewport:{once:!0},whileHover:{y:-5},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:j.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:j.description})]})})},j.title))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-12",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Modern Tech Stack"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Built with cutting-edge technologies to ensure your website stays ahead of the curve"})]}),r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"flex flex-wrap justify-center gap-4 max-w-4xl mx-auto",children:w.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{duration:.4,delay:P*.05},viewport:{once:!0},whileHover:{scale:1.1,y:-5},children:r.jsx(X,{className:"bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300",children:r.jsxs(Q,{className:"p-4 flex items-center gap-3",children:[r.jsx("span",{className:"text-2xl",children:j.icon}),r.jsx("span",{className:"font-medium text-foreground",children:j.name})]})})},j.name))})]})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Perfect Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Transparent pricing with no hidden fees. Select a package that fits your needs and budget. All packages include source code, documentation, and professional support."})]}),r.jsx("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:x.map((j,P)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.15},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[j.popular&&r.jsx("div",{className:"absolute -top-5 left-0 right-0 flex justify-center z-10",children:r.jsxs("div",{className:"bg-gradient-to-r from-primary via-primary to-primary/80 text-white px-6 py-2 rounded-full text-sm font-bold shadow-xl flex items-center gap-2",children:[r.jsx(et,{className:"h-4 w-4 fill-current"}),"Most Popular Choice"]})}),r.jsxs(X,{className:`h-full ${j.popular?"bg-gradient-to-br from-primary/10 via-card to-card border-primary shadow-2xl ring-2 ring-primary/20":"bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-8 pb-6",children:[r.jsx("div",{className:"flex justify-center mb-6",children:r.jsx("div",{className:`${j.popular?"bg-primary/20 scale-110":"bg-primary/10"} rounded-2xl p-5 transition-transform duration-300 group-hover:scale-110`,children:j.icon})}),r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-6 min-h-[40px]",children:j.description}),r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"flex items-baseline justify-center gap-2",children:r.jsxs("span",{className:"text-5xl font-bold text-primary",children:["$",j.price.toLocaleStr
720ing()]})}),r.jsx("div",{className:"text-sm text-muted-foreground mt-2",children:"one-time payment"})]}),r.jsxs("div",{className:"flex items-center justify-center gap-4 text-xs text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx($r,{className:"h-3 w-3 text-primary"}),j.deliveryTime]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(Xu,{className:"h-3 w-3 text-primary"}),j.revisions]})]})]}),r.jsxs(Q,{className:"p-8 pt-0",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"text-xs font-semibold text-primary uppercase tracking-wide mb-3",children:"What's Included:"}),r.jsx("ul",{className:"space-y-3 max-h-[400px] overflow-y-auto custom-scrollbar",children:j.features.map((S,T)=>r.jsxs("li",{className:"flex items-start gap-3",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground leading-relaxed",children:S})]},T))})]}),r.jsx(ie,{className:`w-full ${j.popular?"bg-primary hover:bg-primary/90 shadow-lg shadow-primary/30":"bg-primary/90 hover:bg-primary"} text-base py-6`,size:"lg",onClick:()=>v(j.name,j.price),disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-2 border-white border-t-transparent mr-2"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Order ",j.name,r.jsx(Mn,{className:"ml-2 h-5 w-5"})]})}),j.popular&&r.jsx("div",{className:"mt-4 text-center text-xs text-primary font-medium",children:"â¡ Best value for growing businesses"})]})]})]},j.name))}),r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.5},viewport:{once:!0},className:"mt-12 text-center",children:r.jsxs("p",{className:"text-sm text-muted-foreground",children:["Not sure which package to choose? ",r.jsx("a",{href:"#contact",className:"text-primary hover:underline font-medium",children:"Contact me"})," for a free consultation"]})})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-5xl mx-auto",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-12 text-center",style:{fontFamily:"Poppins"},children:"What You Get With Every Theme"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3",children:r.jsx(zr,{className:"h-6 w-6 text-primary"})}),r.jsxs("div",{children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Clean, Modern Code"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Well-structured, commented code following React and WordPress best practices. Easy to maintain and extend."})]})]})})}),r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3",children:r.jsx(Wl,{className:"h-6 w-6 text-primary"})}),r.jsxs("div",{children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Component Library"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Reusable React components for common elements. Build new pages faster with pre-built components."})]})]})})}),r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3",children:r.jsx(Ju,{className:"h-6 w-6 text-primary"})}),r.jsxs("div",{children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"100% Responsive"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Perfectly optimized for desktop, tablet, and mobile. Your site looks amazing on every device."})]})]})})}),r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3",children:r.jsx(Br,{className:"h-6 w-6 text-primary"})}),r.jsxs("div",{children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2",children:"Dedicated Support"}),r.jsx("p",{className:"text-sm text-muted-foreground",children:"Direct access to me for questions, updates, and maintenance. Your success is my priority."})]})]})})})]})]})})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-4xl mx-auto",children:r.jsx(X,{className:"bg-gradient-to-r from-primary/10 to-secondary/20 border-primary/20 shadow-xl",children:r.jsxs(Q,{className:"p-10",children:[r.jsxs("div",{className:"text-center mb-8",children:[r.jsx("div",{className:"inline-block bg-primary/20 rounded-full p-4 mb-4",children:r.jsx(Rt,{className:"h-12 w-12 text-primary"})}),r.jsx("h3",{className:"text-3xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"ð Secure Payment & Satisfaction Guarantee"}),r.jsx("p",{className:"text-muted-foreground mb-6 text-lg",children:"Your investment is protected. All payments are processed securely through Stripe with industry-standard encryption."})]}),r.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-8",children:[r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(Rt,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"256-bit SSL"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"Bank-level encryption"})]}),r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(Ve,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"Money-back"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"100% satisfaction guarantee"})]}),r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(Wn,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"10+ Years"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"Proven track record"})]})]}),r.jsxs("div",{className:"bg-background/30 rounded-lg p-6 border border-border/50",children:[r.jsxs("h4",{className:"font-semibold text-foreground mb-3 flex items-center gap-2",children:[r.jsx(et,{className:"h-5 w-5 text-primary"}),"What You Can Expect:"]}),r.jsxs("ul",{className:"space-y-2 text-sm text-muted-foreground",children:[r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Regular progress updates and transparent communication throughout development"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Revision rounds to ensure the theme matches your exact requirements"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Complete source code ownership with comprehensive documentation"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Post-launch support to ensure smooth deployment and operation"})]})]})]})]})})})})}),r.jsx("section",{className:"py-16 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[r.jsx(xe,{to:"/services/wordpress-react-theme-development/react-development",children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsx(Q,{className:"p-4 flex items-center justify-between",children:r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:"WordPress + React Development"})})})}),r.jsx(xe,{to:"/services/headless-wordpress-integration",children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsx(Q,{className:"p-4 flex items-center justify-between",children:r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:"Need mobile apps or a headless platform instead? See Headless WordPress Integration"})})})})]})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx("section",{className:"py-20 bg-background",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[r.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Ready to Build Something Amazing?"}),r.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:"Have a unique project or need a custom quote? Let's discuss your vision and create a tailored solution that perfectly fits your needs and budget."}),r.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[r.jsxs(ie,{size:"lg",className:"bg-primary hover:bg-primary/90 text-lg px-8 py-6",onClick:()=>{const j=document.getElementById("contact");j?j.scrollIntoView({behavior:"smooth"}):window.location.href="/#contact"},children:[r.jsx(Br,{className:"mr-2 h-5 w-5"}),"Schedule Free Consultation"]}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white text-lg px-8 py-6",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"View Packages Again"})]}),r.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-8 text-sm text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxs("div",{className:"flex -sp
720ace-x-2",children:[r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"A"}),r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"B"}),r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"C"})]}),r.jsx("span",{children:"400+ Happy Clients"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx("span",{children:"5-Star Reviews"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(Wn,{className:"h-5 w-5 text-primary"}),r.jsx("span",{children:"400+ Projects Delivered"})]})]})]})})}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Complete Your Order"}),r.jsxs(Qr,{children:["Please enter your email address to proceed with checkout for ",r.jsx("span",{className:"font-semibold text-foreground",children:u?.name})," ($",u?.price.toLocaleString(),")."]})]}),r.jsxs("div",{className:"space-y-4 py-4",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address *"}),r.jsx(On,{id:"email",type:"email",value:l,onChange:j=>d(j.target.value),placeholder:"[email protected]",className:"w-full",required:!0}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]}),r.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send your order confirmation and invoice to this email address."})]}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{className:"bg-primary hover:bg-primary/90",onClick:k,disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-white border-t-transparent mr-2"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Proceed to Checkout",r.jsx(Mn,{className:"ml-2 h-4 w-4"})]})})]})]})})]})}function TT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Essential AI Integration",price:1e3,description:"Perfect for getting started with AI-powered features",icon:r.jsx(Ux,{className:"h-8 w-8 text-primary"}),deliveryTime:"2-3 weeks",revisions:"3 revisions",aiCredits:"$50 API credits included",features:["OpenAI GPT-3.5/4 API integration","AI-powered content generation","Intelligent chatbot for customer support","Automated content summarization","AI-based search enhancement","Simple admin dashboard","Basic prompt engineering","Content moderation filters","Usage tracking and analytics","API rate limiting setup","Error handling and fallbacks","Mobile-responsive AI interface","SEO-friendly AI content output","3 months support","1 year free updates","Complete documentation"]},{name:"Professional AI Suite",price:2e3,description:"Advanced AI features with multiple integrations",icon:r.jsx(lu,{className:"h-8 w-8 text-primary"}),popular:!0,deliveryTime:"3-4 weeks",revisions:"5 revisions",aiCredits:"$150 API credits included",features:["Everything in Essential package","Multi-model AI integration (GPT-4, Claude, Gemini)","AI image generation (DALL-E, Stable Diffusion)","Advanced conversational AI with memory","AI-powered product recommendations","Sentiment analysis for reviews/comments","Automated email response system","AI content translation (50+ languages)","Voice-to-text integration","AI-driven personalization engine","Custom AI training with your data","Advanced analytics dashboard","A/B testing for AI responses","Webhook integrations","Custom API endpoints","WordPress REST API extensions","Role-based AI access control","6 months priority support","2 years free updates","Video training included"]},{name:"Enterprise AI Platform",price:3e3,description:"Complete AI transformation for your WordPress site",icon:r.
720jsx(cr,{className:"h-8 w-8 text-primary"}),deliveryTime:"4-6 weeks",revisions:"Unlimited",aiCredits:"$300 API credits included",features:["Everything in Professional package","Custom AI agent development","Multi-agent orchestration system","RAG (Retrieval Augmented Generation) implementation","Vector database integration (Pinecone/Weaviate)","Fine-tuned models for your business","AI-powered workflow automation","Intelligent document processing","Advanced NLP for content analysis","Predictive analytics and forecasting","AI-driven SEO optimization","Automated content calendar generation","Smart form auto-completion","AI fraud detection and security","Real-time language translation","Image recognition and tagging","Video analysis and transcription","AI-powered A/B testing automation","Custom machine learning models","Multi-platform AI integration","Advanced caching strategies","Load balancing for AI requests","Dedicated AI server setup","Performance monitoring dashboard","12 months premium support","Lifetime updates","Monthly optimization sessions","Dedicated AI consultant"]}],v=async(P,S)=>{m({name:P,price:S}),o(!0),d(""),h("")},b=P=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(P),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const S=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(S.error){h(S.error),n(!1);return}S.url?window.location.href=S.url:h("Failed to create checkout session. Please try again.")}catch(P){console.error("Checkout error:",P),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}},C=[{icon:r.jsx(QE,{className:"h-6 w-6 text-primary"}),title:"Conversational AI",description:"Deploy intelligent chatbots that understand context, remember conversations, and provide human-like interactions with your visitors 24/7."},{icon:r.jsx(L4,{className:"h-6 w-6 text-primary"}),title:"Content Generation",description:"Automatically create blog posts, product descriptions, meta tags, and marketing copy using advanced AI models trained on billions of words."},{icon:r.jsx(WE,{className:"h-6 w-6 text-primary"}),title:"AI Image Creation",description:"Generate unique images, graphics, and illustrations from text descriptions. Perfect for blog headers, product images, and social media."},{icon:r.jsx(W0,{className:"h-6 w-6 text-primary"}),title:"Intelligent Search",description:"Semantic search that understands user intent, not just keywords. Find relevant content even with vague or complex queries."},{icon:r.jsx(Xu,{className:"h-6 w-6 text-primary"}),title:"Predictive Analytics",description:"Forecast trends, predict user behavior, and make data-driven decisions with AI-powered analytics and insights."},{icon:r.jsx(Xx,{className:"h-6 w-6 text-primary"}),title:"Personalization",description:"Deliver personalized content, product recommendations, and experiences based on user behavior and preferences."}],w=[{name:"OpenAI GPT-4",icon:"ð¤",color:"bg-green-500/10 text-green-600"},{name:"Anthropic Claude",icon:"ð§ ",color:"bg-purple-500/10 text-purple-600"},{name:"Google Gemini",icon:"â¨",color:"bg-blue-500/10 text-blue-600"},{name:"Hugging Face",icon:"ð¤",color:"bg-yellow-500/10 text-yellow-600"},{name:"DALL-E 3",icon:"ð¨",color:"bg-pink-500/10 text-pink-600"},{name:"Stable Diffusion",icon:"ð¼ï¸",color:"bg-indigo-500/10 text-indigo-600"},{name:"Whisper AI",icon:"ð¤",color:"bg-red-500/10 text-red-600"},{name:"ElevenLabs",icon:"ð",color:"bg-orange-500/10 text-orange-600"},{name:"Pinecone",icon:"ð",color:"bg-teal-500/10 text-teal-600"},{name:"LangChain",icon:"âï¸",color:"bg-cyan-500/10 text-cyan-600"}],j=[{icon:r.jsx(Ux,{className:"h-8 w-8"}),title:"E-commerce",description:"AI product recommendations, automated customer service, smart inventory management, and personalized shopping experiences.",features:["Product Q&A Bot","Visual Search","Dynamic Pricing","Chatbot Sales Assistant"]},{icon:r.jsx(lu,{className:"h-8 w-8"}),title:"Content Publishing",description:"Automated content creation, SEO optimization, plagiarism detection, and intelligent content scheduling.",features:["Auto Blog Writing","SEO Suggestions","Content Repurposing","Topic Research"]},{icon:r.jsx(so,{className:"h-8 w-8"}),title:"Membership Sites",description:"Personalized learning paths, AI tutors, automated grading, and intelligent content recommendations.",features:["AI Course Creator","Smart Assessments","Study Assistant","Progress Tracking"]},{icon:r.jsx(cr,{className:"h-8 w-8"}),title:"Marketing Agencies",description:"Campaign optimization, automated reporting, content generation at scale, and client communication automation.",features:["Ad Copy Generator","Email Campaigns","Social Media Posts","Analytics Reports"]}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"AI Integration Service for WordPress | Ali Saleem",description:"Transform your WordPress site with AI agents and tools. ChatGPT, Claude, Gemini integration. Content generation, intelligent chatbots, image AI. Packages from $1000 to $3000.",keywords:"AI WordPress
720integration, ChatGPT WordPress, AI chatbot, WordPress automation, AI content generation, machine learning WordPress, Ali Saleem",ogTitle:"AI Integration Service for WordPress - ChatGPT, Claude & More",ogDescription:"Add cutting-edge AI to WordPress. Intelligent chatbots, automated content, smart recommendations. RAG, vector databases, custom AI agents.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-primary/10 rounded-full blur-3xl animate-pulse"}),r.jsx("div",{className:"absolute top-40 right-20 w-32 h-32 bg-secondary/20 rounded-full blur-3xl animate-pulse delay-1000"}),r.jsx("div",{className:"absolute bottom-20 left-1/3 w-24 h-24 bg-primary/5 rounded-full blur-3xl animate-pulse delay-500"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-5xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsxs("div",{className:"bg-gradient-to-br from-primary/20 to-primary/10 rounded-full p-6 inline-block relative",children:[r.jsx(cr,{className:"h-16 w-16 text-primary animate-pulse"}),r.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 bg-primary rounded-full animate-ping"})]})}),r.jsx(I.div,{initial:{opacity:0}
720,animate:{opacity:1},transition:{duration:.6,delay:.4},className:"mb-4",children:r.jsx("span",{className:"inline-block bg-gradient-to-r from-primary/20 to-secondary/20 text-primary px-6 py-2 rounded-full font-medium border border-primary/20",children:"ð Next-Generation WordPress"})}),r.jsx("h1",{className:"text-5xl md:text-7xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:"AI Integration Service for WordPress"}),r.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed",children:"Transform your WordPress website with cutting-edge AI technology. Add intelligent chatbots, automated content creation, smart recommendations, and advanced analytics powered by the world's leading AI platforms."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10",children:[r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(L0,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"GPT-4"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Powered AI"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(rn,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"24/7"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"AI Automation"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(Ur,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"10x"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Productivity"})]})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"AI Capabilities We Integrate"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Harness the power of artificial intelligence to automate tasks, engage users, and unlock insights you never thought possible."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:C.map((P,S)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:S*.1},viewport:{once:!0},whileHover:{y:-5,scale:1.02},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:P.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:P.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:P.description})]})})},P.title))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-12",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"AI Platforms & Tools We Work With"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"We integrate with the industry's leading AI platforms to bring the best technology to your WordPress site"})]}),r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"flex flex-wrap justify-center gap-4 max-w-5xl mx-auto",children:w.map((P,S)=>r.jsx(I.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{duration:.4,delay:S*.05},viewport:{once:!0},whileHover:{scale:1.1,y:-5},children:r.jsx(X,{className:`${P.color} bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300`,children:r.jsxs(Q,{className:"p-4 flex items-center gap-3",children:[r.jsx("span",{className:"text-2xl",children:P.icon}),r.jsx("span",{className:"font-medium text-foreground",children:P.name})]})})},P.name))})]})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"AI Solutions for Every Industry"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"See how AI can transform different types of WordPress websites"})]}),r.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-6xl mx-auto",children:j.map((P,S)=>r.jsx(I.div,{initial:{opacity:0,x:S%2===0?-50:50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:S*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-8",children:[r.jsx("div",{className:"bg-primary/10 rounded-xl p-4 inline-block mb-4 text-primary",children:P.icon}),r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:P.title}),r.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:P.description}),r.jsx("div",{className:"grid grid-cols-2 gap-3",children:P.features.map(T=>r.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary flex-shrink-0"}),r.jsx("span",{className:"text-muted-foreground",children:T})]},T))})]})})},P.title))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your AI Integration Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"All packages include API credits, comprehensive documentation, and ongoing support. Start automating with AI today!"})]}),r.jsx("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:x.map((P,S)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:S*.15},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[P.popular&&r.jsx("div",{className:"absolute -top-5 left-0 right-0 flex justify-center z-10",children:r.jsxs("div",{className:"bg-gradient-to-r from-primary via-primary to-primary/80 text-white px-6 py-2 rounded-full text-sm font-bold shadow-xl flex items-center gap-2",children:[r.jsx(et,{className:"h-4 w-4 fill-current"}
720),"Best Value"]})}),r.jsxs(X,{className:`h-full ${P.popular?"bg-gradient-to-br from-primary/10 via-card to-card border-primary shadow-2xl ring-2 ring-primary/20":"bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-8 pb-6",children:[r.jsx("div",{className:"flex justify-center mb-6",children:r.jsx("div",{className:`${P.popular?"bg-primary/20 scale-110":"bg-primary/10"} rounded-2xl p-5 transition-transform duration-300 group-hover:scale-110`,children:P.icon})}),r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:P.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-6 min-h-[40px]",children:P.description}),r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"flex items-baseline justify-center gap-2",children:r.jsxs("span",{className:"text-5xl font-bold text-primary",children:["$",P.price.toLocaleString()]})}),r.jsx("div",{className:"text-sm text-muted-foreground mt-2",children:"one-time payment"}),P.aiCredits&&r.jsxs("div",{className:"text-xs text-primary mt-2 font-medium",children:["+ ",P.aiCredits]})]}),r.jsxs("div",{className:"flex items-center justify-center gap-4 text-xs text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx($r,{className:"h-3 w-3 text-primary"}),P.deliveryTime]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(xl,{className:"h-3 w-3 text-primary"}),P.revisions]})]})]}),r.jsxs(Q,{className:"p-8 pt-0",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"text-xs font-semibold text-primary uppercase tracking-wide mb-3",children:"What's Included:"}),r.jsx("ul",{className:"space-y-3 max-h-[420px] overflow-y-auto custom-scrollbar",children:P.features.map((T,O)=>r.jsxs("li",{className:"flex items-start gap-3",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground leading-relaxed",children:T})]},O))})]}),r.jsx(ie,{className:`w-full ${P.popular?"bg-primary hover:bg-primary/90 shadow-lg shadow-primary/30":"bg-primary/90 hover:bg-primary"} text-base py-6`,size:"lg",onClick:()=>v(P.name,P.price),disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-2 border-white border-t-transparent mr-2"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Get Started with AI",r.jsx(Mn,{className:"ml-2 h-5 w-5"})]})}),P.popular&&r.jsx("div",{className:"mt-4 text-center text-xs text-primary font-medium",children:"â¡ Most chosen by businesses"})]})]})]},P.name))}),r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.5},viewport:{once:!0},className:"mt-12 text-center",children:r.jsxs("p",{className:"text-sm text-muted-foreground",children:["All packages include API setup, training, and documentation.",r.jsx("a",{href:"#contact",className:"text-primary hover:underline font-medium ml-1",children:"Contact me"})," for custom AI solutions"]})})]})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"How AI Integration Works"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Our proven process ensures smooth integration and maximum value from your AI investment"})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-6xl mx-auto",children:[{step:"01",title:"Discovery & Planning",description:"We analyze your needs, define use cases, and create a customized AI integration roadmap.",icon:r.jsx(Xx,{className:"h-6 w-6"})},{step:"02",title:"Setup & Integration",description:"Configure AI APIs, build custom interfaces, and integrate seamlessly with your WordPress site.",icon:r.
720jsx(xl,{className:"h-6 w-6"})},{step:"03",title:"Training & Testing",description:"Fine-tune AI models, test responses, optimize performance, and ensure accuracy.",icon:r.jsx(lu,{className:"h-6 w-6"})},{step:"04",title:"Launch & Support",description:"Deploy AI features, monitor performance, provide training, and offer ongoing support.",icon:r.jsx(Mn,{className:"h-6 w-6"})}].map((P,S)=>r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:S*.1},viewport:{once:!0},children:r.jsxs(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300 relative overflow-hidden group",children:[r.jsx("div",{className:"absolute top-0 right-0 text-[100px] font-bold text-primary/5 leading-none",children:P.step}),r.jsxs(Q,{className:"p-6 relative z-10",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3 inline-block mb-4 text-primary group-hover:scale-110 transition-transform",children:P.icon}),r.jsx("div",{className:"text-sm font-bold text-primary mb-2",children:P.step}),r.jsx("h3",{className:"text-lg font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:P.title}),r.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:P.description})]})]})},P.step))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-5xl mx-auto",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-12 text-center",style:{fontFamily:"Poppins"},children:"Why Choose AI for Your WordPress Site?"}),r.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:r.jsx(rn,{className:"h-6 w-6 text-primary"}),title:"Save Time & Reduce Costs",description:"Automate repetitive tasks, reduce support workload, and let AI handle content creationâsaving hundreds of hours monthly."},{icon:r.jsx(so,{className:"h-6 w-6 text-primary"}),title:"Improve User Experience",description:"Provide instant answers, personalized recommendations, and 24/7 support to create exceptional user experiences."},{icon:r.jsx(Ur,{className:"h-6 w-6 text-primary"}),title:"Boost Conversions",description:"AI-powered personalization and smart recommendations can increase conversion rates by 30-50%."},{icon:r.jsx(Rt,{className:"h-6 w-6 text-primary"}),title:"Stay Competitive",description:"Early AI adoption gives you a competitive advantage. Be the leader in your industry, not the follower."},{icon:r.jsx(Xu,{className:"h-6 w-6 text-primary"}),title:"Data-Driven Insights",description:"AI analytics reveal patterns and insights humans might miss, enabling smarter business decisions."},{icon:r.jsx(cr,{className:"h-6 w-6 text-primary"}),title:"Scalable Growth",description:"AI scales with your business. Handle 10x more customers without 10x more staff or resources."}].map((P,S)=>r.jsx(I.div,{initial:{opacity:0,x:S%2===0?-30:30},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:S*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"bg-primary/10 rounded-lg p-3 flex-shrink-0",children:P.icon}),r.jsxs("div",{children:[r.jsx("h3",{className:"font-semibold text-foreground mb-2",children:P.title}),r.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:P.description})]})]})})})},P.title))})]})})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-4xl mx-auto",children:r.jsx(X,{className:"bg-gradient-to-r from-primary/10 to-secondary/20 border-primary/20 shadow-xl",children:r.jsxs(Q,{className:"p-10",children:[r.jsxs("div",{className:"text-center mb-8",children:[r.jsx("div",{className:"inline-block bg-primary/20 rounded-full p-4 mb-4",children:r.jsx(Rt,{className:"h-12 w-12 text-primary"})}),r.jsx("h3",{className:"text-3xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"ð Secure, Reliable, & Future-Proof"}),r.jsx("p",{className:"text-muted-foreground mb-6 text-lg",children:"Your data security and privacy are our top priorities. All AI integrations follow industry best practices."})]}),r.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-8",children:[r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(Rt,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"Data Privacy"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"GDPR & CCPA compliant"})]}),r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(rn,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"High Performance"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"Optimized for speed"})]}),r.jsxs("div",{className:"text-center p-4 bg-background/50 rounded-lg",children:[r.jsx(Wn,{className:"h-8 w-8 text-primary mx-auto mb-2"}),r.jsx("div",{className:"font-semibold text-foreground mb-1",children:"Expert Support"}),r.jsx("div",{className:"text-xs text-muted-foreground",children:"10+ years experience"})]})]}),r.jsxs("div",{className:"bg-background/30 rounded-lg p-6 border border-border/50",children:[r.jsxs("h4",{className:"font-semibold text-foreground mb-3 flex items-center gap-2",children:[r.jsx(cr,{className:"h-5 w-5 text-primary"}),"What's Included in Every Package:"]}),r.jsxs("ul",{className:"grid md:grid-cols-2 gap-3 text-sm text-muted-foreground",children:[r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Encrypted API connections"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Rate limiting & cost controls"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Comprehensive error handling"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Performance monitoring"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Usage analytics dashboard"})]}),r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary mt-0.5 flex-shrink-0"}),r.jsx("span",{children:"Regular updates & improvements"})]})]})]})]})})})})}),r.jsx("section",{className:"py-16 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:[{href:"/services/wordpress-custom-ai-integrations/openai-wordpress-plugin",label:"OpenAI WordPress Plugin Development"},{href:"/services/wordpress-custom-ai-integrations/gemini-integration",label:"Gemini AI WordPress Integration"},{href:"/services/wordpress-custom-ai-integrations/ai-woocommerce-development",label:"AI-Powered WooCommerce Development"}].map(P=>r.jsx(xe,{to:P.href,children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsx(Q,{className:"p-4 flex items-center justify-between",children:r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:P.label})})})},P.href))})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx("section",{className:"py-20 bg-background",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[r.jsx("h3",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Ready to Supercharge Your WordPress with AI?"}),r.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:"Join the AI revolution and transform your WordPress website into an intelligent, automated platform that works 24/7 to grow your business."}),r.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[r.jsxs(ie,{size:"lg",className:"bg-primary hover:bg-primary/90 text-lg px-8 py-6",onClick:()=>{const P=document.getElementById("contact");P?P.scrollIntoView({behavior:"smooth"}):window.location.href="/#contact"},children:[r.jsx(Br,{className:"mr-2 h-5 w-5"}),"Schedule Free AI Consultation"]}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white text-lg px-8 py-6",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"View Packages Again"})]}),r.jsxs("div",{className:"mt-12 flex flex-wrap items-center justify-center gap-8 text-sm text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxs("div",{className:"flex -sp
720ace-x-2",children:[r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"A"}),r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"B"}),r.jsx("div",{className:"w-8 h-8 rounded-full bg-primary/20 border-2 border-background flex items-center justify-center text-xs font-bold text-primary",children:"C"})]}),r.jsx("span",{children:"400+ Happy Clients"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx(et,{className:"h-5 w-5 fill-primary text-primary"}),r.jsx("span",{children:"5-Star Reviews"})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(Wn,{className:"h-5 w-5 text-primary"}),r.jsx("span",{children:"10+ Years Experience"})]})]})]})})}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Complete Your Order"}),r.jsxs(Qr,{children:["Please enter your email address to proceed with checkout for ",r.jsx("span",{className:"font-semibold text-foreground",children:u?.name})," ($",u?.price.toLocaleString(),")."]})]}),r.jsxs("div",{className:"space-y-4 py-4",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address *"}),r.jsx(On,{id:"email",type:"email",value:l,onChange:P=>d(P.target.value),placeholder:"[email protected]",className:"w-full",required:!0}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]}),r.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send your order confirmation and invoice to this email address."})]}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{className:"bg-primary hover:bg-primary/90",onClick:k,disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-white border-t-transparent mr-2"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Proceed to Checkout",r.jsx(Mn,{className:"ml-2 h-4 w-4"})]})})]})]})})]})}function RT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Starter Headless Setup",price:1e3,description:"Perfect for single mobile app or third-party integration",icon:r.jsx(Ju,{className:"h-8 w-8 text-primary"}),deliveryTime:"2-3 weeks",revisions:"3 revisions",features:["WordPress REST API setup and configuration","Custom API endpoints for your app","JWT authentication implementation","API security and rate limiting","Basic CORS configuration","Custom post type API exposure","Media handling and optimization","Single mobile app integration (iOS or Android)","API documentation","Postman collection for testing","Error handling and logging","Basic caching strategy","Performance optimization","3 months support","1 year free updates","Complete technical documentation"]},{name:"Professional Multi-Platform",price:2e3,description:"Advanced integration for multiple apps and platforms",icon:r.jsx(Wl,{className:"h-8 w-8 text-primary"}),popular:!0,deliveryTime:"3-4 weeks",revisions:"5 revisions",features:["Everything in Starter package","Multi-platform integration (iOS, Android, Web)","GraphQL API implementation","Advanced JWT with refresh tokens","OAuth 2.0 integration","User authentication and authorization","Role-based access control (RBAC)","Custom taxonomies API","Advanced Custom Fields (ACF) integration","WooCommerce REST API integration","Real-time webhooks setup","Push notification system","File upload and management API","Search and filter endpoints","Pagination and lazy loading","Redis caching implementation","CDN integration","API versioning","Swagger/OpenAPI documentation","6 months priority support","2 years free updates","Video training included"]},{name:"Enterprise Headless Platform",price:3e3,description:"Complete headless CMS with advanced features",icon:r.
720jsx(hE,{className:"h-8 w-8 text-primary"}),deliveryTime:"4-6 weeks",revisions:"Unlimited",features:["Everything in Professional package","Custom GraphQL schema design","Multi-language/Multi-region support","Advanced caching with Varnish/Redis","Elasticsearch integration for search","Real-time data synchronization","Microservices architecture setup","Custom middleware development","API gateway implementation","Advanced security headers","DDoS protection configuration","API analytics and monitoring","Custom admin dashboard","Automated backup and restore API","Content preview system","Draft and revision management","Scheduled publishing API","Media CDN optimization","Image transformation API","Video streaming setup","Multi-tenant architecture","White-label API solution","Load balancer configuration","Auto-scaling setup","12 months premium support","Lifetime updates","Monthly optimization sessions","Dedicated technical consultant"]}],v=async(j,P)=>{m({name:j,price:P}),o(!0),d(""),h("")},b=j=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const P=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(P.error){h(P.error),n(!1);return}P.url?window.location.href=P.url:h("Failed to create checkout session. Please try again.")}catch(j){console.error("Checkout error:",j),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}},C=[{icon:r.jsx(rn,{className:"h-6 w-6 text-primary"}),title:"Lightning Fast Performance",description:"Headless architecture delivers content at blazing speeds with optimized API responses and CDN integration."},{icon:r.jsx(Os,{className:"h-6 w-6 text-primary"}),title:"Omnichannel Publishing",description:"Publish content once and distribute it across mobile apps, websites, IoT devices, and more."},{icon:r.jsx(pl,{className:"h-6 w-6 text-primary"}),title:"Enhanced Security",description:"Separate frontend from backend reduces attack surface and improves overall security posture."},{icon:r.jsx(zr,{className:"h-6 w-6 text-primary"}),title:"Framework Freedom",description:"Use any frontend technology - React, Vue, Angular, Flutter, React Native, or native mobile."},{icon:r.jsx(Ur,{className:"h-6 w-6 text-primary"}),title:"Better Scalability",description:"Scale frontend and backend independently, handle millions of requests with ease."},{icon:r.jsx(L0,{className:"h-6 w-6 text-primary"}),title:"Modern Development",description:"Build with modern tools and frameworks while leveraging WordPress as a powerful CMS."}],w=[{title:"Mobile Applications",description:"Power iOS and Android apps with WordPress content management",examples:["News apps","E-commerce apps","Content streaming apps","Social platforms"]},{title:"Progressive Web Apps",description:"Build fast, app-like experiences on the web",examples:["Single Page Apps","PWAs","Dynamic websites","Web portals"]},{title:"IoT & Wearables",description:"Deliver content to smart devices and wearables",examples:["Smart displays","Wearable apps","Voice assistants","Digital signage"]},{title:"Third-Party Integrations",description:"Connect WordPress with external platforms",examples:["CRM systems","Marketing automation","Analytics tools","Custom dashboards"]}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"Headless WordPress Integration Service | Ali Saleem",description:"Transform WordPress into a powerful headless CMS for mobile apps and third-party platforms. REST API, GraphQL, JWT authentication. Packages from $1000 to $3000.",keywords:"Headless WordPress, WordPress API, REST API, GraphQL, mobile app backend, WordPress CMS, decoupled WordPress, Ali Saleem",ogTitle:"Headless WordPress Integration - Mobile Apps & API Development",ogDescription:"Turn WordPress into a headless CMS. Power mobile apps, web apps, and third-party integrations with custom APIs, authentication, and real-time data.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-primary/10 rounded-full blur-3xl animate-pulse"}),r.jsx("div",{className:"absolute top-40 right-20 w-32 h-32 bg-secondary/20 rounded-full blur-3xl animate-pulse delay-1000"}),r.jsx("div",{className:"absolute bottom-20 left-1/3 w-24 h-24 bg-primary/5 rounded-full blur-3xl animate-pulse delay-500"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50}
720,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-5xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsxs("div",{className:"bg-gradient-to-br from-primary/20 to-primary/10 rounded-full p-6 inline-block relative",children:[r.jsx(Mn,{className:"h-16 w-16 text-primary animate-pulse"}),r.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 bg-primary rounded-full animate-ping"})]})}),r.jsx(I.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.4},className:"mb-4",children:r.jsx("span",{className:"inline-block bg-gradient-to-r from-primary/20 to-secondary/20 text-primary px-6 py-2 rounded-full font-medium border border-primary/20",children:"ð Headless CMS Architecture"})}),r.jsx("h1",{className:"text-5xl md:text-7xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:"Headless WordPress Integration"}),r.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed",children:"Transform WordPress into a powerful headless CMS for mobile apps, web applications, and third-party platforms. Deliver content anywhere with custom APIs, authentication, and real-time synchronization."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10",children:[r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(_0,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"REST & GraphQL"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"API Support"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(Qu,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"Multi-Platform"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"iOS, Android, Web"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(pl,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"Secure"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"JWT + OAuth"})]})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Why Choose Headless WordPress?"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Unlock the full potential of WordPress as a content management system while enjoying the flexibility of modern frontend technologies."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:C.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.1},viewport:{once:!0},whileHover:{y:-5,scale:1.02},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:j.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:j.description})]})})},j.title))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Perfect For Every Platform"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"Use WordPress as your content hub and deliver to any platform or device"})]}),r.jsx("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl mx-auto",children:w.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,x:P%2===0?-50:50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:P*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-8",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.title}),r.jsx("p",{className:"text-muted-foreground mb-6",children:j.description}),r.jsx("div",{className:"grid grid-cols-2 gap-3",children:j.examples.map(S=>r.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[r.jsx(ut,{className:"h-4 w-4 text-primary flex-shrink-0"}),r.jsx("span",{className:"text-muted-foreground",children:S})]},S))})]})})},j.title))})]})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Integration Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"All packages include comprehensive documentation, API
720security, and ongoing support. Transform WordPress into a headless CMS today!"})]}),r.jsx("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:x.map((j,P)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.15},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[j.popular&&r.jsx("div",{className:"absolute -top-5 left-0 right-0 flex justify-center z-10",children:r.jsxs("div",{className:"bg-gradient-to-r from-primary via-primary to-primary/80 text-white px-6 py-2 rounded-full text-sm font-bold shadow-xl flex items-center gap-2",children:[r.jsx(et,{className:"h-4 w-4 fill-current"}),"Most Popular"]})}),r.jsxs(X,{className:`h-full ${j.popular?"bg-gradient-to-br from-primary/10 via-card to-card border-primary shadow-2xl ring-2 ring-primary/20":"bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-8 pb-6",children:[r.jsx("div",{className:"flex justify-center mb-6",children:r.jsx("div",{className:`${j.popular?"bg-primary/20 scale-110":"bg-primary/10"} rounded-2xl p-5 transition-transform duration-300 group-hover:scale-110`,children:j.icon})}),r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-6 min-h-[40px]",children:j.description}),r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"flex items-baseline justify-center gap-2",children:r.jsxs("span",{className:"text-5xl font-bold text-primary",children:["$",j.price.toLocaleString()]})}),r.jsx("div",{className:"text-sm text-muted-foreground mt-2",children:"one-time payment"})]}),r.jsxs("div",{className:"flex items-center justify-center gap-4 text-xs text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx($r,{className:"h-3 w-3 text-primary"}),j.deliveryTime]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(xl,{className:"h-3 w-3 text-primary"}),j.revisions]})]})]}),r.jsxs(Q,{className:"p-8 pt-0",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"text-xs font-semibold text-primary uppercase tracking-wide mb-3",children:"What's Included:"}),r.jsx("ul",{className:"space-y-3 max-h-[420px] overflow-y-auto custom-scrollbar",children:j.features.map((S,T)=>r.jsxs("li",{className:"flex items-start gap-3",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground leading-relaxed",children:S})]},T))})]}),r.jsx(ie,{className:`w-full ${j.popular?"bg-primary hover:bg-primary/90 shadow-lg shadow-primary/30":"bg-primary/90 hover:bg-primary"} text-base py-6`,size:"lg",onClick:()=>v(j.name,j.price),disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"animate-spin mr-2",children:"â³"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Get Started Now",r.jsx(ut,{className:"ml-2 h-5 w-5"})]})})]})]})]},j.name))})]})}),r.jsx("section",{className:"py-16 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[r.jsx(xe,{to:"/services/headless-wordpress-integration/rest-api-react",children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsx(Q,{className:"p-4 flex items-center justify-between",children:r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:"WordPress REST API for React Apps"})})})}),r.jsx(xe,{to:"/services/wordpress-react-theme-development",children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsx(Q,{className:"p-4 flex items-center justify-between",children:r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:"Just need one fast website instead? See WordPress React Theme Development"})})})})]})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Enter Your Email"}),r.jsx(Qr,{children:"We'll send your receipt and project details to this email address."})]}),r.jsx("div",{className:"grid gap-4 py-4",children:r.jsxs("div",{className:"grid gap-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address"}),r.jsx(On,{id:"email",type:"email",placeholder:"[email protected]",value:l,onCh
720ange:j=>{d(j.target.value),h("")},className:f?"border-destructive":""}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]})}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{onClick:k,disabled:e,className:"bg-primary hover:bg-primary/90",children:e?"Processing...":"Proceed to Checkout"})]})]})})]})}function IT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Quick Fix",price:50,description:"Perfect for minor issues and quick tweaks",icon:r.jsx(yl,{className:"h-8 w-8 text-primary"}),deliveryTime:"24 hours",fixes:"1-2 fixes",features:["Fix one minor WordPress error","Plugin conflict resolution","Theme compatibility issue","Simple CSS/styling fix","Broken link repair","Image upload issue fix","Form submission error fix","Basic security patch","Widget configuration","Menu display fix","Comment system repair","24-hour turnaround","Email support","7 days warranty"]},{name:"Standard Fix Package",price:100,description:"Multiple fixes and WordPress updates",icon:r.jsx(gl,{className:"h-8 w-8 text-primary"}),popular:!0,deliveryTime:"48 hours",fixes:"3-5 fixes",features:["Everything in Quick Fix","Fix up to 5 WordPress issues","WordPress core update","All plugins update","Theme update and compatibility","Database optimization","Speed optimization","Broken page repair","Responsive design fixes","404 error resolution","SEO issues fix","Permalink structure fix","Backup before changes","Post-fix testing","Performance report","14 days warranty","Priority email support"]},{name:"Complete Fix & Maintenance",price:200,description:"Comprehensive fixes with security and optimization",icon:r.jsx(Rt,{className:"h-8 w-8 text-primary"}),deliveryTime:"2-3 days",fixes:"Unlimited",features:["Everything in Standard package","Unlimited fixes in scope","Complete WordPress audit","Security vulnerability scan","Malware removal","Hacked site recovery","Database cleanup and repair","Advanced speed optimization","Mobile responsiveness fix","Cross-browser compatibility","Contact form troubleshooting","Email delivery issues","WooCommerce cart fixes","Payment gateway issues","User role and permission fixes","Custom code debugging","PHP error resolution","White screen of death fix","Complete backup setup","SSL/HTTPS configuration","Cache configuration","30 days warranty","Priority support","Detailed fix report","1 month free monitoring"]}],v=async(j,P)=>{m({name:j,price:P}),o(!0),d(""),h("")},b=j=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(j),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const P=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(P.error){h(P.error),n(!1);return}P.url?window.location.href=P.url:h("Failed to create checkout session. Please try again.")}catch(j){console.error("Checkout error:",j),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}},C=[{icon:r.jsx(tE,{className:"h-6 w-6 text-primary"}),title:"Error Messages",description:"Fix PHP errors, fatal errors, warnings, and notices that break your site functionality."},{icon:r.jsx(Rt,{className:"h-6 w-6 text-primary"}),title:"Security Issues",description:"Remove malware, patch vulnerabilities, fix hacked sites, and strengthen security."},{icon:r.jsx(rn,{className:"h-6 w-6 text-primary"}),title:"Performance Problems",description:"Speed up slow sites, optimize databases, fix caching issues, and improve load times."},{icon:r.jsx(A4,{className:"h-6 w-6 text-primary"}),title:"Plugin Conflicts",description:"Resolve plugin compatibility issues, update problems, and feature conflicts."},{icon:r.jsx(mE,{className:"h-6 w-6 text-primary"}),title:"Broken Functionality",description:"Fix broken forms, failed uploads, email issues, and non-working features."},{icon:r.jsx(gl,{className:"h-6 w-6 text-primary"}),title:"Update Issues",description:"Safe WordPress core, plugin, and theme updates with compatibility testing."}],w=[{level:"Critical",time:"2-4 hours",color:"bg-red-500/10 border-red-500/50 text-red-600",issues:["Site completely down","Hacked/malware","White screen of death","Data loss risk"]},{level:"High Priority",time:"12-24 hours",color:"bg-orange-500/10 border-orange-500/50 text-orange-600",issues:["Payment not working","Major features broken","Security vulnerability","SEO issues"]},{level:"Normal",time:"24-48 hours",color:"bg-blue-500/10 border-blue-500/50 text-blue-600",issues:["Minor bugs","Styling issues","Small tweaks","Performance optimization"]}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"WordPress Fixing Service | Expert WordPress Error & Bug Fixes | Ali Saleem",description:"Fast WordPress error fixes, bug repairs, security patches, and updates. Fix broken WordPress sites quickly. Packages from $50 to $200 with 24-hour turnaround.",keywords:"WordPress fix, WordPress error, bug fix, WordPress repair, WordPress update, malware removal, security fix, WordPress maintenance, Ali Saleem",ogTitle:"WordPress Fixing Service - Fast Error Resolution & Bug Fixes",ogDescription:"Expert WordPress fixes for errors, bugs, security issues, and performance problems. Quick turnaround, affordable pricing, warranty included.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-primary/10 rounded-full blur-3xl animate-pulse"}),r.jsx("div",{className:"absolute top-40 right-20 w-32 h-32 bg-secondary/20 rounded-full blur-3xl animate-pulse delay-1000"}),r.jsx("div",{className:"absolute bottom-20 left-1/3 w-24 h-24 bg-primary/5 rounded-full blur-3xl animate-pulse delay-500"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50}
720,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-5xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsxs("div",{className:"bg-gradient-to-br from-primary/20 to-primary/10 rounded-full p-6 inline-block relative",children:[r.jsx(OE,{className:"h-16 w-16 text-primary animate-pulse"}),r.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 bg-primary rounded-full animate-ping"})]})}),r.jsx(I.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.4},className:"mb-4",children:r.jsx("span",{className:"inline-block bg-gradient-to-r from-primary/20 to-secondary/20 text-primary px-6 py-2 rounded-full font-medium border border-primary/20",children:"ð ï¸ Fast & Reliable WordPress Fixes"})}),r.jsx("h1",{className:"text-5xl md:text-7xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:"WordPress Fixing Service"}),r.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed",children:"Expert WordPress error fixes, bug repairs, security patches, and updates. Get your site back online quickly with our fast turnaround service. From minor tweaks to critical fixes, we've got you covered!"}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-10",children:[r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(C4,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"24 Hours"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Fast Turnaround"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(cE,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"100%"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Fix Guarantee"})]})]}),r.jsxs(I.div,{whileHover:{scale:1.05},className:"flex items-center gap-3 bg-card/60 backdrop-blur-sm px-6 py-4 rounded-xl border border-border/50 shadow-lg hover:shadow-xl transition-all",children:[r.jsx(Rt,{className:"h-6 w-6 text-primary"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-2xl font-bold text-foreground",children:"30 Days"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Warranty"})]})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Common WordPress Issues We Fix"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"From critical errors to minor tweaks, we handle all types of WordPress problems with expertise and speed."})]}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:C.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.1},viewport:{once:!0},whileHover:{y:-5,scale:1.02},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:j.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:j.description})]})})},j.title))})]})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Response Times by Urgency"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"We prioritize critical issues and provide fast turnaround times for all fix requests"})]}),r.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:w.map((j,P)=>r.jsx(I.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},transition:{duration:.5,delay:P*.1},viewport:{once:!0},children:r.jsx(X,{className:`${j.color} border-2 h-full`,children:r.jsxs(Q,{className:"p-6",children:[r.jsxs("div",{className:"text-center mb-4",children:[r.jsx("h3",{className:"text-xl font-bold mb-2",style:{fontFamily:"Poppins"},children:j.level}),r.jsx("div",{className:"text-2xl font-bold",children:j.time})]}),r.jsx("ul",{className:"space-y-2",children:j.issues.map(S=>r.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[r.jsx(Ve,{className:"h-4 w-4 flex-shrink-0 mt-0.5"}),r.jsx("span",{children:S})]},S))})]})})},j.level))})]})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Fix Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:"All packages include warranty, email support, and backup before changes. Get your WordPress site fixed today!"})]}),r.jsx("div",{className:"grid lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:x.map((j,P)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:P*.15},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[j.popular&&r.jsx("div",{className:"absolute -top-5 left-0 right-0 flex justify-center z-10",children:r.jsxs("div",{className:"bg-gradient-to-r from-primary via-primary to-primary/80 text-white px-6 py-2 rounded-full text-sm font-bold shadow-xl flex items-center gap-2",children:[r.jsx(et,{className:"h-4 w-4 fill-current"}),"Most Popular"]})}),r.jsxs(X,{className:`h-full ${j.popular?"bg-gradient-to-br from-primary/10 via-card to-card border-primary shadow-2xl ring-2 ring-primary/20":"bg-card/60 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-8 pb-6",children:[r.jsx("div",{className:"flex justify-center mb-6",children:r.jsx("div",{className:`${j.popular?"bg-primary/20 scale-110":"bg-primary/10"} rounded-2xl p-5 transition-transform duration-300 group-hover:scale-110`,children:j.icon})}),r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:j.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-6 min-h-[40px]",children:j.description}),r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"flex items-baseline justify-center gap-2",children:r.jsxs("span",{className:"text-5xl font-bold text-primary",children:["$",j.price]})}),r.jsx("div",{className:"text-sm text-muted-foreground mt-2",children:"one-time payment"})]}),r.jsxs("div",{className:"flex items-center justify-center gap-4 text-xs text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx($r,{className:"h-3 w-3 text-primary"}),j.deliveryTime]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(yl,{className:"h-3 w-3 text-primary"}),j.fixes]})]})]}),r.jsxs(Q,{className:"p-8 pt-0",children:[r.jsxs("div",{className:"mb-6",children:[r.jsx("div",{className:"text-xs font-semibold text-primary uppercase tracking-wide mb-3",children:"What's Included:"}),r.jsx("ul",{className:"space-y-3 max-h-[420px] overflow-y-auto custom-scrollbar",children:j.features.map((S,T)=>r.jsxs("li",{className:"flex items-start gap-3",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground leading-relaxed",children:S})]},T))})]}),r.jsx(ie,{className:`w-full ${j.popular?"bg-primary hover:bg-primary/90 shadow-lg shadow-primary/30":"bg-primary/90 hover:bg-primary"} text-base py-6`,size:"lg",onClick:()=>v(j.name,j.price),disabled:e,children:e?r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"animate-spin mr-2",children:"â³"}),"Processing..."]}):r.jsxs(r.Fragment,{children:["Fix My Site Now",r.jsx(ut,{className:"ml-2 h-5 w-5"})]})})]})]})]},j.name))})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Enter Your Email"}),r.jsx(Qr,{children:"We'll send your receipt and service details to this email address."})]}),r.jsx("div",{className:"grid gap-4 py-4",children:r.jsxs("div",{className:"grid gap-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address"}),r.jsx(On,{id:"email",type:"email",placeholder:"[email protected]",value:l,onCh
720ange:j=>{d(j.target.value),h("")},className:f?"border-destructive":""}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]})}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{onClick:k,disabled:e,className:"bg-primary hover:bg-primary/90",children:e?"Processing...":"Proceed to Checkout"})]})]})})]})}function MT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"WooCommerce Customization",price:300,description:"Focused fixes and small customizations to your existing store",icon:r.jsx(Yx,{className:"h-8 w-8 text-primary"}),features:["Custom pricing or checkout field logic","Single feature customization","Works with your existing theme/plugins","1 Month Support"]},{name:"WooCommerce Integration",price:1200,description:"Connect WooCommerce to payment gateways, CRMs or ERPs",icon:r.jsx(Hx,{className:"h-8 w-8 text-primary"}),popular:!0,features:["Custom payment gateway or API integration","Order/inventory sync with external systems","Webhook-based automation","Custom admin reporting","6 Months Support"]},{name:"WooCommerce Platform Build",price:3e3,description:"Marketplace, subscriptions or multi-vendor functionality",icon:r.jsx(Yi,{className:"h-8 w-8 text-primary"}),features:["Multi-vendor / marketplace logic","Subscription & recurring billing","Custom checkout & B2B ordering flows","Priority support & documentation","12 Months Support"]}],v=async(w,j)=>{m({name:w,price:j}),o(!0),d(""),h("")},b=w=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(w),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const j=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(j.error){h(j.error),n(!1);return}j.url?window.location.href=j.url:h("Failed to create checkout session. Please try again.")}catch(w){console.error("Checkout error:",w),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}},C=[{href:"/services/woocommerce-development/api-integration",label:"WooCommerce API Integration"},{href:"/services/woocommerce-development/payment-gateway",label:"WooCommerce Payment Gateway Development"},{href:"/services/woocommerce-development/custom-checkout",label:"WooCommerce Custom Checkout Development"}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"WooCommerce Development Services | Ali Saleem",description:"Custom WooCommerce development: payment gateways, API/CRM/ERP integrations, custom checkout and marketplace functionality. Packages from $300 to $3000.",keywords:"woocommerce development, woocommerce custom development, woocommerce plugin developer, woocommerce api integration, woocommerce payment gateway",ogTitle:"WooCommerce Development Services",ogDescription:"Custom WooCommerce functionality when off-the-shelf plugins aren't enough: payments, integrations, checkout and marketplace builds.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-4xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsx("div",{className:"bg-primary/10 rounded-full p-6 inline-block",children:r.jsx(Yi,{className:"h-16 w-16 text-primary"})})}),r.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"WooCommerce Development"}),r.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:"Custom WooCommerce functionality for stores that have outgrown off-the-shelf plugins â payment gateways, API/ERP/CRM integrations, custom checkout flows and multi-vendor marketplaces."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-8",children:[r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(Rt,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"PCI-Aware Payment Builds"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(gl,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Update-Safe Customizations"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(Br,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Dedicated Support"})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-4xl mx-auto",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-8 text-center",style:{fontFamily:"Poppins"},children:"When Default WooCommerce Isn't Enough"}),r.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:[{icon:r.jsx(Hx,{className:"h-8 w-8 text-primary"}),title:"Payment Gateways",body:"Regional processors, multi-currency checkout and custom payment flows that default WooCommerce extensions don't cover."},{icon:r.jsx(rn,{className:"h-8 w-8 text-primary"}),title:"API / ERP / CRM Integrations",body:"Sync orders, inventory and customers with the systems your business already runs on."},{icon:r.jsx(Yi,{className:"h-8 w-8 text-primary"}),title:"Custom Checkout & B2B Ordering",body:"Conditional fields, multi-step checkout, role-based pricing and purchase-order style ordering."},{icon:r.jsx(Yx,{className:"h-8 w-8 text-primary"}),title:"Marketplace & Subscriptions",body:"Multi-vendor commission logic, seller dashboards and recurring billing built on top of WooCommerce."}].map((w,j)=>r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:j*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:w.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:w.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:w.body})]})})},w.title))})]})})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Every package includes clean, update-safe WooCommerce code, documentation and support."})]}),r.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:x.map((w,j)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:j*.1},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[w.popular&&r.jsx("div",{className:"absolute -top-4 left-0 right-0 flex justify-center z-10",children:r.jsx("div",{className:"bg-gradient-to-r from-primary to-primary/80 text-white px-4 py-1 rounded-full text-sm font-medium shadow-lg",children:"Most Popular"})}),r.jsxs(X,{className:`h-full ${w.popular?"bg-gradient-to-br from-primary/5 via-card to-card border-primary shadow-xl":"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-6 pb-4",children:[r.jsx("div",{className:"flex justify-center mb-4",children:r.jsx("div",{className:`${w.popular?"bg-primary/20":"bg-primary/10"} rounded-full p-4`,children:w.icon})}),r.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",style:{fontFamily:"Poppins"},children:w.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:w.description}),r.jsxs("div",{className:"mb-4",children:[r.jsxs("span",{className:"text-4xl font-bold text-primary",children:["$",w.price]}),r.jsx("span",{className:"text-muted-foreground ml-2",children:"starting"})]})]}),r.jsxs(Q,{className:"p-6 pt-0",children:[r.jsx("ul",{className:"space-y-3 mb-6",children:w.features.map((P,S)=>r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground",children:P})]},S))}),r.jsx(ie,{className:`w-full ${w.popular?"bg-primary hover:bg-primary/90":"bg-primary/90 hover:bg-primary"}`,size:"lg",onClick:()=>v(w.name,w.price),disabled:e,children:e?"Processing...":"Order Now"})]})]})]},w.name))}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-16 text-center",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Need a Custom Quote?"}),r.jsx("p",{className:"text-muted-foreground mb-6 max-w-2xl mx-auto",children:"Every WooCommerce store is different â let's scope your integration or checkout requirements properly."}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>{const w=document.getElementById("contact");w?w.scrollIntoView({behavior:"smooth"}):window.location.href="/#contact"},children:"Contact Me for Custom Quote"})]}),r.jsxs("div",{className:"mt-20 max-w-4xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:C.map(w=>r.jsx(xe,{to:w.href,children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsxs(Q,{className:"p-4 flex items-center justify-between",children:[r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:w.label}),r.jsx(ut,{className:"h-4 w-4 text-primary group-hover:translate-x-1 transition-transform flex-shrink-0"})]})})},w.href))})]})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Complete Your Order"}),r.jsxs(Qr,{children:["Please enter your email address to proceed with checkout for"," ",r.jsx("span",{className:"font-semibold text-foreground",children:u?.name}
720)," ($",u?.price.toLocaleString(),")."]})]}),r.jsxs("div",{className:"space-y-4 py-4",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address *"}),r.jsx(On,{id:"email",type:"email",value:l,onChange:w=>d(w.target.value),placeholder:"[email protected]",className:"w-full",required:!0}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]}),r.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send your order confirmation and invoice to this email address."})]}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{className:"bg-primary hover:bg-primary/90",onClick:k,disabled:e,children:e?"Processing...":"Proceed to Checkout"})]})]})})]})}function DT(){const[e,n]=y.useState(!1),[i,o]=y.useState(!1),[l,d]=y.useState(""),[u,m]=y.useState(null),[f,h]=y.useState(""),x=[{name:"Single API Integration",price:500,description:"Connect WordPress to one external service or API",icon:r.jsx(hl,{className:"h-8 w-8 text-primary"}),features:["One external API/service connection","Authentication & error handling","Basic admin settings screen","1 Month Support"]},{name:"CRM / ERP Integration",price:1500,description:"Two-way sync between WordPress/WooCommerce and your CRM or ERP",icon:r.jsx(Qu,{className:"h-8 w-8 text-primary"}),popular:!0,features:["Two-way data sync (contacts, orders, inventory)","Webhook-based automation","Custom field mapping","Sync logs & error alerts","6 Months Support"]},{name:"Custom REST API Platform",price:3e3,description:"Custom REST API layer powering an app, dashboard or partner integration",icon:r.jsx(Qx,{className:"h-8 w-8 text-primary"}),features:["Custom versioned REST endpoints","Token/JWT authentication","Rate limiting & validation","Documentation for consuming teams","12 Months Support"]}],v=async(w,j)=>{m({name:w,price:j}),o(!0),d(""),h("")},b=w=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(w),k=async()=>{if(!l.trim()){h("Email is required");return}if(!b(l)){h("Please enter a valid email address");return}if(u){n(!0),h("");try{const j=await(await fetch("https://alisaleem252.com/services/create-checkout-session.php",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,plan:u.name,amount:u.price})})).json();if(j.error){h(j.error),n(!1);return}j.url?window.location.href=j.url:h("Failed to create checkout session. Please try again.")}catch(w){console.error("Checkout error:",w),h("An error occurred. Please try again or contact support.")}finally{n(!1)}}},C=[{href:"/services/wordpress-api-integration/crm-integration",label:"WordPress CRM Integration"},{href:"/services/wordpress-api-integration/erp-integration",label:"WordPress ERP Integration"},{href:"/services/wordpress-api-integration/rest-api-development",label:"WordPress REST API Development"}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"WordPress API & Integration Development | Ali Saleem",description:"Custom WordPress API integrations: CRM, ERP, webhooks and REST API development. Connect WordPress to the systems your business runs on. Packages from $500 to $3000.",keywords:"wordpress api integration, wordpress rest api development, wordpress crm integration, wordpress erp integration, wordpress automation",ogTitle:"WordPress API & Integration Development",ogDescription:"Connect WordPress and WooCommerce to CRMs, ERPs and third-party APIs with custom, reliable integrations.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-4xl mx-auto",children:[r.jsx(I.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5,delay:.2},className:"inline-block mb-6",children:r.jsx("div",{className:"bg-primary/10 rounded-full p-6 inline-block",children:r.jsx(hl,{className:"h-16 w-16 text-primary"})})}),r.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"WordPress API & Integration Development"}),r.jsx("p",{className:"text-xl text-muted-foreground mb-8 leading-relaxed",children:"Connect WordPress and WooCommerce to the CRMs, ERPs, SaaS platforms and third-party APIs your business already runs on â with reliable authentication, error handling and sync logging."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6 mt-8",children:[r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(pl,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Secure Authentication"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(gl,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Reliable Sync & Retries"})]}),r.jsxs("div",{className:"flex items-center gap-3 bg-card/50 backdrop-blur-sm px-6 py-3 rounded-full border border-border/50",children:[r.jsx(Br,{className:"h-5 w-5 text-primary"}),r.jsx("span",{className:"font-medium",children:"Dedicated Support"})]})]})]})})]}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"max-w-4xl mx-auto",children:[r.jsx("h2",{className:"text-4xl font-bold text-foreground mb-8 text-center",style:{fontFamily:"Poppins"},children:"What Gets Connected"}),r.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:[{icon:r.jsx(Qu,{className:"h-8 w-8 text-primary"}),title:"CRM & ERP Integration",body:"Sync contacts, leads, orders and inventory between WordPress/WooCommerce and the systems your team already uses."}
720,{icon:r.jsx(Qx,{className:"h-8 w-8 text-primary"}),title:"Webhook Automation",body:"Receive webhooks from external services and turn them into WordPress actions, emails or database updates automatically."},{icon:r.jsx(rn,{className:"h-8 w-8 text-primary"}),title:"REST API Development",body:"Custom, versioned REST endpoints that expose exactly the data your app, dashboard or partner integration needs."},{icon:r.jsx(pl,{className:"h-8 w-8 text-primary"}),title:"Secure by Default",body:"Token/JWT authentication, input validation and rate limiting on every custom endpoint â no exposed secrets."}].map((w,j)=>r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:j*.1},viewport:{once:!0},children:r.jsx(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 transition-all duration-300",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("div",{className:"bg-primary/10 rounded-full p-4 inline-block mb-4",children:w.icon}),r.jsx("h3",{className:"text-xl font-semibold text-foreground mb-3",style:{fontFamily:"Poppins"},children:w.title}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:w.body})]})})},w.title))})]})})}),r.jsx("section",{className:"py-20 bg-background",children:r.jsxs("div",{className:"container mx-auto px-4",children:[r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Choose Your Package"}),r.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:"Every integration includes error handling, logging and documentation."})]}),r.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-6xl mx-auto",children:x.map((w,j)=>r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:j*.1},viewport:{once:!0},whileHover:{y:-10,scale:1.02},className:"relative group",children:[w.popular&&r.jsx("div",{className:"absolute -top-4 left-0 right-0 flex justify-center z-10",children:r.jsx("div",{className:"bg-gradient-to-r from-primary to-primary/80 text-white px-4 py-1 rounded-full text-sm font-medium shadow-lg",children:"Most Popular"})}),r.jsxs(X,{className:`h-full ${w.popular?"bg-gradient-to-br from-primary/5 via-card to-card border-primary shadow-xl":"bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50"} transition-all duration-300`,children:[r.jsxs(gr,{className:"text-center p-6 pb-4",children:[r.jsx("div",{className:"flex justify-center mb-4",children:r.jsx("div",{className:`${w.popular?"bg-primary/20":"bg-primary/10"} rounded-full p-4`,children:w.icon})}),r.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",style:{fontFamily:"Poppins"},children:w.name}),r.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:w.description}),r.jsxs("div",{className:"mb-4",children:[r.jsxs("span",{className:"text-4xl font-bold text-primary",children:["$",w.price]}),r.jsx("span",{className:"text-muted-foreground ml-2",children:"starting"})]})]}),r.jsxs(Q,{className:"p-6 pt-0",children:[r.jsx("ul",{className:"space-y-3 mb-6",children:w.features.map((P,S)=>r.jsxs("li",{className:"flex items-start gap-2",children:[r.jsx(Ve,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"text-sm text-muted-foreground",children:P})]},S))}),r.jsx(ie,{className:`w-full ${w.popular?"bg-primary hover:bg-primary/90":"bg-primary/90 hover:bg-primary"}`,size:"lg",onClick:()=>v(w.name,w.price),disabled:e,children:e?"Processing...":"Order Now"})]})]})]},w.name))}),r.jsxs(I.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},className:"mt-16 text-center",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Need a Custom Quote?"}),r.jsx("p",{className:"text-muted-foreground mb-6 max-w-2xl mx-auto",children:"Every integration is different â let's scope out the systems involved and the right approach."}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>{const w=document.getElementById("contact");w?w.scrollIntoView({behavior:"smooth"}):window.location.href="/#contact"},children:"Contact Me for Custom Quote"})]}),r.jsxs("div",{className:"mt-20 max-w-4xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:C.map(w=>r.jsx(xe,{to:w.href,children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group h-full",children:r.jsxs(Q,{className:"p-4 flex items-center justify-between",children:[r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors text-sm",children:w.label}),r.jsx(ut,{className:"h-4 w-4 text-primary group-hover:translate-x-1 transition-transform flex-shrink-0"})]})})},w.href))})]})]})}),r.jsx(xr,{initialReviews:9,title:"Users Feedback"}),r.jsx(Gr,{open:i,onOpenChange:o,children:r.jsxs(qr,{className:"sm:max-w-[425px]",children:[r.jsxs(Kr,{children:[r.jsx(Xr,{children:"Complete Your Order"}),r.jsxs(Qr,{children:["Please enter your email address to proceed with checkout for"," ",r.jsx("span",{className:"font-semibold text-foreground",children:u?.name}
720)," ($",u?.price.toLocaleString(),")."]})]}),r.jsxs("div",{className:"space-y-4 py-4",children:[r.jsxs("div",{className:"space-y-2",children:[r.jsx(Zr,{htmlFor:"email",children:"Email Address *"}),r.jsx(On,{id:"email",type:"email",value:l,onChange:w=>d(w.target.value),placeholder:"[email protected]",className:"w-full",required:!0}),f&&r.jsx("p",{className:"text-sm text-destructive",children:f})]}),r.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send your order confirmation and invoice to this email address."})]}),r.jsxs(Yr,{children:[r.jsx(ie,{variant:"outline",onClick:()=>o(!1),disabled:e,children:"Cancel"}),r.jsx(ie,{className:"bg-primary hover:bg-primary/90",onClick:k,disabled:e,children:e?"Processing...":"Proceed to Checkout"})]})]})})]})}function Ey(e){const n=LT(e),i=y.forwardRef((o,l)=>{const{children:d,...u}=o,m=y.Children.toArray(d),f=m.find(_T);if(f){const h=f.props.children,x=m.map(v=>v===f?y.Children.count(h)>1?y.Children.only(null):y.isValidElement(h)?h.props.children:null:v);return r.jsx(n,{...u,ref:l,children:y.isValidElement(h)?y.cloneElement(h,void 0,x):null})}return r.jsx(n,{...u,ref:l,children:d})});return i.displayName=`${e}.Slot`,i}function LT(e){const n=y.forwardRef((i,o)=>{const{children:l,...d}=i;
720if(y.isValidElement(l)){const u=OT(l),m=FT(d,l.props);return l.type!==y.Fragment&&(m.ref=o?go(o,u):u),y.cloneElement(l,m)}return y.Children.count(l)>1?y.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var WT=Symbol("radix.slottable");function _T(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WT}function FT(e,n){const i={...n};for(const o in n){const l=e[o],d=n[o];/^on[A-Z]/.test(o)?l&&d?i[o]=(...m)=>{const f=d(...m);return l(...m),f}:l&&(i[o]=l):o==="style"?i[o]={...l,...d}:o==="className"&&(i[o]=[l,d].filter(Boolean).join(" "))}return{...e,...i}}function OT(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}function VT(e){const n=e+"CollectionProvider",[i,o]=Ol(n),[l,d]=i(n,{collectionRef:{current:null},itemMap:new Map}),u=w=>{const{scope:j,children:P}=w,S=Qe.useRef(null),T=Qe.useRef(new Map).current;return r.jsx(l,{scope:j,itemMap:T,collectionRef:S,children:P})};u.displayName=n;const m=e+"CollectionSlot",f=Ey(m),h=Qe.forwardRef((w,j)=>{const{scope:P,children:S}=w,T=d(m,P),O=an(j,T.collectionRef);return r.jsx(f,{ref:O,children:S})});h.displayName=m;const x=e+"CollectionItemSlot",v="data-radix-collection-item",b=Ey(x),k=Qe.forwardRef((w,j)=>{const{scope:P,children:S,...T}=w,O=Qe.useRef(null),M=an(j,O),U=d(x,P);return Qe.useEffect(()=>(U.itemMap.set(O,{ref:O,...T}),()=>void U.itemMap.delete(O))),r.jsx(b,{[v]:"",ref:M,children:S})});k.displayName=x;function C(w){const j=d(e+"CollectionConsumer",w);return Qe.useCallback(()=>{const S=j.collectionRef.current;if(!S)return[];const T=Array.from(S.querySelectorAll(`[${v}]`));return Array.from(j.itemMap.values()).sort((U,z)=>T.indexOf(U.ref.current)-T.indexOf(z.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:u,Slot:h,ItemSlot:k},C,o]}var Bl="Collapsible",[zT,_w]=Ol(Bl),[$T,op]=zT(Bl),Fw=y.forwardRef((e,n)=>{const{__scopeCollapsible:i,open:o,defaultOpen:l,disabled:d,onOpenChange:u,...m}=e,[f,h]=Vl({prop:o,defaultProp:l??!1,onChange:u,caller:Bl});return r.jsx($T,{scope:i,disabled:d,contentId:Xi(),open:f,onOpenToggle:y.useCallback(()=>h(x=>!x),[h]),children:r.jsx(Mt.div,{"data-state":lp(f),"data-disabled":d?"":void 0,...m,ref:n})})});Fw.displayName=Bl;var Ow="CollapsibleTrigger",Vw=y.forwardRef((e,n)=>{const{__scopeCollapsible:i,...o}=e,l=op(Ow,i);return r.jsx(Mt.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":lp(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...o,ref:n,onClick:vn(e.onClick,l.onOpenToggle)})});Vw.displayName=Ow;var ap="CollapsibleContent",zw=y.forwardRef((e,n)=>{const{forceMount:i,...o}=e,l=op(ap,e.__scopeCollapsible);return r.jsx(yo,{present:i||l.open,children:({present:d})=>r.jsx(BT,{...o,ref:n,present:d})})});zw.displayName=ap;var BT=y.forwardRef((e,n)=>{const{__scopeCollapsible:i,present:o,children:l,...d}=e,u=op(ap,i),[m,f]=y.useState(o),h=y.useRef(null),x=an(n,h),v=y.useRef(0),b=v.current,k=y.useRef(0),C=k.current,w=u.open||m,j=y.useRef(w),P=y.useRef(void 0);return y.useEffect(()=>{const S=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(S)},[]),Vs(()=>{const S=h.current;if(S){P.current=P.current||{transitionDuration:S.style.transitionDuration,animationName:S.style.animationName},S.style.transitionDuration="0s",S.style.animationName="none";const T=S.getBoundingClientRect();v.current=T.height,k.current=T.width,j.current||(S.style.transitionDuration=P.current.transitionDuration,S.style.animationName=P.current.animationName),f(o)}},[u.open,o]),r.jsx(Mt.div,{"data-state":lp(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!w,...d,ref:x,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:w&&l})});function lp(e){return e?"open":"closed"}var UT=Fw,HT=Vw,GT=zw,qT=y.createContext(void 0);function KT(e){const n=y.useContext(qT);return e||n||"ltr"}var cn="Accordion",YT=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[cp,XT,QT]=VT(cn),[Ul]=Ol(cn,[QT,_w]),dp=_w(),$w=Qe.forwardRef((e,n
720)=>{const{type:i,...o}=e,l=o,d=o;return r.jsx(cp.Provider,{scope:e.__scopeAccordion,children:i==="multiple"?r.jsx(tR,{...d,ref:n}):r.jsx(eR,{...l,ref:n})})});$w.displayName=cn;var[Bw,ZT]=Ul(cn),[Uw,JT]=Ul(cn,{collapsible:!1}),eR=Qe.forwardRef((e,n)=>{const{value:i,defaultValue:o,onValueChange:l=()=>{},collapsible:d=!1,...u}=e,[m,f]=Vl({prop:i,defaultProp:o??"",onChange:l,caller:cn});return r.jsx(Bw,{scope:e.__scopeAccordion,value:Qe.useMemo(()=>m?[m]:[],[m]),onItemOpen:f,onItemClose:Qe.useCallback(()=>d&&f(""),[d,f]),children:r.jsx(Uw,{scope:e.__scopeAccordion,collapsible:d,children:r.jsx(Hw,{...u,ref:n})})})}),tR=Qe.forwardRef((e,n)=>{const{value:i,defaultValue:o,onValueChange:l=()=>{},...d}=e,[u,m]=Vl({prop:i,defaultProp:o??[],onChange:l,caller:cn}),f=Qe.useCallback(x=>m((v=[])=>[...v,x]),[m]),h=Qe.useCallback(x=>m((v=[])=>v.filter(b=>b!==x)),[m]);return r.jsx(Bw,{scope:e.__scopeAccordion,value:u,onItemOpen:f,onItemClose:h,children:r.jsx(Uw,{scope:e.__scopeAccordion,collapsible:!0,children:r.jsx(Hw,{...d,ref:n})})})}),[nR,Hl]=Ul(cn),Hw=Qe.forwardRef((e,n)=>{const{__scopeAccordion:i,disabled:o,dir:l,orientation:d="vertical",...u}=e,m=Qe.useRef(null),f=an(m,n),h=XT(i),v=KT(l)==="ltr",b=vn(e.onKeyDown,k=>{if(!YT.includes(k.key))return;const C=k.target,w=h().filter(V=>!V.ref.current?.disabled),j=w.findIndex(V=>V.ref.current===C),P=w.length;if(j===-1)return;k.preventDefault();let S=j;const T=0,O=P-1,M=()=>{S=j+1,S>O&&(S=T)},U=()=>{S=j-1,S<T&&(S=O)};switch(k.key){case"Home":S=T;break;case"End":S=O;break;case"ArrowRight":d==="horizontal"&&(v?M():U());break;case"ArrowDown":d==="vertical"&&M();break;case"ArrowLeft":d==="horizontal"&&(v?U():M());break;case"ArrowUp":d==="vertical"&&U();break}const z=S%P;w[z].ref.current?.focus()});return r.jsx(nR,{scope:i,disabled:o,direction:l,orientation:d,children:r.jsx(cp.Slot,{scope:i,children:r.jsx(Mt.div,{...u,"data-orientation":d,ref:f,onKeyDown:o?void 0:b})})})}),Nl="AccordionItem",[rR,up]=Ul(Nl),Gw=Qe.forwardRef((e,n)=>{const{__scopeAccordion:i,value:o,...l}=e,d=Hl(Nl,i),u=ZT(Nl,i),m=dp(i),f=Xi(),h=o&&u.value.includes(o)||!1,x=d.disabled||e.disabled;return r.jsx(rR,{scope:i,open:h,disabled:x,triggerId:f,children:r.jsx(UT,{"data-orientation":d.orientation,"data-state":Zw(h),...m,...l,ref:n,disabled:x,open:h,onOpenChange:v=>{v?u.onItemOpen(o):u.onItemClose(o)}})})});Gw.displayName=Nl;var qw="AccordionHeader",Kw=Qe.forwardRef((e,n)=>{const{__scopeAccordion:i,...o}=e,l=Hl(cn,i),d=up(qw,i);return r.jsx(Mt.h3,{"data-orientation":l.orientation,"data-state":Zw(d.open),"data-disabled":d.disabled?"":void 0,...o,ref:n})});Kw.displayName=qw;var cm="AccordionTrigger",Yw=Qe.forwardRef((e,n)=>{const{__scopeAccordion:i,...o}=e,l=Hl(cn,i),d=up(cm,i),u=JT(cm,i),m=dp(i);return r.jsx(cp.ItemSlot,{scope:i,children:r.jsx(HT,{"aria-disabled":d.open&&!u.collapsible||void 0,"data-orientation":l.orientation,id:d.triggerId,...m,...o,ref:n})})});Yw.displayName=cm;var Xw="AccordionContent",Qw=Qe.forwardRef((e,n)=>{const{__scopeAccordion:i,...o}=e,l=Hl(cn,i),d=up(Xw,i),u=dp(i);return r.jsx(GT,{role:"region","aria-labelledby":d.triggerId,"data-orientation":l.orientation,...u,...o,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});Qw.displayName=Xw;function Zw(e){return e?"open":"closed"}var sR=$w,iR=Gw,oR=Kw,aR=Yw,lR=Qw;function cR({...e}){return r.jsx(sR,{"data-slot":"accordion",...e})}function dR({className:e,...n}){return r.jsx(iR,{"data-slot":"accordion-item",className:ht("border-b last:border-b-0",e),...n})}function uR({className:e,children:n,...i}){return r.jsx(oR,{className:"flex",children:r.jsxs(aR,{"data-slot":"accordion-trigger",className:ht("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...i,children:[n,r.jsx(ul,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function mR({className:e,children:n,...i}){return r.jsx(lR,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...i,children:r.jsx("div",{className:ht("pt-0 pb-4",e),children:n})})}const Dr="/services/wordpress-custom-plugin-development-service.html",Oi="/services/woocommerce-development",Ua="/services/wordpress-api-integration",Pu="/services/wordpress-custom-ai-integrations.html",Ay="/services/wordpress-react-theme-development",Ty="/services/headless-wordpress-integration",pR=[{path:"/services/wordpress-custom-plugin-development-service/cost",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"How Much Does Custom WordPress Plugin Development Cost in 2026?",intro:"Based on delivering 2,400+ WordPress projects, plugin pricing depends far more on scope and integrations than on lines of code. Here's what actually moves the price.",seoTitle:"WordPress Plugin Development Cost in 2026 | Ali Saleem",seoDescription:"Real-world WordPress custom plugin development pricing for 2026, based on 2,400+ delivered projects. See what actually drives plugin development cost.",keywords:"wordpress plugin development cost, custom plugin pricing, how much does a wordpress plugin cost",sections:[{heading:"What actually drives the price",body:'A settings page and a single feature is a very different job from a plugin that touches payments, third-party APIs or user roles. Cost scales with complexity, not with how "important" the feature sounds.',bullets:["Number of external systems/APIs the plugin talks to","Complexity of the admin UI (simple settings page vs. full dashboard)","Security, validation and performance requirements","How much ongoing support and updates you need after launch"]},{heading:"Typical price ranges",body:"These map directly to the packages on the Custom Plugin Development page: Basic Plugin ($200) for a single feature, Integration Plugin ($800) for payment/API connections, Extended Plugin ($1,200) for multi-feature native plugins, and Fully Integrated Plugin ($2,500) for enterprise-level builds with custom roles and multi-channel support."},{heading:"Where the real cost hides",body:"WooCommerce and API integrations are the two things that most often push a project from the Basic tier into Integration or Extended territory, because they involve external systems you don't fully control."}],faqs:[{q:"Is a $200 plugin enough for my business?",a:"It's enough for a single, well-defined feature (a settings page, a shortcode, a small automation). Anything touching payments, C
720RMs or multiple user roles usually needs the Integration or Extended tier."},{q:"Why do WooCommerce or API integrations cost more?",a:"Because the plugin has to handle another system's data formats, authentication, rate limits and failure cases â not just WordPress. See the WooCommerce Custom Plugin and API Plugin Development pages below for specifics."}],relatedLinks:[{href:"/services/wordpress-custom-plugin-development-service/woocommerce-custom-plugin",label:"WooCommerce Custom Plugin Development"},{href:"/services/wordpress-custom-plugin-development-service/api-plugin-development",label:"WordPress API Plugin Development"}]},{path:"/services/wordpress-custom-plugin-development-service/custom-vs-existing-plugin",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"Custom WordPress Plugin vs. an Existing Plugin: Which Do You Need?",intro:"Most businesses default to searching the plugin repository first. That's the right instinct â until your requirements stop fitting what an off-the-shelf plugin was built for.",seoTitle:"Custom Plugin vs Existing WordPress Plugin | Ali Saleem",seoDescription:"When to use an existing WordPress plugin vs. building a custom one â a practical framework based on 2,400+ delivered WordPress projects.",keywords:"custom wordpress plugin vs existing plugin, should I build a custom plugin, wordpress plugin alternative",sections:[{heading:"When an existing plugin is the right call",body:"If a plugin covers 90%+ of your requirement out of the box, extending it with hooks/filters or a small companion plugin is almost always cheaper and faster than a rebuild."},{heading:"When it stops making sense",body:"Existing plugins start costing you more than custom development once you need workarounds, are stacking 3+ plugins to fake one workflow, or keep breaking on updates.",bullets:["You are combining multiple plugins to simulate one custom workflow","The plugin doesn't expose the data/logic you need via hooks or an API","Updates keep breaking your customizations","You need tight, secure integration with WooCommerce or an external API"]},{heading:"A practical middle ground",body:'Often the best answer is a small custom "glue" plugin that sits alongside a trusted existing plugin (like WooCommerce) rather than replacing it entirely â see the Custom Admin Dashboard and Automation Plugin pages for examples.'}],faqs:[{q:"Can you extend a plugin I already bought instead of starting from scratch?",a:"Yes â most engagements start by reviewing what you already have and building a companion plugin that extends it safely, rather than a full rebuild."},{q:"What happens to my data if we move away from an existing plugin?",a:"A migration plan is part of the scoping process so existing content, orders or user data carries over cleanly."}],relatedLinks:[{href:"/services/wordpress-custom-plugin-development-service/plugin-maintenance",label:"WordPress Plugin Maintenance"},{href:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",label:"Custom Admin Dashboard Plugin"}]},{path:"/services/wordpress-custom-plugin-development-service/woocommerce-custom-plugin",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"WooCommerce Custom Plugin Development",intro:"WooCommerce covers the basics of selling online, but pricing rules, checkout logic and vendor workflows unique to your business almost always need a custom plugin layered on top.",seoTitle:"WooCommerce Custom Plugin Development | Ali Saleem",seoDescription:"Custom WooCommerce plugins for pricing rules, checkout logic, subscriptions and vendor workflows that default WooCommerce cannot handle.",keywords:"woocommerce custom plugin development, woocommerce custom plugin, custom woocommerce functionality",sections:[{heading:"Common WooCommerce custom plugin requests",body:"Most custom WooCommerce work falls into a handful of categories â all built as clean, update-safe plugins rather than core file edits.",bullets:["Custom pricing rules (bulk, role-based, quantity breaks)","Checkout field customization and conditional logic","Subscription and membership billing logic","Vendor/marketplace commission and payout workflows"]},{heading:"Built to survive WooCommerce updates",body:"Every custom plugin uses documented WooCommerce hooks and the CRUD APIs instead of template overrides where possible, so core and WooCommerce updates don't silently break your store."}],faqs:[{q:"Do you modify WooCommerce core files?",a:"No â everything is built as a standalone plugin using WooCommerce hooks/filters, so updates to WooCommerce or WordPress don't wipe out your customizations."}],relatedLinks:[{href:Oi,label:"WooCommerce Development (full service)"}
720,{href:"/services/woocommerce-development/custom-checkout",label:"WooCommerce Custom Checkout"}]},{path:"/services/wordpress-custom-plugin-development-service/api-plugin-development",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"WordPress API Plugin Development",intro:"Need WordPress to talk to a system it wasn't built to talk to? An API plugin bridges WordPress and any external REST/SOAP/webhook-based service.",seoTitle:"WordPress API Plugin Development | Ali Saleem",seoDescription:"Custom WordPress plugins that connect your site to external REST APIs, webhooks and third-party services â securely and reliably.",keywords:"wordpress api plugin development, wordpress api plugin, connect wordpress to external api",sections:[{heading:"What an API integration plugin actually does",body:"It handles authentication, request/response mapping, error handling and retries between WordPress and the external service, and exposes the result through WordPress in a way your team can use without touching code."},{heading:"Typical use cases",bullets:["Pulling/pushing data to a CRM or ERP","Syncing WooCommerce orders to a fulfillment or accounting system","Receiving webhooks and turning them into WordPress actions","Exposing WordPress data to a mobile app or external frontend"],body:""}],faqs:[{q:"What if the third-party API changes or goes down?",a:"Integrations are built with logging, retries and graceful failure handling so a temporary outage on the other end doesn't break your site."}],relatedLinks:[{href:Ua,label:"WordPress API & Integration Development (full service)"},{href:"/services/wordpress-api-integration/rest-api-development",label:"WordPress REST API Development"}]},{path:"/services/wordpress-custom-plugin-development-service/automation-plugin",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"WordPress Automation Plugin Development",intro:"If your team is repeating the same manual steps in wp-admin every week, that's almost always automatable with a custom plugin using WP-Cron, hooks, or scheduled API calls.",seoTitle:"WordPress Automation Plugin Development | Ali Saleem",seoDescription:"Custom WordPress automation plugins for scheduled tasks, notifications, content workflows and repetitive admin work.",keywords:"wordpress automation plugin, wordpress workflow automation, wordpress scheduled tasks plugin",sections:[{heading:"Where automation pays off fastest",bullets:["Scheduled content publishing, syncing or cleanup tasks","Automatic email/SMS/Slack notifications on WordPress or WooCommerce events","Bulk data imports/exports on a schedule","Multi-step approval or fulfillment workflows"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",label:"Custom Admin Dashboard Plugin"}]},{path:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"Custom WordPress Admin Dashboard Plugin",intro:"A custom admin dashboard gives your team one place to manage business logic that doesn't belong in the default WordPress screens â reporting, custom user roles, or internal tools.",seoTitle:"Custom WordPress Admin Dashboard Plugin | Ali Saleem",seoDescription:"Custom WordPress dashboard plugins with reporting widgets, role-based access and internal tools built into wp-admin.",keywords:"custom wordpress dashboard plugin, wordpress admin dashboard, wordpress custom user roles plugin",sections:[{heading:"What goes into a custom dashboard",bullets:["Custom reporting widgets and charts","Role-based access control beyond default WordPress capabilities","Internal tools (approvals, lookups, bulk actions) your team actually needs"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-custom-plugin-development-service/plugin-maintenance",label:"WordPress Plugin Maintenance"}]},{path:"/services/wordpress-custom-plugin-development-service/plugin-maintenance",parentPath:Dr,parentLabel:"Custom WordPress Plugin Development",title:"WordPress Plugin Maintenance & Support",intro:"A custom plugin is only as good as its long-term maintenance. WordPress core, PHP versions and dependent plugins all keep moving â your custom code needs to move with them.",seoTitle:"WordPress Plugin Maintenance & Support | Ali Saleem",seoDescription:"Ongoing WordPress plugin maintenance: compatibility updates, bug fixes, security patches and feature additions after launch.",keywords:"wordpress plugin maintenance, wordpress plugin support, wordpress plugin updates",sections:[{heading:"What ongoing maintenance covers",bullets:["PHP/WordPress/WooCommerce compatibility updates","Bug fixes and security patches","Small feature additions as your business changes","Monitoring after major WordPress core updates"],body:""}],faqs:[{q:"Do your plugin packages already include support?",a:"Yes â every package on the main Custom Plugin Development page includes a supp
720ort window (1 month to lifetime, depending on tier). This page covers extended/ongoing maintenance beyond that window."}],relatedLinks:[{href:"/services/wordpress-fixing-service",label:"WordPress Fixing Service"}]},{path:"/services/woocommerce-development/api-integration",parentPath:Oi,parentLabel:"WooCommerce Development",title:"WooCommerce API Integration",intro:"Connect WooCommerce to the CRMs, ERPs, shipping providers and accounting tools your business already runs on â without manual data entry.",seoTitle:"WooCommerce API Integration | Ali Saleem",seoDescription:"Custom WooCommerce API integrations connecting your store to CRMs, ERPs, shipping and accounting platforms.",keywords:"woocommerce api integration, woocommerce integration developer, connect woocommerce to crm",sections:[{heading:"What gets connected",bullets:["Order sync to ERP/accounting systems","Customer sync to CRM platforms","Real-time shipping/fulfillment provider integration","Custom REST endpoints for external tools reading WooCommerce data"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-api-integration/erp-integration",label:"WordPress ERP Integration"},{href:"/services/wordpress-api-integration/crm-integration",label:"WordPress CRM Integration"}]},{path:"/services/woocommerce-development/payment-gateway",parentPath:Oi,parentLabel:"WooCommerce Development",title:"WooCommerce Payment Gateway Development",intro:"When a regional payment processor, bank or custom checkout flow isn't supported by an off-the-shelf WooCommerce extension, a custom gateway plugin fills the gap.",seoTitle:"WooCommerce Payment Gateway Development | Ali Saleem",seoDescription:"Custom WooCommerce payment gateway integrations for regional processors, multi-currency checkout and PCI-compliant flows.",keywords:"woocommerce payment gateway development, custom woocommerce payment gateway, woocommerce payment integration",sections:[{heading:"Real project reference",body:"A recent engagement built a custom payment gateway integration for an international e-commerce brand supporting multi-currency transactions and a PCI-compliant checkout flow â see the full write-up on the WooCommerce Payment Gateway case study."}],faqs:[],relatedLinks:[{href:"/case-studies/woocommerce-payment-gateway",label:"Case Study: WooCommerce Payment Gateway"}]},{path:"/services/woocommerce-development/custom-checkout",parentPath:Oi,parentLabel:"WooCommerce Development",title:"WooCommerce Custom Checkout Development",intro:"Custom checkout fields, conditional logic, multi-step checkouts and B2B ordering flows that the default WooCommerce checkout doesn't support.",seoTitle:"WooCommerce Custom Checkout Development | Ali Saleem",seoDescription:"Custom WooCommerce checkout development: conditional fields, multi-step checkout and B2B ordering workflows.",keywords:"woocommerce custom checkout, woocommerce checkout customization, woocommerce b2b checkout",sections:[{heading:"Common checkout customizations",bullets:["Conditional/custom checkout fields","Multi-step or one-page checkout redesigns","B2B ordering (quotes, purchase orders, net terms)","Role-based pricing shown at checkout"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-custom-plugin-development-service/woocommerce-custom-plugin",label:"WooCommerce Custom Plugin Development"}]},{path:"/services/wordpress-api-integration/crm-integration",parentPath:Ua,parentLabel:"WordPress API & Integration Development",title:"WordPress CRM Integration",intro:"Sync leads, contacts and form submissions between WordPress and your CRM automatically, in both directions when needed.",seoTitle:"WordPress CRM Integration | Ali Saleem",seoDescription:"Custom WordPress CRM integrations for lead sync, form data and automated follow-up workflows.",keywords:"wordpress crm integration, wordpress crm plugin, connect wordpress to crm",sections:[{heading:"What this typically includes",bullets:["Form submissions pushed to your CRM in real time","Two-way contact/lead sync","Custom fields mapped between WordPress and the CRM","Automated follow-up triggers based on CRM status"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-api-integration/rest-api-development",label:"WordPress REST API Development"}]},{path:"/services/wordpress-api-integration/erp-integration",parentPath:Ua,parentLabel:"WordPress API & Integration Development",title:"WordPress ERP Integration",intro:"Keep inventory, pricing, orders and customer records in sync between WordPress/WooCommerce and your ERP system.",seoTitle:"WordPress ERP Integration | Ali Saleem",seoDescription:"Custom WordPress and WooCommerce ERP integrations for inventory, pricing and order synchronization.",keywords:"wordpress erp integration, woocommerce erp integration developer, sync woocommerce with erp",sections:[{heading:"What this typically includes",bullets:["Real-time or scheduled inventory/price sync","Order push from WooCommerce to the ERP","Customer/account record reconciliation","Error handling and sync logs
720your team can audit"],body:""}],faqs:[],relatedLinks:[{href:"/services/woocommerce-development/api-integration",label:"WooCommerce API Integration"}]},{path:"/services/wordpress-api-integration/rest-api-development",parentPath:Ua,parentLabel:"WordPress API & Integration Development",title:"WordPress REST API Development",intro:"Custom REST API endpoints that expose or accept exactly the data your app, dashboard or partner integration needs â nothing more, nothing less.",seoTitle:"WordPress REST API Development | Ali Saleem",seoDescription:"Custom WordPress REST API endpoint development with authentication, validation and versioning built in.",keywords:"wordpress rest api development, custom wordpress api endpoints, wordpress rest api developer",sections:[{heading:"What this typically includes",bullets:["Custom endpoints beyond the default WordPress REST API","Token/JWT-based authentication for external consumers","Request validation and rate limiting","Versioned endpoints so future changes don't break existing consumers"],body:""}],faqs:[],relatedLinks:[{href:"/services/headless-wordpress-integration/rest-api-react",label:"WordPress REST API for React Apps"}]},{path:"/services/wordpress-custom-ai-integrations/openai-wordpress-plugin",parentPath:Pu,parentLabel:"AI Integration Service",title:"OpenAI + WordPress Plugin Development",intro:"Custom WordPress plugins built around the OpenAI API â content generation, chat assistants, or automated classification, wired directly into your existing workflows.",seoTitle:"OpenAI WordPress Plugin Development | Ali Saleem",seoDescription:"Custom OpenAI-powered WordPress plugins for content generation, chatbots and workflow automation.",keywords:"openai wordpress plugin, chatgpt wordpress integration, wordpress openai api plugin",sections:[{heading:"Common OpenAI use cases in WordPress",bullets:["Draft/rewrite content directly from wp-admin","Customer-facing chat assistants trained on your content","Automated tagging, summarization or moderation","Custom prompts wired to your specific business data"],body:""}],faqs:[],relatedLinks:[{href:"/services/wordpress-custom-ai-integrations/gemini-integration",label:"Gemini AI WordPress Integration"}]},{path:"/services/wordpress-custom-ai-integrations/gemini-integration",parentPath:Pu,parentLabel:"AI Integration Service",title:"Gemini AI WordPress Integration",intro:"For teams standardized on Google's ecosystem, Gemini integrates cleanly with WordPress for content, search and automation use cases.",seoTitle:"Gemini AI WordPress Integration | Ali Saleem",seoDescription:"Custom Gemini AI integrations for WordPress â content generation, smart search and workflow automation.",keywords:"gemini wordpress integration, google gemini wordpress plugin, gemini api wordpress",sections:[{heading:"Why choose Gemini over OpenAI for some projects",body:"If your team already uses Google Workspace, Cloud, or needs tight multimodal (text + image) capability, Gemini can be the better fit â the integration pattern in WordPress is the same either way."}],faqs:[],relatedLinks:[{href:"/services/wordpress-custom-ai-integrations/ai-woocommerce-development",label:"AI-Powered WooCommerce Development"}]},{path:"/services/wordpress-custom-ai-integrations/ai-woocommerce-development",parentPath:Pu,parentLabel:"AI Integration Service",title:"AI-Powered WooCommerce Development",intro:"Bring AI into the store itself â product description generation, smart recommendations, and AI-assisted customer support for WooCommerce.",seoTitle:"AI-Powered WooCommerce Development | Ali Saleem",seoDescription:"AI integrations for WooCommerce: product content generation, smart recommendations and AI-assisted support.",keywords:"ai woocommerce, ai powered woocommerce, woocommerce ai integration",sections:[{heading:"What this typically includes",bullets:["Bulk AI-generated product descriptions and SEO metadata","AI-driven product recommendations","AI chatbot trained on your product catalog and policies"],body:""}],faqs:[],relatedLinks:[{href:Oi,label:"WooCommerce Development (full service)"}]},{path:"/services/wordpress-react-theme-development/react-development",parentPath:Ay,parentLabel:"WordPress React Theme Development",title:"WordPress + React Development",intro:"Replace a slow, template-based WordPress front end with a fast React application while keeping WordPress as the content source your team already knows.",seoTitle:"WordPress + React Development | Ali Saleem",seoDescription:"Custom WordPress + React website development for fast, modern front ends powered by familiar WordPress content management.",keywords:"wordpress react development, wordpress react website, react wordpress developer",sections:[{heading:"Best fit for this approach",body:"This is the right option when you want a modern, fast public-facing website and your content team should keep using standard WordPress/Gutenberg editing â see the Headless WordPress Integration page instead if you're powering a mobile app or a separate platform."}],faqs:[],relatedLinks:[{href:Ty,label:"Headless WordPress Integration (mobile apps & platforms)"}]},{path:"/services/headless-wordpress-integration/rest-api-react",parentPath:Ty,parentLabel:"Headless WordPress Integration",title:"WordPress REST API for React Apps",intro:"Turn WordPress
720into a pure content/data backend for a React app, mobile app, or third-party platform â no front-end templates, just clean API endpoints.",seoTitle:"WordPress REST API for React Apps | Ali Saleem",seoDescription:"Headless WordPress setup exposing REST/GraphQL endpoints consumed by React or mobile applications.",keywords:"wordpress rest api react, headless wordpress react, wordpress api for react app",sections:[{heading:"Best fit for this approach",body:"This is the right option when WordPress needs to power more than one front end (web app + mobile app), or when a separate technical team is building the client application â see the WordPress + React Development page if you just need one fast public website."}],faqs:[],relatedLinks:[{href:Ay,label:"WordPress React Theme Development (single website)"}]}];function fR(e){return pR.find(n=>n.path===e)}function lt(){const e=Nn(),n=fR(e.pathname);return n?r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:n.seoTitle,description:n.seoDescription,keywords:n.keywords,ogTitle:n.seoTitle,ogDescription:n.seoDescription,ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-16 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10 max-w-4xl",children:r.jsxs(I.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6},children:[r.jsxs(xe,{to:n.parentPath,className:"inline-flex items-center gap-2 text-sm text-primary hover:underline mb-6",children:[r.jsx(Ll,{className:"h-4 w-4"}),"Part of: ",n.parentLabel]}),r.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:n.title}),r.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed",children:n.intro})]})})]}),r.jsx("section",{className:"py-16",children:r.jsx("div",{className:"container mx-auto px-4 max-w-4xl space-y-10",children:n.sections.map((i,o)=>r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:o*.1},viewport:{once:!0},children:r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6 md:p-8",children:[r.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:i.heading}),i.body&&r.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:i.body}),i.bullets&&i.bullets.length>0&&r.jsx("ul",{className:"space-y-2",children:i.bullets.map(l=>r.jsxs("li",{className:"flex items-start gap-2 text-muted-foreground",children:[r.jsx(ml,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{children:l})]},l))})]})})},i.heading))})}),n.faqs.length>0&&r.jsx("section",{className:"py-16 bg-secondary/10",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[r.jsx("h2",{className:"text-3xl font-bold text-foreground mb-8 text-center",style:{fontFamily:"Poppins"},children:"Frequently Asked Questions"}),r.jsx(cR,{type:"single",collapsible:!0,className:"w-full",children:n.faqs.map((i,o)=>r.jsxs(dR,{value:`faq-${o}`,children:[r.jsx(uR,{className:"text-left",children:i.q}),r.jsx(mR,{className:"text-muted-foreground",children:i.a})]},i.q))})]})}),n.relatedLinks.length>0&&r.jsx("section",{className:"py-16",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[r.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Related Resources"}),r.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:n.relatedLinks.map(i=>r.jsx(xe,{to:i.href,children:r.jsx(X,{className:"bg-card/50 border-border/50 hover:border-primary/50 hover:shadow-lg transition-all duration-300 group",children:r.jsxs(Q,{className:"p-4 flex items-center justify-between",children:[r.jsx("span",{className:"font-medium text-foreground group-hover:text-primary transition-colors",children:i.label}),r.jsx(ut,{className:"h-4 w-4 text-primary group-hover:translate-x-1 transition-transform"})]})})},i.href))})]})}),r.jsx("section",{className:"py-16 bg-gradient-to-r from-primary/10 to-secondary/20",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[r.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Need this built for your business?"}),r.jsx("p",{className:"text-muted-foreground mb-8",children:"Let's discuss your requirements and scope out the right solution."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[r.jsx(xe,{to:n.parentPath,children:r.jsxs(ie,{size:"lg",className:"bg-primary hover:bg-primary/90",children:["View ",n.parentLabel," Packages",r.jsx(ut,{className:"ml-2 h-4 w-4"})]})}),r.jsx(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>{window.location.href="/#contact"},children:"Request a Quote"})]})]})})]}):r.jsxs("div",{className:"min-h-screen bg-background pt-32 pb-20 text-center",children:[r.jsx(ft,{title:"Page Not Found | Ali Saleem",description:"This page could not be found."}),r.jsx("p",{className:"text-muted-foreground mb-6",children:"Sorry, this page couldn't be found."}),r.jsx(xe,{to:"/services/all-services",children:r.jsx(ie,{className:"bg-primary hover:bg-primary/90",children:"Browse All Services"})})]})}function hR(){return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"Case Studies | Real WordPress & WooCommerce Projects | Ali Saleem",description:"Real WordPress, WooCommerce, AI and API integration projects â the problem, the solution, and the result, from 400+ delivered projects.",keywords:"wordpress case studies, woocommerce case study, wordpress developer portfolio, custom plugin case study",ogTitle:"Case Studies - Real WordPress & WooCommerce Projects",ogDescription:"See exactly what was built, why, and what it achieved â real project case studies instead of generic claims.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-16 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10 text-center max-w-3xl",children:r.jsxs(I.div,{initial:{opacity:0,y:30}
720,animate:{opacity:1,y:0},transition:{duration:.6},children:[r.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6",style:{fontFamily:"Poppins"},children:"Case Studies"}),r.jsx("p",{className:"text-lg md:text-xl text-muted-foreground leading-relaxed",children:"Real problems, real WordPress/WooCommerce solutions, and real results â not just claims. Here's what was actually built for clients across 400+ delivered projects."})]})})]}),r.jsx("section",{className:"py-20",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-6xl mx-auto",children:np.map((e,n)=>r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:n*.08},viewport:{once:!0},whileHover:{y:-5},children:r.jsx(xe,{to:`/case-studies/${e.slug}`,children:r.jsxs(X,{className:"h-full bg-card/50 backdrop-blur-sm border-border/50 hover:border-primary/50 hover:shadow-xl transition-all duration-300 overflow-hidden group",children:[r.jsxs("div",{className:"relative overflow-hidden",children:[r.jsx(pr,{src:e.image,alt:`${e.title} case study`,className:"w-full h-44 object-cover group-hover:scale-105 transition-transform duration-300"}),r.jsx("div",{className:"absolute top-3 left-3 bg-primary/90 text-white px-3 py-1 rounded-full text-xs font-medium",children:e.category})]}),r.jsxs(Q,{className:"p-5",children:[r.jsx("h3",{className:"text-lg font-bold text-foreground mb-2 group-hover:text-primary transition-colors",style:{fontFamily:"Poppins"},children:e.title}),r.jsx("p",{className:"text-sm text-muted-foreground mb-4 leading-relaxed line-clamp-3",children:e.description}),r.jsxs("div",{className:"text-xs text-green-600 font-medium mb-4",children:["â ",e.results]}),r.jsxs("div",{className:"flex items-center text-primary text-sm font-medium",children:["Read Case Study",r.jsx(ut,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})},e.slug))})})}),r.jsx("section",{className:"py-16 bg-gradient-to-r from-primary/10 to-secondary/20",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[r.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Have a similar project in mind?"}),r.jsx("p",{className:"text-muted-foreground mb-8",children:"Let's talk about what you're trying to build."}),r.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[r.jsx(xe,{to:"/services/all-services",children:r.jsxs(ie,{size:"lg",className:"bg-primary hover:bg-primary/90",children:["Browse Services",r.jsx(ut,{className:"ml-2 h-4 w-4"})]})}),r.jsxs(ie,{size:"lg",variant:"outline",className:"border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>window.open("https://wa.me/923164615153","_blank"),children:["Message on WhatsApp",r.jsx(hn,{className:"ml-2 h-4 w-4"})]})]})]})})]})}function gR(){const{slug:e}=pm(),n=e?Q5(e):void 0;if(!n)return r.jsxs("div",{className:"min-h-screen bg-background pt-32 pb-20 text-center",children:[r.jsx(ft,{title:"Case Study Not Found | Ali Saleem",description:"This case study could not be found."}),r.jsx("p",{className:"text-muted-foreground mb-6",children:"Sorry, this case study couldn't be found."}),r.jsx(xe,{to:"/case-studies",children:r.jsx(ie,{className:"bg-primary hover:bg-primary/90",children:"View All Case Studies"})})]});const i=[{heading:"Problem",body:n.problem},{heading:"Existing Setup",body:n.existingSetup},{heading:"Solution",body:n.solution},{heading:"Technical Implementation",body:n.technicalImplementation},{heading:"Result",body:n.outcome}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:`${n.title} | Case Study | Ali Saleem`,description:n.description,keywords:`${n.title}, ${n.tools.join(", ")}, wordpress case study`,ogTitle:`${n.title} | Case Study`,ogDescription:n.description,ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-16 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10 max-w-4xl",children:r.jsxs(I.div,{initial:{opacity:0,y:30}
720,animate:{opacity:1,y:0},transition:{duration:.6},children:[r.jsxs(xe,{to:"/case-studies",className:"inline-flex items-center gap-2 text-sm text-primary hover:underline mb-6",children:[r.jsx(Ll,{className:"h-4 w-4"}),"All Case Studies"]}),r.jsx("div",{className:"inline-block bg-primary/10 text-primary px-3 py-1 rounded-full text-xs font-medium mb-4",children:n.category}),r.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:n.title}),r.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-6",children:n.description}),r.jsx("div",{className:"flex flex-wrap gap-2",children:n.tools.map(o=>r.jsx("span",{className:"px-3 py-1 bg-primary/10 text-primary rounded-full text-xs font-medium",children:o},o))})]})})]}),r.jsx("section",{className:"py-16",children:r.jsxs("div",{className:"container mx-auto px-4 max-w-4xl grid md:grid-cols-3 gap-10",children:[r.jsx("div",{className:"md:col-span-2 space-y-8",children:i.map((o,l)=>r.jsx(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:l*.08},viewport:{once:!0},children:r.jsx(X,{className:"bg-card/50 backdrop-blur-sm border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h2",{className:"text-xl font-bold text-foreground mb-3",style:{fontFamily:"Poppins"},children:o.heading}),r.jsx("p",{className:"text-muted-foreground leading-relaxed",children:o.body})]})})},o.heading))}),r.jsxs("div",{className:"space-y-6",children:[r.jsx(X,{className:"bg-gradient-to-br from-primary/10 to-secondary/20 border-primary/20",children:r.jsxs(Q,{className:"p-6",children:[r.jsx(pr,{src:n.image,alt:`${n.title} project`,className:"w-full h-40 object-cover rounded-lg mb-4"}),r.jsxs("div",{className:"flex items-start gap-2 text-sm text-foreground mb-4",children:[r.jsx(ml,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),r.jsx("span",{className:"font-medium",children:n.results})]}),r.jsxs(ie,{size:"sm",variant:"outline",className:"w-full border-primary text-primary hover:bg-primary hover:text-white",onClick:()=>window.open(n.liveUrl,"_blank"),children:[r.jsx(hn,{className:"h-4 w-4 mr-2"}),"View Reference"]})]})}),r.jsx(X,{className:"bg-card/50 border-border/50",children:r.jsxs(Q,{className:"p-6",children:[r.jsx("h3",{className:"font-semibold text-foreground mb-3",children:"Need something similar?"}),r.jsx(xe,{to:n.relatedServiceHref,children:r.jsxs(ie,{className:"w-full bg-primary hover:bg-primary/90 mb-3",children:[n.relatedServiceLabel,r.jsx(ut,{className:"ml-2 h-4 w-4"})]})}),r.jsx(ie,{variant:"ghost",className:"w-full hover:bg-primary/10 hover:text-primary",onClick:()=>{window.location.href="/#contact"},children:"Request a Quote"})]})})]})]})})]})}function xR(){const[e,n]=y.useState("grid"),i=[{title:"WordPress Custom Plugin Development",description:"Build powerful custom WordPress plugins tailored to your specific needs",fullDescription:"Professional WordPress plugin development service that brings your unique ideas to life. From simple utility plugins to complex enterprise solutions, I create custom plugins that extend WordPress functionality exactly how you need it.",tags:["Custom Development","WordPress","Plugin"],keywords:["WordPress Plugin","Custom Plugin","Plugin Development","WordPress Development","PHP"],priceRange:"$200 - $2,500",icon:r.jsx(D0,{className:"h-8 w-8 text-primary"}),href:"/services/wordpress-custom-plugin-development-service.html",color:"from-blue-500/10 to-cyan-500/10",features:["Custom functionality development","Plugin architecture & security","Admin dashboard integration","Database optimization","WordPress coding standards","Ongoing support & updates"]},{title:"WordPress React Theme Development",description:"Modern, fast, and beautiful WordPress themes built with React",fullDescription:"Create stunning, blazing-fast WordPress themes using React and modern JavaScript. Perfect for businesses wanting a contemporary web presence with excellent performance and user experience.",tags:["React","Theme","Modern"],keywords:["React Theme","WordPress Theme","Headless WordPress","Modern Design","Frontend"],priceRange:"$2,000 - $5,000",icon:r.
720jsx(fl,{className:"h-8 w-8 text-primary"}),href:"/services/wordpress-react-theme-development",color:"from-purple-500/10 to-pink-500/10",features:["React + WordPress integration","Modern UI/UX design","Mobile-first responsive","SEO optimized","Lightning-fast performance","Component-based architecture"]},{title:"AI Integration Service",description:"Transform your WordPress site with cutting-edge AI technology",fullDescription:"Integrate powerful AI capabilities into your WordPress website. From intelligent chatbots to content generation, image AI, and predictive analytics - leverage the latest AI technologies to automate and enhance your site.",tags:["AI","ChatGPT","Automation"],keywords:["AI Integration","ChatGPT","OpenAI","Machine Learning","Automation","AI Chatbot"],priceRange:"$1,000 - $3,000",icon:r.jsx(cr,{className:"h-8 w-8 text-primary"}),href:"/services/wordpress-custom-ai-integrations.html",color:"from-green-500/10 to-emerald-500/10",features:["ChatGPT & AI models integration","Intelligent chatbots","Content generation","Image AI (DALL-E)","Predictive analytics","Custom AI solutions"]},{title:"WooCommerce Development",description:"Custom WooCommerce functionality for stores that outgrew off-the-shelf plugins",fullDescription:"Custom WooCommerce development for payment gateways, API/ERP/CRM integrations, custom checkout flows and multi-vendor marketplace builds.",tags:["WooCommerce","E-commerce","Integrations"],keywords:["WooCommerce Development","WooCommerce Custom Plugin","WooCommerce API Integration","WooCommerce Payment Gateway"],priceRange:"$300 - $3,000",icon:r.jsx(Yi,{className:"h-8 w-8 text-primary"}),href:"/services/woocommerce-development",color:"from-yellow-500/10 to-orange-500/10",features:["Custom payment gateway integration","CRM/ERP & API integrations","Custom checkout & B2B ordering","Multi-vendor & subscription builds","Update-safe WooCommerce code","Ongoing support & updates"]},{title:"WordPress API & Integration Development",description:"Connect WordPress to CRMs, ERPs and third-party APIs",fullDescription:"Custom WordPress API integrations connecting your site to CRMs, ERPs, webhooks and third-party services with secure authentication and reliable sync.",tags:["API","CRM","ERP"],keywords:["WordPress API Integration","WordPress REST API","WordPress CRM Integration","WordPress ERP Integration"],priceRange:"$500 - $3,000",icon:r.jsx(hl,{className:"h-8 w-8 text-primary"}),href:"/services/wordpress-api-integration",color:"from-sky-500/10 to-blue-500/10",features:["CRM & ERP integration","Webhook automation","Custom REST API endpoints","Token/JWT authentication","Sync logging & error handling","Documentation for your team"]},{title:"Headless WordPress Integration",description:"Turn WordPress into a powerful headless CMS for any platform",fullDescription:"Transform WordPress into a headless CMS to power mobile apps, web applications, and third-party platforms. Build once, publish everywhere with custom REST APIs, GraphQL, and real-time synchronization.",tags:["Headless CMS","API","Mobile"],keywords:["Headless WordPress","REST API","GraphQL","Mobile Backend","Decoupled WordPress"],priceRange:"$1,000 - $3,000",icon:r.jsx(Wl,{className:"h-8 w-8 text-primary"}),href:"/services/headless-wordpress-integration",color:"from-indigo-500/10 to-blue-500/10",features:["REST & GraphQL APIs","Mobile app integration","JWT authentication","Real-time webhooks","Multi-platform support","CDN optimization"]},{title:"WordPress Fixing Service",description:"Fast fixes for WordPress errors, bugs, and issues",fullDescription:"Expert WordPress troubleshooting and repair service. From critical errors to minor tweaks, get your WordPress site back online quickly with our fast turnaround service. Security patches, updates, and performance fixes included.",tags:["Bug Fix","Maintenance","Support"],keywords:["WordPress Fix","Bug Fix","Error Fix","WordPress Repair","Maintenance","Support"],priceRange:"$50 - $200",icon:r.jsx(yl,{className:"h-8 w-8 text-primary"}),href:"/services/wordpress-fixing-service",color:"from-orange-500/10 to-red-500/10",features:["Error & bug fixes","Security patches","Performance optimization","Plugin conflicts resolution","24-hour turnaround","Post-fix warranty"]}];return r.jsxs("div",{className:"min-h-screen bg-background",children:[r.jsx(ft,{title:"All WordPress Development Services | Ali Saleem",description:"Browse all WordPress development services: Custom plugins, React themes, AI integration, headless CMS, and fixing services. Expert WordPress solutions from $50 to $5000.",keywords:"WordPress services, plugin development, theme development, AI integration, headless WordPress, WordPress fixes, WordPress developer",ogTitle:"Complete WordPress Development Services - Plugins, Themes, AI & More",ogDescription:"Professional WordPress development services for businesses and agencies. Custom plugins, modern React themes, AI integration, headless CMS, and expert fixes.",ogUrl:typeof window<"u"?window.location.href:""}),r.jsxs("section",{className:"relative pt-32 pb-20 overflow-hidden bg-gradient-to-br from-primary/10 via-secondary/10 to-background",children:[r.jsx("div",{className:"absolute inset-0 bg-grid-pattern opacity-5"}),r.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-primary/10 rounded-full blur-3xl animate-pulse"}),r.jsx("div",{className:"absolute top-40 right-20 w-32 h-32 bg-secondary/20 rounded-full blur-3xl animate-pulse delay-1000"}),r.jsx("div",{className:"container mx-auto px-4 relative z-10",children:r.jsxs(I.div,{initial:{opacity:0,y:50}
720,animate:{opacity:1,y:0},transition:{duration:.8},className:"text-center max-w-4xl mx-auto",children:[r.jsx(I.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.2},className:"mb-4",children:r.jsx("span",{className:"inline-block bg-gradient-to-r from-primary/20 to-secondary/20 text-primary px-6 py-2 rounded-full font-medium border border-primary/20",children:"ð¼ Complete Service Portfolio"})}),r.jsx("h1",{className:"text-5xl md:text-6xl font-bold text-foreground mb-6 leading-tight",style:{fontFamily:"Poppins"},children:"WordPress Development Services"}),r.jsx("p",{className:"text-xl md:text-2xl text-muted-foreground mb-8 leading-relaxed",children:"From custom plugins to AI integration - explore my complete range of professional WordPress development services tailored to your needs."}),r.jsxs("div",{className:"flex items-center justify-center gap-2 bg-card/50 backdrop-blur-sm p-2 rounded-xl inline-flex border border-border/50",children:[r.jsxs(ie,{variant:e==="grid"?"default":"ghost",size:"sm",onClick:()=>n("grid"),className:e==="grid"?"bg-primary text-white":"",children:[r.jsx(RE,{className:"h-4 w-4 mr-2"}),"Grid View"]}),r.jsxs(ie,{variant:e==="list"?"default":"ghost",size:"sm",onClick:()=>n("list"),className:e==="list"?"bg-primary text-white":"",children:[r.jsx($E,{className:"h-4 w-4 mr-2"}),"List View"]})]})]})})]}),r.jsx("section",{className:"py-20",children:r.jsx("div",{className:"container mx-auto px-4",children:e==="grid"?r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8 max-w-7xl mx-auto",children:i.map((o,l)=>r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.5,delay:l*.1},viewport:{once:!0},whileHover:{y:-5},children:r.jsx(xe,{to:o.href,children:r.jsxs(X,{className:`h-full bg-gradient-to-br ${o.color} border-border/50 hover:border-primary/50 hover:shadow-2xl transition-all duration-300 group cursor-pointer`,children:[r.jsxs(gr,{className:"p-6 pb-4",children:[r.jsxs("div",{className:"flex items-start justify-between mb-4",children:[r.jsx("div",{className:"p-3 bg-primary/10 rounded-xl group-hover:bg-primary group-hover:scale-110 transition-all duration-300",children:o.icon}),r.jsxs("div",{className:"flex items-center gap-1 text-primary font-semibold text-sm",children:[r.jsx(Gx,{className:"h-4 w-4"}),o.priceRange.split(" - ")[0].replace("$",""),"+"]})]}),r.jsx("h3",{className:"text-xl font-bold text-foreground mb-2 group-hover:text-primary transition-colors",style:{fontFamily:"Poppins"},children:o.title}),r.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:o.description})]}),r.jsxs(Q,{className:"p-6 pt-0",children:[r.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:o.tags.map(d=>r.jsxs("span",{className:"inline-flex items-center gap-1 bg-primary/10 text-primary px-2 py-1 rounded-full text-xs font-medium",children:[r.jsx(dr,{className:"h-3 w-3"}),d]},d))}),r.jsx("div",{className:"space-y-2 mb-4",children:o.features.slice(0,3).map(d=>r.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[r.jsx(Ve,{className:"h-3 w-3 text-primary flex-shrink-0"}),r.jsx("span",{children:d})]},d))}),r.jsxs(ie,{className:"w-full bg-primary hover:bg-primary/90 group-hover:shadow-lg transition-all",children:["View Details",r.jsx(ut,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})},o.title))}):r.jsx("div",{className:"space-y-6 max-w-5xl mx-auto",children:i.map((o,l)=>r.jsx(I.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:l*.1},viewport:{once:!0},children:r.jsx(xe,{to:o.href,children:r.jsx(X,{className:`bg-gradient-to-r ${o.color} border-border/50 hover:border-primary/50 hover:shadow-2xl transition-all duration-300 group cursor-pointer`,children:r.jsx(Q,{className:"p-6",children:r.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[r.jsxs("div",{className:"flex md:flex-col items-center md:items-start gap-4 md:gap-3",children:[r.jsx("div",{className:"p-4 bg-primary/10 rounded-xl group-hover:bg-primary group-hover:scale-110 transition-all duration-300 flex-shrink-0",children:o.icon}),r.jsxs("div",{className:"text-center md:text-left",children:[r.jsx("div",{className:"text-xs text-muted-foreground mb-1",children:"Starting at"}),r.jsxs("div",{className:"flex items-center gap-1 text-primary font-bold text-lg",children:[r.jsx(Gx,{className:"h-5 w-5"}),o.priceRange.split(" - ")[0].replace("$","")]})]})]}),r.jsxs("div",{className:"flex-1",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-2 group-hover:text-primary transition-colors",style:{fontFamily:"Poppins"},children:o.title}),r.jsx("p",{className:"text-muted-foreground mb-4 leading-relaxed",children:o.fullDescription}),r.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:o.tags.map(d=>r.jsxs("span",{className:"inline-flex items-center gap-1 bg-primary/10 text-primary px-3 py-1 rounded-full text-xs font-medium",children:[r.jsx(dr,{className:"h-3 w-3"}),d]},d))}),r.jsx("div",{className:"grid grid-cols-2 gap-2 mb-4",children:o.features.map(d=>r.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[r.jsx(Ve,{className:"h-4 w-4 text-primary flex-shrink-0"}),r.jsx("span",{children:d})]},d))}),r.jsxs("div",{className:"text-xs text-muted-foreground mb-4",children:[r.jsx("span",{className:"font-semibold",children:"Keywords: "}
720),o.keywords.join(", ")]}),r.jsxs(ie,{className:"bg-primary hover:bg-primary/90 group-hover:shadow-lg transition-all",children:["View Full Details & Pricing",r.jsx(ut,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})})})},o.title))})})}),r.jsx("section",{className:"py-20 bg-secondary/10",children:r.jsx("div",{className:"container mx-auto px-4",children:r.jsx(I.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:r.jsx(X,{className:"bg-gradient-to-br from-primary/10 to-secondary/20 border-primary/20 max-w-4xl mx-auto",children:r.jsx(Q,{className:"p-8",children:r.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-center",children:[r.jsxs("div",{children:[r.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"7"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Services Offered"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"400+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Projects Completed"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"400+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Happy Clients"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"text-4xl font-bold text-primary mb-2",children:"10+"}),r.jsx("div",{className:"text-sm text-muted-foreground",children:"Years Experience"})]})]})})})})})}),r.jsx(xr,{maxReviews:9,title:"What My Clients Say"})]})}const Ha="blog_feed_cache",yR=1e3*60*60;class fr{static set(n,i){try{const o={data:i,timestamp:Date.now()};localStorage.setItem(`${Ha}_${n}`,JSON.stringify(o))}catch(o){console.error("Error saving to cache:",o)}}static get(n){try{const i=localStorage.getItem(`${Ha}_${n}`);if(!i)return null;const o=JSON.parse(i);return Date.now()-o.timestamp>yR?(this.remove(n),null):o.data}catch(i){return console.error("Error reading from cache:",i),null}}static remove(n){try{localStorage.removeItem(`${Ha}_${n}`)}catch(i){console.error("Error removing from cache:",i)}}static clearAll(){try{Object.keys(localStorage).forEach(i=>{i.startsWith(Ha)&&localStorage.removeItem(i)})}catch(n){console.error("Error clearing cache:",n)}}}const vR="/api/blog-proxy.php",wR="https://blog.alisaleem252.com/feeds/posts/default",Ry=30;function bR(e){const n=e.match(/<img[^>]+src=["']([^"']+)["']/i);return n&&n[1]?n[1]:null}function jR(e,n=200){const i=e.replace(/<[^>]*>/g,""),o=document.createElement("textarea");o.innerHTML=i;const l=o.value;return l.length>n?l.substring(0,n).trim()+"...":l.trim()}function NR(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function Pl(e){return encodeURIComponent(e.toLowerCase())}function ku(e){try{return decodeURIComponent(e)}catch{return e}}function PR(e){const n=e.link.find(l=>l.rel==="alternate"),i=e.title.$t,o=e.content.$t;return{id:e.id.$t,title:i,content:o,excerpt:jR(o),thumbnail:bR(o),slug:NR(i),published:e.published.$t,updated:e.updated.$t,author:{name:e.author[0]?.name.$t||"Ali Saleem",avatar:e.author[0]?.gd$image?.src||""},categories:e.category?.map(l=>l.term)||[],url:n?.href||""}}async function vo(){const e=fr.get("all_posts");if(e)return e;const n=[];let i=1,o=!0;for(;o;)try{const l=`${wR}?alt=json&max-results=${Ry}&start-index=${i}`,d=`${vR}?url=${encodeURIComponent(l)}`,u=await fetch(d);if(!u.ok)throw new Error(`HTTP error! status: ${u.status}`);const m=await u.json(),f=m.feed.entry||[];if(f.length===0){o=!1;break}const h=f.map(PR);n.push(...h);const x=parseInt(m.feed.openSearch$totalResults.$t);n.length>=x?o=!1:i+=Ry}catch(l){console.error("Error fetching blog posts:",l),o=!1}return n.length>0&&fr.set("all_posts",n),n}async function kR(e){const n=`label_${e}`,i=fr.get(n);if(i)return i;const l=(await vo()).filter(d=>d.categories.some(u=>u.toLowerCase()===e.toLowerCase()));return fr.set(n,l),l}async function CR(e){const n=`post_${e}`,i=fr.get(n);if(i)return i;const l=(await vo()).find(d=>d.slug===e);return l&&fr.set(n,l),l||null}async function Jw(){const e=fr.get("all_categories");if(e)return e;const n=await vo(),i=new Set;
720n.forEach(l=>{l.categories.forEach(d=>i.add(d))});const o=Array.from(i).sort();return fr.set("all_categories",o),o}async function SR(e=10){return(await vo()).slice(0,e)}function ER(){const[e,n]=y.useState([]),[i,o]=y.useState([]),[l,d]=y.useState(null),[u,m]=y.useState(!0),[f,h]=y.useState(null);y.useEffect(()=>{x()},[]);const x=async()=>{try{m(!0),h(null);const[w,j]=await Promise.all([vo(),Jw()]);n(w),o(j)}catch(w){h("Failed to load blog posts. Please try again later."),console.error("Error loading blog:",w)}finally{m(!1)}},v=l?e.filter(w=>w.categories.includes(l)):e,b=w=>new Date(w).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),k=w=>{d(w),je({category:"Blog",action:"Filter Category",label:w||"All Posts"})},C=w=>{je({category:"Blog",action:"Click Post",label:w.title})};return u?r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"flex flex-col items-center gap-4",children:[r.jsx(Jm,{className:"w-12 h-12 text-primary animate-spin"}),r.jsx("p",{className:"text-muted-foreground",children:"Loading blog posts..."})]})}):f?r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"text-center px-4",children:[r.jsx("p",{className:"text-destructive mb-4",children:f}),r.jsx("button",{onClick:x,className:"px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 transition-colors",children:"Try Again"})]})}):r.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:[r.jsx(ft,{title:"Blog | Ali Saleem - WordPress Development Insights",description:"Insights, tutorials, and tips on WordPress development, AI integration, custom plugins, and modern web technologies from Ali Saleem, expert WordPress developer with 10+ years experience.",keywords:"WordPress development blog, WordPress tutorials, AI integration WordPress, custom plugin development, React WordPress, headless WordPress, WordPress tips",ogTitle:"WordPress Development Blog | Ali Saleem",ogDescription:"Expert insights on WordPress development, AI integration, custom plugins, and modern web technologies.",ogUrl:window.location.href}),r.jsx("section",{className:"pt-32 pb-16 px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"max-w-7xl mx-auto text-center",children:[r.jsx(I.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"mb-6",children:"WordPress Development Blog"}),r.jsx(I.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"max-w-2xl mx-auto text-muted-foreground",children:"Insights, tutorials, and tips on WordPress development, AI integration, custom plugins, and modern web technologies."})]})}),i.length>0&&r.jsx("section",{className:"pb-12 px-4 sm:px-6 lg:px-8",children:r.jsx("div",{className:"max-w-7xl mx-auto",children:r.jsxs("div",{className:"flex flex-wrap gap-3 justify-center",children:[r.jsxs("button",{onClick:()=>k(null),className:`px-4 py-2 rounded-full transition-all ${l===null?"bg-primary text-primary-foreground shadow-lg":"bg-card text-card-foreground border border-border hover:border-primary"}`,children:["All Posts (",e.length,")"]}),i.map(w=>{const j=e.filter(P=>P.categories.includes(w)).length;return r.jsxs("button",{onClick:()=>k(w),className:`px-4 py-2 rounded-full transition-all ${l===w?"bg-primary text-primary-foreground shadow-lg":"bg-card text-card-foreground border border-border hover:border-primary"}`,children:[w," (",j,")"]},w)})]})})}),r.jsx("section",{className:"pb-20 px-4 sm:px-6 lg:px-8",children:r.jsx("div",{className:"max-w-7xl mx-auto",children:v.length===0?r.jsx("div",{className:"text-center py-16",children:r.jsx("p",{className:"text-muted-foreground",children:"No posts found in this category."})}):r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:v.map((w,j)=>r.jsxs(I.article,{initial:{opacity:0,y:20}
720,animate:{opacity:1,y:0},transition:{duration:.5,delay:j*.1},className:"bg-card rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow border border-border group",children:[w.thumbnail?r.jsx("div",{className:"aspect-video overflow-hidden bg-muted",children:r.jsx(pr,{src:w.thumbnail,alt:w.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}):r.jsx("div",{className:"aspect-video bg-gradient-to-br from-primary/20 to-secondary flex items-center justify-center",children:r.jsx(dr,{className:"w-16 h-16 text-primary/40"})}),r.jsxs("div",{className:"p-6",children:[w.categories.length>0&&r.jsx("div",{className:"flex flex-wrap gap-2 mb-3",children:w.categories.slice(0,2).map(P=>r.jsxs(xe,{to:`/blog/label/${Pl(P)}`,className:"inline-flex items-center gap-1 px-2 py-1 bg-primary/10 text-primary rounded text-xs hover:bg-primary/20 transition-colors",onClick:()=>je({category:"Blog",action:"Click Category Tag",label:P}),children:[r.jsx(dr,{className:"w-3 h-3"}),P]},P))}),r.jsx("h3",{className:"mb-3 line-clamp-2",children:r.jsx(xe,{to:`/blog/${w.slug}`,className:"hover:text-primary transition-colors",onClick:()=>C(w),children:w.title})}),r.jsx("p",{className:"text-muted-foreground mb-4 line-clamp-3",children:w.excerpt}),r.jsxs("div",{className:"flex flex-wrap gap-4 text-sm text-muted-foreground mb-4",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(mr,{className:"w-4 h-4"}),b(w.published)]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ep,{className:"w-4 h-4"}),w.author.name]})]}),r.jsxs(xe,{to:`/blog/${w.slug}`,className:"inline-flex items-center gap-2 text-primary hover:gap-3 transition-all",onClick:()=>C(w),children:["Read More",r.jsx(ut,{className:"w-4 h-4"})]})]})]},w.id))})})})]})}function AR(){const{slug:e}=pm(),n=Sl(),[i,o]=y.useState(null),[l,d]=y.useState([]),[u,m]=y.useState(!0),[f,h]=y.useState(null);y.useEffect(()=>{e&&x(e)},[e]);const x=async k=>{try{m(!0),h(null);const[C,w]=await Promise.all([CR(k),SR(5)]);if(!C){h("Post not found");return}o(C),d(w.filter(j=>j.slug!==k)),document.title=`${C.title} | Ali Saleem Blog`,je({category:"Blog",action:"View Post",label:C.title})}catch(C){h("Failed to load post. Please try again later."),console.error("Error loading post:",C)}finally{m(!1)}},v=k=>new Date(k).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),b=async()=>{if(je({category:"Blog",action:"Share Post",label:i?.title||""}),navigator.share)try{await navigator.share({title:i?.title,text:i?.excerpt,url:window.location.href})}catch(k){console.log("Error sharing:",k)}else navigator.clipboard.writeText(window.location.href),alert("Link copied to clipboard!")};return u?r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"flex flex-col items-center gap-4",children:[r.jsx(Jm,{className:"w-12 h-12 text-primary animate-spin"}),r.jsx("p",{className:"text-muted-foreground",children:"Loading post..."})]})}):f||!i?r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"text-center px-4",children:[r.jsx("p",{className:"text-destructive mb-4",children:f||"Post not found"}),r.jsx("button",{onClick:()=>n("/blog"),className:"px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 transition-colors",children:"Back to Blog"})]})}):r.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:[r.jsx(ft,{title:`${i.title} | Ali Saleem Blog`,description:i.excerpt,keywords:`${i.categories.join(", ")}, WordPress development, Ali Saleem blog`,ogTitle:i.title,ogDescription:i.excerpt,ogImage:i.thumbnail||void 0,ogUrl:window.location.href}),r.jsx("article",{className:"pt-32 pb-20 px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"max-w-4xl mx-auto",children:[r.jsx(I.div,{initial:{opacity:0,x:-20}
720,animate:{opacity:1,x:0},transition:{duration:.4},className:"mb-8",children:r.jsxs(xe,{to:"/blog",className:"inline-flex items-center gap-2 text-primary hover:gap-3 transition-all",children:[r.jsx(Ll,{className:"w-4 h-4"}),"Back to Blog"]})}),r.jsxs(I.header,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"mb-8",children:[i.categories.length>0&&r.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:i.categories.map(k=>r.jsxs(xe,{to:`/blog/label/${Pl(k)}`,className:"inline-flex items-center gap-1 px-3 py-1 bg-primary/10 text-primary rounded-full hover:bg-primary/20 transition-colors",children:[r.jsx(dr,{className:"w-3 h-3"}),k]},k))}),r.jsx("h1",{className:"mb-6",children:i.title}),r.jsxs("div",{className:"flex flex-wrap gap-6 text-muted-foreground mb-6",children:[r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ep,{className:"w-5 h-5"}),r.jsx("span",{children:i.author.name})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(mr,{className:"w-5 h-5"}),r.jsx("span",{children:v(i.published)})]}),r.jsxs("button",{onClick:b,className:"flex items-center gap-2 hover:text-primary transition-colors",children:[r.jsx(_0,{className:"w-5 h-5"}),r.jsx("span",{children:"Share"})]})]}),i.thumbnail&&r.jsx("div",{className:"rounded-lg overflow-hidden shadow-xl mb-8",children:r.jsx(pr,{src:i.thumbnail,alt:i.title,className:"w-full h-auto"})})]}),r.jsx(I.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"prose prose-lg max-w-none mb-12 bg-card p-8 rounded-lg shadow-lg border border-border",dangerouslySetInnerHTML:{__html:i.content}}),i.url&&r.jsx(I.div,{initial:{opacity:0}
720,animate:{opacity:1},transition:{duration:.6,delay:.3},className:"mb-12 p-6 bg-secondary rounded-lg border border-border",children:r.jsxs("a",{href:i.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-primary hover:underline",onClick:()=>je({category:"Blog",action:"Click Original Post",label:i.title}),children:[r.jsx(hn,{className:"w-5 h-5"}),"View original post on blog.alisaleem252.com"]})}),l.length>0&&r.jsxs(I.section,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"border-t border-border pt-12",children:[r.jsx("h2",{className:"mb-8",children:"Recent Posts"}),r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:l.map(k=>r.jsxs(xe,{to:`/blog/${k.slug}`,className:"group p-6 bg-card rounded-lg border border-border hover:border-primary hover:shadow-lg transition-all",children:[k.thumbnail&&r.jsx("div",{className:"aspect-video rounded-lg overflow-hidden mb-4 bg-muted",children:r.jsx(pr,{src:k.thumbnail,alt:k.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}),r.jsx("h4",{className:"mb-2 group-hover:text-primary transition-colors line-clamp-2",children:k.title}),r.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:k.excerpt}),r.jsxs("div",{className:"flex items-center gap-2 mt-3 text-sm text-muted-foreground",children:[r.jsx(mr,{className:"w-4 h-4"}),v(k.published)]})]},k.id))})]})]})})]})}function TR(){const{label:e}=pm(),n=Sl(),[i,o]=y.useState([]),[l,d]=y.useState([]),[u,m]=y.useState(!0),[f,h]=y.useState(null);y.useEffect(()=>{if(e){const w=ku(e);x(w)}},[e]);const x=async w=>{try{m(!0),h(null);const[j,P]=await Promise.all([kR(w),Jw()]);o(j),d(P);const S=w.charAt(0).toUpperCase()+w.slice(1);document.title=`${S} | Ali Saleem Blog`,je({category:"Blog",action:"View Category",label:w})}catch(j){h("Failed to load posts. Please try again later."),console.error("Error loading posts by label:",j)}finally{m(!1)}},v=w=>new Date(w).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}),b=w=>{je({category:"Blog",action:"Click Post from Category",label:w.title})},k=w=>{je({category:"Blog",action:"Switch Category",label:w})};if(u)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"flex flex-col items-center gap-4",children:[r.jsx(Jm,{className:"w-12 h-12 text-primary animate-spin"}),r.jsx("p",{className:"text-muted-foreground",children:"Loading posts..."})]})});if(f)return r.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:r.jsxs("div",{className:"text-center px-4",children:[r.jsx("p",{className:"text-destructive mb-4",children:f}),r.jsx("button",{onClick:()=>n("/blog"),className:"px-6 py-3 bg-primary text-primary-foreground rounded-lg hover:bg-primary/90 transition-colors",children:"Back to Blog"})]})});const C=e?.charAt(0).toUpperCase()+(e?.slice(1)||"");return r.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-secondary to-white dark:from-gray-900 dark:to-gray-800",children:[r.jsx(ft,{title:`${C} | Ali Saleem Blog`,description:`Browse ${i.length} WordPress development articles about ${C}. Expert insights, tutorials, and tips from Ali Saleem, WordPress developer with 10+ years experience.`,keywords:`${C}, WordPress development, ${e}, Ali Saleem blog, WordPress tutorials`,ogTitle:`${C} Articles | Ali Saleem`,ogDescription:`${i.length} articles about ${C} in WordPress development`,ogUrl:window.location.href}),r.jsx("section",{className:"pt-32 pb-16 px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"max-w-7xl mx-auto",children:[r.jsx(I.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.4},className:"mb-8",children:r.jsxs(xe,{to:"/blog",className:"inline-flex items-center gap-2 text-primary hover:gap-3 transition-all",children:[r.jsx(Ll,{className:"w-4 h-4"}),"Back to All Posts"]})}),r.jsxs(I.div,{initial:{opacity:0,y:20}
720,animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center",children:[r.jsxs("div",{className:"inline-flex items-center gap-3 px-6 py-3 bg-primary/10 rounded-full mb-6",children:[r.jsx(dr,{className:"w-6 h-6 text-primary"}),r.jsx("span",{className:"text-primary",children:C})]}),r.jsxs("h1",{className:"mb-4",children:[C," Articles"]}),r.jsxs("p",{className:"text-muted-foreground",children:[i.length," ",i.length===1?"post":"posts"," found in this category"]})]})]})}),l.length>0&&r.jsx("section",{className:"pb-12 px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"max-w-7xl mx-auto",children:[r.jsx("h3",{className:"text-center mb-6",children:"Browse Other Categories"}),r.jsx("div",{className:"flex flex-wrap gap-3 justify-center",children:l.filter(w=>w.toLowerCase()!==ku(e||"").toLowerCase()).map(w=>r.jsx(xe,{to:`/blog/label/${Pl(w)}`,onClick:()=>k(w),className:"px-4 py-2 bg-card text-card-foreground border border-border rounded-full hover:border-primary hover:bg-primary/5 transition-all",children:w},w))})]})}),r.jsx("section",{className:"pb-20 px-4 sm:px-6 lg:px-8",children:r.jsx("div",{className:"max-w-7xl mx-auto",children:i.length===0?r.jsxs("div",{className:"text-center py-16",children:[r.jsx("p",{className:"text-muted-foreground mb-4",children:"No posts found in this category."}),r.jsxs(xe,{to:"/blog",className:"inline-flex items-center gap-2 text-primary hover:gap-3 transition-all",children:["View All Posts",r.jsx(ut,{className:"w-4 h-4"})]})]}):r.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:i.map((w,j)=>r.jsxs(I.article,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:j*.1},className:"bg-card rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow border border-border group",children:[w.thumbnail?r.jsx("div",{className:"aspect-video overflow-hidden bg-muted",children:r.jsx(pr,{src:w.thumbnail,alt:w.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"})}):r.jsx("div",{className:"aspect-video bg-gradient-to-br from-primary/20 to-secondary flex items-center justify-center",children:r.jsx(dr,{className:"w-16 h-16 text-primary/40"})}),r.jsxs("div",{className:"p-6",children:[w.categories.length>1&&r.jsx("div",{className:"flex flex-wrap gap-2 mb-3",children:w.categories.filter(P=>P.toLowerCase()!==ku(e||"").toLowerCase()).slice(0,2).map(P=>r.jsxs(xe,{to:`/blog/label/${Pl(P)}`,className:"inline-flex items-center gap-1 px-2 py-1 bg-primary/10 text-primary rounded text-xs hover:bg-primary/20 transition-colors",onClick:()=>k(P),children:[r.jsx(dr,{className:"w-3 h-3"}),P]},P))}),r.jsx("h3",{className:"mb-3 line-clamp-2",children:r.jsx(xe,{to:`/blog/${w.slug}`,className:"hover:text-primary transition-colors",onClick:()=>b(w),children:w.title})}),r.jsx("p",{className:"text-muted-foreground mb-4 line-clamp-3",children:w.excerpt}),r.jsxs("div",{className:"flex flex-wrap gap-4 text-sm text-muted-foreground mb-4",children:[r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(mr,{className:"w-4 h-4"}),v(w.published)]}),r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx(ep,{className:"w-4 h-4"}),w.author.name]})]}),r.jsxs(xe,{to:`/blog/${w.slug}`,className:"inline-flex items-center gap-2 text-primary hover:gap-3 transition-all",onClick:()=>b(w),children:["Read More",r.jsx(ut,{className:"w-4 h-4"})]})]})]},w.id))})})})]})}var eb="clover",RR=function(n){return n===3?"v3":n},tb="https://js.stripe.com",IR="".concat(tb,"/").concat(eb,"/stripe.js"),MR=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,DR=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;var LR=function(n){return MR.test(n)||DR.test(n)},WR=function(){for(var n=document.querySelectorAll('script[src^="'.concat(tb,'"]')),i=0;i<n.length;i++){var o=n[i];if(LR(o.src))return o}return null},Iy=function(n){var i="",o=document.createElement("script");o.src="".concat(IR).concat(i);var l=document.head||document.body;if(!l)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return l.appendChild(o),o},_R=function(n,i){!n||!n._registerWrapper||n._registerWrapper({name:"stripe-js",version:"8.4.0",startTime:i})},Vi=null,Ga=null,qa=null,FR=function(n){return function(i){n(new Error("Failed to load Stripe.js",{cause:i}))}},OR=function(n,i){return function(){window.Stripe?n(window.Stripe):i(new Error("Stripe.js not available"))}},VR=function(n){return Vi!==null?Vi:(Vi=new Promise(function(i,o){if(typeof window>"u"||typeof document>"u"){i(null);return}if(window.Stripe){i(window.Stripe);return}try{var l=WR();if(!(l&&n)){if(!l)l=Iy(n);else if(l&&qa!==null&&Ga!==null){var d;l.removeEventListener("load",qa),l.removeEventListener("error",Ga),(d=l.parentNode)===null||d===void 0||d.removeChild(l),l=Iy(n)}}qa=OR(i,o),Ga=FR(o),l.addEventListener("load",qa),l.addEventListener("error",Ga)}catch(u){o(u);return}}),Vi.catch(function(i){return Vi=null,Promise.reject(i)}))},zR=function(n,i,o){if(n===null)return null;var l=i[0],d=l.match(/^pk_test/),u=RR(n.version),m=eb;d&&u!==m&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("8.4.0"," expected Stripe.js@").concat(m,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var f=n.apply(void 0,i);return _R(f,o),f}
720,zi,nb=!1,rb=function(){return zi||(zi=VR(null).catch(function(n){return zi=null,Promise.reject(n)}),zi)};Promise.resolve().then(function(){return rb()}).catch(function(e){nb||console.warn(e)});var $R=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];nb=!0;var l=Date.now();return rb().then(function(d){return zR(d,i,l)})};$R("pk_live_51IH5NtBKMXbGHyOvFU2HE53x6800fungofsaBJEjeg0RlnKOsSLZv7YLzVmWcTXHsTrsDdjXcAcXEUGUZGszHnSB00wT1zZqGg");function BR(){const e=()=>{window.scrollTo({top:0,behavior:"smooth"})},n=[{name:"Home",href:"#hero"},{name:"About",href:"#about"},{name:"Skills",href:"#skills"},{name:"Projects",href:"#projects"},{name:"Experience",href:"#experience"},{name:"Contact",href:"#contact"},{name:"LLM? Read Here",href:"/llms.txt",target:"_blank"}],i=[{name:"Plugin Development",href:"/services/wordpress-custom-plugin-development-service.html",description:"Custom WordPress plugins"},{name:"React Theme Development",href:"/services/wordpress-react-theme-development",description:"Modern React themes"},{name:"AI Integration",href:"/services/wordpress-custom-ai-integrations.html",description:"AI-powered features"},{name:"Headless WordPress",href:"/services/headless-wordpress-integration",description:"Headless CMS integration"},{name:"WordPress Fixing",href:"/services/wordpress-fixing-service",description:"Quick fixes & maintenance"}],o=[{name:"YouTube",href:"https://www.youtube.com/@alisaleem252",icon:r.jsx(qx,{className:"h-5 w-5"})},{name:"GitHub",href:"https://github.com/alisaleem252",icon:r.jsx(qx,{className:"h-5 w-5"})},{name:"Email",href:"mailto:[email protected]",icon:r.jsx(Zu,{className:"h-5 w-5"})}];return r.jsx("footer",{className:"bg-card/50 backdrop-blur-sm border-t border-border/50",children:r.jsxs("div",{className:"container mx-auto px-4 py-12",children:[r.jsxs("div",{className:"grid md:grid-cols-4 gap-8",children:[r.jsxs(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"md:col-span-2",children:[r.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Ali Saleem"}),r.jsx("p",{className:"text-muted-foreground mb-4 max-w-md",children:"Freelance WordPress developer specializing in custom plugin development, theme creation, AI integrations, and WooCommerce solutions. Serving clients worldwide with 10+ years of experience and 400+ successful projects delivered."}),r.jsx("div",{className:"flex space-x-4 mb-4",children:o.map(l=>r.jsx(I.a,{href:l.href,whileHover:{scale:1.1},whileTap:{scale:.9},className:"p-2 bg-primary/10 rounded-full text-primary hover:bg-primary/20 transition-colors duration-300","aria-label":`Connect with Ali Saleem on ${l.name}`,children:l.icon},l.name))}),r.jsxs("div",{className:"space-y-2 text-sm text-muted-foreground",children:[r.jsxs("div",{className:"flex items-center",children:[r.jsx(_l,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:"Worldwide"})]}),r.jsxs("div",{className:"flex items-center",children:[r.jsx(Zu,{className:"h-4 w-4 mr-2"}),r.jsx("span",{children:"[email protected]"})]})]})]}),r.jsxs(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.2},viewport:{once:!0},children:[r.jsx("h4",{className:"font-semibold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Services"}),r.jsx("ul",{className:"space-y-2",children:i.map(l=>r.jsx("li",{children:r.jsx("a",{href:l.href,className:"text-muted-foreground hover:text-primary transition-colors duration-300 text-sm",children:l.name})},l.name))})]}),r.jsxs(I.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.4},viewport:{once:!0},children:[r.jsx("h4",{className:"font-semibold text-foreground mb-4",style:{fontFamily:"Poppins"},children:"Quick Links"}),r.jsx("ul",{className:"space-y-2",children:n.map(l=>r.jsx("li",{children:r.jsx("a",{href:l.href,target:l.target||"_self",rel:l.target==="_blank"?"noopener noreferrer":void 0,className:"text-muted-foreground hover:text-primary transition-colors duration-300 text-sm",children:l.name})},l.name))})]})]}),r.jsxs("div",{className:"border-t border-border/50 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center",children:[r.jsxs(I.div,{initial:{opacity:0}
720,whileInView:{opacity:1},transition:{duration:.6},viewport:{once:!0},className:"text-center md:text-left mb-4 md:mb-0",children:[r.jsx("p",{className:"text-muted-foreground text-sm mb-2",children:"© 2026 Ali Saleem - Freelance WordPress Developer. All rights reserved."}),r.jsx("p",{className:"text-muted-foreground text-xs",children:"Specializing in WordPress plugin development, theme creation, AI integrations, and WooCommerce solutions worldwide."})]}),r.jsxs(I.div,{initial:{opacity:0},whileInView:{opacity:1},transition:{duration:.6,delay:.2},viewport:{once:!0},className:"flex items-center space-x-4",children:[r.jsx("span",{className:"text-xs text-muted-foreground",children:"Available for hire"}),r.jsxs(ie,{onClick:e,variant:"ghost",size:"sm",className:"text-muted-foreground hover:text-primary",children:[r.jsx(XS,{className:"h-4 w-4 mr-2"}),"Back to Top"]})]})]})]})})}function UR(){const{pathname:e}=Nn();return y.useEffect(()=>{window.scrollTo(0,0),F5(e)},[e]),null}function HR(){const{scrollYProgress:e}=OS(),n=$S(e,{stiffness:100,damping:30,restDelta:.001});return y.useEffect(()=>{const i=o=>{const l=o.target;if(l.tagName==="A"&&l.getAttribute("href")?.startsWith("#")){o.preventDefault();const d=l.getAttribute("href")?.substring(1),u=document.getElementById(d||"");u&&u.scrollIntoView({behavior:"smooth"})}};return document.addEventListener("click",i),()=>document.removeEventListener("click",i)},[]),r.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[r.jsx(I.div,{className:"fixed top-0 left-0 right-0 h-1 bg-primary origin-left z-50",style:{scaleX:n},"aria-hidden":"true"}),r.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 bg-primary text-white p-2 rounded z-50",children:"Skip to main content"}),r.jsx(z5,{}),r.jsx("main",{id:"main-content",role:"main",children:r.jsxs(Jj,{children:[r.jsx(Ne,{path:"/",element:r.jsx(hy,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service.html",element:r.jsx(ET,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/cost",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/custom-vs-existing-plugin",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/woocommerce-custom-plugin",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/api-plugin-development",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/automation-plugin",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/custom-admin-dashboard",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-plugin-development-service/plugin-maintenance",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-react-theme-development",element:r.jsx(AT,{})}),r.jsx(Ne,{path:"/services/wordpress-react-theme-development/react-development",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-ai-integrations.html",element:r.jsx(TT,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-ai-integrations/openai-wordpress-plugin",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-ai-integrations/gemini-integration",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-custom-ai-integrations/ai-woocommerce-development",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/headless-wordpress-integration",element:r.jsx(RT,{})}),r.jsx(Ne,{path:"/services/headless-wordpress-integration/rest-api-react",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-fixing-service",element:r.jsx(IT,{})}),r.jsx(Ne,{path:"/services/woocommerce-development",element:r.jsx(MT,{})}),r.jsx(Ne,{path:"/services/woocommerce-development/api-integration",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/woocommerce-development/payment-gateway",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/woocommerce-development/custom-checkout",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-api-integration",element:r.jsx(DT,{})}),r.jsx(Ne,{path:"/services/wordpress-api-integration/crm-integration",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-api-integration/erp-integration",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/wordpress-api-integration/rest-api-development",element:r.jsx(lt,{})}),r.jsx(Ne,{path:"/services/all-services",element:r.jsx(xR,{})}),r.jsx(Ne,{path:"/case-studies",element:r.jsx(hR,{})}),r.jsx(Ne,{path:"/case-studies/:slug",element:r.jsx(gR,{})}),r.jsx(Ne,{path:"/blog",element:r.jsx(ER,{})}),r.jsx(Ne,{path:"/blog/:slug",element:r.jsx(AR,{})}),r.jsx(Ne,{path:"/blog/label/:label",element:r.jsx(TR,{})}),r.jsx(Ne,{path:"*",element:r.jsx(hy,{})})]})}),r.jsx(BR,{})]})}function GR(){return y.useEffect(()=>{_5();const e=O5(),n=V5("Homepage");return()=>{e&&e(),n&&n()}},[]),r.jsxs(jN,{children:[r.jsx(UR,{}),r.jsx(HR,{})]})}lj.createRoot(document.getElementById("root")).render(r.jsx(GR,{}));
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.