PozoAppOptimandSEO/dist1 (2)/assets/CommonFaq-4d7cc6fa.js

2 lines
3.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{u as e,a as s,j as a,I as o}from"./index-35672308.js";import{r as n}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";const i=i=>{var c,r;const l=e(),t=s(),[d,m]=n.useState(new Set),[h,x]=n.useState([]),p=null==(c=null==t?void 0:t.state)?void 0:c.scrollToId,j=null==(r=null==t?void 0:t.state)?void 0:r.from,u=e=>{const s=new Set(d);s.has(e)?s.delete(e):s.add(e),m(s)};n.useEffect((()=>{if(i.data&&i.data.length>0){const e=i.data.filter((e=>"faqQuestion"===e.FieldName)).map(((e,s)=>({question:e.FieldValue||`Question ${s+1}`,answer:e.FieldAddData||"No answer provided."})));x(e)}else x([])}),[i.data]);return a.jsxs("div",{className:"app",children:[a.jsx("header",{className:"header",children:a.jsxs("div",{className:"header-content",children:[a.jsxs("h1",{className:"logo",children:[a.jsx(o,{size:16,onClick:()=>{l(j,{state:{scrollToId:p}})}}),"Pozo Help Center"]}),a.jsxs("div",{className:"header-actions",children:[a.jsx("button",{className:"pozo-tv-btn",children:a.jsx("span",{className:"tv-icon",children:" "})}),a.jsx("button",{className:"help-btn",children:"?"}),a.jsx("button",{className:"menu-btn",children:"⋮"})]})]})}),a.jsx("main",{className:"main",children:a.jsxs("div",{className:"faqcontainer",children:[a.jsx("h1",{className:"main-title",children:"Frequently Asked Questions"}),a.jsxs("section",{className:"info-cards",children:[a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"What is Pozo?"}),a.jsx("p",{children:"Built with and for creatives, Pozo is the only AI filmmaking tool custom-designed for PozoApp DeepMind's most advanced models..."})]}),a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"Available exclusively for PozoApp AI subscribers"}),a.jsx("p",{children:"Pozo is available exclusively for PozoApp AI Pro and Ultra subscribers..."})]}),a.jsxs("div",{className:"info-card",children:[a.jsx("h3",{children:"Best experienced on Desktop, Chromium browsers"}),a.jsx("p",{children:"Pozo is currently best experienced on desktop with a Chromium-based browser..."})]})]}),a.jsx("section",{className:"commonfaq-section",children:h.map(((e,s)=>a.jsxs("div",{className:"commonfaq-item "+(d.has(s)?"queActive":""),children:[a.jsxs("button",{className:"commonfaq-question",onClick:()=>u(s),"aria-expanded":d.has(s),children:[a.jsx("span",{style:{textAlign:"left",flexGrow:1},children:e.question}),a.jsx("span",{className:"commonfaq-icon "+(d.has(s)?"open":""),children:d.has(s)?"":"+"})]}),a.jsx("div",{className:"commonfaq-answer "+(d.has(s)?"open":""),children:a.jsx("div",{className:"commonfaq-content",children:"string"==typeof e.answer?a.jsx("p",{children:e.answer}):e.answer})})]},s)))}),a.jsx("section",{className:"more-section",children:a.jsxs("div",{className:"commonfaq-item "+(d.has("more")?"queActive":""),children:[a.jsxs("button",{className:"commonfaq-question",onClick:()=>u("more"),"aria-expanded":d.has("more"),children:[a.jsx("span",{children:"More"}),a.jsx("span",{className:"commonfaq-icon "+(d.has("more")?"open":""),children:d.has("more")?"":"+"})]}),a.jsx("div",{className:"commonfaq-answer "+(d.has("more")?"open":""),children:a.jsx("div",{className:"commonfaq-content",children:a.jsx("p",{children:"For additional support and resources, please check our documentation or contact our support team."})})})]})}),a.jsx("footer",{className:"CommonfaqFooter",children:a.jsx("p",{children:"Thank you for trying Pozo!"})})]})})]})};export{i as default};