Compliance Policy Generator
Run ID: 69cc7ac63e7fb09ff16a249c2026-04-01Business
PantheraHive BOS
BOS Dashboard

Generate regulatory compliance policies including privacy policy, terms of service, cookie policy, DMCA policy, and accessibility statement.

Project: Compliance Policy Generator

Workflow Step: 1 of 3 - Market Research & Strategy

Output: Comprehensive Marketing Strategy


Marketing Strategy: Compliance Policy Generator

This document outlines a comprehensive marketing strategy for the "Compliance Policy Generator" product, covering target audience analysis, channel recommendations, a messaging framework, and key performance indicators (KPIs). The goal is to establish the product as the go-to solution for businesses seeking efficient, affordable, and legally sound compliance policies.


1. Target Audience Analysis

Understanding who benefits most from the Compliance Policy Generator is crucial for effective marketing. We've identified primary and secondary target segments, along with their specific pain points and needs.

1.1 Primary Target Audience

  • Small to Medium-sized Businesses (SMBs) & Startups:

* Pain Points: Limited legal budgets, lack of in-house legal expertise, time constraints, fear of legal non-compliance penalties, difficulty understanding complex regulations (GDPR, CCPA, ADA).

* Needs: Affordable, easy-to-use solutions for generating essential policies (Privacy, ToS, Cookie, DMCA, Accessibility), quick setup, clear guidance, peace of mind regarding legal obligations.

* Firmographics: Online presence (website, e-commerce store, SaaS platform), handling customer data, operating in or targeting multiple jurisdictions.

  • E-commerce Businesses:

* Pain Points: Specific requirements for consumer protection, data privacy (GDPR, CCPA), cookie consent, DMCA for user-generated content, accessibility for online stores.

* Needs: Policies tailored for online sales, integration with e-commerce platforms, clear consent mechanisms, protection against legal claims.

  • SaaS Companies & App Developers:

* Pain Points: Strict data privacy regulations, complex terms of service for software use, frequent updates to policies, managing user data across different regions.

* Needs: Robust privacy policies, clear EULAs/ToS, scalability for growing user bases, automated updates for regulatory changes.

  • Freelancers & Sole Proprietors with Online Presence:

* Pain Points: Overwhelmed by legal requirements, limited resources, need for professional credibility.

* Needs: Simple, cost-effective tools to protect their business and clients, appear professional.

1.2 Secondary Target Audience

  • Web Development & Digital Marketing Agencies:

* Pain Points: Providing value-added services to clients, ensuring client compliance, streamlining client onboarding.

* Needs: A reliable, white-label or partner solution to offer policy generation as part of their service package, improving client satisfaction and retention.

  • Legal Tech & Consulting Firms:

* Pain Points: Automating routine policy generation, focusing on higher-value legal work, offering scalable solutions.

* Needs: Integration capabilities, robust and customizable policy generation, a tool to enhance their service offerings.

2. Channel Recommendations

To effectively reach our target audiences, a multi-channel marketing approach is recommended, focusing on digital channels where our audience actively seeks solutions and information.

2.1 Digital Marketing

  • Content Marketing & SEO:

* Strategy: Create high-value, educational content addressing compliance pain points and solutions. Optimize for relevant keywords.

* Tactics:

* Blog Posts: "5 Common Compliance Mistakes Your Small Business is Making," "GDPR vs. CCPA: A Simple Guide for E-commerce," "How to Make Your Website ADA Compliant," "The Importance of a DMCA Policy for User-Generated Content."

* Guides & Whitepapers: "The Ultimate Guide to Online Business Compliance," "Checklist for Launching a Legally Compliant Website."

* Case Studies: Highlight businesses that successfully implemented policies using our generator and avoided issues.

* Keyword Targeting: "privacy policy generator," "terms of service template," "cookie policy for website," "DMCA policy generator," "ADA compliance statement," "legal policy for startups," "website compliance tools."

  • Paid Search (PPC - Google Ads):

