1import{c as h,i as f,j as e,v as j,B as g,bi as b}from"./index-Ct8eLu1I.js";import{a as y,b as N,c as v,A as k}from"./accordion-Bs0Mu6GB.js";import{O as C}from"./OrganizationBadge-5pjWJhs2.js";import{C as T}from"./checkbox-s2xEAdOA.js";import{C as w}from"./circle-play-BTmpRwov.js";import{L as S}from"./lightbulb-DecL0Y6g.js";import{E as M}from"./external-link-Jsfrs_aE.js";import{F as P}from"./file-pen-line-YwOq1UbA.js";import{P as B}from"./palette-DPXSCY9R.js";import{D as E}from"./dollar-sign-4EtnXuIa.js";import{C as z}from"./calendar-plus-eA9xa1c3.js";import{S as A}from"./settings-BD4WVUAh.js";import{U as G}from"./users-YMaWm21U.js";import{G as L}from"./globe-Cc4mX4QA.js";import{S as R}from"./share-2-B_pwvqGV.js";import{T as F}from"./timer-BmWXyNuG.js";import{B as I}from"./bot-D2DTHCn_.js";import{M as U}from"./monitor-Chxxi-hB.js";import{T as W}from"./trending-up-B0p3k3C_.js";import{C as O}from"./chart-column-CyZwS_ZC.js";import{E as q}from"./eye-BX6Kc3UM.js";import{S as D}from"./search-BsvfnwMH.js";import{u as H,T as _,t as $}from"./TutorialProgress-CE6t8s7v.js";import{G as J}from"./graduation-cap-BuZhPhGL.js";import"./index-0rGuXlz0.js";import"./building-2-BSn65gGt.js";import"./progress-CZ_7l-CT.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const K=h("RectangleEllipsis",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M17 12h.01",key:"1m0b6t"}],["path",{d:"M7 12h.01",key:"eqddd0"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const u=h("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]),Q={Rocket:u,FileSignature:P,Palette:B,DollarSign:E,CalendarPlus:z,FormInput:K,Settings:A,Users:G,Globe:L,Share2:R,Timer:F,Bot:I,Monitor:U,TrendingUp:W,BarChart:O,Eye:q,Search:D};function V({section:r,isCompleted:a,onToggleComplete:o,tourId:i,onStartTour:n}){const m=f(),t=Q[r.icon]||u;return e.jsxs(y,{value:r.id,className:"border border-border rounded-lg mb-3 px-1 overflow-hidden data-[state=open]:bg-muted/30",children:[e.jsx(N,{className:"hover:no-underline px-4 py-4 gap-3",children:e.jsxs("div",{className:"flex items-center gap-3 flex-1 text-left",children:[e.jsx("div",{className:`flex-shrink-0 rounded-lg p-2 ${a?"bg-primary/10 text-primary":"bg-muted text-muted-foreground"}`,children:e.jsx(t,{className:"h-5 w-5"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx("span",{className:"font-semibold text-foreground text-base",children:r.title}),a&&e.jsx(j,{variant:"secondary",className:"text-xs bg-primary/10 text-primary border-0",children:"Complete"})]}),e.jsx("p",{className:"text-sm text-muted-foreground mt-0.5",children:r.summary})]})]})}),e.jsx(v,{className:"px-4 pb-5",children:e.jsxs("div",{className:"space-y-6 pt-2",children:[i&&n&&e.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-lg bg-primary/5 border border-primary/20",children:[e.jsx(w,{className:"h-5 w-5 text-primary flex-shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-foreground",children:"Interactive Walkthrough"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll take you to the actual page and highlight each element step by step."})]}),e.jsx(g,{size:"sm",onClick:()=>n(i),children:"Take the Tour"})]}),r.steps.map((s,x)=>e.jsxs("div",{className:"space-y-2",children:[e.jsxs("h4",{className:"font-semibold text-foreground flex items-center gap-2",children:[e.jsx("span",{className:"flex items-center justify-center h-6 w-6 rounded-full bg-primary/10 text-primary text-xs font-bold flex-shrink-0",children:x+1}),s.title]}),e.jsxs("div",{className:"pl-8 space-y-3",children:[s.content.split(` 12 13`).map((c,d)=>e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed whitespace-pre-line",children:c.split(/(\*\*[^*]+\*\*)/).map((l,p)=>l.startsWith("**")&&l.endsWith("**")?e.jsx("strong",{className:"text-foreground",children:l.slice(2,-2)},p):e.jsx("span",{children:l},p))},d)),s.tips&&s.tips.length>0&&e.jsx("div",{className:"bg-accent/50 border border-accent rounded-lg p-3 mt-2",children:s.tips.map((c,d)=>e.jsxs("p",{className:"text-sm text-accent-foreground flex items-start gap-2",children:[e.jsx(S,{className:"h-4 w-4 flex-shrink-0 mt-0.5 text-primary"}),c]},d))}),s.linkLabel&&s.linkTo&&e.jsxs(g,{variant:"outline",size:"sm",className:"mt-1",onClick:()=>m(s.linkTo),children:[e.jsx(M,{className:"h-3.5 w-3.5 mr-1.5"}),s.linkLabel]})]})]},x)),e.jsx("div",{className:"border-t pt-4 mt-4",children:e.jsxs("label",{className:"flex items-center gap-2 cursor-pointer text-sm",children:[e.jsx(T,{checked:a,onCheckedChange:()=>o(r.id)}),e.jsx("span",{className:"text-muted-foreground",children:"Mark this
13section as complete"})]})})]})})]})}const X={welcome:"welcome","service-agreement":"service-agreement",branding:"branding",fees:"fees","create-event":"create-event","form-builder":"form-builder","event-settings":"event-settings",registrations:"registrations","page-builder":"page-builder",sharing:"sharing",kiosk:"kiosk",usage:"usage",analytics:"analytics","website-analytics":"website-analytics",lookup:"lookup",timing:"timing-admin","ai-assistant":"ai-assistant"},Te=()=>{const{completed:r,toggle:a,count:o,total:i,percentage:n}=H(),{startTour:m}=b();return e.jsx("section",{className:"py-8 bg-background min-h-screen",children:e.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[e.jsxs("div",{className:"flex flex-col gap-4 mb-8",children:[e.jsx("div",{className:"flex items-center gap-2",children:e.jsx(C,{})}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"rounded-xl bg-primary/10 p-3",children:e.jsx(J,{className:"h-8 w-8 text-primary"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"font-display text-3xl md:text-4xl text-foreground",children:"Getting Started Guide"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Everything you need to set up your organization and start taking registrations."})]})]})]}),e.jsx("div",{className:"mb-8 p-4 border rounded-xl bg-card",children:e.jsx(_,{count:o,total:i,percentage:n})}),e.jsx(k,{type:"multiple",className:"space-y-0",children:$.map(t=>e.jsx(V,{section:t,isCompleted:r.includes(t.id),onToggleComplete:a,tourId:X[t.id],onStartTour:m},t.id))})]})})};export{Te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.