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

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

Marketing Strategy for the Compliance Policy Generator

This document outlines a comprehensive marketing strategy for the Compliance Policy Generator, designed to reach target audiences effectively, communicate value, and drive adoption.


1. Target Audience Analysis

Understanding who benefits most from an automated compliance policy generator is crucial for focused marketing efforts.

1.1 Primary Target Audiences

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

* Profile: E-commerce stores, SaaS companies, digital agencies, online service providers, tech startups, and any business with an online presence.

* Pain Points:

* Lack of Legal Expertise: Business owners often lack the specific legal knowledge required to draft comprehensive, compliant policies.

* High Cost of Legal Counsel: Engaging lawyers for policy generation can be prohibitively expensive for budget-conscious SMBs and startups.

* Time Constraints: Manual policy creation is time-consuming, diverting focus from core business activities.

* Fear of Non-Compliance Fines: Concerns about penalties from regulations like GDPR, CCPA, or DMCA violations.

* Desire for Legitimacy & Trust: Need professional policies to build customer confidence and appear credible.

* Needs: Affordable, easy-to-use, legally sound, customizable, quick generation, and peace of mind.

  • Freelancers & Independent Contractors:

* Profile: Online coaches, consultants, content creators selling digital products, solo entrepreneurs.

* Pain Points: May underestimate their compliance needs, limited budget for legal services, basic understanding of legal requirements.

* Needs: Simple, template-based, cost-effective solutions for fundamental online legal protection.

1.2 Secondary Target Audiences

  • Web Developers & Digital Agencies:

* Profile: Agencies and individual developers building websites and online platforms for clients.

* Pain Points: Clients often neglect policy generation, need a reliable and efficient way to provide this as a value-added service, ensuring client compliance.

* Needs: API integration, white-label options, bulk generation capabilities, partnership opportunities.

  • Legal Tech Enthusiasts & Small Legal Firms:

* Profile: Early adopters of technology in the legal sector, small firms seeking to automate routine tasks.

* Pain Points: Exploring efficiency gains, reducing manual workload for standard policy drafting.

* Needs: Advanced features, robust customization, potential for API integration, and reliable legal updates.


2. Channel Recommendations

A multi-channel approach will ensure broad reach and targeted engagement across the identified audiences.

2.1 Digital Marketing Channels

  • Search Engine Optimization (SEO):

* Strategy: Optimize website content for high-intent keywords related to compliance policies.

* Keywords: "Privacy policy generator," "Terms of service template," "Cookie policy creator," "DMCA policy tool," "Accessibility statement generator," "GDPR compliance for startups," "CCPA policy generator," "online business legal policies."

* Content Marketing: Develop a robust blog with articles such as "5 Essential Policies for Your E-commerce Store," "GDPR Compliance Checklist for Small Businesses," "How to Avoid Fines with a Proper Privacy Policy," and "Understanding Accessibility Requirements for Websites." Create comprehensive guides and FAQs.

  • Paid Advertising (PPC - Google Ads, Bing Ads):

* Strategy: Target specific keywords with high commercial intent.

* Campaigns: Search ads for direct policy generation needs, display ads for brand awareness, and retargeting campaigns for website visitors who didn't convert.

* Ad Copy: Focus on speed, affordability, legal compliance, and peace of mind.

  • Social Media Marketing (Organic & Paid):

* LinkedIn: Target business owners, legal professionals, and startups. Share industry insights, compliance news, and product benefits. Run targeted ads for lead generation.

* Facebook/Instagram: Target SMBs and entrepreneurs with visual ads highlighting ease of use, time savings, and peace of mind. Utilize lookalike audiences.

* Twitter/X: Engage in conversations around legal tech, startup compliance, and digital regulations. Share breaking news and thought leadership content.

  • Email Marketing:

* Strategy: Build an email list through lead magnets (e.g., "Compliance Checklist for Online Businesses," "Free Policy Audit Tool").

* Campaigns: Nurture sequences for trial users, onboarding for new customers, abandoned cart reminders, and newsletters with compliance updates and product tips.

2.2 Partnerships & Affiliates

  • Web Hosting Providers: Partner to offer the generator as an integrated add-on service during website setup.
  • E-commerce Platforms (e.g., Shopify, WooCommerce, Wix): Seek integrations or official recommendations within their app marketplaces.
  • Business Incubators & Accelerators: Offer special discounts or free trials to their cohort companies.
  • Web Development Agencies: Establish reseller programs or white-label solutions for agencies to offer to their clients.
  • Legal Tech Blogs & Industry Influencers: Collaborate on sponsored content, product reviews, and affiliate programs.