* Strategy: Target high-intent keywords where users are actively searching for policy generation solutions.

* Tactics: Bid on keywords like "generate privacy policy," "online terms and conditions," "compliance policy builder," "legal document generator." Use compelling ad copy highlighting speed, affordability, and legal soundness.

  • Social Media Marketing:

* Strategy: Engage with business owners, developers, and legal professionals on platforms relevant to B2B.

* Tactics:

* LinkedIn: Share industry news, compliance updates, thought leadership articles, product benefits. Target business owners, legal professionals, and marketing agencies.

* Facebook & Instagram: Run targeted ads to business pages and groups focused on SMBs, e-commerce, and startups. Use visual testimonials and benefit-driven creatives.

* Twitter: Share quick tips, regulatory updates, and engage in relevant conversations using industry hashtags.

  • Email Marketing:

* Strategy: Nurture leads, onboard new users, and keep existing customers informed.

* Tactics:

* Lead Magnets: Offer a "Free Compliance Checklist" or a "Basic Privacy Policy Template" in exchange for email sign-ups.

* Nurture Sequences: Educate prospects on the importance of compliance, showcase product features, and offer trials/demos.

* Customer Onboarding: Guide new users through policy generation, customization, and implementation.

* Updates & Newsletters: Inform subscribers about new features, regulatory changes, and special offers.

  • Webinars & Online Workshops:

* Strategy: Position the product as an expert in compliance, offering valuable education.

* Tactics: Host webinars on "Demystifying Data Privacy Regulations," "Protecting Your Business with Essential Legal Policies," or "How to Achieve Website Accessibility." Use these as lead generation tools.

2.2 Partnerships & Integrations

  • Web Hosting Providers & Website Builders:

* Strategy: Integrate the policy generator directly into platforms like Shopify, WooCommerce, Wix, Squarespace, or offer it as an add-on.

* Tactics: Co-marketing efforts, direct API integrations for seamless policy generation within their ecosystems.

  • Digital Agencies & Consultants:

* Strategy: Establish a reseller or affiliate program, allowing agencies to offer our solution to their clients.

* Tactics: Provide agencies with marketing materials, training, and commission on referrals.

  • Industry Associations & Chambers of Commerce:

* Strategy: Gain credibility and reach local business communities.

* Tactics: Sponsorships, speaking engagements, special member discounts.

2.3 Public Relations

  • Strategy: Secure media coverage in relevant tech, business, and legal publications.
  • Tactics: Issue press releases on product launches, significant updates, or regulatory compliance insights. Pitch stories to journalists about the challenges businesses face with compliance and how our solution helps.

3. Messaging Framework

Our messaging will emphasize the ease, affordability, and comprehensive nature of our solution, addressing the core pain points of our target audience.

3.1 Core Value Proposition

"Effortless, Affordable, and Comprehensive Regulatory Compliance for Your Business. Generate all essential legal policies in minutes, not months, and protect your business from legal risks."

3.2 Key Benefits & Differentiators

  • Save Time & Money: Avoid expensive legal fees and hours of manual drafting. Get professional policies at a fraction of the cost and time.
  • Ensure Legal Protection: Mitigate risks of fines, lawsuits, and reputation damage by staying compliant with global regulations (GDPR, CCPA, ADA, DMCA, etc.).
  • Stay Up-to-Date: Policies are automatically updated to reflect changing laws and regulations, ensuring continuous compliance.
  • Build Trust & Credibility: Professional, clear policies enhance transparency and build customer confidence in your business.
  • All-in-One Solution: Generate Privacy Policy, Terms of Service, Cookie Policy, DMCA Policy, and Accessibility Statement from a single, intuitive platform.
  • Easy to Use: No legal expertise required. Our guided process makes policy generation simple and straightforward.
  • Customizable: Tailor policies to your specific business needs, industry, and operational details.

3.3 Tone of Voice

Professional, authoritative, reassuring, empowering, efficient, and user-friendly.

