PageSourceSearch

https://guruhotel.com/_next/static/immutable/chunks/1oi1qzjkho1z7.js

js guruhotel.com collected 2026-10-03 21:26:12 UTC 39,165 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89846,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(30443);e.i(92338);var l=e.i(59570),r=e.i(41571),i=e.i(34267),n=e.i(16430),d=e.i(5804),c=e.i(22016),o=e.i(30580),h=e.i(59949),g=e.i(75025),m=e.i(44579),x=e.i(39456),u=e.i(28799),p=e.i(24510);e.s(["default",0,function(e){let j=(0,t.use)(e.params),{formData:v,currentFeature:b,selectedTagIds:f,jsonEditorValue:y,jsonError:N,validationErrors:w,validationWarnings:C,aiTopic:T,aiPrompt:E,copied:k,loading:A,saving:S,setFormData:F,setCurrentFeature:P,setSelectedTagIds:I,setLoading:L,setAiTopic:D,setAiPrompt:M,setCopied:B,updateFormData:H,handleCategoryChange:z,handleTagIdsChange:O,addFeature:U,removeFeature:G,updateFeature:Q,handleJsonEditorChange:V,handleApplyJsonChanges:R,generateAIPrompt:$,saveLandingPage:_,addTestimonial:J,removeTestimonial:q,updateTestimonial:W,addFAQ:X,removeFAQ:K,updateFAQ:Z,addPerson:Y,removePerson:ee,updatePerson:ea,addStatistic:et,removeStatistic:es,updateStatistic:el}=(0,o.useLandingPageForm)({isEdit:!0});return((0,t.useEffect)(()=>{(async()=>{L(!0);try{let e=await fetch(`/api/landing-pages/${j.id}`);if(e.ok){let a=await e.json();F(a),I(a.tagIds||[])}else alert("Landing page not found")}catch(e){console.error("Error loading landing page:",e),alert("Error loading landing page")}finally{L(!1)}})()},[j.id,F,I,L]),A)?(0,a.jsx)(p.PasscodeAuth,{children:(0,a.jsx)("main",{className:"w-full relative pt-32 pb-16 bg-slate-950 min-h-screen",children:(0,a.jsx)(s.default,{children:(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-white",children:"Loading..."})})})})}):(0,a.jsx)(p.PasscodeAuth,{children:(0,a.jsx)("main",{className:"w-full relative pt-32 pb-16 bg-slate-950 min-h-screen",children:(0,a.jsxs)(s.default,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,a.jsx)(c.default,{href:"/admin/landing-pages",children:(0,a.jsxs)(l.Button,{variant:"outline",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(n.ArrowLeftIcon,{className:"w-4 h-4 mr-2"}),"Back to Landing Pages"]})}),(0,a.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Edit Landing Page"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[(0,a.jsxs)("div",{className:"lg:col-span-2",children:[(0,a.jsxs)(i.Tabs,{defaultValue:"general",className:"w-full",children:[(0,a.jsxs)(i.TabsList,{className:"grid w-full grid-cols-5 bg-slate-800 border-slate-700",children:[(0,a.jsx)(i.TabsTrigger,{value:"general",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"General"}),(0,a.jsx)(i.TabsTrigger,{value:"content-en",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"Content (EN)"}),(0,a.jsx)(i.TabsTrigger,{value:"content-es",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"Content (ES)"}),(0,a.jsx)(i.TabsTrigger,{value:"seo",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"SEO"}),(0,a.jsx)(i.TabsTrigger,{value:"json",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"JSON"})]}),(0,a.jsx)(i.TabsContent,{value:"general",className:"mt-6",children:(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsx)(r.CardTitle,{className:"text-white",children:"General Information"})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)(h.LandingPageFormFields,{formData:v,updateFormData:H,handleCategoryChange:z,selectedTagIds:f,handleTagIdsChange:O})})]})}),(0,a.jsx)(i.TabsContent,{value:"content-en",className:"mt-6",children:(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsx)(r.CardTitle,{className:"text-white",children:"English Content"})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)(g.ContentEditor,{formData:v,updateFormData:H,currentFeature:b,setCurrentFeature:P,addFeature:U,removeFeature:G,updateFeature:Q,addTestimonial:J,removeTestimonial:q,updateTestimonial:W,addFAQ:X,removeFAQ:K,updateFAQ:Z,addPerson:Y,removePerson:ee,updatePerson:ea,addStatistic:et,removeStatistic:es,updateStatistic:el,language:"en"})})]})}),(0,a.jsx)(i.TabsContent,{value:"content-es",className:"mt-6",children:(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsx)(r.CardTitle,{className:"text-white",children:"Spanish Content"})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)(g.ContentEditor,{formData:v,updateFormData:H,currentFeature:b,setCurrentFeature:P,addFeature:U,removeFeature:G,updateFeature:Q,addTestimonial:J,removeTestimonial:q,updateTestimonial:W,addFAQ:X,removeFAQ:K,updateFAQ:Z,addPerson:Y,removePerson:ee,updatePerson:ea,addStatistic:et,removeStatistic:es,updateStatistic:el,language:"es"})})]})}),(0,a.jsx)(i.TabsContent,{value:"seo",className:"mt-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsx)(r.CardTitle,{className:"text-white",children:"SEO (English)"})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)(m.SeoEditor,{formData:v,updateFormData:H,language:"en"})})]}),(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsx)(r.CardTitle,{className:"text-white",children:"SEO (Spanish)"})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)(m.SeoEditor,{formData:v,updateFormData:H,language:"es"})})]})]})}),(0,a.jsx)(i.TabsContent,{value:"json",className:"mt-6",children:(0,a.jsx)(x.JsonEditor,{value:y,onChange:V,onApply:R,error:N,validationErrors:w,validationWarnings:C})})]}),(0,a.jsx)("div",{className:"mt-6 flex justify-end",children:(0,a.jsxs)(l.Button,{onClick:_,disabled:S,className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold disabled:opacity-50",children:[(0,a.jsx)(d.SaveIcon,{className:"w-4 h-4 mr-2"}),S?"Saving...":"Update Landing Page"]})})]}),(0,a.jsx)("div",{className:"space-y-6",children:(0,a.jsx)(u.AiPromptGenerator,{topic:T,onTopicChange:D,prompt:E,onGenerate:$,copied:k,onCopy:()=>{navigator.clipboard.writeText(E),B(!0),setTimeout(()=>B(!1),2e3)}})})]})]})})})}])},90494,e=>{"use strict";var a=e.i(43476),t=e.i(30443);e.i(92338);var s=e.i(59570),l=e.i(41571),r=e.i(34267),i=e.i(16430),n=e.i(5804),d=e.i(22016),c=e.i(30580),o=e.i(59949),h=e.i(75025),g=e.i(44579),m=e.i(39456),x=e.i(28799),u=e.i(24510);e.s(["default",0,function(){let{formData:e,currentFeature:p,selectedTagIds:j,jsonEditorValue:v,jsonError:b,validationErrors:f,validationWarnings:y,aiTopic:N,aiPrompt:w,copied:C,saving:T,setCurrentFeature:E,setAiTopic:k,setAiPrompt:A,setCopied:S,updateFormData:F,handleCategoryChange:P,handleTagIdsChange:I,addFeature:L,removeFeature:D,updateFeature:M,handleJsonEditorChange:B,handleApplyJsonChanges:H,generateAIPrompt:z,saveLandingPage:O,addTestimonial:U,removeTestimonial:G,updateTestimonial:Q,addFAQ:V,removeFAQ:R,updateFAQ:$,addPerson:_,removePerson:J,updatePerson:q,addStatistic:W,removeStatistic:X,updateStatistic:K}=(0,c.useLandingPageForm)({isEdit:!1});return(0,a.jsx)(u.PasscodeAuth,{children:(0,a.jsx)("main",{className:"w-full relative py-16 bg-slate-950 min-h-screen",children:(0,a.jsxs)(t.default,{children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,a.jsx)(d.default,{href:"/admin/landing-pages",children:(0,a.jsxs)(s.Button,{variant:"outline",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(i.ArrowLeftIcon,{className:"w-4 h-4 mr-2"}),"Back to Landing Pages"]})}),(0,a.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Create New Landing Page"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[(0,a.jsxs)("div",{className:"lg:col-span-2",children:[(0,a.jsxs)(r.Tabs,{defaultValue:"general",className:"w-full",children:[(0,a.jsxs)(r.TabsList,{className:"grid w-full grid-cols-5 bg-slate-800 border-slate-700",children:[(0,a.jsx)(r.TabsTrigger,{value:"general",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"General"}),(0,a.jsx)(r.TabsTrigger,{value:"content-en",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"Content (EN)"}),(0,a.jsx)(r.TabsTrigger,{value:"content-es",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"Content (ES)"}),(0,a.jsx)(r.TabsTrigger,{value:"seo",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"SEO"}),(0,a.jsx)(r.TabsTrigger,{value:"json",className:"data-[state=active]:bg-yellow-500 data-[state=active]:text-slate-900 text-slate-300",children:"JSON"})]}),(0,a.jsx)(r.TabsContent,{value:"general",className:"mt-6",children:(0,a.jsxs)(l.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(l.CardHeader,{children:(0,a.jsx)(l.CardTitle,{className:"text-white",children:"General Information"})}),(0,a.jsx)(l.CardContent,{children:(0,a.jsx)(o.LandingPageFormFields,{formData:e,updateFormData:F,handleCategoryChange:P,selectedTagIds:j,handleTagIdsChange:I})})]})}),(0,a.jsx)(r.TabsContent,{value:"content-en",className:"mt-6",children:(0,a.jsxs)(l.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(l.CardHeader,{children:(0,a.jsx)(l.CardTitle,{className:"text-white",children:"English Content"})}),(0,a.jsx)(l.CardContent,{children:(0,a.jsx)(h.ContentEditor,{formData:e,updateFormData:F,currentFeature:p,setCurrentFeature:E,addFeature:L,removeFeature:D,updateFeature:M,addTestimonial:U,removeTestimonial:G,updateTestimonial:Q,addFAQ:V,removeFAQ:R,updateFAQ:$,addPerson:_,removePerson:J,updatePerson:q,addStatistic:W,removeStatistic:X,updateStatistic:K,language:"en"})})]})}),(0,a.jsx)(r.TabsContent,{value:"content-es",className:"mt-6",children:(0,a.jsxs)(l.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(l.CardHeader,{children:(0,a.jsx)(l.CardTitle,{className:"text-white",children:"Spanish Content"})}),(0,a.jsx)(l.CardContent,{children:(0,a.jsx)(h.ContentEditor,{formData:e,updateFormData:F,currentFeature:p,setCurrentFeature:E,addFeature:L,removeFeature:D,updateFeature:M,addTestimonial:U,removeTestimonial:G,updateTestimonial:Q,addFAQ:V,removeFAQ:R,updateFAQ:$,addPerson:_,removePerson:J,updatePerson:q,addStatistic:W,removeStatistic:X,updateStatistic:K,language:"es"})})]})}),(0,a.jsx)(r.TabsContent,{value:"seo",className:"mt-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,a.jsxs)(l.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(l.CardHeader,{children:(0,a.jsx)(l.CardTitle,{className:"text-white",children:"SEO (English)"})}),(0,a.jsx)(l.CardContent,{children:(0,a.jsx)(g.SeoEditor,{formData:e,updateFormData:F,language:"en"})})]}),(0,a.jsxs)(l.Card,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsx)(l.CardHeader,{children:(0,a.jsx)(l.CardTitle,{className:"text-white",children:"SEO (Spanish)"})}),(0,a.jsx)(l.CardContent,{children:(0,a.jsx)(g.SeoEditor,{formData:e,updateFormData:F,language:"es"})})]})]})}),(0,a.jsx)(r.TabsContent,{value:"json",className:"mt-6",children:(0,a.jsx)(m.JsonEditor,{value:v,onCh
1ange:B,onApply:H,error:b,validationErrors:f,validationWarnings:y})})]}),(0,a.jsx)("div",{className:"mt-6 flex justify-end",children:(0,a.jsxs)(s.Button,{onClick:O,disabled:T,className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold disabled:opacity-50",children:[(0,a.jsx)(n.SaveIcon,{className:"w-4 h-4 mr-2"}),T?"Saving...":"Save Landing Page"]})})]}),(0,a.jsx)("div",{className:"space-y-6",children:(0,a.jsx)(x.AiPromptGenerator,{topic:N,onTopicChange:k,prompt:w,onGenerate:z,copied:C,onCopy:()=>{navigator.clipboard.writeText(w),S(!0),setTimeout(()=>S(!1),2e3)}})})]})]})})})}])},3481,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(30443);e.i(92338);var l=e.i(59570),r=e.i(41571),i=e.i(40087),n=e.i(62452),d=e.i(37007),c=e.i(44068),o=e.i(78078),h=e.i(7237),g=e.i(4262),m=e.i(22016),x=e.i(18566),u=e.i(6311),p=e.i(52696),j=e.i(24510);e.s(["default",0,function(){let e=(0,x.useParams)().locale,[v,b]=(0,t.useState)([]),[f,y]=(0,t.useState)([]),[N,w]=(0,t.useState)(!0),[C,T]=(0,t.useState)(!1),[E,k]=(0,t.useState)(null),[A,S]=(0,t.useState)(!1);(0,t.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/landing-pages");if(e.ok){let a=await e.json();b(a)}let a=await (0,p.getAllTags)();y(a)}catch(e){console.error("Error loading data:",e)}finally{w(!1)}})()},[]);let F=async()=>{if(E){S(!0);try{let e=await fetch(`/api/landing-pages/${E.id}`,{method:"DELETE"});if(e.ok)b(e=>e.filter(e=>e.id!==E.id)),T(!1),k(null);else{let a=await e.json();alert(`Failed to delete landing page: ${a.error}`)}}catch(e){console.error("Error deleting landing page:",e),alert("Failed to delete landing page. Please try again.")}finally{S(!1)}}};return(0,a.jsx)(j.PasscodeAuth,{children:(0,a.jsx)("main",{className:"w-full relative pt-32 pb-16 bg-slate-950 min-h-screen",children:(0,a.jsxs)(s.default,{children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Landing Pages"}),(0,a.jsx)("p",{className:"text-slate-400 mt-2",children:"Manage your landing pages and their content"})]}),(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(m.default,{href:"/admin/tags",children:(0,a.jsxs)(l.Button,{variant:"outline",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(g.TagIcon,{className:"w-4 h-4 mr-2"}),"Manage Tags"]})}),(0,a.jsx)(m.default,{href:"/admin/landing-pages/new",children:(0,a.jsxs)(l.Button,{className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold",children:[(0,a.jsx)(d.PlusIcon,{className:"w-4 h-4 mr-2"}),"New Landing Page"]})})]})]}),(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700 mb-8",children:[(0,a.jsx)(r.CardHeader,{children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)(r.CardTitle,{className:"text-white flex items-center gap-2",children:[(0,a.jsx)(g.TagIcon,{className:"w-5 h-5"}),"Global Tags (",f.length,")"]}),(0,a.jsx)(r.CardDescription,{className:"text-slate-400",children:"Available tags for categorizing landing pages"})]}),(0,a.jsx)(m.default,{href:"/admin/tags",children:(0,a.jsxs)(l.Button,{variant:"outline",size:"sm",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(g.TagIcon,{className:"w-4 h-4 mr-2"}),"Manage Tags"]})})]})}),(0,a.jsx)(r.CardContent,{children:(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:f.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2 bg-slate-700 border border-slate-600 rounded-lg px-3 py-2",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm text-white",children:e.name.en}),(0,a.jsx)("span",{className:"text-xs text-slate-400",children:e.name.es})]}),(0,a.jsx)(i.Badge,{variant:"secondary",className:"bg-slate-600 text-slate-300 text-xs",children:e.usageCount})]},e.id))})})]}),N?(0,a.jsx)("div",{className:"text-center py-12",children:(0,a.jsx)("p",{className:"text-slate-400",children:"Loading landing pages..."})}):(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:v.map(t=>(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700 hover:border-yellow-500/50 transition-all duration-300 hover:shadow-xl hover:shadow-yellow-500/10",children:[(0,a.jsxs)(r.CardHeader,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(r.CardTitle,{className:"text-lg text-white",children:t.content?.en?.title||t.content?.es?.title||"Untitled"}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(i.Badge,{className:t.category?"bg-blue-600 text-white":"bg-slate-700 text-slate-300",children:t.category||"Main Route"}),(0,a.jsx)(i.Badge,{variant:"outline",className:"border-yellow-500/50 text-yellow-500",children:u.AVAILABLE_TEMPLATES.find(e=>e.value===t.template)?.label||t.template})]})]}),(0,a.jsxs)(r.CardDescription,{className:"text-slate-400",children:["EN: /",t.slug?.en||"no-slug"," | ES: /",t.slug?.es||"no-slug"]})]}),(0,a.jsxs)(r.CardContent,{children:[(0,a.jsx)("p",{className:"text-sm text-slate-300 mb-4 line-clamp-2",children:t.content?.en?.description||t.content?.es?.description||"No description available"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-1 mb-4",children:[(t.tagIds||[]).slice(0,3).map((e,t)=>{let s=f.find(a=>a.id===e);return s?(0,a.jsx)(i.Badge,{variant:"secondary",className:"bg-slate-600 text-slate-300 text-xs",children:s.name.en},t):null}),(t.tagIds||[]).length>3&&(0,a.jsxs)(i.Badge,{variant:"secondary",className:"bg-slate-600 text-slate-300 text-xs",children:["+",(t.tagIds||[]).length-3]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(m.default,{href:`/${t.slug?.[e]||t.slug?.en||"#"}`,target:"_blank",children:(0,a.jsxs)(l.Button,{variant:"outline",size:"sm",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(o.EyeIcon,{className:"w-4 h-4 mr-1"}),"View"]}
1)}),(0,a.jsx)(m.default,{href:`/admin/landing-pages/${t.id}/edit`,children:(0,a.jsxs)(l.Button,{variant:"outline",size:"sm",className:"border-yellow-500/50 text-yellow-500 hover:bg-yellow-500 hover:text-slate-900",children:[(0,a.jsx)(c.EditIcon,{className:"w-4 h-4 mr-1"}),"Edit"]})}),(0,a.jsxs)(l.Button,{variant:"outline",size:"sm",className:"border-red-500/50 text-red-400 hover:bg-red-500 hover:text-white",onClick:()=>{k(t),T(!0)},children:[(0,a.jsx)(h.TrashIcon,{className:"w-4 h-4 mr-1"}),"Delete"]})]})]})]},t.id))}),!N&&0===v.length&&(0,a.jsx)(r.Card,{className:"bg-slate-800 border-slate-700",children:(0,a.jsxs)(r.CardContent,{className:"text-center py-12",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-white mb-2",children:"No landing pages created yet"}),(0,a.jsx)("p",{className:"text-slate-400 mb-4",children:"Create your first landing page to get started"}),(0,a.jsx)(m.default,{href:"/admin/landing-pages/new",children:(0,a.jsxs)(l.Button,{className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold",children:[(0,a.jsx)(d.PlusIcon,{className:"w-4 h-4 mr-2"}),"Create First Landing Page"]})})]})}),(0,a.jsx)(n.Dialog,{open:C,onOpenChange:T,children:(0,a.jsxs)(n.DialogContent,{className:"bg-slate-800 border-slate-700",children:[(0,a.jsxs)(n.DialogHeader,{children:[(0,a.jsx)(n.DialogTitle,{className:"text-white",children:"Delete Landing Page"}),(0,a.jsxs)(n.DialogDescription,{className:"text-slate-400",children:['Are you sure you want to delete "',E?.content?.en?.title||E?.content?.es?.title||E?.id||"this landing page",'"? This action cannot be undone.']})]}),(0,a.jsxs)(n.DialogFooter,{children:[(0,a.jsx)(l.Button,{variant:"outline",onClick:()=>{T(!1),k(null)},className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",disabled:A,children:"Cancel"}),(0,a.jsx)(l.Button,{onClick:F,className:"bg-red-500 hover:bg-red-600 text-white",disabled:A,children:A?"Deleting...":"Delete"})]})]})})]})})})}])},59109,e=>{"use strict";var a=e.i(43476),t=e.i(71645),s=e.i(30443);e.i(92338);var l=e.i(59570),r=e.i(41571),i=e.i(27179),n=e.i(4766),d=e.i(40087),c=e.i(37007),o=e.i(44068),h=e.i(7237),g=e.i(4262),m=e.i(5804),x=e.i(41947),x=x,u=e.i(16430),p=e.i(52696),j=e.i(22016),v=e.i(24510);e.s(["default",0,function(){let[e,b]=(0,t.useState)([]),[f,y]=(0,t.useState)(!1),[N,w]=(0,t.useState)(null),[C,T]=(0,t.useState)({en:"",es:""});(0,t.useEffect)(()=>{(async()=>{try{let e=await (0,p.getAllTags)();b(e)}catch(e){console.error("Error loading tags:",e)}})()},[]);let E=async()=>{if(C.en.trim()&&C.es.trim())try{await (0,p.addTag)(C);let e=await (0,p.getAllTags)();b(e),T({en:"",es:""}),y(!1)}catch(e){console.error("Error creating tag:",e),alert("Failed to create tag. Please try again.")}},k=async()=>{if(N&&C.en.trim()&&C.es.trim())try{await (0,p.updateTag)(N.id,{en:C.en,es:C.es});let e=await (0,p.getAllTags)();b(e),w(null),T({en:"",es:""})}catch(e){console.error("Error updating tag:",e),alert("Failed to update tag. Please try again.")}},A=async e=>{if(confirm("Are you sure you want to delete this tag? This action cannot be undone."))try{await (0,p.deleteTag)(e);let a=await (0,p.getAllTags)();b(a)}catch(e){console.error("Error deleting tag:",e),alert("Failed to delete tag. Please try again.")}};return(0,a.jsx)(v.PasscodeAuth,{children:(0,a.jsx)("main",{className:"w-full relative pt-32 pb-16 bg-slate-950 min-h-screen",children:(0,a.jsxs)(s.default,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-2",children:[(0,a.jsx)(j.default,{href:"/admin/landing-pages",children:(0,a.jsxs)(l.Button,{variant:"outline",size:"sm",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(u.ArrowLeftIcon,{className:"w-4 h-4 mr-2"}),"Back to Landing Pages"]})}),(0,a.jsx)("h1",{className:"text-3xl font-bold text-white",children:"Tags Management"})]}),(0,a.jsx)("p",{className:"text-slate-400",children:"Create and manage tags for categorizing landing pages"})]}),(0,a.jsxs)(l.Button,{onClick:()=>y(!0),className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold",children:[(0,a.jsx)(c.PlusIcon,{className:"w-4 h-4 mr-2"}),"New Tag"]})]}),(f||N)&&(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700 mb-8",children:[(0,a.jsxs)(r.CardHeader,{children:[(0,a.jsx)(r.CardTitle,{className:"text-white",children:N?"Edit Tag":"Create New Tag"}),(0,a.jsx)(r.CardDescription,{className:"text-slate-400",children:"Define the tag name in both English and Spanish"})]}),(0,a.jsxs)(r.CardContent,{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(n.Label,{htmlFor:"tag-en",className:"text-slate-300",children:"English Name"}),(0,a.jsx)(i.Input,{id:"tag-en",value:C.en,onChange:e=>T(a=>({...a,en:e.target.value})),placeholder:"e.g., CRM",className:"bg-slate-700 border-slate-600 text-white placeholder:text-slate-400 focus:border-yellow-500"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(n.Label,{htmlFor:"tag-es",className:"text-slate-300",children:"Spanish Name"}),(0,a.jsx)(i.Input,{id:"tag-es",value:C.es,onChange:e=>T(a=>({...a,es:e.target.value})),placeholder:"e.g., CRM",className:"bg-slate-700 border-slate-600 text-white placeholder:text-slate-400 focus:border-yellow-500"})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsxs)(l.Button,{onClick:N?k:E,className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold",children:[(0,a.jsx)(m.SaveIcon,{className:"w-4 h-4 mr-2"}),N?"Update Tag":"Create Tag"]}),(0,a.jsxs)(l.Button,{onClick:()=>{y(!1),w(null),T({en:"",es:""})},variant:"outline",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:[(0,a.jsx)(x.default,{className:"w-4 h-4 mr-2"}),"Cancel"]})]})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(e=>(0,a.jsxs)(r.Card,{className:"bg-slate-800 border-slate-700 hover:border-yellow-500/50 transition-all duration-300",children:[(0,a.jsxs)(r.CardHeader,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(g.TagIcon,{className:"w-5 h-5 text-yellow-500"}),(0,a.jsx)(r.CardTitle,{className:"text-lg text-white",children:e.name.en})]}),(0,a.jsxs)(d.Badge,{variant:"secondary",className:"bg-slate-600 text-slate-300 text-xs",children:[e.usageCount," uses"]})]}),(0,a.jsxs)(r.CardDescription,{className:"text-slate-400",children:["Spanish: ",e.name.es]}),(0,a.jsxs)("div",{className:"text-xs text-slate-500 mt-1",children:["ID: ",(0,a.jsx)("code",{className:"bg-slate-700 px-1 rounded",children:e.id})]})]}),(0,a.jsxs)(r.CardContent,{children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsxs)(l.Button,{onClick:()=>{w(e),T({en:e.name.en,es:e.name.es})},variant:"outline",size:"sm",className:"border-yellow-500/50 text-yellow-500 hover:bg-yellow-500 hover:text-slate-900",children:[(0,a.jsx)(o.EditIcon,{className:"w-4 h-4 mr-1"}),"Edit"]}),(0,a.jsxs)(l.Button,{onClick:()=>A(e.id),variant:"outline",size:"sm",className:"border-red-500/50 text-red-400 hover:bg-red-500 hover:text-white",children:[(0,a.jsx)(h.TrashIcon,{className:"w-4 h-4 mr-1"}),"Delete"]})]}),(0,a.jsxs)("div",{className:"mt-3 text-xs text-slate-500",children:["Created: ",new Date(e.createdAt).toLocaleDateString(),e.updatedAt!==e.createdAt&&(0,a.jsxs)("span",{children:[" • Updated: ",new Date(e.updatedAt).toLocaleDateString()]})]})]})]},e.id))}),0===e.length&&(0,a.jsx)(r.Card,{className:"bg-slate-800 border-slate-700",children:(0,a.jsxs)(r.CardContent,{className:"text-center py-12",children:[(0,a.jsx)(g.TagIcon,{className:"w-12 h-12 text-slate-500 mx-auto mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-semibold text-white mb-2",children:"No tags created yet"}),(0,a.jsx)("p",{className:"text-slate-400 mb-4",children:"Create your first tag to start categorizing landing pages"}),(0,a.jsxs)(l.Button,{onClick:()=>y(!0),className:"bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-semibold",children:[(0,a.jsx)(c.PlusIcon,{className:"w-4 h-4 mr-2"}),"Create First Tag"]})]})})]})})})}],59109)},24510,e=>{"use strict";var a=e.i(43476),t=e.i(71645);e.i(92338);var s=e.i(27179),l=e.i(59570),r=e.i(41571),i=e.i(4766),n=e.i(12479),d=e.i(78078);let c=(0,e.i(75254).default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["PasscodeAuth",0,function({children:e}){let[o,h]=(0,t.useState)(!1),[g,m]=(0,t.useState)(!0),[x,u]=(0,t.useState)(""),[p,j]=(0,t.useState)(!1),[v,b]=(0,t.useState)(""),[f,y]=(0,t.useState)(!1),N=(0,t.useCallback)(async()=>{m(!0);try{let e=await fetch("/api/admin/session",{method:"GET",credentials:"include",cache:"no-store"});if(!e.ok)return void h(!1);let a=await e.json();h(!!a.authenticated)}catch(e){console.error("Error checking admin session:",e),h(!1)}finally{m(!1)}},[]);(0,t.useEffect)(()=>{N()},[N]);let w=async e=>{e.preventDefault(),y(!0),b("");try{let e=await fetch("/api/admin/verify-passcode",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({passcode:x})}),a=await e.json();e.ok&&a.valid?(h(!0),u("")):b(a.message||"Invalid passcode")}catch(e){console.error("Error verifying passcode:",e),b("An error occurred. Please try again.")}finally{y(!1)}},C=async()=>{try{await fetch("/api/admin/logout",{method:"POST",credentials:"include"})}catch(e){console.error("Error logging out admin session:",e)}finally{h(!1),u(""),b("")}};return g?(0,a.jsx)("div",{className:"min-h-screen bg-slate-950 flex items-center justify-center",children:(0,a.jsx)("div",{className:"text-white",children:"Loading..."})}):o?(0,a.jsxs)("div",{className:"min-h-screen bg-slate-950",children:[(0,a.jsx)("div",{className:"bg-slate-800 border-b border-slate-700 px-4 py-3 pt-32",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex justify-between items-center",children:[(0,a.jsx)("h1",{className:"text-white font-semibold",children:"Admin Panel"}),(0,a.jsx)(l.Button,{onClick:C,variant:"outline",size:"sm",className:"border-slate-600 text-slate-300 hover:bg-slate-700 hover:text-white",children:"Logout"})]})}),(0,a.jsx)("div",{className:"max-w-7xl mx-auto p-4",children:e})]}):(0,a.jsx)("div",{className:"min-h-screen bg-slate-950 flex items-center justify-center p-4",children:(0,a.jsxs)(r.Card,{className:"w-full max-w-md bg-slate-800 border-slate-700",children:[(0,a.jsxs)(r.CardHeader,{className:"text-center",children:[(0,a.jsx)("div",{className:"mx-auto mb-4 w-12 h-12 bg-yellow-500/20 rounded-full flex items-center justify-center",children:(0,a.jsx)(n.LockIcon,{className:"w-6 h-6 text-yellow-500"})}),(0,a.jsx)(r.CardTitle,{className:"text-white",children:"Admin Access"}),(0,a.jsx)(r.CardDescription,{className:"text-slate-400",children:"Enter the passcode to access the admin panel"})]}),(0,a.jsx)(r.CardContent,{children:(0,a.jsxs)("form",{onSubmit:w,className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(i.Label,{htmlFor:"passcode",className:"text-slate-300",children:"Passcode"}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(s.Input,{id:"passcode",type:p?"text":"password",value:x,onChange:e=>u(e.target.value),placeholder:"Enter passcode",className:"bg-slate-700 border-slate-600 text-white placeholder:text-slate-400 focus:border-yellow-500 pr-10",required:!0}),(0,a.jsx)("button",{type:"button",onClick:()=>j(!p),className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-slate-400 hover:text-slate-300",children:p?(0,a.jsx)(c,{className:"w-4 h-4"}):(0,a.jsx)(d.EyeIcon,{className:"w-4 h-4"})})]})]}),v&&(0,a.jsx)("div",{className:"text-red-400 text-sm bg-red-500/10 border border-red-500/20 rounded-md p-3",children:v}),(0,a.jsx)(l.Button,{type:"submit",disabled:f||!x.trim(),className:"w-full bg-yellow-500 hover:bg-yellow-600 text-slate-900 font-medium",children:f?"Verifying...":"Access Admin Panel"})]})})]})})}],24510)},30443,e=>{"use strict";var a=e.i(43476),t=e.i(84706);e.s(["default",0,function({children:e,className:s}){return(0,a.jsx)("div",{className:function(...e){return(0,t.twMerge)(function(){for(var e,a,t=0,s="";t<arguments.length;)(e=arguments[t++])&&(a=function e(a){var t,s,l="";if("string"==typeof a||"number"==typeof a)l+=a;else if("object"==typeof a)if(Array.isArray(a))for(t=0;t<a.length;t++)a[t]&&(s=e(a[t]))&&(l&&(l+=" "),l+=s);else for(t in a)a[t]&&(l&&(l+=" "),l+=t);return l}(e))&&(s&&(s+=" "),s+=a);return s}(e))}("max-w-7xl mx-auto px-3 md:px-6 w-full",s),children:e})}],30443)},6311,e=>{"use strict";e.s(["AVAILABLE_CATEGORIES",0,[{value:"",label:"Main Route (no parent)"},{value:"integrations",label:"Integrations"},{value:"ai-website-builder",label:"AI Website Builder"},{value:"booking-engine",label:"Booking Engine"},{value:"contact-us",label:"Contact Us"},{value:"hotel-website",label:"Hotel Website"},{value:"payments-orchestration",label:"Payments Orchestration"},{value:"press-investors",label:"Press & Investors"},{value:"pricing",label:"Pricing"},{value:"privacy-policy",label:"Privacy Policy"},{value:"terms-and-conditions",label:"Terms and Conditions"},{value:"what-is-guruhotel",label:"What is GuruHotel"}],"AVAILABLE_TEMPLATES",0,[{value:"integrations",label:"Integrations Template",description:"For integration and API landing pages"},{value:"product",label:"Product Template",description:"For product showcase pages with hero, features, and CTA sections"},{value:"service",label:"Service Template",description:"For service offering pages with testimonials and process"},{value:"pricing",label:"Pricing Template",description:"For pricing and plans pages with comparison tables"},{value:"landing",label:"Full Landing Template",description:"Complete landing page with all sections available"},{value:"comparison",label:"Comparison Template",description:"For alternative/compare pages with best-fit and feature comparison tables"},{value:"hub",label:"Hub Template",description:"Index/listing page that links to its child pages in a card grid"},{value:"manager",label:"Manager Template",description:"Product page with a live, animated dummy-data manager dashboard"},{value:"article",label:"Article Template",description:"Long-form blog article with answer-first lead, sections, FAQ and Article schema"},{value:"about",label:"About Template",description:"For about pages with team, statistics, and company info"},{value:"contact",label:"Contact Template",description:"For contact pages with forms and company information"}]])},52696,e=>{"use strict";var a=e.i(47167);async function t(){try{let e=a.default.env.NEXTAUTH_URL||"http://localhost:3000",t=await fetch(`${e}/api/tags`);if(t.ok)return await t.json();throw Error("Failed to fetch tags")}catch(e){return console.error("Error fetching tags:",e),[{id:"integration",name:{en:"Integration",es:"Integración"},usageCount:1,createdAt:"2024-01-01T00:00:00.000Z",updatedAt:"2024-01-01T00:00:00.000Z"}]}}async function s(e){try{let t=a.default.env.NEXTAUTH_URL||"http://localhost:3000",s=await fetch(`${t}/api/tags`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e})});if(s.ok)return await s.json();let l=await s.json();throw Error(l.error||"Failed to create tag")}catch(e){throw console.error("Error creating tag:",e),e}}async function l(e,t){try{let s=a.default.env.NEXTAUTH_URL||"http://localhost:3000",l=await fetch(`${s}/api/tags/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t})});if(l.ok)return await l.json();let r=await l.json();throw Error(r.error||"Failed to update tag")}catch(e){throw console.error("Error updating tag:",e),e}}async function r(e){try{let t=a.default.env.NEXTAUTH_URL||"http://localhost:3000",s=await fetch(`${t}/api/tags/${e}`,{method:"DELETE"});if(s.ok)return!0;let l=await s.json();throw Error(l.error||"Failed to delete tag")}catch(e){throw console.error("Error deleting tag:",e),e}}e.s(["addTag",0,s,"deleteT
1ag",0,r,"getAllTags",0,t,"updateTag",0,l])},16430,e=>{"use strict";let a=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeftIcon",0,a],16430)},61277,e=>{"use strict";let a=(0,e.i(75254).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",0,a])},87316,56909,e=>{"use strict";var a=e.i(61277);e.s(["Calendar",()=>a.default],87316);var t=e.i(51854);e.s(["Save",()=>t.default],56909)},69638,e=>{"use strict";let a=(0,e.i(75254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,a],69638)},78078,e=>{"use strict";let a=(0,e.i(75254).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["EyeIcon",0,a],78078)},48256,e=>{"use strict";let a=(0,e.i(75254).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,a],48256)},12479,e=>{"use strict";let a=(0,e.i(75254).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["LockIcon",0,a],12479)},46897,3116,e=>{"use strict";var a=e.i(75254);let t=(0,a.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],46897);let s=(0,a.default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,s],3116)},3908,e=>{"use strict";let a=(0,e.i(75254).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["default",0,a])},37007,44068,7237,4262,e=>{"use strict";var a=e.i(3908);e.s(["PlusIcon",()=>a.default],37007);var t=e.i(23429);e.s(["EditIcon",()=>t.default],44068);var s=e.i(75254);let l=(0,s.default)("trash",[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);e.s(["TrashIcon",0,l],7237);let r=(0,s.default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);e.s(["TagIcon",0,r],4262)},51854,e=>{"use strict";let a=(0,e.i(75254).default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);e.s(["default",0,a])},5804,e=>{"use strict";var a=e.i(51854);e.s(["SaveIcon",()=>a.default])},98919,97140,e=>{"use strict";var a=e.i(75254);let t=(0,a.default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",0,t],98919);let s=(0,a.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["default",0,s],97140)},76144,e=>{"use strict";let a=(0,e.i(75254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,a])},83086,e=>{"use strict";var a=e.i(76144);e.s(["Sparkles",()=>a.default])},23429,e=>{"use strict";let a=(0,e.i(75254).default)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);e.s(["default",0,a])},70273,e=>{"use strict";var a=e.i(97140);e.s(["Star",()=>a.default])},25652,e=>{"use strict";let a=(0,e.i(75254).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["TrendingUp",0,a],25652)}]);

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.