1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,342115,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(247167);var r=e.i(473016),i=e.i(243880),a=e.i(802085),s=e.i(604908),o=e.i(227728);class l extends o.Removable{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||i.defaultLogger,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(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?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let n=(0,r.replaceData)(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(r.noop).catch(r.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,r.timeUntilStale)(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.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.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,i,a,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let l=(0,r.getAbortController)(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};c(u);let d=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(u)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),h={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:d};c(h),null==(n=this.options.behavior)||n.onFetch(h),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=h.fetchOptions)?void 0:i.meta))&&this.dispatch({type:"fetch",meta:null==(o=h.fetchOptions)?void 0:o.meta});let f=e=>{if((0,s.isCancelledError)(e)&&e.silent||this.dispatch({type:"error",error:e}),!(0,s.isCancelledError)(e)){var t,n,r,i;null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,s.createRetryer)({fn:h.fetchFn,abort:null==l?void 0:l.abort.bind(l),onSuccess:e=>{var t,n,r,i;void 0===e?f(Error(this.queryHash+" data is undefined")):(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1)},onError:f,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){let t=t=>{var n,r;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":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:(0,s.canFetch)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:D
1ate.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if((0,s.isCancelledError)(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),a.notifyManager.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}var u=e.i(665497);class c extends u.Subscribable{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var i;let a=t.queryKey,s=null!=(i=t.queryHash)?i:(0,r.hashQueryKeyByOptions)(a,t),o=this.get(s);return o||(o=new l({cache:this,logger:e.getLogger(),queryKey:a,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(o)),o}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){a.notifyManager.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[n]=(0,r.parseFilterArgs)(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find(e=>(0,r.matchQuery)(n,e))}findAll(e,t){let[n]=(0,r.parseFilterArgs)(e,t);return Object.keys(n).length>0?this.queries.filter(e=>(0,r.matchQuery)(n,e)):this.queries}notify(e){a.notifyManager.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){a.notifyManager.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){a.notifyManager.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}var d=e.i(760878),h=u;class f extends h.Subscribable{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){let r=new d.Mutation({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){a.notifyManager.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>(0,r.matchMutation)(e,t))}findAll(e){return this.mutations.filter(t=>(0,r.matchMutation)(e,t))}notify(e){a.notifyManager.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>
1e.state.isPaused);return a.notifyManager.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(r.noop)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var p=e.i(971293),m=e.i(731775);function g(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class y{constructor(e={}){this.queryCache=e.queryCache||new c,this.mutationCache=e.mutationCache||new f,this.logger=e.logger||i.defaultLogger,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=p.focusManager.subscribe(()=>{p.focusManager.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=m.onlineManager.subscribe(()=>{m.onlineManager.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[n]=(0,r.parseFilterArgs)(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){let i=(0,r.parseQueryArgs)(e,t,n),a=this.getQueryData(i.queryKey);return a?Promise.resolve(a):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.queryCache.find(e),a=null==i?void 0:i.state.data,s=(0,r.functionalUpdate)(t,a);if(void 0===s)return;let o=(0,r.parseQueryArgs)(e),l=this.defaultQueryOptions(o);return this.queryCache.build(this,l).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return a.notifyManager.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){let[n]=(0,r.parseFilterArgs)(e,t),i=this.queryCache;a.notifyManager.batch(()=>{i.findAll(n).forEach(e=>{i.remove(e)})})}resetQueries(e,t,n){let[i,s]=(0,r.parseFilterArgs)(e,t,n),o=this.queryCache,l={type:"active",...i};return a.notifyManager.batch(()=>(o.findAll(i).forEach(e=>{e.reset()}),this.refetchQueries(l,s)))}cancelQueries(e,t,n){let[i,s={}]=(0,r.parseFilterArgs)(e,t,n);return void 0===s.revert&&(s.revert=!0),Promise.all(a.notifyManager.batch(()=>this.queryCache.findAll(i).map(e=>e.cancel(s)))).then(r.noop).catch(r.noop)}invalidateQueries(e,t,n){let[i,s]=(0,r.parseFilterArgs)(e,t,n);return a.notifyManager.batch(()=>{var e,t;if(this.queryCache.findAll(i).forEach(e=>{e.invalidate()}),"none"===i.refetchType)return Promise.resolve();let n={...i,type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"};return this.refetchQueries(n,s)})}refetchQueries(e,t,n){let[i,s]=(0,r.parseFilterArgs)(e,t,n),o=Promise.all(a.notifyManager.batch(()=>this.queryCache.findAll(i).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...s,cancelRefetch:null==(t=null==s?void 0:s.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}})}))).then(r.noop);return null!=s&&s.throwOnError||(o=o.catch(r.noop)),o}fetchQuery(e,t,n){let i=(0,r.parseQueryArgs)(e,t,n),a=this.defaultQueryOptions(i);void 0===a.retry&&(a.retry=!1);let s=this.queryCache.build(this,a);return s.isStaleByTime(a.staleTime)?s.fetch(a):Promise.resolve(s.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(r.noop).catch(r.noop)}fetchInfiniteQuery(e,t,n){let i=(0,r.parseQueryArgs)(e,t,n);return i.behavior={onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,a,s,o,l;let u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,h=null==d?void 0:d.pageParam,f=(null==d?void 0:d.direction)==="forward",p=(null==d?void 0:d.direction)==="backward",m=(null==(a=e.state.data)?void 0:a.pages)||[],y=(null==(s=e.state.data)?void 0:s.pageParams)||[],v=y,b=!1,w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),_=(e,t,n,r)=>(v=r?[t,...v]:[...v,t],r?[n,...e]:[...e,n]),x=(t,n,r,i)=>{if(b)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);let a={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};return Object.defineProperty(a,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?b=!0:null==(n=e.signal)||n.addEventListener("abort",()=>{b=!0}),e.signal}}),Promise.resolve(w(a)).then(e=>_(t,r,e,i))};if(m.length)if(f){let t=void 0!==h,n=t?h:g(e.options,m);u=x(m,t,n)}else if(p){let t=void 0!==h,n=t?h:(o=e.options,l=m,null==o.getPreviousPageParam?void 0:o.getPreviousPageParam(l[0],l));u=x(m,t,n,!0)}else{v=[];let t=void 0===e.options.getNextPageParam;u=!c||!m[0]||c(m[0],0,m)?x([],t,y[0]):Promise.resolve(_([],y[0],m[0]));for(let n=1;n<m.length;n++)u=u.then(r=>{if(!c||!m[n]||c(m[n],n,m)){let i=t?y[n]:g(e.options,r);return x(r,t,i)}return Promise.resolve(_(r,y[n],m[n]))})}else u=x([]);return u.then(e=>({pages:e,pageParams:v}))}}},this.fetchQuery(i)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(r.noop).catch(r.noop)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let n=this.queryDefaults.find(t=>(0,r.hashQueryKey)(e)===(0,r.hashQueryKey)(t.queryKey));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>(0,r.partialMatchKey)(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let n=this.mutationDefaults.find(t=>(0,r.hashQueryKey)(e)===(0,r.hashQueryKey)(t.mutationKey));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>(0,r.partialMatchKey)(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,r.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}var v=e.i(807939),b=e.i(883313);e.s(["ReactQueryProvider",0,({children:e})=>
1{let[r]=(0,n.useState)(()=>new y({defaultOptions:{queries:{staleTime:3e5,cacheTime:6e5,refetchOnWindowFocus:!1,retry:1}}}));return(0,t.jsx)(v.QueryClientProvider,{client:r,children:(0,t.jsx)(b.SearchProvider,{children:e})})}],342115)},581063,e=>{"use strict";e.s(["default",0,()=>null])},412330,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(263488),i=e.i(531278),a=e.i(643531),s=e.i(27104);e.s(["default",0,function(){let[e,o]=(0,n.useState)(""),[l,u]=(0,n.useState)(""),[c,d]=(0,n.useState)("idle"),[h,f]=(0,n.useState)(""),p=(0,n.useRef)(!1),m=async t=>{if(t.preventDefault(),"loading"===c||p.current)return;let n=e.trim();if(!n||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)){d("error"),f("Please enter a valid email.");return}p.current=!0,d("loading"),f("");let r=!1,i="",a=new AbortController,h=setTimeout(()=>a.abort(),15e3);try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n,website:l,source:"newsletter_footer",session_id:(0,s.getOrCreateSessionId)(),first_touch:(0,s.getFirstTouch)()}),signal:a.signal}),t=await e.json().catch(()=>({ok:!1}));r=!!(e.ok&&t?.ok),i="string"==typeof t?.error?t.error:""}catch{r=!1}finally{clearTimeout(h),p.current=!1}r?(o(""),u(""),d("success"),f("You are on the list. Thank you.")):(d("error"),f(i||"Could not subscribe right now. Please try again."))};return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("h4",{className:"text-gray-900 font-semibold",children:"Stay in the loop"}),(0,t.jsx)("p",{className:"mt-2 text-gray-700 text-sm max-w-sm",children:"Get occasional updates on new pros, features, and offers. No spam."}),"success"===c?(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-2 text-teal-700 text-sm font-medium",children:[(0,t.jsx)(a.Check,{className:"h-4 w-4","aria-hidden":"true"}),(0,t.jsx)("span",{"aria-live":"polite",children:h})]}):(0,t.jsxs)("form",{onSubmit:m,className:"mt-4 flex flex-col sm:flex-row gap-3 max-w-sm",children:[(0,t.jsx)("input",{type:"text",name:"website",tabIndex:-1,"aria-hidden":"true",autoComplete:"off",value:l,onChange:e=>u(e.target.value),style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",opacity:0}}),(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)(r.Mail,{className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400","aria-hidden":"true"}),(0,t.jsx)("input",{type:"email",name:"email",required:!0,value:e,onChange:e=>o(e.target.value),placeholder:"[email protected]",autoComplete:"email","aria-label":"Email address",className:"w-full min-h-11 pl-9 pr-4 py-2.5 text-base sm:text-sm rounded-xl border border-gray-300 bg-white text-gray-900 focus:border-teal-500 focus:outline-none focus-visible:ring-2 focus-visible:ring-teal-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white"})]}),(0,t.jsxs)("button",{type:"submit",disabled:"loading"===c,className:"inline-flex min-h-11 items-center justify-center gap-2 px-5 py-2.5 text-sm font-semibold text-white rounded-xl bg-linear-to-br from-[#00A8EA] to-[#00BB8D] shadow-md transition-all hover:scale-105 disabled:opacity-60 disabled:hover:scale-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-teal-500 focus-visible:ring-offset-2 focus-visible:ring-offset-white",children:["loading"===c?(0,t.jsx)(i.Loader2,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}):null,(0,t.jsx)("span",{children:"loading"===c?"Joiningâ¦":"Subscribe"})]})]}),"error"===c&&h?(0,t.jsx)("p",{className:"mt-2 text-sm text-red-600","aria-live":"polite",children:h}):null]})}])},959263,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.s(["default",0,function({src:e,alt:r,width:i,height:a,style:s,className:o}){let[l,u]=(0,n.useState)(!1),c=(0,n.useRef)(null);return((0,n.useEffect)(()=>{let e=c.current;e&&e.complete&&0===e.naturalWidth&&u(!0)},[]),l)?(0,t.jsx)("span",{className:"inline-flex items-center rounded-md border px-2 py-1 text-[11px] font-medium leading-none",style:{borderColor:"#9ca3af",color:"#4b5563",minHeight:Math.min(a,36),background:"transparent"},"data-badge-fallback":"alt-text",children:r.replace(/\s+[-\u2013\u2014]\s+/g,": ")}):(0,t.jsx)("img",{ref:c,src:e,alt:r,width:i,height:a,style:s,className:o,onError:()=>u(!0)})}])},989579,e=>{"use strict";var t=e.i(271645),n=e.i(223669);e.s(["default",0,function({platform:e}){return(0,t.useEffect)(()=>{try{(0,n.initEcoErrorLogger)(e)}catch{}},[e]),null}])},804220,e=>{"use strict";var t=e.i(271645);let n="blossend_ss",r="eco_session_start_ts";function i(e,t){let n=Number(e);return Number.isFinite(n)&&n>=1e12&&n<=t}e.s(["default",0,function(){return(0,t.useEffect)(()=>{try{let t=Date.now(),a="";try{a=window.sessionStorage.getItem(r)||""}catch{}i(a,t)||(a=function(e){if("u"<typeof document)return"";try{let t=`${e}=`;for(let e of document.cookie.split("; "))if(e.startsWith(t))return decodeURIComponent(e.slice(t.length))}catch{}return""}(n)),i(a,t)||(a=String(t));try{window.sessionStorage.setItem(r,a)}catch{}var e=a;if("u">typeof document)try{document.cookie=`${n}=${encodeURIComponent(e)}; max-age=86400; path=/; samesite=lax`}catch{}}catch{}},[]),null}])},895914,e=>{"use strict";var t=e.i(271645),n=e.i(786922);e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=e=>{(0,n.maybeReloadOnChunkError)(e.error??e.message)},t=e=>{(0,n.maybeReloadOnChunkError)(e.reason)};return window.addEventListener("error",e),window.addEventListener("unhandledrejection",t),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",t)}},[]),null}])},400545,e=>{"use strict";var t=e.i(618566),n=e.i(271645);let r=new Set(["LCP","INP","CLS","FCP","TTFB"]);e.s(["default",0,function({platform:i}){let a=(0,t.usePathname)(),s=(0,n.useRef)([{path:a??"/",since:0}]),o=(0,n.useRef)(a??"/");return(0,n.useEffect)(()=>{let e=a??"/";if(o.current===e)return;let t=s.current;t.push({path:e,since:performance.now()}),t.length>50&&t.splice(0,t.length-50),o.current=e},[a]),(0,n.useEffect)(()=>{let t=!1,n=e=>{if("number"!=typeof e||!Number.isFinite(e))return s.current[0]?.path??o.current;let t=s.current;for(let n=t.length-1;n>=0;n--){let r=t[n];if(r&&e>=r.since)return r.path}return t[0]?.path??o.current},a=e=>{if(r.has(e.name))try{let t="CLS"===e.name?e.attribution.largestShiftTarget:null,r=""===t?"(detached-node)":t??null,a="INP"===e.name?n(e.attribution.interactionTime):"CLS"===e.name?n(e.attribution.largestShiftTime):s.current[0]?.path??o.current,l=JSON.stringify({platform:i,url:a,metric:e.name,value:e.value,rating:e.rating??null,nav_type:e.navigationType??null,...r?{largest_shift_target:r}:{}});"u">typeof navigator&&"function"==typeof navigator.sendBeacon&&navigator.sendBeacon("/api/wv",new Blob([l],{type:"application/json"}))||fetch("/api/wv",{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:l}).catch(()=>{})}catch{}};return e.A(716087).then(({onCLS:e,onLCP:n,onINP:r,onFCP:i,onTTFB:s})=>
1{t||(e(a),n(a),r(a),i(a),s(a))}).catch(()=>{}),()=>{t=!0}},[i]),null}])},681561,e=>{"use strict";var t=e.i(271645),n=e.i(538974);e.s(["default",0,function(){return(0,t.useEffect)(()=>{(0,n.captureUtmParams)()},[]),null}])},3073,e=>{"use strict";var t=e.i(271645);let n=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"];function r(e){return!("u"<typeof document)&&document.cookie.split("; ").some(t=>t.startsWith(`${e}=`))}function i(e,t){if("u">typeof document)try{document.cookie=`${e}=${encodeURIComponent(t)}; max-age=2592000; path=/; samesite=lax`}catch{}}e.s(["default",0,function(){return(0,t.useEffect)(()=>{try{let e=new URLSearchParams(window.location.search);for(let t of n){let n=e.get(t);if(!n||n.length>256)continue;let a=`blossend_${t}`;r(a)||i(a,n)}if(document.referrer&&!r("blossend_referrer")&&!function(e){try{let t=e=>e.toLowerCase().replace(/^www\./,"");return t(new URL(e).hostname)===t(window.location.hostname)}catch{return!1}}(document.referrer)&&i("blossend_referrer",document.referrer.slice(0,500)),!r("blossend_landing")){let e=String(window.location.pathname||"/").slice(0,256);e&&i("blossend_landing",e)}}catch{}},[]),null}])},328785,e=>{"use strict";var t=e.i(271645);let n={"chat.openai.com":"chatgpt","chatgpt.com":"chatgpt","perplexity.ai":"perplexity","copilot.microsoft.com":"copilot","gemini.google.com":"gemini","claude.ai":"claude","you.com":"you","poe.com":"poe","phind.com":"phind","duck.ai":"duckduckgo_ai","chat.mistral.ai":"mistral","chat.deepseek.com":"deepseek","meta.ai":"meta_ai","www.meta.ai":"meta_ai","kimi.com":"kimi","www.kimi.com":"kimi","kimi.ai":"kimi","grok.com":"grok"},r="blossend_ai_referral_fired",i={"chatgpt.com":"chatgpt","chat.openai.com":"chatgpt",perplexity:"perplexity","perplexity.ai":"perplexity","copilot.com":"copilot","copilot.microsoft.com":"copilot","gemini.google.com":"gemini","claude.ai":"claude","chat.deepseek.com":"deepseek","grok.com":"grok","meta.ai":"meta_ai","duck.ai":"duckduckgo_ai","chat.mistral.ai":"mistral","kimi.com":"kimi"},a=/\b[\w-]*(?:bot|spider|crawler)(?:\/|;|\))|headlesschrome|lighthouse|google-inspectiontool/i;e.s(["default",0,function({platform:e}){return(0,t.useEffect)(()=>{try{if(sessionStorage.getItem(r))return;let t=function(e,t,r,s){let o=function(e){let t;if(!e)return null;try{t=new URL(e).hostname.toLowerCase()}catch{return null}let r=t.replace(/^www\./,""),i=n[t]??n[r];return i?{engine:i,host:r}:null}(e);if(o)return{engine:o.engine,host:o.host,via:"referrer",utm:null};if(e)return null;try{if(s||a.test(r||""))return null;let e=(new URLSearchParams(t||"").get("utm_source")||"").trim().toLowerCase();if(!e||!Object.prototype.hasOwnProperty.call(i,e))return null;let n=i[e];if(!n)return null;return{engine:n,host:null,via:"utm",utm:e}}catch{return null}}(document.referrer,window.location.search,navigator.userAgent,!0===navigator.webdriver);if(!t)return;let s="sb_publishable_dZyQdn4YN61-u9_RPHbM2A_kyAnn055";sessionStorage.setItem(r,"1");let o=JSON.stringify({p_platform:e,p_event_name:"ai_referral_arrival",p_event_data:{engine:t.engine,referrer_host:t.host,via:t.via,utm_source:t.utm,landing_path:window.location.pathname,traffic_class:"human_ai_referral",timestamp:new Date().toISOString(),anon_id:function(){try{let e=document.cookie.match(RegExp("(?:^|; )blossend_anon_id=([^;]*)"));return e&&e[1]?decodeURIComponent(e[1]):void 0}catch{return}}()||null}});fetch("https://qwbnybdrzqfrjhdaheto.supabase.co/rest/v1/rpc/log_ecosystem_event",{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json",apikey:s,Authorization:`Bearer ${s}`},body:o}).catch(()=>{!function(e){try{let t=`{"rpc":"log_ecosystem_event","args":${e}}`;if(navigator.sendBeacon?.("/api/funnel/relay",new Blob([t],{type:"application/json"})))return;fetch("/api/funnel/relay",{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}).catch(()=>{})}catch{}}(o)})}catch{}},[e]),null}])},42418,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(919934);let a="[redacted-email]",s=/[A-Za-z0-9._+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,o=/(?:[A-Za-z0-9._+-]|%2[BbEeDd]|%5[Ff])+(?:@|%40|%2540)(?:[A-Za-z0-9-]|\.|%2[Ee])+\.[A-Za-z]{2,}/g;function l(e){if("string"!=typeof e)return"";if(0===e.length)return e;try{return(function e(t,n){let r=t.indexOf("#"),i=r>=0?t.slice(0,r):t,l=r>=0?t.slice(r):"",u=i.indexOf("?"),c=u>=0?i.slice(0,u):i,d=u>=0?i.slice(u+1):null,h=c.replace(o,a),f=null===d?null:d.split("&").map(t=>{if(!t)return t;let r=t.indexOf("=");if(r<0)return t;let i=t.slice(0,r),l=t.slice(r+1);if(!function(e){if("string"!=typeof e||0===e.length)return!1;o.lastIndex=0;
1let t=o.test(e);return o.lastIndex=0,t}(l))return t;let u=function(e){try{return decodeURIComponent(e)}catch{return null}}(l);if(null===u)return`${i}=${l.replace(o,a)}`;let c=u.includes("?")&&n<3?e(u,n+1):("string"!=typeof u||0===u.length?u:u.replace(s,a)).replace(o,a);return c===u?`${i}=${l.replace(o,a)}`:`${i}=${encodeURIComponent(c).split(encodeURIComponent(a)).join(a)}`}).join("&"),p=l?l.replace(o,a):"";return`${h}${null===f?"":`?${f}`}${p}`})(e,0).replace(o,a)}catch{return e.replace(o,a)}}let u=new Set(["/signup","/patient-signup","/doctor-signup"]),c=new Set(["/signin"]);function d(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),a=(0,n.useRef)("");return(0,n.useEffect)(()=>{if(!e)return;let n=t?.toString()??"",r=l(n?`${e}?${n}`:e);try{let t=u.has(e)?"signup_intent":c.has(e)?"signin_intent":null;if(t&&a.current!==e){a.current=e;let n=(0,i.getFingerprint)();!function(e){if("u">typeof navigator&&navigator.sendBeacon){let t=new Blob([e],{type:"application/json"});if(navigator.sendBeacon("/api/event",t))return}fetch("/api/event",{method:"POST",headers:{"Content-Type":"application/json"},body:e,keepalive:!0}).catch(()=>{})}(JSON.stringify({event_name:t,page:r,referrer:"u">typeof document?l(document.referrer):"",fp:n??void 0}))}else t||(a.current="")}catch{}try{let e=(0,i.getFingerprint)(),t=JSON.stringify({event_name:"page_view",page:r,referrer:"u">typeof document?l(document.referrer):"",fp:e??void 0});if("u">typeof navigator&&navigator.sendBeacon){let e=new Blob([t],{type:"application/json"});if(navigator.sendBeacon("/api/event",e))return}fetch("/api/event",{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}).catch(()=>{})}catch{}},[e,t]),null}e.s(["default",0,function(){return(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(d,{})})}],42418)},654449,e=>{"use strict";var t=e.i(271645),n=e.i(618566);let r=[10,25,50,75,90,100],i=[],a=null,s="",o="",l=!1,u=new Set,c=[],d=null,h="",f=null,p=!1,m=0,g=!1;function y(){if("u"<typeof navigator||"1"===navigator.doNotTrack||"1"===window.doNotTrack)return!0;try{if(window.localStorage&&"1"===window.localStorage.getItem("ux_opt_out"))return!0}catch{}return!1}function v(e){if(!e)return"";if(e.id)return`#${e.id}`.slice(0,100);let t=e.getAttribute?.("data-track");if(t)return`[data-track="${t}"]`.slice(0,150);let n=e.getAttribute?.("data-ai-cta");if(n)return`[data-ai-cta="${n}"]`.slice(0,150);let r=e.tagName?e.tagName.toLowerCase():"",i="string"==typeof e.className?"."+e.className.split(/\s+/).filter(Boolean).slice(0,2).join("."):"",a=e.parentElement?.tagName?.toLowerCase()||"";return`${a} ${r}${i}`.trim().slice(0,300)}function b(e){return e?(e.textContent||"").replace(/\s+/g," ").trim().slice(0,80):""}function w(){if(l||0===i.length||!s)return;let e=i.splice(0),t=JSON.stringify({session_id:s,page_path:o,events:e});try{if("u">typeof navigator&&navigator.sendBeacon){let e=new Blob([t],{type:"application/json"});if(navigator.sendBeacon("/api/ux/track",e))return}fetch("/api/ux/track",{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}).catch(()=>{})}catch{}}function _(e){if(!l&&s)try{i.push({...e,viewport_width:window.innerWidth,viewport_height:window.innerHeight}),i.length>=40&&w()}catch{}}function x(e){let t=e.target;if(!(t instanceof Element))return;let n=Date.now();if(function(){try{if(!window.getSelection)return!1;let e=window.getSelection();return!!e&&!e.isCollapsed&&e.toString().trim().length>0}catch{return!1}}()){c=[],d=null,h="";return}let r=v(t);if((t!==d||r!==h)&&(d=t,h=r,c=[]),(c=c.filter(e=>n-e<1500)).push(n),c.length>=3){_({event_type:"rage_click",element_selector:r,element_text:b(t)}),c=[],d=null,h="";return}!function(e){if(!e)return!1;let t=e.tagName;if(!t)return!1;if(["A","BUTTON","INPUT","TEXTAREA","SELECT","LABEL","SUMMARY","DETAILS"].includes(t)||null!==e.closest('a,button,input,textarea,select,label,summary,details,[role="button"],[role="link"],[role="dialog"],[role="menuitem"],[role="tab"],[role="checkbox"],[role="radio"],[role="switch"],[role="menu"],[role="listbox"],[role="option"],[role="treeitem"],[oncl
1ick],[data-interactive],[data-onclick]'))return!0;try{let t=e,n=0;for(;t&&n<4;){let e=window.getComputedStyle?window.getComputedStyle(t):null;if(e&&"pointer"===e.cursor)return!0;t=t.parentElement,n++}}catch{}return!1}(t)&&_({event_type:"dead_click",element_selector:v(t),element_text:b(t)})}function S(e){let t=e.target;t&&t.tagName&&["INPUT","TEXTAREA","SELECT"].includes(t.tagName)&&"password"!==t.type&&(p=!0,_({event_type:"form_field_focus",element_selector:f=v(t)}))}function C(e){let t=e.target;t&&t.tagName&&["INPUT","TEXTAREA","SELECT"].includes(t.tagName)&&"password"!==t.type&&_({event_type:"form_field_blur",element_selector:v(t)})}function k(){p=!1,f=null}function E(){let e;"u">typeof document&&(document.hidden?(_({event_type:"tab_hidden"}),N("hidden"),p&&f&&_({event_type:"form_abandon",element_selector:f}),w()):(_({event_type:"tab_visible"}),e=Date.now(),L.forEach(t=>{j.has(t)||j.set(t,e)})))}function A(e){_({event_type:"viewport_time",value_numeric:Math.round((Date.now()-m)/1e3),value_text:e})}let P="[data-funnel-cta], [data-funnel-impression], [data-section], section[id]",q=/^\/(membership|pricing|plans|checkout|upgrade|founding|seekerpro|premium|subscribe)(\/|$)/,O=null,T=null,j=new Map,L=new Set,M=new Map,F=new WeakSet;function R(e,t){let n=j.get(e);if(void 0===n)return;j.delete(e);let r=function(e){let t=e.getAttribute("data-funnel-cta");if(t)return`cta:${t}`;let n=e.getAttribute("data-funnel-impression");return n?`imp:${"true"===n?e.getAttribute("data-funnel-source")||e.getAttribute("data-funnel-placement")||"block":n}`:`sec:${e.getAttribute("data-section")||e.id||"unnamed"}`}(e);M.set(r,(M.get(r)||0)+Math.max(0,t-n))}function D(e){let t=O;t&&e.querySelectorAll(P).forEach(e=>{F.has(e)||(F.add(e),t.observe(e))})}function N(e){try{let t=Date.now();if(Array.from(j.keys()).forEach(e=>R(e,t)),0===M.size)return;let n=Array.from(M.entries()).sort((e,t)=>t[1]-e[1]).slice(0,40);for(let[t,r]of(M.clear(),n))_({event_type:"section_dwell",element_selector:t.slice(0,200),value_numeric:Math.round(r),value_text:e})}catch{}}function I(e){if((T&&(T.disconnect(),T=null),O&&(O.disconnect(),O=null),j.clear(),L.clear(),M.clear(),F=new WeakSet,!("u"<typeof IntersectionObserver))&&q.test(e))try{O=new IntersectionObserver(e=>{let t=Date.now();for(let n of e)n.isIntersecting?(L.add(n.target),"visible"!==document.visibilityState||j.has(n.target)||j.set(n.target,t)):(L.delete(n.target),R(n.target,t))},{threshold:.5}),D(document),"u">typeof MutationObserver&&document.body&&(T=new MutationObserver(e=>{for(let t of e)t.addedNodes.forEach(e=>{e instanceof Element&&(e.matches(P)&&!F.has(e)&&(F.add(e),O?.observe(e)),D(e))})})).observe(document.body,{childList:!0,subtree:!0})}catch{}}function B(){p&&f&&_({event_type:"form_abandon",element_selector:f}),N("pagehide"),A("exit:pagehide"),w()}function U(){_({event_type:"copy"})}function Q(){_({event_type:"paste"})}let $=!1;function H(){$||($=!0,requestAnimationFrame(()=>{$=!1,function(){try{let e=document.documentElement,t=e.scrollHeight-e.clientHeight;if(t<=0)return;let n=Math.max(0,Math.min(100,e.scrollTop/t*100));for(let e of r)n>=e&&!u.has(e)&&(u.add(e),_({event_type:"scroll_depth",value_numeric:e}))}catch{}}()}))}var K=e.i(27104);let W=!1;e.s(["default",0,function(){let e=(0,n.usePathname)();return(0,t.useEffect)(()=>{var t;if(y())return;let n=e||"/";W?l||((n||"/")!==o&&A("exit:spa_nav"),N("route_change"),w(),o=n||"/",u=new Set,f=null,p=!1,m=Date.now(),I(o)):(W=!0,t=function(){let e=(0,K.getOrCreateSessionId)();if(e)return e.slice(0,80);try{let e=window.sessionStorage?.getItem("ux_session_id");if(e)return e;let t=`anon-${Math.random().toString(36).slice(2,10)}-${Date.now().toString(36)}`;return window.sessionStorage?.setItem("ux_session_id",t),t}catch{return`anon-${Math.random().toString(36).slice(2,10)}`}}(),(l=y())||(s=t,o=n||"/",u=new Set,c=[],f=null,p=!1,m=Date.now(),g||(g=!0,window.addEventListener("scroll",H,{passive:!0}),document.addEventListener("click",x,!0),document.addEventListener("focusin",S),document.addEventListener("focusout",C),document.addEventListener("submit",k,!0),document.addEventListener("visibilitychange",E),window.addEventListener("pagehide",B),document.addEventListener("copy",U),document.addEventListener("paste",Q)),null===a&&(a=window.setInterval(w,5e3)),I(o)))},[e]),null}],654449)},185557,e=>{"use strict";var t=e.i(271645),n=e.i(27104);let r=[],i=new Set,a=[25,50,75,100];function s(e){try{let t=JSON.stringify(e);if(navigator.sendBeacon&&navigator.sendBeacon("/api/track/friction",new Blob([t],{type:"application/json"})))return;fetch("/api/track/friction",{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}
1).catch(()=>{})}catch{}}let o=new Set(["text","search","email","url","tel","password","number"]);e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=(0,n.getOrCreateSessionId)()||null,t=t=>{let n=t.target;if(!n||function(e){try{let t=e.closest("textarea, input, [contenteditable]");if(t instanceof HTMLTextAreaElement||t instanceof HTMLInputElement){if(t.disabled||t instanceof HTMLInputElement&&!o.has((t.type||"text").toLowerCase()))return!1;if(!t.readOnly)return!0;return null!==t.selectionStart&&t.selectionStart!==t.selectionEnd}if(t instanceof HTMLElement&&t.isContentEditable)return!0;let n=window.getSelection?window.getSelection():null;return!!n&&!n.isCollapsed&&n.toString().trim().length>0}catch{return!1}}(n))return;let i=function(e){if(!e||e===document.body)return"body";if(e.id)return`#${e.id}`;let t=e.getAttribute?.("data-track");if(t)return`[data-track="${t}"]`;let n=e.getAttribute?.("data-ai-cta");if(n)return`[data-ai-cta="${n}"]`;let r=e.tagName.toLowerCase(),i="string"==typeof e.className?e.className:"",a=i?i.split(/\s+/).filter(Boolean).slice(0,2).join("."):"";return a?`${r}.${a}`:r}(n),a=Date.now();for(r.push({target:i,ts:a});r.length>0&&a-r[0].ts>2e3;)r.shift();let l=r.filter(e=>e.target===i&&a-e.ts<=1500);l.length>=3&&(s({anon_id:e,friction_type:"rage_click",target_element:i,target_path:window.location.pathname,friction_value:{click_count:l.length,window_ms:1500}}),r.length=0)},l=null,u=()=>{l||(l=setTimeout(()=>{l=null,(()=>{let t=document.documentElement,n=t.scrollHeight-t.clientHeight;if(n<=0)return;let r=Math.max(0,Math.min(100,Math.round(t.scrollTop/n*100)));for(let t of a)r>=t&&!i.has(t)&&(i.add(t),s({anon_id:e,friction_type:"scroll_milestone",target_element:null,target_path:window.location.pathname,friction_value:{scroll_pct:t}}))})()},300))},c=()=>{"visible"===document.visibilityState&&i.clear()};return document.addEventListener("click",t,!0),window.addEventListener("scroll",u,{passive:!0}),document.addEventListener("visibilitychange",c),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("scroll",u),document.removeEventListener("visibilitychange",c),l&&clearTimeout(l)}},[]),null}])},170923,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(763028);e.s(["BillingAlertBanner",0,function(){let[e,i]=(0,n.useState)(!1),{hasPending:a,amount:s,reason:o}=(0,r.usePaymentIssue)(),l=a?{amount:s,reason:o}:null;return!l||e?null:(0,t.jsx)("div",{role:"alert",style:{width:"100%",padding:"0.75rem 1rem",backgroundColor:"#fef3c7",borderBottom:"2px solid #f59e0b",color:"#78350f"},children:(0,t.jsxs)("div",{style:{maxWidth:"72rem",margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"1rem",flexWrap:"wrap"},children:[(0,t.jsx)("div",{style:{fontSize:"0.875rem",fontWeight:600},children:"debt_lock"===l.reason?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"â "}),"Your account is paused. Add a card to restore full access and your premium benefits."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"â "}),"There is a problem with your payment",l.amount?` (${l.amount})`:"",". Update your payment method to keep your access."]})}),(0,t.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,t.jsx)("a",{href:"debt_lock"===l.reason?"/account/billing-recover":"/billing-membership/payment-methods",style:{padding:"0.5rem 1rem",borderRadius:"0.375rem",backgroundColor:"#dc2626",color:"#ffffff",fontWeight:700,fontSize:"0.875rem",minHeight:"44px",display:"inline-flex",alignItems:"center",textDecoration:"none"},children:"debt_lock"===l.reason?"Restore my access":"Update payment"}),(0,t.jsx)("button",{type:"button",onClick:()=>i(!0),"aria-label":"Dismiss payment notice",style:{padding:"0 0.5rem",border:"none",background:"transparent",color:"#92400e",fontSize:"1.25rem",cursor:"pointer",minHeight:"44px",minWidth:"44px"},children:"Ã"})]})]})})}])},196888,e=>{"use strict";e.i(843476);var t=e.i(271645),n=e.i(552999);e.s(["TrialCardNudgeBanner",0,function(){let[e,r]=(0,t.useState)(!1),[i,a]=(0,t.useState)(!1),{authUser:s,userLoaded:o}
1=(0,n.useSupabaseAuth)();return(0,t.useEffect)(()=>{},[o,s]),null}])},723978,e=>{"use strict";var t=e.i(271645),n=e.i(618566),r=e.i(552999),i=e.i(8014);let a=["/account-type","/auth/callback","/signout","/reset-password","/forgot-password"],s=["/dashboard","/my-profile","/seeker-profile","/provider-dashboard","/appointments","/professional-appointments","/add-appointment","/edit-appointment","/reschedule-appointment","/patient-messaging","/chat","/saved-pros","/profreviews","/add-my-pro","/admin"];e.s(["default",0,function(){let{user:e,authUser:o,authloading:l,isRegistering:u}=(0,r.useSupabaseAuth)(),c=(0,n.useRouter)(),d=(0,n.usePathname)();return(0,t.useEffect)(()=>{!(l||u||!o||o.is_anonymous||!e||e.role!==i.UserRoleType.Guest||a.some(e=>d?.startsWith(e)))&&d&&s.some(e=>d===e||d.startsWith(e+"/"))&&c.replace("/account-type")},[l,o,e,c,d,u]),null}])},627197,e=>{"use strict";var t=e.i(843476),n=e.i(3303),r=e.i(618566),i=e.i(271645);let a=/^\/(?:api\/)?checkout(?:[/-]|$)|^\/api\/express-subscribe(?:\/|$)/,s=/^\/checkout\/success(?:\/|$)/;e.s(["default",0,function(){let e=(0,r.usePathname)(),o=(0,i.useRef)(!0);return(0,i.useEffect)(()=>{if(o.current){o.current=!1;return}try{let e=window.fbq;"function"==typeof e&&e("track","PageView")}catch{}try{let e=window.rdt;"function"==typeof e&&e("track","PageVisit")}catch{}},[e]),(0,i.useEffect)(()=>{let e={plan:"",at:0},t=(t,n)=>{if(!(e.plan===t&&Date.now()-e.at<2e3)){e.plan=t,e.at=Date.now();let r=window.location.hostname;try{let e=window.fbq;"function"==typeof e&&e("track","InitiateCheckout",{content_name:t,content_category:r,...n?{content_ids:[n]}:{}})}catch{}try{let e=window.rdt;"function"==typeof e&&e("track","AddToCart",{itemCount:1,products:[{id:t,name:t,category:r}]})}catch{}}},n=e=>{let t=new URL(e,window.location.href);return t.origin!==window.location.origin||!a.test(t.pathname)||s.test(t.pathname)?null:{plan:t.searchParams.get("plan")||"unknown",source:t.searchParams.get("source")||""}},r=e=>{try{let r=e.target;if(!r||"function"!=typeof r.closest)return;let i=r.closest("a[href]");if(!i)return;let a=n(i.href);if(!a)return;t(a.plan||i.getAttribute("data-funnel-plan")||"unknown",a.source||i.getAttribute("data-funnel-source")||"")}catch{}};document.addEventListener("click",r,!0);let i=window.navigation,o=e=>{try{let r=e.destination?.url;if("string"!=typeof r)return;let i=n(r);i&&t(i.plan,i.source)}catch{}};i&&"function"==typeof i.addEventListener&&i.addEventListener("navigate",o);let l=window;l.__bfCheckoutIntent=(e,n)=>{try{t("string"==typeof e&&e?e:"unknown","string"==typeof n?n:"")}catch{}};let u=window,c=u.fetch,d=!1;return"function"!=typeof c||u.__bfAdPixelsFetchWrapped||(u.__bfAdPixelsFetchWrapped=!0,d=!0,u.fetch=function(e,r){try{let i="string"==typeof e?e:e instanceof URL?e.href:e.url,a=(r?.method||(e instanceof Request?e.method:"GET")||"GET").toUpperCase();if("POST"===a){let e=n(i);if(e){let n="unknown"!==e.plan?e.plan:"";if(!n&&"string"==typeof r?.body)try{let e=JSON.parse(r.body);"string"==typeof e.plan&&(n=e.plan)}catch{}let a=new URL(i,window.location.href).pathname;n||(n=a.includes("onetime")?"one_time":"unknown"),t(n,e.source||a.replace(/^\/api\//,""))}}}catch{}return c.call(this??window,e,r)}),()=>{document.removeEventListener("click",r,!0),i&&"function"==typeof i.removeEventListener&&i.removeEventListener("navigate",o),delete l.__bfCheckoutIntent,d&&(u.fetch=c,u.__bfAdPixelsFetchWrapped=!1)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{id:"meta-pixel-base",strategy:"afterInteractive",children:`
vendor: 393 bytes, lines 1-6
1!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? 2n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; 3n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; 4t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,'script', 5'https://connect.facebook.net/en_US/fbevents.js'); 6fbq('init','
61694414608479228
vendor: 28 bytes, lines 6-7
6'); 7fbq('track','PageView');
7`}),(0,t.jsx)(n.default,{id:"reddit-pixel-base",strategy:"afterInteractive",children:`!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments): 8p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement('script');t.src='https://www.redditstatic.com/ads/pixel.js'; 9t.async=!0;var s=d.getElementsByTagName('script')[0];s.parentNode.insertBefore(t,s)}}(window,document); 10rdt('init','a2_jcdt2j2dz54x'); 11rdt('track','PageVisit');`})]})}])},464743,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(511795),a=e.i(478881),s=e.i(8014);let o={enabled:null!==(0,a.trialSurfaceFor)(s.SubscriptionPlan.SeekerPro),site:"openmypro",getClient:function(){let e;try{e=(0,i.createBrowserClient)()}catch{return null}return{auth:e.auth,rpc:(t,n)=>e.schema("public").rpc(t,n)}},trialHref:"/api/checkout?plan=4&interval=month",foundingHref:"/api/checkout?plan=9&interval=month",membershipHref:"/membership",accent:"#0f766e",copy:{signupTitle:"Welcome to OpenMyPro. Your 14-day free trial is ready",signinTitle:"Welcome back. Unlock everything free for 14 days",body:"Finding the right pro is slow on the free plan; SeekerPro adds daily AI searches and instant messaging with pros so you get answers fast.",bullets:["10 Daily AI Searches","Instant messaging with pros","Browse every pro profile without upgrade prompts"],trialCta:"Start my 14-day free trial",foundingTitle:"Keep everything unlocked as a Founding member",foundingBody:"Your free trial is used. Founding keeps the same full access, with its monthly price locked in for life.",foundingCta:"Become a Founding member",seePlans:"See all plans",finePrint:"Cancel anytime. 30-day money-back guarantee.",close:"Close"},hidePaths:["/billing-membership","/payment"]},l='[data-funnel-cta^="trial_first_hero"], [data-primary-cta="true"]';function u(e){return"free"===e?"trial":"used_trial"===e?"founding":null}let c=["/membership","/pricing","/plans","/checkout","/upgrade","/success","/billing","/account/billing","/signin","/sign-in","/signup","/sign-up","/login","/register","/auth","/callback","/forgot-password","/reset-password","/verify","/api","/admin","/unsubscribe","/trial"],d=new Set(["es","en","pt","fr","de","it"]);function h(e,t=[]){let n=(function(e){let t=((e||"/").split("?")[0]??"").split("#")[0]||"/",n=/^\/([a-z]{2})(\/|$)/.exec(t),r=n?n[1]:void 0;if(void 0!==r&&d.has(r)){let e=t.slice(3);return""===e?"/":e}return t})(e).toLowerCase();for(let e of[...c,...t]){let t=e.toLowerCase();if(n===t||n.startsWith(t.endsWith("/")?t:t+"/"))return!0}return!1}function f(e,t,n){return`pato:${e}:${t}:${n}`}function p(e,t){return`pato:${e}:${t}:last`}function m(e){try{return window.localStorage.getItem(e)}catch{return null}}function g(e,t){try{window.localStorage.setItem(e,t)}catch{}}function y(e){let t=e.getBoundingClientRect();return t.width>0&&t.height>0&&t.bottom>0&&t.top<window.innerHeight}function v(){for(let e of Array.from(document.querySelectorAll('a[href*="/checkout"], a[href*="plan="]')))if(y(e)&&!function(e){if(e.closest('header, nav, [role="navigation"], footer, [data-post-auth-offer]'))return!0;let t=e;for(;t&&t!==document.body;){let e=window.getComputedStyle(t).position;if("fixed"===e||"sticky"===e)return!0;t=t.parentElement}return!1}(e))return!0;return!1}e.s(["default",0,function(){var e,i;let a,s,c,d,b,w,_=(0,r.usePathname)()||"/",[x,S]=(0,n.useState)(null),[C,k]=(0,n.useState)(!1),[E,A]=(0,n.use
11State)(!1),P=(0,n.useRef)(null),q=(0,n.useRef)(null),O=(0,n.useRef)(null),T=(0,n.useRef)(!1),j=(0,n.useRef)(_);j.current=_;let L=(0,n.useCallback)((e,t,n)=>{try{if(o.track)return void o.track(e,t);let r=o.getClient();if(!r||!n)return;Promise.resolve(r.rpc("log_ecosystem_event",{p_user_id:n,p_fingerprint:null,p_platform:o.site,p_event_name:e,p_event_category:"conversion",p_event_data:{...t,path:j.current,anon_id:"string"==typeof t.anon_id&&t.anon_id?t.anon_id:function(){try{let e=document.cookie.match(RegExp("(?:^|; )blossend_anon_id=([^;]*)"));return e&&e[1]?decodeURIComponent(e[1]):void 0}catch{return}}()},p_session_id:null})).catch(()=>{})}catch{}},[]),M=(0,n.useCallback)(e=>{P.current=null,g(f(o.site,e.uid,e.stamp),"shown"),g(p(o.site,e.uid),String(Date.now())),S(e),L("trial_offer_shown",{kind:e.kind,door:e.door},e.uid)},[L]),F=(0,n.useRef)(!1),R=(0,n.useCallback)(()=>{let e=P.current;if(!e)return;if(Date.now()-e.since>27e5){P.current=null;return}if(h(j.current,o.hidePaths??[])||v())return;if(Date.now()-(e.verifiedAt??e.since)<2e3)return void M(e);if(F.current)return;let t=o.getClient();if(!t){P.current=null;return}F.current=!0,Promise.resolve(t.rpc("get_my_trial_offer_state")).then(({data:t,error:n})=>{if(P.current===e){if(n||u(t)!==e.door){P.current=null,g(f(o.site,e.uid,e.stamp),"skip:"+(n?"recheck_error":String(t)));return}e.verifiedAt=Date.now(),h(j.current,o.hidePaths??[])||v()||M(e)}}).catch(()=>{P.current===e&&(P.current=null)}).finally(()=>{F.current=!1})},[M]),D=(0,n.useCallback)(async e=>{if(!o.enabled||T.current||P.current)return;let t=o.getClient();if(t){T.current=!0;try{var n,r;let i=e??null;if(!i){let{data:e}=await t.auth.getSession();i=e?.session?.user??null}if(!i)return;let a=Date.now(),s=function(e,t){if(!e||!e.id)return null;let n=Date.parse(e.last_sign_in_at??""),r=Date.parse(e.created_at??""),i=Number.isFinite(n)?n:r;if(!Number.isFinite(i))return null;let a=t-i;return a<-3e5||a>9e5?null:Number.isFinite(r)&&t-r<=9e5?"post_signup":"post_signin"}(i,a);if(!s)return;let l=(n=i,String(n.last_sign_in_at||n.created_at||""));if(m(f(o.site,i.id,l)))return;let c=Number(m(p(o.site,i.id)));if(r=Number.isFinite(c)&&c>0?c:null,"post_signup"!==s&&null!=r&&Number.isFinite(r)&&!(a-r>=72e6))return;let{data:d,error:h}=await t.rpc("get_my_trial_offer_state");if(h)return;let y=u(d);if(!y)return void g(f(o.site,i.id,l),"skip:"+String(d));P.current={door:y,kind:s,uid:i.id,stamp:l,since:a},R()}catch{}finally{T.current=!1}}},[R]);(0,n.useEffect)(()=>{if(!o.enabled)return;let e=window.setTimeout(()=>{D()},1500),t=o.getClient(),n=t?.auth.onAuthStateChange((e,t)=>{"SIGNED_IN"===e&&window.setTimeout(()=>{D(t?.user??null)},800)});return()=>{window.clearTimeout(e);try{n?.data.subscription.unsubscribe()}catch{}}},[D]),(0,n.useEffect)(()=>{if(!o.enabled)return;let e=window.setTimeout(()=>{P.current?R():x||D()},900);return()=>window.clearTimeout(e)},[_,R,D,x]);let N=(0,n.useRef)(()=>{});(0,n.useEffect)(()=>{if(!o.enabled)return;let e=!1,t=()=>{e||(e=!0,window.requestAnimationFrame(()=>{let t;e=!1;let n=window.innerWidth<=430;A(n),P.current&&R();let r=q.current??(O.current?{getBoundingClientRect:()=>({...O.current,width:1,height:1})}:null);k(n&&function(){for(let e of Array.from(document.querySelectorAll(l)))if(y(e)&&!e.closest("header, nav, [data-post-auth-offer]"))return!0;return!1}()||function(e){if(!e)return!1;let t=e.getBoundingClientRect();if(0===t.width||0===t.height)return!1;for(let e of Array.from(document.querySelectorAll('a[href*="/checkout"], a[href*="plan="], '+l))){if(e.closest("[data-post-auth-offer]"))continue;let n=e.getBoundingClientRect();if(0!==n.width&&0!==n.height&&n.left<t.right&&n.right>t.left&&n.top<t.bottom&&n.bottom>t.top)return!0}return!1}(r)||function(e){if(!e)return!1;let t=e.getBoundingClientRect();if(0===t.width||0===t.height)return!1;for(let e of Array.from(document.querySelectorAll('input:not([type="hidden"]), select, textarea, [contenteditable="true"], button[type="submit"], form button, button:not([type]), [role="switch"], button[aria-pressed], button[type="button"]'))){if(e.closest('[data-post-auth-offer], header, nav, [role="navigation"]'))continue;let n=e.getBoundingClientRect();if(0!==n.width&&0!==n.height&&n.left<t.right&&n.right>t.left&&n.top<t.bottom&&n.bottom>t.top)return!0}return!1}(r)||!(!(t=document.activeElement)||t===document.body||t.closest("[data-post-auth-offer]"))&&t.matches('input
11:not([type="hidden"]):not([type="button"]):not([type="submit"]), select, textarea, [contenteditable="true"]'))}))};return N.current=t,t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),document.addEventListener("focusin",t),document.addEventListener("focusout",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t),document.removeEventListener("focusin",t),document.removeEventListener("focusout",t)}},[R]),(0,n.useEffect)(()=>{if(!x)return;let e=window.setTimeout(()=>N.current(),60);return()=>window.clearTimeout(e)},[x]);let I=(0,n.useCallback)(()=>{x&&L("trial_offer_dismiss",{kind:x.kind,door:x.door},x.uid),S(null)},[x,L]);if((0,n.useEffect)(()=>{if(!x)return;let e=e=>{"Escape"===e.key&&I()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[x,I]),!x||C||h(_,o.hidePaths??[]))return null;let B=function(){try{let e=(document.documentElement.lang||"").slice(0,2).toLowerCase();if(e&&o.copyByLang&&o.copyByLang[e])return o.copyByLang[e]}catch{}return o.copy}(),U="trial"===x.door,Q=(e=x.kind,"founding"===x.door?"post_signup"===e?"post_signup_founding_offer":"post_signin_founding_offer":"post_signup"===e?"post_signup_trial_offer":"post_signin_trial_offer"),$=(i=U?o.trialHref:o.foundingHref,s=(a=i.indexOf("#"))>=0?i.slice(0,a):i,c=a>=0?i.slice(a+1):void 0,b=(d=s.indexOf("?"))>=0?s.slice(0,d):s,(w=(d>=0?s.slice(d+1):"").split("&").filter(e=>e&&!/^source=/.test(e))).push("source="+encodeURIComponent(Q)),b+"?"+w.join("&")+(void 0!==c?"#"+c:"")),H=U?"post_signup"===x.kind?B.signupTitle:B.signinTitle:B.foundingTitle,K=U?B.body:B.foundingBody,W=U?B.trialCta:B.foundingCta;return(0,t.jsxs)("div",{ref:e=>{if(q.current=e,e){let t=e.getBoundingClientRect();O.current={top:t.top,bottom:t.bottom,left:t.left,right:t.right}}},"data-post-auth-offer":x.door,role:"region","aria-label":H,style:{...E?{position:"fixed",left:12,right:12,bottom:12,zIndex:60}:{position:"fixed",right:20,bottom:20,width:360,maxWidth:"calc(100vw - 40px)",zIndex:60},background:"#ffffff",color:"#0f172a",border:"1px solid #94a3b8",borderRadius:16,boxShadow:"0 12px 32px rgba(15, 23, 42, 0.22)",padding:"16px 16px 14px",fontFamily:"inherit"},children:[(0,t.jsx)("button",{type:"button",onClick:I,"aria-label":B.close,style:{position:"absolute",top:4,right:4,width:44,height:44,border:"none",background:"transparent",color:"#475569",fontSize:22,lineHeight:"44px",cursor:"pointer"},children:"Ã"}),(0,t.jsx)("p",{style:{margin:"0 36px 6px 0",fontSize:17,fontWeight:800,lineHeight:1.3,color:"#0f172a"},children:H}),(0,t.jsx)("p",{style:{margin:"0 0 10px",fontSize:14,lineHeight:1.45,color:"#334155"},children:K}),U&&B.bullets.length>0?(0,t.jsx)("ul",{style:{margin:"0 0 12px",padding:0,listStyle:"none"},children:B.bullets.slice(0,3).map(e=>(0,t.jsxs)("li",{style:{fontSize:14,lineHeight:1.4,color:"#0f172a",margin:"0 0 4px",display:"flex",gap:8},children:[(0,t.jsx)("span",{"aria-hidden":"true",style:{color:o.accent,fontWeight:800},children:"â"}),(0,t.jsx)("span",{children:e})]},e))}):null,(0,t.jsx)("a",{href:$,"data-funnel-cta":Q,onClick:()=>L("trial_offer_click",{kind:x.kind,door:x.door},x.uid),style:{display:"block",textAlign:"center",background:o.accent,color:"#ffffff",fontWeight:800,fontSize:16,padding:"12px 16px",minHeight:44,borderRadius:12,textDecoration:"none"},children:W}),(0,t.jsxs)("p",{style:{margin:"8px 0 0",fontSize:12,lineHeight:1.4,color:"#475569",textAlign:"center"},children:[B.finePrint," ",(0,t.jsx)("a",{href:o.membershipHref,style:{color:"#334155",textDecoration:"underline"},children:B.seePlans})]})]})}],464743)}]);
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.