3.4 Audience-Specific Messaging

  • For Startups & SMBs: "Launch with confidence. Get all your essential legal policies in minutes, not months, and focus on growing your business."
  • For E-commerce Businesses: "Protect your online store and customers. Ensure GDPR, CCPA, and cookie compliance effortlessly, boosting trust and avoiding penalties."
  • For SaaS Companies: "Scale securely. Automate your privacy and terms of service updates with ease, ensuring compliance as you grow."
  • For Web Developers/Agencies: "Offer a complete solution. Integrate compliance policies seamlessly for your clients, adding value and peace of mind."

3.5 Call to Action (CTA) Examples

  • "Generate Your Policies Now"
  • "Get Started Free"
  • "Request a Demo"
  • "Learn More About Compliance"
  • "Protect Your Business Today"

4. Key Performance Indicators (KPIs)

To measure the success of our marketing efforts, we will track the following KPIs:

4.1 Awareness & Reach

  • Website Traffic: Unique visitors, page views (especially on policy generation pages).
  • Brand Mentions: Mentions across social media, news, and industry publications.
  • Social Media Engagement: Likes, shares, comments, followers.
  • Organic Search Rankings: Position for target keywords.

4.2 Lead Generation

  • Lead Capture Rate: Percentage of visitors who convert into leads (e.g., email sign-ups for guides, free policy generation trials).
  • Demo Requests: Number of requests for product demonstrations.
  • Partnership Inquiries: Number of agencies or platforms interested in collaboration.

4.3 Conversion & Sales

  • Conversion Rate (Lead to Customer): Percentage of leads who become paying subscribers.
  • Trial-to-Paid Conversion Rate: For any free trial offerings.
  • Customer Acquisition Cost (CAC): Total marketing and sales spend divided by the number of new customers acquired.
  • Return on Ad Spend (ROAS): For paid advertising campaigns.
  • Average Revenue Per User (ARPU): Revenue generated per customer.
  • Number of Policies Generated: Overall and by type (Privacy, ToS, etc.).

4.4 Customer Engagement & Retention

  • Customer Lifetime Value (CLTV): The total revenue a customer is expected to generate over their relationship with the product.
  • Churn Rate: Percentage of customers who cancel their subscription.
  • Retention Rate: Percentage of customers who renew their subscription.
  • Customer Satisfaction (NPS): Net Promoter Score collected through surveys.
  • Feature Usage: Which policy types are most popular, customization options used.

This comprehensive strategy provides a robust framework for launching and growing the "Compliance Policy Generator" product, ensuring targeted outreach and measurable results.

gemini Output

The following comprehensive compliance policies have been generated based on your request. These documents serve as foundational templates designed to help your business meet various regulatory requirements. Each policy includes essential sections and considerations, but must be reviewed and customized by legal counsel to ensure full applicability and compliance with your specific business operations, jurisdiction, and industry standards.


Compliance Policy Generator: Generated Policies

1. Privacy Policy

Purpose: This policy outlines how your organization collects, uses, stores, shares, and protects personal information from your users. It is crucial for building trust and complying with data protection laws like GDPR, CCPA, and others.


[Your Company Name] Privacy Policy

Effective Date: [Insert Date]

This Privacy Policy describes how [Your Company Name] ("we," "us," or "our") collects, uses, processes, and discloses your information, including personal data, in connection with your access to and use of [Your Website/Service Name] (the "Service"). By using our Service, you agree to the collection and use of information in accordance with this policy.

1. Information We Collect

We collect various types of information for various purposes to provide and improve our Service to you.

  • 1.1. Personal Data: While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). Personal Data may include, but is not limited to:

* Email address

* First name and last name

* Phone number

* Address, State, Province, ZIP/Postal code, City

* Usage Data

