chore: frontend build
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-10-27 15:27:26 +05:45
parent 48e089d3c8
commit eba9e5f182
145 changed files with 10451 additions and 2 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

View File

@@ -0,0 +1,16 @@
import{j as e,H as a}from"./app-C6SiEMGn.js";import{u as c,L as i,n as l,o as r}from"./layout-DermKrDq.js";import{a as t}from"./createLucideIcon-CPpF-2ww.js";import"./app-6D7Y1jSv.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./index-B7t1D_co.js";import"./select-BuGuwdXt.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]],n=t("HeartHandshake",o);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],d=t("Lightbulb",x);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],p=t("Target",m),h="/build/assets/kaleen-D3tdUBUw.jpg",g="/build/assets/sci%20trad%208-DiNu6GWn.jpg";function H(){const{t:s}=c();return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"About Us",children:e.jsx("meta",{name:"description",content:"Experience the finest hand-knotted carpets in Nepal with Soorya Carpet. Each piece is crafted by skilled artisans to deliver unmatched quality, luxury, and timeless design."})}),e.jsxs(i,{children:[e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-32 px-12 py-12 max-sm:px-8",children:[e.jsxs("div",{className:"grid h-1/2 grid-cols-2 gap-20 overflow-clip max-md:grid-cols-1 max-md:gap-12",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h1",{className:"font-serif text-5xl leading-tight font-medium tracking-tight max-sm:text-4xl",children:s("pages.about.sections.first.title")}),e.jsxs("div",{className:"flex flex-col gap-4 text-sm max-sm:text-base",children:[e.jsx("p",{children:s("pages.about.sections.first.desc.first")}),e.jsx("p",{children:s("pages.about.sections.first.desc.second")}),e.jsx("p",{children:s("pages.about.sections.first.desc.third")})]})]}),e.jsx("img",{src:g,alt:"Our Story",className:"aspect-[5/3] h-full w-full rounded-xl object-cover object-center"})]})," ",e.jsxs("div",{className:"grid h-1/2 grid-cols-2 gap-20 overflow-clip max-md:grid-cols-1 max-md:gap-12",children:[e.jsx("img",{src:h,alt:"Kaleen Story",className:"aspect-[5/3] h-full w-full rounded-xl object-cover object-center"}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("h2",{className:"font-serif text-5xl leading-tight font-medium tracking-tight max-sm:text-4xl",children:s("pages.about.sections.second.title")}),e.jsxs("div",{className:"flex flex-col gap-4 text-sm max-sm:text-base",children:[e.jsx("p",{children:s("pages.about.sections.second.desc.first")}),e.jsx("p",{children:s("pages.about.sections.second.desc.second")}),e.jsx("p",{children:s("pages.about.sections.second.desc.third")})]})]})]})]}),e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-12 max-md:px-6",children:[e.jsx("h3",{className:"text-center font-serif text-5xl leading-tight font-medium tracking-tight max-sm:text-4xl",children:s("pages.about.sections.third.title")}),e.jsxs("div",{className:"flex gap-8 max-md:flex-col",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4 rounded-xl bg-accent px-8 py-8 text-center max-sm:px-4",children:[e.jsx(d,{size:48,color:"#5A1A1A"}),e.jsx("p",{className:"font-serif text-3xl font-semibold",children:s("pages.about.sections.third.cards.first.title")}),e.jsx("p",{className:"text-justify text-lg tracking-tight",children:s("pages.about.sections.third.cards.first.desc")})]})," ",e.jsxs("div",{className:"flex flex-col items-center gap-4 rounded-xl bg-accent px-8 py-8 text-center",children:[e.jsx(p,{size:48,color:"#5A1A1A"}),e.jsx("p",{className:"font-serif text-3xl font-semibold",children:s("pages.about.sections.third.cards.second.title")}),e.jsx("p",{className:"text-justify text-lg tracking-tight",children:s("pages.about.sections.third.cards.second.desc")})]})," ",e.jsxs("div",{className:"flex flex-col items-center gap-4 rounded-xl bg-accent px-8 py-8 text-center",children:[e.jsx(n,{size:48,color:"#5A1A1A"}),e.jsx("p",{className:"font-serif text-3xl font-semibold",children:s("pages.about.sections.third.cards.third.title")}),e.jsx("p",{className:"text-justify text-lg tracking-tight",children:s("pages.about.sections.third.cards.third.desc")})]})]})]}),e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-12",children:[e.jsx("h4",{className:"text-center font-serif text-5xl leading-tight font-medium tracking-tight max-sm:text-4xl",children:s("pages.about.sections.fourth.title")}),e.jsxs("div",{className:"flex items-center justify-center gap-8",children:[e.jsx("img",{src:l,alt:"NS Standard"}),e.jsx("img",{src:r,alt:"OKO Standard"})]})]})]})]})}export{H as default};

View File

@@ -0,0 +1 @@
import{u as m,j as s,H as c}from"./app-C6SiEMGn.js";import{B as p}from"./createLucideIcon-CPpF-2ww.js";import{I as i}from"./input-DYhKGVpQ.js";import{L as l}from"./label-BB9HLxkE.js";import{A as x,d as f}from"./app-layout-B4kweoSW.js";import{t as h,r as g,p as j,a as b}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";g(j,b);function C(){const{data:a,setData:r,post:n,processing:o,errors:t,wasSuccessful:d}=m({question:"",answer:""}),u=e=>{e.preventDefault(),n(f.faq.addFaq().url,{forceFormData:!0}),d&&h.success("Product added successfully")};return s.jsxs(x,{children:[s.jsx(c,{title:"Add FAQ Questions"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add FAQ Questions"}),s.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",className:"flex flex-col items-start gap-4",children:[s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"question",children:"Question"}),s.jsx(i,{type:"text",id:"question",value:a.question,onChange:e=>r("question",e.target.value),className:"rounded border p-2"}),t.question&&s.jsx("span",{className:"text-red-600",children:t.question})]}),s.jsxs("div",{className:"flex w-full flex-col gap-2",children:[s.jsx(l,{htmlFor:"answer",children:"Answer"}),s.jsx(i,{type:"text",id:"answer",value:a.answer,onChange:e=>r("answer",e.target.value),className:"rounded border p-2"}),t.answer&&s.jsx("span",{className:"text-red-600",children:t.answer})]}),s.jsx(p,{type:"submit",disabled:o,className:"cursor-pointer",children:o?"submitting...":"Submit"})]})]})]})}export{C as default};

View File

@@ -0,0 +1 @@
import{r as i,u as c,j as e,H as f}from"./app-C6SiEMGn.js";import{B as x}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{L as o}from"./label-BB9HLxkE.js";import{A as h}from"./app-layout-B4kweoSW.js";import{F as j,t as b,r as F,p as N,a as S}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";F(N,S);function H(){const[s,m]=i.useState(null),{data:n,setData:t,post:u,processing:r,errors:l,wasSuccessful:p}=c({alt:"",image_url:null});i.useEffect(()=>{s&&t("image_url",s.file)},[s,t]);const d=a=>{a.preventDefault(),u("/carousel",{forceFormData:!0}),p&&b.success("Slider image successfully uploaded")};return e.jsxs(h,{children:[e.jsx(f,{title:"Add Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Slider Image"}),e.jsxs("form",{onSubmit:d,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx(o,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:n.alt,onChange:a=>t("alt",a.target.value),className:"rounded border p-2"}),l.alt&&e.jsx("span",{className:"text-red-600",children:l.alt})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(o,{children:"Image"}),e.jsx(j,{files:s?[s]:[],onupdatefiles:a=>{m(a[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),l.image_url&&e.jsx("span",{className:"text-red-600",children:l.image_url})]}),e.jsx(x,{type:"submit",disabled:r,className:"cursor-pointer",children:r?"Uploading...":"Submit"})]})]})]})}export{H as default};

View File

@@ -0,0 +1 @@
import{r as d,u as x,j as e,H as f}from"./app-C6SiEMGn.js";import{B as h}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{L as i}from"./label-BB9HLxkE.js";import{S as j,a as b,b as S,c as v,e as y,d as s}from"./select-BuGuwdXt.js";import{A as N,d as F}from"./app-layout-B4kweoSW.js";import{F as A,t as I,r as P,p as T,a as _}from"./index-BQ4sA8lt.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";P(T,_);function z(){const[l,n]=d.useState(null),{data:o,setData:a,post:m,processing:c,errors:r,wasSuccessful:p}=x({title:"",type:"traditional",image_url:null});d.useEffect(()=>{l&&a("image_url",l.file)},[l,a]);const u=t=>{t.preventDefault(),m(F.product.add().url,{forceFormData:!0}),p&&I.success("Product added successfully")};return e.jsxs(N,{children:[e.jsx(f,{title:"Add Product Image"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("h1",{className:"text-lg font-semibold tracking-tight",children:"Add Product Image"}),e.jsxs("form",{onSubmit:u,method:"POST",encType:"multipart/formdata",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Title"}),e.jsx(g,{type:"text",id:"title",value:o.title,onChange:t=>a("title",t.target.value),className:"rounded border p-2"}),r.title&&e.jsx("span",{className:"text-red-600",children:r.title})]}),e.jsxs("div",{className:"flex w-full flex-col gap-4",children:[e.jsx(i,{htmlFor:"title",children:"Type"}),e.jsxs(j,{value:o.type,onValueChange:t=>{console.log(t),a("type",t)},children:[e.jsx(b,{children:e.jsx(S,{placeholder:"Select a type"})}),e.jsx(v,{children:e.jsxs(y,{children:[e.jsx(s,{value:"traditional",children:"Traditional"}),e.jsx(s,{value:"modern",children:"Modern"}),e.jsx(s,{value:"bespoke",children:"Bespoke"}),e.jsx(s,{value:"abstract",children:"Abstract"}),e.jsx(s,{value:"art",children:"Art in carpet"})]})})]})]})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(i,{children:"Image"}),e.jsx(A,{files:l?[l]:[],onupdatefiles:t=>{n(t[0]||null)},allowMultiple:!1,maxFiles:1,name:"image_url",instantUpload:!1,storeAsFile:!0,labelIdle:'Drag & Drop your image or <span class="filepond--label-action">Browse</span>'}),r.image_url&&e.jsx("span",{className:"text-red-600",children:r.image_url})]}),e.jsx(h,{type:"submit",disabled:c,className:"cursor-pointer",children:c?"Uploading...":"Submit"})]})]})]})}export{z as default};

View File

@@ -0,0 +1 @@
const e=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{e};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as L}from"./app-C6SiEMGn.js";function e(V){return L.jsx("svg",{...V,viewBox:"0 0 40 42",xmlns:"http://www.w3.org/2000/svg",children:L.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z"})})}export{e as A};

View File

@@ -0,0 +1,16 @@
import{c as d,j as e,H as m}from"./app-C6SiEMGn.js";import{a,c as n}from"./createLucideIcon-CPpF-2ww.js";import{e as h,S as u,H as x}from"./layout-C1UmCZPc.js";import{A as y}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./index-CaEroahx.js";import"./index-81wdD626.js";import"./index-BrphWuSj.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const k=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],g=a("Monitor",k);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const b=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],j=a("Moon",b);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],v=a("Sun",f);function A({className:r="",...s}){const{appearance:o,updateAppearance:i}=d(),c=[{value:"light",icon:v,label:"Light"},{value:"dark",icon:j,label:"Dark"},{value:"system",icon:g,label:"System"}];return e.jsx("div",{className:n("inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800",r),...s,children:c.map(({value:t,icon:p,label:l})=>e.jsxs("button",{onClick:()=>i(t),className:n("flex items-center rounded-md px-3.5 py-1.5 transition-colors",o===t?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"),children:[e.jsx(p,{className:"-ml-1 h-4 w-4"}),e.jsx("span",{className:"ml-1.5 text-sm",children:l})]},t))})}const M=[{title:"Appearance settings",href:h().url}];function R(){return e.jsxs(y,{breadcrumbs:M,children:[e.jsx(m,{title:"Appearance settings"}),e.jsx(u,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(x,{title:"Appearance settings",description:"Update your account's appearance settings"}),e.jsx(A,{})]})})]})}export{R as default};

View File

@@ -0,0 +1,16 @@
import{j as e,H as t}from"./app-C6SiEMGn.js";import{T as i,a as n,b as s,c as a}from"./tabs-0s913y8g.js";import{L as r}from"./layout-DermKrDq.js";import{a as l}from"./createLucideIcon-CPpF-2ww.js";import{P as c}from"./palette-CS1w2D7p.js";import{P as o}from"./package-DTdg9l_D.js";import"./app-6D7Y1jSv.js";import"./index-FUlYkgbj.js";import"./index-CxjaVpyF.js";import"./sheet-BvPq5L9Z.js";import"./index-B7t1D_co.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./select-BuGuwdXt.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]],x=l("Flower",d);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],h=l("Hand",m);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f=[["path",{d:"M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z",key:"1wgbhj"}]],p=l("Shirt",f),u="/build/assets/silk%20balls-DWY7AS8B.jpg",g="/build/assets/silk%20yarn-CqpV2kWc.jpg",j="/build/assets/wool%20balls-DG1FtOmh.jpg",y="/build/assets/wool%20yarn-BKbNSfod.jpg",v="/build/assets/IMG_2719-CBS9fSAo.jpg";function B(){return e.jsx(e.Fragment,{children:e.jsxs(r,{children:[e.jsx(t,{title:"Art of Weaving"}),e.jsxs("section",{children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute h-full w-full bg-white/60"}),e.jsx("img",{src:v,alt:"Art of Weaving",className:"aspect-[16/4] object-cover object-center"}),e.jsx("h1",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 font-serif text-7xl font-medium tracking-tight",children:"The Art of Weaving"})]}),e.jsxs("div",{className:"mx-auto flex max-w-screen-2xl flex-col gap-12 px-12 py-12",children:[e.jsx("h2",{className:"text-center font-serif text-4xl font-medium",children:"Our Craft: From Fiber to Fine Rug"}),e.jsxs(i,{defaultValue:"wool",className:"grid grid-cols-4 gap-8",children:[e.jsxs(n,{className:"!h-auto w-full flex-col",children:[e.jsxs(s,{value:"wool",className:"flex w-full gap-2 py-4",children:[e.jsx(p,{size:24})," Wool Selection & Sorting"]}),e.jsxs(s,{value:"dyeing",className:"w-full py-4",children:[e.jsx(c,{})," Artisan Dyeing"]}),e.jsxs(s,{value:"hand",className:"w-full py-4",children:[e.jsx(h,{})," Hand Weaving"]}),e.jsxs(s,{value:"finish",className:"w-full py-4",children:[e.jsx(x,{})," Finishing & Washing"]}),e.jsxs(s,{value:"quality",className:"w-full py-4",children:[e.jsx(o,{})," Quality Control & Packing"]})]}),e.jsxs("div",{className:"col-span-3",children:[e.jsx(a,{value:"wool",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"font-serif text-2xl font-medium",children:"Wool Selection & Sorting"}),e.jsx("p",{children:"Careful selection of the finest wool fibers, meticulously sorted by quality and texture to ensure only the best make it into our carpets."})]})}),e.jsx(a,{value:"dyeing",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"font-serif text-2xl font-medium",children:"Artisan Dyeing"}),e.jsx("p",{children:"Fibers are dyed using traditional methods and natural pigments, achieving rich, vibrant, and enduring colors that tell a story."})]})}),e.jsx(a,{value:"hand",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"font-serif text-2xl font-medium",children:"Hand Weaving"}),e.jsx("p",{children:"Skilled artisans hand-weave each knot with precision and passion, creating intricate patterns and unparalleled durability."})]})}),e.jsx(a,{value:"finish",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"font-serif text-2xl font-medium",children:"Finishing & Washing"}),e.jsx("p",{children:"Carpets undergo specialized washing, shearing, and meticulous hand-finishing to enhance their luster and softness."})]})}),e.jsx(a,{value:"quality",children:e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"font-serif text-2xl font-medium",children:"Quality Control & Packing"}),e.jsx("p",{children:"Each rug passes rigorous quality checks before being carefully packed for its journey to your home, ensuring perfection."})]})})]})]})]}),e.jsxs("div",{className:"mx-auto flex max-w-screen-2xl flex-col gap-12 px-12 py-8",children:[e.jsx("h3",{className:"text-center font-serif text-4xl font-medium",children:"Exquisite Materials"}),e.jsxs("div",{className:"grid grid-cols-4 gap-6",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("img",{src:u,alt:"Skill ball",className:"aspect-square rounded-lg object-cover object-center"}),e.jsx("p",{className:"font-serif text-lg font-medium",children:"Skill Ball"})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("img",{src:g,alt:"Skill yarn",className:"aspect-square rounded-lg object-cover object-center"}),e.jsx("p",{className:"font-serif text-lg font-medium",children:"Skill Yarn"})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("img",{src:j,alt:"wool ball",className:"aspect-square rounded-lg object-cover object-center"}),e.jsx("p",{className:"font-serif text-lg font-medium",children:"Wool Ball"})]}),e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("img",{src:y,alt:"wool yarn",className:"aspect-square rounded-lg object-cover object-center"}),e.jsx("p",{className:"font-serif text-lg font-medium",children:"Wool Yarn"})]})]})]})]})]})})}export{B as default};

View File

@@ -0,0 +1 @@
import{j as e,L as a}from"./app-C6SiEMGn.js";import{A as c}from"./app-logo-icon-B_KiS1IV.js";import{h as n}from"./createLucideIcon-CPpF-2ww.js";function m({children:t,title:s,description:r}){return e.jsx("div",{className:"flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10",children:e.jsx("div",{className:"w-full max-w-sm",children:e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[e.jsxs(a,{href:n(),className:"flex flex-col items-center gap-2 font-medium",children:[e.jsx("div",{className:"mb-1 flex h-9 w-9 items-center justify-center rounded-md",children:e.jsx(c,{className:"size-9 fill-current text-[var(--foreground)] dark:text-white"})}),e.jsx("span",{className:"sr-only",children:s})]}),e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("h1",{className:"text-xl font-medium",children:s}),e.jsx("p",{className:"text-center text-sm text-muted-foreground",children:r})]})]}),t]})})})}function d({children:t,title:s,description:r,...l}){return e.jsx(m,{title:s,description:r,...l,children:t})}export{d as A};

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 MiB

View File

@@ -0,0 +1,16 @@
import{j as e,H as i}from"./app-C6SiEMGn.js";import{a as t,B as r}from"./createLucideIcon-CPpF-2ww.js";import{u as l,L as x}from"./layout-DermKrDq.js";import{P as o}from"./palette-CS1w2D7p.js";import"./app-6D7Y1jSv.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./index-B7t1D_co.js";import"./select-BuGuwdXt.js";import"./index-FUlYkgbj.js";import"./sheet-BvPq5L9Z.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n=[["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"}]],m=t("ClipboardList",n);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],p=t("Paintbrush",d);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],h=t("Truck",f),j="/build/assets/color%20swatches-Dl8_1uRD.jpg";function L({product:c}){console.log(c);const{t:s}=l();return e.jsx(e.Fragment,{children:e.jsxs(x,{children:[e.jsx(i,{title:"Bespoke Design"}),e.jsx("section",{className:"",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute h-full w-full bg-white/30"}),e.jsx("img",{src:j,alt:"Bespoke Design",className:"aspect-[16/4] object-cover object-center max-sm:aspect-[16/9]"}),e.jsxs("div",{className:"absolute top-1/2 left-1/2 flex -translate-x-1/2 -translate-y-1/2 flex-col gap-2",children:[e.jsx("h1",{className:"text-center font-serif text-5xl font-medium tracking-tight max-md:text-4xl max-sm:text-2xl",children:s("pages.bespoke.sections.banner.title")}),e.jsx("p",{className:"text-center text-lg text-gray-800 max-sm:text-sm",children:s("pages.bespoke.sections.banner.subTitle")})]})]})}),e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-12 px-12 py-18 max-sm:px-8",children:[e.jsx("h2",{className:"text-center font-serif text-4xl font-medium max-md:text-2xl",children:s("pages.bespoke.sections.first.title")}),e.jsxs("div",{className:"grid grid-cols-4 gap-4 max-md:grid-cols-2 max-sm:grid-cols-1",children:[e.jsxs("div",{className:"flex flex-col items-center justify-center gap-2",children:[e.jsx(m,{size:40,color:"#5A1A1A"}),e.jsx("p",{className:"text-center font-serif text-xl font-medium",children:s("pages.bespoke.sections.first.card.first.title")}),e.jsx("p",{className:"px-4 text-center text-sm",children:s("pages.bespoke.sections.first.card.first.desc")})]}),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-2",children:[e.jsx(o,{size:40,color:"#5A1A1A"}),e.jsx("p",{className:"text-center font-serif text-xl font-medium",children:s("pages.bespoke.sections.first.card.second.title")}),e.jsx("p",{className:"px-4 text-center text-sm",children:s("pages.bespoke.sections.first.card.second.desc")})]}),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-2",children:[e.jsx(p,{size:40,color:"#5A1A1A"}),e.jsx("p",{className:"text-center font-serif text-xl font-medium",children:s("pages.bespoke.sections.first.card.third.title")}),e.jsx("p",{className:"px-4 text-center text-sm",children:s("pages.bespoke.sections.first.card.third.desc")})]}),e.jsxs("div",{className:"flex flex-col items-center justify-center gap-2",children:[e.jsx(h,{size:40,color:"#5A1A1A"}),e.jsx("p",{className:"text-center font-serif text-xl font-medium",children:s("pages.bespoke.sections.first.card.fourth.title")}),e.jsx("p",{className:"px-4 text-center text-sm",children:s("pages.bespoke.sections.first.card.fourth.desc")})]})]})]}),e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-12 px-12 py-18 max-sm:px-8",children:[e.jsx("h3",{className:"text-center font-serif text-4xl font-medium max-md:text-2xl",children:"Bespoke Product"}),e.jsx("div",{className:"grid grid-cols-4 gap-4",children:c.map(a=>e.jsx("img",{src:a.image_url,alt:a.title,className:"aspect-[4/5] rounded-lg object-cover object-center"}))})]}),e.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col items-center gap-8 px-12 py-18 max-sm:px-8",children:[e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsx("h4",{className:"text-center font-serif text-4xl font-medium max-md:text-2xl",children:s("pages.bespoke.sections.second.title")}),e.jsxs("p",{className:"text-center max-md:text-sm",children:[s("pages.bespoke.sections.second.desc")," ",e.jsx("br",{})," ",s("pages.bespoke.sections.second.desc2")]})]}),e.jsx(r,{className:"cursor-pointer",children:s("pages.bespoke.sections.second.button")})]})]})})}export{L as default};

View File

@@ -0,0 +1 @@
import{j as e,H as n,L as l}from"./app-C6SiEMGn.js";import{B as o}from"./createLucideIcon-CPpF-2ww.js";import{T as x,a as m,b as t,c as s,d as j,e as a,P as h,f as p}from"./table-DVbaU0dA.js";import{A as u,c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function B({carousel:d}){return e.jsx(e.Fragment,{children:e.jsxs(u,{breadcrumbs:[{title:"Carousel",href:c.index().url}],children:[e.jsx(n,{title:"Carousel"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Carousel"}),e.jsx(l,{href:c.add(),children:e.jsx(o,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(t,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(j,{children:d.map((r,i)=>e.jsxs(t,{children:[e.jsx(a,{className:"font-medium",children:i+1}),e.jsx(a,{children:e.jsx("img",{src:r.image_url,alt:r.alt,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(a,{children:r.alt}),e.jsx(a,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(h,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},i))})]})]})]})})}export{B as default};

View File

@@ -0,0 +1,6 @@
import{a as c}from"./createLucideIcon-CPpF-2ww.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],t=c("Check",e);export{t as C};

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 KiB

View File

@@ -0,0 +1 @@
import{j as s,H as a,F as e}from"./app-C6SiEMGn.js";import{I as t}from"./input-error-DHxzqysv.js";import{B as i}from"./createLucideIcon-CPpF-2ww.js";import{I as m}from"./input-DYhKGVpQ.js";import{L as d}from"./label-BB9HLxkE.js";import{A as p}from"./auth-layout-CgoifTok.js";import{s as n}from"./index-81wdD626.js";import{L as l}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";function b(){return s.jsxs(p,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing.",children:[s.jsx(a,{title:"Confirm password"}),s.jsx(e,{...n.form(),resetOnSuccess:["password"],children:({processing:r,errors:o})=>s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(d,{htmlFor:"password",children:"Password"}),s.jsx(m,{id:"password",type:"password",name:"password",placeholder:"Password",autoComplete:"current-password",autoFocus:!0}),s.jsx(t,{message:o.password})]}),s.jsx("div",{className:"flex items-center",children:s.jsxs(i,{className:"w-full",disabled:r,"data-test":"confirm-password-button",children:[r&&s.jsx(l,{className:"h-4 w-4 animate-spin"}),"Confirm password"]})})]})})]})}export{b as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{r as a,j as e,H as o}from"./app-C6SiEMGn.js";import{A as t,a as l}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./createLucideIcon-CPpF-2ww.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function r({className:d}){const s=a.useId();return e.jsxs("svg",{className:d,fill:"none",children:[e.jsx("defs",{children:e.jsx("pattern",{id:s,x:"0",y:"0",width:"10",height:"10",patternUnits:"userSpaceOnUse",children:e.jsx("path",{d:"M-3 13 15-5M-5 5l18-18M-1 21 17 3"})})}),e.jsx("rect",{stroke:"none",fill:`url(#${s})`,width:"100%",height:"100%"})]})}const i=[{title:"Dashboard",href:l().url}];function j(){return e.jsxs(t,{breadcrumbs:i,children:[e.jsx(o,{title:"Dashboard"}),e.jsxs("div",{className:"flex h-full flex-1 flex-col gap-4 overflow-x-auto rounded-xl p-4",children:[e.jsxs("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})}),e.jsx("div",{className:"relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]}),e.jsx("div",{className:"relative min-h-[100vh] flex-1 overflow-hidden rounded-xl border border-sidebar-border/70 md:min-h-min dark:border-sidebar-border",children:e.jsx(r,{className:"absolute inset-0 size-full stroke-neutral-900/20 dark:stroke-neutral-100/20"})})]})]})}export{j as default};

View File

@@ -0,0 +1 @@
import{j as t}from"./app-C6SiEMGn.js";import{R as i,T as l,C as r,d as s,X as d,e as c,D as g,P as u,O as f}from"./sheet-BvPq5L9Z.js";import{c as o}from"./createLucideIcon-CPpF-2ww.js";function v({...a}){return t.jsx(i,{"data-slot":"dialog",...a})}function b({...a}){return t.jsx(l,{"data-slot":"dialog-trigger",...a})}function x({...a}){return t.jsx(u,{"data-slot":"dialog-portal",...a})}function h({...a}){return t.jsx(s,{"data-slot":"dialog-close",...a})}function m({className:a,...e}){return t.jsx(f,{"data-slot":"dialog-overlay",className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",a),...e})}function y({className:a,children:e,...n}){return t.jsxs(x,{"data-slot":"dialog-portal",children:[t.jsx(m,{}),t.jsxs(r,{"data-slot":"dialog-content",className:o("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...n,children:[e,t.jsxs(s,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[t.jsx(d,{}),t.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function N({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-header",className:o("flex flex-col gap-2 text-center sm:text-left",a),...e})}function z({className:a,...e}){return t.jsx("div",{"data-slot":"dialog-footer",className:o("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function C({className:a,...e}){return t.jsx(c,{"data-slot":"dialog-title",className:o("text-lg leading-none font-semibold",a),...e})}function w({className:a,...e}){return t.jsx(g,{"data-slot":"dialog-description",className:o("text-muted-foreground text-sm",a),...e})}export{v as D,b as a,y as b,C as c,w as d,z as e,h as f,N as g};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as r,H as d,F as n}from"./app-C6SiEMGn.js";import{q as m,B as u,l as c}from"./createLucideIcon-CPpF-2ww.js";import{I as p}from"./input-error-DHxzqysv.js";import{T as h}from"./text-link-DNnNqMs9.js";import{I as f}from"./input-DYhKGVpQ.js";import{L as x}from"./label-BB9HLxkE.js";import{A as g}from"./auth-layout-CgoifTok.js";import{L as j}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/forgot-password"};t.url=e=>t.definition.url+m(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const s=e=>({action:t.url(e),method:"get"});s.get=e=>({action:t.url(e),method:"get"});s.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=s;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/forgot-password"};o.url=e=>o.definition.url+m(e);o.post=e=>({url:o.url(e),method:"post"});const i=e=>({action:o.url(e),method:"post"});i.post=e=>({action:o.url(e),method:"post"});o.form=i;const y={store:o};function C({status:e}){return r.jsxs(g,{title:"Forgot password",description:"Enter your email to receive a password reset link",children:[r.jsx(d,{title:"Forgot password"}),e&&r.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:e}),r.jsxs("div",{className:"space-y-6",children:[r.jsx(n,{...y.store.form(),children:({processing:a,errors:l})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(x,{htmlFor:"email",children:"Email address"}),r.jsx(f,{id:"email",type:"email",name:"email",autoComplete:"off",autoFocus:!0,placeholder:"email@example.com"}),r.jsx(p,{message:l.email})]}),r.jsx("div",{className:"my-6 flex items-center justify-start",children:r.jsxs(u,{className:"w-full",disabled:a,"data-test":"email-password-reset-link-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Email password reset link"]})})]})}),r.jsxs("div",{className:"space-x-1 text-center text-sm text-muted-foreground",children:[r.jsx("span",{children:"Or, return to"}),r.jsx(h,{href:c(),children:"log in"})]})]})]})}export{C as default};

