<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
           xsi:type="TaskPaneApp">
    <Id>514a547d-fa44-46e2-b1c3-59e265ac0d36</Id>

    <Version>1.0.0.0</Version>
    <ProviderName>ACS AEM Commons</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="ACS Commons Assets"/>
    <Description DefaultValue="Add-in for importing images from AEM Asset Selector.">
        <Override Locale="de-DE" Value="Add-in zum Suchen und Verwenden von AEM Assets."/>
    </Description>
    <IconUrl
            DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/etc.clientlibs/acs-commons/asset-selectors/ms-office/asset-selector/clientlibs/resources/icon.png"/>
    <HighResolutionIconUrl
            DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/etc.clientlibs/acs-commons/asset-selectors/ms-office/asset-selector/clientlibs/resources/icon.png"/>
    <SupportUrl
            DefaultValue="https://adobe-consulting-services.github.io/acs-aem-commons/features/ms-office-asset-selector/index.html"/>

    <AppDomains>
        <AppDomain>https://adobe.com</AppDomain>
        <!-- AUTH -->
        <AppDomain>https://auth.services.adobe.com</AppDomain>
        <AppDomain>https://adobeid-na1.services.adobe.com</AppDomain>
        <AppDomain>https://ims-na1.adobelogin.com</AppDomain>
        <AppDomain>https://use.typekit.net</AppDomain>
        <AppDomain>https://server.messaging.adobe.com</AppDomain>
        <AppDomain>https://adobe-api.arkoselabs.com</AppDomain>
        <AppDomain>https://delegated.identity.adobe.com</AppDomain>
        <AppDomain>https://cc-api-behance.adobe.io</AppDomain>
        <AppDomain>https://a5.behance.net</AppDomain>
        <AppDomain>https://assets.adobedtm.com</AppDomain>
        <AppDomain>https://web-sdk.aptrinsic.com</AppDomain>
        <AppDomain>https://amcglobal.sc.omtrdc.net</AppDomain>

        <AppDomain>https://author-p00000-e000000.adobeaemcloud.com</AppDomain>
    </AppDomains>

    <Hosts>
        <Host Name="Presentation"/>
    </Hosts>

    <DefaultSettings>
        <SourceLocation DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/content/asset-selectors/ms-office.html?wcmmode=disabled"/>
    </DefaultSettings>

    <Permissions>ReadWriteDocument</Permissions>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
                      xsi:type="VersionOverridesV1_0">
        <Hosts>
            <!-- Specific host. Workbook=Excel, Document=Word, Presentation=PowerPoint -->
            <Host xsi:type="Presentation">
                <DesktopFormFactor>
                    <GetStarted>
                        <Title resid="GetStarted.Title"/>
                        <Description resid="GetStarted.Description"/>
                        <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
                    </GetStarted>

                    <!--Function file is an html page that includes the javascript where functions for ExecuteAction will be called.
                    Think of the FunctionFile as the "code behind" ExecuteFunction
                    This sample doesn't use this file, just adding the element for reference. -->
                    <FunctionFile resid="Commands.Url"/>
                    <ExtensionPoint xsi:type="PrimaryCommandSurface">
                        <OfficeTab id="TabHome">
                            <Group id="CommandsGroup">
                                <Label resid="CommandsGroup.Label"/>
                                <Icon>
                                    <bt:Image size="16" resid="Icon.16x16"/>
                                    <bt:Image size="32" resid="Icon.32x32"/>
                                    <bt:Image size="80" resid="Icon.80x80"/>
                                </Icon>
                                <Control xsi:type="Button" id="TaskpaneButton">
                                    <Label resid="TaskpaneButton.Label"/>
                                    <Supertip>
                                        <Title resid="TaskpaneButton.Label"/>
                                        <Description resid="TaskpaneButton.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.16x16"/>
                                        <bt:Image size="32" resid="Icon.32x32"/>
                                        <bt:Image size="80" resid="Icon.80x80"/>
                                    </Icon>
                                    <!-- This is what happens when the command is triggered (E.g. click on the Ribbon). -->
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>ButtonId1</TaskpaneId>
                                        <!-- Provide a url resource id for the location that will be displayed on the taskpane -->
                                        <SourceLocation resid="Taskpane.Url"/>
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>
        <Resources>
            <bt:Images>
                <bt:Image id="Icon.16x16"
                          DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/etc.clientlibs/acs-commons/asset-selectors/ms-office/asset-selector/clientlibs/resources/icon.png"/>
                <bt:Image id="Icon.32x32"
                          DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/etc.clientlibs/acs-commons/asset-selectors/ms-office/asset-selector/clientlibs/resources/icon.png"/>
                <bt:Image id="Icon.80x80"
                          DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/etc.clientlibs/acs-commons/asset-selectors/ms-office/asset-selector/clientlibs/resources/icon.png"/>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="GetStarted.LearnMoreUrl"
                        DefaultValue="https://adobe-consulting-services.github.io/acs-aem-commons/features/ms-office-asset-selector/index.html"/>
                <bt:Url id="Commands.Url"
                        DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/content/asset-selectors/commands.html"/>
                <bt:Url id="Taskpane.Url"
                        DefaultValue="https://author-p00000-e000000.adobeaemcloud.com/content/asset-selectors/ms-office.html?wcmmode=disabled"/>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="GetStarted.Title" DefaultValue="Get started with your Asset Picker Add-In!"/>
                <bt:String id="CommandsGroup.Label" DefaultValue="ACS Commons"/>
                <bt:String id="TaskpaneButton.Label" DefaultValue="AEM Asset Picker"/>
            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="GetStarted.Description"
                           DefaultValue="AEM Asset Picker Add-In has loaded successfully. Please login to get started."/>
                <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to Show the Asset Selector"/>
            </bt:LongStrings>
        </Resources>
    </VersionOverrides>
</OfficeApp>