* [List any other specific personal data collected, e.g., payment information, demographic data, health information, etc.]

  • 1.2. Usage Data: We may also collect information about how the Service is accessed and used ("Usage Data"). This Usage Data may include information such as your computer's Internet Protocol address (e.g., IP address), browser type, browser version, the pages of our Service that you visit, the time and date of your visit, the time spent on those pages, unique device identifiers, and other diagnostic data.
  • 1.3. Tracking & Cookies Data: We use cookies and similar tracking technologies to track the activity on our Service and hold certain information. For more details, please refer to our Cookie Policy.

2. How We Use Your Information

[Your Company Name] uses the collected data for various purposes:

  • To provide and maintain our Service
  • To notify you about changes to our Service
  • To allow you to participate in interactive features of our Service when you choose to do so
  • To provide customer support
  • To gather analysis or valuable information so that we can improve our Service
  • To monitor the usage of our Service
  • To detect, prevent and address technical issues
  • To provide you with news, special offers and general information about other goods, services and events which we offer that are similar to those that you have already purchased or enquired about unless you have opted not to receive such information.
  • [List any other specific uses, e.g., personalization, marketing, analytics, legal compliance.]

3. Legal Basis for Processing Personal Data (for GDPR/similar regulations)

If you are from the European Economic Area (EEA), [Your Company Name]'s legal basis for collecting and using the personal information described in this Privacy Policy depends on the Personal Data we collect and the specific context in which we collect it.

We may process your Personal Data because:

  • We need to perform a contract with you
  • You have given us permission to do so
  • The processing is in our legitimate interests and it's not overridden by your rights
  • For payment processing purposes
  • To comply with the law

4. Disclosure of Data

We may disclose your Personal Data in the good faith belief that such action is necessary to:

  • To comply with a legal obligation
  • To protect and defend the rights or property of [Your Company Name]
  • To prevent or investigate possible wrongdoing in connection with the Service
  • To protect the personal safety of users of the Service or the public
  • To protect against legal liability
  • To third-party service providers (e.g., payment processors, analytics providers, hosting services)
  • In the event of a merger, acquisition, or asset sale

5. Security of Data

The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.

6. Your Data Protection Rights

Depending on your location, you may have the following data protection rights:

  • The right to access, update or to delete the information we have on you.
  • The right of rectification. You have the right to have your information rectified if that information is inaccurate or incomplete.
  • The right to object. You have the right to object to our processing of your Personal Data.
  • The right of restriction. You have the right to request that we restrict the processing of your personal information.
  • The right to data portability. You have the right to be provided with a copy of the Personal Data we have on you in a structured, machine-readable and commonly used format.
  • The right to withdraw consent. You also have the right to withdraw your consent at any time where [Your Company Name] relied on your consent to process your personal information.

Please note that we may ask you to verify your identity before responding to such requests.

7. Service Providers