View File

@@ -0,0 +1 @@
import{q as s}from"./createLucideIcon-CPpF-2ww.js";const o=t=>({url:o.url(t),method:"post"});o.definition={methods:["post"],url:"/user/confirm-password"};o.url=t=>o.definition.url+s(t);o.post=t=>({url:o.url(t),method:"post"});const r=t=>({action:o.url(t),method:"post"});r.post=t=>({action:o.url(t),method:"post"});o.form=r;const n={store:Object.assign(o,o)};export{n as c,o as s};

View File

@@ -0,0 +1 @@
import{a as p,g as u,r as f,j as l}from"./app-C6SiEMGn.js";import{e as v}from"./createLucideIcon-CPpF-2ww.js";var e=p();const h=u(e);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],D=d.reduce((r,t)=>{const s=v(`Primitive.${t}`),i=f.forwardRef((o,a)=>{const{asChild:m,...n}=o,c=m?s:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...n,ref:a})});return i.displayName=`Primitive.${t}`,{...r,[t]:i}},{});function w(r,t){r&&e.flushSync(()=>r.dispatchEvent(t))}export{D as P,h as R,w as d,e as r};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{q as a}from"./createLucideIcon-CPpF-2ww.js";const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/two-factor-challenge"};l.url=e=>l.definition.url+a(e);l.post=e=>({url:l.url(e),method:"post"});const q=e=>({action:l.url(e),method:"post"});q.post=e=>({action:l.url(e),method:"post"});l.form=q;const E={store:Object.assign(l,l)},d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/two-factor-challenge"};d.url=e=>d.definition.url+a(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const m=e=>({url:m.url(e),method:"post"});m.definition={methods:["post"],url:"/user/two-factor-authentication"};m.url=e=>m.definition.url+a(e);m.post=e=>({url:m.url(e),method:"post"});const Q=e=>({action:m.url(e),method:"post"});Q.post=e=>({action:m.url(e),method:"post"});m.form=Q;const n=e=>({url:n.url(e),method:"post"});n.definition={methods:["post"],url:"/user/confirmed-two-factor-authentication"};n.url=e=>n.definition.url+a(e);n.post=e=>({url:n.url(e),method:"post"});const p=e=>({action:n.url(e),method:"post"});p.post=e=>({action:n.url(e),method:"post"});n.form=p;const s=e=>({url:s.url(e),method:"delete"});s.definition={methods:["delete"],url:"/user/two-factor-authentication"};s.url=e=>s.definition.url+a(e);s.delete=e=>({url:s.url(e),method:"delete"});const b=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});b.delete=e=>({action:s.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"DELETE",...e?.query??e?.mergeQuery??{}}}),method:"post"});s.form=b;const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/user/two-factor-qr-code"};r.url=e=>r.definition.url+a(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const c=e=>({action:r.url(e),method:"get"});c.get=e=>({action:r.url(e),method:"get"});c.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=c;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/two-factor-secret-key"};t.url=e=>t.definition.url+a(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const g=e=>({action:t.url(e),method:"get"});g.get=e=>({action:t.url(e),method:"get"});g.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=g;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/user/two-factor-recovery-codes"};o.url=e=>o.definition.url+a(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const y=e=>({action:o.url(e),method:"get"});y.get=e=>({action:o.url(e),method:"get"});y.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=y;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/user/two-factor-recovery-codes"};i.url=e=>i.definition.url+a(e);i.post=e=>({url:i.url(e),method:"post"});const w=e=>({action:i.url(e),method:"post"});w.post=e=>({action:i.url(e),method:"post"});i.form=w;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/settings/two-factor"};u.url=e=>u.definition.url+a(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const f=e=>({action:u.url(e),method:"get"});f.get=e=>({action:u.url(e),method:"get"});f.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=f;Object.assign(d,E),Object.assign(m,m),Object.assign(n,n),Object.assign(s,s),Object.assign(r,r),Object.assign(t,t),Object.assign(o,o),Object.assign(i,i),Object.assign(u,u);export{t as a,u as b,i as c,n as d,s as e,m as f,r as q,o as r,l as s};

