PageSourceSearch

https://genwrite.co/_next/static/chunks/015f7s4blatqg.js

js genwrite.co collected 2026-10-04 17:11:52 UTC 104,553 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77022,e=>{"use strict";let t,n,r,i,a,s,o;var l=e.i(18050);e.i(47167);var c={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},u=new class{#e=c;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},d="u"<typeof window||"Deno"in globalThis;function h(){}function f(e,t){return"function"==typeof e?e(t):e}function p(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:s,stale:o}=e;if(s){if(r){if(t.queryHash!==g(s,t.options))return!1}else if(!y(t.queryKey,s))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function m(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(v(t.options.mutationKey)!==v(a))return!1}else if(!y(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function g(e,t){return(t?.queryKeyHashFn||v)(e)}function v(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function y(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>y(e[n],t[n]))}var x=Object.prototype.hasOwnProperty;function w(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!A(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!A(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function A(e){return"[object Object]"===Object.prototype.toString.call(e)}function C(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function j(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var E=Symbol();function k(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==E?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}var S=(t=[],n=0,r=e=>{e()},i=e=>{e()},a=function(e){setTimeout(e,0)},{batch:e=>{let s;n++;try{s=e()}finally{let e;--n||(e=t,t=[],e.length&&a(()=>{i(()=>{e.forEach(e=>{r(e)})})}))}return s},batchCalls:e=>(...t)=>{s(()=>{e(...t)})},schedule:s=e=>{n?t.push(e):a(()=>{r(e)})},setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{a=e}}),N=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},R=new class extends N{#n;#r;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#n?this.#n:globalThis.document?.visibilityState!=="hidden"}},O=new class extends N{#a=!0;#r;#i;constructor(){super(),this.#i=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}
1setOnline(e){this.#a!==e&&(this.#a=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#a}},P=(o=()=>d,{isServer:()=>o(),setIsServer(e){o=e}});function T(e){return Math.min(1e3*2**e,3e4)}function M(e){return(e??"online")!=="online"||O.isOnline()}var I=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function D(e){let t,n=!1,r=0,i=function(){let e,t,n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}(),a=()=>R.isFocused()&&("always"===e.networkMode||O.isOnline())&&e.canRun(),s=()=>M(e.networkMode)&&e.canRun(),o=e=>{"pending"===i.status&&(t?.(),i.resolve(e))},l=e=>{"pending"===i.status&&(t?.(),i.reject(e))},c=()=>new Promise(n=>{t=e=>{("pending"!==i.status||a())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,"pending"===i.status&&e.onContinue?.()}),d=()=>{let t;if("pending"!==i.status)return;let s=0===r?e.initialPromise:void 0;try{t=s??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(o).catch(t=>{if("pending"!==i.status)return;let s=e.retry??3*!P.isServer(),o=e.retryDelay??T,h="function"==typeof o?o(r,t):o,f=!0===s||"number"==typeof s&&r<s||"function"==typeof s&&s(r,t);n||!f?l(t):(r++,e.onFail?.(r,t),new Promise(e=>{u.setTimeout(e,h)}).then(()=>a()?void 0:c()).then(()=>{n?l(t):d()}))})};return{promise:i,status:()=>i.status,cancel:t=>{if("pending"===i.status){let n=new I(t);l(n),e.onCancel?.(n)}},continue:()=>(t?.(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():c().then(d),i)}}var F=class{#s;destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"==typeof(e=this.gcTime)&&e>=0&&e!==1/0&&(this.#s=u.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(P.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#s&&(u.clearTimeout(this.#s),this.#s=void 0)}},L=class extends F{#o;#l;#c;#u;#d;#h;#f;constructor(e){super(),this.#f=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=z(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#h,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=z(this.options);void 0!==e.data&&(this.setState(q(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){var n,r;let i=(n=this.state.data,"function"==typeof(r=this.options).structuralSharing?r.structuralSharing(n,e):!1!==r.structuralSharing?function e(t,n,r=0){if(t===n)return t;if(r>500)return n;let i=w(t)&&w(n);if(!i&&!(b(t)&&b(n)))return n;let a=(i?t:Object.keys(t)).length,s=i?n:Object.keys(n),o=s.length,l=i?Array(o):{},c=0;for(let u=0;u<o;u++){let o=i?u:s[u],d=t[o],h=n[o];if(d===h){l[o]=d,(i?u<a:x.call(t,o))&&c++;continue}if(null===d||null===h||"object"!=typeof d||"object"!=typeof h){l[o]=h;continue}let f=e(d,h,r+1);l[o]=f,f===d&&c++}return a===o&&c===a?t:l}(n,e):e);return this.#p({data:i,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),i}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(h).catch(h):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#o}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>{var t;return!1!==(t=e.options.enabled,"function"==typeof t?t(this):t)})}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===E||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===f(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Math.max(this.state.dataUpdatedAt+(e||0)-Date.now(),0))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#f||this.#m()?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#m(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){let n;if("idle"!==this.state.fetchStatus&&this.#d?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,r.signal)}
vendor: 6,723 bytes, line 1
1)},a=()=>{let e,n=k(this.options,t),r=(i(e={client:this.#u,queryKey:this.queryKey,meta:this.meta}),e);return(this.#f=!1,this.options.persister)?this.options.persister(n,r,this):n(r)},s=(i(n={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:a}),n);this.options.behavior?.onFetch(s,this),this.#l=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==s.fetchOptions?.meta)&&this.#p({type:"fetch",meta:s.fetchOptions?.meta}),this.#d=D({initialPromise:t?.initialPromise,fn:s.fetchFn,onCancel:e=>{e instanceof I&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0});try{let e=await this.#d.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof I){if(e.silent)return this.#d.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var n;return{...t,...(n=t.data,{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:M(this.options.networkMode)?"fetching":"paused",...void 0===n&&{error:null,status:"pending"}}),fetchMeta:e.meta??null};case"success":let r={...t,...q(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?r:void 0,r;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),S.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function q(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function z(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var _=class extends N{constructor(e={}){super(),this.config=e,this.#g=new Map}#g;build(e,t,n){let r=t.queryKey,i=t.queryHash??g(r,t),a=this.get(i);return a||(a=new L({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#g.has(e.queryHash)||(this.#g.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#g.get(e.queryHash);t&&(e.destroy(),t===e&&this.#g.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){S.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#g.get(e)}getAll(){return[...this.#g.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>p(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>p(e,t)):t}notify(e){S.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){S.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){S.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},W=class extends F{#u;#v;#y;#d;constructor(e){super(),this.#u=e.client,this.mutationId=e.mutationId,this.#y=e.mutationCache,this.#v=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#v.includes(e)||(this.#v.push(e),this.clearGcTimeout(),this.#y.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#v=this.#v.filter(t=>t!==e),this.scheduleGc(),this.#y.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#v.length||("pending"===this.state.status?this.scheduleGc():this.#y.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#p({type:"continue"})},n={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=D({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#y.canRun(this)});let r="pending"===this.state.status,i=!this.#d.canStart();try{if(r)t();else{this.#p({type:"pending",variables:e,isPaused:i}),this.#y.config.onMutate&&await this.#y.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:i})}let a=await this.#d.start();return await this.#y.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#y.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#p({type:"success",data:a}),a}catch(t){try{await this.#y.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#y.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#p({type:"error",error:t}),t}finally{this.#y.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),S.batch(()=>{this.#v.forEach(t=>{t.onMutationUpdate(e)}),this.#y.notify({mutation:this,type:"updated",action:e})})}},K=class extends N{constructor(e={}){super(),this.config=e,this.#x=new Set,this.#w=new Map,this.#b=0}#x;#w;#b;build(e,t,n){let r=new W({client:e,mutationCache:this,mutationId:++this.#b,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#x.add(e);let t=H(e);if("string"==typeof t){let n=this.#w.get(t);n?n.push(e):this.#w.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#x.delete(e)){let t=H(e);if("string"==typeof t){let n=this.#w.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#w.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=H(e);if("string"!=typeof t)return!0;{let n=this.#w.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=H(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#w.get(t)?.find(t=>
vendor: 4,231 bytes, line 1
1t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){S.batch(()=>{this.#x.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#x.clear(),this.#w.clear()})}getAll(){return Array.from(this.#x)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){return this.getAll().filter(t=>m(e,t))}notify(e){S.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return S.batch(()=>Promise.all(e.map(e=>e.continue().catch(h))))}};function H(e){return e.options.scope?.id}function B(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[],o={pages:[],pageParams:[]},l=0,c=async()=>{let n=!1,c=k(t.options,t.fetchOptions),u=async(e,r,i)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);let a=(()=>{var e,a;let s,o,l={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?"backward":"forward",meta:t.options.meta};return e=()=>t.signal,a=()=>n=!0,o=!1,Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(s??=e(),o||(o=!0,s.aborted?a():s.addEventListener("abort",a,{once:!0})),s)}),l})(),s=await c(a),{maxPages:o}=t.options,l=i?j:C;return{pages:l(e.pages,s,o),pageParams:l(e.pageParams,r,o)}};if(i&&a.length){let e="backward"===i,t={pages:a,pageParams:s},n=(e?function(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}:Q)(r,t);o=await u(t,n,e)}else{let t=e??a.length;do{let e=0===l?s[0]??r.initialPageParam:Q(r,o);if(l>0&&null==e)break;o=await u(o,e),l++}while(l<t)}return o};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function Q(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}var G=class{#A;#y;#h;#C;#j;#E;#k;#S;constructor(e={}){this.#A=e.queryCache||new _,this.#y=e.mutationCache||new K,this.#h=e.defaultOptions||{},this.#C=new Map,this.#j=new Map,this.#E=0}mount(){this.#E++,1===this.#E&&(this.#k=R.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#A.onFocus())}),this.#S=O.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#A.onOnline())}))}unmount(){this.#E--,0===this.#E&&(this.#k?.(),this.#k=void 0,this.#S?.(),this.#S=void 0)}isFetching(e){return this.#A.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#y.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#A.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#A.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(f(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#A.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#A.get(r.queryHash),a=i?.state.data,s="function"==typeof t?t(a):t;if(void 0!==s)return this.#A.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return S.batch(()=>this.#A.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#A.get(t.queryHash)?.state}removeQueries(e){let t=this.#A;S.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#A;return S.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(S.batch(()=>this.#A.findAll(e).map(e=>e.cancel(n)))).then(h).catch(h)}invalidateQueries(e,t={}){return S.batch(()=>(this.#A.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(S.batch(()=>this.#A.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(h)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1))).then(h)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#A.build(this,t);return n.isStaleByTime(f(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(h).catch(h)}fetchInfiniteQuery(e){return e.behavior=B(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(h).catch(h)}ensureInfiniteQueryData(e){return e.behavior=B(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return O.isOnline()?this.#y.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#A}getMutationCache(){return this.#y}getDefaultOptions(){return this.#h}setDefaultOptions(e){this.#h=e}setQueryDefaults(e,t){this.#C.set(v(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#C.values()],n={};return t.forEach(t=>{y(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#j.set(v(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#j.values()],n={};return t.forEach(t=>{y(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#h.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=g(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===E&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#h.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#A.clear(),this.#y.clear()}},U=e.i(71645),V=U.createContext(void 0),$=({client:e,children:t})=>(U.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,l.jsx)(V.Provider,{value:e,children:t}));e.s(["QueryProvider",0,function({children:e}){let[t]=(0,U.useState)(()=>new G({defaultOptions:{queries:{staleTime:3e5,gcTime:6e5,retry:2,retryDelay:e=>Math.min(1e3*2**e,3e4),refetchOnWindowFocus:"always",refetchOnMount:!0,refetchOnReconnect:!0,networkMode:"online"},mutations:{retry:1,networkMode:"online"}}}));return(0,l.jsx)($,{client:t,children:e})}],77022)},48516,e=>{"use strict";let t,n,r,i;var a,s,o,l,c,u,d,h=e.i(18050),f=e.i(57688),p=e.i(22016),m=e.i(71645);let g={src:e.i(29281).default,width:1461,height:444,blurWidth:8,blurHeight:2,blurDataURL:"data:image/webp;base64,UklGRtYAAABXRUJQVlA4TMkAAAAvB0AAEM1VICICHsigAQAAAIDhDgAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAeyKABAAAAwPlPAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAPjxQDYBAAAAAM5/DgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIDyQAAJAAAAAM5ffgIAAAMAAAADAAAAAAAAAAAAAAAAAAAAAAAAAGBgBvAMzmzRhoXhIVDw/tnGhWMxOBT6DwAA"};function v(e="https://app.cal.com/embed/embed.js"){var t;let n,r;return t=window,n=function(e,t){e.q.push(t)},r=t.document,t.Cal=t.Cal||function(){let i=t.Cal,a=arguments;if(i.loaded||(i.ns={},i.q=i.q||[],r.head.appendChild(r.createElement("script")).src=e,i.loaded=!0),"init"===a[0]){let e=function(){n(e,arguments)},t=a[1];e.q=e.q||[],"string"==typeof t?(i.ns[t]=i.ns[t]||e,n(i.ns[t],a),n(i,["initNamespace",t])):n(i,a);return}n(i,a)},window.Cal}v.toString();var y=e.i(24511),x=e.i(74080),w=e.i(30030),b=e.i(81140),A=e.i(48425),C=e.i(69340),j=e.i(20783),E=m.createContext(void 0),k=e.i(96626),S=e.i(10772);function N(e){var t;let n,r=(t=e,(n=m.forwardRef((e,t)=>{let{children:n,...r}=e;if(m.isValidElement(n)){var i;let e,a,s=(i=n,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),o=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==m.Fragment&&(o.ref=t?(0,j.composeRefs)(t,s):s),m.cloneElement(n,o)}return m.Children.count(n)>1?m.Children.only(null):null})).displayName=`${t}.SlotClone`,n),i=m.forwardRef((e,t)=>
1{let{children:n,...i}=e,a=m.Children.toArray(n),s=a.find(O);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:m.Children.count(e)>1?m.Children.only(null):m.isValidElement(e)?e.props.children:null);return(0,h.jsx)(r,{...i,ref:t,children:m.isValidElement(e)?m.cloneElement(e,void 0,n):null})}return(0,h.jsx)(r,{...i,ref:t,children:n})});return i.displayName=`${e}.Slot`,i}var R=Symbol("radix.slottable");function O(e){return m.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===R}function P(e){let t=e+"CollectionProvider",[n,r]=(0,w.createContextScope)(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,r=m.default.useRef(null),a=m.default.useRef(new Map).current;return(0,h.jsx)(i,{scope:t,itemMap:a,collectionRef:r,children:n})};s.displayName=t;let o=e+"CollectionSlot",l=N(o),c=m.default.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=a(o,n),s=(0,j.useComposedRefs)(t,i.collectionRef);return(0,h.jsx)(l,{ref:s,children:r})});c.displayName=o;let u=e+"CollectionItemSlot",d="data-radix-collection-item",f=N(u),p=m.default.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,s=m.default.useRef(null),o=(0,j.useComposedRefs)(t,s),l=a(u,n);return m.default.useEffect(()=>(l.itemMap.set(s,{ref:s,...i}),()=>void l.itemMap.delete(s))),(0,h.jsx)(f,{...{[d]:""},ref:o,children:r})});return p.displayName=u,[{Provider:s,Slot:c,ItemSlot:p},function(t){let n=a(e+"CollectionConsumer",t);return m.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var T=new WeakMap;function M(e,t){var n,r;let i,a,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let o=(n=e,r=t,i=n.length,(s=(a=I(r))>=0?a:i+a)<0||s>=i?-1:s);return -1===o?void 0:e[o]}function I(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#N;constructor(e){super(e),this.#N=[...super.keys()],T.set(this,!0)}set(e,t){return T.get(this)&&(this.has(e)?this.#N[this.#N.indexOf(e)]=e:this.#N.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=this.#N.length,s=I(e),o=s>=0?s:a+s,l=o<0||o>=a?-1:o;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,n),this;let c=this.size+ +!i;s<0&&o++;let u=[...this.#N],d=!1;for(let e=o;e<c;e++)if(o===e){let a=u[e];u[e]===t&&(a=u[e+1]),i&&this.delete(t),r=this.get(a),this.set(t,n)}else{d||u[e-1]!==t||(d=!0);let n=u[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#N.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#N.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#N.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#N.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#N=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#N.splice(this.#N.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=M(this.#N,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=M(this.#N,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#N.indexOf(e)}keyAt(e){return M(this.#N,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);
1r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}});var D=e.i(26330),F=e.i(34620),L=e.i(30207),q=e.i(59411),z="NavigationMenu",[_,W,K]=P(z),[H,B,Q]=P(z),[G,U]=(0,w.createContextScope)(z,[K,Q]),[V,$]=G(z),[Y,X]=G(z),Z=m.forwardRef((e,t)=>{let n,{__scopeNavigationMenu:r,value:i,onValueChange:a,defaultValue:s,delayDuration:o=200,skipDelayDuration:l=300,orientation:c="horizontal",dir:u,...d}=e,[f,p]=m.useState(null),g=(0,j.useComposedRefs)(t,e=>p(e)),v=(n=m.useContext(E),u||n||"ltr"),y=m.useRef(0),x=m.useRef(0),w=m.useRef(0),[b,k]=m.useState(!0),[S,N]=(0,C.useControllableState)({prop:i,onChange:e=>{let t=l>0;""!==e?(window.clearTimeout(w.current),t&&k(!1)):(window.clearTimeout(w.current),w.current=window.setTimeout(()=>k(!0),l)),a?.(e)},defaultProp:s??"",caller:z}),R=m.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>N(""),150)},[N]),O=m.useCallback(e=>{window.clearTimeout(x.current),N(e)},[N]),P=m.useCallback(e=>{S===e?window.clearTimeout(x.current):y.current=window.setTimeout(()=>{window.clearTimeout(x.current),N(e)},o)},[S,N,o]);return m.useEffect(()=>()=>{window.clearTimeout(y.current),window.clearTimeout(x.current),window.clearTimeout(w.current)},[]),(0,h.jsx)(ee,{scope:r,isRootMenu:!0,value:S,dir:v,orientation:c,rootNavigationMenu:f,onTriggerEnter:e=>{window.clearTimeout(y.current),b?P(e):O(e)},onTriggerLeave:()=>{window.clearTimeout(y.current),R()},onContentEnter:()=>window.clearTimeout(x.current),onContentLeave:R,onItemSelect:e=>{N(t=>t===e?"":e)},onItemDismiss:()=>N(""),children:(0,h.jsx)(A.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:v,...d,ref:g})})});Z.displayName=z;var J="NavigationMenuSub";m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:a,orientation:s="horizontal",...o}=e,l=$(J,n),[c,u]=(0,C.useControllableState)({prop:r,onChange:i,defaultProp:a??"",caller:J});return(0,h.jsx)(ee,{scope:n,isRootMenu:!1,value:c,dir:l.dir,orientation:s,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,h.jsx)(A.Primitive.div,{"data-orientation":s,...o,ref:t})})}).displayName=J;var ee=e=>{let t,{scope:n,isRootMenu:r,rootNavigationMenu:i,dir:a,orientation:s,children:o,value:l,onItemSelect:c,onItemDismiss:u,onTriggerEnter:d,onTriggerLeave:f,onContentEnter:p,onContentLeave:g}=e,[v,y]=m.useState(null),[x,w]=m.useState(new Map),[b,A]=m.useState(null);return(0,h.jsx)(V,{scope:n,isRootMenu:r,rootNavigationMenu:i,value:l,previousValue:(t=m.useRef({value:l,previous:l}),m.useMemo(()=>(t.current.value!==l&&(t.current.previous=t.current.value,t.current.value=l),t.current.previous),[l])),baseId:(0,S.useId)(),dir:a,orientation:s,viewport:v,onViewportChange:y,indicatorTrack:b,onIndicatorTrackChange:A,onTriggerEnter:(0,L.useCallbackRef)(d),onTriggerLeave:(0,L.useCallbackRef)(f),onContentEnter:(0,L.useCallbackRef)(p),onContentLeave:(0,L.useCallbackRef)(g),onItemSelect:(0,L.useCallbackRef)(c),onItemDismiss:(0,L.useCallbackRef)(u),onViewportContentChange:m.useCallback((e,t)=>{w(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:m.useCallback(e=>{w(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,h.jsx)(_.Provider,{scope:n,children:(0,h.jsx)(Y,{scope:n,items:x,children:o})})})},et="NavigationMenuList",en=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=$(et,n),a=(0,h.jsx)(A.Primitive.ul,{"data-orientation":i.orientation,...r,ref:t});return(0,h.jsx)(A.Primitive.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,h.jsx)(_.Slot,{scope:n,children:i.isRootMenu?(0,h.jsx)(eb,{asChild:!0,children:a}):a})})});en.displayName=et;var er="NavigationMenuItem",[ei,ea]=G(er),es=m.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,value:r,...i}=e,a=(0,S.useId)(),s=m.useRef(null),o=m.useRef(null),l=m.useRef(null),c=m.useRef(()=>{}),u=m.useRef(!1),d=m.useCallback((e="start")=>{if(s.current){c.current();let t=ej(s.current);t.length&&eE("start"===e?t:t.reverse())}},[]),f=m.useCallback(()=>{if(s.current){var e;let t=ej(s.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),c.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,h.jsx)(ei,{scope:n,value:r||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:o,contentRef:s,focusProxyRef:l,wasEscapeCloseRef:u,onEntryKeyDown:d,onFocusProxyEnter:d,onRootContentClose:f,onContentFocusOutside:f,children:(0,h.jsx)(A.Primitive.li,{...i,ref:t})})});es.displayName=er;var eo="NavigationMenuTrigger",el=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:r,...i}=e,a=$(eo,e.__scopeNavigationMenu),s=ea(eo,e.__scopeNavigationMenu),o=m.useRef(null),l=(0,j.useComposedRefs)(o,s.triggerRef,t),c=eN(a.baseId,s.value),u=eR(a.baseId,s.value),d=m.useRef(!1),f=m.useRef(!1),p=s.value===a.value;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(_.ItemSlot,{scope:n,value:s.value,children:(0,h.jsx)(eC,{asChild:!0,children:(0,h.jsx)(A.Primitive.button,{id:c,disabled:r,"data-disabled":r?"":void 0,"data-state":eS(p),"aria-expanded":p,"aria-controls":u,...i,ref:l,onPointerEnter:(0,b.composeEventHandlers)(e.onPointerEnter,()=>{f.current=!1,s.wasEscapeCloseRef.current=!1}),onPointerMove:(0,b.composeEventHandlers)(e.onPointerMove,eO(()=>{r||f.current||s.wasEscapeCloseRef.current||d.current||(a.onTriggerEnter(s.value),d.current=!0)})),onPointerLeave:(0,b.composeEventHandlers)(e.onPointerLeave,eO(()=>{r||(a.onTriggerLeave(),d.current=!1)})),onClick:(0,b.composeEventHandlers)(e.onClick,()=>{a.onItemSelect(s.value),f.current=p}),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===a.dir?"ArrowLeft":"ArrowRight"}[a.orientation];p&&e.key===t&&(s.onEntryKeyDown(),e.preventDefault())})})})}),p&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(q.Root,{"aria-hidden":!0,tabIndex:0,ref:s.focusProxyRef,onFocus:e=>{let t=s.contentRef.current,n=e.relatedTarget,r=n===o.current,i=t?.contains(n);(r||!i)&&s.onFocusProxyEnter(r?"start":"end")}}),a.viewport&&(0,h.jsx)("span",{"aria-owns":u})]})]})});el.displayName=eo;var ec="navigationMenu.linkSelect",eu=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:i,...a}=e;return(0,h.jsx)(eC,{asChild:!0,children:(0,h.jsx)(A.Primitive.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...a,ref:t,onClick:(0,b.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(ec,{bubbles:!0,cancelable:!0});if(t.addEventListener(ec,e=>i?.(e),{once:!0}),(0,A.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eg,{bubbles:!0,cancelable:!0});(0,A.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});eu.displayName="NavigationMenuLink";var ed="NavigationMenuIndicator";m.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=$(ed,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?x.default.createPortal((0,h.jsx)(k.Presence,{present:n||a,children:(0,h.jsx)(eh,{...r,ref:t})}),i.indicatorTrack):null}).displayName=ed;var eh=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=$(ed,n),a=W(n),[s,o]=m.useState(null),[l,c]=m.useState(null),u="horizontal"===i.orientation,d=!!i.value;m.useEffect(()=>{let e=a(),t=e.find(e=>e.value===i.value)?.ref.current;t&&o(t)},[a,i.value]);let f=()=>{s&&c({size:u?s.offsetWidth:s.offsetHeight,offset:u?s.offsetLeft:s.offsetTop})};return ek(s,f),ek(i.indicatorTrack,f),l?(0,h.jsx)(A.Primitive.div,{"aria-hidden":!0,"data-state":d?"visible":"hidden","data-orientation":i.orientation,...r,ref:t,style:{position:"absolute",...u?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...r.style}}):null}),ef="NavigationMenuContent",ep=m.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=$(ef,e.__scopeNavigationMenu),a=ea(ef,e.__scopeNavigationMenu),s=(0,j.useComposedRefs)(a.contentRef,t),o=a.value===i.value,l={value:a.value,triggerRef:a.triggerRef,focu
1sProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return i.viewport?(0,h.jsx)(em,{forceMount:n,...l,ref:s}):(0,h.jsx)(k.Presence,{present:n||o,children:(0,h.jsx)(ev,{"data-state":eS(o),...l,ref:s,onPointerEnter:(0,b.composeEventHandlers)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,b.composeEventHandlers)(e.onPointerLeave,eO(i.onContentLeave)),style:{pointerEvents:!o&&i.isRootMenu?"none":void 0,...l.style}})})});ep.displayName=ef;var em=m.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=$(ef,e.__scopeNavigationMenu);return(0,F.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,F.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),eg="navigationMenu.rootContentDismiss",ev=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:s,onRootContentClose:o,onContentFocusOutside:l,...c}=e,u=$(ef,n),d=m.useRef(null),f=(0,j.useComposedRefs)(d,t),p=eN(u.baseId,r),g=eR(u.baseId,r),v=W(n),y=m.useRef(null),{onItemDismiss:x}=u;m.useEffect(()=>{let e=d.current;if(u.isRootMenu&&e){let t=()=>{x(),o(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(eg,t),()=>e.removeEventListener(eg,t)}},[u.isRootMenu,e.value,i,x,o]);let w=m.useMemo(()=>{let e=v().map(e=>e.value);"rtl"===u.dir&&e.reverse();let t=e.indexOf(u.value),n=e.indexOf(u.previousValue),i=r===u.value,a=n===e.indexOf(r);if(!i&&!a)return y.current;let s=(()=>{if(t!==n){if(i&&-1!==n)return t>n?"from-end":"from-start";if(a&&-1!==t)return t>n?"to-start":"to-end"}return null})();return y.current=s,s},[u.previousValue,u.value,u.dir,v,r]);return(0,h.jsx)(eb,{asChild:!0,children:(0,h.jsx)(D.DismissableLayer,{id:g,"aria-labelledby":p,"data-motion":w,"data-orientation":u.orientation,...c,ref:f,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eg,{bubbles:!0,cancelable:!0});d.current?.dispatchEvent(e)},onFocusOutside:(0,b.composeEventHandlers)(e.onFocusOutside,e=>{l();let t=e.target;u.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,b.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=v().some(e=>e.ref.current?.contains(t)),r=u.isRootMenu&&u.viewport?.contains(t);(n||r||!u.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=ej(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eE(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():a.current?.focus()}}),onEscapeKeyDown:(0,b.composeEventHandlers)(e.onEscapeKeyDown,e=>{s.current=!0})})})}),ey="NavigationMenuViewport",ex=m.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=!!$(ey,e.__scopeNavigationMenu).value;return(0,h.jsx)(k.Presence,{present:n||i,children:(0,h.jsx)(ew,{...r,ref:t})})});ex.displayName=ey;var ew=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,children:r,...i}=e,a=$(ey,n),s=(0,j.useComposedRefs)(t,a.onViewportChange),o=X(ef,e.__scopeNavigationMenu),[l,c]=m.useState(null),[u,d]=m.useState(null),f=l?l?.width+"px":void 0,p=l?l?.height+"px":void 0,g=!!a.value,v=g?a.value:a.previousValue;return ek(u,()=>{u&&c({width:u.offsetWidth,height:u.offsetHeight})}),(0,h.jsx)(A.Primitive.div,{"data-state":eS(g),"data-orientation":a.orientation,...i,ref:s,style:{pointerEvents:!g&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:(0,b.composeEventHandlers)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,b.composeEventHandlers)(e.onPointerLeave,eO(a.onContentLeave)),children:Array.from(o.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=v===e;return(0,h.jsx)(k.Presence,{present:n||i,children:(0,h.jsx)(ev,{...r,ref:(0,j.composeRefs)(t,e=>{i&&e&&d(e)})})},e)})})}),eb=m.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=$("FocusGroup",n);return(0,h.jsx)(H.Provider,{scope:n,children:(0,h.jsx)(H.Slot,{scope:n,children:(0,h.jsx)(A.Primitive.div,{dir:i.dir,...r,ref:t})})})}),eA=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eC=m.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,...r}=e,i=B(n),a=$("FocusGroupItem",n);return(0,h.jsx)(H.ItemSlot,{scope:n,children:(0,h.jsx)(A.Primitive.button,{...r,ref:t,onKeyDown:(0,b.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...eA].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eA.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eE(t)),e.preventDefault()}})})})});function ej(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eE(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ek(e,t){let n=(0,L.useCallbackRef)(t);(0,F.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function eS(e){return e?"open":"closed"}function eN(e,t){return`${e}-trigger-${t}`}function eR(e,t){return`${e}-content-${t}`}function eO(e){return t=>"mouse"===t.pointerType?e(t):void 0}var eP=e.i(25913),eT=e.i(26495),eT=eT,eM=e.i(47163);function eI({className:e,children:t,viewport:n=!0,...r}){return(0,h.jsxs)(Z,{"data-slot":"navigation-menu","data-viewport":n,className:(0,eM.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",e),...r,children:[t,n&&(0,h.jsx)(e_,{})]})}function eD({className:e,...t}){return(0,h.jsx)(en,{"data-slot":"navigation-menu-list",className:(0,eM.cn)("group flex flex-1 list-none items-center justify-center gap-1",e),...t})}function eF({className:e,...t}){return(0,h.jsx)(es,{"data-slot":"navigation-menu-item",className:(0,eM.cn)("relative",e),...t})}let eL=(0,eP.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-base font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function eq({className:e,children:t,...n}){return(0,h.jsxs)(el,{"data-slot":"navigation-menu-trigger",className:(0,eM.cn)(eL(),"group",e),...n,children:[t," ",(0,h.jsx)(eT.default,{className:"relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}function ez({className:e,...t}){return(0,h.jsx)(ep,{"data-slot":"navigation-menu-content",className:(0,eM.cn)("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto","group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",e),...t})}function e_({className:e,...t}){return(0,h.jsx)("div",{className:(0,eM.cn)("absolute top-full left-0 isolate z-50 flex justify-center"),children:(0,h.jsx)(ex,{"data-slot":"navigation-menu-viewport",className:(0,eM.cn)("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-2xl border border-gray-300 shadow md:w-[var(--radix-navigation-menu-viewport-width)]",e),...t})})}function eW({className:e,...t}){return(0,h.jsx)(eu,{"data-slot":"navigation-menu-link",className:(0,eM.cn)("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",e),...t})}var eK=e.i(67881),eH="focusScope.autoFocusOnMount",eB="focusScope.autoFocusOnUnmount",eQ={bubbles:!1,cancelable:!0},eG=m.forwardRef((e,t)=>
1{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[o,l]=m.useState(null),c=(0,L.useCallbackRef)(i),u=(0,L.useCallbackRef)(a),d=m.useRef(null),f=(0,j.useComposedRefs)(t,e=>l(e)),p=m.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.useEffect(()=>{if(r){let e=function(e){if(p.paused||!o)return;let t=e.target;o.contains(t)?d.current=t:e$(d.current,{select:!0})},t=function(e){if(p.paused||!o)return;let t=e.relatedTarget;null!==t&&(o.contains(t)||e$(d.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&e$(o)});return o&&n.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,o,p.paused]),m.useEffect(()=>{if(o){eY.add(p);let e=document.activeElement;if(!o.contains(e)){let t=new CustomEvent(eH,eQ);o.addEventListener(eH,c),o.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(e$(r,{select:t}),document.activeElement!==n)return}(eU(o).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&e$(o))}return()=>{o.removeEventListener(eH,c),setTimeout(()=>{let t=new CustomEvent(eB,eQ);o.addEventListener(eB,u),o.dispatchEvent(t),t.defaultPrevented||e$(e??document.body,{select:!0}),o.removeEventListener(eB,u),eY.remove(p)},0)}}},[o,c,u,p]);let g=m.useCallback(e=>{if(!n&&!r||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var a;let t,r=e.currentTarget,[s,o]=[eV(t=eU(a=r),a),eV(t.reverse(),a)];s&&o?e.shiftKey||i!==o?e.shiftKey&&i===s&&(e.preventDefault(),n&&e$(o,{select:!0})):(e.preventDefault(),n&&e$(s,{select:!0})):i===r&&e.preventDefault()}},[n,r,p.paused]);return(0,h.jsx)(A.Primitive.div,{tabIndex:-1,...s,ref:f,onKeyDown:g})});function eU(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eV(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function e$(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}eG.displayName="FocusScope";var eY=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=eX(r,e)).unshift(e)},remove(e){r=eX(r,e),r[0]?.resume()}});function eX(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var eZ=e.i(74606),eJ=0;function e0(){let 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 e1=function(){return(e1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function e2(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var e4=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),e5="width-before-scroll-bar";function e6(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var e3="u">typeof window?m.useLayoutEffect:m.useEffect,e8=new WeakMap,e7=(void 0===a&&(a={}),(void 0===s&&(s=function(e){return e}),o=[],l=!1,c={read:function(){if(l)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=s(e,l);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(l=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){l=!0;var t=[];if(o.length){var n=o;
1o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=e1({async:!0,ssr:!1},a),c),e9=function(){},te=m.forwardRef(function(e,t){var n,r,i,a,s=m.useRef(null),o=m.useState({onScrollCapture:e9,onWheelCapture:e9,onTouchMoveCapture:e9}),l=o[0],c=o[1],u=e.forwardProps,d=e.children,h=e.className,f=e.removeScrollBar,p=e.enabled,g=e.shards,v=e.sideCar,y=e.noRelative,x=e.noIsolation,w=e.inert,b=e.allowPinchZoom,A=e.as,C=e.gapMode,j=e2(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(n=[s,t],r=function(e){return n.forEach(function(t){return e6(t,e)})},(i=(0,m.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,a=i.facade,e3(function(){var e=e8.get(a);if(e){var t=new Set(e),r=new Set(n),i=a.current;t.forEach(function(e){r.has(e)||e6(e,null)}),r.forEach(function(e){t.has(e)||e6(e,i)})}e8.set(a,n)},[n]),a),k=e1(e1({},j),l);return m.createElement(m.Fragment,null,p&&m.createElement(v,{sideCar:e7,removeScrollBar:f,shards:g,noRelative:y,noIsolation:x,inert:w,setCallbacks:c,allowPinchZoom:!!b,lockRef:s,gapMode:C}),u?m.cloneElement(m.Children.only(d),e1(e1({},k),{ref:E})):m.createElement(void 0===A?"div":A,e1({},k,{className:h,ref:E}),d))});te.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},te.classNames={fullWidth:e5,zeroRight:e4};var tt=function(e){var t=e.sideCar,n=e2(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return m.createElement(r,e1({},n))};tt.isSideCarExport=!0;var tn=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,i;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tr=function(){var e=tn();return function(t,n){m.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ti=function(){var e=tr();return function(t){return e(t.styles,t.dynamic),null}},ta={left:0,top:0,right:0,gap:0},ts=function(e){return parseInt(e||"",10)||0},to=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[ts(n),ts(r),ts(i)]},tl=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return ta;var t=to(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tc=ti(),tu="data-scroll-locked",td=function(e,t,n,r){var i=e.left,a=e.top,s=e.right,o=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(o,"px ").concat(r,";\n  }\n  body[").concat(tu,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(o,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(o,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(e4," {\n    right: ").concat(o,"px ").concat(r,";\n  }\n  \n  .").concat(e5," {\n    margin-right: ").concat(o,"px ").concat(r,";\n  }\n  \n  .").concat(e4," .").concat(e4," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(e5," .").concat(e5," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(tu,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(o,"px;\n  }\n")},th=function(){var e=parseInt(document.body.getAttribute(tu)||"0",10);return isFinite(e)?e:0},tf=function(){m.useEffect(function(){return document.body.setAttribute(tu,(th()+1).toString()),function(){var e=th()-1;e<=0?document.body.removeAttribute(tu):document.body.setAttribute(tu,e.toString())}},[])},tp=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;tf();var a=m.useMemo(function(){return tl(i)},[i]);return m.createElement(tc,{styles:td(a,!t,i,n?"":"!important")})},tm=!1;if("u">typeof window)try{var tg=Object.defineProperty({},"passive",{get:function(){return tm=!0,!0}});window.addEventListener("test",tg,tg),window.removeEventListener("test",tg,tg)}catch(e){tm=!1}var tv=!!tm&&{passive:!1},ty=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},tx=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tw(e,r)){var i=tb(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},tw=function(e,t){return"v"===e?ty(t,"overflowY"):ty(t,"overflowX")},tb=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tA=function(e,t,n,r,i){var a,s=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),o=s*r,l=n.target,c=t.contains(l),u=!1,d=o>0,h=0,f=0;do{if(!l)break;var p=tb(e,l),m=p[0],g=p[1]-p[2]-s*m;(m||g)&&tw(e,l)&&(h+=g,f+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&l!==document.body||c&&(t.contains(l)||t===l))return d&&(i&&1>Math.abs(h)||!i&&o>h)?u=!0:!d&&(i&&1>Math.abs(f)||!i&&-o>f)&&(u=!0),u},tC=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tj=function(e){return[e.deltaX,e.deltaY]},tE=function(e){return e&&"current"in e?e.current:e},tk=0,tS=[];let tN=(u=function(e){var t=m.useRef([]),n=m.useRef([0,0]),r=m.useRef(),i=m.useState(tk++)[0],a=m.useState(ti)[0],s=m.useRef(e);m.useEffect(function(){s.current=e},[e]),m.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(tE),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var o=m.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,a=tC(e),o=n.current,l="deltaX"in e?e.deltaX:o[0]-a[0],c="deltaY"in e?e.deltaY:o[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var p=tx(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=tx(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return tA(m,t,e,"h"===m?l:c,!0)},[]),l=m.useCallback(function(e){if(tS.length&&tS[tS.length-1]===a){var n="deltaY"in e?tj(e):tC(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(s.current.shards||[]).map(tE).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?o(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=m.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=m.useCallback(function(e){n.current=tC(e),r.current=void 0},[]),d=m.useCallback(function(t){c(t.type,tj(t),t.target,o(t,e.lockRef.current))},[]),h=m.useCallback(function(t){c(t.type,tC(t),t.target,o(t,e.lockRef.current))},[]);m.useEffect(function(){return tS.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,tv),document.addEventListener("touchmove",l,tv),document.addEventListener("touchstart",u,tv),function(){tS=tS.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,tv),document.removeEventListener("touchmove",l,tv),document.removeEventListener("touchstart",u,tv)}},[]);var f=e.removeScrollBar,p=e.inert;return m.createElement(m.Fragment,null,p?m.createElement(a,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,f?m.createElement(tp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},e7.useMedium(u),tt);var tR=m.forwardRef(function(e,t){return m.createElement(te,e1({},e,{ref:t,sideCar:tN}))});tR.classNames=te.classNames;var tO=new WeakMap,tP=new WeakMap,tT={},tM=0,tI=function(e){return e&&(e.host||tI(e.parentNode))},tD=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tI(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tT[n]||(tT[n]=new WeakMap);var a=tT[n],s=[],o=new Set,l=new Set(i),c=function(e){!e||o.has(e)||(o.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(o.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(tO.get(e)||0)+1,c=(a.get(e)||0)+1;tO.set(e,l),a.set(e,c),s.push(e),1===l&&i&&tP.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),o.clear(),tM++,function(){s.forEach(function(e){var t=tO.get(e)-1,i=a.get(e)-1;tO.set(e,t),a.set(e,i),t||(tP.has(e)||e.removeAttribute(r),tP.delete(e)),i||e.removeAttribute(n)}),--tM||(tO=new WeakMap,tO=new WeakMap,tP=new WeakMap,tT={})}},tF=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),tD(r,i,n,"aria-hidden")):function(){return null}},tL=Symbol("radix.slottable");function tq(e){return m.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===tL}var tz="Dialog",[t_,tW]=(0,w.createContextScope)(tz),[tK,tH]=t_(tz),tB=e
1=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,o=m.useRef(null),l=m.useRef(null),[c,u]=(0,C.useControllableState)({prop:r,defaultProp:i??!1,onChange:a,caller:tz});return(0,h.jsx)(tK,{scope:t,triggerRef:o,contentRef:l,contentId:(0,S.useId)(),titleId:(0,S.useId)(),descriptionId:(0,S.useId)(),open:c,onOpenChange:u,onOpenToggle:m.useCallback(()=>u(e=>!e),[u]),modal:s,children:n})};tB.displayName=tz;var tQ="DialogTrigger",tG=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=tH(tQ,n),a=(0,j.useComposedRefs)(t,i.triggerRef);return(0,h.jsx)(A.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ne(i.open),...r,ref:a,onClick:(0,b.composeEventHandlers)(e.onClick,i.onOpenToggle)})});tG.displayName=tQ;var tU="DialogPortal",[tV,t$]=t_(tU,{forceMount:void 0}),tY=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=tH(tU,t);return(0,h.jsx)(tV,{scope:t,forceMount:n,children:m.Children.map(r,e=>(0,h.jsx)(k.Presence,{present:n||a.open,children:(0,h.jsx)(eZ.Portal,{asChild:!0,container:i,children:e})}))})};tY.displayName=tU;var tX="DialogOverlay",tZ=m.forwardRef((e,t)=>{let n=t$(tX,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=tH(tX,e.__scopeDialog);return a.modal?(0,h.jsx)(k.Presence,{present:r||a.open,children:(0,h.jsx)(t0,{...i,ref:t})}):null});tZ.displayName=tX;var tJ=((i=m.forwardRef((e,t)=>{let{children:n,...r}=e;if(m.isValidElement(n)){var i;let e,a,s=(i=n,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),o=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==m.Fragment&&(o.ref=t?(0,j.composeRefs)(t,s):s),m.cloneElement(n,o)}return m.Children.count(n)>1?m.Children.only(null):null})).displayName="DialogOverlay.RemoveScroll.SlotClone",t=i,(n=m.forwardRef((e,n)=>{let{children:r,...i}=e,a=m.Children.toArray(r),s=a.find(tq);if(s){let e=s.props.children,r=a.map(t=>t!==s?t:m.Children.count(e)>1?m.Children.only(null):m.isValidElement(e)?e.props.children:null);return(0,h.jsx)(t,{...i,ref:n,children:m.isValidElement(e)?m.cloneElement(e,void 0,r):null})}return(0,h.jsx)(t,{...i,ref:n,children:r})})).displayName="DialogOverlay.RemoveScroll.Slot",n),t0=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=tH(tX,n);return(0,h.jsx)(tR,{as:tJ,allowPinchZoom:!0,shards:[i.contentRef],children:(0,h.jsx)(A.Primitive.div,{"data-state":ne(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),t1="DialogContent",t2=m.forwardRef((e,t)=>{let n=t$(t1,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=tH(t1,e.__scopeDialog);return(0,h.jsx)(k.Presence,{present:r||a.open,children:a.modal?(0,h.jsx)(t4,{...i,ref:t}):(0,h.jsx)(t5,{...i,ref:t})})});t2.displayName=t1;var t4=m.forwardRef((e,t)=>{let n=tH(t1,e.__scopeDialog),r=m.useRef(null),i=(0,j.useComposedRefs)(t,n.contentRef,r);return m.useEffect(()=>{let e=r.current;if(e)return tF(e)},[]),(0,h.jsx)(t6,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,b.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,b.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,b.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),t5=m.forwardRef((e,t)=>{let n=tH(t1,e.__scopeDialog),r=m.useRef(!1),i=m.useRef(!1);return(0,h.jsx)(t6,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),t6=m.forwardRef((e,t)=>
1{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...s}=e,o=tH(t1,n),l=m.useRef(null),c=(0,j.useComposedRefs)(t,l);return m.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??e0()),document.body.insertAdjacentElement("beforeend",e[1]??e0()),eJ++,()=>{1===eJ&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),eJ--}},[]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eG,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,h.jsx)(D.DismissableLayer,{role:"dialog",id:o.contentId,"aria-describedby":o.descriptionId,"aria-labelledby":o.titleId,"data-state":ne(o.open),...s,ref:c,onDismiss:()=>o.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(ni,{titleId:o.titleId}),(0,h.jsx)(na,{contentRef:l,descriptionId:o.descriptionId})]})]})}),t3="DialogTitle";m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=tH(t3,n);return(0,h.jsx)(A.Primitive.h2,{id:i.titleId,...r,ref:t})}).displayName=t3;var t8="DialogDescription";m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=tH(t8,n);return(0,h.jsx)(A.Primitive.p,{id:i.descriptionId,...r,ref:t})}).displayName=t8;var t7="DialogClose",t9=m.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=tH(t7,n);return(0,h.jsx)(A.Primitive.button,{type:"button",...r,ref:t,onClick:(0,b.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function ne(e){return e?"open":"closed"}t9.displayName=t7;var nt="DialogTitleWarning",[nn,nr]=(0,w.createContext)(nt,{contentName:t1,titleName:t3,docsSlug:"dialog"}),ni=({titleId:e})=>{let t=nr(nt),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return m.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},na=({contentRef:e,descriptionId:t})=>{let n=nr("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return m.useEffect(()=>{let n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},ns=e.i(14387),ns=ns;function no({...e}){return(0,h.jsx)(tB,{"data-slot":"sheet",...e})}function nl({...e}){return(0,h.jsx)(tG,{"data-slot":"sheet-trigger",...e})}function nc({...e}){return(0,h.jsx)(tY,{"data-slot":"sheet-portal",...e})}function nu({className:e,...t}){return(0,h.jsx)(tZ,{"data-slot":"sheet-overlay",className:(0,eM.cn)("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),...t})}function nd({className:e,children:t,side:n="right",...r}){return(0,h.jsxs)(nc,{children:[(0,h.jsx)(nu,{}),(0,h.jsxs)(t2,{"data-slot":"sheet-content",className:(0,eM.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===n&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===n&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===n&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===n&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...r,children:[t,(0,h.jsxs)(t9,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary 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",children:[(0,h.jsx)(ns.default,{className:"size-4"}),(0,h.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}let nh=(0,e.i(56420).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var nf=e.i(16327),np=e.i(37010);function nm({title:e,children:t,href:n}){return(0,h.jsx)("li",{className:"hover:bg-purple-50 hover:rounded-2xl",children:(0,h.jsx)(eW,{asChild:!0,children:(0,h.jsxs)(p.default,{href:n,prefetch:!1,className:"block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors focus:bg-accent focus:text-accent-foreground",children:[(0,h.jsx)("div",{className:"text-[.975rem] font-medium leading-none text-black",children:e}),(0,h.jsx)("p",{className:"line-clamp-2 text-sm leading-snug text-muted-foreground text-gray-600",children:t})]})})})}let ng=()=>{let[e,t]=(0,m.useState)(!1),[n,r]=(0,m.useState)(!1),[i,a]=(0,m.useState)(!1),s=[{href:"/solutions",label:"Solutions"},{href:"/tools",label:"Tools"},{href:"/about",label:"About"},{href:"/blog",label:"Blog"},{href:"/pricing",label:"Pricing"},{href:"/credits-calculator",label:"Credit Estimator"}
5],o=[{href:"/seo-ai-tools",title:"SEO AI Tools",description:"Advanced AI tools for content creation, blog writing & SEO."},{href:"/ai-writing-tool",title:"AI Writing Tool",description:"Create blogs, SEO content, ads & marketing copy faster with AI."},{href:"/ai-blog-writer",title:"AI Blog Writer",description:"Generate SEO-friendly blog posts and articles in minutes."},{href:"/ai-seo-content-generator",title:"AI SEO Content Generator",description:"Create keyword-optimized content that ranks on Google."},{href:"/seo",title:"AI Search Engine Optimization",description:"Boost visibility with AI-powered SEO strategies."},{href:"/aeo",title:"Answer Engine Optimization",description:"Optimize for AI search engines and featured snippets."},{href:"/geo",title:"Generative Engine Optimization",description:"Rank your content locally and globally with AI."},{href:"/content-writing",title:"SEO Content Writing",description:"AI-powered content writing for higher rankings."},{href:"/keyword-driven-blog-writing",title:"Keyword Driven Blog Writing",description:"Create blogs based on exact keyword search intent."},{href:"/automated-on-page-seo-writing",title:"Automated On-Page SEO Writing",description:"Automate your on-page SEO with AI-driven content creation."},{href:"/seo-optimization-for-blogs",title:"SEO Optimization for Blogs",description:"Improve blog rankings with automated SEO optimization."},{href:"/ai-keyword-research",title:"AI Keyword Research",description:"Discover high-impact keywords with search intent analysis."},{href:"/content-structure-internal-linking",title:"Content Structure & Internal Linking",description:"Automate content structure and internal linking for SEO."},{href:"/seo-content-optimization-tool",title:"SEO Content Optimization Tool",description:"Optimize existing content for better search rankings with AI."}],l=[{href:"/tools/ai-content-detector",title:"AI Content Detector",description:"Detect AI-generated content instantly with high accuracy."},{href:"/tools/ai-humanize",title:"AI Humanizer",description:"Convert AI text into natural, human-like content."},{href:"/tools/youtube-video-summarizer",title:"YouTube Video Summarizer",description:"Summarize YouTube videos into key insights in seconds."},{href:"/tools/keyword-scraper-from-url",title:"Keyword Scraper From URL",description:"Extract high-value SEO keywords from any webpage instantly."},{href:"/tools/chatpdf-ai",title:"ChatPDF AI",description:"Chat with PDF documents to get answers and summaries instantly."},{href:"/tools/meta-tag-generator",title:"Meta Tag Generator",description:"Generate SEO-friendly meta titles and descriptions."},{href:"/aeo-website-ranker",title:"AEO Website Ranker",description:"The ultimate Answer Engine Optimization and AI visibility monitoring platform."},{href:"/competitor-analysis-tool",title:"Competitor Blog Analysis Tool",description:"Analyze competitor websites, track rankings, and discover keywords."}];(0,m.useEffect)(()=>{(async(e=3,t=1e3)=>{for(let n=0;n<e;n++)try{(await function(){let{namespace:e="",embedJsUrl:t}=(void 0)??{};return new Promise(function n(r){let i=v(t);i("init",e);let a=e?i.ns[e]:i;a?r(a):setTimeout(()=>{n(r)},50)})}())("ui",{theme:"light",styles:{branding:{brandColor:"#7c3aed"}},hideEventTypeDetails:!1,layout:"month_view"});return}catch{n<e-1&&await new Promise(e=>setTimeout(e,t*(n+1)))}})()},[]);let c={initial:{scale:1,opacity:1},clicked:{scale:.95,opacity:.8,transition:{duration:.2,ease:"easeInOut"}}},u=(0,np.useIsDesktop)();return(0,h.jsx)("nav",{className:"fixed top-0 z-50 w-full transition-all duration-300 bg-transparent backdrop-blur-2xl",children:(0,h.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-2 sm:pt-0",children:(0,h.jsxs)("div",{className:"flex items-center justify-between h-16 lg:h-20",children:[(0,h.jsx)(p.default,{href:"/",prefetch:!1,onClick:()=>t(!1),children:(0,h.jsx)(f.default,{src:g,alt:"GenWrite logo",width:150,priority:!0,loading:"eager",style:{height:"auto"}})}),u?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"flex items-center space-x-4 xl:space-x-8",children:(0,h.jsx)(eI,{children:(0,h.jsxs)(eD,{className:"flex gap-2 xl:gap-4",children:[(0,h.jsxs)(eF,{children:[(0,h.jsx)(eq,{className:"text-gray-800 text-base font-medium focus:outline-none px-3 py-2 transition-colors",children:"Solutions"}),(0,h.jsx)(ez,{className:"bg-white shadow-lg border border-gray-100 p-4 text-gray-800",children:(0,h.jsx)("ul",{className:"grid gap-3 md:w-[400px] md:h-[400px]! lg:w-[500px] lg:h-[500px]! lg:grid-cols-2 overflow-y-auto",style:{scrollbarWidth:"none"},children:o.map(e=>(0,h.jsx)(nm,{href:e.href,title:e.title,children:e.description},e.href))})})]}),(0,h.jsxs)(eF,{children:[(0,h.jsx)(eq,{className:"text-gray-800 text-base font-medium focus:outline-none px-3 py-2 transition-colors",children:"Tools"}),(0,h.jsx)(ez,{className:"bg-white shadow-lg border border-gray-100 p-4 text-gray-800",children:(0,h.jsx)("ul",{className:"grid gap-3 md:w-[600px] lg:grid-cols-2 overflow-y-auto",style:{scrollbarWidth:"none"},children:l.map(e=>(0,h.jsx)(nm,{href:e.href,title:e.title,children:e.description},e.href))})})]}),s.slice(2).map(e=>(0,h.jsx)(eF,{children:(0,h.jsxs)(p.default,{href:e.href,prefetch:!1,onClick:e=>e.stopPropagation(),className:`
6    ${eL()}
7    relative text-gray-700 font-medium transition-all duration-300
8    px-3 py-2 rounded-md
9    group/nav
10  `,children:[e.label,(0,h.jsx)("span",{className:" absolute left-1/2 -bottom-0.5 h-[2px] w-0  bg-violet-500 transition-all duration-300  group-hover/nav:w-full group-hover/nav:left-0 "})]})},e.href))]})})}),(0,h.jsxs)("div",{className:"flex items-center space-x-3 xl:space-x-4",children:[(0,h.jsx)(eK.Button,{asChild:!0,className:"px-5 xl:px-6 py-2.5 bg-white text-slate-700 border border-slate-200 shadow-sm hover:bg-slate-50 transition-all text-sm xl:text-base rounded-xl font-semibold",children:(0,h.jsx)(p.default,{href:"https://app.genwrite.co/login",prefetch:!1,target:"_blank",onClick:e=>e.stopPropagation(),children:"Login"})}),(0,h.jsx)(eK.Button,{asChild:!0,className:"px-5 xl:px-7 py-2.5 bg-violet-600 text-white shadow-sm hover:bg-violet-700 transition-all text-sm xl:text-base rounded-xl font-semibold",children:(0,h.jsx)(p.default,{href:"https://app.genwrite.co/signup",prefetch:!1,target:"_blank",onClick:e=>
10e.stopPropagation(),children:"Start $1 Trial"})})]})]}):(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,h.jsx)(eK.Button,{asChild:!0,className:"px-4 sm:px-6 py-2.5 bg-violet-600 text-white shadow-sm hover:bg-violet-700 text-xs sm:text-sm font-semibold rounded-xl",children:(0,h.jsx)(p.default,{href:"https://app.genwrite.co/signup",prefetch:!1,target:"_blank",onClick:e=>e.stopPropagation(),children:"Start Trial"})}),(0,h.jsxs)(no,{open:e,onOpenChange:t,children:[(0,h.jsx)(nl,{asChild:!0,className:"bg-white/30 backdrop-blur-sm rounded-lg px-4 py-2 shadow-md",children:(0,h.jsx)(eK.Button,{variant:"ghost",size:"icon","aria-label":"Toggle menu",children:(0,h.jsx)(nh,{className:"h-6 w-6 text-gray-800"})})}),(0,h.jsx)(nd,{side:"right",className:"w-[320px] sm:w-[380px] bg-linear-to-b from-white via-white to-purple-50/50 backdrop-blur-xl p-0 border-none shadow-2xl",children:(0,h.jsxs)(y.m.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.2},className:"flex flex-col h-full",children:[(0,h.jsxs)("div",{className:"px-6 pt-8 pb-4 border-b border-gray-100",children:[(0,h.jsx)(p.default,{href:"/",prefetch:!1,onClick:()=>t(!1),children:(0,h.jsx)(f.default,{src:g,alt:"GenWrite logo",width:160,priority:!0,loading:"eager",style:{height:"auto"}})}),(0,h.jsx)("p",{className:"text-gray-500 text-sm mt-2",children:"AI-Powered Content Platform"})]}),(0,h.jsx)("div",{className:"flex-1 px-4 py-6 overflow-y-auto",children:(0,h.jsx)("div",{className:"space-y-1",children:s.map((e,s)=>(0,h.jsx)(y.m.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{delay:.05*s,duration:.2},children:"Solutions"===e.label?(0,h.jsxs)("div",{children:[(0,h.jsxs)(y.m.button,{variants:c,initial:"initial",whileTap:"clicked",className:"flex items-center justify-between w-full text-gray-800 font-medium text-base py-3.5 px-4 rounded-xl hover:bg-purple-50 transition-colors",onClick:()=>r(!n),children:[(0,h.jsx)("span",{className:"flex items-center gap-3",children:"Solutions"}),(0,h.jsx)(nf.ChevronDown,{className:`h-4 w-4 text-gray-400 transition-transform duration-200 ${n?"rotate-180":""}`})]}),(0,h.jsx)(y.m.div,{initial:{height:0,opacity:0},animate:{height:n?"auto":0,opacity:+!!n},transition:{duration:.2,ease:"easeOut"},className:"overflow-hidden",children:(0,h.jsx)("div",{className:"ml-11 mt-1 space-y-1 border-l-2 border-purple-100 pl-4",children:o.map((e,r)=>(0,h.jsx)(y.m.div,{initial:{opacity:0,x:-10},animate:{opacity:+!!n,x:n?0:-10},transition:{delay:.05*r},children:(0,h.jsx)(p.default,{href:e.href,prefetch:!1,className:"block text-gray-600 text-sm py-2.5 px-3 rounded-lg hover:bg-purple-50 hover:text-purple-600 transition-all",onClick:()=>t(!1),children:e.title})},e.href))})})]}):"Tools"===e.label?(0,h.jsxs)("div",{children:[(0,h.jsxs)(y.m.button,{variants:c,initial:"initial",whileTap:"clicked",className:"flex items-center justify-between w-full text-gray-800 font-medium text-base py-3.5 px-4 rounded-xl hover:bg-purple-50 transition-colors",onClick:()=>a(!i),children:[(0,h.jsx)("span",{className:"flex items-center gap-3",children:"Tools"}),(0,h.jsx)(nf.ChevronDown,{className:`h-4 w-4 text-gray-400 transition-transform duration-200 ${i?"rotate-180":""}`})]}),(0,h.jsx)(y.m.div,{initial:{height:0,opacity:0},animate:{height:i?"auto":0,opacity:+!!i},transition:{duration:.2,ease:"easeOut"},className:"overflow-hidden",children:(0,h.jsx)("div",{className:"ml-11 mt-1 space-y-1 border-l-2 border-purple-100 pl-4",children:l.map((e,n)=>(0,h.jsx)(y.m.div,{initial:{opacity:0,x:-10},animate:{opacity:+!!i,x:i?0:-10},transition:{delay:.05*n},children:(0,h.jsx)(p.default,{href:e.href,prefetch:!1,className:"block text-gray-600 text-sm py-2.5 px-3 rounded-lg hover:bg-purple-50 hover:text-purple-600 transition-all",onClick:()=>t(!1),children:e.title})},e.href))})})]}):(0,h.jsx)(y.m.div,{variants:c,initial:"initial",whileTap:"clicked",children:(0,h.jsx)(p.default,{href:e.href,prefetch:!1,className:"flex items-center gap-3 text-slate-900 font-semibold text-base py-3.5 px-4 rounded-xl hover:bg-purple-50 transition-colors",onClick:()=>t(!1),children:e.label})})},e.href))})}),(0,h.jsxs)("div",{className:"px-6 py-8 border-t border-gray-100 bg-white/50 space-y-4",children:[(0,h.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,h.jsx)(eK.Button,{asChild:!0,variant:"outline",className:"border-purple-200 text-purple-700 hover:bg-purple-50 rounded-xl py-6",children:(0,h.jsx)(p.default,{href:"https://app.genwrite.co/login",prefetch:!1,onClick:()=>t(!1),children:"Login"})}),(0,h.jsx)(eK.Button,{asChild:!0,className:"bg-purple-600 text-white hover:bg-purple-700 rounded-xl py-6 font-semibold",children:(0,h.jsx)(p.default,{href:"https://app.genwrite.co/signup",prefetch:!1,onClick:()=>t(!1),children:"Get Started"})})]}),(0,h.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-4",children:[(0,h.jsx)(p.default,{href:"https://twitter.com/genwrite",prefetch:!1,target:"_blank",className:"w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-blue-500 hover:text-white transition-all",children:(0,h.jsx)("svg",{className:"w-4 h-4",fill:"
10currentColor",viewBox:"0 0 24 24",children:(0,h.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,h.jsx)(p.default,{href:"https://www.linkedin.com/in/genwrite",prefetch:!1,target:"_blank",className:"w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-blue-700 hover:text-white transition-all",children:(0,h.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,h.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}),(0,h.jsx)(p.default,{href:"https://www.instagram.com/genwrite_ai",prefetch:!1,target:"_blank",className:"w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-linear-to-br hover:from-purple-500 hover:via-pink-500 hover:to-orange-400 hover:text-white transition-all",children:(0,h.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,h.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}),(0,h.jsx)(p.default,{href:"https://youtube.com/@genwrite",prefetch:!1,target:"_blank",className:"w-10 h-10 rounded-full bg-gray-100 flex items-center justify-center text-gray-500 hover:bg-red-600 hover:text-white transition-all",children:(0,h.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,h.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]}),(0,h.jsx)("p",{className:"text-center text-xs text-gray-400 mt-4",children:"© 2025 GenWrite. All rights reserved."})]})]})})]})]})})]})})})};var nv=e.i(11152);let ny=()=>{let e=[{title:"Quick Links",links:[{name:"Blog",link:"/blog"},{name:"Pricing",link:"/pricing"},{name:"Signup",link:"https://app.genwrite.co/signup"},{name:"GenWrite App",link:"https://app.genwrite.co/"},{name:"Credit Estimator",link:"/credits-calculator"}]},{title:"Free Tools",links:[{name:"AI Content Detector",link:"/tools/ai-content-detector"},{name:"AI Humanizer",link:"/tools/ai-humanize"},{name:"YouTube Video Summarizer",link:"/tools/youtube-video-summarizer"},{name:"Keyword Scraper From URL",link:"/tools/keyword-scraper-from-url"},{name:"ChatPDF AI",link:"/tools/chatpdf-ai"},{name:"Meta Tag Generator",link:"/tools/meta-tag-generator"}]},{title:"Contact",email:"[email protected]"},{title:"Solutions",links:[{name:"AI Blog Writer",link:"/ai-blog-writer"},{name:"AI SEO Content Generator",link:"/ai-seo-content-generator"},{name:"AI Keyword Research",link:"/ai-keyword-research"},{name:"Keyword Driven Writing",link:"/keyword-driven-blog-writing"},{name:"SEO Optimization Tool",link:"/seo-content-optimization-tool"},{name:"Content Structure & Linking",link:"/content-structure-internal-linking"},{name:"SEO Content Writing",link:"/content-writing"},{name:"Automated On-Page SEO Writing",link:"/automated-on-page-seo-writing"},{name:"SEO Optimization for Blogs",link:"/seo-optimization-for-blogs"},{name:"AI Writing Tool",link:"/ai-writing-tool"},{name:"SEO AI Tools",link:"/seo-ai-tools"},{name:"AI Search Engine Optimization",link:"/seo"},{name:"Answer Engine Optimization",link:"/aeo"},{name:"Generative Engine Optimization",link:"/geo"}]}];return(0,h.jsxs)("footer",{className:"bg-[#f8f4ff] text-gray-800 pt-8 pb-6",children:[(0,h.jsx)("div",{className:"absolute top-0 left-0 w-full overflow-hidden leading-none rotate-180",style:{height:"40px"},children:(0,h.jsx)("svg",{className:"relative block w-full h-full",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",viewBox:"0 0 1200 120",children:(0,h.jsx)("path",{d:"M0 40 C 150 80 350 0 600 40 C 850 80 1050 0 1200 40 L1200 120 L0 120 Z",fill:"#fff"})})}),(0,h.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 md:px-8 relative z-10 mt-8",children:[(0,h.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-start",children:[(0,h.jsxs)("div",{className:"text-center lg:text-left lg:col-span-3 pb-8 lg:pb-0 border-b lg:border-none border-gray-200/60",children:[(0,h.jsx)("h2",{className:"text-xl md:text-2xl font-medium mb-2",children:"Get started with"}),(0,h.jsx)(f.default,{src:g,alt:"GenWrite Logo",title:"GenWrite Logo",width:150,loading:"lazy",style:{height:"auto"},className:"mx-auto lg:mx-0 w-32 md:w-48"}),(0,h.jsxs)("p",{className:"text-gray-600 text-xs md:text-sm mt-4 max-w-xs mx-auto lg:mx-0",children:[(0,h.jsx)("strong",{children:"GenWrite"})," is an AI-powered content automation platform built by"," ",(0,h.jsx)("strong",{children:"DigitalShift Pvt. Ltd."})]}),(0,h.jsx)("div",{className:"mt-4",children:(0,h.jsx)("a",{href:"mailto:[email protected]",className:"text-sm font-medium text-purple-600 hover:text-purple-700 hover:underline",children:"[email protected]"})})]}),(0,h.jsx)("div",{className:"lg:col-span-9",children:(0,h.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-x-6 gap-y-10",children:[(0,h.jsxs)("div",{className:"space-y-8 col-span-1",children:[(0,h.jsxs)("div",{children:[(0,h.jsx)("h3",{className:"font-bold text-gray-900 mb-4 text-sm uppercase tracking-wider",children:"Qu
10ick Links"}),(0,h.jsx)("ul",{className:"space-y-2",children:e[0]?.links?.map(e=>(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:e.link,prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors",children:e.name})},e.name))||null})]}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h3",{className:"font-bold text-gray-900 mb-4 text-sm uppercase tracking-wider",children:"Contact"}),(0,h.jsx)("a",{href:`mailto:${e[2]?.email}`,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors",children:e[2]?.email})]})]}),(0,h.jsxs)("div",{className:"col-span-1",children:[(0,h.jsx)("h3",{className:"font-bold text-gray-900 mb-4 text-sm uppercase tracking-wider",children:"Tools"}),(0,h.jsxs)("ul",{className:"space-y-2",children:[e[1]?.links?.map(e=>(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:e.link,prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors",children:e.name})},e.name))||null,(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:"/aeo-website-ranker",prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors",children:"AEO Website Ranker"})}),(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:"/competitor-analysis-tool",prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors",children:"Competitor Blog Analysis"})})]})]}),(0,h.jsxs)("div",{className:"col-span-1",children:[(0,h.jsx)("h3",{className:"font-bold text-gray-900 mb-4 text-sm uppercase tracking-wider",children:"AI SEO Solutions"}),(0,h.jsx)("ul",{className:"space-y-2",children:e[3]?.links?.slice(0,6).map(e=>(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:e.link,prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors block truncate",title:e.name,children:e.name})},e.name))||null})]}),(0,h.jsxs)("div",{className:"col-span-1",children:[(0,h.jsx)("h3",{className:"font-bold text-gray-900 mb-4 text-sm uppercase tracking-wider",children:"AI SEO Services"}),(0,h.jsx)("ul",{className:"space-y-2",children:e[3]?.links?.slice(6).map(e=>(0,h.jsx)("li",{children:(0,h.jsx)(p.default,{href:e.link,prefetch:!1,className:"text-xs md:text-sm text-gray-600 hover:text-purple-600 transition-colors block truncate",title:e.name,children:e.name})},e.name))||null})]})]})})]}),(0,h.jsx)("div",{className:"mt-6 border-t border-gray-300/40 pt-6",children:(0,h.jsxs)("div",{className:"flex flex-col-reverse lg:flex-row items-center justify-between gap-4 text-xs text-gray-600",children:[(0,h.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center lg:justify-start gap-1 sm:gap-2 text-center lg:text-left w-full lg:w-auto",children:[(0,h.jsx)("span",{children:"© 2025"}),(0,h.jsx)(p.default,{href:"https://genwrite.co",prefetch:!1,target:"_blank",className:"font-medium text-gray-800 hover:text-purple-600 transition-colors",children:"GenWrite.co"}),(0,h.jsx)("span",{className:"hidden sm:inline text-gray-400",children:"•"}),(0,h.jsxs)("span",{className:"text-gray-600",children:["Powered by"," ",(0,h.jsx)(p.default,{href:"https://digitalshift.co.in/",prefetch:!1,target:"_blank",className:"font-medium text-gray-700 hover:text-purple-600 transition-colors",children:"DigitalShift Pvt. Ltd."})]})]}),(0,h.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-4 sm:gap-6 w-full lg:w-auto justify-center lg:justify-end",children:[(0,h.jsxs)("div",{className:"flex items-center gap-4 text-xs sm:text-sm",children:[(0,h.jsx)(p.default,{href:"/terms-conditions",prefetch:!1,className:"text-gray-600 hover:text-purple-600 transition-colors",children:"Terms & Conditions"}),(0,h.jsx)("span",{className:"text-gray-300",children:"|"}),(0,h.jsx)(p.default,{href:"/privacy-policy",prefetch:!1,className:"text-gray-600 hover:text-purple-600 transition-colors",children:"Privacy Policy"})]}),(0,h.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,h.jsx)(p.default,{href:"https://twitter.com/genwrite",prefetch:!1,target:"_blank","aria-label":"Twitter",className:"w-8 h-8 rounded-full bg-white/80 shadow-sm flex items-center justify-center text-gray-600 hover:bg-blue-500 hover:text-white hover:shadow-md transition-all duration-300",children:(0,h.jsx)(nv.FaTwitter,{size:14})}),(0,h.jsx)(p.default,{href:"https://www.linkedin.com/in/genwrite",prefetch:!1,target:"_blank","aria-label":"LinkedIn",className:"w-8 h-8 rounded-full bg-white/80 shadow-sm flex items-center justify-center text-gray-600 hover:bg-blue-700 hover:text-white hover:shadow-md transition-all duration-300",children:(0,h.jsx)(nv.FaLinkedinIn,{size:14})}),(0,h.jsx)(p.default,{href:"https://www.instagram.com/genwrite_ai",prefetch:!1,target:"_blank","aria-label":"Instagram",className:"w-8 h-8 rounded-full bg-white/80 shadow-sm flex items-center justify-center text-gray-600 hover:bg-linear-to-br hover:from-purple-500 hover:via-pink-500 hover:to-orange-400 hover:text-white hover:shadow-md transition-all duration-300",children:(0,h.jsx)(nv.FaInstagram,{size:14})}),(0,h.jsx)(p.default,{href:"https://youtube.com/@genwrite?si=YalHshobLQNYNPs7",prefetch:!1,target:"_blank","aria-label":"YouTube",className:"w-8 h-8 rounded-full bg-white/80 shadow-sm flex items-center justify-center text-gray-600 hover:bg-red-600 hover:text-white hover:shadow-md transition-all duration-300",children:(0,h.jsx)(nv.FaYoutube,{size:14})})]})]})]})})]})]})};var nx=(e,t,n,r,i,a,s,o)=>
10{let l=document.documentElement,c=["light","dark"];function u(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&a?i.map(e=>a[e]||e):i;n?(l.classList.remove(...r),l.classList.add(a&&a[t]?a[t]:t)):l.setAttribute(e,t)}),n=t,o&&c.includes(n)&&(l.style.colorScheme=n)}if(r)u(r);else try{let e=localStorage.getItem(t)||n,r=s&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(r)}catch(e){}},nw=["light","dark"],nb="(prefers-color-scheme: dark)",nA="u"<typeof window,nC=m.createContext(void 0),nj=e=>m.useContext(nC)?m.createElement(m.Fragment,null,e.children):m.createElement(nk,{...e}),nE=["light","dark"],nk=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=nE,defaultTheme:s=n?"system":"light",attribute:o="data-theme",value:l,children:c,nonce:u,scriptProps:d})=>{let[h,f]=m.useState(()=>nN(i,s)),[p,g]=m.useState(()=>"system"===h?nO():h),v=l?Object.values(l):a,y=m.useCallback(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=nO());let a=l?l[i]:i,c=t?nR(u):null,d=document.documentElement,h=e=>{"class"===e?(d.classList.remove(...v),a&&d.classList.add(a)):e.startsWith("data-")&&(a?d.setAttribute(e,a):d.removeAttribute(e))};if(Array.isArray(o)?o.forEach(h):h(o),r){let e=nw.includes(s)?s:null,t=nw.includes(i)?i:e;d.style.colorScheme=t}null==c||c()},[u]),x=m.useCallback(e=>{let t="function"==typeof e?e(h):e;f(t);try{localStorage.setItem(i,t)}catch(e){}},[h]),w=m.useCallback(t=>{g(nO(t)),"system"===h&&n&&!e&&y("system")},[h,e]);m.useEffect(()=>{let e=window.matchMedia(nb);return e.addListener(w),w(e),()=>e.removeListener(w)},[w]),m.useEffect(()=>{let e=e=>{e.key===i&&(e.newValue?f(e.newValue):x(s))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[x]),m.useEffect(()=>{y(null!=e?e:h)},[e,h]);let b=m.useMemo(()=>({theme:h,setTheme:x,forcedTheme:e,resolvedTheme:"system"===h?p:h,themes:n?[...a,"system"]:a,systemTheme:n?p:void 0}),[h,x,e,p,n,a]);return m.createElement(nC.Provider,{value:b},m.createElement(nS,{forcedTheme:e,storageKey:i,attribute:o,enableSystem:n,enableColorScheme:r,defaultTheme:s,value:l,themes:a,nonce:u,scriptProps:d}),c)},nS=m.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:s,themes:o,nonce:l,scriptProps:c})=>{let u=JSON.stringify([n,t,a,e,o,s,r,i]).slice(1,-1);return m.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"u"<typeof window?l:"",dangerouslySetInnerHTML:{__html:`(${nx.toString()})(${u})`}})}),nN=(e,t)=>{let n;if(!nA){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},nR=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},nO=e=>(e||(e=window.matchMedia(nb)),e.matches?"dark":"light");function nP({children:e,...t}){return(0,h.jsx)(nj,{...t,children:e})}var nT=e.i(48070),nM=e.i(13565);function nI({children:e,features:t,strict:n=!1}){let[,r]=(0,m.useState)(!nD(t)),i=(0,m.useRef)(void 0);if(!nD(t)){let{renderer:e,...n}=t;i.current=e,(0,nM.loadFeatures)(n)}return(0,m.useEffect)(()=>{nD(t)&&t().then(({renderer:e,...t})=>{(0,nM.loadFeatures)(t),i.current=e,r(!0)})},[]),(0,h.jsx)(nT.LazyContext.Provider,{value:{renderer:i.current,strict:n},children:e})}function nD(e){return"function"==typeof e}var nF=e.i(23070),nL=e.i(8149);let nq={renderer:e.i(54505).createDomVisualElement,...nF.animations,...nL.gestureAnimations};e.s(["ConditionalLayout",0,function({children:e}){return(0,h.jsx)(nI,{features:nq,children:(0,h.jsxs)(nP,{attribute:"class",defaultTheme:"light",enableSystem:!1,forcedTheme:"light",children:[(0,h.jsx)(ng,{}),(0,h.jsx)("main",{className:"relative min-h-screen",children:e}),(0,h.jsx)(ny,{})]})})}],48516)},39992,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){return(0,t.useEffect)(()=>
10{if("localhost"!==window.location.hostname&&"127.0.0.1"!==window.location.hostname&&"[::1]"!==window.location.hostname&&"serviceWorker"in navigator)/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1?e():navigator.serviceWorker.register("/sw.js").catch(e=>{console.error(e)});async function e(){let e=await navigator.serviceWorker.getRegistrations();if(await Promise.all(e.map(e=>e.unregister())),"caches"in window){let e=await caches.keys();await Promise.all(e.map(e=>caches.delete(e)))}}},[]),null}])},41141,e=>{"use strict";var t=e.i(71645);let n="G-0BBLW98TFM";e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=["scroll","click","keydown","touchstart","mousemove"],t=()=>{!function(){if(window.__analyticsLoaded)return;window.__analyticsLoaded=!0;let e=window.dataLayer||[];window.dataLayer=e,e.push({"gtm.start":new Date().getTime(),event:"gtm.js"});let t=document.createElement("script");t.async=!0,t.src="https://www.googletagmanager.com/gtm.js?id=GTM-WWQM5TH3",document.head.appendChild(t);let r=document.createElement("script");function i(...e){window.dataLayer.push(e)}r.async=!0,r.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(r),i("js",new Date),i("config",n)}(),e.forEach(e=>window.removeEventListener(e,t))},r=setTimeout(t,5e3);return e.forEach(e=>window.addEventListener(e,t,{once:!0,passive:!0})),()=>{clearTimeout(r),e.forEach(e=>window.removeEventListener(e,t))}},[]),null}])},69965,e=>{"use strict";var t=e.i(71645);let n="gw-chunk-error-reload";function r(e){if(!e)return!1;let t=e?.name,n=e?.message??String(e);return"ChunkLoadError"===t||/loading chunk [\w.-]+ failed|failed to fetch dynamically imported module|error loading dynamically imported module/i.test(n)}function i(){try{if(sessionStorage.getItem(n))return;sessionStorage.setItem(n,"1")}catch{}window.location.reload()}e.s(["ChunkErrorHandler",0,function(){return(0,t.useEffect)(()=>{try{sessionStorage.removeItem(n)}catch{}let e=e=>{r(e.reason)&&i()},t=e=>{r(e.error)&&i()};return window.addEventListener("unhandledrejection",e),window.addEventListener("error",t),()=>{window.removeEventListener("unhandledrejection",e),window.removeEventListener("error",t)}},[]),null}])}]);

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.