2.3 Public Relations (PR) & Thought Leadership

  • Media Outreach: Pitch stories to tech publications, business journals, and legal tech news outlets.
  • Expert Commentary: Position the company as an authority on digital compliance, offering commentary on new regulations or industry trends.
  • Webinars & Workshops: Host educational sessions on critical compliance topics, showcasing the tool as a solution.

3. Messaging Framework

The messaging will be clear, concise, and focused on the core benefits, tailored to resonate with each target audience.

3.1 Core Value Proposition

"Generate essential, legally compliant digital policies quickly and affordably, ensuring peace of mind, building customer trust, and protecting your business from legal risks."

3.2 Key Themes

  • Simplicity & Speed: "Generate comprehensive policies in minutes, not weeks." "No legal jargon, just clear steps to compliance."
  • Compliance & Protection: "Stay compliant with global regulations (GDPR, CCPA, DMCA, etc.)." "Protect your business from costly legal risks and fines."
  • Affordability & Accessibility: "A cost-effective alternative to expensive legal counsel." "Professional policies accessible to every business, regardless of size or budget."
  • Trust & Credibility: "Build customer confidence with transparent and professional policies." "Enhance your brand's reputation and legitimacy."
  • Customization & Professionalism: "Tailored policies that fit your unique business needs." "Look professional and legitimate online."

3.3 Audience-Specific Messaging

  • For SMBs & Startups: "Focus on growing your business. We'll handle your compliance, so you can avoid costly legal fees and complex policy writing."
  • For Web Developers & Agencies: "Add significant value to your client projects with seamless, compliant policy integration. Streamline your workflow and ensure client legal protection."
  • For Freelancers: "Get basic legal protection made easy and affordable. Safeguard your online presence without the legal headache."

3.4 Calls to Action (CTAs)

  • "Generate Your Free Policy Now" (for freemium models or lead magnets)
  • "Get Started Today"
  • "Protect Your Business"
  • "Learn More About Compliance"
  • "Request a Demo" (for agency/enterprise solutions)

4. Key Performance Indicators (KPIs)

Measuring performance is essential to optimize the marketing strategy and demonstrate ROI.

4.1 Website & Traffic Performance

  • Website Traffic: Total unique visitors, page views (especially policy generation pages), and traffic sources (organic, paid, referral).
  • Bounce Rate: Percentage of visitors who leave after viewing only one page, particularly on landing pages.
  • Time on Page: Average duration visitors spend on key content (e.g., blog posts, product pages).
  • SEO Rankings: Position in search results for target keywords.

4.2 Lead Generation & Conversion

  • Lead Capture Rate: Percentage of visitors who sign up for a free trial, download a lead magnet, or register for a webinar.
  • Conversion Rate: Percentage of free trial users converting to paid subscriptions; percentage of policy generations leading to purchase.
  • Cost Per Lead (CPL): The average cost to acquire one lead from paid campaigns.
  • Cost Per Acquisition (CPA): The average cost to acquire a new paying customer.

4.3 Sales & Revenue

  • Number of Subscriptions/Purchases: Monthly and annual growth.
  • Average Revenue Per User (ARPU): Revenue generated per active user.
  • Customer Lifetime Value (CLTV): The total revenue a customer is expected to generate over their relationship with the business.
  • Churn Rate: Percentage of customers who cancel their subscription over a given period.

4.4 User Engagement & Product Usage

  • Number of Policies Generated: Total policies created across all users, and average policies per user.
  • Feature Usage: Which specific policy types (privacy, ToS, cookie, DMCA, accessibility) are most popular; utilization of customization options.
  • Customer Feedback & Net Promoter Score (NPS): Gauging customer satisfaction and loyalty.

4.5 Marketing Campaign Performance

  • Click-Through Rate (CTR): For ads, email campaigns, and social media posts.
  • Return on Ad Spend (ROAS): Revenue generated for every dollar spent on advertising.
  • Social Media Engagement Rate: Likes, shares, comments, and mentions.

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

gemini Output

Compliance Policy Generator: Comprehensive Policy Suite