View File

@@ -0,0 +1 @@
import{q as s,b}from"./createLucideIcon-CPpF-2ww.js";import{c as j}from"./index-81wdD626.js";const d=e=>({url:d.url(e),method:"get"});d.definition={methods:["get","head"],url:"/user/confirm-password"};d.url=e=>d.definition.url+s(e);d.get=e=>({url:d.url(e),method:"get"});d.head=e=>({url:d.url(e),method:"head"});const h=e=>({action:d.url(e),method:"get"});h.get=e=>({action:d.url(e),method:"get"});h.head=e=>({action:d.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});d.form=h;const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/user/confirmed-password-status"};t.url=e=>t.definition.url+s(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const a=e=>({action:t.url(e),method:"get"});a.get=e=>({action:t.url(e),method:"get"});a.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=a;const o=e=>({url:o.url(e),method:"get"});o.definition={methods:["get","head"],url:"/settings/password"};o.url=e=>o.definition.url+s(e);o.get=e=>({url:o.url(e),method:"get"});o.head=e=>({url:o.url(e),method:"head"});const g=e=>({action:o.url(e),method:"get"});g.get=e=>({action:o.url(e),method:"get"});g.head=e=>({action:o.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});o.form=g;const n=e=>({url:n.url(e),method:"put"});n.definition={methods:["put"],url:"/settings/password"};n.url=e=>n.definition.url+s(e);n.put=e=>({url:n.url(e),method:"put"});const y=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});y.put=e=>({action:n.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...e?.query??e?.mergeQuery??{}}}),method:"post"});n.form=y;const u=e=>({url:u.url(e),method:"get"});u.definition={methods:["get","head"],url:"/forgot-password"};u.url=e=>u.definition.url+s(e);u.get=e=>({url:u.url(e),method:"get"});u.head=e=>({url:u.url(e),method:"head"});const c=e=>({action:u.url(e),method:"get"});c.get=e=>({action:u.url(e),method:"get"});c.head=e=>({action:u.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});u.form=c;const l=e=>({url:l.url(e),method:"post"});l.definition={methods:["post"],url:"/forgot-password"};l.url=e=>l.definition.url+s(e);l.post=e=>({url:l.url(e),method:"post"});const p=e=>({action:l.url(e),method:"post"});p.post=e=>({action:l.url(e),method:"post"});l.form=p;const m=(e,r)=>({url:m.url(e,r),method:"get"});m.definition={methods:["get","head"],url:"/reset-password/{token}"};m.url=(e,r)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=b(e);const q={token:e.token};return m.definition.url.replace("{token}",q.token.toString()).replace(/\/+$/,"")+s(r)};m.get=(e,r)=>({url:m.url(e,r),method:"get"});m.head=(e,r)=>({url:m.url(e,r),method:"head"});const f=(e,r)=>({action:m.url(e,r),method:"get"});f.get=(e,r)=>({action:m.url(e,r),method:"get"});f.head=(e,r)=>({action:m.url(e,{[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});m.form=f;const i=e=>({url:i.url(e),method:"post"});i.definition={methods:["post"],url:"/reset-password"};i.url=e=>i.definition.url+s(e);i.post=e=>({url:i.url(e),method:"post"});const Q=e=>({action:i.url(e),method:"post"});Q.post=e=>({action:i.url(e),method:"post"});i.form=Q;Object.assign(d,j),Object.assign(t,t),Object.assign(o,o),Object.assign(n,n),Object.assign(u,u),Object.assign(l,l),Object.assign(m,m),Object.assign(i,i);export{o as e,u as r};