We may employ third party companies and individuals to facilitate our Service ("Service Providers"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used. These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.

8. Links to Other Sites

Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.

9. Children's Privacy

Our Service does not address anyone under the age of 18 ("Children"). We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.

10. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "effective date" at the top of this Privacy Policy. You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

11. Contact Us

If you have any questions about this Privacy Policy, please contact us:

  • By email: [Your Contact Email]
  • By visiting this page on our website: [Link to Contact Page]
  • By phone number: [Your Phone Number]

2. Terms of Service

Purpose: This document establishes the legal agreement between your organization and your users regarding the use of your services. It defines rights, responsibilities, acceptable use, and dispute resolution.


[Your Company Name] Terms of Service

Effective Date: [Insert Date]

Welcome to [Your Website/Service Name] (the "Service"), operated by [Your Company Name] ("we," "us," or "our"). These Terms of Service ("Terms") govern your access to and use of our Service. By accessing or using the Service, you agree to be bound by these Terms. If you disagree with any part of the terms, then you may not access the Service.

1. Acceptance of Terms

By creating an account, accessing, or using the Service, you confirm your agreement to be bound by these Terms and all terms incorporated by reference. If you do not agree to these Terms, you may not access or use the Service.

2. Changes to Terms

We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is material, we will try to provide at least 30 days' notice prior to any new terms taking effect. What constitutes a material change will be determined at our sole discretion. By continuing to access or use our Service after those revisions become effective, you agree to be bound by the revised terms.

3. User Accounts

  • 3.1. Registration: To access certain features of the Service, you may be required to register for an account. You agree to provide accurate, current, and complete information during the registration process and to update such information to keep it accurate, current, and complete.
  • 3.2. Account Security: You are responsible for safeguarding the password that you use to access the Service and for any activities or actions under your password. You agree not to disclose your password to any third party. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account.
  • 3.3. Eligibility: By using the Service, you represent and warrant that you are at least 18 years of age (or the age of legal majority in your jurisdiction) and capable of entering into a binding agreement.

4. Use of Service

  • 4.1. License: Subject to your compliance with these Terms, we grant you a limited, non-exclusive, non-transferable, revocable license to access and use the Service for your personal or internal business use.
  • 4.2. Prohibited Uses: You agree not to use the Service:

* In any way that violates any applicable national or international law or regulation.

* For the purpose of exploiting, harming, or attempting to exploit or harm minors in any way.

* To transmit, or procure the sending of, any advertising or promotional material, including any "junk mail," "chain letter," "spam," or any other similar solicitation.

* To impersonate or attempt to impersonate [Your Company Name], a [Your Company Name] employee, another user, or any other person or entity.

* To engage in any other conduct that restricts or inhibits anyone's use or enjoyment of the Service, or which, as determined by us, may harm [Your Company Name] or users of the Service or expose them to liability.

* [Add any other specific prohibited actions relevant to your service, e.g., reverse engineering, scraping, unauthorized access.]

5. Intellectual Property

  • 5.1. Our Content: The Service and its original content (excluding content provided by users), features, and functionality are and will remain the exclusive property of [Your Company Name] and its licensors. The Service is protected by copyright, trademark, and other laws of both the [Your Country] and foreign countries. Our trademarks and trade dress may not be used in connection with any product or service without the prior written consent of [Your Company Name].
  • 5.2. User Content: You retain ownership of any content you submit, post, or display on or through the Service. By submitting, posting, or displaying content, you grant us a worldwide, non-exclusive, royalty-free license to use, reproduce, adapt, publish, translate, and distribute such content on and through the Service. You represent and warrant that you have all rights, power, and authority necessary to grant the rights granted herein to any content that you submit.

6. Termination

We may terminate or suspend your account immediately, without prior notice or liability, for any reason whatsoever, including without limitation if you breach the Terms. Upon termination, your right to use the Service will immediately cease. If you wish to terminate your account, you may simply discontinue using the Service.

7. Disclaimers

YOUR USE OF THE SERVICE IS AT YOUR SOLE RISK. THE SERVICE IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. THE SERVICE IS PROVIDED WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR COURSE OF PERFORMANCE.

[Your Company Name] DOES NOT WARRANT THAT A) THE SERVICE WILL FUNCTION UNINTERRUPTED, SECURE OR AVAILABLE AT ANY PARTICULAR TIME OR LOCATION; B) ANY ERRORS OR DEFECTS WILL BE CORRECTED; C) THE SERVICE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS; OR D) THE RESULTS OF USING THE SERVICE WILL MEET YOUR REQUIREMENTS.

8. Limitation of Liability

