1"use strict";(globalThis.webpackChunkbambuser_docs||=[]).push([[1949],{87091(e){e.exports=JSON.parse('{"version":{"pluginId":"app-framework","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"someSidebars":[{"type":"link","href":"/docs/app-framework/","label":"Overview","docId":"overview","unlisted":false},{"type":"link","href":"/docs/app-framework/getting-started","label":"Getting Started","docId":"getting-started","unlisted":false},{"type":"category","label":"Learn","items":[{"type":"link","href":"/docs/app-framework/learn/app-architecture","label":"App Architecture","docId":"learn-app-architecture","unlisted":false},{"type":"link","href":"/docs/app-framework/learn/app-manifest","label":"App Manifest","docId":"learn-app-manifest","unlisted":false},{"type":"category","label":"User Interfaces","items":[{"type":"link","href":"/docs/app-framework/learn/ui/screens","label":"Screens","docId":"learn-ui-screen","unlisted":false},{"type":"link","href":"/docs/app-framework/learn/ui/tools","label":"Tools","docId":"learn-ui-tools","unlisted":false},{"type":"link","href":"/docs/app-framework/learn/ui/dialogs","label":"Dialogs","docId":"learn-ui-dialogs","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Build","items":[{"type":"category","label":"APIs","items":[{"type":"link","href":"/docs/app-framework/build/api/screen","label":"Screen","docId":"api-screen","unlisted":false},{"type":"link","href":"/docs/app-framework/build/api/tool","label":"Tool","docId":"api-tool","unlisted":false},{"type":"link","href":"/docs/app-framework/build/api/dialog","label":"Dialog","docId":"api-dialog","unlisted":false},{"type":"link","href":"/docs/app-framework/build/api/calls-vto","label":"Virtual Try-on","docId":"api-calls-vto","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Examples","items":[{"type":"link","href":"/docs/app-framework/build/examples/screens","label":"Screens","docId":"build-example-screens","unlisted":false},{"type":"link","href":"/docs/app-framework/build/examples/tools","label":"Tools","docId":"build-example-tools","unlisted":false},{"type":"link","href":"/docs/app-framework/build/examples/dialogs","label":"Dialogs","docId":"build-example-dialogs","unlisted":false},{"type":"category","label":"Virtual Try-on","items":[{"type":"link","href":"/docs/app-framework/build/examples/vto-custom-provider","label":"Provider","docId":"build-example-vto-provider","unlisted":false},{"type":"link","href":"/docs/app-framework/build/examples/vto-session-tool","label":"Session tool","docId":"build-example-vto-session-tool","unlisted":false},{"type":"link","href":"/docs/app-framework/build/examples/vto-data-via-ph","label":"Data via product hydration","docId":"build-example-vto-data-via-ph","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"link","href":"/docs/app-framework/build/design-library","label":"Design Library","docId":"build-design-library","unlisted":false},{"type":"link","href":"/docs/app-framework/publish-you-app","label":"Publish your app","docId":"publish-you-app","unlisted":false},{"type":"link","label":"REST API","href":"https://liveshopping-api.bambuser.com/v1/docs/api?id=apps"}]},"docs":{"api-calls-vto":{"id":"api-calls-vto","title":"Virtual Try-on API","description":"VTO API reference: virtualTryOnApi.createProvider, provider lifecycle (init, provide-vto-data, provide-frame, pause, resume, dispose), VTO permissions.","sidebar":"someSidebars"},"api-dialog":{"id":"api-dialog","title":"Dialog API","description":"Dialog API: openMessageDialog, openConfirmDialog, createCustomDialog, provide-instance event to replace built-ins like vto-consent, dialog view messaging.","sidebar":"someSidebars"},"api-screen":{"id":"api-screen","title":"Screen API","description":"Screen API reference: screenApi.createScreen, provide-instance event for custom screens in Live Player (showsPlayer) and Calls Widget, screen view messaging.","sidebar":"someSidebars"},"api-tool":{"id":"api-tool","title":"Tool API","description":"Tool API: toolApi.createTool registers side-panel tools in Live Player or Calls Widget/Agent Tool; provide-instance event replaces the vto-session built-in.","sidebar":"someSidebars"},"build-design-library":{"id":"build-design-library","title":"Design Library","de
1scription":"Design resources for screens, dialogs, and tools: Figma library and hosted Bam UI component primitives that auto-apply merchant theming from Bam Hub.","sidebar":"someSidebars"},"build-example-dialogs":{"id":"build-example-dialogs","title":"Dialogs example","description":"Runnable Dialog API example: built-in message and confirm dialogs plus a custom dialog view, cloned via npx degit as a starting point for your app.","sidebar":"someSidebars"},"build-example-screens":{"id":"build-example-screens","title":"Screens example","description":"Runnable Screen API example: register and serve multiple custom screens into Live Player and Video Consultation slots, cloned via npx degit.","sidebar":"someSidebars"},"build-example-tools":{"id":"build-example-tools","title":"Tools example","description":"Runnable Tool API example: register side-panel tools that render in the Live Player or Video Consultation hosts, cloned via npx degit.","sidebar":"someSidebars"},"build-example-vto-data-via-ph":{"id":"build-example-vto-data-via-ph","title":"Virtual try-on data via product hydration example","description":"Runnable VTO example supplying VTO metadata through the merchant\'s product hydration response instead of the provide-vto-data event in Video Consultation.","sidebar":"someSidebars"},"build-example-vto-provider":{"id":"build-example-vto-provider","title":"Virtual try-on provider example","description":"Runnable custom VTO provider example using virtualTryOnApi.createProvider; overlays snowflakes on camera frames to illustrate the provide-frame contract.","sidebar":"someSidebars"},"build-example-vto-session-tool":{"id":"build-example-vto-session-tool","title":"Virtual try-on session tool example","description":"Runnable example replacing the vto-session tool with custom React UI on shopper (callsWidget) and agent (callsAgentTool) sides; bundles a VTO provider.","sidebar":"someSidebars"},"getting-started":{"id":"getting-started","title":"Getting Started","description":"Bootstrap your first app: npx degit the bam-app-sandbox template (Node.js 20+), pick Vite/Webpack/generic starter, run in the local App Development UI.","sidebar":"someSidebars"},"learn-app-architecture":{"id":"learn-app-architecture","title":"App Architecture","description":"App anatomy: manifest plus main.js loaded by the Runtime exposing getContext and onBambuserAppContextReady; three hosts, main context vs view iframes, CSP.","sidebar":"someSidebars"},"learn-app-manifest":{"id":"learn-app-manifest","title":"App Manifest","description":"Manifest: permissions, entry point src.type (module/script/page), host-scoped screens/dialogs/tools, appConfig, host wildcards (showsPlayer:*, callsWidget:*).","sidebar":"someSidebars"},"learn-ui-dialogs":{"id":"learn-ui-dialogs","title":"Dialogs","description":"Dialogs concept: modal panels over Live Player or Video Consultation; Message, Confirm, Custom variants, replaceable vto-consent, dialog=<id> query param.","sidebar":"someSidebars"},"learn-ui-screen":{"id":"learn-ui-screen","title":"Screens","description":"Screens concept: full-area views before/after a Live show or call; slot model per host (pre-screen, drop-in, thank-you), screen=<id> query param.","sidebar":"someSidebars"},"learn-ui-tools":{"id":"learn-ui-tools","title":"Tools","description":"Tools concept: side-panel views in Live Player or Video Consultation; one-tool-at-a-time presentation, replaceable vto-session built-in, open/close behavior.","sidebar":"someSidebars"},"overview":{"id":"overview","title":"App Framework","description":"App Framework overview (Beta): extensibility for Live Player, Calls Widget, Agent Tool; who can build, public vs private distribution, Bam Hub, early access.","sidebar":"someSidebars"},"publish-you-app":{"id":"publish-you-app","title":"Publish your App","description":"Publishing checklist: deploy to your servers, request a Bam Hub, create app and get App ID via REST API, swap localhost URLs, narrow permissions, install keys.","sidebar":"someSidebars"}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.