import{t as e}from"./rolldown-runtime.Bi-D_2cA.mjs";import{C as t,D as n,F as r,I as i,L as a,M as o,N as s,T as c,a as l,d as u,g as d,i as f,n as p,r as m,t as h,v as g,x as _,y as v}from"./react.B4lOa1lM.mjs";import{Et as y,G as b,H as x,J as S,Q as C,Tt as w,U as T,W as E,X as D,_ as O,d as k,ht as ee,it as A,m as j,nt as M,q as N,s as P,tt as F,ut as I,v as L,yt as R}from"./framer.KTGEEA2E.mjs";import{n as z,t as B}from"./toplevel-deps.CFIfeqNE.mjs";function V({webPageId:e,children:t,style:n,...r}){let i={}[e]??{};switch(e){case`augiA20Il`:case`xaWYpIr2J`:case`nfTHqJbRy`:case`tajbixITr`:case`djcKDgVsU`:case`FM01RxPWG`:case`Ir2sVdtLC`:case`nqjMmD5_W`:case`aslmr3UJv`:case`u57lEO_iD`:return u(B,{...i,key:`BotanicalEditorialLayout`,style:n},t(!0));default:return t(!1)}}function H(e){switch(e){case`augiA20Il`:case`xaWYpIr2J`:case`nfTHqJbRy`:case`tajbixITr`:case`djcKDgVsU`:case`FM01RxPWG`:case`Ir2sVdtLC`:case`nqjMmD5_W`:case`aslmr3UJv`:case`u57lEO_iD`:return[{hash:`v46o0q`,mediaQuery:`(min-width: 1200px)`},{hash:`3vcr5d`,mediaQuery:`(min-width: 810px) and (max-width: 1199.98px)`},{hash:`1iisa5b`,mediaQuery:`(max-width: 809.98px)`}];default:return}}async function U({routeId:e,pathVariables:t,canonicalPathVariables:r,localeId:i,collectionItemId:o,contentLocaleId:l,shouldResolveInitialRouteContentState:p=!1}){let m=K[e].page.preload();M({checkServerSideRouter:!0,disableCustomCode:!1,disableHoverOnMobile:!1,editorBarDisableFrameAncestorsSecurity:!1,motionDivToDiv:!1,onPageRichTextBlockSelection:!0,scrollRestoration:!0,synchronousNavigationOnDesktop:!1,yieldOnTap:!1}),F(X);let h=u(L,{isWebsite:!0,environment:`site`,routeId:e,pathVariables:t,canonicalPathVariables:r,routes:K,collectionUtils:J,serverDatabaseClient:Y,framerSiteId:X,notFoundPage:b(()=>import(`./SitesNotFoundPage.js@1.4.DNOxxIYF.mjs`)),isReducedMotion:!0,localeId:i,locales:q,preserveQueryParams:void 0,siteCanonicalURL:`https://driving-time-818244.framer.app`,EditorBar:a===void 0?void 0:(()=>{if(Q)console.log(`[Framer On-Page Editing] Unavailable because navigator is bot`);else return b(async()=>{a.__framer_editorBarDependencies={__version:3,framer:{useCurrentRoute:I,useLocaleInfo:ee,useRouter:R},react:{createElement:u,Fragment:s,memo:_,useCallback:n,useEffect:g,useRef:v,useState:d,useLayoutEffect:c},"react-dom":{createPortal:f}};let{createEditorBar:e}=await import(`../../../../assets/framer.com/edit/init.mjs`);return{default:e()}})})(),adaptLayoutToTextDirection:!0,LayoutTemplate:V,loadSnippetsModule:new j(()=>import(`./JQxu29c0NFZls5wMvNRyQTykXNedMUdkn5QVhJWYE1Y.CGWdY7f-.mjs`)),initialCollectionItemId:o,initialContentLocaleIdOverride:l}),y=u(k,{children:h}),x=u(O,{children:y,value:{routes:{}}});return await m,x}function W(){Z&&a.__framer_events.push(arguments)}async function G(e,t){function n(e,t,n=!0){if(e.caught||a.__framer_hadFatalError)return;let r=t?.componentStack;if(n){if(console.warn(`Caught a recoverable error. The site is still functional, but might have some UI flickering or degraded page load performance. If you are the author of this website, update external components and check recently added custom code or code overrides to fix the following server/client mismatches: `,e,r),Math.random()>.01)return}else console.error(`Caught a fatal error. Please report the following to the Framer team via https://www.framer.com/contact/: `,e,r);W(n?`published_site_load_recoverable_error`:`published_site_load_error`,{message:String(e),componentStack:r,stack:r?void 0:e instanceof Error&&typeof e.stack==`string`?e.stack:null})}try{let r,i,s,c,l,u,d;if(e)d=JSON.parse(t.dataset.framerHydrateV2),r=d.routeId,i=d.localeId,s=d.contentLocaleId,c=d.pathVariables,l=d.canonicalPathVariables,u=d.breakpoints,r=D(K,r);else{D(K,void 0);let e=performance.getEntriesByType(`navigation`)[0]?.serverTiming?.find(e=>e.name===`route`)?.description;if(e){let t=new URLSearchParams(e);r=t.get(`id`),i=t.get(`locale`);for(let[e,n]of t.entries())e.startsWith(`var.`)&&(c??={},c[e.slice(4)]=n)}if(!r||!i){let e=x(K,decodeURIComponent(location.pathname),!0,q);r=e.routeId,i=e.localeId,c=e.pathVariables}}let f=U({routeId:r,localeId:i,contentLocaleId:s,pathVariables:c,canonicalPathVariables:l,collectionItemId:e?d?.collectionItemId:void 0,shouldResolveInitialRouteContentState:!e});a!==void 0&&(async()=>{let e=K[r],t=q.find(({id:e})=>i?e===i:e==="default").code,n=d?.collectionItemId??null;if(n===null&&e?.collectionId&&J){let r=await J[e.collectionId]?.(),[i]=Object.values(c);r&&typeof i==`string`&&(n=await r.getRecordIdBySlug(i,t||void 0)??null)}let o=Intl.DateTimeFormat().resolvedOptions(),s=o.timeZone,l=o.locale;await new Promise(e=>{document.prerendering?document.addEventListener(`prerenderingchange`,e,{once:!0}):e()}),a.__framer_events.push([`published_site_pageview`,{framerSiteId:X,version:2,routePath:e?.path||`/`,collectionItemId:n,framerLocale:t||null,webPageId:e?.abTestingVariantId??r,abTestId:e?.abTestId,referrer:document.referrer||null,url:a.location.href,hostname:a.location.hostname||null,pathname:a.location.pathname||null,hash:a.location.hash||null,search:a.location.search||null,timezone:s,locale:l},`eager`]),await y({priority:`background`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:t||null}}))})();let p=await f;e?(w(`framer-rewrite-breakpoints`,()=>{C(u),a.__framer_onRewriteBreakpoints?.(u)}),(Q?e=>e():o)(()=>{S(),A(),h(t,p,{onRecoverableError:n})})):(await N(),m(t,{onRecoverableError:n}).render(p))}catch(e){throw n(e,void 0,!1),e}}var K,q,J,Y,X,Z,Q;function $(){return($=e((()=>{if(r(),E(),t(),l(),p(),z(),K={augiA20Il:{elements:{},page:b(()=>import(`./yf9E6xBjpIos4L4U8I2zzu_bDBY_L6szd0HIw9SHxg8.D2m-x4G9.mjs`)),path:`/`},xaWYpIr2J:{elements:{gnaDIfHaA:`plant-guide`,HIF0aV3J2:`seasonal-selection`},page:b(()=>import(`./bipaLFqT0-GIoZAAt3K-b_BYFex_3eTkmRUqz29J15s.Bij_i2DW.mjs`)),path:`/plants`},nfTHqJbRy:{elements:{},page:b(()=>import(`./iQuhbj72EU0yDWKk7A4Zbr2dBJwJxx0Oray2fr5mOzM.IsXtDDL4.mjs`)),path:`/our-story`},tajbixITr:{elements:{},page:b(()=>import(`./bOn5vUY28F6YFtKlkjg2oGp7ifnRTTiWUB-hT4bNkpo.Bb9OtjBU.mjs`)),path:`/growing-advice`},djcKDgVsU:{elements:{mW6GCxcpv:`contact`,OuwuiqM5E:`visit-information`},page:b(()=>import(`./Ho62S9F7hglUtojqCCmd4t-BlLKHZu8esWanOa9bzfA.DpZEbU7J.mjs`)),path:`/visit`},FM01RxPWG:{elements:{},page:b(()=>import(`./rp9nR7GY74Gy03oyqutOXxjIclQi1-h9n9-vJhx3Aao.BirK0eJ9.mjs`)),path:`/privacy`},Ir2sVdtLC:{collectionId:`Z4y3Ds18F`,elements:{},page:b(()=>import(`./tuat1QZiSimC5xsJLzYb-O3ypo4KO1OwiYorXIctC9M.CkPGckhE.mjs`)),path:`/plants/:veL3lBajd`},nqjMmD5_W:{collectionId:`E38Kktypj`,elements:{},page:b(()=>import(`./88BVT1qiEXhAUIEzYBtEisy-lk4bR5FWAu3zuTYXQtg.DJQw6x8k.mjs`)),path:`/growing-advice/:SJUDlpkDU`},aslmr3UJv:{collectionId:`k2Sf4SFok`,elements:{},page:b(()=>import(`./14JhkjlmB1uBRPTo80LsTAzaMKdkAUq1UfeoBmJW7Vc.CVJjQal9.mjs`)),path:`/collections/:HPHeaf_nO`},u57lEO_iD:{collectionId:`yUkmfaABS`,elements:{},page:b(()=>import(`./gPrVN2LariGcfuCgNZJNW2QPMkWkIKmR1t8ctip6wos.axw7yBnU.mjs`)),path:`/planting-conditions/:IK2feDo6q`}},q=[{code:`en-US`,id:`default`,name:`English`,slug:``,textDirection:`ltr`}],J={E38Kktypj:async()=>(await import(`./SqevObXnpZXP8Ajv5KiCe7FibP5Wdoh25TOk5r5fgJ8.BtmE0kSG.mjs`))?.utils,k2Sf4SFok:async()=>(await import(`./qnXyXbCY8OvkJDQY51Bu5yUC2tSevirDglWbFrn1m_E.CFBFzJF6.mjs`))?.utils,yUkmfaABS:async()=>(await import(`./rt778JntxckREkQ8WU-tstGrmfebbZWOvlEeUZNMBlw.6kaiXO77.mjs`))?.utils,Z4y3Ds18F:async()=>(await import(`./SSv8UUZ6jaQIUaPX2uKm53KJ46stO5iMIBf1hw0DvOI.DK-XzDfy.mjs`))?.utils},Y=void 0,X=`81b57f312ed6c807b866e00415f69d052fa8b3441cb0234fa3ebd958cbe8e53f`,Z=typeof document<`u`,Q=Z&&/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(i.userAgent),Z){a.__framer_importFromPackage=(e,t)=>()=>u(P,{error:`Package component not supported: "`+t+`" in "`+e+`"`}),a.__framer_events=a.__framer_events||[],T();let e=document.getElementById(`main`);`framerHydrateV2`in e.dataset?G(!0,e):G(!1,e)}})))()}$();export{H as getLayoutTemplateBreakpoints,U as getPageRoot}; //# sourceMappingURL=script_main.BQAgv39X.mjs.map