View File

@@ -0,0 +1 @@
import{r as u}from"./app-C6SiEMGn.js";function o(r){const e=u.useRef({value:r,previous:r});return u.useMemo(()=>(e.current.value!==r&&(e.current.previous=e.current.value,e.current.value=r),e.current.previous),[r])}export{o as u};

View File

@@ -0,0 +1 @@
import{r as s,j as d}from"./app-C6SiEMGn.js";import{c as H,a as p,u as V}from"./index-FUlYkgbj.js";import{c as z,u as q,a as J,b as Q}from"./sheet-BvPq5L9Z.js";import{u as W}from"./createLucideIcon-CPpF-2ww.js";import{P as G}from"./index-B7t1D_co.js";var _="rovingFocusGroup.onEntryFocus",X={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[y,N,Z]=z(I),[$,me]=H(I,[Z]),[ee,oe]=$(I),O=s.forwardRef((e,r)=>d.jsx(y.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(y.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(te,{...e,ref:r})})}));O.displayName=I;var te=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:T=!1,dir:w,currentTabStopId:v,defaultCurrentTabStopId:C,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:a=!1,...b}=e,F=s.useRef(null),g=W(r,F),R=J(w),[E,t]=V({prop:v,defaultProp:C??null,onChange:S,caller:I}),[i,x]=s.useState(!1),u=Q(m),l=N(c),h=s.useRef(!1),[k,P]=s.useState(0);return s.useEffect(()=>{const n=F.current;if(n)return n.addEventListener(_,u),()=>n.removeEventListener(_,u)},[u]),d.jsx(ee,{scope:c,orientation:o,dir:R,loop:T,currentTabStopId:E,onItemFocus:s.useCallback(n=>t(n),[t]),onItemShiftTab:s.useCallback(()=>x(!0),[]),onFocusableItemAdd:s.useCallback(()=>P(n=>n+1),[]),onFocusableItemRemove:s.useCallback(()=>P(n=>n-1),[]),children:d.jsx(G.div,{tabIndex:i||k===0?-1:0,"data-orientation":o,...b,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{h.current=!0}),onFocus:p(e.onFocus,n=>{const L=!h.current;if(n.target===n.currentTarget&&L&&!i){const D=new CustomEvent(_,X);if(n.currentTarget.dispatchEvent(D),!D.defaultPrevented){const A=l().filter(f=>f.focusable),U=A.find(f=>f.active),B=A.find(f=>f.id===E),Y=[U,B,...A].filter(Boolean).map(f=>f.ref.current);M(Y,a)}}h.current=!1}),onBlur:p(e.onBlur,()=>x(!1))})})}),K="RovingFocusGroupItem",j=s.forwardRef((e,r)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:T=!1,tabStopId:w,children:v,...C}=e,S=q(),m=w||S,a=oe(K,c),b=a.currentTabStopId===m,F=N(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:E}=a;return s.useEffect(()=>{if(o)return g(),()=>R()},[o,g,R]),d.jsx(y.ItemSlot,{scope:c,id:m,focusable:o,active:T,children:d.jsx(G.span,{tabIndex:b?0:-1,"data-orientation":a.orientation,...C,ref:r,onMouseDown:p(e.onMouseDown,t=>{o?a.onItemFocus(m):t.preventDefault()}),onFocus:p(e.onFocus,()=>a.onItemFocus(m)),onKeyDown:p(e.onKeyDown,t=>{if(t.key==="Tab"&&t.shiftKey){a.onItemShiftTab();return}if(t.target!==t.currentTarget)return;const i=se(t,a.orientation,a.dir);if(i!==void 0){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let u=F().filter(l=>l.focusable).map(l=>l.ref.current);if(i==="last")u.reverse();else if(i==="prev"||i==="next"){i==="prev"&&u.reverse();const l=u.indexOf(t.currentTarget);u=a.loop?ce(u,l+1):u.slice(l+1)}setTimeout(()=>M(u))}}),children:typeof v=="function"?v({isCurrentTabStop:b,hasTabStop:E!=null}):v})})});j.displayName=K;var re={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ne(e,r){return r!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function se(e,r,c){const o=ne(e.key,c);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return re[o]}function M(e,r=!1){const c=document.activeElement;for(const o of e)if(o===c||(o.focus({preventScroll:r}),document.activeElement!==c))return}function ce(e,r){return e.map((c,o)=>e[(r+o)%e.length])}var pe=O,ve=j;export{ve as I,pe as R,me as c};

View File

@@ -0,0 +1 @@
import{j as s,H as n,L as a}from"./app-C6SiEMGn.js";import{B as x}from"./createLucideIcon-CPpF-2ww.js";import{T as o,a as h,b as t,c as e,d as m,e as r,P as j,f as p}from"./table-DVbaU0dA.js";import{A as f,d as c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function q({faq:d}){return s.jsxs(f,{breadcrumbs:[{title:"FAQs",href:c.product.index().url}],children:[s.jsx(n,{title:"FAQs"}),s.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"FAQs"}),s.jsx(a,{href:c.faq.add(),children:s.jsx(x,{className:"cursor-pointer",children:"Add Questions"})})]}),s.jsxs(o,{children:[s.jsx(h,{children:s.jsxs(t,{children:[s.jsx(e,{className:"w-[80px]",children:"S.N."}),s.jsx(e,{children:"Question"}),s.jsx(e,{children:"Answer"}),s.jsx(e,{className:"text-right",children:"Action"})]})}),s.jsx(m,{children:d.map((i,l)=>s.jsxs(t,{children:[s.jsx(r,{className:"font-medium",children:l+1}),s.jsx(r,{children:i.question}),s.jsx(r,{children:i.answer}),s.jsx(r,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.jsx(a,{href:"",children:s.jsx(j,{size:18})}),s.jsx(a,{href:"",children:s.jsx(p,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})}export{q as default};

View File

@@ -0,0 +1 @@
import{j as e,H as o,L as l}from"./app-C6SiEMGn.js";import{B as n}from"./createLucideIcon-CPpF-2ww.js";import{T as x,a as m,b as i,c as s,d as h,e as r,P as j,f as p}from"./table-DVbaU0dA.js";import{A as u,d as c}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function B({product:d}){return e.jsxs(u,{breadcrumbs:[{title:"Products",href:c.product.index().url}],children:[e.jsx(o,{title:"Products"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Products"}),e.jsx(l,{href:c.product.add(),children:e.jsx(n,{className:"cursor-pointer",children:"Add Image"})})]}),e.jsxs(x,{children:[e.jsx(m,{children:e.jsxs(i,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Title"}),e.jsx(s,{className:"w-24",children:"Type"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(h,{children:d.map((a,t)=>e.jsxs(i,{children:[e.jsx(r,{className:"font-medium",children:t+1}),e.jsx(r,{children:e.jsx("img",{src:a.image_url,alt:a.title,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(r,{children:a.title}),e.jsx(r,{children:a.type}),e.jsx(r,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(l,{href:"",children:e.jsx(j,{size:18})}),e.jsx(l,{href:"",children:e.jsx(p,{size:18,color:"#D2042D"})})]})})]},t))})]})]})]})}export{B as default};

View File

@@ -0,0 +1 @@
import{r as i,j as x,t as y}from"./app-C6SiEMGn.js";import{u as A}from"./createLucideIcon-CPpF-2ww.js";function U(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function z(e,t){const n=i.createContext(t),r=c=>{const{children:u,...s}=c,a=i.useMemo(()=>s,Object.values(s));return x.jsx(n.Provider,{value:a,children:u})};r.displayName=e+"Provider";function o(c){const u=i.useContext(n);if(u)return u;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[r,o]}function _(e,t=[]){let n=[];function r(c,u){const s=i.createContext(u),a=n.length;n=[...n,u];const f=d=>{const{scope:p,children:m,...v}=d,S=p?.[e]?.[a]||s,g=i.useMemo(()=>v,Object.values(v));return x.jsx(S.Provider,{value:g,children:m})};f.displayName=c+"Provider";function l(d,p){const m=p?.[e]?.[a]||s,v=i.useContext(m);if(v)return v;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,l]}const o=()=>{const c=n.map(u=>i.createContext(u));return function(s){const a=s?.[e]||c;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,E(o,...t)]}function E(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=r.reduce((s,{useScope:a,scopeName:f})=>{const d=a(c)[`__scope${f}`];return{...s,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}var N=globalThis?.document?i.useLayoutEffect:()=>{};function $(e){const[t,n]=i.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let u,s;if("borderBoxSize"in c){const a=c.borderBoxSize,f=Array.isArray(a)?a[0]:a;u=f.inlineSize,s=f.blockSize}else u=e.offsetWidth,s=e.offsetHeight;n({width:u,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var b=y[" useInsertionEffect ".trim().toString()]||N;function j({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,c,u]=C({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:o;{const l=i.useRef(e!==void 0);i.useEffect(()=>{const d=l.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),l.current=s},[s,r])}const f=i.useCallback(l=>{if(s){const d=w(l)?l(e):l;d!==e&&u.current?.(d)}else c(l)},[s,e,c,u]);return[a,f]}function C({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),c=i.useRef(t);return b(()=>{c.current=t},[t]),i.useEffect(()=>{o.current!==n&&(c.current?.(n),o.current=n)},[n,o]),[n,r,c]}function w(e){return typeof e=="function"}function P(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var M=e=>{const{present:t,children:n}=e,r=R(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),c=A(r.ref,O(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:c}):null};M.displayName="Presence";function R(e){const[t,n]=i.useState(),r=i.useRef(null),o=i.useRef(e),c=i.useRef("none"),u=e?"mounted":"unmounted",[s,a]=P(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const f=h(r.current);c.current=s==="mounted"?f:"none"},[s]),N(()=>{const f=r.current,l=o.current;if(l!==e){const p=c.current,m=h(f);e?a("MOUNT"):m==="none"||f?.display==="none"?a("UNMOUNT"):a(l&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),N(()=>{if(t){let f;const l=t.ownerDocument.defaultView??window,d=m=>{const S=h(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&S&&(a("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",f=l.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},p=m=>{m.target===t&&(c.current=h(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{l.clearTimeout(f),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function h(e){return e?.animationName||"none"}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}export{M as P,U as a,$ as b,_ as c,N as d,z as e,j as u};

View File

@@ -0,0 +1 @@
import{j as t}from"./app-C6SiEMGn.js";import{c as n}from"./createLucideIcon-CPpF-2ww.js";function a({className:e,type:i,...r}){return t.jsx("input",{type:i,"data-slot":"input",className:n("border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}export{a as I};

View File

@@ -0,0 +1 @@
import{j as n}from"./app-C6SiEMGn.js";import{c as o}from"./createLucideIcon-CPpF-2ww.js";function m({message:r,className:t="",...e}){return r?n.jsx("p",{...e,className:o("text-sm text-red-600 dark:text-red-400",t),children:r}):null}export{m as I};

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

View File

@@ -0,0 +1 @@
import{r as s,j as r}from"./app-C6SiEMGn.js";import{P as l}from"./index-B7t1D_co.js";import{c as n}from"./createLucideIcon-CPpF-2ww.js";var i="Label",o=s.forwardRef((t,a)=>r.jsx(l.label,{...t,ref:a,onMouseDown:e=>{e.target.closest("button, input, select, textarea")||(t.onMouseDown?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault())}}));o.displayName=i;var d=o;function f({className:t,...a}){return r.jsx(d,{"data-slot":"label",className:n("text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}export{f as L};

View File

@@ -0,0 +1 @@
import{r as m,j as t,L as f}from"./app-C6SiEMGn.js";import{c,q as x,B as p}from"./createLucideIcon-CPpF-2ww.js";import{P as g}from"./index-B7t1D_co.js";import{e as j}from"./index-CaEroahx.js";import{e as N}from"./app-layout-B4kweoSW.js";import{b as v}from"./index-BrphWuSj.js";var w="Separator",l="horizontal",y=["horizontal","vertical"],d=m.forwardRef((e,o)=>{const{decorative:a,orientation:n=l,...u}=e,i=b(n)?n:l,h=a?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return t.jsx(g.div,{"data-orientation":i,...h,...u,ref:o})});d.displayName=w;function b(e){return y.includes(e)}var P=d;function O({className:e,orientation:o="horizontal",decorative:a=!0,...n}){return t.jsx(P,{"data-slot":"separator-root",decorative:a,orientation:o,className:c("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}function H({title:e,description:o}){return t.jsxs("header",{children:[t.jsx("h3",{className:"mb-0.5 text-base font-medium",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}function S({title:e,description:o}){return t.jsxs("div",{className:"mb-8 space-y-0.5",children:[t.jsx("h2",{className:"text-xl font-semibold tracking-tight",children:e}),o&&t.jsx("p",{className:"text-sm text-muted-foreground",children:o})]})}const r=e=>({url:r.url(e),method:"get"});r.definition={methods:["get","head"],url:"/settings/appearance"};r.url=e=>r.definition.url+x(e);r.get=e=>({url:r.url(e),method:"get"});r.head=e=>({url:r.url(e),method:"head"});const s=e=>({action:r.url(e),method:"get"});s.get=e=>({action:r.url(e),method:"get"});s.head=e=>({action:r.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});r.form=s;Object.assign(r,r);const A=[{title:"Profile",href:N(),icon:null},{title:"Password",href:j(),icon:null},{title:"Two-Factor Auth",href:v(),icon:null},{title:"Appearance",href:r(),icon:null}];function L({children:e}){if(typeof window>"u")return null;const o=window.location.pathname;return t.jsxs("div",{className:"px-4 py-6",children:[t.jsx(S,{title:"Settings",description:"Manage your profile and account settings"}),t.jsxs("div",{className:"flex flex-col lg:flex-row lg:space-x-12",children:[t.jsx("aside",{className:"w-full max-w-xl lg:w-48",children:t.jsx("nav",{className:"flex flex-col space-y-1 space-x-0",children:A.map((a,n)=>t.jsx(p,{size:"sm",variant:"ghost",asChild:!0,className:c("w-full justify-start",{"bg-muted":o===(typeof a.href=="string"?a.href:a.href.url)}),children:t.jsxs(f,{href:a.href,children:[a.icon&&t.jsx(a.icon,{className:"h-4 w-4"}),a.title]})},`${typeof a.href=="string"?a.href:a.href.url}-${n}`))})}),t.jsx(O,{className:"my-6 lg:hidden"}),t.jsx("div",{className:"flex-1 md:max-w-2xl",children:t.jsx("section",{className:"max-w-xl space-y-12",children:e})})]})]})}export{H,L as S,r as e};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
import{a as e}from"./createLucideIcon-CPpF-2ww.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],c=e("LoaderCircle",o);export{c as L};

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -0,0 +1,6 @@
import{a}from"./createLucideIcon-CPpF-2ww.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const e=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],t=a("Package",e);export{t as P};

View File

@@ -0,0 +1,6 @@
import{a as c}from"./createLucideIcon-CPpF-2ww.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r=[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]],l=c("Palette",r);export{l as P};

View File

@@ -0,0 +1 @@
import{r as m,j as e,H as h,F as f}from"./app-C6SiEMGn.js";import{q as l,B as g}from"./createLucideIcon-CPpF-2ww.js";import{I as a}from"./input-error-DHxzqysv.js";import{A as x}from"./app-layout-B4kweoSW.js";import{S as y,H as j}from"./layout-C1UmCZPc.js";import{I as d}from"./input-DYhKGVpQ.js";import{L as n}from"./label-BB9HLxkE.js";import{e as _}from"./index-CaEroahx.js";import{z as N}from"./transition-DErrJhEy.js";import"./app-6D7Y1jSv.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";import"./index-BrphWuSj.js";import"./index-81wdD626.js";const s=r=>({url:s.url(r),method:"get"});s.definition={methods:["get","head"],url:"/settings/password"};s.url=r=>s.definition.url+l(r);s.get=r=>({url:s.url(r),method:"get"});s.head=r=>({url:s.url(r),method:"head"});const u=r=>({action:s.url(r),method:"get"});u.get=r=>({action:s.url(r),method:"get"});u.head=r=>({action:s.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...r?.query??r?.mergeQuery??{}}}),method:"get"});s.form=u;const t=r=>({url:t.url(r),method:"put"});t.definition={methods:["put"],url:"/settings/password"};t.url=r=>t.definition.url+l(r);t.put=r=>({url:t.url(r),method:"put"});const p=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});p.put=r=>({action:t.url({[r?.mergeQuery?"mergeQuery":"query"]:{_method:"PUT",...r?.query??r?.mergeQuery??{}}}),method:"post"});t.form=p;const v={update:t},F=[{title:"Password settings",href:_().url}];function D(){const r=m.useRef(null),i=m.useRef(null);return e.jsxs(x,{breadcrumbs:F,children:[e.jsx(h,{title:"Password settings"}),e.jsx(y,{children:e.jsxs("div",{className:"space-y-6",children:[e.jsx(j,{title:"Update password",description:"Ensure your account is using a long, random password to stay secure"}),e.jsx(f,{...v.update.form(),options:{preserveScroll:!0},resetOnError:["password","password_confirmation","current_password"],resetOnSuccess:!0,onError:o=>{o.password&&r.current?.focus(),o.current_password&&i.current?.focus()},className:"space-y-6",children:({errors:o,processing:c,recentlySuccessful:w})=>e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"current_password",children:"Current password"}),e.jsx(d,{id:"current_password",ref:i,name:"current_password",type:"password",className:"mt-1 block w-full",autoComplete:"current-password",placeholder:"Current password"}),e.jsx(a,{message:o.current_password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password",children:"New password"}),e.jsx(d,{id:"password",ref:r,name:"password",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"New password"}),e.jsx(a,{message:o.password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(n,{htmlFor:"password_confirmation",children:"Confirm password"}),e.jsx(d,{id:"password_confirmation",name:"password_confirmation",type:"password",className:"mt-1 block w-full",autoComplete:"new-password",placeholder:"Confirm password"}),e.jsx(a,{message:o.password_confirmation})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(g,{disabled:c,"data-test":"update-password-button",children:"Save password"}),e.jsx(N,{show:w,enter:"transition ease-in-out",enterFrom:"opacity-0",leave:"transition ease-in-out",leaveTo:"opacity-0",children:e.jsx("p",{className:"text-sm text-neutral-600",children:"Saved"})})]})]})})]})})]})}export{D as default};

View File

@@ -0,0 +1 @@
import{j as a,H as l}from"./app-C6SiEMGn.js";import{T as o,a as m,b as i,c}from"./tabs-0s913y8g.js";import{u as d,L as n}from"./layout-DermKrDq.js";import"./app-6D7Y1jSv.js";import"./index-FUlYkgbj.js";import"./createLucideIcon-CPpF-2ww.js";import"./index-CxjaVpyF.js";import"./sheet-BvPq5L9Z.js";import"./index-B7t1D_co.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";import"./select-BuGuwdXt.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";function L({product:r}){const{t:e}=d();return a.jsx(a.Fragment,{children:a.jsxs(n,{children:[a.jsx(l,{title:"Our Products"}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8",children:[a.jsx("h1",{className:"font-serif text-5xl font-medium tracking-tight",children:e("pages.product.sections.first.title")}),a.jsxs(o,{defaultValue:"traditional",className:"flex flex-col gap-8",children:[a.jsxs(m,{className:"flex items-center gap-4 bg-transparent",children:[a.jsx(i,{value:"traditional",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab1")}),a.jsx(i,{value:"modern",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab2")}),a.jsx(i,{value:"abstract",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab3")})]}),a.jsx(c,{value:"traditional",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="traditional"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"modern",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="modern"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"abstract",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="abstract"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})})]})]}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8 max-md:px-8",children:[a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("h2",{className:"font-serif text-3xl font-medium tracking-tight",children:e("pages.product.sections.second.title")}),a.jsx("p",{className:"text-gray-500",children:e("pages.product.sections.second.desc")})]}),a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="art"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})]})]})})}export{L as default};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as r,H as u,F as c}from"./app-C6SiEMGn.js";import{q as l,B as p,l as h}from"./createLucideIcon-CPpF-2ww.js";import{I as o}from"./input-error-DHxzqysv.js";import{T as x}from"./text-link-DNnNqMs9.js";import{I as i}from"./input-DYhKGVpQ.js";import{L as m}from"./label-BB9HLxkE.js";import{A as g}from"./auth-layout-CgoifTok.js";import{L as f}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=e=>({url:t.url(e),method:"get"});t.definition={methods:["get","head"],url:"/register"};t.url=e=>t.definition.url+l(e);t.get=e=>({url:t.url(e),method:"get"});t.head=e=>({url:t.url(e),method:"head"});const d=e=>({action:t.url(e),method:"get"});d.get=e=>({action:t.url(e),method:"get"});d.head=e=>({action:t.url({[e?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...e?.query??e?.mergeQuery??{}}}),method:"get"});t.form=d;const s=e=>({url:s.url(e),method:"post"});s.definition={methods:["post"],url:"/register"};s.url=e=>s.definition.url+l(e);s.post=e=>({url:s.url(e),method:"post"});const n=e=>({action:s.url(e),method:"post"});n.post=e=>({action:s.url(e),method:"post"});s.form=n;const j={store:s};function E(){return r.jsxs(g,{title:"Create an account",description:"Enter your details below to create your account",children:[r.jsx(u,{title:"Register"}),r.jsx(c,{...j.store.form(),resetOnSuccess:["password","password_confirmation"],disableWhileProcessing:!0,className:"flex flex-col gap-6",children:({processing:e,errors:a})=>r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"name",children:"Name"}),r.jsx(i,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",name:"name",placeholder:"Full name"}),r.jsx(o,{message:a.name,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"email",children:"Email address"}),r.jsx(i,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",name:"email",placeholder:"email@example.com"}),r.jsx(o,{message:a.email})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password",children:"Password"}),r.jsx(i,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",name:"password",placeholder:"Password"}),r.jsx(o,{message:a.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(m,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(i,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",name:"password_confirmation",placeholder:"Confirm password"}),r.jsx(o,{message:a.password_confirmation})]}),r.jsxs(p,{type:"submit",className:"mt-2 w-full",tabIndex:5,"data-test":"register-user-button",children:[e&&r.jsx(f,{className:"h-4 w-4 animate-spin"}),"Create account"]})]}),r.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:["Already have an account?"," ",r.jsx(x,{href:h(),tabIndex:6,children:"Log in"})]})]})})]})}export{E as default};

View File

@@ -0,0 +1 @@
import{j as r,H as c,F as w}from"./app-C6SiEMGn.js";import{q as p,b as f,B as h}from"./createLucideIcon-CPpF-2ww.js";import{I as m}from"./input-error-DHxzqysv.js";import{I as d}from"./input-DYhKGVpQ.js";import{L as i}from"./label-BB9HLxkE.js";import{A as x}from"./auth-layout-CgoifTok.js";import{L as j}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./index-B7t1D_co.js";import"./app-logo-icon-B_KiS1IV.js";const t=(e,s)=>({url:t.url(e,s),method:"get"});t.definition={methods:["get","head"],url:"/reset-password/{token}"};t.url=(e,s)=>{(typeof e=="string"||typeof e=="number")&&(e={token:e}),Array.isArray(e)&&(e={token:e[0]}),e=f(e);const a={token:e.token};return t.definition.url.replace("{token}",a.token.toString()).replace(/\/+$/,"")+p(s)};t.get=(e,s)=>({url:t.url(e,s),method:"get"});t.head=(e,s)=>({url:t.url(e,s),method:"head"});const n=(e,s)=>({action:t.url(e,s),method:"get"});n.get=(e,s)=>({action:t.url(e,s),method:"get"});n.head=(e,s)=>({action:t.url(e,{[s?.mergeQuery?"mergeQuery":"query"]:{_method:"HEAD",...s?.query??s?.mergeQuery??{}}}),method:"get"});t.form=n;const o=e=>({url:o.url(e),method:"post"});o.definition={methods:["post"],url:"/reset-password"};o.url=e=>o.definition.url+p(e);o.post=e=>({url:o.url(e),method:"post"});const u=e=>({action:o.url(e),method:"post"});u.post=e=>({action:o.url(e),method:"post"});o.form=u;const y={store:o};function L({token:e,email:s}){return r.jsxs(x,{title:"Reset password",description:"Please enter your new password below",children:[r.jsx(c,{title:"Reset password"}),r.jsx(w,{...y.store.form(),transform:a=>({...a,token:e,email:s}),resetOnSuccess:["password","password_confirmation"],children:({processing:a,errors:l})=>r.jsxs("div",{className:"grid gap-6",children:[r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"email",children:"Email"}),r.jsx(d,{id:"email",type:"email",name:"email",autoComplete:"email",value:s,className:"mt-1 block w-full",readOnly:!0}),r.jsx(m,{message:l.email,className:"mt-2"})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password",children:"Password"}),r.jsx(d,{id:"password",type:"password",name:"password",autoComplete:"new-password",className:"mt-1 block w-full",autoFocus:!0,placeholder:"Password"}),r.jsx(m,{message:l.password})]}),r.jsxs("div",{className:"grid gap-2",children:[r.jsx(i,{htmlFor:"password_confirmation",children:"Confirm password"}),r.jsx(d,{id:"password_confirmation",type:"password",name:"password_confirmation",autoComplete:"new-password",className:"mt-1 block w-full",placeholder:"Confirm password"}),r.jsx(m,{message:l.password_confirmation,className:"mt-2"})]}),r.jsxs(h,{type:"submit",className:"mt-4 w-full",disabled:a,"data-test":"reset-password-button",children:[a&&r.jsx(j,{className:"h-4 w-4 animate-spin"}),"Reset password"]})]})})]})}export{L as default};

Binary file not shown.

After

Width:  |  Height:  |  Size: 684 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 826 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

View File

@@ -0,0 +1,11 @@
import{a as o,c as l}from"./createLucideIcon-CPpF-2ww.js";import{j as t}from"./app-C6SiEMGn.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const s=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],d=o("Pencil",s);/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],i=o("Trash2",r);function b({className:a,...e}){return t.jsx("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:t.jsx("table",{"data-slot":"table",className:l("w-full caption-bottom text-sm",a),...e})})}function x({className:a,...e}){return t.jsx("thead",{"data-slot":"table-header",className:l("[&_tr]:border-b",a),...e})}function h({className:a,...e}){return t.jsx("tbody",{"data-slot":"table-body",className:l("[&_tr:last-child]:border-0",a),...e})}function u({className:a,...e}){return t.jsx("tr",{"data-slot":"table-row",className:l("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",a),...e})}function m({className:a,...e}){return t.jsx("th",{"data-slot":"table-head",className:l("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...e})}function p({className:a,...e}){return t.jsx("td",{"data-slot":"table-cell",className:l("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...e})}export{d as P,b as T,x as a,u as b,m as c,h as d,p as e,i as f};

View File

@@ -0,0 +1 @@
import{r as b,j as r}from"./app-C6SiEMGn.js";import{u as E,c as S,a as x,P as M}from"./index-FUlYkgbj.js";import{c as h,R as k,I as F}from"./index-CxjaVpyF.js";import{P as g}from"./index-B7t1D_co.js";import{a as $,u as D}from"./sheet-BvPq5L9Z.js";import{c as p}from"./createLucideIcon-CPpF-2ww.js";var m="Tabs",[V,W]=S(m,[h]),C=h(),[G,T]=V(m),I=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,onValueChange:s,defaultValue:d,orientation:o="horizontal",dir:u,activationMode:f="automatic",...v}=e,i=$(u),[n,l]=E({prop:a,onChange:s,defaultProp:d??"",caller:m});return r.jsx(G,{scope:c,baseId:D(),value:n,onValueChange:l,orientation:o,dir:i,activationMode:f,children:r.jsx(g.div,{dir:i,"data-orientation":o,...v,ref:t})})});I.displayName=m;var j="TabsList",y=b.forwardRef((e,t)=>{const{__scopeTabs:c,loop:a=!0,...s}=e,d=T(j,c),o=C(c);return r.jsx(k,{asChild:!0,...o,orientation:d.orientation,dir:d.dir,loop:a,children:r.jsx(g.div,{role:"tablist","aria-orientation":d.orientation,...s,ref:t})})});y.displayName=j;var _="TabsTrigger",N=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,disabled:s=!1,...d}=e,o=T(_,c),u=C(c),f=A(o.baseId,a),v=P(o.baseId,a),i=a===o.value;return r.jsx(F,{asChild:!0,...u,focusable:!s,active:i,children:r.jsx(g.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":v,"data-state":i?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:f,...d,ref:t,onMouseDown:x(e.onMouseDown,n=>{!s&&n.button===0&&n.ctrlKey===!1?o.onValueChange(a):n.preventDefault()}),onKeyDown:x(e.onKeyDown,n=>{[" ","Enter"].includes(n.key)&&o.onValueChange(a)}),onFocus:x(e.onFocus,()=>{const n=o.activationMode!=="manual";!i&&!s&&n&&o.onValueChange(a)})})})});N.displayName=_;var R="TabsContent",w=b.forwardRef((e,t)=>{const{__scopeTabs:c,value:a,forceMount:s,children:d,...o}=e,u=T(R,c),f=A(u.baseId,a),v=P(u.baseId,a),i=a===u.value,n=b.useRef(i);return b.useEffect(()=>{const l=requestAnimationFrame(()=>n.current=!1);return()=>cancelAnimationFrame(l)},[]),r.jsx(M,{present:s||i,children:({present:l})=>r.jsx(g.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":f,hidden:!l,id:v,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:n.current?"0s":void 0},children:l&&d})})});w.displayName=R;function A(e,t){return`${e}-trigger-${t}`}function P(e,t){return`${e}-content-${t}`}var L=I,z=y,K=N,B=w;function X({className:e,...t}){return r.jsx(L,{"data-slot":"tabs",className:p("flex flex-col gap-2",e),...t})}function Y({className:e,...t}){return r.jsx(z,{"data-slot":"tabs-list",className:p("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function Z({className:e,...t}){return r.jsx(K,{"data-slot":"tabs-trigger",className:p("data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function ee({className:e,...t}){return r.jsx(B,{"data-slot":"tabs-content",className:p("flex-1 outline-none",e),...t})}export{X as T,Y as a,Z as b,ee as c};

View File

@@ -0,0 +1 @@
import{j as e,H as n,L as r}from"./app-C6SiEMGn.js";import{T as d,a as o,b as c,c as s,d as x,e as i,P as m,f as j}from"./table-DVbaU0dA.js";import{A as h,i as p}from"./app-layout-B4kweoSW.js";import"./app-6D7Y1jSv.js";import"./createLucideIcon-CPpF-2ww.js";import"./sheet-BvPq5L9Z.js";import"./index-FUlYkgbj.js";import"./index-B7t1D_co.js";import"./index-CxjaVpyF.js";import"./app-logo-icon-B_KiS1IV.js";import"./package-DTdg9l_D.js";function A({testimonial:t}){return e.jsx(e.Fragment,{children:e.jsxs(h,{breadcrumbs:[{title:"Testimonial",href:p().url}],children:[e.jsx(n,{title:"Testimonials"}),e.jsxs("section",{className:"flex flex-col gap-8 px-8 py-8",children:[e.jsx("div",{className:"flex items-center justify-between",children:e.jsx("h1",{className:"text-xl font-semibold tracking-tight",children:"Testimonial"})}),e.jsxs(d,{children:[e.jsx(o,{children:e.jsxs(c,{children:[e.jsx(s,{className:"w-[80px]",children:"S.N."}),e.jsx(s,{className:"w-48",children:"Image"}),e.jsx(s,{children:"Name"}),e.jsx(s,{children:"Location"}),e.jsx(s,{children:"Description"}),e.jsx(s,{className:"text-right",children:"Action"})]})}),e.jsx(x,{children:t.map((a,l)=>e.jsxs(c,{children:[e.jsx(i,{className:"font-medium",children:l+1}),e.jsx(i,{children:e.jsx("img",{src:a.image,alt:a.name,className:"aspect-video w-24 rounded-md object-cover object-center"})}),e.jsx(i,{children:a.name}),e.jsx(i,{children:a.location}),e.jsx(i,{children:a.description}),e.jsx(i,{className:"text-right",children:e.jsxs("div",{className:"flex items-center justify-end gap-2",children:[e.jsx(r,{href:"",children:e.jsx(m,{size:18})}),e.jsx(r,{href:"",children:e.jsx(j,{size:18,color:"#D2042D"})})]})})]},l))})]})]})]})})}export{A as default};

View File

@@ -0,0 +1 @@
import{j as t,L as n}from"./app-C6SiEMGn.js";import{c as a}from"./createLucideIcon-CPpF-2ww.js";function u({className:r="",children:e,...o}){return t.jsx(n,{className:a("text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",r),...o,children:e})}export{u as T};

View File

@@ -0,0 +1 @@
import{j as i}from"./app-C6SiEMGn.js";import{c as t}from"./createLucideIcon-CPpF-2ww.js";function n({className:r,...e}){return i.jsx("textarea",{"data-slot":"textarea",className:t("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",r),...e})}export{n as T};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{r as s,j as e,H as f,F as h}from"./app-C6SiEMGn.js";import{I as u}from"./input-error-DHxzqysv.js";import{B as y}from"./createLucideIcon-CPpF-2ww.js";import{I as g}from"./input-DYhKGVpQ.js";import{I as j,K as v,O as l,a as I,b as T}from"./use-two-factor-auth-CI4BDFqe.js";import{A as C}from"./auth-layout-CgoifTok.js";import{s as b}from"./index-BrphWuSj.js";import"./app-6D7Y1jSv.js";import"./app-logo-icon-B_KiS1IV.js";function S(){const[t,d]=s.useState(!1),[m,n]=s.useState(""),r=s.useMemo(()=>t?{title:"Recovery Code",description:"Please confirm access to your account by entering one of your emergency recovery codes.",toggleText:"login using an authentication code"}:{title:"Authentication Code",description:"Enter the authentication code provided by your authenticator application.",toggleText:"login using a recovery code"},[t]),p=o=>{d(!t),o(),n("")};return e.jsxs(C,{title:r.title,description:r.description,children:[e.jsx(f,{title:"Two-Factor Authentication"}),e.jsx("div",{className:"space-y-6",children:e.jsx(h,{...b.form(),className:"space-y-4",resetOnError:!0,resetOnSuccess:!t,children:({errors:o,processing:a,clearErrors:x})=>e.jsxs(e.Fragment,{children:[t?e.jsxs(e.Fragment,{children:[e.jsx(g,{name:"recovery_code",type:"text",placeholder:"Enter recovery code",autoFocus:t,required:!0}),e.jsx(u,{message:o.recovery_code})]}):e.jsxs("div",{className:"flex flex-col items-center justify-center space-y-3 text-center",children:[e.jsx("div",{className:"flex w-full items-center justify-center",children:e.jsx(j,{name:"code",maxLength:l,value:m,onChange:c=>n(c),disabled:a,pattern:v,children:e.jsx(I,{children:Array.from({length:l},(c,i)=>e.jsx(T,{index:i},i))})})}),e.jsx(u,{message:o.code})]}),e.jsx(y,{type:"submit",className:"w-full",disabled:a,children:"Continue"}),e.jsxs("div",{className:"text-center text-sm text-muted-foreground",children:[e.jsx("span",{children:"or you can "}),e.jsx("button",{type:"button",className:"cursor-pointer text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500",onClick:()=>p(x),children:r.toggleText})]})]})})})]})}export{S as default};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as i,H as s,F as a}from"./app-C6SiEMGn.js";import{q as n,B as l,d as m}from"./createLucideIcon-CPpF-2ww.js";import{T as d}from"./text-link-DNnNqMs9.js";import{A as c}from"./auth-layout-CgoifTok.js";import{L as u}from"./loader-circle-BPtK_d4m.js";import"./app-6D7Y1jSv.js";import"./app-logo-icon-B_KiS1IV.js";const e=t=>({url:e.url(t),method:"post"});e.definition={methods:["post"],url:"/email/verification-notification"};e.url=t=>e.definition.url+n(t);e.post=t=>({url:e.url(t),method:"post"});const r=t=>({action:e.url(t),method:"post"});r.post=t=>({action:e.url(t),method:"post"});e.form=r;const f={store:e};function k({status:t}){return i.jsxs(c,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[i.jsx(s,{title:"Email verification"}),t==="verification-link-sent"&&i.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:"A new verification link has been sent to the email address you provided during registration."}),i.jsx(a,{...f.store.form(),className:"space-y-6 text-center",children:({processing:o})=>i.jsxs(i.Fragment,{children:[i.jsxs(l,{disabled:o,variant:"secondary",children:[o&&i.jsx(u,{className:"h-4 w-4 animate-spin"}),"Resend verification email"]}),i.jsx(d,{href:m(),className:"mx-auto block text-sm",children:"Log out"})]})})]})}export{k as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 924 KiB

1045
public/build/manifest.json Normal file

File diff suppressed because it is too large Load Diff