<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest xmlns="http://ns.adobe.com/CSXS/manifest"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://ns.adobe.com/CSXS/manifest http://ns.adobe.com/CSXS/manifest">
    <ExtensionBundleVersion>1.0.0</ExtensionBundleVersion>
    <ExtensionBundleId>com.wilddragon.mam.panel</ExtensionBundleId>
    <Author>Wild Dragon MAM</Author>

    <License>
        <Text>Copyright 2026 Wild Dragon. All rights reserved.</Text>
    </License>

    <AbstractionLayers>
        <AbstractionLayerRequest Name="PProPanel"/>
    </AbstractionLayers>

    <Extension Id="com.wilddragon.mam.panel">
        <Type>Panel</Type>
        <HostList>
            <Host Name="PPRO" Version="[22.0,99.9]"/>
        </HostList>

        <LocalizedStrings>
            <LocalizedString locale="en_US">
                <Token name="ExtensionWindowTitle">Wild Dragon MAM</Token>
                <Token name="ExtensionShortDescription">Media Asset Management for Premiere Pro</Token>
                <Token name="ExtensionLongDescription">Browse, search, and import proxy files from Wild Dragon MAM directly into your Premiere Pro project</Token>
            </LocalizedString>
        </LocalizedStrings>

        <UI>
            <Type>Panel</Type>
            <Geometry>
                <Size>
                    <Width>400</Width>
                    <Height>700</Height>
                </Size>
                <MinSize>
                    <Width>350</Width>
                    <Height>500</Height>
                </MinSize>
            </Geometry>
        </UI>

        <!--
            Resources:
            - MainPath:   HTML entry point for the CEP panel UI
            - ScriptPath: ExtendScript (.jsx) auto-loaded into the Premiere Pro host
            - --enable-nodejs: unlocks Node.js require() for binary file downloads
            - --mixed-context: allows Node.js and DOM to share the same V8 context
        -->
        <Resources>
            <MainPath>index.html</MainPath>
            <ScriptPath>jsx/premiere.jsx</ScriptPath>
            <CEFCommandLine>
                <Parameter>--enable-nodejs</Parameter>
                <Parameter>--mixed-context</Parameter>
            </CEFCommandLine>
        </Resources>

        <CEPVersion>11.0</CEPVersion>
        <RequiredRuntimeVersion>11.0</RequiredRuntimeVersion>
    </Extension>

    <ExtensionList/>
    <ExecutionEnvironment>
        <HostList>
            <Host Name="PPRO" Version="[22.0,99.9]"/>
        </HostList>
    </ExecutionEnvironment>
</ExtensionManifest>