This document provides a comprehensive suite of regulatory compliance policy templates designed to help establish a robust legal framework for your online presence. These policies are critical for protecting your business, ensuring user trust, and complying with various international and regional regulations such as GDPR, CCPA, DMCA, and accessibility standards.

Important Disclaimer: The policies provided below are templates and serve as a starting point. They are not legal advice and must be reviewed, customized, and approved by qualified legal counsel to ensure they accurately reflect your specific business practices, data handling procedures, and comply with all applicable laws and regulations in your jurisdiction(s). Failure to customize and seek legal review can expose your business to legal risks.


1. Privacy Policy

A Privacy Policy is a legal document that discloses some or all of the ways a party gathers, uses, discloses, and manages a customer's data. It fulfills a legal requirement to protect a customer's privacy.

Purpose: To inform users about what personal data is collected, why it's collected, how it's used, and their rights regarding their data.

Key Sections to Include:

  • 1. Introduction:

* [Your Company Name] ("we," "our," "us") operates [Your Website URL] (the "Service").

* This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data.

* We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy.

  • 2. Definitions:

* Service: [Your Website URL] operated by [Your Company Name].

* Personal Data: Data about a living individual who can be identified from those data (or from those and other information either in our possession or likely to come into our possession).

* Usage Data: Data collected automatically either generated by the use of the Service or from the Service infrastructure itself (e.g., the duration of a page visit).

* Cookies: Small pieces of data stored on your device (computer or mobile device).

* Data Controller: The natural or legal person who (either alone or jointly or in common with other persons) determines the purposes for which and the manner in which any personal data are, or are to be, processed.

* Data Processors (or Service Providers): Any natural or legal person who processes the data on behalf of the Data Controller.

  • 3. Information Collection and Use:

* Types of Data Collected:

* Personal Data:

* Email address

* First name and last name

* Phone number

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

* Cookies and Usage Data

Additional data specific to your service (e.g., payment info, user-generated content, device info)*

* Usage Data:

* IP address

* Browser type and version

* Pages visited

* Time and date of visit

* Time spent on pages

* Unique device identifiers

* Other diagnostic data

* Tracking & Cookies Data:

* Explain use of cookies, web beacons, pixels, etc.

* Types of cookies used (session, persistent, essential, analytical, marketing).

* How users can control cookie preferences.

  • 4. Use of Data:

* To provide and maintain the Service.

* To notify you about changes to our Service.

* To allow you to participate in interactive features when you choose to do so.

* To provide customer support.

* To gather analysis or valuable information so that we can improve the Service.

* To monitor the usage of the 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.

  • 5. Legal Basis for Processing Personal Data (e.g., GDPR):

* Consent.

* Performance of a contract.

* Compliance with a legal obligation.

* Protection of vital interests.

* Public interest.

* Legitimate interests.

  • 6. Retention of Data:

* How long personal data is retained.

* Criteria used to determine retention periods.

  • 7. Transfer of Data:

* Information on where data is stored and processed, especially if outside the user's jurisdiction.

* Safeguards in place for international transfers (e.g., SCCs, Privacy Shield).

  • 8. Disclosure of Data:

* Business Transaction: If involved in a merger, acquisition, or asset sale.

* Law Enforcement: Under certain circumstances, required to disclose data by law or in response to valid requests by public authorities.

* Legal Requirements: To comply with a legal obligation, protect and defend rights/property, prevent/investigate wrongdoing, protect personal safety, protect against legal liability.

  • 9. Security of Data:

* Describe measures taken to protect data (e.g., encryption, access controls, secure servers).

* Acknowledge that no method of transmission over the Internet or method of electronic storage is 100% secure.

  • 10. Your Data Protection Rights (e.g., GDPR, CCPA):

* Right to access, rectify, erase, restrict processing, data portability, object to processing.

* Right to withdraw consent.

* How to exercise these rights ([Your Contact Email]).

* Right to complain to a Data Protection Authority.

  • 11. Service Providers:

* Third-party companies and individuals employed to facilitate the Service (e.g., analytics, hosting, payment processors).

* Explain their access to data and their obligations.

  • 12. Links to Other Sites:

* Disclaimer about third-party websites.

  • 13. Children's Privacy:

* Statement regarding data collection from minors (e.g., "Our Service does not address anyone under the age of 13").

* Instructions for parents/guardians if a child has provided data.

  • 14. Changes to This Privacy Policy:

