popost 0.0.0-stage → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +12 -0
- package/README.md +35 -2
- package/SKILL.md +147 -0
- package/THIRD_PARTY_NOTICES +11 -0
- package/agents/openai.yaml +4 -0
- package/assets/canvas/THIRD_PARTY_LICENSES.txt +1339 -0
- package/assets/canvas/assets/dist-Ag5yM9-G.js +12 -0
- package/assets/canvas/assets/es-C_Ha8SM2.js +2 -0
- package/assets/canvas/assets/es-DzkTYs_E.js +38 -0
- package/assets/canvas/assets/index-DS6BKqT0.css +1 -0
- package/assets/canvas/assets/index-DjfLTPyx.js +72 -0
- package/assets/canvas/assets/jszip.min-Cw2BF2G0.js +2 -0
- package/assets/canvas/build-info.json +14 -0
- package/assets/canvas/index.html +13 -0
- package/assets/fonts/NOTICE.txt +168 -0
- package/assets/fonts/cjk-brush/LICENSE +93 -0
- package/assets/fonts/cjk-calligraphy/LICENSE +93 -0
- package/assets/fonts/cjk-cursive/LICENSE +93 -0
- package/assets/fonts/cjk-display/LICENSE +93 -0
- package/assets/fonts/cjk-rounded/LICENSE +93 -0
- package/assets/fonts/cjk-sans/LICENSE +93 -0
- package/assets/fonts/cjk-sans-tc/LICENSE +93 -0
- package/assets/fonts/cjk-serif/LICENSE +93 -0
- package/assets/fonts/cjk-serif-tc/LICENSE +93 -0
- package/assets/fonts/cjk-title/LICENSE +93 -0
- package/assets/fonts/cjk-wenkai/LICENSE +94 -0
- package/assets/fonts/cjk-wenkai-tc/LICENSE +93 -0
- package/assets/fonts/clean-sans/LICENSE +93 -0
- package/assets/fonts/condensed-sans/LICENSE +93 -0
- package/assets/fonts/css/cjk-brush.css +919 -0
- package/assets/fonts/css/cjk-calligraphy.css +737 -0
- package/assets/fonts/css/cjk-cursive.css +919 -0
- package/assets/fonts/css/cjk-display.css +737 -0
- package/assets/fonts/css/cjk-rounded.css +929 -0
- package/assets/fonts/css/cjk-sans-tc.css +1079 -0
- package/assets/fonts/css/cjk-sans.css +809 -0
- package/assets/fonts/css/cjk-serif-tc.css +1079 -0
- package/assets/fonts/css/cjk-serif.css +809 -0
- package/assets/fonts/css/cjk-title.css +919 -0
- package/assets/fonts/css/cjk-wenkai-tc.css +2298 -0
- package/assets/fonts/css/cjk-wenkai.css +16 -0
- package/assets/fonts/css/clean-sans.css +8 -0
- package/assets/fonts/css/condensed-sans.css +8 -0
- package/assets/fonts/css/editorial-serif.css +8 -0
- package/assets/fonts/css/experimental-display.css +8 -0
- package/assets/fonts/css/geometric-sans.css +8 -0
- package/assets/fonts/css/latin-anton.css +29 -0
- package/assets/fonts/css/latin-be-vietnam-pro.css +116 -0
- package/assets/fonts/css/latin-bebas-neue.css +19 -0
- package/assets/fonts/css/latin-caveat.css +39 -0
- package/assets/fonts/css/latin-cormorant-garamond.css +98 -0
- package/assets/fonts/css/latin-dancing-script.css +29 -0
- package/assets/fonts/css/latin-dm-sans.css +38 -0
- package/assets/fonts/css/latin-ibm-plex-mono.css +196 -0
- package/assets/fonts/css/latin-inter-tight.css +138 -0
- package/assets/fonts/css/latin-inter.css +138 -0
- package/assets/fonts/css/latin-jetbrains-mono.css +118 -0
- package/assets/fonts/css/latin-lexend.css +29 -0
- package/assets/fonts/css/latin-libre-baskerville.css +38 -0
- package/assets/fonts/css/latin-lora.css +138 -0
- package/assets/fonts/css/latin-manrope.css +59 -0
- package/assets/fonts/css/latin-montserrat.css +98 -0
- package/assets/fonts/css/latin-open-sans.css +198 -0
- package/assets/fonts/css/latin-oswald.css +49 -0
- package/assets/fonts/css/latin-pacifico.css +49 -0
- package/assets/fonts/css/latin-playfair-display.css +78 -0
- package/assets/fonts/css/latin-poppins.css +116 -0
- package/assets/fonts/css/latin-roboto.css +178 -0
- package/assets/fonts/css/latin-source-serif-4.css +118 -0
- package/assets/fonts/css/luxury-serif.css +8 -0
- package/assets/fonts/editorial-serif/LICENSE +93 -0
- package/assets/fonts/experimental-display/LICENSE +93 -0
- package/assets/fonts/geometric-sans/LICENSE +93 -0
- package/assets/fonts/latin-anton/LICENSE +93 -0
- package/assets/fonts/latin-be-vietnam-pro/LICENSE +93 -0
- package/assets/fonts/latin-bebas-neue/LICENSE +93 -0
- package/assets/fonts/latin-caveat/LICENSE +93 -0
- package/assets/fonts/latin-cormorant-garamond/LICENSE +93 -0
- package/assets/fonts/latin-dancing-script/LICENSE +93 -0
- package/assets/fonts/latin-dm-sans/LICENSE +93 -0
- package/assets/fonts/latin-ibm-plex-mono/LICENSE +93 -0
- package/assets/fonts/latin-inter/LICENSE +93 -0
- package/assets/fonts/latin-inter-tight/LICENSE +93 -0
- package/assets/fonts/latin-jetbrains-mono/LICENSE +93 -0
- package/assets/fonts/latin-lexend/LICENSE +93 -0
- package/assets/fonts/latin-libre-baskerville/LICENSE +93 -0
- package/assets/fonts/latin-lora/LICENSE +93 -0
- package/assets/fonts/latin-manrope/LICENSE +93 -0
- package/assets/fonts/latin-montserrat/LICENSE +93 -0
- package/assets/fonts/latin-open-sans/LICENSE +93 -0
- package/assets/fonts/latin-oswald/LICENSE +93 -0
- package/assets/fonts/latin-pacifico/LICENSE +93 -0
- package/assets/fonts/latin-playfair-display/LICENSE +93 -0
- package/assets/fonts/latin-poppins/LICENSE +93 -0
- package/assets/fonts/latin-roboto/LICENSE +93 -0
- package/assets/fonts/latin-source-serif-4/LICENSE +93 -0
- package/assets/fonts/luxury-serif/LICENSE +93 -0
- package/assets/fonts/palette.json +3067 -0
- package/assets/mock/mock_models.json +25 -0
- package/assets/mock/mock_result.png +0 -0
- package/assets/project-starter/page.html +9 -0
- package/assets/provider-profiles.example.json +38 -0
- package/assets/series-plan.example.json +53 -0
- package/assets/template-profile.example.json +15 -0
- package/dist/cli.js +11852 -0
- package/dist/index.js +11633 -0
- package/dist/types/args.d.ts +56 -0
- package/dist/types/cli.d.ts +2 -0
- package/dist/types/cloud/auth-flow.d.ts +30 -0
- package/dist/types/cloud/errors.d.ts +6 -0
- package/dist/types/cloud/push.d.ts +36 -0
- package/dist/types/cloud/service.d.ts +86 -0
- package/dist/types/cloud/state.d.ts +32 -0
- package/dist/types/commands/account.d.ts +2 -0
- package/dist/types/commands/auth.d.ts +8 -0
- package/dist/types/commands/cloud.d.ts +2 -0
- package/dist/types/commands/core.d.ts +2 -0
- package/dist/types/commands/deck.d.ts +2 -0
- package/dist/types/commands/font.d.ts +2 -0
- package/dist/types/commands/image.d.ts +2 -0
- package/dist/types/commands/inspiration.d.ts +2 -0
- package/dist/types/commands/install.d.ts +2 -0
- package/dist/types/commands/link.d.ts +2 -0
- package/dist/types/commands/post-bundle.d.ts +6 -0
- package/dist/types/commands/pricing.d.ts +3 -0
- package/dist/types/commands/provider.d.ts +3 -0
- package/dist/types/commands/render.d.ts +2 -0
- package/dist/types/commands/setup.d.ts +2 -0
- package/dist/types/commands/sheet.d.ts +2 -0
- package/dist/types/commands/template.d.ts +3 -0
- package/dist/types/commands/workflow.d.ts +2 -0
- package/dist/types/core/errors.d.ts +15 -0
- package/dist/types/core/fingerprint.d.ts +3 -0
- package/dist/types/core/image-info.d.ts +23 -0
- package/dist/types/core/image.d.ts +22 -0
- package/dist/types/core/project.d.ts +105 -0
- package/dist/types/core/pyjson.d.ts +21 -0
- package/dist/types/core/util.d.ts +29 -0
- package/dist/types/credentials.d.ts +53 -0
- package/dist/types/deck/compile-bundle.d.ts +1 -0
- package/dist/types/deck/engine.d.ts +7 -0
- package/dist/types/deck/export-deck.d.ts +21 -0
- package/dist/types/deck/import-deck.d.ts +20 -0
- package/dist/types/deck/pages.d.ts +6 -0
- package/dist/types/deck/types.d.ts +49 -0
- package/dist/types/device-login.d.ts +13 -0
- package/dist/types/editor/canvas-state.d.ts +43 -0
- package/dist/types/editor/handoff.d.ts +31 -0
- package/dist/types/editor/http-types.d.ts +55 -0
- package/dist/types/editor/project-tools.d.ts +7 -0
- package/dist/types/editor/request-security.d.ts +3 -0
- package/dist/types/editor/routes-cloud.d.ts +7 -0
- package/dist/types/editor/routes-get.d.ts +3 -0
- package/dist/types/editor/routes-post.d.ts +3 -0
- package/dist/types/editor/sanitize.d.ts +15 -0
- package/dist/types/editor/save.d.ts +11 -0
- package/dist/types/editor/server.d.ts +15 -0
- package/dist/types/editor/subcommand.d.ts +11 -0
- package/dist/types/fonts/install.d.ts +22 -0
- package/dist/types/fonts/palette.d.ts +47 -0
- package/dist/types/fonts/project-fonts.d.ts +52 -0
- package/dist/types/fonts/source.d.ts +7 -0
- package/dist/types/images/batch-jobs.d.ts +51 -0
- package/dist/types/images/batch-quote.d.ts +7 -0
- package/dist/types/images/batch-run.d.ts +9 -0
- package/dist/types/images/capabilities.d.ts +12 -0
- package/dist/types/images/edit-plan.d.ts +60 -0
- package/dist/types/images/edit.d.ts +9 -0
- package/dist/types/images/info.d.ts +16 -0
- package/dist/types/images/jobs.d.ts +48 -0
- package/dist/types/images/prepare.d.ts +32 -0
- package/dist/types/images/references.d.ts +31 -0
- package/dist/types/images/retry.d.ts +28 -0
- package/dist/types/images/run.d.ts +35 -0
- package/dist/types/images/single-job.d.ts +19 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/install/agents.d.ts +24 -0
- package/dist/types/install/payload.d.ts +12 -0
- package/dist/types/install/skill-install.d.ts +15 -0
- package/dist/types/main.d.ts +7 -0
- package/dist/types/node-runtime.d.ts +3 -0
- package/dist/types/node-secret.d.ts +3 -0
- package/dist/types/providers/account.d.ts +8 -0
- package/dist/types/providers/adapter.d.ts +58 -0
- package/dist/types/providers/api-errors.d.ts +7 -0
- package/dist/types/providers/api.d.ts +95 -0
- package/dist/types/providers/base.d.ts +89 -0
- package/dist/types/providers/canonical.d.ts +4 -0
- package/dist/types/providers/cli-args.d.ts +22 -0
- package/dist/types/providers/cli-commands.d.ts +12 -0
- package/dist/types/providers/cli-config.d.ts +57 -0
- package/dist/types/providers/cli-generate.d.ts +35 -0
- package/dist/types/providers/cli-quote.d.ts +35 -0
- package/dist/types/providers/cli.d.ts +51 -0
- package/dist/types/providers/custom-http-util.d.ts +19 -0
- package/dist/types/providers/custom-http.d.ts +36 -0
- package/dist/types/providers/decimal.d.ts +22 -0
- package/dist/types/providers/errors.d.ts +40 -0
- package/dist/types/providers/index.d.ts +11 -0
- package/dist/types/providers/inspiration-plan.d.ts +43 -0
- package/dist/types/providers/inspiration.d.ts +18 -0
- package/dist/types/providers/ledger.d.ts +33 -0
- package/dist/types/providers/link-bundle.d.ts +53 -0
- package/dist/types/providers/link-task.d.ts +54 -0
- package/dist/types/providers/link.d.ts +24 -0
- package/dist/types/providers/manual-host.d.ts +17 -0
- package/dist/types/providers/paths.d.ts +10 -0
- package/dist/types/providers/popost-tasks.d.ts +52 -0
- package/dist/types/providers/popost-validate.d.ts +7 -0
- package/dist/types/providers/popost.d.ts +73 -0
- package/dist/types/providers/pricing.d.ts +6 -0
- package/dist/types/providers/secrets.d.ts +11 -0
- package/dist/types/providers/time.d.ts +11 -0
- package/dist/types/render/audit-script.d.ts +7 -0
- package/dist/types/render/audit.d.ts +49 -0
- package/dist/types/render/browser.d.ts +7 -0
- package/dist/types/render/edit.d.ts +26 -0
- package/dist/types/render/mime.d.ts +2 -0
- package/dist/types/render/offline.d.ts +47 -0
- package/dist/types/render/page-select.d.ts +7 -0
- package/dist/types/render/png.d.ts +28 -0
- package/dist/types/render/sheet-layout.d.ts +67 -0
- package/dist/types/render/sheet.d.ts +12 -0
- package/dist/types/runtime.d.ts +99 -0
- package/dist/types/setup/check.d.ts +14 -0
- package/dist/types/setup/context.d.ts +57 -0
- package/dist/types/setup/quote.d.ts +3 -0
- package/dist/types/setup/run.d.ts +12 -0
- package/dist/types/setup/spec.d.ts +53 -0
- package/dist/types/setup/steps.d.ts +33 -0
- package/dist/types/version.d.ts +2 -0
- package/dist/types/workflow/build.d.ts +43 -0
- package/dist/types/workflow/community-search.d.ts +34 -0
- package/dist/types/workflow/composition-grid.d.ts +44 -0
- package/dist/types/workflow/errors.d.ts +11 -0
- package/dist/types/workflow/io.d.ts +8 -0
- package/dist/types/workflow/page-check.d.ts +13 -0
- package/dist/types/workflow/post-bundle.d.ts +33 -0
- package/dist/types/workflow/project-bundle.d.ts +10 -0
- package/dist/types/workflow/review.d.ts +20 -0
- package/dist/types/workflow/series-plan.d.ts +14 -0
- package/dist/types/workflow/settings.d.ts +16 -0
- package/dist/types/workflow/subcommands.d.ts +9 -0
- package/dist/types/workflow/template-plugins.d.ts +62 -0
- package/dist/types/workflow/zip-inspect.d.ts +11 -0
- package/package.json +69 -4
- package/references/asset-architecture.md +11 -0
- package/references/create.md +13 -0
- package/references/design-system.md +11 -0
- package/references/editor-contract.md +21 -0
- package/references/fonts.md +29 -0
- package/references/generic-scenes.md +139 -0
- package/references/host-editor.md +54 -0
- package/references/imagery.md +48 -0
- package/references/onboarding.md +58 -0
- package/references/platform-adaptation.md +13 -0
- package/references/post-bundle.md +54 -0
- package/references/project-manifest.md +9 -0
- package/references/providers.md +57 -0
- package/references/quality-review.md +21 -0
- package/references/reproduce.md +23 -0
- package/references/scene-templates.md +21 -0
- package/references/social-series.md +35 -0
- package/templates/community/README.md +418 -0
- package/templates/community/index.json +5287 -0
- package/templates/community/magazine-argument-explainer/README.md +5 -0
- package/templates/community/magazine-argument-explainer/SKILL.md +36 -0
- package/templates/community/magazine-argument-explainer/template.json +46 -0
- package/templates/community/magazine-life-profile/README.md +5 -0
- package/templates/community/magazine-life-profile/SKILL.md +36 -0
- package/templates/community/magazine-life-profile/template.json +46 -0
- package/templates/community/magazine-news-brief/README.md +5 -0
- package/templates/community/magazine-news-brief/SKILL.md +36 -0
- package/templates/community/magazine-news-brief/template.json +46 -0
- package/templates/community/magazine-outfit-breakdown/README.md +5 -0
- package/templates/community/magazine-outfit-breakdown/SKILL.md +36 -0
- package/templates/community/magazine-outfit-breakdown/template.json +46 -0
- package/templates/community/magazine-parallel-workflow/README.md +7 -0
- package/templates/community/magazine-parallel-workflow/SKILL.md +36 -0
- package/templates/community/magazine-parallel-workflow/template.json +47 -0
- package/templates/community/magazine-quote-reading/README.md +7 -0
- package/templates/community/magazine-quote-reading/SKILL.md +36 -0
- package/templates/community/magazine-quote-reading/template.json +47 -0
- package/templates/community/magazine-story-timeline/README.md +5 -0
- package/templates/community/magazine-story-timeline/SKILL.md +36 -0
- package/templates/community/magazine-story-timeline/template.json +46 -0
- package/templates/community/magazine-travel-itinerary/README.md +5 -0
- package/templates/community/magazine-travel-itinerary/SKILL.md +36 -0
- package/templates/community/magazine-travel-itinerary/template.json +46 -0
- package/templates/community/minimal-case-outcome/README.md +7 -0
- package/templates/community/minimal-case-outcome/SKILL.md +36 -0
- package/templates/community/minimal-case-outcome/template.json +47 -0
- package/templates/community/minimal-concept-starter/README.md +7 -0
- package/templates/community/minimal-concept-starter/SKILL.md +36 -0
- package/templates/community/minimal-concept-starter/template.json +50 -0
- package/templates/community/minimal-data-ranking/README.md +7 -0
- package/templates/community/minimal-data-ranking/SKILL.md +36 -0
- package/templates/community/minimal-data-ranking/template.json +47 -0
- package/templates/community/minimal-feedback-loop/README.md +7 -0
- package/templates/community/minimal-feedback-loop/SKILL.md +36 -0
- package/templates/community/minimal-feedback-loop/template.json +47 -0
- package/templates/community/minimal-period-recap/README.md +7 -0
- package/templates/community/minimal-period-recap/SKILL.md +36 -0
- package/templates/community/minimal-period-recap/template.json +47 -0
- package/templates/community/minimal-structure-breakdown/README.md +7 -0
- package/templates/community/minimal-structure-breakdown/SKILL.md +36 -0
- package/templates/community/minimal-structure-breakdown/template.json +47 -0
- package/templates/community/tiktok-accessory-wearing-closeups/README.md +10 -0
- package/templates/community/tiktok-accessory-wearing-closeups/SKILL.md +74 -0
- package/templates/community/tiktok-accessory-wearing-closeups/references/mother-post.md +23 -0
- package/templates/community/tiktok-accessory-wearing-closeups/source.json +30 -0
- package/templates/community/tiktok-accessory-wearing-closeups/template.json +53 -0
- package/templates/community/tiktok-apparel-unboxing-print/README.md +10 -0
- package/templates/community/tiktok-apparel-unboxing-print/SKILL.md +74 -0
- package/templates/community/tiktok-apparel-unboxing-print/references/mother-post.md +23 -0
- package/templates/community/tiktok-apparel-unboxing-print/source.json +30 -0
- package/templates/community/tiktok-apparel-unboxing-print/template.json +53 -0
- package/templates/community/tiktok-appliance-spec-use-guide/README.md +12 -0
- package/templates/community/tiktok-appliance-spec-use-guide/SKILL.md +76 -0
- package/templates/community/tiktok-appliance-spec-use-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-appliance-spec-use-guide/source.json +42 -0
- package/templates/community/tiktok-appliance-spec-use-guide/template.json +57 -0
- package/templates/community/tiktok-audience-gift-recommendation/README.md +8 -0
- package/templates/community/tiktok-audience-gift-recommendation/SKILL.md +62 -0
- package/templates/community/tiktok-audience-gift-recommendation/template.json +82 -0
- package/templates/community/tiktok-baby-appliance-side-by-side/README.md +13 -0
- package/templates/community/tiktok-baby-appliance-side-by-side/SKILL.md +76 -0
- package/templates/community/tiktok-baby-appliance-side-by-side/references/mother-post.md +23 -0
- package/templates/community/tiktok-baby-appliance-side-by-side/source.json +48 -0
- package/templates/community/tiktok-baby-appliance-side-by-side/template.json +58 -0
- package/templates/community/tiktok-baby-product-capacity-accessories/README.md +14 -0
- package/templates/community/tiktok-baby-product-capacity-accessories/SKILL.md +76 -0
- package/templates/community/tiktok-baby-product-capacity-accessories/references/mother-post.md +23 -0
- package/templates/community/tiktok-baby-product-capacity-accessories/source.json +54 -0
- package/templates/community/tiktok-baby-product-capacity-accessories/template.json +59 -0
- package/templates/community/tiktok-bag-material-studio-closeups/README.md +10 -0
- package/templates/community/tiktok-bag-material-studio-closeups/SKILL.md +74 -0
- package/templates/community/tiktok-bag-material-studio-closeups/references/mother-post.md +23 -0
- package/templates/community/tiktok-bag-material-studio-closeups/source.json +30 -0
- package/templates/community/tiktok-bag-material-studio-closeups/template.json +53 -0
- package/templates/community/tiktok-bag-on-body-size-guide/README.md +14 -0
- package/templates/community/tiktok-bag-on-body-size-guide/SKILL.md +76 -0
- package/templates/community/tiktok-bag-on-body-size-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-bag-on-body-size-guide/source.json +54 -0
- package/templates/community/tiktok-bag-on-body-size-guide/template.json +59 -0
- package/templates/community/tiktok-bag-packing-capacity/README.md +13 -0
- package/templates/community/tiktok-bag-packing-capacity/SKILL.md +76 -0
- package/templates/community/tiktok-bag-packing-capacity/references/mother-post.md +23 -0
- package/templates/community/tiktok-bag-packing-capacity/source.json +48 -0
- package/templates/community/tiktok-bag-packing-capacity/template.json +58 -0
- package/templates/community/tiktok-bedding-setup-fabric/README.md +12 -0
- package/templates/community/tiktok-bedding-setup-fabric/SKILL.md +76 -0
- package/templates/community/tiktok-bedding-setup-fabric/references/mother-post.md +23 -0
- package/templates/community/tiktok-bedding-setup-fabric/source.json +42 -0
- package/templates/community/tiktok-bedding-setup-fabric/template.json +57 -0
- package/templates/community/tiktok-bedside-storage-before-after/README.md +12 -0
- package/templates/community/tiktok-bedside-storage-before-after/SKILL.md +76 -0
- package/templates/community/tiktok-bedside-storage-before-after/references/mother-post.md +23 -0
- package/templates/community/tiktok-bedside-storage-before-after/source.json +42 -0
- package/templates/community/tiktok-bedside-storage-before-after/template.json +57 -0
- package/templates/community/tiktok-body-type-fit-comparison/README.md +9 -0
- package/templates/community/tiktok-body-type-fit-comparison/SKILL.md +73 -0
- package/templates/community/tiktok-body-type-fit-comparison/references/mother-post.md +23 -0
- package/templates/community/tiktok-body-type-fit-comparison/source.json +24 -0
- package/templates/community/tiktok-body-type-fit-comparison/template.json +51 -0
- package/templates/community/tiktok-book-excerpt-emotional-hook/README.md +11 -0
- package/templates/community/tiktok-book-excerpt-emotional-hook/SKILL.md +75 -0
- package/templates/community/tiktok-book-excerpt-emotional-hook/references/mother-post.md +23 -0
- package/templates/community/tiktok-book-excerpt-emotional-hook/source.json +36 -0
- package/templates/community/tiktok-book-excerpt-emotional-hook/template.json +55 -0
- package/templates/community/tiktok-budget-message-recommendation/README.md +8 -0
- package/templates/community/tiktok-budget-message-recommendation/SKILL.md +62 -0
- package/templates/community/tiktok-budget-message-recommendation/template.json +76 -0
- package/templates/community/tiktok-car-accessory-compatibility/README.md +14 -0
- package/templates/community/tiktok-car-accessory-compatibility/SKILL.md +76 -0
- package/templates/community/tiktok-car-accessory-compatibility/references/mother-post.md +23 -0
- package/templates/community/tiktok-car-accessory-compatibility/source.json +54 -0
- package/templates/community/tiktok-car-accessory-compatibility/template.json +59 -0
- package/templates/community/tiktok-car-appearance-upgrade/README.md +10 -0
- package/templates/community/tiktok-car-appearance-upgrade/SKILL.md +74 -0
- package/templates/community/tiktok-car-appearance-upgrade/references/mother-post.md +23 -0
- package/templates/community/tiktok-car-appearance-upgrade/source.json +30 -0
- package/templates/community/tiktok-car-appearance-upgrade/template.json +53 -0
- package/templates/community/tiktok-car-tool-use-cases/README.md +15 -0
- package/templates/community/tiktok-car-tool-use-cases/SKILL.md +76 -0
- package/templates/community/tiktok-car-tool-use-cases/references/mother-post.md +23 -0
- package/templates/community/tiktok-car-tool-use-cases/source.json +60 -0
- package/templates/community/tiktok-car-tool-use-cases/template.json +60 -0
- package/templates/community/tiktok-childrens-book-family-reading/README.md +11 -0
- package/templates/community/tiktok-childrens-book-family-reading/SKILL.md +75 -0
- package/templates/community/tiktok-childrens-book-family-reading/references/mother-post.md +23 -0
- package/templates/community/tiktok-childrens-book-family-reading/source.json +36 -0
- package/templates/community/tiktok-childrens-book-family-reading/template.json +55 -0
- package/templates/community/tiktok-cleaning-appliance-feature-demo/README.md +13 -0
- package/templates/community/tiktok-cleaning-appliance-feature-demo/SKILL.md +76 -0
- package/templates/community/tiktok-cleaning-appliance-feature-demo/references/mother-post.md +23 -0
- package/templates/community/tiktok-cleaning-appliance-feature-demo/source.json +48 -0
- package/templates/community/tiktok-cleaning-appliance-feature-demo/template.json +58 -0
- package/templates/community/tiktok-clothing-colorway-flat-lay/README.md +15 -0
- package/templates/community/tiktok-clothing-colorway-flat-lay/SKILL.md +76 -0
- package/templates/community/tiktok-clothing-colorway-flat-lay/references/mother-post.md +23 -0
- package/templates/community/tiktok-clothing-colorway-flat-lay/source.json +60 -0
- package/templates/community/tiktok-clothing-colorway-flat-lay/template.json +60 -0
- package/templates/community/tiktok-clothing-colorway-styling/README.md +9 -0
- package/templates/community/tiktok-clothing-colorway-styling/SKILL.md +73 -0
- package/templates/community/tiktok-clothing-colorway-styling/references/mother-post.md +23 -0
- package/templates/community/tiktok-clothing-colorway-styling/source.json +24 -0
- package/templates/community/tiktok-clothing-colorway-styling/template.json +51 -0
- package/templates/community/tiktok-clothing-front-back-fabric/README.md +13 -0
- package/templates/community/tiktok-clothing-front-back-fabric/SKILL.md +76 -0
- package/templates/community/tiktok-clothing-front-back-fabric/references/mother-post.md +23 -0
- package/templates/community/tiktok-clothing-front-back-fabric/source.json +48 -0
- package/templates/community/tiktok-clothing-front-back-fabric/template.json +58 -0
- package/templates/community/tiktok-collectible-toy-set-singles/README.md +11 -0
- package/templates/community/tiktok-collectible-toy-set-singles/SKILL.md +75 -0
- package/templates/community/tiktok-collectible-toy-set-singles/references/mother-post.md +23 -0
- package/templates/community/tiktok-collectible-toy-set-singles/source.json +36 -0
- package/templates/community/tiktok-collectible-toy-set-singles/template.json +55 -0
- package/templates/community/tiktok-comment-product-reveal/README.md +8 -0
- package/templates/community/tiktok-comment-product-reveal/SKILL.md +64 -0
- package/templates/community/tiktok-comment-product-reveal/template.json +76 -0
- package/templates/community/tiktok-computer-unboxing-first-use/README.md +11 -0
- package/templates/community/tiktok-computer-unboxing-first-use/SKILL.md +75 -0
- package/templates/community/tiktok-computer-unboxing-first-use/references/mother-post.md +23 -0
- package/templates/community/tiktok-computer-unboxing-first-use/source.json +36 -0
- package/templates/community/tiktok-computer-unboxing-first-use/template.json +55 -0
- package/templates/community/tiktok-device-setup-ports-guide/README.md +14 -0
- package/templates/community/tiktok-device-setup-ports-guide/SKILL.md +76 -0
- package/templates/community/tiktok-device-setup-ports-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-device-setup-ports-guide/source.json +54 -0
- package/templates/community/tiktok-device-setup-ports-guide/template.json +59 -0
- package/templates/community/tiktok-digital-product-feature-scenarios/README.md +14 -0
- package/templates/community/tiktok-digital-product-feature-scenarios/SKILL.md +76 -0
- package/templates/community/tiktok-digital-product-feature-scenarios/references/mother-post.md +23 -0
- package/templates/community/tiktok-digital-product-feature-scenarios/source.json +54 -0
- package/templates/community/tiktok-digital-product-feature-scenarios/template.json +59 -0
- package/templates/community/tiktok-drinkware-on-the-go/README.md +11 -0
- package/templates/community/tiktok-drinkware-on-the-go/SKILL.md +75 -0
- package/templates/community/tiktok-drinkware-on-the-go/references/mother-post.md +23 -0
- package/templates/community/tiktok-drinkware-on-the-go/source.json +36 -0
- package/templates/community/tiktok-drinkware-on-the-go/template.json +55 -0
- package/templates/community/tiktok-electronics-unboxing-accessories/README.md +9 -0
- package/templates/community/tiktok-electronics-unboxing-accessories/SKILL.md +73 -0
- package/templates/community/tiktok-electronics-unboxing-accessories/references/mother-post.md +23 -0
- package/templates/community/tiktok-electronics-unboxing-accessories/source.json +24 -0
- package/templates/community/tiktok-electronics-unboxing-accessories/template.json +51 -0
- package/templates/community/tiktok-emergency-essentials-checklist/README.md +13 -0
- package/templates/community/tiktok-emergency-essentials-checklist/SKILL.md +76 -0
- package/templates/community/tiktok-emergency-essentials-checklist/references/mother-post.md +23 -0
- package/templates/community/tiktok-emergency-essentials-checklist/source.json +48 -0
- package/templates/community/tiktok-emergency-essentials-checklist/template.json +58 -0
- package/templates/community/tiktok-fill-in-gift-book-preview/README.md +11 -0
- package/templates/community/tiktok-fill-in-gift-book-preview/SKILL.md +75 -0
- package/templates/community/tiktok-fill-in-gift-book-preview/references/mother-post.md +23 -0
- package/templates/community/tiktok-fill-in-gift-book-preview/source.json +36 -0
- package/templates/community/tiktok-fill-in-gift-book-preview/template.json +55 -0
- package/templates/community/tiktok-food-unpacking-texture/README.md +8 -0
- package/templates/community/tiktok-food-unpacking-texture/SKILL.md +72 -0
- package/templates/community/tiktok-food-unpacking-texture/references/mother-post.md +23 -0
- package/templates/community/tiktok-food-unpacking-texture/source.json +18 -0
- package/templates/community/tiktok-food-unpacking-texture/template.json +49 -0
- package/templates/community/tiktok-footwear-colorway-on-foot/README.md +13 -0
- package/templates/community/tiktok-footwear-colorway-on-foot/SKILL.md +76 -0
- package/templates/community/tiktok-footwear-colorway-on-foot/references/mother-post.md +23 -0
- package/templates/community/tiktok-footwear-colorway-on-foot/source.json +48 -0
- package/templates/community/tiktok-footwear-colorway-on-foot/template.json +58 -0
- package/templates/community/tiktok-footwear-handheld-detail/README.md +10 -0
- package/templates/community/tiktok-footwear-handheld-detail/SKILL.md +74 -0
- package/templates/community/tiktok-footwear-handheld-detail/references/mother-post.md +23 -0
- package/templates/community/tiktok-footwear-handheld-detail/source.json +30 -0
- package/templates/community/tiktok-footwear-handheld-detail/template.json +53 -0
- package/templates/community/tiktok-footwear-on-foot-outfits/README.md +10 -0
- package/templates/community/tiktok-footwear-on-foot-outfits/SKILL.md +74 -0
- package/templates/community/tiktok-footwear-on-foot-outfits/references/mother-post.md +23 -0
- package/templates/community/tiktok-footwear-on-foot-outfits/source.json +30 -0
- package/templates/community/tiktok-footwear-on-foot-outfits/template.json +53 -0
- package/templates/community/tiktok-functional-clothing-in-use/README.md +15 -0
- package/templates/community/tiktok-functional-clothing-in-use/SKILL.md +76 -0
- package/templates/community/tiktok-functional-clothing-in-use/references/mother-post.md +23 -0
- package/templates/community/tiktok-functional-clothing-in-use/source.json +60 -0
- package/templates/community/tiktok-functional-clothing-in-use/template.json +60 -0
- package/templates/community/tiktok-furniture-room-detail/README.md +10 -0
- package/templates/community/tiktok-furniture-room-detail/SKILL.md +74 -0
- package/templates/community/tiktok-furniture-room-detail/references/mother-post.md +23 -0
- package/templates/community/tiktok-furniture-room-detail/source.json +30 -0
- package/templates/community/tiktok-furniture-room-detail/template.json +53 -0
- package/templates/community/tiktok-furniture-set-dimensions/README.md +14 -0
- package/templates/community/tiktok-furniture-set-dimensions/SKILL.md +76 -0
- package/templates/community/tiktok-furniture-set-dimensions/references/mother-post.md +23 -0
- package/templates/community/tiktok-furniture-set-dimensions/source.json +54 -0
- package/templates/community/tiktok-furniture-set-dimensions/template.json +59 -0
- package/templates/community/tiktok-furniture-set-feature-breakdown/README.md +14 -0
- package/templates/community/tiktok-furniture-set-feature-breakdown/SKILL.md +76 -0
- package/templates/community/tiktok-furniture-set-feature-breakdown/references/mother-post.md +23 -0
- package/templates/community/tiktok-furniture-set-feature-breakdown/source.json +54 -0
- package/templates/community/tiktok-furniture-set-feature-breakdown/template.json +59 -0
- package/templates/community/tiktok-gardening-tool-before-after/README.md +18 -0
- package/templates/community/tiktok-gardening-tool-before-after/SKILL.md +76 -0
- package/templates/community/tiktok-gardening-tool-before-after/references/mother-post.md +23 -0
- package/templates/community/tiktok-gardening-tool-before-after/source.json +78 -0
- package/templates/community/tiktok-gardening-tool-before-after/template.json +63 -0
- package/templates/community/tiktok-gift-box-reveal/README.md +8 -0
- package/templates/community/tiktok-gift-box-reveal/SKILL.md +72 -0
- package/templates/community/tiktok-gift-box-reveal/references/mother-post.md +23 -0
- package/templates/community/tiktok-gift-box-reveal/source.json +18 -0
- package/templates/community/tiktok-gift-box-reveal/template.json +49 -0
- package/templates/community/tiktok-handheld-product-features/README.md +10 -0
- package/templates/community/tiktok-handheld-product-features/SKILL.md +68 -0
- package/templates/community/tiktok-handheld-product-features/template.json +78 -0
- package/templates/community/tiktok-holiday-gift-building-unboxing/README.md +11 -0
- package/templates/community/tiktok-holiday-gift-building-unboxing/SKILL.md +75 -0
- package/templates/community/tiktok-holiday-gift-building-unboxing/references/mother-post.md +23 -0
- package/templates/community/tiktok-holiday-gift-building-unboxing/source.json +36 -0
- package/templates/community/tiktok-holiday-gift-building-unboxing/template.json +55 -0
- package/templates/community/tiktok-home-lighting-mood/README.md +9 -0
- package/templates/community/tiktok-home-lighting-mood/SKILL.md +73 -0
- package/templates/community/tiktok-home-lighting-mood/references/mother-post.md +23 -0
- package/templates/community/tiktok-home-lighting-mood/source.json +24 -0
- package/templates/community/tiktok-home-lighting-mood/template.json +51 -0
- package/templates/community/tiktok-home-product-lifestyle-scenes/README.md +10 -0
- package/templates/community/tiktok-home-product-lifestyle-scenes/SKILL.md +74 -0
- package/templates/community/tiktok-home-product-lifestyle-scenes/references/mother-post.md +23 -0
- package/templates/community/tiktok-home-product-lifestyle-scenes/source.json +30 -0
- package/templates/community/tiktok-home-product-lifestyle-scenes/template.json +53 -0
- package/templates/community/tiktok-home-product-real-use/README.md +12 -0
- package/templates/community/tiktok-home-product-real-use/SKILL.md +76 -0
- package/templates/community/tiktok-home-product-real-use/references/mother-post.md +23 -0
- package/templates/community/tiktok-home-product-real-use/source.json +42 -0
- package/templates/community/tiktok-home-product-real-use/template.json +57 -0
- package/templates/community/tiktok-home-storage-before-after/README.md +12 -0
- package/templates/community/tiktok-home-storage-before-after/SKILL.md +76 -0
- package/templates/community/tiktok-home-storage-before-after/references/mother-post.md +23 -0
- package/templates/community/tiktok-home-storage-before-after/source.json +42 -0
- package/templates/community/tiktok-home-storage-before-after/template.json +57 -0
- package/templates/community/tiktok-home-styling-before-after/README.md +13 -0
- package/templates/community/tiktok-home-styling-before-after/SKILL.md +76 -0
- package/templates/community/tiktok-home-styling-before-after/references/mother-post.md +23 -0
- package/templates/community/tiktok-home-styling-before-after/source.json +48 -0
- package/templates/community/tiktok-home-styling-before-after/template.json +58 -0
- package/templates/community/tiktok-interest-mood-product-match/README.md +8 -0
- package/templates/community/tiktok-interest-mood-product-match/SKILL.md +64 -0
- package/templates/community/tiktok-interest-mood-product-match/template.json +76 -0
- package/templates/community/tiktok-jewelry-macro-craftsmanship/README.md +11 -0
- package/templates/community/tiktok-jewelry-macro-craftsmanship/SKILL.md +75 -0
- package/templates/community/tiktok-jewelry-macro-craftsmanship/references/mother-post.md +23 -0
- package/templates/community/tiktok-jewelry-macro-craftsmanship/source.json +36 -0
- package/templates/community/tiktok-jewelry-macro-craftsmanship/template.json +55 -0
- package/templates/community/tiktok-kids-clothing-flat-lay-try-on/README.md +9 -0
- package/templates/community/tiktok-kids-clothing-flat-lay-try-on/SKILL.md +73 -0
- package/templates/community/tiktok-kids-clothing-flat-lay-try-on/references/mother-post.md +23 -0
- package/templates/community/tiktok-kids-clothing-flat-lay-try-on/source.json +24 -0
- package/templates/community/tiktok-kids-clothing-flat-lay-try-on/template.json +51 -0
- package/templates/community/tiktok-kitchen-appliance-food-results/README.md +11 -0
- package/templates/community/tiktok-kitchen-appliance-food-results/SKILL.md +75 -0
- package/templates/community/tiktok-kitchen-appliance-food-results/references/mother-post.md +23 -0
- package/templates/community/tiktok-kitchen-appliance-food-results/source.json +36 -0
- package/templates/community/tiktok-kitchen-appliance-food-results/template.json +55 -0
- package/templates/community/tiktok-kitchen-tool-step-demo/README.md +15 -0
- package/templates/community/tiktok-kitchen-tool-step-demo/SKILL.md +76 -0
- package/templates/community/tiktok-kitchen-tool-step-demo/references/mother-post.md +23 -0
- package/templates/community/tiktok-kitchen-tool-step-demo/source.json +60 -0
- package/templates/community/tiktok-kitchen-tool-step-demo/template.json +60 -0
- package/templates/community/tiktok-lifestyle-hook-finished-results/README.md +10 -0
- package/templates/community/tiktok-lifestyle-hook-finished-results/SKILL.md +74 -0
- package/templates/community/tiktok-lifestyle-hook-finished-results/references/mother-post.md +23 -0
- package/templates/community/tiktok-lifestyle-hook-finished-results/source.json +30 -0
- package/templates/community/tiktok-lifestyle-hook-finished-results/template.json +53 -0
- package/templates/community/tiktok-lighting-installation-mood/README.md +13 -0
- package/templates/community/tiktok-lighting-installation-mood/SKILL.md +76 -0
- package/templates/community/tiktok-lighting-installation-mood/references/mother-post.md +23 -0
- package/templates/community/tiktok-lighting-installation-mood/source.json +48 -0
- package/templates/community/tiktok-lighting-installation-mood/template.json +58 -0
- package/templates/community/tiktok-lockscreen-product-reveal/README.md +8 -0
- package/templates/community/tiktok-lockscreen-product-reveal/SKILL.md +62 -0
- package/templates/community/tiktok-lockscreen-product-reveal/template.json +76 -0
- package/templates/community/tiktok-makeup-shade-swatches/README.md +12 -0
- package/templates/community/tiktok-makeup-shade-swatches/SKILL.md +76 -0
- package/templates/community/tiktok-makeup-shade-swatches/references/mother-post.md +23 -0
- package/templates/community/tiktok-makeup-shade-swatches/source.json +42 -0
- package/templates/community/tiktok-makeup-shade-swatches/template.json +57 -0
- package/templates/community/tiktok-makeup-unboxing-closeups/README.md +11 -0
- package/templates/community/tiktok-makeup-unboxing-closeups/SKILL.md +75 -0
- package/templates/community/tiktok-makeup-unboxing-closeups/references/mother-post.md +23 -0
- package/templates/community/tiktok-makeup-unboxing-closeups/source.json +36 -0
- package/templates/community/tiktok-makeup-unboxing-closeups/template.json +55 -0
- package/templates/community/tiktok-mirror-try-on-fit/README.md +13 -0
- package/templates/community/tiktok-mirror-try-on-fit/SKILL.md +76 -0
- package/templates/community/tiktok-mirror-try-on-fit/references/mother-post.md +23 -0
- package/templates/community/tiktok-mirror-try-on-fit/source.json +48 -0
- package/templates/community/tiktok-mirror-try-on-fit/template.json +58 -0
- package/templates/community/tiktok-modest-fashion-try-on-details/README.md +14 -0
- package/templates/community/tiktok-modest-fashion-try-on-details/SKILL.md +75 -0
- package/templates/community/tiktok-modest-fashion-try-on-details/references/mother-post.md +23 -0
- package/templates/community/tiktok-modest-fashion-try-on-details/source.json +54 -0
- package/templates/community/tiktok-modest-fashion-try-on-details/template.json +58 -0
- package/templates/community/tiktok-nutrition-drink-mixing/README.md +8 -0
- package/templates/community/tiktok-nutrition-drink-mixing/SKILL.md +72 -0
- package/templates/community/tiktok-nutrition-drink-mixing/references/mother-post.md +23 -0
- package/templates/community/tiktok-nutrition-drink-mixing/source.json +18 -0
- package/templates/community/tiktok-nutrition-drink-mixing/template.json +49 -0
- package/templates/community/tiktok-one-garment-outfit-ideas/README.md +12 -0
- package/templates/community/tiktok-one-garment-outfit-ideas/SKILL.md +76 -0
- package/templates/community/tiktok-one-garment-outfit-ideas/references/mother-post.md +23 -0
- package/templates/community/tiktok-one-garment-outfit-ideas/source.json +42 -0
- package/templates/community/tiktok-one-garment-outfit-ideas/template.json +57 -0
- package/templates/community/tiktok-outdoor-apparel-colorway-try-on/README.md +10 -0
- package/templates/community/tiktok-outdoor-apparel-colorway-try-on/SKILL.md +74 -0
- package/templates/community/tiktok-outdoor-apparel-colorway-try-on/references/mother-post.md +23 -0
- package/templates/community/tiktok-outdoor-apparel-colorway-try-on/source.json +30 -0
- package/templates/community/tiktok-outdoor-apparel-colorway-try-on/template.json +53 -0
- package/templates/community/tiktok-outdoor-electronics-specs/README.md +15 -0
- package/templates/community/tiktok-outdoor-electronics-specs/SKILL.md +76 -0
- package/templates/community/tiktok-outdoor-electronics-specs/references/mother-post.md +23 -0
- package/templates/community/tiktok-outdoor-electronics-specs/source.json +60 -0
- package/templates/community/tiktok-outdoor-electronics-specs/template.json +60 -0
- package/templates/community/tiktok-outdoor-gear-packing-capacity/README.md +11 -0
- package/templates/community/tiktok-outdoor-gear-packing-capacity/SKILL.md +75 -0
- package/templates/community/tiktok-outdoor-gear-packing-capacity/references/mother-post.md +23 -0
- package/templates/community/tiktok-outdoor-gear-packing-capacity/source.json +36 -0
- package/templates/community/tiktok-outdoor-gear-packing-capacity/template.json +55 -0
- package/templates/community/tiktok-outdoor-gear-spec-guide/README.md +14 -0
- package/templates/community/tiktok-outdoor-gear-spec-guide/SKILL.md +76 -0
- package/templates/community/tiktok-outdoor-gear-spec-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-outdoor-gear-spec-guide/source.json +54 -0
- package/templates/community/tiktok-outdoor-gear-spec-guide/template.json +59 -0
- package/templates/community/tiktok-party-game-interaction/README.md +9 -0
- package/templates/community/tiktok-party-game-interaction/SKILL.md +73 -0
- package/templates/community/tiktok-party-game-interaction/references/mother-post.md +23 -0
- package/templates/community/tiktok-party-game-interaction/source.json +24 -0
- package/templates/community/tiktok-party-game-interaction/template.json +51 -0
- package/templates/community/tiktok-perfume-mood-fragrance-notes/README.md +11 -0
- package/templates/community/tiktok-perfume-mood-fragrance-notes/SKILL.md +75 -0
- package/templates/community/tiktok-perfume-mood-fragrance-notes/references/mother-post.md +23 -0
- package/templates/community/tiktok-perfume-mood-fragrance-notes/source.json +36 -0
- package/templates/community/tiktok-perfume-mood-fragrance-notes/template.json +55 -0
- package/templates/community/tiktok-personal-care-tool-accessories/README.md +12 -0
- package/templates/community/tiktok-personal-care-tool-accessories/SKILL.md +76 -0
- package/templates/community/tiktok-personal-care-tool-accessories/references/mother-post.md +23 -0
- package/templates/community/tiktok-personal-care-tool-accessories/source.json +42 -0
- package/templates/community/tiktok-personal-care-tool-accessories/template.json +57 -0
- package/templates/community/tiktok-pet-product-features-reviews/README.md +9 -0
- package/templates/community/tiktok-pet-product-features-reviews/SKILL.md +73 -0
- package/templates/community/tiktok-pet-product-features-reviews/references/mother-post.md +23 -0
- package/templates/community/tiktok-pet-product-features-reviews/source.json +24 -0
- package/templates/community/tiktok-pet-product-features-reviews/template.json +51 -0
- package/templates/community/tiktok-pet-product-scenarios-specs/README.md +14 -0
- package/templates/community/tiktok-pet-product-scenarios-specs/SKILL.md +76 -0
- package/templates/community/tiktok-pet-product-scenarios-specs/references/mother-post.md +23 -0
- package/templates/community/tiktok-pet-product-scenarios-specs/source.json +54 -0
- package/templates/community/tiktok-pet-product-scenarios-specs/template.json +59 -0
- package/templates/community/tiktok-problem-action-product-guide/README.md +10 -0
- package/templates/community/tiktok-problem-action-product-guide/SKILL.md +70 -0
- package/templates/community/tiktok-problem-action-product-guide/template.json +64 -0
- package/templates/community/tiktok-reaction-product-twist/README.md +8 -0
- package/templates/community/tiktok-reaction-product-twist/SKILL.md +64 -0
- package/templates/community/tiktok-reaction-product-twist/template.json +75 -0
- package/templates/community/tiktok-relationship-gift-response/README.md +8 -0
- package/templates/community/tiktok-relationship-gift-response/SKILL.md +62 -0
- package/templates/community/tiktok-relationship-gift-response/template.json +76 -0
- package/templates/community/tiktok-routine-before-after-timeline/README.md +9 -0
- package/templates/community/tiktok-routine-before-after-timeline/SKILL.md +73 -0
- package/templates/community/tiktok-routine-before-after-timeline/references/mother-post.md +23 -0
- package/templates/community/tiktok-routine-before-after-timeline/source.json +24 -0
- package/templates/community/tiktok-routine-before-after-timeline/template.json +51 -0
- package/templates/community/tiktok-scenery-product-reveal/README.md +8 -0
- package/templates/community/tiktok-scenery-product-reveal/SKILL.md +62 -0
- package/templates/community/tiktok-scenery-product-reveal/template.json +76 -0
- package/templates/community/tiktok-selfie-product-discovery/README.md +8 -0
- package/templates/community/tiktok-selfie-product-discovery/SKILL.md +64 -0
- package/templates/community/tiktok-selfie-product-discovery/template.json +76 -0
- package/templates/community/tiktok-sensory-mood-product-reveal/README.md +8 -0
- package/templates/community/tiktok-sensory-mood-product-reveal/SKILL.md +62 -0
- package/templates/community/tiktok-sensory-mood-product-reveal/template.json +54 -0
- package/templates/community/tiktok-skincare-set-price-comparison/README.md +14 -0
- package/templates/community/tiktok-skincare-set-price-comparison/SKILL.md +76 -0
- package/templates/community/tiktok-skincare-set-price-comparison/references/mother-post.md +23 -0
- package/templates/community/tiktok-skincare-set-price-comparison/source.json +54 -0
- package/templates/community/tiktok-skincare-set-price-comparison/template.json +59 -0
- package/templates/community/tiktok-sms-product-recommendation/README.md +8 -0
- package/templates/community/tiktok-sms-product-recommendation/SKILL.md +62 -0
- package/templates/community/tiktok-sms-product-recommendation/template.json +76 -0
- package/templates/community/tiktok-snack-flavor-packaging/README.md +11 -0
- package/templates/community/tiktok-snack-flavor-packaging/SKILL.md +75 -0
- package/templates/community/tiktok-snack-flavor-packaging/references/mother-post.md +23 -0
- package/templates/community/tiktok-snack-flavor-packaging/source.json +36 -0
- package/templates/community/tiktok-snack-flavor-packaging/template.json +55 -0
- package/templates/community/tiktok-social-status-recommendation/README.md +8 -0
- package/templates/community/tiktok-social-status-recommendation/SKILL.md +64 -0
- package/templates/community/tiktok-social-status-recommendation/template.json +76 -0
- package/templates/community/tiktok-sportswear-flat-lay-fabric/README.md +11 -0
- package/templates/community/tiktok-sportswear-flat-lay-fabric/SKILL.md +75 -0
- package/templates/community/tiktok-sportswear-flat-lay-fabric/references/mother-post.md +23 -0
- package/templates/community/tiktok-sportswear-flat-lay-fabric/source.json +36 -0
- package/templates/community/tiktok-sportswear-flat-lay-fabric/template.json +55 -0
- package/templates/community/tiktok-streetwear-try-on/README.md +12 -0
- package/templates/community/tiktok-streetwear-try-on/SKILL.md +76 -0
- package/templates/community/tiktok-streetwear-try-on/references/mother-post.md +23 -0
- package/templates/community/tiktok-streetwear-try-on/source.json +42 -0
- package/templates/community/tiktok-streetwear-try-on/template.json +57 -0
- package/templates/community/tiktok-supplement-ingredients-serving-guide/README.md +12 -0
- package/templates/community/tiktok-supplement-ingredients-serving-guide/SKILL.md +76 -0
- package/templates/community/tiktok-supplement-ingredients-serving-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-supplement-ingredients-serving-guide/source.json +42 -0
- package/templates/community/tiktok-supplement-ingredients-serving-guide/template.json +57 -0
- package/templates/community/tiktok-tableware-color-set-studio/README.md +9 -0
- package/templates/community/tiktok-tableware-color-set-studio/SKILL.md +73 -0
- package/templates/community/tiktok-tableware-color-set-studio/references/mother-post.md +23 -0
- package/templates/community/tiktok-tableware-color-set-studio/source.json +24 -0
- package/templates/community/tiktok-tableware-color-set-studio/template.json +51 -0
- package/templates/community/tiktok-themed-book-list-flat-lay/README.md +13 -0
- package/templates/community/tiktok-themed-book-list-flat-lay/SKILL.md +76 -0
- package/templates/community/tiktok-themed-book-list-flat-lay/references/mother-post.md +23 -0
- package/templates/community/tiktok-themed-book-list-flat-lay/source.json +48 -0
- package/templates/community/tiktok-themed-book-list-flat-lay/template.json +58 -0
- package/templates/community/tiktok-tool-specs-use-steps/README.md +12 -0
- package/templates/community/tiktok-tool-specs-use-steps/SKILL.md +76 -0
- package/templates/community/tiktok-tool-specs-use-steps/references/mother-post.md +23 -0
- package/templates/community/tiktok-tool-specs-use-steps/source.json +42 -0
- package/templates/community/tiktok-tool-specs-use-steps/template.json +57 -0
- package/templates/community/tiktok-trading-card-edition-guide/README.md +11 -0
- package/templates/community/tiktok-trading-card-edition-guide/SKILL.md +75 -0
- package/templates/community/tiktok-trading-card-edition-guide/references/mother-post.md +23 -0
- package/templates/community/tiktok-trading-card-edition-guide/source.json +36 -0
- package/templates/community/tiktok-trading-card-edition-guide/template.json +55 -0
- package/templates/community/tiktok-travel-product-problem-solution/README.md +12 -0
- package/templates/community/tiktok-travel-product-problem-solution/SKILL.md +76 -0
- package/templates/community/tiktok-travel-product-problem-solution/references/mother-post.md +23 -0
- package/templates/community/tiktok-travel-product-problem-solution/source.json +42 -0
- package/templates/community/tiktok-travel-product-problem-solution/template.json +57 -0
- package/templates/community/tiktok-two-choice-gift-recommendation/README.md +8 -0
- package/templates/community/tiktok-two-choice-gift-recommendation/SKILL.md +62 -0
- package/templates/community/tiktok-two-choice-gift-recommendation/template.json +76 -0
- package/templates/community/tiktok-underwear-before-after-styling/README.md +12 -0
- package/templates/community/tiktok-underwear-before-after-styling/SKILL.md +76 -0
- package/templates/community/tiktok-underwear-before-after-styling/references/mother-post.md +23 -0
- package/templates/community/tiktok-underwear-before-after-styling/source.json +42 -0
- package/templates/community/tiktok-underwear-before-after-styling/template.json +57 -0
- package/templates/community/tiktok-vacuum-cleaning-results/README.md +11 -0
- package/templates/community/tiktok-vacuum-cleaning-results/SKILL.md +75 -0
- package/templates/community/tiktok-vacuum-cleaning-results/references/mother-post.md +23 -0
- package/templates/community/tiktok-vacuum-cleaning-results/source.json +36 -0
- package/templates/community/tiktok-vacuum-cleaning-results/template.json +55 -0
- package/templates/community/tiktok-warm-clothing-fabric-details/README.md +11 -0
- package/templates/community/tiktok-warm-clothing-fabric-details/SKILL.md +75 -0
- package/templates/community/tiktok-warm-clothing-fabric-details/references/mother-post.md +23 -0
- package/templates/community/tiktok-warm-clothing-fabric-details/source.json +36 -0
- package/templates/community/tiktok-warm-clothing-fabric-details/template.json +55 -0
- package/templates/community/tiktok-waterproof-footwear-outdoors/README.md +9 -0
- package/templates/community/tiktok-waterproof-footwear-outdoors/SKILL.md +73 -0
- package/templates/community/tiktok-waterproof-footwear-outdoors/references/mother-post.md +23 -0
- package/templates/community/tiktok-waterproof-footwear-outdoors/source.json +24 -0
- package/templates/community/tiktok-waterproof-footwear-outdoors/template.json +51 -0
- package/templates/generic/commerce-sell/scenario.md +48 -0
- package/templates/generic/commerce-sell/source.manifest.json +9 -0
- package/templates/generic/commerce-sell/template.html +99 -0
- package/templates/generic/commerce-sell/template.json +33 -0
- package/templates/generic/comparison/scenario.md +45 -0
- package/templates/generic/comparison/source.manifest.json +9 -0
- package/templates/generic/comparison/template.html +70 -0
- package/templates/generic/comparison/template.json +33 -0
- package/templates/generic/curated-list/scenario.md +42 -0
- package/templates/generic/curated-list/source.manifest.json +9 -0
- package/templates/generic/curated-list/template.html +86 -0
- package/templates/generic/curated-list/template.json +33 -0
- package/templates/generic/step-guide/scenario.md +45 -0
- package/templates/generic/step-guide/source.manifest.json +9 -0
- package/templates/generic/step-guide/template.html +91 -0
- package/templates/generic/step-guide/template.json +34 -0
- package/templates/generic/viewpoint/scenario.md +45 -0
- package/templates/generic/viewpoint/source.manifest.json +9 -0
- package/templates/generic/viewpoint/template.html +83 -0
- package/templates/generic/viewpoint/template.json +34 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function e(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;let n=document.implementation.createHTMLDocument(),r=n.createElement(`base`),i=n.createElement(`a`);return n.head.appendChild(r),n.body.appendChild(i),t&&(r.href=t),i.href=e,i.href}var t=(()=>{let e=0,t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function n(e){let t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}var r=null;function i(e={}){return r||(e.includeStyleProperties?(r=e.includeStyleProperties,r):(r=n(window.getComputedStyle(document.documentElement)),r))}function a(e,t){let n=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return n?parseFloat(n.replace(`px`,``)):0}function o(e){let t=a(e,`border-left-width`),n=a(e,`border-right-width`);return e.clientWidth+t+n}function s(e){let t=a(e,`border-top-width`),n=a(e,`border-bottom-width`);return e.clientHeight+t+n}function c(e,t={}){return{width:t.width||o(e),height:t.height||s(e)}}function ee(){let e,t;try{t=process}catch{}let n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}var l=16384;function te(e){(e.width>l||e.height>l)&&(e.width>l&&e.height>l?e.width>e.height?(e.height*=l/e.width,e.width=l):(e.width*=l/e.height,e.height=l):e.width>l?(e.height*=l/e.width,e.width=l):(e.width*=l/e.height,e.height=l))}function u(e,t={}){return e.toBlob?new Promise(n=>{e.toBlob(n,t.type?t.type:`image/png`,t.quality?t.quality:1)}):new Promise(n=>{let r=window.atob(e.toDataURL(t.type?t.type:void 0,t.quality?t.quality:void 0).split(`,`)[1]),i=r.length,a=new Uint8Array(i);for(let e=0;e<i;e+=1)a[e]=r.charCodeAt(e);n(new Blob([a],{type:t.type?t.type:`image/png`}))})}function d(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin=`anonymous`,r.decoding=`async`,r.src=e})}async function f(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function p(e,t,n){let r=`http://www.w3.org/2000/svg`,i=document.createElementNS(r,`svg`),a=document.createElementNS(r,`foreignObject`);return i.setAttribute(`width`,`${t}`),i.setAttribute(`height`,`${n}`),i.setAttribute(`viewBox`,`0 0 ${t} ${n}`),a.setAttribute(`width`,`100%`),a.setAttribute(`height`,`100%`),a.setAttribute(`x`,`0`),a.setAttribute(`y`,`0`),a.setAttribute(`externalResourcesRequired`,`true`),i.appendChild(a),a.appendChild(e),f(i)}var m=(e,t)=>{if(e instanceof t)return!0;let n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||m(n,t)};function ne(e){let t=e.getPropertyValue(`content`);return`${e.cssText} content: '${t.replace(/'|"/g,``)}';`}function re(e,t){return i(t).map(t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?` !important`:``};`).join(` `)}function ie(e,t,n,r){let i=`.${e}:${t}`,a=n.cssText?ne(n):re(n,r);return document.createTextNode(`${i}{${a}}`)}function h(e,n,r,i){let a=window.getComputedStyle(e,r),o=a.getPropertyValue(`content`);if(o===``||o===`none`)return;let s=t();try{n.className=`${n.className} ${s}`}catch{return}let c=document.createElement(`style`);c.appendChild(ie(s,r,a,i)),n.appendChild(c)}function ae(e,t,n){h(e,t,`:before`,n),h(e,t,`:after`,n)}var g=`application/font-woff`,_=`image/jpeg`,v={woff:g,woff2:g,ttf:`application/font-truetype`,eot:`application/vnd.ms-fontobject`,png:`image/png`,jpg:_,jpeg:_,gif:`image/gif`,tiff:`image/tiff`,svg:`image/svg+xml`,webp:`image/webp`};function y(e){let t=/\.([^./]*?)$/g.exec(e);return t?t[1]:``}function b(e){return v[y(e).toLowerCase()]||``}function oe(e){return e.split(/,/)[1]}function x(e){return e.search(/^(data:)/)!==-1}function S(e,t){return`data:${t};base64,${e}`}async function C(e,t,n){let r=await fetch(e,t);if(r.status===404)throw Error(`Resource "${r.url}" not found`);let i=await r.blob();return new Promise((e,t)=>{let a=new FileReader;a.onerror=t,a.onloadend=()=>{try{e(n({res:r,result:a.result}))}catch(e){t(e)}},a.readAsDataURL(i)})}var w={};function se(e,t,n){let r=e.replace(/\?.*/,``);return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,``)),t?`[${t}]${r}`:r}async function T(e,t,n){let r=se(e,t,n.includeQueryParams);if(w[r]!=null)return w[r];n.cacheBust&&(e+=(/\?/.test(e)?`&`:`?`)+new Date().getTime());let i;try{i=S(await C(e,n.fetchRequestInit,({res:e,result:n})=>(t||=e.headers.get(`Content-Type`)||``,oe(n))),t)}catch(t){i=n.imagePlaceholder||``;let r=`Failed to fetch resource: ${e}`;t&&(r=typeof t==`string`?t:t.message),r&&console.warn(r)}return w[r]=i,i}async function ce(e){let t=e.toDataURL();return t===`data:,`?e.cloneNode(!1):d(t)}async function le(e,t){if(e.currentSrc){let t=document.createElement(`canvas`),n=t.getContext(`2d`);return t.width=e.clientWidth,t.height=e.clientHeight,n?.drawImage(e,0,0,t.width,t.height),d(t.toDataURL())}let n=e.poster;return d(await T(n,b(n),t))}async function ue(e,t){try{if(e?.contentDocument?.body)return await N(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function de(e,t){return m(e,HTMLCanvasElement)?ce(e):m(e,HTMLVideoElement)?le(e,t):m(e,HTMLIFrameElement)?ue(e,t):e.cloneNode(E(e))}var fe=e=>e.tagName!=null&&e.tagName.toUpperCase()===`SLOT`,E=e=>e.tagName!=null&&e.tagName.toUpperCase()===`SVG`;async function D(e,t,r){if(E(t))return t;let i=[];return i=fe(e)&&e.assignedNodes?n(e.assignedNodes()):m(e,HTMLIFrameElement)&&e.contentDocument?.body?n(e.contentDocument.body.childNodes):n((e.shadowRoot??e).childNodes),i.length===0||m(e,HTMLVideoElement)||await i.reduce((e,n)=>e.then(()=>N(n,r)).then(e=>{e&&t.appendChild(e)}),Promise.resolve()),t}function O(e,t,n){let r=t.style;if(!r)return;let a=window.getComputedStyle(e);a.cssText?(r.cssText=a.cssText,r.transformOrigin=a.transformOrigin):i(n).forEach(n=>{let i=a.getPropertyValue(n);n===`font-size`&&i.endsWith(`px`)&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),m(e,HTMLIFrameElement)&&n===`display`&&i===`inline`&&(i=`block`),n===`d`&&t.getAttribute(`d`)&&(i=`path(${t.getAttribute(`d`)})`),r.setProperty(n,i,a.getPropertyPriority(n))})}function k(e,t){m(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),m(e,HTMLInputElement)&&t.setAttribute(`value`,e.value)}function A(e,t){if(m(e,HTMLSelectElement)){let n=t,r=Array.from(n.children).find(t=>e.value===t.getAttribute(`value`));r&&r.setAttribute(`selected`,``)}}function j(e,t,n){return m(t,Element)&&(O(e,t,n),ae(e,t,n),k(e,t),A(e,t)),t}async function M(e,t){let n=e.querySelectorAll?e.querySelectorAll(`use`):[];if(n.length===0)return e;let r={};for(let i=0;i<n.length;i++){let a=n[i].getAttribute(`xlink:href`);if(a){let n=e.querySelector(a),i=document.querySelector(a);!n&&i&&!r[a]&&(r[a]=await N(i,t,!0))}}let i=Object.values(r);if(i.length){let t=`http://www.w3.org/1999/xhtml`,n=document.createElementNS(t,`svg`);n.setAttribute(`xmlns`,t),n.style.position=`absolute`,n.style.width=`0`,n.style.height=`0`,n.style.overflow=`hidden`,n.style.display=`none`;let r=document.createElementNS(t,`defs`);n.appendChild(r);for(let e=0;e<i.length;e++)r.appendChild(i[e]);e.appendChild(n)}return e}async function N(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(e=>de(e,t)).then(n=>D(e,n,t)).then(n=>j(e,n,t)).then(e=>M(e,t))}var P=/url\((['"]?)([^'"]+?)\1\)/g,F=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,I=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function L(e){let t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,`\\$1`);return RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,`g`)}function R(e){let t=[];return e.replace(P,(e,n,r)=>(t.push(r),e)),t.filter(e=>!x(e))}async function z(t,n,r,i,a){try{let o=r?e(n,r):n,s=b(n),c;return c=a?S(await a(o),s):await T(o,s,i),t.replace(L(n),`$1${c}$3`)}catch{}return t}function B(e,{preferredFontFormat:t}){return t?e.replace(I,e=>{for(;;){let[n,,r]=F.exec(e)||[];if(!r)return``;if(r===t)return`src: ${n};`}}):e}function V(e){return e.search(P)!==-1}async function H(e,t,n){if(!V(e))return e;let r=B(e,n);return R(r).reduce((e,r)=>e.then(e=>z(e,r,t,n)),Promise.resolve(r))}async function U(e,t,n){let r=t.style?.getPropertyValue(e);if(r){let i=await H(r,null,n);return t.style.setProperty(e,i,t.style.getPropertyPriority(e)),!0}return!1}async function pe(e,t){await U(`background`,e,t)||await U(`background-image`,e,t),await U(`mask`,e,t)||await U(`-webkit-mask`,e,t)||await U(`mask-image`,e,t)||await U(`-webkit-mask-image`,e,t)}async function me(e,t){let n=m(e,HTMLImageElement);if(!(n&&!x(e.src))&&!(m(e,SVGImageElement)&&!x(e.href.baseVal)))return;let r=n?e.src:e.href.baseVal,i=await T(r,b(r),t);await new Promise((r,a)=>{e.onload=r,e.onerror=t.onImageErrorHandler?(...e)=>{try{r(t.onImageErrorHandler(...e))}catch(e){a(e)}}:a;let o=e;o.decode&&=r,o.loading===`lazy`&&(o.loading=`eager`),n?(e.srcset=``,e.src=i):e.href.baseVal=i})}async function he(e,t){let r=n(e.childNodes).map(e=>W(e,t));await Promise.all(r).then(()=>e)}async function W(e,t){m(e,Element)&&(await pe(e,t),await me(e,t),await he(e,t))}function ge(e,t){let{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);let r=t.style;return r!=null&&Object.keys(r).forEach(e=>{n[e]=r[e]}),e}var G={};async function K(e){let t=G[e];return t??(t={url:e,cssText:await(await fetch(e)).text()},G[e]=t,t)}async function q(e,t){let n=e.cssText,r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map(async i=>{let a=i.replace(r,`$1`);return a.startsWith(`https://`)||(a=new URL(a,e.url).href),C(a,t.fetchRequestInit,({result:e})=>(n=n.replace(i,`url(${e})`),[i,e]))});return Promise.all(i).then(()=>n)}function J(e){if(e==null)return[];let t=[],n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,``),r=RegExp(`((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})`,`gi`);for(;;){let e=r.exec(n);if(e===null)break;t.push(e[0])}n=n.replace(r,``);let i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a=RegExp(`((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})`,`gi`);for(;;){let e=i.exec(n);if(e===null){if(e=a.exec(n),e===null)break;i.lastIndex=a.lastIndex}else a.lastIndex=i.lastIndex;t.push(e[0])}return t}async function _e(e,t){let r=[],i=[];return e.forEach(r=>{if(`cssRules`in r)try{n(r.cssRules||[]).forEach((e,n)=>{if(e.type===CSSRule.IMPORT_RULE){let a=n+1,o=e.href,s=K(o).then(e=>q(e,t)).then(e=>J(e).forEach(e=>{try{r.insertRule(e,e.startsWith(`@import`)?a+=1:r.cssRules.length)}catch(t){console.error(`Error inserting rule from remote css`,{rule:e,error:t})}})).catch(e=>{console.error(`Error loading remote css`,e.toString())});i.push(s)}})}catch(n){let a=e.find(e=>e.href==null)||document.styleSheets[0];r.href!=null&&i.push(K(r.href).then(e=>q(e,t)).then(e=>J(e).forEach(e=>{a.insertRule(e,a.cssRules.length)})).catch(e=>{console.error(`Error loading remote stylesheet`,e)})),console.error(`Error inlining remote css file`,n)}}),Promise.all(i).then(()=>(e.forEach(e=>{if(`cssRules`in e)try{n(e.cssRules||[]).forEach(e=>{r.push(e)})}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}}),r))}function ve(e){return e.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>V(e.style.getPropertyValue(`src`)))}async function ye(e,t){if(e.ownerDocument==null)throw Error(`Provided element is not within a Document`);return ve(await _e(n(e.ownerDocument.styleSheets),t))}function Y(e){return e.trim().replace(/["']/g,``)}function be(e){let t=new Set;function n(e){(e.style.fontFamily||getComputedStyle(e).fontFamily).split(`,`).forEach(e=>{t.add(Y(e))}),Array.from(e.children).forEach(e=>{e instanceof HTMLElement&&n(e)})}return n(e),t}async function X(e,t){let n=await ye(e,t),r=be(e);return(await Promise.all(n.filter(e=>r.has(Y(e.style.fontFamily))).map(e=>{let n=e.parentStyleSheet?e.parentStyleSheet.href:null;return H(e.cssText,n,t)}))).join(`
|
|
2
|
+
`)}async function xe(e,t){let n=t.fontEmbedCSS==null?t.skipFonts?null:await X(e,t):t.fontEmbedCSS;if(n){let t=document.createElement(`style`),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function Z(e,t={}){let{width:n,height:r}=c(e,t),i=await N(e,t,!0);return await xe(i,t),await W(i,t),ge(i,t),await p(i,n,r)}async function Q(e,t={}){let{width:n,height:r}=c(e,t),i=await d(await Z(e,t)),a=document.createElement(`canvas`),o=a.getContext(`2d`),s=t.pixelRatio||ee(),l=t.canvasWidth||n,u=t.canvasHeight||r;return a.width=l*s,a.height=u*s,t.skipAutoScale||te(a),a.style.width=`${l}`,a.style.height=`${u}`,t.backgroundColor&&(o.fillStyle=t.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(i,0,0,a.width,a.height),a}async function Se(e,t={}){let{width:n,height:r}=c(e,t);return(await Q(e,t)).getContext(`2d`).getImageData(0,0,n,r).data}async function Ce(e,t={}){return(await Q(e,t)).toDataURL()}async function $(e,t={}){return(await Q(e,t)).toDataURL(`image/jpeg`,t.quality||1)}async function we(e,t={}){return await u(await Q(e,t))}async function Te(e,t={}){return X(e,t)}export{Te as getFontEmbedCSS,we as toBlob,Q as toCanvas,$ as toJpeg,Se as toPixelData,Ce as toPng,Z as toSvg};
|