@vikukumar/propvault 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/(website)/[...slug]/page/server-reference-manifest.json +4 -4
- package/.next/server/app/(website)/[...slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(website)/blog/[slug]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/(website)/blog/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(website)/contact/page/server-reference-manifest.json +1 -1
- package/.next/server/app/(website)/contact/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(website)/page/server-reference-manifest.json +5 -5
- package/.next/server/app/(website)/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(website)/projects/[slug]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/(website)/projects/[slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/admin/cms/email-templates/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/cms/email-templates/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/cms/menus/page/server-reference-manifest.json +3 -3
- package/.next/server/app/admin/cms/menus/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/cms/pages/[id]/edit/page/server-reference-manifest.json +6 -6
- package/.next/server/app/admin/cms/pages/[id]/edit/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/cms/pages/new/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/cms/pages/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/cms/pages/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/cms/pages/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/cms/redirects/page/server-reference-manifest.json +3 -3
- package/.next/server/app/admin/cms/redirects/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/leads/[id]/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/leads/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/page/server-reference-manifest.json +3 -3
- package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/plugins/page/server-reference-manifest.json +5 -5
- package/.next/server/app/admin/plugins/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/profile/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/profile/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/projects/edit/[id]/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/projects/edit/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/projects/new/page/server-reference-manifest.json +2 -2
- package/.next/server/app/admin/projects/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/analytics/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/analytics/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/analytics/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/api-keys/page/server-reference-manifest.json +102 -102
- package/.next/server/app/admin/settings/api-keys/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/branding/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/branding/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/branding/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/general/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/general/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/general/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/security/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/security/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/security/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/seo/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/seo/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/seo/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/smtp/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/smtp/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/smtp/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/settings/storage/page/server-reference-manifest.json +1 -1
- package/.next/server/app/admin/settings/storage/page.js.nft.json +1 -1
- package/.next/server/app/admin/settings/storage/page_client-reference-manifest.js +1 -1
- package/.next/server/app/admin/theme/page/server-reference-manifest.json +5 -5
- package/.next/server/app/admin/theme/page_client-reference-manifest.js +1 -1
- package/.next/server/app/api/upload/route.js.nft.json +1 -1
- package/.next/server/app/contact.html +2 -2
- package/.next/server/app/contact.rsc +2 -2
- package/.next/server/app/contact.segments/!KHdlYnNpdGUp/contact/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/contact.segments/!KHdlYnNpdGUp/contact.segment.rsc +1 -1
- package/.next/server/app/contact.segments/!KHdlYnNpdGUp.segment.rsc +1 -1
- package/.next/server/app/contact.segments/_full.segment.rsc +2 -2
- package/.next/server/app/contact.segments/_head.segment.rsc +1 -1
- package/.next/server/app/contact.segments/_index.segment.rsc +1 -1
- package/.next/server/app/contact.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +11 -11
- package/.next/server/app/index.segments/!KHdlYnNpdGUp/__PAGE__.segment.rsc +11 -11
- package/.next/server/app/index.segments/!KHdlYnNpdGUp.segment.rsc +1 -1
- package/.next/server/app/index.segments/_full.segment.rsc +11 -11
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +1 -1
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +1 -1
- package/.next/server/app/login.segments/_full.segment.rsc +1 -1
- package/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/server/app/login.segments/_index.segment.rsc +1 -1
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/.next/server/app/setup/page/server-reference-manifest.json +15 -15
- package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/setup.html +2 -2
- package/.next/server/app/setup.rsc +2 -2
- package/.next/server/app/setup.segments/_full.segment.rsc +2 -2
- package/.next/server/app/setup.segments/_head.segment.rsc +1 -1
- package/.next/server/app/setup.segments/_index.segment.rsc +1 -1
- package/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/setup.segments/setup.segment.rsc +1 -1
- package/.next/server/app/sitemap.xml.body +9 -9
- package/.next/server/chunks/[root-of-the-server]__0ikpexd._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__03m3xqu._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__05px_h7._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__08s00s8._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0_x-0vh._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0ae1ufj._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0b0jtbx._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0d95wm4._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0d_wuy_._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0frxadd._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0owpb-h._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1--m0t_._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__11c23n7._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__12yzdf7._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1_5z9ae._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ijsxgu._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1mh1dn4._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1nrl0j-._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1qronyg._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1rjv73_._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1ybv0-1._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__203pgu_._.js +1 -1
- package/.next/server/chunks/ssr/_01ovwyq._.js +1 -1
- package/.next/server/chunks/ssr/_05jzsu5._.js +1 -1
- package/.next/server/chunks/ssr/_06ljqk-._.js +1 -1
- package/.next/server/chunks/ssr/_06rh1hs._.js +1 -1
- package/.next/server/chunks/ssr/_08mru_6._.js +1 -1
- package/.next/server/chunks/ssr/_09o1npz._.js +1 -1
- package/.next/server/chunks/ssr/{_1zm01h0._.js → _0d9dhlq._.js} +2 -2
- package/.next/server/chunks/ssr/_0h33iks._.js +1 -1
- package/.next/server/chunks/ssr/_0ju3jec._.js +1 -1
- package/.next/server/chunks/ssr/_0kdtd1g._.js +1 -1
- package/.next/server/chunks/ssr/_0m0s15u._.js +1 -1
- package/.next/server/chunks/ssr/_0qdyrxm._.js +1 -1
- package/.next/server/chunks/ssr/_0untlx2._.js +1 -1
- package/.next/server/chunks/ssr/{_1hb_oxg._.js → _0v1z0z-._.js} +2 -2
- package/.next/server/chunks/ssr/_0vu77cg._.js +1 -1
- package/.next/server/chunks/ssr/_0xki9b-._.js +1 -1
- package/.next/server/chunks/ssr/_1-wcqf6._.js +1 -1
- package/.next/server/chunks/ssr/_10imd--._.js +1 -1
- package/.next/server/chunks/ssr/_122ck8v._.js +1 -1
- package/.next/server/chunks/ssr/_17z_x3y._.js +1 -1
- package/.next/server/chunks/ssr/_18r74av._.js +1 -1
- package/.next/server/chunks/ssr/_1agt3s0._.js +1 -1
- package/.next/server/chunks/ssr/_1ijzz5f._.js +1 -1
- package/.next/server/chunks/ssr/_1l22w_w._.js +1 -1
- package/.next/server/chunks/ssr/_1lhtejs._.js +1 -1
- package/.next/server/chunks/ssr/_1pulrwl._.js +1 -1
- package/.next/server/chunks/ssr/_1pvmkr2._.js +1 -1
- package/.next/server/chunks/ssr/_1sseqap._.js +1 -1
- package/.next/server/chunks/ssr/_212t7ar._.js +1 -1
- package/.next/server/chunks/ssr/src_actions_cms_ts_0_rm7-x._.js +1 -1
- package/.next/server/chunks/ssr/src_app_admin_cms_pages_[id]_edit_page-editor-client_tsx_0hbosvr._.js +1 -1
- package/.next/server/chunks/ssr/src_components_admin_branding_icon-generator_tsx_0-p-crb._.js +1 -1
- package/.next/server/chunks/ssr/src_components_admin_projects_project-form_tsx_0ynt29x._.js +1 -1
- package/.next/server/chunks/ssr/src_components_admin_theme_theme-editor_tsx_0ec47ja._.js +1 -1
- package/.next/server/chunks/ssr/src_components_setup_setup-wizard_tsx_17wfyof._.js +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +120 -120
- package/.next/static/chunks/{2d9me2ckcnr7h.js → 04j81u4sdpfu2.js} +1 -1
- package/.next/static/chunks/{0zqog_yngqq7z.js → 0ah0kpd7ekuw1.js} +1 -1
- package/.next/static/chunks/{1q0w9ewl3z_h6.js → 0auy0r9a1q2tn.js} +1 -1
- package/.next/static/chunks/{1tbfriywhx1pb.js → 0ggovh07wwyy8.js} +1 -1
- package/.next/static/chunks/{38rdy0o7-0ox6.js → 0lis8frknimvp.js} +1 -1
- package/.next/static/chunks/{263r2j2npbofi.js → 0nsus-669a8ey.js} +1 -1
- package/.next/static/chunks/{3me6cr4hl9rom.js → 0rf2sac4cv9to.js} +1 -1
- package/.next/static/chunks/{36-tbikyofe31.js → 0xpdqt-hymrf7.js} +1 -1
- package/.next/static/chunks/{1ck9hpq1413sl.js → 1bowvtenaqsj6.js} +1 -1
- package/.next/static/chunks/{3f49air8y0adp.js → 1cjpbb6-vptf4.js} +4 -4
- package/.next/static/chunks/{20lykhw4m0xj7.js → 1hk1y1sg8lhbw.js} +1 -1
- package/.next/static/chunks/{32ewdom11wcw5.js → 1nrpg3ex2_sv_.js} +1 -1
- package/.next/static/chunks/{2kw34i4gw2ajr.js → 1sf7ew5fumaxp.js} +3 -3
- package/.next/static/chunks/{2xln3s9fcx9bl.js → 1u3legaue49ub.js} +1 -1
- package/.next/static/chunks/{2fyzgog8nf5lt.js → 1wy2lokd1l1lp.js} +1 -1
- package/.next/static/chunks/{0y4lkzby6pn69.js → 2-v2c7pmrytbo.js} +1 -1
- package/.next/static/chunks/{11pcx9jz6m8mh.js → 24pptltdm6on5.js} +1 -1
- package/.next/static/chunks/{0pwgm534jn6iw.js → 262zw0y5-stbe.js} +1 -1
- package/.next/static/chunks/{1pwy0ti-uue8r.js → 2hdi4miihh5xo.js} +1 -1
- package/.next/static/chunks/{1902bgggagxq9.js → 2mkfi4f-v_--2.js} +2 -2
- package/.next/static/chunks/{1hame1c35m1cl.js → 2uc63cmx05kds.js} +1 -1
- package/.next/static/chunks/{30qbmzgby_p2-.js → 2y63g12thk4t0.js} +1 -1
- package/.next/static/chunks/{3ibw_8tcpt3lm.js → 2zqss-359c2pk.js} +1 -1
- package/.next/static/chunks/{3ussphcvkyzyx.js → 3i5hcquiom8c0.js} +1 -1
- package/.next/static/chunks/{3kghfbcpnl0zl.js → 3xtvxy_mnp_8w.js} +1 -1
- package/.next/static/chunks/{3en21d5viwrkl.js → 41e2p0bvp89ut.js} +1 -1
- package/README.md +6 -6
- package/package.json +5 -5
- /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_buildManifest.js +0 -0
- /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,519455,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(991918),a=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.clsx,o=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,i=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],s=null==o?void 0:o[e];if(null===t)return null;let n=l(t)||l(s);return a[e][n]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,i,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...d}[t]):({...o,...d})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,o],225913);var i=e.i(975157);let d=o("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef(({className:e,variant:r,size:a,asChild:l=!1,...n},o)=>{let c=l?s.Slot:"button";return(0,t.jsx)(c,{className:(0,i.cn)(d({variant:r,size:a,className:e})),ref:o,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let l=e.r(132120),n=e.r(92245),o=e.r(235326)},
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,519455,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(991918),a=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.clsx,o=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,i=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],s=null==o?void 0:o[e];if(null===t)return null;let n=l(t)||l(s);return a[e][n]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,i,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...d}[t]):({...o,...d})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,o],225913);var i=e.i(975157);let d=o("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef(({className:e,variant:r,size:a,asChild:l=!1,...n},o)=>{let c=l?s.Slot:"button";return(0,t.jsx)(c,{className:(0,i.cn)(d({variant:r,size:a,className:e})),ref:o,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let l=e.r(132120),n=e.r(92245),o=e.r(235326)},145129,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("6060a4b26d62d4d4cec46005debf62b42d4f2aa197",t.callServer,void 0,t.findSourceMapURL,"saveSettingsGroup");e.s(["saveSettingsGroup",0,r])},77834,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["default",0,t])},725981,e=>{"use strict";var t=e.i(77834);e.s(["Upload",()=>t.default])},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),s=e.i(231178),a=e.i(947414),l=e.i(674008),n=e.i(821476),o=e.i(772846),i=r,d=e.i(369110);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,o.isHTMLElement)(e)&&e.offsetWidth||0,s=(0,o.isHTMLElement)(e)&&e.offsetHeight||0,a=getComputedStyle(t),l=this.props.sizeRef.current;l.height=parseFloat(a.height),l.width=parseFloat(a.width),l.top=t.offsetTop,l.left=t.offsetLeft,l.right=r-l.width-l.left,l.bottom=s-l.height-l.top,l.direction=a.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function x({children:e,isPresent:s,anchorX:a,anchorY:l,root:n,pop:o}){let m=(0,i.useId)(),p=(0,i.useRef)(null),g=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,i.useContext)(d.MotionConfigContext),h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,s=e.map(e=>{let s=c(e,t);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let t=0;t<s.length;t++){let r=s[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(p,e.props?.ref??e?.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:d,bottom:c,direction:u}=g.current;if(s||!1===o||!p.current||!e||!t)return;let x="rtl"===u,h="left"===a?x?`right: ${d}`:`left: ${i}`:x?`left: ${i}`:`right: ${d}`,b="bottom"===l?`bottom: ${c}`:`top: ${r}`;p.current.dataset.motionPopId=m;let y=document.createElement("style");f&&(y.nonce=f);let v=n??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(`
|
|
2
2
|
[data-motion-pop-id="${m}"] {
|
|
3
3
|
position: absolute !important;
|
|
4
4
|
width: ${e}px !important;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
${h}px !important;
|
|
7
7
|
${b}px !important;
|
|
8
8
|
}
|
|
9
|
-
`),()=>{p.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[s]),(0,t.jsx)(u,{isPresent:s,childRef:p,sizeRef:f,pop:o,children:!1===o?e:i.cloneElement(e,{ref:h})})}let m=({children:e,initial:s,isPresent:o,onExitComplete:i,custom:d,presenceAffectsLayout:c,mode:u,anchorX:m,anchorY:f,root:g})=>{let h=(0,a.useConstant)(p),b=(0,r.useId)(),y=(0,r.useRef)(o),v=(0,r.useRef)(i);(0,l.useIsomorphicLayoutEffect)(()=>{y.current=o,v.current=i});let j=!0,N=(0,r.useMemo)(()=>(j=!1,{id:b,initial:s,isPresent:o,custom:d,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;i&&i()},register:e=>(h.set(e,!1),()=>{h.delete(e),y.current||h.size||v.current?.()})}),[o,h,i]);return c&&j&&(N={...N}),(0,r.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[o]),r.useEffect(()=>{o||h.size||!i||i()},[o]),e=(0,t.jsx)(x,{pop:"popLayout"===u,isPresent:o,anchorX:m,anchorY:f,root:g,children:e}),(0,t.jsx)(n.PresenceContext.Provider,{value:N,children:e})};function p(){return new Map}var f=e.i(464978);let g=e=>e.key||"";function h(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:n,initial:o=!0,onExitComplete:i,presenceAffectsLayout:d=!0,mode:c="sync",propagate:u=!1,anchorX:x="left",anchorY:p="top",root:b})=>{let[y,v]=(0,f.usePresence)(u),j=(0,r.useMemo)(()=>h(e),[e]),N=u&&!y?[]:j.map(g),w=(0,r.useRef)(!0),k=(0,r.useRef)(j),S=(0,a.useConstant)(()=>new Map),C=(0,r.useRef)(new Set),[L,P]=(0,r.useState)(j),[M,E]=(0,r.useState)(j);(0,l.useIsomorphicLayoutEffect)(()=>{w.current=!1,k.current=j;for(let e=0;e<M.length;e++){let t=g(M[e]);N.includes(t)?(S.delete(t),C.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[M,N.length,N.join("-")]);let R=[];if(j!==L){let e=[...j];for(let t=0;t<M.length;t++){let r=M[t],s=g(r);N.includes(s)||(e.splice(t,0,r),R.push(r))}return"wait"===c&&R.length&&(e=R),E(h(e)),P(j),null}let{forceRender:U}=(0,r.useContext)(s.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:M.map(e=>{let r=g(e),s=(!u||!!y)&&(j===M||N.includes(r));return(0,t.jsx)(m,{isPresent:s,initial:(!w.current||!!o)&&void 0,custom:n,presenceAffectsLayout:d,mode:c,root:b,onExitComplete:s?void 0:()=>{if(C.current.has(r)||!S.has(r))return;C.current.add(r),S.set(r,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(U?.(),E(k.current),u&&v?.(),i&&i())},anchorX:x,anchorY:p,children:e},r)})})}],88653)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},343420,e=>{"use strict";let t=(0,e.i(456420).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},352627,e=>{"use strict";let t=(0,e.i(456420).default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,t])},277464,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(846932),a=e.i(88653),l=e.i(755566),l=l,n=e.i(343420),n=n,o=e.i(352627),o=o,i=e.i(975157),d=e.i(519455);function c({open:e,title:u,description:x,confirmLabel:m="Confirm",cancelLabel:p="Cancel",variant:f="danger",onConfirm:g,onCancel:h,isLoading:b=!1}){let y=(0,r.useRef)(null);(0,r.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e&&h()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,h]);let v={danger:(0,t.jsx)(o.default,{className:"h-10 w-10 text-destructive"}),warning:(0,t.jsx)(l.default,{className:"h-10 w-10 text-amber-500"}),info:(0,t.jsx)(n.default,{className:"h-10 w-10 text-primary"})};return(0,t.jsx)(a.AnimatePresence,{children:e&&(0,t.jsx)(s.motion.div,{ref:y,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[200] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)"},onClick:e=>{e.target===y.current&&h()},children:(0,t.jsx)(s.motion.div,{initial:{scale:.92,opacity:0,y:16},animate:{scale:1,opacity:1,y:0},exit:{scale:.92,opacity:0,y:16},transition:{type:"spring",stiffness:400,damping:30},className:"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-2xl",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[v[f],(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:u}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground leading-relaxed",children:x})]}),(0,t.jsxs)("div",{className:"flex w-full gap-3 mt-2",children:[(0,t.jsx)(d.Button,{variant:"outline",className:"flex-1",onClick:h,disabled:b,children:p}),(0,t.jsx)(d.Button,{variant:{danger:"destructive",warning:"default",info:"default"}[f],className:(0,i.cn)("flex-1","info"===f&&"btn-gold"),onClick:g,disabled:b,children:b?(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"})]}),"Processing…"]}):m})]})]})})})})}e.s(["DeleteDialog",0,function({open:e,entityName:r,entityType:s="item",onConfirm:a,onCancel:l,isLoading:n=!1}){return(0,t.jsx)(c,{open:e,title:`Delete ${s}`,description:`Are you absolutely sure you want to delete "${r}"? This action cannot be undone and all associated data will be permanently removed.`,confirmLabel:"Delete Permanently",cancelLabel:"Keep it",variant:"danger",onConfirm:a,onCancel:l,isLoading:n})},"ProgressDialog",0,function({open:e,title:r,description:l,progress:n,status:o}){return(0,t.jsx)(a.AnimatePresence,{children:e&&(0,t.jsx)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[200] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)"},children:(0,t.jsxs)(s.motion.div,{initial:{scale:.92,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.92,opacity:0},className:"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-2xl",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-foreground mb-1",children:r}),l&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-5",children:l}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,t.jsx)("span",{children:o??"Processing…"}),(0,t.jsxs)("span",{children:[Math.round(n),"%"]})]}),(0,t.jsx)("div",{className:"h-2 w-full rounded-full bg-secondary overflow-hidden",children:(0,t.jsx)(s.motion.div,{className:"h-full rounded-full bg-primary",initial:{width:0},animate:{width:`${n}%`},transition:{duration:.3}})})]})]})})})}],277464)},616933,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},960168,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["default",0,t])},551757,e=>{"use strict";var t=e.i(616933);e.s(["CheckCircle2",()=>t.default])},39361,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(846932),a=e.i(88653),l=e.i(846696),n=e.i(725981),o=e.i(632781),i=e.i(551757),d=e.i(815170),c=e.i(786563),u=e.i(166794),x=e.i(950786),m=e.i(960168),m=m,p=e.i(519455),f=e.i(277464),g=e.i(962461);e.s(["BrandingEditor",0,function({initialValues:e}){let[h,b]=(0,r.useState)("assets"),[y,v]=(0,r.useState)(e.logo),[j,N]=(0,r.useState)(e.logo_dark),[w,k]=(0,r.useState)(e.favicon),[S,C]=(0,r.useState)(e.apple_icon),[L,P]=(0,r.useState)(e.og_image),[M,E]=(0,r.useState)(!1),[R,U]=(0,r.useState)(null),[z,I]=(0,r.useState)(""),[$,A]=(0,r.useState)(!1),[B,F]=(0,r.useState)(0),[G,T]=(0,r.useState)(""),[D,_]=(0,r.useState)([]),O=(0,r.useRef)(null),H=async(e,t,r)=>{let s=l.toast.loading(`Uploading ${r}…`);try{let a=new FormData;a.append("file",e);let n=await fetch("/api/upload",{method:"POST",body:a});if(!n.ok)throw Error("Upload request failed");let o=await n.json();if(o.success&&o.url)t(o.url),l.toast.success(`${r} uploaded successfully!`,{id:s});else throw Error(o.error||"Failed to retrieve URL")}catch(e){l.toast.error(`Upload failed: ${e.message}`,{id:s})}},W=async()=>{E(!0);try{await (0,g.saveSettingsGroup)("branding",{logo:y,logo_dark:j,favicon:w,apple_icon:S}),await (0,g.saveSettingsGroup)("seo",{og_image:L}),l.toast.success("Branding settings saved successfully! Changes are now live.")}catch(e){l.toast.error(e.message||"Failed to save branding assets")}finally{E(!1)}},q=e=>{U(e),I(URL.createObjectURL(e)),_([])},V=async()=>{if(!R)return void l.toast.error("Please select a primary logo first");A(!0),F(0),T("Preparing logo…");try{let e=new FormData;e.append("file",R),F(20),T("Uploading logo…");let t=await fetch("/api/generate-icons",{method:"POST",body:e});if(F(60),T("Generating platform icon sizes…"),!t.ok){let e=await t.json();throw Error(e.error??"Generation failed")}let r=await t.json();F(90),T("Saving settings URLs…"),_(r.generated??[]);let s=r.generated?.find(e=>"favicon-32x32.png"===e.name),a=r.generated?.find(e=>"apple-touch-icon.png"===e.name),n=r.generated?.find(e=>"og-image.png"===e.name);s?.url&&k(s.url),a?.url&&C(a.url),n?.url&&P(n.url),await (0,g.saveSettingsGroup)("branding",{logo:z||y,favicon:s?.url??w,apple_icon:a?.url??S}),n?.url&&await (0,g.saveSettingsGroup)("seo",{og_image:n.url}),F(100),T("Done!"),l.toast.success(`Generated ${r.generated?.length??0} platform icons successfully!`)}catch(e){l.toast.error(e.message??"Generation failed")}finally{setTimeout(()=>A(!1),800)}},K={16:"Favicon 16px",32:"Favicon 32px",48:"Favicon 48px",72:"PWA 72px",96:"PWA 96px",128:"Chrome 128px",144:"MS Tile 144px",150:"MS Tile 150px",152:"iOS 152px",180:"Apple Touch",192:"Android 192px",384:"PWA 384px",512:"Android 512px"};return(0,t.jsxs)("div",{className:"max-w-6xl space-y-8",children:[(0,t.jsx)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-4 border-b border-border/60 pb-6",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-foreground tracking-tight",children:"Branding & Logo Settings"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Configure your corporate logo assets, favicons, social Open Graph images, and platform icons."})]})}),(0,t.jsxs)("div",{className:"flex gap-2 border-b border-border/40 pb-px",children:[(0,t.jsxs)("button",{onClick:()=>b("assets"),className:`flex items-center gap-2 px-4 py-2.5 text-sm font-semibold border-b-2 transition-all ${"assets"===h?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[(0,t.jsx)(x.Palette,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Branding Assets"})]}),(0,t.jsxs)("button",{onClick:()=>b("generator"),className:`flex items-center gap-2 px-4 py-2.5 text-sm font-semibold border-b-2 transition-all ${"generator"===h?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[(0,t.jsx)(m.default,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Auto Icon Generator"})]})]}),"assets"===h?(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Primary Logo (Light Theme)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Default logo rendered on transparent or light page headers."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-white border border-border/40 flex items-center justify-center p-4",children:y?(0,t.jsx)("img",{src:y,alt:"Logo Light",className:"max-h-24 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No logo uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:y,onChange:e=>v(e.target.value),placeholder:"/logo/logo.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"logo-light-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,v,"Light Logo")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("logo-light-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Logo File"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Dark Mode Logo"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"High-contrast logo used specifically for dark mode headers."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-[hsl(240,20%,5%)] border border-border/40 flex items-center justify-center p-4",children:j?(0,t.jsx)("img",{src:j,alt:"Logo Dark",className:"max-h-24 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No dark logo uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:j,onChange:e=>N(e.target.value),placeholder:"/logo/logo_dark.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"logo-dark-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,N,"Dark Logo")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("logo-dark-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Dark Logo"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Favicon (Tab Icon)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"The icon displayed in browser address bar and tabs."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-secondary/20 border border-border/40 flex items-center justify-center p-4",children:w?(0,t.jsx)("img",{src:w,alt:"Favicon",className:"h-10 w-10 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No favicon uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:w,onChange:e=>k(e.target.value),placeholder:"/favicon.ico",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"favicon-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,k,"Favicon")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("favicon-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Favicon"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Open Graph Image (Social Sharing)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Primary sharing banner displayed on LinkedIn, Facebook, and Twitter links."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-secondary/20 border border-border/40 flex items-center justify-center overflow-hidden p-2",children:L?(0,t.jsx)("img",{src:L,alt:"OG Banner",className:"h-full w-full object-cover rounded-lg"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No OG image uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:L,onChange:e=>P(e.target.value),placeholder:"/og/propVault.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"og-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,P,"OG Image")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("og-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload OG Image"})]})]})]})]}),(0,t.jsx)("div",{className:"flex justify-end pt-4",children:(0,t.jsx)(p.Button,{onClick:W,disabled:M,className:"btn-gold h-11 px-8 gap-2 text-sm font-semibold",children:M?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Loader2,{className:"w-4 h-4 animate-spin"})," Saving Assets…"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Settings,{className:"w-4 h-4"})," Save Branding Assets"]})})})]}):(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/40 space-y-4",children:[(0,t.jsxs)("h2",{className:"font-semibold text-foreground flex items-center gap-2",children:[(0,t.jsx)(c.Star,{className:"h-4 w-4 text-primary"}),"Upload Source Logo"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{onClick:()=>O.current?.click(),onDragOver:e=>e.preventDefault(),onDrop:e=>{e.preventDefault();let t=e.dataTransfer.files[0];t?.type.startsWith("image/")&&q(t)},className:"relative flex flex-col items-center justify-center gap-3 p-8 rounded-2xl border-2 border-dashed border-border/60 hover:border-primary/40 cursor-pointer transition-all min-h-[180px] bg-secondary/20",children:[(0,t.jsx)("input",{ref:O,type:"file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&q(t),e.target.value=""}}),(0,t.jsx)(n.Upload,{className:"h-8 w-8 text-muted-foreground"}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Select Source Logo"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:"PNG, SVG, or WebP — min 512×512px recommended"})]})]}),(0,t.jsx)("div",{className:"flex flex-col items-center justify-center gap-3 p-6 rounded-2xl bg-secondary/30 min-h-[180px]",children:z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:z,alt:"Logo preview",className:"max-h-24 max-w-full object-contain"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:R?.name??"Selected logo"})]}):(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(d.Image,{className:"h-10 w-10"}),(0,t.jsx)("p",{className:"text-xs",children:"No logo selected yet"})]})})]}),(0,t.jsx)(p.Button,{onClick:V,disabled:!R||$,className:"btn-gold w-full h-11 gap-2",children:$?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Loader2,{className:"h-4 w-4 animate-spin"})," Generating Icons…"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Star,{className:"h-4 w-4"})," Generate All Icons & Favicons"]})})]}),(0,t.jsx)(a.AnimatePresence,{children:D.length>0&&(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},className:"p-6 rounded-2xl border border-emerald-500/20 bg-emerald-500/5 space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.CheckCircle2,{className:"h-5 w-5 text-emerald-400"}),(0,t.jsxs)("h2",{className:"font-semibold text-foreground",children:[D.length," Icons Generated"]})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 gap-3",children:D.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col items-center gap-2 p-3 rounded-xl bg-card/60 border border-border hover:border-primary/30 transition-all",children:[(0,t.jsx)("img",{src:e.url,alt:e.name,className:"h-10 w-10 object-contain"}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-[10px] font-medium text-foreground truncate w-full",children:e.size?K[e.size]??`${e.size}\xd7${e.size}`:`${e.width}\xd7${e.height}`}),(0,t.jsx)("p",{className:"text-[9px] text-muted-foreground truncate",children:e.name})]})]},e.name))}),(0,t.jsxs)("p",{className:"text-xs text-emerald-400/80",children:["All icons successfully generated and saved to ",(0,t.jsx)("code",{className:"font-mono",children:"/public/icons/"}),"."]})]})})]}),(0,t.jsx)(f.ProgressDialog,{open:$,title:"Generating Icons",description:"Creating all platform-specific icon sizes from your logo",progress:B,status:G})]})}],39361)}]);
|
|
9
|
+
`),()=>{p.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[s]),(0,t.jsx)(u,{isPresent:s,childRef:p,sizeRef:g,pop:o,children:!1===o?e:i.cloneElement(e,{ref:h})})}let m=({children:e,initial:s,isPresent:o,onExitComplete:i,custom:d,presenceAffectsLayout:c,mode:u,anchorX:m,anchorY:g,root:f})=>{let h=(0,a.useConstant)(p),b=(0,r.useId)(),y=(0,r.useRef)(o),v=(0,r.useRef)(i);(0,l.useIsomorphicLayoutEffect)(()=>{y.current=o,v.current=i});let j=!0,N=(0,r.useMemo)(()=>(j=!1,{id:b,initial:s,isPresent:o,custom:d,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;i&&i()},register:e=>(h.set(e,!1),()=>{h.delete(e),y.current||h.size||v.current?.()})}),[o,h,i]);return c&&j&&(N={...N}),(0,r.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[o]),r.useEffect(()=>{o||h.size||!i||i()},[o]),e=(0,t.jsx)(x,{pop:"popLayout"===u,isPresent:o,anchorX:m,anchorY:g,root:f,children:e}),(0,t.jsx)(n.PresenceContext.Provider,{value:N,children:e})};function p(){return new Map}var g=e.i(464978);let f=e=>e.key||"";function h(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:n,initial:o=!0,onExitComplete:i,presenceAffectsLayout:d=!0,mode:c="sync",propagate:u=!1,anchorX:x="left",anchorY:p="top",root:b})=>{let[y,v]=(0,g.usePresence)(u),j=(0,r.useMemo)(()=>h(e),[e]),N=u&&!y?[]:j.map(f),w=(0,r.useRef)(!0),k=(0,r.useRef)(j),S=(0,a.useConstant)(()=>new Map),C=(0,r.useRef)(new Set),[L,P]=(0,r.useState)(j),[M,E]=(0,r.useState)(j);(0,l.useIsomorphicLayoutEffect)(()=>{w.current=!1,k.current=j;for(let e=0;e<M.length;e++){let t=f(M[e]);N.includes(t)?(S.delete(t),C.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[M,N.length,N.join("-")]);let R=[];if(j!==L){let e=[...j];for(let t=0;t<M.length;t++){let r=M[t],s=f(r);N.includes(s)||(e.splice(t,0,r),R.push(r))}return"wait"===c&&R.length&&(e=R),E(h(e)),P(j),null}let{forceRender:U}=(0,r.useContext)(s.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:M.map(e=>{let r=f(e),s=(!u||!!y)&&(j===M||N.includes(r));return(0,t.jsx)(m,{isPresent:s,initial:(!w.current||!!o)&&void 0,custom:n,presenceAffectsLayout:d,mode:c,root:b,onExitComplete:s?void 0:()=>{if(C.current.has(r)||!S.has(r))return;C.current.add(r),S.set(r,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(U?.(),E(k.current),u&&v?.(),i&&i())},anchorX:x,anchorY:p,children:e},r)})})}],88653)},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},343420,e=>{"use strict";let t=(0,e.i(456420).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},352627,e=>{"use strict";let t=(0,e.i(456420).default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,t])},277464,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(846932),a=e.i(88653),l=e.i(755566),l=l,n=e.i(343420),n=n,o=e.i(352627),o=o,i=e.i(975157),d=e.i(519455);function c({open:e,title:u,description:x,confirmLabel:m="Confirm",cancelLabel:p="Cancel",variant:g="danger",onConfirm:f,onCancel:h,isLoading:b=!1}){let y=(0,r.useRef)(null);(0,r.useEffect)(()=>{let t=t=>{"Escape"===t.key&&e&&h()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,h]);let v={danger:(0,t.jsx)(o.default,{className:"h-10 w-10 text-destructive"}),warning:(0,t.jsx)(l.default,{className:"h-10 w-10 text-amber-500"}),info:(0,t.jsx)(n.default,{className:"h-10 w-10 text-primary"})};return(0,t.jsx)(a.AnimatePresence,{children:e&&(0,t.jsx)(s.motion.div,{ref:y,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[200] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)"},onClick:e=>{e.target===y.current&&h()},children:(0,t.jsx)(s.motion.div,{initial:{scale:.92,opacity:0,y:16},animate:{scale:1,opacity:1,y:0},exit:{scale:.92,opacity:0,y:16},transition:{type:"spring",stiffness:400,damping:30},className:"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-2xl",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[v[g],(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-foreground",children:u}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground leading-relaxed",children:x})]}),(0,t.jsxs)("div",{className:"flex w-full gap-3 mt-2",children:[(0,t.jsx)(d.Button,{variant:"outline",className:"flex-1",onClick:h,disabled:b,children:p}),(0,t.jsx)(d.Button,{variant:{danger:"destructive",warning:"default",info:"default"}[g],className:(0,i.cn)("flex-1","info"===g&&"btn-gold"),onClick:f,disabled:b,children:b?(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4",viewBox:"0 0 24 24",fill:"none",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8z"})]}),"Processing…"]}):m})]})]})})})})}e.s(["DeleteDialog",0,function({open:e,entityName:r,entityType:s="item",onConfirm:a,onCancel:l,isLoading:n=!1}){return(0,t.jsx)(c,{open:e,title:`Delete ${s}`,description:`Are you absolutely sure you want to delete "${r}"? This action cannot be undone and all associated data will be permanently removed.`,confirmLabel:"Delete Permanently",cancelLabel:"Keep it",variant:"danger",onConfirm:a,onCancel:l,isLoading:n})},"ProgressDialog",0,function({open:e,title:r,description:l,progress:n,status:o}){return(0,t.jsx)(a.AnimatePresence,{children:e&&(0,t.jsx)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[200] flex items-center justify-center p-4",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(4px)"},children:(0,t.jsxs)(s.motion.div,{initial:{scale:.92,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.92,opacity:0},className:"w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-2xl",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-foreground mb-1",children:r}),l&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-5",children:l}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,t.jsx)("span",{children:o??"Processing…"}),(0,t.jsxs)("span",{children:[Math.round(n),"%"]})]}),(0,t.jsx)("div",{className:"h-2 w-full rounded-full bg-secondary overflow-hidden",children:(0,t.jsx)(s.motion.div,{className:"h-full rounded-full bg-primary",initial:{width:0},animate:{width:`${n}%`},transition:{duration:.3}})})]})]})})})}],277464)},616933,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},960168,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["default",0,t])},551757,e=>{"use strict";var t=e.i(616933);e.s(["CheckCircle2",()=>t.default])},39361,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(846932),a=e.i(88653),l=e.i(846696),n=e.i(725981),o=e.i(632781),i=e.i(551757),d=e.i(815170),c=e.i(786563),u=e.i(166794),x=e.i(950786),m=e.i(960168),m=m,p=e.i(519455),g=e.i(277464),f=e.i(145129);e.s(["BrandingEditor",0,function({initialValues:e}){let[h,b]=(0,r.useState)("assets"),[y,v]=(0,r.useState)(e.logo),[j,N]=(0,r.useState)(e.logo_dark),[w,k]=(0,r.useState)(e.favicon),[S,C]=(0,r.useState)(e.apple_icon),[L,P]=(0,r.useState)(e.og_image),[M,E]=(0,r.useState)(!1),[R,U]=(0,r.useState)(null),[z,I]=(0,r.useState)(""),[$,A]=(0,r.useState)(!1),[B,F]=(0,r.useState)(0),[G,T]=(0,r.useState)(""),[D,_]=(0,r.useState)([]),O=(0,r.useRef)(null),H=async(e,t,r)=>{let s=l.toast.loading(`Uploading ${r}…`);try{let a=new FormData;a.append("file",e);let n=await fetch("/api/upload",{method:"POST",body:a});if(!n.ok)throw Error("Upload request failed");let o=await n.json();if(o.success&&o.url)t(o.url),l.toast.success(`${r} uploaded successfully!`,{id:s});else throw Error(o.error||"Failed to retrieve URL")}catch(e){l.toast.error(`Upload failed: ${e.message}`,{id:s})}},W=async()=>{E(!0);try{await (0,f.saveSettingsGroup)("branding",{logo:y,logo_dark:j,favicon:w,apple_icon:S}),await (0,f.saveSettingsGroup)("seo",{og_image:L}),l.toast.success("Branding settings saved successfully! Changes are now live.")}catch(e){l.toast.error(e.message||"Failed to save branding assets")}finally{E(!1)}},q=e=>{U(e),I(URL.createObjectURL(e)),_([])},V=async()=>{if(!R)return void l.toast.error("Please select a primary logo first");A(!0),F(0),T("Preparing logo…");try{let e=new FormData;e.append("file",R),F(20),T("Uploading logo…");let t=await fetch("/api/generate-icons",{method:"POST",body:e});if(F(60),T("Generating platform icon sizes…"),!t.ok){let e=await t.json();throw Error(e.error??"Generation failed")}let r=await t.json();F(90),T("Saving settings URLs…"),_(r.generated??[]);let s=r.generated?.find(e=>"favicon-32x32.png"===e.name),a=r.generated?.find(e=>"apple-touch-icon.png"===e.name),n=r.generated?.find(e=>"og-image.png"===e.name);s?.url&&k(s.url),a?.url&&C(a.url),n?.url&&P(n.url),await (0,f.saveSettingsGroup)("branding",{logo:z||y,favicon:s?.url??w,apple_icon:a?.url??S}),n?.url&&await (0,f.saveSettingsGroup)("seo",{og_image:n.url}),F(100),T("Done!"),l.toast.success(`Generated ${r.generated?.length??0} platform icons successfully!`)}catch(e){l.toast.error(e.message??"Generation failed")}finally{setTimeout(()=>A(!1),800)}},K={16:"Favicon 16px",32:"Favicon 32px",48:"Favicon 48px",72:"PWA 72px",96:"PWA 96px",128:"Chrome 128px",144:"MS Tile 144px",150:"MS Tile 150px",152:"iOS 152px",180:"Apple Touch",192:"Android 192px",384:"PWA 384px",512:"Android 512px"};return(0,t.jsxs)("div",{className:"max-w-6xl space-y-8",children:[(0,t.jsx)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-4 border-b border-border/60 pb-6",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-foreground tracking-tight",children:"Branding & Logo Settings"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Configure your corporate logo assets, favicons, social Open Graph images, and platform icons."})]})}),(0,t.jsxs)("div",{className:"flex gap-2 border-b border-border/40 pb-px",children:[(0,t.jsxs)("button",{onClick:()=>b("assets"),className:`flex items-center gap-2 px-4 py-2.5 text-sm font-semibold border-b-2 transition-all ${"assets"===h?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[(0,t.jsx)(x.Palette,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Branding Assets"})]}),(0,t.jsxs)("button",{onClick:()=>b("generator"),className:`flex items-center gap-2 px-4 py-2.5 text-sm font-semibold border-b-2 transition-all ${"generator"===h?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[(0,t.jsx)(m.default,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Auto Icon Generator"})]})]}),"assets"===h?(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Primary Logo (Light Theme)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Default logo rendered on transparent or light page headers."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-white border border-border/40 flex items-center justify-center p-4",children:y?(0,t.jsx)("img",{src:y,alt:"Logo Light",className:"max-h-24 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No logo uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:y,onChange:e=>v(e.target.value),placeholder:"/logo/logo.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"logo-light-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,v,"Light Logo")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("logo-light-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Logo File"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Dark Mode Logo"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"High-contrast logo used specifically for dark mode headers."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-[hsl(240,20%,5%)] border border-border/40 flex items-center justify-center p-4",children:j?(0,t.jsx)("img",{src:j,alt:"Logo Dark",className:"max-h-24 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No dark logo uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:j,onChange:e=>N(e.target.value),placeholder:"/logo/logo_dark.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"logo-dark-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,N,"Dark Logo")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("logo-dark-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Dark Logo"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Favicon (Tab Icon)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"The icon displayed in browser address bar and tabs."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-secondary/20 border border-border/40 flex items-center justify-center p-4",children:w?(0,t.jsx)("img",{src:w,alt:"Favicon",className:"h-10 w-10 object-contain"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No favicon uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:w,onChange:e=>k(e.target.value),placeholder:"/favicon.ico",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"favicon-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,k,"Favicon")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("favicon-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload Favicon"})]})]})]}),(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/20 space-y-4 flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"font-semibold text-foreground flex items-center gap-2 mb-1",children:[(0,t.jsx)(d.Image,{className:"w-4 h-4 text-primary"}),"Open Graph Image (Social Sharing)"]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Primary sharing banner displayed on LinkedIn, Facebook, and Twitter links."}),(0,t.jsx)("div",{className:"my-4 h-32 rounded-xl bg-secondary/20 border border-border/40 flex items-center justify-center overflow-hidden p-2",children:L?(0,t.jsx)("img",{src:L,alt:"OG Banner",className:"h-full w-full object-cover rounded-lg"}):(0,t.jsx)("span",{className:"text-xs text-slate-400",children:"No OG image uploaded"})})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("input",{type:"text",value:L,onChange:e=>P(e.target.value),placeholder:"/og/propVault.png",className:"w-full px-3 py-2 bg-secondary/50 border border-border rounded-lg text-xs text-foreground focus:outline-none focus:ring-1 focus:ring-primary"}),(0,t.jsx)("input",{type:"file",id:"og-file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&H(t,P,"OG Image")}}),(0,t.jsxs)(p.Button,{onClick:()=>document.getElementById("og-file")?.click(),variant:"gold-outline",size:"sm",className:"w-full h-9 gap-2 text-xs",children:[(0,t.jsx)(n.Upload,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:"Upload OG Image"})]})]})]})]}),(0,t.jsx)("div",{className:"flex justify-end pt-4",children:(0,t.jsx)(p.Button,{onClick:W,disabled:M,className:"btn-gold h-11 px-8 gap-2 text-sm font-semibold",children:M?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Loader2,{className:"w-4 h-4 animate-spin"})," Saving Assets…"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Settings,{className:"w-4 h-4"})," Save Branding Assets"]})})})]}):(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"p-6 rounded-2xl border border-border bg-card/40 space-y-4",children:[(0,t.jsxs)("h2",{className:"font-semibold text-foreground flex items-center gap-2",children:[(0,t.jsx)(c.Star,{className:"h-4 w-4 text-primary"}),"Upload Source Logo"]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{onClick:()=>O.current?.click(),onDragOver:e=>e.preventDefault(),onDrop:e=>{e.preventDefault();let t=e.dataTransfer.files[0];t?.type.startsWith("image/")&&q(t)},className:"relative flex flex-col items-center justify-center gap-3 p-8 rounded-2xl border-2 border-dashed border-border/60 hover:border-primary/40 cursor-pointer transition-all min-h-[180px] bg-secondary/20",children:[(0,t.jsx)("input",{ref:O,type:"file",accept:"image/*",className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&q(t),e.target.value=""}}),(0,t.jsx)(n.Upload,{className:"h-8 w-8 text-muted-foreground"}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-foreground",children:"Select Source Logo"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:"PNG, SVG, or WebP — min 512×512px recommended"})]})]}),(0,t.jsx)("div",{className:"flex flex-col items-center justify-center gap-3 p-6 rounded-2xl bg-secondary/30 min-h-[180px]",children:z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:z,alt:"Logo preview",className:"max-h-24 max-w-full object-contain"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:R?.name??"Selected logo"})]}):(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(d.Image,{className:"h-10 w-10"}),(0,t.jsx)("p",{className:"text-xs",children:"No logo selected yet"})]})})]}),(0,t.jsx)(p.Button,{onClick:V,disabled:!R||$,className:"btn-gold w-full h-11 gap-2",children:$?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Loader2,{className:"h-4 w-4 animate-spin"})," Generating Icons…"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Star,{className:"h-4 w-4"})," Generate All Icons & Favicons"]})})]}),(0,t.jsx)(a.AnimatePresence,{children:D.length>0&&(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},className:"p-6 rounded-2xl border border-emerald-500/20 bg-emerald-500/5 space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.CheckCircle2,{className:"h-5 w-5 text-emerald-400"}),(0,t.jsxs)("h2",{className:"font-semibold text-foreground",children:[D.length," Icons Generated"]})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 gap-3",children:D.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col items-center gap-2 p-3 rounded-xl bg-card/60 border border-border hover:border-primary/30 transition-all",children:[(0,t.jsx)("img",{src:e.url,alt:e.name,className:"h-10 w-10 object-contain"}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("p",{className:"text-[10px] font-medium text-foreground truncate w-full",children:e.size?K[e.size]??`${e.size}\xd7${e.size}`:`${e.width}\xd7${e.height}`}),(0,t.jsx)("p",{className:"text-[9px] text-muted-foreground truncate",children:e.name})]})]},e.name))}),(0,t.jsxs)("p",{className:"text-xs text-emerald-400/80",children:["All icons successfully generated and saved to ",(0,t.jsx)("code",{className:"font-mono",children:"/public/icons/"}),"."]})]})})]}),(0,t.jsx)(g.ProgressDialog,{open:$,title:"Generating Icons",description:"Creating all platform-specific icon sizes from your logo",progress:B,status:G})]})}],39361)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(975157);let t=a.forwardRef(({className:e,type:a,...t},l)=>(0,r.jsx)("input",{type:a,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:l,...t}));t.displayName="Input",e.s(["Input",0,t])},519455,225913,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(991918),t=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx,i=(e,r)=>a=>{var s;if((null==r?void 0:r.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:t,defaultVariants:i}=r,o=Object.keys(t).map(e=>{let r=null==a?void 0:a[e],s=null==i?void 0:i[e];if(null===r)return null;let n=l(r)||l(s);return t[e][n]}),d=a&&Object.entries(a).reduce((e,r)=>{let[a,s]=r;return void 0===s||(e[a]=s),e},{});return n(e,o,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:a,className:s,...t}=r;return Object.entries(t).every(e=>{let[r,a]=e;return Array.isArray(a)?a.includes({...i,...d}[r]):({...i,...d})[r]===a})?[...e,a,s]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)};e.s(["cva",0,i],225913);var o=e.i(975157);let d=i("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef(({className:e,variant:a,size:t,asChild:l=!1,...n},i)=>{let c=l?s.Slot:"button";return(0,r.jsx)(c,{className:(0,o.cn)(d({variant:a,size:t,className:e})),ref:i,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let r=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,r],758379),e.s(["Loader2",0,r],632781)},95187,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var t in s)Object.defineProperty(a,t,{enumerable:!0,get:s[t]});let l=e.r(132120),n=e.r(92245),i=e.r(235326)},110204,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(248425),t=a.forwardRef((e,a)=>(0,r.jsx)(s.Primitive.label,{...e,ref:a,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));t.displayName="Label";var l=e.i(975157);let n=a.forwardRef(({className:e,...a},s)=>(0,r.jsx)(t,{ref:s,className:(0,l.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...a}));n.displayName=t.displayName,e.s(["Label",0,n],110204)},869860,e=>{"use strict";let r=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["default",0,r])},856522,e=>{"use strict";var r=e.i(869860);e.s(["Save",()=>r.default])},639136,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(846696),t=e.i(901279),l=e.i(982954),n=e.i(61876),i=e.i(632781),o=e.i(856522),d=e.i(519455),c=e.i(793479),u=e.i(110204),p=e.i(95187);let m=(0,p.createServerReference)("
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(975157);let t=a.forwardRef(({className:e,type:a,...t},l)=>(0,r.jsx)("input",{type:a,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:l,...t}));t.displayName="Input",e.s(["Input",0,t])},519455,225913,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(991918),t=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx,i=(e,r)=>a=>{var s;if((null==r?void 0:r.variants)==null)return n(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:t,defaultVariants:i}=r,o=Object.keys(t).map(e=>{let r=null==a?void 0:a[e],s=null==i?void 0:i[e];if(null===r)return null;let n=l(r)||l(s);return t[e][n]}),d=a&&Object.entries(a).reduce((e,r)=>{let[a,s]=r;return void 0===s||(e[a]=s),e},{});return n(e,o,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:a,className:s,...t}=r;return Object.entries(t).every(e=>{let[r,a]=e;return Array.isArray(a)?a.includes({...i,...d}[r]):({...i,...d})[r]===a})?[...e,a,s]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)};e.s(["cva",0,i],225913);var o=e.i(975157);let d=i("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef(({className:e,variant:a,size:t,asChild:l=!1,...n},i)=>{let c=l?s.Slot:"button";return(0,r.jsx)(c,{className:(0,o.cn)(d({variant:a,size:t,className:e})),ref:i,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let r=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,r],758379),e.s(["Loader2",0,r],632781)},95187,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var t in s)Object.defineProperty(a,t,{enumerable:!0,get:s[t]});let l=e.r(132120),n=e.r(92245),i=e.r(235326)},110204,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(248425),t=a.forwardRef((e,a)=>(0,r.jsx)(s.Primitive.label,{...e,ref:a,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));t.displayName="Label";var l=e.i(975157);let n=a.forwardRef(({className:e,...a},s)=>(0,r.jsx)(t,{ref:s,className:(0,l.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...a}));n.displayName=t.displayName,e.s(["Label",0,n],110204)},869860,e=>{"use strict";let r=(0,e.i(456420).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["default",0,r])},856522,e=>{"use strict";var r=e.i(869860);e.s(["Save",()=>r.default])},639136,e=>{"use strict";var r=e.i(843476),a=e.i(271645),s=e.i(846696),t=e.i(901279),l=e.i(982954),n=e.i(61876),i=e.i(632781),o=e.i(856522),d=e.i(519455),c=e.i(793479),u=e.i(110204),p=e.i(95187);let m=(0,p.createServerReference)("40dc1f492fbaac4553b7c9e93c74f8301433f1a5af",p.callServer,void 0,p.findSourceMapURL,"updateProfile"),h=(0,p.createServerReference)("40ea9ce06a5b4392e3b975e33322e6274638656b54",p.callServer,void 0,p.findSourceMapURL,"changePassword");e.s(["ProfileEditor",0,function({user:e}){let[p,f]=(0,a.useState)(e.name||""),[v,x]=(0,a.useState)(e.phone||""),[g,b]=(0,a.useState)(e.image||""),[y,w]=(0,a.useState)({current:"",new:"",confirm:""}),[j,N]=(0,a.useTransition)();return(0,r.jsxs)("div",{className:"grid md:grid-cols-2 gap-8 max-w-5xl",children:[(0,r.jsxs)("div",{className:"glass-card rounded-2xl border border-border p-6 md:p-8 space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-lg font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(t.User,{className:"h-5 w-5 text-primary"}),"Profile Details"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Configure your personal operator credentials and display image."})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"email",children:"Email Address"}),(0,r.jsx)(c.Input,{id:"email",value:e.email||"",disabled:!0,className:"bg-secondary/40 text-muted-foreground"}),(0,r.jsx)("p",{className:"text-[10px] text-muted-foreground",children:"Your primary identifier cannot be modified."})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"name",children:"Full Display Name"}),(0,r.jsx)(c.Input,{id:"name",value:p,onChange:e=>f(e.target.value),placeholder:"e.g. Vikram Sharma"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"phone",children:"Contact Phone"}),(0,r.jsx)(c.Input,{id:"phone",value:v,onChange:e=>x(e.target.value),placeholder:"e.g. +91 99999 99999"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"avatar",children:"Avatar Image URL"}),(0,r.jsx)(c.Input,{id:"avatar",value:g,onChange:e=>b(e.target.value),placeholder:"e.g. /uploads/avatar.png"})]})]}),(0,r.jsxs)(d.Button,{onClick:()=>{p.trim()?N(async()=>{let e=await m({name:p,phone:v,image:g||void 0});e.success?s.toast.success("Profile details updated successfully"):s.toast.error(e.error||"Failed to update profile")}):s.toast.error("Name is required")},disabled:j,className:"btn-gold w-full gap-2",children:[j?(0,r.jsx)(i.Loader2,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(o.Save,{className:"h-4 w-4"}),"Save Profile Details"]})]}),(0,r.jsxs)("div",{className:"glass-card rounded-2xl border border-border p-6 md:p-8 space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-lg font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(n.Key,{className:"h-5 w-5 text-primary"}),"Security & Credentials"]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Update your administrative login credentials regularly."})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"current-pwd",children:"Current Password"}),(0,r.jsx)(c.Input,{id:"current-pwd",type:"password",value:y.current,onChange:e=>w({...y,current:e.target.value}),placeholder:"••••••••••••"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"new-pwd",children:"New Password"}),(0,r.jsx)(c.Input,{id:"new-pwd",type:"password",value:y.new,onChange:e=>w({...y,new:e.target.value}),placeholder:"••••••••••••"}),(0,r.jsx)("p",{className:"text-[10px] text-muted-foreground",children:"Minimum 8 characters, with letters and numbers."})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.Label,{htmlFor:"confirm-pwd",children:"Confirm New Password"}),(0,r.jsx)(c.Input,{id:"confirm-pwd",type:"password",value:y.confirm,onChange:e=>w({...y,confirm:e.target.value}),placeholder:"••••••••••••"})]})]}),(0,r.jsxs)(d.Button,{onClick:()=>{y.current&&y.new?y.new.length<8?s.toast.error("New password must be at least 8 characters long"):y.new!==y.confirm?s.toast.error("New passwords do not match"):N(async()=>{let e=await h({current:y.current,new:y.new});e.success?(s.toast.success("Password changed successfully"),w({current:"",new:"",confirm:""})):s.toast.error(e.error||"Failed to change password")}):s.toast.error("All password fields are required")},disabled:j,className:"btn-gold w-full gap-2",children:[j?(0,r.jsx)(i.Loader2,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(l.Shield,{className:"h-4 w-4"}),"Update Login Credentials"]})]})]})}],639136)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77834,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["default",0,t])},503290,e=>{"use strict";let t=(0,e.i(456420).default)("indian-rupee",[["path",{d:"M6 3h12",key:"ggurg9"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"m6 13 8.5 8",key:"u1kupk"}],["path",{d:"M6 13h3",key:"wdp6ag"}],["path",{d:"M9 13c6.667 0 6.667-10 0-10",key:"1nkvk2"}]]);e.s(["default",0,t])},188873,e=>{"use strict";let t=(0,e.i(456420).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,t])},548161,402661,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,t],402661),e.s(["CheckCircle",0,t],548161)},85291,e=>{"use strict";var t=e.i(681307);t.z.string().uuid();let a=t.z.string().min(1).max(255).regex(/^[a-z0-9-]+$/,"Slug can only contain lowercase letters, numbers, and hyphens");t.z.object({page:t.z.coerce.number().int().positive().default(1),per_page:t.z.coerce.number().int().positive().max(100).default(12),sort_by:t.z.string().optional(),sort_dir:t.z.enum(["asc","desc"]).default("desc"),q:t.z.string().optional()}),t.z.object({email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters"),remember_me:t.z.boolean().optional().default(!1)}),t.z.object({name:t.z.string().min(2,"Name must be at least 2 characters").max(100),email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters").max(100).regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[0-9]/,"Password must contain at least one number"),confirm_password:t.z.string(),phone:t.z.string().regex(/^\+?[1-9]\d{9,14}$/,"Invalid phone number").optional()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]}),t.z.object({email:t.z.string().email("Invalid email address")}),t.z.object({token:t.z.string().min(1),password:t.z.string().min(8,"Password must be at least 8 characters").max(100),confirm_password:t.z.string()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]});let i=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address").optional().or(t.z.literal("")),phone:t.z.string().min(10,"Valid phone number is required").regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number"),message:t.z.string().max(1e3).optional(),project_id:t.z.string().optional(),source:t.z.string().optional().default("website"),budget_min:t.z.coerce.number().optional(),budget_max:t.z.coerce.number().optional(),property_type:t.z.string().optional(),utm_source:t.z.string().optional(),utm_medium:t.z.string().optional(),utm_campaign:t.z.string().optional()}),r=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address"),phone:t.z.string().regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number").optional().or(t.z.literal("")),subject:t.z.string().min(3,"Subject is required").max(200),message:t.z.string().min(10,"Message must be at least 10 characters").max(2e3)});t.z.object({email:t.z.string().email("Invalid email address"),name:t.z.string().max(100).optional()});let s=t.z.object({name:t.z.string().min(2).max(255),slug:a.optional(),tagline:t.z.string().max(500).optional(),description:t.z.string().min(20,"Description must be at least 20 characters"),short_description:t.z.string().max(500).optional(),status:t.z.enum(["upcoming","ongoing","completed","on_hold"]),category:t.z.enum(["luxury","residential","commercial","rental","villa","plot"]),possession_status:t.z.enum(["ready_to_move","under_construction","nearing_possession"]),is_featured:t.z.boolean().default(!1),is_luxury:t.z.boolean().default(!1),is_new_launch:t.z.boolean().default(!1),is_rera_registered:t.z.boolean().default(!1),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),price_min:t.z.coerce.number().positive("Price must be positive"),price_max:t.z.coerce.number().positive("Price must be positive"),price_per_sqft:t.z.coerce.number().optional(),currency:t.z.string().default("INR"),address:t.z.string().min(5,"Address is required"),landmark:t.z.string().optional(),location_id:t.z.string().optional(),city_id:t.z.string().min(1,"City is required"),state_id:t.z.string().min(1,"State is required"),country_id:t.z.string().optional().default("IN"),pincode:t.z.string().optional(),latitude:t.z.coerce.number().optional(),longitude:t.z.coerce.number().optional(),google_maps_url:t.z.string().url().optional().or(t.z.literal("")),total_units:t.z.coerce.number().int().optional(),total_floors:t.z.coerce.number().int().optional(),total_towers:t.z.coerce.number().int().optional(),total_area_acres:t.z.coerce.number().optional(),open_space_percent:t.z.coerce.number().min(0).max(100).optional(),possession_date:t.z.string().optional(),launch_date:t.z.string().optional(),builder_id:t.z.string().min(1,"Builder is required"),property_type_id:t.z.string().optional(),cover_image:t.z.string().optional(),brochure_url:t.z.string().optional(),video_url:t.z.string().optional(),virtual_tour_url:t.z.string().url().optional().or(t.z.literal("")),rera_number:t.z.string().optional(),rera_expiry_date:t.z.string().optional(),inquiry_email:t.z.string().email().optional().or(t.z.literal("")),inquiry_phone:t.z.string().optional(),whatsapp_number:t.z.string().optional(),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional(),og_image:t.z.string().optional()});t.z.object({title:t.z.string().min(5).max(255),slug:a.optional(),subtitle:t.z.string().max(500).optional(),content:t.z.string().min(100,"Content must be at least 100 characters"),excerpt:t.z.string().max(500).optional(),cover_image:t.z.string().optional(),category:t.z.string().min(1,"Category is required"),tags:t.z.string().optional(),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),published_at:t.z.string().optional(),is_featured:t.z.boolean().default(!1),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({status:t.z.enum(["new","contacted","qualified","site_visit","negotiating","closed_won","closed_lost","junk"]).optional(),assigned_to:t.z.string().optional(),next_follow_up:t.z.string().optional(),is_qualified:t.z.boolean().optional(),is_site_visit_done:t.z.boolean().optional()}),t.z.object({content:t.z.string().min(1,"Note content is required").max(5e3),type:t.z.enum(["note","call","email","whatsapp","site_visit","meeting"]).default("note"),is_private:t.z.boolean().default(!1)}),t.z.record(t.z.string(),t.z.string()),t.z.object({name:t.z.string().min(2).max(100),email:t.z.string().email(),phone:t.z.string().optional(),is_active:t.z.boolean().default(!0),role_ids:t.z.array(t.z.string()).optional()}),t.z.object({name:t.z.string().min(2).max(255),slug:a.optional(),logo:t.z.string().optional(),description:t.z.string().optional(),short_description:t.z.string().max(500).optional(),founded_year:t.z.coerce.number().int().min(1900).max(2030).optional(),website:t.z.string().url().optional().or(t.z.literal("")),email:t.z.string().email().optional().or(t.z.literal("")),phone:t.z.string().optional(),address:t.z.string().optional(),city_id:t.z.string().optional(),state_id:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_verified:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({author_name:t.z.string().min(2).max(100),author_designation:t.z.string().optional(),author_company:t.z.string().optional(),author_avatar:t.z.string().optional(),content:t.z.string().min(10).max(2e3),rating:t.z.coerce.number().int().min(1).max(5),project_id:t.z.string().optional(),city:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),video_url:t.z.string().optional()}),t.z.object({question:t.z.string().min(5).max(500),answer:t.z.string().min(10).max(5e3),category:t.z.string().default("general"),sort_order:t.z.coerce.number().int().default(0),is_active:t.z.boolean().default(!0),project_id:t.z.string().optional()}),e.s(["contactSchema",0,r,"enquirySchema",0,i,"projectSchema",0,s])},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},901279,71395,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["default",0,t],71395),e.s(["User",0,t],901279)},468590,991313,e=>{"use strict";let t=(0,e.i(456420).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["default",0,t],991313),e.s(["MessageSquare",0,t],468590)},520144,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(653145),r=e.i(994814),s=e.i(846932),n=e.i(88653),l=e.i(575387),o=e.i(96315),d=e.i(901279),c=e.i(468590),u=e.i(730274),p=e.i(548161),h=e.i(632781),m=e.i(846696),f=e.i(519455),y=e.i(793479),g=e.i(110204),x=e.i(624687),v=e.i(85291),z=e.i(95187);let k=(0,z.createServerReference)("40c524beb90b67732157c541526047913b2014ec98",z.callServer,void 0,z.findSourceMapURL,"submitEnquiry");var b=e.i(975157);e.s(["EnquiryForm",0,function({projectId:e,projectName:z,source:_="website",className:w,compact:M=!1,title:j="Get Expert Advice",subtitle:N="Our property consultants are ready to help you find your dream home."}){let[A,C]=(0,a.useState)(!1),[R,S]=(0,a.useState)(!1),{register:I,handleSubmit:P,formState:{errors:q},reset:O}=(0,i.useForm)({resolver:(0,r.zodResolver)(v.enquirySchema),defaultValues:{source:_,project_id:e}}),T=async e=>{S(!0);try{let t=await k(e);t.success?(C(!0),O()):m.toast.error(t.error??"Something went wrong. Please try again.")}catch{m.toast.error("Something went wrong. Please try again.")}finally{S(!1)}};return(0,t.jsx)("div",{className:(0,b.cn)("luxury-card p-6 lg:p-8",w),children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:A?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-green-500/15 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(p.CheckCircle,{className:"w-8 h-8 text-green-400"})}),(0,t.jsx)("h3",{className:"font-display text-xl font-bold text-foreground mb-2",children:"Thank You!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-6",children:"Our property consultant will reach you within 24 hours."}),(0,t.jsx)(f.Button,{variant:"gold-outline",size:"sm",onClick:()=>C(!1),children:"Submit Another Enquiry"})]},"success"):(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},children:[!M&&(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"font-display text-xl lg:text-2xl font-bold text-foreground mb-2",children:j}),z&&(0,t.jsxs)("p",{className:"text-[hsl(36,82%,47%)] text-sm font-medium mb-1",children:["For: ",z]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:N})]}),(0,t.jsxs)("form",{onSubmit:P(T),className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(g.Label,{htmlFor:"enq-name",children:["Full Name ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(d.User,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-name",...I("name"),placeholder:"John Doe",className:(0,b.cn)("pl-9",q.name&&"border-destructive")})]}),q.name&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:q.name.message})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(g.Label,{htmlFor:"enq-phone",children:["Phone Number ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Phone,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-phone",...I("phone"),placeholder:"+91 98765 43210",type:"tel",className:(0,b.cn)("pl-9",q.phone&&"border-destructive")})]}),q.phone&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:q.phone.message})]}),!M&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"enq-email",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-email",...I("email"),placeholder:"john@example.com",type:"email",className:"pl-9"})]})]}),!M&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"enq-message",children:"Message"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(c.MessageSquare,{className:"absolute left-3 top-3 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Textarea,{id:"enq-message",...I("message"),placeholder:"I am interested in 2BHK, budget ₹1–1.5 Cr...",className:"pl-9 min-h-[100px] resize-none"})]})]}),(0,t.jsx)("input",{type:"hidden",...I("project_id"),value:e}),(0,t.jsx)("input",{type:"hidden",...I("source"),value:_}),(0,t.jsx)(f.Button,{type:"submit",variant:"gold",className:"w-full",size:"lg",disabled:R,children:R?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Loader2,{className:"w-4 h-4 animate-spin"}),"Submitting..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Send,{className:"w-4 h-4"}),"Get Free Consultation"]})}),(0,t.jsxs)("p",{className:"text-center text-xs text-muted-foreground",children:["By submitting, you agree to our"," ",(0,t.jsx)("a",{href:"/privacy",className:"underline hover:text-foreground",children:"Privacy Policy"}),". We never share your data."]})]})]},"form")})})}],520144)},822797,e=>{"use strict";let t=(0,e.i(456420).default)("bath",[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]]);e.s(["default",0,t])},403323,e=>{"use strict";let t=(0,e.i(456420).default)("bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);e.s(["default",0,t])},737623,e=>{"use strict";let t=(0,e.i(456420).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["default",0,t])},474453,e=>{"use strict";let t=(0,e.i(456420).default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["default",0,t])},699939,e=>{"use strict";let t=(0,e.i(456420).default)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);e.s(["default",0,t])},273443,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(30030),r=e.i(75830),s=e.i(820783),n=e.i(981140),l=e.i(369340),o=e.i(248425),d=e.i(934620),c=e.i(296626),u=e.i(610772),p="Collapsible",[h,m]=(0,i.createContextScope)(p),[f,y]=h(p),g=a.forwardRef((e,i)=>{let{__scopeCollapsible:r,open:s,defaultOpen:n,disabled:d,onOpenChange:c,...h}=e,[m,y]=(0,l.useControllableState)({prop:s,defaultProp:n??!1,onChange:c,caller:p});return(0,t.jsx)(f,{scope:r,disabled:d,contentId:(0,u.useId)(),open:m,onOpenToggle:a.useCallback(()=>y(e=>!e),[y]),children:(0,t.jsx)(o.Primitive.div,{"data-state":_(m),"data-disabled":d?"":void 0,...h,ref:i})})});g.displayName=p;var x="CollapsibleTrigger",v=a.forwardRef((e,a)=>{let{__scopeCollapsible:i,...r}=e,s=y(x,i);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":_(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,s.onOpenToggle)})});v.displayName=x;var z="CollapsibleContent",k=a.forwardRef((e,a)=>{let{forceMount:i,...r}=e,s=y(z,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:i||s.open,children:({present:e})=>(0,t.jsx)(b,{...r,ref:a,present:e})})});k.displayName=z;var b=a.forwardRef((e,i)=>{let{__scopeCollapsible:r,present:n,children:l,...c}=e,u=y(z,r),[p,h]=a.useState(n),m=a.useRef(null),f=(0,s.useComposedRefs)(i,m),g=a.useRef(0),x=g.current,v=a.useRef(0),k=v.current,b=u.open||p,w=a.useRef(b),M=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=m.current;if(e){M.current=M.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,w.current||(e.style.transitionDuration=M.current.transitionDuration,e.style.animationName=M.current.animationName),h(n)}},[u.open,n]),(0,t.jsx)(o.Primitive.div,{"data-state":_(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!b,...c,ref:f,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":k?`${k}px`:void 0,...e.style},children:b&&l})});function _(e){return e?"open":"closed"}var w=e.i(586318),M="Accordion",j=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[N,A,C]=(0,r.createCollection)(M),[R,S]=(0,i.createContextScope)(M,[C,m]),I=m(),P=a.forwardRef((e,a)=>{let{type:i,...r}=e;return(0,t.jsx)(N.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(U,{...r,ref:a}):(0,t.jsx)(L,{...r,ref:a})})});P.displayName=M;var[q,O]=R(M),[T,E]=R(M,{collapsible:!1}),L=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},collapsible:o=!1,...d}=e,[c,u]=(0,l.useControllableState)({prop:r,defaultProp:s??"",onChange:n,caller:M});return(0,t.jsx)(q,{scope:e.__scopeAccordion,value:a.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:a.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(B,{...d,ref:i})})})}),U=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},...o}=e,[d,c]=(0,l.useControllableState)({prop:r,defaultProp:s??[],onChange:n,caller:M}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),p=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(q,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:p,children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(B,{...o,ref:i})})})}),[H,D]=R(M),B=a.forwardRef((e,i)=>{let{__scopeAccordion:r,disabled:l,dir:d,orientation:c="vertical",...u}=e,p=a.useRef(null),h=(0,s.useComposedRefs)(p,i),m=A(r),f="ltr"===(0,w.useDirection)(d),y=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!j.includes(e.key))return;let t=e.target,a=m().filter(e=>!e.ref.current?.disabled),i=a.findIndex(e=>e.ref.current===t),r=a.length;if(-1===i)return;e.preventDefault();let s=i,n=r-1,l=()=>{(s=i+1)>n&&(s=0)},o=()=>{(s=i-1)<0&&(s=n)};switch(e.key){case"Home":s=0;break;case"End":s=n;break;case"ArrowRight":"horizontal"===c&&(f?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(f?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=s%r;a[d].ref.current?.focus()});return(0,t.jsx)(H,{scope:r,disabled:l,direction:d,orientation:c,children:(0,t.jsx)(N.Slot,{scope:r,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":c,ref:h,onKeyDown:l?void 0:y})})})}),F="AccordionItem",[V,W]=R(F),K=a.forwardRef((e,a)=>{let{__scopeAccordion:i,value:r,...s}=e,n=D(F,i),l=O(F,i),o=I(i),d=(0,u.useId)(),c=r&&l.value.includes(r)||!1,p=n.disabled||e.disabled;return(0,t.jsx)(V,{scope:i,open:c,disabled:p,triggerId:d,children:(0,t.jsx)(g,{"data-orientation":n.orientation,"data-state":Q(c),...o,...s,ref:a,disabled:p,open:c,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})});K.displayName=F;var $="AccordionHeader",X=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W($,i);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":s.orientation,"data-state":Q(n.open),"data-disabled":n.disabled?"":void 0,...r,ref:a})});X.displayName=$;var G="AccordionTrigger",J=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W(G,i),l=E(G,i),o=I(i);return(0,t.jsx)(N.ItemSlot,{scope:i,children:(0,t.jsx)(v,{"aria-disabled":n.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:n.triggerId,...o,...r,ref:a})})});J.displayName=G;var Z="AccordionContent",Y=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W(Z,i),l=I(i);return(0,t.jsx)(k,{role:"region","aria-labelledby":n.triggerId,"data-orientation":s.orientation,...l,...r,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Q(e){return e?"open":"closed"}Y.displayName=Z;var ee=e.i(716327),et=e.i(975157);let ea=a.forwardRef(({className:e,...a},i)=>(0,t.jsx)(K,{ref:i,className:(0,et.cn)("border-b border-border",e),...a}));ea.displayName="AccordionItem";let ei=a.forwardRef(({className:e,children:a,...i},r)=>(0,t.jsx)(X,{className:"flex",children:(0,t.jsxs)(J,{ref:r,className:(0,et.cn)("flex flex-1 items-center justify-between py-4 font-medium text-foreground transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...i,children:[a,(0,t.jsx)(ee.ChevronDown,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));ei.displayName=J.displayName;let er=a.forwardRef(({className:e,children:a,...i},r)=>(0,t.jsx)(Y,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,t.jsx)("div",{className:(0,et.cn)("pb-4 pt-0",e),children:a})}));er.displayName=Y.displayName,e.s(["Accordion",0,P,"AccordionContent",0,er,"AccordionItem",0,ea,"AccordionTrigger",0,ei],273443)},75830,e=>{"use strict";var t=e.i(271645),a=e.i(30030),i=e.i(820783),r=e.i(991918),s=e.i(843476),n=new WeakMap;function l(e,t){var a,i;let r,s,n;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(a=e,i=t,r=a.length,(n=(s=o(i))>=0?s:r+s)<0||n>=r?-1:n);return -1===l?void 0:e[l]}function o(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],n.set(this,!0)}set(e,t){return n.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,a){let i,r=this.has(t),s=this.#e.length,n=o(e),l=n>=0?n:s+n,d=l<0||l>=s?-1:l;if(d===this.size||r&&d===this.size-1||-1===d)return this.set(t,a),this;let c=this.size+ +!r;n<0&&l++;let u=[...this.#e],p=!1;for(let e=l;e<c;e++)if(l===e){let s=u[e];u[e]===t&&(s=u[e+1]),r&&this.delete(t),i=this.get(s),this.set(t,a)}else{p||u[e-1]!==t||(p=!0);let a=u[p?e:e-1],r=i;i=this.get(a),this.delete(a),this.set(a,r)}return this}with(t,a,i){let r=new e(this);return r.insert(t,a,i),r}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,a){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,a)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,a){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,a)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let a=this.indexOf(e);if(-1===a)return;let i=a+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let a=this.indexOf(e);if(-1===a)return;let i=a+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return i;a++}}findIndex(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return a;a++}return -1}filter(t,a){let i=[],r=0;for(let e of this)Reflect.apply(t,a,[e,r,this])&&i.push(e),r++;return new e(i)}map(t,a){let i=[],r=0;for(let e of this)i.push([e[0],Reflect.apply(t,a,[e,r,this])]),r++;return new e(i)}reduce(...e){let[t,a]=e,i=0,r=a??this.at(0);for(let a of this)r=0===i&&1===e.length?a:Reflect.apply(t,this,[r,a,i,this]),i++;return r}reduceRight(...e){let[t,a]=e,i=a??this.at(-1);for(let a=this.size-1;a>=0;a--){let r=this.at(a);i=a===this.size-1&&1===e.length?r:Reflect.apply(t,this,[i,r,a,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let a=this.keyAt(e),i=this.get(a);t.set(a,i)}return t}toSpliced(...t){let a=[...this.entries()];return a.splice(...t),new e(a)}slice(t,a){let i=new e,r=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==a&&a>0&&(r=a-1);for(let e=t;e<=r;e++){let t=this.keyAt(e),a=this.get(t);i.set(t,a)}return i}every(e,t){let a=0;for(let i of this){if(!Reflect.apply(e,t,[i,a,this]))return!1;a++}return!0}some(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return!0;a++}return!1}}),e.s(["createCollection",0,function(e){let n=e+"CollectionProvider",[l,o]=(0,a.createContextScope)(n),[d,c]=l(n,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:a,children:i}=e,r=t.useRef(null),n=t.useRef(new Map).current;return(0,s.jsx)(d,{scope:a,itemMap:n,collectionRef:r,children:i})};u.displayName=n;let p=e+"CollectionSlot",h=(0,r.createSlot)(p),m=t.forwardRef((e,t)=>{let{scope:a,children:r}=e,n=c(p,a),l=(0,i.useComposedRefs)(t,n.collectionRef);return(0,s.jsx)(h,{ref:l,children:r})});m.displayName=p;let f=e+"CollectionItemSlot",y="data-radix-collection-item",g=(0,r.createSlot)(f),x=t.forwardRef((e,a)=>{let{scope:r,children:n,...l}=e,o=t.useRef(null),d=(0,i.useComposedRefs)(a,o),u=c(f,r);return t.useEffect(()=>(u.itemMap.set(o,{ref:o,...l}),()=>void u.itemMap.delete(o))),(0,s.jsx)(g,{...{[y]:""},ref:d,children:n})});return x.displayName=f,[{Provider:u,Slot:m,ItemSlot:x},function(a){let i=c(e+"CollectionConsumer",a);return t.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(i.itemMap.values()).sort((e,a)=>t.indexOf(e.ref.current)-t.indexOf(a.ref.current))},[i.collectionRef,i.itemMap])},o]}])},296626,e=>{"use strict";var t=e.i(271645),a=e.i(934620),i=e=>{var i;let n,l,{present:o,children:d}=e,c=function(e){var i,r;let[n,l]=t.useState(),o=t.useRef(null),d=t.useRef(e),c=t.useRef("none"),u=t.useRef(void 0),[p,h]=(i=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>r[e][t]??e,i));return t.useEffect(()=>{"mounted"===p?(c.current=u.current??s(o.current),u.current=void 0):c.current="none"},[p]),(0,a.useLayoutEffect)(()=>{let t=o.current,a=d.current;if(a!==e){let i=c.current,r=s(t);e?(u.current=r,h("MOUNT")):"none"===r||t?.display==="none"?h("UNMOUNT"):a&&i!==r?h("ANIMATION_OUT"):h("UNMOUNT"),d.current=e}},[e,h]),(0,a.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,a=a=>{let i=s(o.current).includes(CSS.escape(a.animationName));if(a.target===n&&i&&(h("ANIMATION_END"),!d.current)){let a=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=a)})}},i=e=>{e.target===n&&(c.current=s(o.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}h("ANIMATION_END")},[n,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,u.current=s(t)}else o.current=null;l(e)},[])}}(o),u="function"==typeof d?d({present:c.isPresent}):t.Children.only(d),p=function(...e){let a=t.useRef(e);return a.current=e,t.useCallback(e=>{let t=a.current,i=!1,s=t.map(t=>{let a=r(t,e);return i||"function"!=typeof a||(i=!0),a});if(i)return()=>{for(let e=0;e<s.length;e++){let a=s[e];"function"==typeof a?a():r(t[e],null)}}},[])}(c.ref,(i=u,(l=(n=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.ref:(l=(n=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof d||c.isPresent?t.cloneElement(u,{ref:p}):null};function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},610772,e=>{"use strict";var t=e.i(271645),a=e.i(934620),i=t[" useId ".trim().toString()]||(()=>void 0),r=0;e.s(["useId",0,function(e){let[s,n]=t.useState(i());return(0,a.useLayoutEffect)(()=>{e||n(e=>e??String(r++))},[e]),e||(s?`radix-${s}`:"")}])},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var a=t.createContext(void 0);e.s(["useDirection",0,function(e){let i=t.useContext(a);return e||i||"ltr"}])},602251,e=>{"use strict";let t=(0,e.i(456420).default)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);e.s(["default",0,t])},694838,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},694164,e=>{"use strict";var t=e.i(247167);let a=t.default.env.NEXT_PUBLIC_APP_NAME??"PropVault";t.default.env.NEXT_PUBLIC_APP_URL,t.default.env.NEXT_PUBLIC_APP_DESCRIPTION,t.default.env.NEXT_PUBLIC_APP_TAGLINE,t.default.env.RATE_LIMIT_MAX,t.default.env.RATE_LIMIT_WINDOW_MS;let i=t.default.env.NEXT_PUBLIC_WHATSAPP_NUMBER??"919999999999";e.s(["APP_NAME",0,a,"MAJOR_CITIES",0,["Mumbai","Pune","Bangalore","Hyderabad","Chennai","Delhi NCR","Noida","Gurgaon","Navi Mumbai","Thane","Kolkata","Ahmedabad","Surat","Jaipur","Kochi"],"POSSESSION_STATUSES",0,[{value:"ready_to_move",label:"Ready to Move"},{value:"under_construction",label:"Under Construction"},{value:"nearing_possession",label:"Nearing Possession"}],"PROJECT_CATEGORIES",0,[{value:"luxury",label:"Luxury",icon:"Crown"},{value:"residential",label:"Residential",icon:"Home"},{value:"commercial",label:"Commercial",icon:"Building2"},{value:"rental",label:"Rental",icon:"Key"},{value:"villa",label:"Villa",icon:"TreePine"},{value:"plot",label:"Plot",icon:"Map"}],"PROJECT_STATUSES",0,[{value:"upcoming",label:"Upcoming",color:"blue"},{value:"ongoing",label:"Ongoing",color:"amber"},{value:"completed",label:"Completed",color:"green"},{value:"on_hold",label:"On Hold",color:"red"}],"WHATSAPP_NUMBER",0,i])},986253,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},686190,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["default",0,t])},373235,558931,e=>{"use strict";var t=e.i(456420);let a=(0,t.default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["default",0,a],373235);let i=(0,t.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["default",0,i],558931)},144716,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},927165,e=>{"use strict";let t=(0,e.i(456420).default)("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);e.s(["default",0,t])},885335,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["default",0,t])},606786,e=>{"use strict";let t=(0,e.i(456420).default)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);e.s(["default",0,t])},352627,e=>{"use strict";let t=(0,e.i(456420).default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,t])},343420,e=>{"use strict";let t=(0,e.i(456420).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},773219,e=>{"use strict";let t=(0,e.i(456420).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);e.s(["default",0,t])},890714,e=>{"use strict";let t=(0,e.i(456420).default)("droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);e.s(["default",0,t])},824694,e=>{"use strict";let t=(0,e.i(456420).default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["default",0,t])},217878,e=>{"use strict";let t=(0,e.i(456420).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);e.s(["default",0,t])},756679,e=>{"use strict";let t=(0,e.i(456420).default)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);e.s(["default",0,t])},85604,e=>{"use strict";let t=(0,e.i(456420).default)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);e.s(["default",0,t])},616933,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},610988,e=>{"use strict";let t=(0,e.i(456420).default)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]);e.s(["default",0,t])},724983,e=>{"use strict";let t=(0,e.i(456420).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["default",0,t])},692153,e=>{"use strict";let t=(0,e.i(456420).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);e.s(["default",0,t])},806312,e=>{"use strict";let t=(0,e.i(456420).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);e.s(["default",0,t])},107330,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["default",0,t])},180778,e=>{"use strict";let t=(0,e.i(456420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["default",0,t])},567602,e=>{"use strict";let t=(0,e.i(456420).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);e.s(["default",0,t])},16239,e=>{"use strict";let t=(0,e.i(456420).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["default",0,t])},675849,e=>{"use strict";let t=(0,e.i(456420).default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["default",0,t])},960168,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["default",0,t])},484479,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["default",0,t])},980941,e=>{"use strict";let t=(0,e.i(456420).default)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);e.s(["default",0,t])},460573,e=>{"use strict";let t=(0,e.i(456420).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,t])},33708,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["default",0,t])},366146,e=>{"use strict";let t=(0,e.i(456420).default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["default",0,t])},832411,e=>{"use strict";let t=(0,e.i(456420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["default",0,t])}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77834,e=>{"use strict";let t=(0,e.i(456420).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["default",0,t])},503290,e=>{"use strict";let t=(0,e.i(456420).default)("indian-rupee",[["path",{d:"M6 3h12",key:"ggurg9"}],["path",{d:"M6 8h12",key:"6g4wlu"}],["path",{d:"m6 13 8.5 8",key:"u1kupk"}],["path",{d:"M6 13h3",key:"wdp6ag"}],["path",{d:"M9 13c6.667 0 6.667-10 0-10",key:"1nkvk2"}]]);e.s(["default",0,t])},188873,e=>{"use strict";let t=(0,e.i(456420).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,t])},548161,402661,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,t],402661),e.s(["CheckCircle",0,t],548161)},85291,e=>{"use strict";var t=e.i(681307);t.z.string().uuid();let a=t.z.string().min(1).max(255).regex(/^[a-z0-9-]+$/,"Slug can only contain lowercase letters, numbers, and hyphens");t.z.object({page:t.z.coerce.number().int().positive().default(1),per_page:t.z.coerce.number().int().positive().max(100).default(12),sort_by:t.z.string().optional(),sort_dir:t.z.enum(["asc","desc"]).default("desc"),q:t.z.string().optional()}),t.z.object({email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters"),remember_me:t.z.boolean().optional().default(!1)}),t.z.object({name:t.z.string().min(2,"Name must be at least 2 characters").max(100),email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters").max(100).regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[0-9]/,"Password must contain at least one number"),confirm_password:t.z.string(),phone:t.z.string().regex(/^\+?[1-9]\d{9,14}$/,"Invalid phone number").optional()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]}),t.z.object({email:t.z.string().email("Invalid email address")}),t.z.object({token:t.z.string().min(1),password:t.z.string().min(8,"Password must be at least 8 characters").max(100),confirm_password:t.z.string()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]});let i=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address").optional().or(t.z.literal("")),phone:t.z.string().min(10,"Valid phone number is required").regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number"),message:t.z.string().max(1e3).optional(),project_id:t.z.string().optional(),source:t.z.string().optional().default("website"),budget_min:t.z.coerce.number().optional(),budget_max:t.z.coerce.number().optional(),property_type:t.z.string().optional(),utm_source:t.z.string().optional(),utm_medium:t.z.string().optional(),utm_campaign:t.z.string().optional()}),r=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address"),phone:t.z.string().regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number").optional().or(t.z.literal("")),subject:t.z.string().min(3,"Subject is required").max(200),message:t.z.string().min(10,"Message must be at least 10 characters").max(2e3)});t.z.object({email:t.z.string().email("Invalid email address"),name:t.z.string().max(100).optional()});let s=t.z.object({name:t.z.string().min(2).max(255),slug:a.optional(),tagline:t.z.string().max(500).optional(),description:t.z.string().min(20,"Description must be at least 20 characters"),short_description:t.z.string().max(500).optional(),status:t.z.enum(["upcoming","ongoing","completed","on_hold"]),category:t.z.enum(["luxury","residential","commercial","rental","villa","plot"]),possession_status:t.z.enum(["ready_to_move","under_construction","nearing_possession"]),is_featured:t.z.boolean().default(!1),is_luxury:t.z.boolean().default(!1),is_new_launch:t.z.boolean().default(!1),is_rera_registered:t.z.boolean().default(!1),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),price_min:t.z.coerce.number().positive("Price must be positive"),price_max:t.z.coerce.number().positive("Price must be positive"),price_per_sqft:t.z.coerce.number().optional(),currency:t.z.string().default("INR"),address:t.z.string().min(5,"Address is required"),landmark:t.z.string().optional(),location_id:t.z.string().optional(),city_id:t.z.string().min(1,"City is required"),state_id:t.z.string().min(1,"State is required"),country_id:t.z.string().optional().default("IN"),pincode:t.z.string().optional(),latitude:t.z.coerce.number().optional(),longitude:t.z.coerce.number().optional(),google_maps_url:t.z.string().url().optional().or(t.z.literal("")),total_units:t.z.coerce.number().int().optional(),total_floors:t.z.coerce.number().int().optional(),total_towers:t.z.coerce.number().int().optional(),total_area_acres:t.z.coerce.number().optional(),open_space_percent:t.z.coerce.number().min(0).max(100).optional(),possession_date:t.z.string().optional(),launch_date:t.z.string().optional(),builder_id:t.z.string().min(1,"Builder is required"),property_type_id:t.z.string().optional(),cover_image:t.z.string().optional(),brochure_url:t.z.string().optional(),video_url:t.z.string().optional(),virtual_tour_url:t.z.string().url().optional().or(t.z.literal("")),rera_number:t.z.string().optional(),rera_expiry_date:t.z.string().optional(),inquiry_email:t.z.string().email().optional().or(t.z.literal("")),inquiry_phone:t.z.string().optional(),whatsapp_number:t.z.string().optional(),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional(),og_image:t.z.string().optional()});t.z.object({title:t.z.string().min(5).max(255),slug:a.optional(),subtitle:t.z.string().max(500).optional(),content:t.z.string().min(100,"Content must be at least 100 characters"),excerpt:t.z.string().max(500).optional(),cover_image:t.z.string().optional(),category:t.z.string().min(1,"Category is required"),tags:t.z.string().optional(),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),published_at:t.z.string().optional(),is_featured:t.z.boolean().default(!1),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({status:t.z.enum(["new","contacted","qualified","site_visit","negotiating","closed_won","closed_lost","junk"]).optional(),assigned_to:t.z.string().optional(),next_follow_up:t.z.string().optional(),is_qualified:t.z.boolean().optional(),is_site_visit_done:t.z.boolean().optional()}),t.z.object({content:t.z.string().min(1,"Note content is required").max(5e3),type:t.z.enum(["note","call","email","whatsapp","site_visit","meeting"]).default("note"),is_private:t.z.boolean().default(!1)}),t.z.record(t.z.string(),t.z.string()),t.z.object({name:t.z.string().min(2).max(100),email:t.z.string().email(),phone:t.z.string().optional(),is_active:t.z.boolean().default(!0),role_ids:t.z.array(t.z.string()).optional()}),t.z.object({name:t.z.string().min(2).max(255),slug:a.optional(),logo:t.z.string().optional(),description:t.z.string().optional(),short_description:t.z.string().max(500).optional(),founded_year:t.z.coerce.number().int().min(1900).max(2030).optional(),website:t.z.string().url().optional().or(t.z.literal("")),email:t.z.string().email().optional().or(t.z.literal("")),phone:t.z.string().optional(),address:t.z.string().optional(),city_id:t.z.string().optional(),state_id:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_verified:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({author_name:t.z.string().min(2).max(100),author_designation:t.z.string().optional(),author_company:t.z.string().optional(),author_avatar:t.z.string().optional(),content:t.z.string().min(10).max(2e3),rating:t.z.coerce.number().int().min(1).max(5),project_id:t.z.string().optional(),city:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),video_url:t.z.string().optional()}),t.z.object({question:t.z.string().min(5).max(500),answer:t.z.string().min(10).max(5e3),category:t.z.string().default("general"),sort_order:t.z.coerce.number().int().default(0),is_active:t.z.boolean().default(!0),project_id:t.z.string().optional()}),e.s(["contactSchema",0,r,"enquirySchema",0,i,"projectSchema",0,s])},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},901279,71395,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["default",0,t],71395),e.s(["User",0,t],901279)},468590,991313,e=>{"use strict";let t=(0,e.i(456420).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["default",0,t],991313),e.s(["MessageSquare",0,t],468590)},520144,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(653145),r=e.i(994814),s=e.i(846932),n=e.i(88653),l=e.i(575387),o=e.i(96315),d=e.i(901279),c=e.i(468590),u=e.i(730274),p=e.i(548161),h=e.i(632781),m=e.i(846696),f=e.i(519455),y=e.i(793479),g=e.i(110204),x=e.i(624687),v=e.i(85291),z=e.i(95187);let k=(0,z.createServerReference)("40829cb3fc6e4ff01751d831cd4dd52d266fef087a",z.callServer,void 0,z.findSourceMapURL,"submitEnquiry");var b=e.i(975157);e.s(["EnquiryForm",0,function({projectId:e,projectName:z,source:_="website",className:w,compact:M=!1,title:j="Get Expert Advice",subtitle:N="Our property consultants are ready to help you find your dream home."}){let[A,C]=(0,a.useState)(!1),[R,S]=(0,a.useState)(!1),{register:I,handleSubmit:P,formState:{errors:q},reset:O}=(0,i.useForm)({resolver:(0,r.zodResolver)(v.enquirySchema),defaultValues:{source:_,project_id:e}}),T=async e=>{S(!0);try{let t=await k(e);t.success?(C(!0),O()):m.toast.error(t.error??"Something went wrong. Please try again.")}catch{m.toast.error("Something went wrong. Please try again.")}finally{S(!1)}};return(0,t.jsx)("div",{className:(0,b.cn)("luxury-card p-6 lg:p-8",w),children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:A?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-green-500/15 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(p.CheckCircle,{className:"w-8 h-8 text-green-400"})}),(0,t.jsx)("h3",{className:"font-display text-xl font-bold text-foreground mb-2",children:"Thank You!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-6",children:"Our property consultant will reach you within 24 hours."}),(0,t.jsx)(f.Button,{variant:"gold-outline",size:"sm",onClick:()=>C(!1),children:"Submit Another Enquiry"})]},"success"):(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},children:[!M&&(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"font-display text-xl lg:text-2xl font-bold text-foreground mb-2",children:j}),z&&(0,t.jsxs)("p",{className:"text-[hsl(36,82%,47%)] text-sm font-medium mb-1",children:["For: ",z]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:N})]}),(0,t.jsxs)("form",{onSubmit:P(T),className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(g.Label,{htmlFor:"enq-name",children:["Full Name ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(d.User,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-name",...I("name"),placeholder:"John Doe",className:(0,b.cn)("pl-9",q.name&&"border-destructive")})]}),q.name&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:q.name.message})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(g.Label,{htmlFor:"enq-phone",children:["Phone Number ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Phone,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-phone",...I("phone"),placeholder:"+91 98765 43210",type:"tel",className:(0,b.cn)("pl-9",q.phone&&"border-destructive")})]}),q.phone&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:q.phone.message})]}),!M&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"enq-email",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(y.Input,{id:"enq-email",...I("email"),placeholder:"john@example.com",type:"email",className:"pl-9"})]})]}),!M&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(g.Label,{htmlFor:"enq-message",children:"Message"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(c.MessageSquare,{className:"absolute left-3 top-3 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Textarea,{id:"enq-message",...I("message"),placeholder:"I am interested in 2BHK, budget ₹1–1.5 Cr...",className:"pl-9 min-h-[100px] resize-none"})]})]}),(0,t.jsx)("input",{type:"hidden",...I("project_id"),value:e}),(0,t.jsx)("input",{type:"hidden",...I("source"),value:_}),(0,t.jsx)(f.Button,{type:"submit",variant:"gold",className:"w-full",size:"lg",disabled:R,children:R?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.Loader2,{className:"w-4 h-4 animate-spin"}),"Submitting..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Send,{className:"w-4 h-4"}),"Get Free Consultation"]})}),(0,t.jsxs)("p",{className:"text-center text-xs text-muted-foreground",children:["By submitting, you agree to our"," ",(0,t.jsx)("a",{href:"/privacy",className:"underline hover:text-foreground",children:"Privacy Policy"}),". We never share your data."]})]})]},"form")})})}],520144)},822797,e=>{"use strict";let t=(0,e.i(456420).default)("bath",[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]]);e.s(["default",0,t])},403323,e=>{"use strict";let t=(0,e.i(456420).default)("bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);e.s(["default",0,t])},737623,e=>{"use strict";let t=(0,e.i(456420).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["default",0,t])},474453,e=>{"use strict";let t=(0,e.i(456420).default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["default",0,t])},699939,e=>{"use strict";let t=(0,e.i(456420).default)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);e.s(["default",0,t])},273443,e=>{"use strict";var t=e.i(843476),a=e.i(271645),i=e.i(30030),r=e.i(75830),s=e.i(820783),n=e.i(981140),l=e.i(369340),o=e.i(248425),d=e.i(934620),c=e.i(296626),u=e.i(610772),p="Collapsible",[h,m]=(0,i.createContextScope)(p),[f,y]=h(p),g=a.forwardRef((e,i)=>{let{__scopeCollapsible:r,open:s,defaultOpen:n,disabled:d,onOpenChange:c,...h}=e,[m,y]=(0,l.useControllableState)({prop:s,defaultProp:n??!1,onChange:c,caller:p});return(0,t.jsx)(f,{scope:r,disabled:d,contentId:(0,u.useId)(),open:m,onOpenToggle:a.useCallback(()=>y(e=>!e),[y]),children:(0,t.jsx)(o.Primitive.div,{"data-state":_(m),"data-disabled":d?"":void 0,...h,ref:i})})});g.displayName=p;var x="CollapsibleTrigger",v=a.forwardRef((e,a)=>{let{__scopeCollapsible:i,...r}=e,s=y(x,i);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":_(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,s.onOpenToggle)})});v.displayName=x;var z="CollapsibleContent",k=a.forwardRef((e,a)=>{let{forceMount:i,...r}=e,s=y(z,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:i||s.open,children:({present:e})=>(0,t.jsx)(b,{...r,ref:a,present:e})})});k.displayName=z;var b=a.forwardRef((e,i)=>{let{__scopeCollapsible:r,present:n,children:l,...c}=e,u=y(z,r),[p,h]=a.useState(n),m=a.useRef(null),f=(0,s.useComposedRefs)(i,m),g=a.useRef(0),x=g.current,v=a.useRef(0),k=v.current,b=u.open||p,w=a.useRef(b),M=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=m.current;if(e){M.current=M.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,w.current||(e.style.transitionDuration=M.current.transitionDuration,e.style.animationName=M.current.animationName),h(n)}},[u.open,n]),(0,t.jsx)(o.Primitive.div,{"data-state":_(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!b,...c,ref:f,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":k?`${k}px`:void 0,...e.style},children:b&&l})});function _(e){return e?"open":"closed"}var w=e.i(586318),M="Accordion",j=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[N,A,C]=(0,r.createCollection)(M),[R,S]=(0,i.createContextScope)(M,[C,m]),I=m(),P=a.forwardRef((e,a)=>{let{type:i,...r}=e;return(0,t.jsx)(N.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(U,{...r,ref:a}):(0,t.jsx)(L,{...r,ref:a})})});P.displayName=M;var[q,O]=R(M),[T,E]=R(M,{collapsible:!1}),L=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},collapsible:o=!1,...d}=e,[c,u]=(0,l.useControllableState)({prop:r,defaultProp:s??"",onChange:n,caller:M});return(0,t.jsx)(q,{scope:e.__scopeAccordion,value:a.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:a.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(B,{...d,ref:i})})})}),U=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},...o}=e,[d,c]=(0,l.useControllableState)({prop:r,defaultProp:s??[],onChange:n,caller:M}),u=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),p=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(q,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:p,children:(0,t.jsx)(T,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(B,{...o,ref:i})})})}),[H,D]=R(M),B=a.forwardRef((e,i)=>{let{__scopeAccordion:r,disabled:l,dir:d,orientation:c="vertical",...u}=e,p=a.useRef(null),h=(0,s.useComposedRefs)(p,i),m=A(r),f="ltr"===(0,w.useDirection)(d),y=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!j.includes(e.key))return;let t=e.target,a=m().filter(e=>!e.ref.current?.disabled),i=a.findIndex(e=>e.ref.current===t),r=a.length;if(-1===i)return;e.preventDefault();let s=i,n=r-1,l=()=>{(s=i+1)>n&&(s=0)},o=()=>{(s=i-1)<0&&(s=n)};switch(e.key){case"Home":s=0;break;case"End":s=n;break;case"ArrowRight":"horizontal"===c&&(f?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(f?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=s%r;a[d].ref.current?.focus()});return(0,t.jsx)(H,{scope:r,disabled:l,direction:d,orientation:c,children:(0,t.jsx)(N.Slot,{scope:r,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":c,ref:h,onKeyDown:l?void 0:y})})})}),F="AccordionItem",[V,W]=R(F),K=a.forwardRef((e,a)=>{let{__scopeAccordion:i,value:r,...s}=e,n=D(F,i),l=O(F,i),o=I(i),d=(0,u.useId)(),c=r&&l.value.includes(r)||!1,p=n.disabled||e.disabled;return(0,t.jsx)(V,{scope:i,open:c,disabled:p,triggerId:d,children:(0,t.jsx)(g,{"data-orientation":n.orientation,"data-state":Q(c),...o,...s,ref:a,disabled:p,open:c,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})});K.displayName=F;var $="AccordionHeader",X=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W($,i);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":s.orientation,"data-state":Q(n.open),"data-disabled":n.disabled?"":void 0,...r,ref:a})});X.displayName=$;var G="AccordionTrigger",J=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W(G,i),l=E(G,i),o=I(i);return(0,t.jsx)(N.ItemSlot,{scope:i,children:(0,t.jsx)(v,{"aria-disabled":n.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:n.triggerId,...o,...r,ref:a})})});J.displayName=G;var Z="AccordionContent",Y=a.forwardRef((e,a)=>{let{__scopeAccordion:i,...r}=e,s=D(M,i),n=W(Z,i),l=I(i);return(0,t.jsx)(k,{role:"region","aria-labelledby":n.triggerId,"data-orientation":s.orientation,...l,...r,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Q(e){return e?"open":"closed"}Y.displayName=Z;var ee=e.i(716327),et=e.i(975157);let ea=a.forwardRef(({className:e,...a},i)=>(0,t.jsx)(K,{ref:i,className:(0,et.cn)("border-b border-border",e),...a}));ea.displayName="AccordionItem";let ei=a.forwardRef(({className:e,children:a,...i},r)=>(0,t.jsx)(X,{className:"flex",children:(0,t.jsxs)(J,{ref:r,className:(0,et.cn)("flex flex-1 items-center justify-between py-4 font-medium text-foreground transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...i,children:[a,(0,t.jsx)(ee.ChevronDown,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));ei.displayName=J.displayName;let er=a.forwardRef(({className:e,children:a,...i},r)=>(0,t.jsx)(Y,{ref:r,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,t.jsx)("div",{className:(0,et.cn)("pb-4 pt-0",e),children:a})}));er.displayName=Y.displayName,e.s(["Accordion",0,P,"AccordionContent",0,er,"AccordionItem",0,ea,"AccordionTrigger",0,ei],273443)},75830,e=>{"use strict";var t=e.i(271645),a=e.i(30030),i=e.i(820783),r=e.i(991918),s=e.i(843476),n=new WeakMap;function l(e,t){var a,i;let r,s,n;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(a=e,i=t,r=a.length,(n=(s=o(i))>=0?s:r+s)<0||n>=r?-1:n);return -1===l?void 0:e[l]}function o(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],n.set(this,!0)}set(e,t){return n.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,a){let i,r=this.has(t),s=this.#e.length,n=o(e),l=n>=0?n:s+n,d=l<0||l>=s?-1:l;if(d===this.size||r&&d===this.size-1||-1===d)return this.set(t,a),this;let c=this.size+ +!r;n<0&&l++;let u=[...this.#e],p=!1;for(let e=l;e<c;e++)if(l===e){let s=u[e];u[e]===t&&(s=u[e+1]),r&&this.delete(t),i=this.get(s),this.set(t,a)}else{p||u[e-1]!==t||(p=!0);let a=u[p?e:e-1],r=i;i=this.get(a),this.delete(a),this.set(a,r)}return this}with(t,a,i){let r=new e(this);return r.insert(t,a,i),r}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,a){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i,t,a)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,a){let i=this.#e.indexOf(e);return -1===i?this:this.insert(i+1,t,a)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let a=this.indexOf(e);if(-1===a)return;let i=a+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(e,t){let a=this.indexOf(e);if(-1===a)return;let i=a+t;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return i;a++}}findIndex(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return a;a++}return -1}filter(t,a){let i=[],r=0;for(let e of this)Reflect.apply(t,a,[e,r,this])&&i.push(e),r++;return new e(i)}map(t,a){let i=[],r=0;for(let e of this)i.push([e[0],Reflect.apply(t,a,[e,r,this])]),r++;return new e(i)}reduce(...e){let[t,a]=e,i=0,r=a??this.at(0);for(let a of this)r=0===i&&1===e.length?a:Reflect.apply(t,this,[r,a,i,this]),i++;return r}reduceRight(...e){let[t,a]=e,i=a??this.at(-1);for(let a=this.size-1;a>=0;a--){let r=this.at(a);i=a===this.size-1&&1===e.length?r:Reflect.apply(t,this,[i,r,a,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let a=this.keyAt(e),i=this.get(a);t.set(a,i)}return t}toSpliced(...t){let a=[...this.entries()];return a.splice(...t),new e(a)}slice(t,a){let i=new e,r=this.size-1;if(void 0===t)return i;t<0&&(t+=this.size),void 0!==a&&a>0&&(r=a-1);for(let e=t;e<=r;e++){let t=this.keyAt(e),a=this.get(t);i.set(t,a)}return i}every(e,t){let a=0;for(let i of this){if(!Reflect.apply(e,t,[i,a,this]))return!1;a++}return!0}some(e,t){let a=0;for(let i of this){if(Reflect.apply(e,t,[i,a,this]))return!0;a++}return!1}}),e.s(["createCollection",0,function(e){let n=e+"CollectionProvider",[l,o]=(0,a.createContextScope)(n),[d,c]=l(n,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:a,children:i}=e,r=t.useRef(null),n=t.useRef(new Map).current;return(0,s.jsx)(d,{scope:a,itemMap:n,collectionRef:r,children:i})};u.displayName=n;let p=e+"CollectionSlot",h=(0,r.createSlot)(p),m=t.forwardRef((e,t)=>{let{scope:a,children:r}=e,n=c(p,a),l=(0,i.useComposedRefs)(t,n.collectionRef);return(0,s.jsx)(h,{ref:l,children:r})});m.displayName=p;let f=e+"CollectionItemSlot",y="data-radix-collection-item",g=(0,r.createSlot)(f),x=t.forwardRef((e,a)=>{let{scope:r,children:n,...l}=e,o=t.useRef(null),d=(0,i.useComposedRefs)(a,o),u=c(f,r);return t.useEffect(()=>(u.itemMap.set(o,{ref:o,...l}),()=>void u.itemMap.delete(o))),(0,s.jsx)(g,{...{[y]:""},ref:d,children:n})});return x.displayName=f,[{Provider:u,Slot:m,ItemSlot:x},function(a){let i=c(e+"CollectionConsumer",a);return t.useCallback(()=>{let e=i.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(i.itemMap.values()).sort((e,a)=>t.indexOf(e.ref.current)-t.indexOf(a.ref.current))},[i.collectionRef,i.itemMap])},o]}])},296626,e=>{"use strict";var t=e.i(271645),a=e.i(934620),i=e=>{var i;let n,l,{present:o,children:d}=e,c=function(e){var i,r;let[n,l]=t.useState(),o=t.useRef(null),d=t.useRef(e),c=t.useRef("none"),u=t.useRef(void 0),[p,h]=(i=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>r[e][t]??e,i));return t.useEffect(()=>{"mounted"===p?(c.current=u.current??s(o.current),u.current=void 0):c.current="none"},[p]),(0,a.useLayoutEffect)(()=>{let t=o.current,a=d.current;if(a!==e){let i=c.current,r=s(t);e?(u.current=r,h("MOUNT")):"none"===r||t?.display==="none"?h("UNMOUNT"):a&&i!==r?h("ANIMATION_OUT"):h("UNMOUNT"),d.current=e}},[e,h]),(0,a.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,a=a=>{let i=s(o.current).includes(CSS.escape(a.animationName));if(a.target===n&&i&&(h("ANIMATION_END"),!d.current)){let a=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=a)})}},i=e=>{e.target===n&&(c.current=s(o.current))};return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}h("ANIMATION_END")},[n,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);o.current=t,u.current=s(t)}else o.current=null;l(e)},[])}}(o),u="function"==typeof d?d({present:c.isPresent}):t.Children.only(d),p=function(...e){let a=t.useRef(e);return a.current=e,t.useCallback(e=>{let t=a.current,i=!1,s=t.map(t=>{let a=r(t,e);return i||"function"!=typeof a||(i=!0),a});if(i)return()=>{for(let e=0;e<s.length;e++){let a=s[e];"function"==typeof a?a():r(t[e],null)}}},[])}(c.ref,(i=u,(l=(n=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.ref:(l=(n=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof d||c.isPresent?t.cloneElement(u,{ref:p}):null};function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},610772,e=>{"use strict";var t=e.i(271645),a=e.i(934620),i=t[" useId ".trim().toString()]||(()=>void 0),r=0;e.s(["useId",0,function(e){let[s,n]=t.useState(i());return(0,a.useLayoutEffect)(()=>{e||n(e=>e??String(r++))},[e]),e||(s?`radix-${s}`:"")}])},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var a=t.createContext(void 0);e.s(["useDirection",0,function(e){let i=t.useContext(a);return e||i||"ltr"}])},602251,e=>{"use strict";let t=(0,e.i(456420).default)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);e.s(["default",0,t])},694838,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},694164,e=>{"use strict";var t=e.i(247167);let a=t.default.env.NEXT_PUBLIC_APP_NAME??"PropVault";t.default.env.NEXT_PUBLIC_APP_URL,t.default.env.NEXT_PUBLIC_APP_DESCRIPTION,t.default.env.NEXT_PUBLIC_APP_TAGLINE,t.default.env.RATE_LIMIT_MAX,t.default.env.RATE_LIMIT_WINDOW_MS;let i=t.default.env.NEXT_PUBLIC_WHATSAPP_NUMBER??"919999999999";e.s(["APP_NAME",0,a,"MAJOR_CITIES",0,["Mumbai","Pune","Bangalore","Hyderabad","Chennai","Delhi NCR","Noida","Gurgaon","Navi Mumbai","Thane","Kolkata","Ahmedabad","Surat","Jaipur","Kochi"],"POSSESSION_STATUSES",0,[{value:"ready_to_move",label:"Ready to Move"},{value:"under_construction",label:"Under Construction"},{value:"nearing_possession",label:"Nearing Possession"}],"PROJECT_CATEGORIES",0,[{value:"luxury",label:"Luxury",icon:"Crown"},{value:"residential",label:"Residential",icon:"Home"},{value:"commercial",label:"Commercial",icon:"Building2"},{value:"rental",label:"Rental",icon:"Key"},{value:"villa",label:"Villa",icon:"TreePine"},{value:"plot",label:"Plot",icon:"Map"}],"PROJECT_STATUSES",0,[{value:"upcoming",label:"Upcoming",color:"blue"},{value:"ongoing",label:"Ongoing",color:"amber"},{value:"completed",label:"Completed",color:"green"},{value:"on_hold",label:"On Hold",color:"red"}],"WHATSAPP_NUMBER",0,i])},986253,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},686190,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["default",0,t])},373235,558931,e=>{"use strict";var t=e.i(456420);let a=(0,t.default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["default",0,a],373235);let i=(0,t.default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["default",0,i],558931)},144716,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},927165,e=>{"use strict";let t=(0,e.i(456420).default)("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);e.s(["default",0,t])},885335,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["default",0,t])},606786,e=>{"use strict";let t=(0,e.i(456420).default)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);e.s(["default",0,t])},352627,e=>{"use strict";let t=(0,e.i(456420).default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,t])},343420,e=>{"use strict";let t=(0,e.i(456420).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},755566,e=>{"use strict";let t=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},773219,e=>{"use strict";let t=(0,e.i(456420).default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]);e.s(["default",0,t])},890714,e=>{"use strict";let t=(0,e.i(456420).default)("droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);e.s(["default",0,t])},824694,e=>{"use strict";let t=(0,e.i(456420).default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["default",0,t])},217878,e=>{"use strict";let t=(0,e.i(456420).default)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);e.s(["default",0,t])},756679,e=>{"use strict";let t=(0,e.i(456420).default)("tablet",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["line",{x1:"12",x2:"12.01",y1:"18",y2:"18",key:"1dp563"}]]);e.s(["default",0,t])},85604,e=>{"use strict";let t=(0,e.i(456420).default)("type",[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]);e.s(["default",0,t])},616933,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},610988,e=>{"use strict";let t=(0,e.i(456420).default)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]);e.s(["default",0,t])},724983,e=>{"use strict";let t=(0,e.i(456420).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["default",0,t])},692153,e=>{"use strict";let t=(0,e.i(456420).default)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);e.s(["default",0,t])},806312,e=>{"use strict";let t=(0,e.i(456420).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);e.s(["default",0,t])},107330,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["default",0,t])},180778,e=>{"use strict";let t=(0,e.i(456420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["default",0,t])},567602,e=>{"use strict";let t=(0,e.i(456420).default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);e.s(["default",0,t])},16239,e=>{"use strict";let t=(0,e.i(456420).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["default",0,t])},675849,e=>{"use strict";let t=(0,e.i(456420).default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["default",0,t])},960168,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["default",0,t])},484479,e=>{"use strict";let t=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["default",0,t])},980941,e=>{"use strict";let t=(0,e.i(456420).default)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);e.s(["default",0,t])},460573,e=>{"use strict";let t=(0,e.i(456420).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,t])},33708,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["default",0,t])},366146,e=>{"use strict";let t=(0,e.i(456420).default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["default",0,t])},832411,e=>{"use strict";let t=(0,e.i(456420).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["default",0,t])}]);
|