* How users will be notified of changes.

* Effective date of the policy.

  • 15. Contact Us:

* [Your Company Name]

* [Your Address]

* [Your Email Address]

* [Your Phone Number]

* [Link to Contact Form]


2. Terms of Service (Terms and Conditions)

Terms of Service (ToS) are legal agreements between a service provider and a person who wants to use that service. The person must agree to abide by the ToS in order to use the service offered.

Purpose: To define the rules, guidelines, and expectations for users interacting with your service, protecting both the user and the service provider.

Key Sections to Include:

  • 1. Introduction:

* Welcome to [Your Website URL] (the "Service"), operated by [Your Company Name] ("we," "our," "us").

* These Terms of Service ("Terms") govern your 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.

  • 2. Accounts:

* Eligibility: Requirements for creating an account (e.g., age, legal capacity).

* Registration: Information required for account creation.

* Account Responsibilities: User's responsibility for maintaining account confidentiality and password security.

* Termination: Rights to terminate or suspend accounts for breach of Terms.

  • 3. Intellectual Property:

* Ownership: All content, features, and functionality (including but not limited to text, graphics, logos, icons, images, audio clips, digital downloads, data compilations, and software) are the exclusive property of [Your Company Name] or its licensors.

* Limited License: Granting users a limited, non-exclusive, non-transferable license to access and use the Service for personal, non-commercial purposes.

* Prohibitions: Prohibiting reproduction, distribution, modification, creation of derivative works, public display, public performance, republishing, downloading, storing, or transmitting any of the material on our Service, except as generally permitted.

  • 4. User Content (if applicable):

* Definition: Any content uploaded, posted, or submitted by users (e.g., comments, reviews, images).

* User Responsibilities: Users are solely responsible for their content.

* License Grant: Users grant [Your Company Name] a worldwide, non-exclusive, royalty-free, transferable license to use, reproduce, distribute, display, and perform the user content in connection with the Service.

* Prohibited Content: Content that is illegal, offensive, infringing, or violates privacy.

  • 5. Prohibited Uses:

* Listing specific activities that are not allowed (e.g., illegal activities, harassment, spamming, interfering with service functionality, attempting to gain unauthorized access).

  • 6. Purchases (if applicable):

* Products/Services: Description of goods or services offered.

* Pricing: How pricing is determined, changes, and taxes.

* Payment: Accepted payment methods, billing terms.

* Refunds/Cancellations: Policy on refunds, returns, and cancellations.

  • 7. Links to Other Websites:

* Disclaimer that [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.

  • 8. Termination:

* By User: How a user can terminate their account.

* By Company: Right to terminate or suspend access to the Service immediately, without prior notice or liability, for any reason whatsoever, including without limitation if you breach the Terms.

* Effect of Termination: Provisions that survive termination (e.g., intellectual property, disclaimers, limitations of liability).

  • 9. Indemnification:

* User agrees to indemnify and hold harmless [Your Company Name] from any claims, damages, liabilities, costs, and expenses arising from their use of the Service or breach of these Terms.

  • 10. Limitation of Liability:

* Statement limiting [Your Company Name]'s liability for any direct, indirect, incidental, special, consequential, or punitive damages resulting from the use or inability to use the Service.

  • 11. Disclaimer of Warranties:

* The Service is provided on an "AS IS" and "AS AVAILABLE" basis. [Your Company Name] expressly disclaims all warranties of any kind, whether express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement.

  • 12. Governing Law:

* Specify the jurisdiction and laws that will govern the Terms (e.g., "The laws of [Your State/Country], excluding its conflicts of law rules, shall govern these Terms").

  • 13. Dispute Resolution:

* Informal Resolution: Encouraging users to contact [Your Company Name] first to resolve disputes.

* Arbitration/Litigation: Specifying whether disputes will be resolved through binding arbitration or in courts, and where.

  • 14. Changes to Terms:

* Right to modify or replace these Terms at any time.

* How users will be notified of changes (e.g., email, prominent notice on the Service).

  • 15. Severability:

* If any provision of these Terms is held to be invalid or unenforceable, that provision will be construed in a manner consistent with applicable law to reflect the original intent of the parties, and the remaining provisions will remain in full force and effect.

  • 16. Entire Agreement:

* These Terms constitute the entire agreement between you and [Your Company Name] regarding our Service.

  • 17. Contact Us:

* [Your Company Name]

* [Your Address]

* [Your Email Address]

* [Your Phone Number]

* [Link to Contact Form]


3. Cookie Policy

A Cookie Policy provides detailed information about the types of cookies and other tracking technologies used on a website, their purpose, and how users can manage their preferences.

Purpose: To inform users about the use of cookies and other tracking technologies, comply with regulations like GDPR and ePrivacy Directive ("cookie law"), and obtain user consent where required.

Key Sections to Include:

  • 1. Introduction:

* [Your Company Name] ("we," "our," "us") uses cookies and similar tracking technologies on [Your Website URL] (the "Service").

* This policy explains what cookies are, how we use them, and your choices regarding cookies.

  • 2. What are Cookies?

* Small text files stored on your device (computer, tablet, smartphone) when you visit a website.

* They help the website remember information about your visit, like your preferred language and other settings.

* First-party cookies: Set by the website you are visiting.

* Third-party cookies: Set by a domain other than the one you are visiting (e.g., analytics services, advertisers).

* Session cookies: Expire when you close your browser.

* Persistent cookies: Remain on your device for a set period or until you delete them.

  • 3. How We Use Cookies:

* We use cookies for various purposes, including:

* Strictly Necessary/Essential Cookies: Required for the operation of our Service (e.g., enabling secure login, remembering shopping cart items).

* Analytical/Performance Cookies: To collect information about how visitors use our Service (e.g., which pages are visited most often, error messages). This helps us improve how the Service works.

* Functionality Cookies: To remember choices you make (e.g., username, language, region) and provide enhanced, more personal features.

* Targeting/Advertising Cookies: To deliver advertisements more relevant to you and your interests. They are also used to limit the number of times you see an advertisement and help measure the effectiveness of advertising campaigns.

* Other Tracking Technologies:

* Web Beacons/Pixels: Small graphic files used to track usage or the opening of emails.

* Local Storage (HTML5): Stores data locally in your browser.

List any other specific technologies you use.*

  • 4. Third-Party Cookies:

* We may also use various third-party cookies to report usage statistics of the Service, deliver advertisements on and through the Service, and so on.

* Examples:

* Google Analytics (for website analytics)

* Google Ads / Facebook Pixel

gemini Output

Compliance Policy Generator: Final Output

This document provides a comprehensive set of regulatory compliance policies tailored for your website or service. These policies are designed to cover key legal and ethical considerations, ensuring a robust framework for your operations. Please remember that these are templates and require review and customization by legal counsel to ensure full compliance with all applicable laws and regulations specific to your jurisdiction and business model.


1. Privacy Policy

Effective Date: [Date]

1. Introduction

Welcome to [Your Company Name] ("we," "us," or "our"). We operate [Your Website/Service Name] (the "Service"). This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website [Your Website URL] and use our services. By accessing or using the Service, you signify that you have read, understood, and agree to our collection, storage, use, and disclosure of your personal information as described in this Privacy Policy.

2. Information We Collect

We may collect personal information about you in a variety of ways. The information we may collect includes:

  • Personal Data: Personally identifiable information, such as your name, shipping address, email address, telephone number, and demographic information (e.g., age, gender, hometown), that you voluntarily give to us when you register with the Service or when you choose to participate in various activities related to the Service.
  • Derivative Data: Information our servers automatically collect when you access the Service, such as your IP address, your browser type, your operating system, your access times, and the pages you have viewed directly before and after accessing the Service.
  • Financial Data: Financial information, such as data related to your payment method (e.g., valid credit card number, brand, expiration date) that we may collect when you purchase, order, return, exchange, or request information about our services from the Service. We store only very limited, if any, financial information that we collect. Otherwise, all financial information is stored by our payment processor, [e.g., Stripe, PayPal], and you are encouraged to review their privacy policy and contact them directly for responses to your questions.
  • Third-Party Data: Information from third parties, such as personal information or network friends, if you connect your account to a third party and grant the Service permission to access this information.
  • Data from Contests, Giveaways, and Surveys: Personal and other information you may provide when entering contests or giveaways and/or responding to surveys.
  • Mobile Device Data: Information about your mobile device, such as your mobile device ID, model, and manufacturer, and information about the location of your device, if you access the Service from a mobile device.

3. How We Use Your Information

Having accurate information about you permits us to provide you with a smooth, efficient, and customized experience. Specifically, we may use information collected about you via the Service to:

  • Create and manage your account.
  • Process your transactions and send related information, including purchase confirmations and invoices.
  • Deliver targeted advertising, coupons, newsletters, and other information regarding promotions and the Service.
  • Email you regarding your account or order.
  • Enable user-to-user communications.
  • Fulfill and manage purchases, orders, payments, and other transactions related to the Service.
  • Generate a personal profile about you to make your future visits to the Service more personalized.
  • Improve the efficiency and operation of the Service.
  • Monitor and analyze usage and trends to improve your experience with the Service.
  • Notify you of updates to the Service.
  • Offer new products, services, and/or recommendations to you.
  • Perform other business activities as needed.
  • Prevent fraudulent transactions, monitor against theft, and protect against criminal activity.
  • Process payments and refunds.
  • Request feedback and contact you about your use of the Service.
  • Resolve disputes and troubleshoot problems.
  • Respond to product and customer service requests.
  • Send you a newsletter.
  • Solicit support for the Service.

4. How We Share Your Information

We may share information we have collected about you in certain situations. Your information may be disclosed as follows:

  • By Law or to Protect Rights: If we believe the release of information about you is necessary to respond to legal process, to investigate or remedy potential violations of our policies, or to protect the rights, property, and safety of others, we may share your information as permitted or required by any applicable law, rule, or regulation. This includes exchanging information with other entities for fraud protection and credit risk reduction.
  • Third-Party Service Providers: We may share your information with third parties that perform services for us or on our behalf, including payment processing, data analysis, email delivery, hosting services, customer service, and marketing assistance.
  • Marketing Communications: With your consent, or with an opportunity for you to withdraw consent, we may share your information with third parties for marketing purposes, as permitted by law.
  • Interactions with Other Users: If you interact with other users of the Service, those users may see your name, profile photo, and descriptions of your activity, including sending invitations to other users, chatting with other users, liking posts, following blogs.
  • Online Postings: When you post comments, contributions or other content to the Service, your posts may be viewed by all users and may be publicly distributed outside the Service in perpetuity.
  • Third-Party Advertisers: We may use third-party advertising companies to serve ads when you visit the Service. These companies may use information about your visits to the Service and other websites that are contained in web cookies in order to provide advertisements about goods and services of interest to you.
  • Affiliates: We may share your information with our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include our parent company and any subsidiaries, joint venture partners or other companies that we control or that are under common control with us.
  • Business Partners: We may share your information with our business partners to offer you certain products, services or promotions.
  • Sale or Bankruptcy: If we reorganize or sell all or a portion of our assets, undergo a merger, or are acquired by another entity, we may transfer your information to the successor entity. If we go out of business or enter bankruptcy, your information would be an asset transferred or acquired by a third party. You acknowledge that such transfers may occur and that the transferee may decline to honor the commitments we made in this Privacy Policy.
  • We are not responsible for the actions of third parties with whom you share personal or sensitive data, and we have no authority to manage or control third-party solicitations. If you no longer wish to receive correspondence, emails or other communications from third parties, you are responsible for contacting the third party directly.

5. Your Rights Regarding Your Information

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: The right to withdraw your consent at any time where we relied on your consent to process your personal information.

To exercise any of these rights, please contact us at [Your Contact Email].

6. Data Security

We use administrative, technical, and physical security measures to help protect your personal information. While we have taken reasonable steps to secure the personal information you provide to us, please be aware that despite our efforts, no security measures are perfect or impenetrable, and no method of data transmission can be guaranteed against any interception or other type of misuse. Any information disclosed online is vulnerable to interception and misuse by unauthorized parties. Therefore, we cannot guarantee complete security if you provide personal information.

7. Data Retention

We retain your personal information for as long as necessary to fulfill the purposes outlined in this Privacy Policy, unless a longer retention period is required or permitted by law (such as tax, accounting, or other legal requirements).

8. Children's Privacy

Our Service is not intended for children under the age of 13. We do not knowingly collect personally identifiable information from children under 13. If you become aware that we have collected personal information from a child under age 13 without verification of parental consent, we take steps to remove that information from our servers.

9. International Data Transfers

Your information, including Personal Data, may be transferred to — and maintained on — computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ from those from your jurisdiction. If you are located outside [Your Country] and choose to provide information to us, please note that we transfer the data, including Personal Data, to [Your Country] and process it there. Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.

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 questions or comments about this Privacy Policy, please contact us at:

[Your Company Name]

[Your Address]

[Your Contact Email]

[Your Phone Number (Optional)]


2. Terms of Service

Effective Date: [Date]

1. Introduction

Welcome to [Your Website/Service Name] ("Service"), operated by [Your Company Name] ("we," "us," or "our"). These Terms of Service ("Terms") govern your access to and use of our website at [Your Website URL] and any related services, features, content, and applications offered by us.

By accessing or using the Service, you signify that you have read, understood, and agree to be bound by these Terms, our Privacy Policy, and all other operating rules, policies, and procedures that may be published from time to time on the Service by us, each of which is incorporated by reference and each of which may be updated from time to time without notice to you. If you do not agree to these Terms, you may not access or use the Service.

2. User Accounts

  • Account Creation: To access certain features of the Service, you may be required to create 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.
  • Account Security: You are responsible for safeguarding your password and for any activities or actions under your account. You agree to notify us immediately of any unauthorized use of your account. We are not liable for any loss or damage arising from your failure to comply with these requirements.
  • Eligibility: You must be at least [e.g., 13 or 18] years old to use the Service. By using the Service, you represent and warrant that you meet this age requirement.

3. User Responsibilities and Conduct

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 harassing or causing distress or inconvenience to any other user, transmitting obscene or offensive content, or disrupting the normal flow of dialogue within the Service.

You agree NOT to:

  • Use the Service for any illegal purpose or in violation of any local, state, national, or international law.
  • Violate or encourage others to violate the rights of third parties, including intellectual property rights.
  • Post, upload, or distribute any content that is unlawful, defamatory, libelous, inaccurate, or that a reasonable person could deem to be objectionable, profane, indecent, pornographic, harassing, threatening, embarrassing, hateful, or otherwise inappropriate.
  • Interfere with security-related features of the Service, including by: (a) disabling or circumventing features that prevent or limit use or copying of any content; or (b) reverse engineering or otherwise attempting to discover the source code of the Service or any part thereof except to the extent that such activity is expressly permitted by applicable law.
  • Interfere with the operation of the Service or any user's enjoyment of the Service, including by: (a) uploading or otherwise disseminating viruses, adware, spyware, worms, or other malicious code; (b) making unsolicited offers or advertisements to other users of the Service; (c) attempting to collect personal information about users or third parties without their consent; or (d) interfering with or disrupting any networks, equipment, or servers connected to or used to provide the Service.
  • Perform any fraudulent activity including impersonating any person or entity, claiming false affiliations, accessing the Service accounts of others without permission, or falsifying your age or date of birth.
  • Sell or otherwise transfer the access granted herein or any Materials (as defined in Section 4) or any right or ability to view, access, or use any Materials.

4. Intellectual Property

  • Our Content: All content on the Service, including text, graphics, logos, icons, images, audio clips, digital downloads, data compilations, and software, and the compilation thereof (collectively, "Materials"), is the property of [Your Company Name] or its content suppliers and protected by international copyright laws.
  • User Content: You retain ownership of any content you submit, post, or display on or through the Service ("User Content"). By submitting User Content, you grant us a worldwide, non-exclusive, royalty-free, transferable license to use, reproduce, distribute, prepare derivative works of, display, and perform the 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.
  • Feedback: If you provide us with any feedback, suggestions, or ideas regarding the Service ("Feedback"), you hereby grant us a worldwide, perpetual, irrevocable, royalty-free license to use and incorporate such Feedback into the Service and/or our other products and services without any obligation to you.

5. Disclaimers

THE SERVICE IS PROVIDED ON AN "AS IS" AND "AS AVAILABLE" BASIS. TO THE FULLEST EXTENT PERMISSIBLE BY APPLICABLE LAW, WE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. WE DO NOT WARRANT THAT THE SERVICE WILL BE UNINTERRUPTED, ERROR-FREE, SECURE, OR THAT DEFECTS WILL BE CORRECTED. WE MAKE NO WARRANTIES OR REPRESENTATIONS ABOUT THE ACCURACY OR COMPLETENESS OF THE SERVICE'S CONTENT OR THE CONTENT OF ANY WEBSITES LINKED TO THE SERVICE.

6. 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 P

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);}});}