IN NO EVENT SHALL [Your Company Name], NOR ITS DIRECTORS, EMPLOYEES, PARTNERS, AGENTS, SUPPLIERS, OR AFFILIATES, BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, INCLUDING WITHOUT LIMITATION, LOSS OF PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES, RESULTING FROM (I) YOUR ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SERVICE; (II) ANY CONDUCT OR CONTENT OF ANY THIRD PARTY ON THE SERVICE; (III) ANY CONTENT OBTAINED FROM THE SERVICE; AND (IV) UNAUTHORIZED ACCESS, USE OR ALTERATION OF YOUR TRANSMISSIONS OR CONTENT, WHETHER BASED ON WARRANTY, CONTRACT, TORT (INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL THEORY, WHETHER OR NOT WE HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGE, AND EVEN IF A REMEDY SET FORTH HEREIN IS FOUND TO HAVE FAILED OF ITS ESSENTIAL PURPOSE.

9. Indemnification

You agree to defend, indemnify and hold harmless [Your Company Name] and its licensee and licensors, and their employees, contractors, agents, officers and directors, from and against any and all claims, damages, obligations, losses, liabilities, costs or debt, and expenses (including but not limited to attorney's fees), resulting from or arising out of a) your use and access of the Service, by you or any person using your account and password; b) a breach of these Terms; or c) content posted by you on the Service.

10. Governing Law

These Terms shall be governed and construed in accordance with the laws of [Your State/Country], without regard to its conflict of law provisions.

11. Dispute Resolution

Any dispute arising from these Terms or the use of the Service will be subject to the exclusive jurisdiction of the

gemini Output

Compliance Policy Generator: Comprehensive Policy Suite

This document provides a comprehensive suite of regulatory compliance policies designed to protect your organization and your users. Each policy is drafted with professional language and structure, incorporating best practices and common legal requirements. Please note that these are templates and should be reviewed and customized by legal counsel to ensure full compliance with all applicable laws and regulations specific to your business, jurisdiction, and operations.


1. Privacy Policy

Effective Date: [Effective Date - e.g., January 1, 2024]

This Privacy Policy describes how [Your Company Name] ("we," "us," or "our") collects, uses, stores, shares, and protects your personal information when you use our website, [Your Website/Platform Name] (the "Service").

1. Introduction

We are committed to protecting your privacy. This policy explains our practices concerning the collection, use, and disclosure of your information. By accessing or using our Service, you agree to the terms of this Privacy Policy.

2. Information We Collect

We collect various types of information to provide and improve our Service to you.

  • Information You Provide Directly:

* Account Information: When you create an account, we may collect your name, email address, username, password, and other registration details.

* Contact Information: If you contact us, we may collect your name, email address, phone number, and the content of your message.

* Transaction Information: If you make purchases, we may collect payment information (processed by third-party payment processors), billing address, and shipping address.

* User Content: Any content you submit to the Service, such as comments, reviews, posts, or messages.

  • Information Collected Automatically:

* Usage Data: Information about how you access and use the Service, including your IP address, browser type, operating system, pages viewed, time spent on pages, and referring URLs.

* Device Information: Information about the device you use to access the Service, including device type, unique device identifiers, and mobile network information.

* Cookies and Tracking Technologies: We use cookies and similar tracking technologies (like web beacons and pixels) to track activity on our Service and hold certain information. Please refer to our Cookie Policy for more details.

3. How We Use Your Information

We use the information we collect for various purposes, including:

  • To Provide and Maintain the Service: To operate, maintain, and provide all features of the Service.
  • To Improve and Personalize the Service: To understand how users interact with our Service, develop new features, and customize your experience.
  • To Process Transactions: To process your payments and fulfill your orders.
  • To Communicate with You: To send you updates, security alerts, support messages, and promotional materials (where permitted).
  • For Security and Fraud Prevention: To protect the security and integrity of our Service and to detect, prevent, and address fraud or other illicit activity.
  • For Legal Compliance: To comply with legal obligations, resolve disputes, and enforce our agreements.
  • For Research and Analytics: To perform data analysis, research, and auditing.

4. How We Share Your Information

We may share your information in the following circumstances:

  • With Service Providers: We may share your information with third-party vendors, consultants, and other service providers who perform services on our behalf, such as payment processing, hosting, data analysis, email delivery, and customer service. These service providers are obligated to protect your information.
  • For Business Transfers: In connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition of all or a portion of our business by another company.
  • For Legal Reasons: If required to do so by law or in the good faith belief that such action is necessary to (a) comply with a legal obligation, (b) protect and defend our rights or property, (c) act in urgent circumstances to protect the personal safety of users of the Service or the public, or (d) protect against legal liability.
  • With Your Consent: We may share your information with your explicit consent or at your direction.
  • Aggregated or Anonymized Data: We may share aggregated or anonymized data that cannot reasonably be used to identify you with third parties for various purposes, including analytics, marketing, and research.

5. Data Retention

We retain your personal information only for as long as necessary to fulfill the purposes for which it was collected, including for the purposes of satisfying any legal, accounting, or reporting requirements.

6. Data Security

We implement reasonable administrative, technical, and physical security measures designed to protect your personal information from unauthorized access, use, alteration, and disclosure. However, no method of transmission over the internet or electronic storage is 100% secure, and we cannot guarantee absolute security.

7. Your Privacy Rights

Depending on your jurisdiction, you may have the following rights regarding your personal information:

  • Access: The right to request copies of your personal data.
  • Rectification: The right to request that we correct any information you believe is inaccurate or complete information you believe is incomplete.
  • Erasure (Right to be Forgotten): The right to request that we erase your personal data, under certain conditions.
  • Restriction of Processing: The right to request that we restrict the processing of your personal data, under certain conditions.
  • Object to Processing: The right to object to our processing of your personal data, under certain conditions.
  • Data Portability: The right to request that we transfer the data that we have collected to another organization, or directly to you, under certain conditions.
  • Withdraw Consent: Where we rely on your consent to process your personal data, you have the right to withdraw that consent at any time.

To exercise any of these rights, please contact us at [Your Contact Email]. We may need to verify your identity before fulfilling your request.

8. Third-Party Links

Our Service may contain links to third-party websites or services that are not operated by us. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services. We encourage you to review the privacy policies of every site you visit.

9. Children's Privacy

Our Service is not intended for use by individuals under the age of [e.g., 13 or 16, depending on jurisdiction and service type]. We do not knowingly collect personally identifiable information from children under this age. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us. If we become aware that we have collected personal information from a child without verification of parental consent, we take steps to remove that information from our servers.

10. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Effective Date" at the top. You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

11. Contact Us

If you have any questions about this Privacy Policy, please contact us:

  • By email: [Your Contact Email]
  • By mail: [Your Company Address]

2. Terms of Service

Effective Date: [Effective Date - e.g., January 1, 2024]

Please read these Terms of Service ("Terms," "Terms of Service") carefully before using the [Your Website/Platform Name] website and any associated services (the "Service") operated by [Your Company Name] ("us," "we," or "our").

Your access to and use of the Service is conditioned upon your acceptance of and compliance with these Terms. These Terms apply to all visitors, users, and others who wish to access or use the Service.

1. Acceptance of Terms

By accessing or using the Service, you agree to be bound by these Terms. If you disagree with any part of the terms, then you do not have permission to access the Service.

2. User Accounts

  • Registration: When you create an account with us, you must provide us with information that is accurate, complete, and current at all times. Failure to do so constitutes a breach of the Terms, which may result in immediate termination of your account on our Service.
  • Security: You are responsible for safeguarding the password that you use to access the Service and for any activities or actions under your password, whether your password is with our Service or a third-party service. You agree not to disclose your password to any third party. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account.
  • Eligibility: By using the Service, you represent and warrant that you are at least [e.g., 13 or 18, depending on service type] years of age.

3. User Conduct and Prohibited Uses

You agree to use the Service only for lawful purposes and in a way that does not infringe the rights of, restrict, or inhibit anyone else's use and enjoyment of the Service. Prohibited behavior includes:

  • Engaging in any activity that is abusive, harassing, defamatory, or otherwise objectionable.
  • Transmitting or uploading any material that contains viruses, Trojan horses, worms, time-bombs, keystroke loggers, spyware, adware, or any other harmful programs or similar computer code designed to adversely affect the operation of any computer software or hardware.
  • Attempting to gain unauthorized access to our Service, other user accounts, or computer systems or networks connected to our Service.
  • Interfering with or disrupting the integrity or performance of the Service or data contained therein.
  • Using the Service for any illegal or unauthorized purpose.
  • Collecting or storing personal data about other users without their express permission.

4. Intellectual Property

  • Our Content: The Service and its original content (excluding content provided by users), features, and functionality are and will remain the exclusive property of [Your Company Name] and its licensors. The Service is protected by copyright, trademark, and other laws of both the [Your Country] and foreign countries. Our trademarks and trade dress may not be used in connection with any product or service without the prior written consent of [Your Company Name].
  • Your Content: You retain all rights in, and are solely responsible for, the User Content you post to the Service. By posting User Content, you grant us a worldwide, non-exclusive, royalty-free, transferable license to use, reproduce, distribute, prepare derivative works of, display, and perform that User Content in connection with the Service and our (and our successors' and affiliates') business, including without limitation for promoting and redistributing part or all of the Service (and derivative works thereof) in any media formats and through any media channels.

5. Links to Other Websites

Our Service may contain links to third-party websites or services that are not owned or controlled by [Your Company Name].

[Your Company Name] has no control over, and assumes no responsibility for the content, privacy policies, or practices of any third-party websites or services. We do not warrant the offerings of any of these entities/individuals or their websites.

You acknowledge and agree that [Your Company Name] shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods, or services available on or through any such third-party websites or services. We strongly advise you to read the terms and conditions and privacy policies of any third-party websites or services that you visit.

6. Termination

We may terminate or suspend your account and bar access to the Service immediately, without prior notice or liability, under our sole discretion, for any reason whatsoever and without limitation, including but not limited to a breach of the Terms.

If you wish to terminate your account, you may simply discontinue using the Service. All provisions of the Terms which by their nature should survive termination shall survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity, and limitations of liability.

7. Indemnification

You agree to defend, indemnify, and hold harmless [Your Company Name] and its licensee and licensors, and their employees, contractors, agents, officers, and directors, from and against any and all claims, damages, obligations, losses, liabilities, costs or debt, and expenses (including but not limited to attorney's fees), resulting from or arising out of a) your use and access of the Service, by you or any person using your account and password; b) a breach of these Terms; or c) content posted by you on the Service.

8. Disclaimer of Warranties

YOUR USE OF THE SERVICE IS AT YOUR SOLE RISK. THE SERVICE IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. THE SERVICE IS PROVIDED WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR COURSE OF PERFORMANCE.

[Your Company Name] DOES NOT WARRANT THAT A) THE SERVICE WILL FUNCTION UNINTERRUPTED, SECURE, OR AVAILABLE AT ANY PARTICULAR TIME OR LOCATION; B) ANY ERRORS OR DEFECTS WILL BE CORRECTED; C) THE SERVICE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS; OR D) THE RESULTS OF USING THE SERVICE WILL MEET YOUR REQUIREMENTS.

9. Limitation of Liability

IN NO EVENT SHALL [Your Company Name], NOR ITS DIRECTORS, EMPLOYEES, PARTNERS, AGENTS, SUPPLIERS, OR AFFILIATES, BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, INCLUDING WITHOUT LIMITATION, LOSS OF PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES, RESULTING FROM (I) YOUR ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SERVICE; (II) ANY CONDUCT OR CONTENT OF ANY THIRD PARTY ON THE SERVICE; (III) ANY CONTENT OBTAINED FROM THE SERVICE; AND (IV) UNAUTHORIZED ACCESS, USE OR ALTERATION OF YOUR TRANSMISSIONS OR CONTENT, WHETHER BASED ON WARRANTY, CONTRACT, TORT (INCLUDING NEGLIGENCE) OR ANY OTHER LEGAL THEORY, WHETHER OR NOT WE HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGE, AND EVEN IF A REMEDY SET FORTH HEREIN IS FOUND TO HAVE FAILED OF ITS ESSENTIAL PURPOSE.

**

compliance_policy_generator.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547} "); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/**(.+?)**/g,"$1"); hc=hc.replace(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); }function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}