<?xml version="1.0" encoding="UTF-8"?>
<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"
           xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
           xsi:type="TaskPaneApp">
  <Id>d663df5c-58aa-4138-9d3d-9d1620e42eb8</Id>
  <Version>1.0.0.1</Version>
  <ProviderName>Nace.AI</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Drex for Excel"/>
  <Description DefaultValue="Ask in your own words or run an agent; every value it fills links to its source."/>
  <IconUrl DefaultValue="https://excel-plugin.nace.ai/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://excel-plugin.nace.ai/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://www.nace.ai/excel/support"/>
  <AppDomains>
    <AppDomain>https://excel-plugin.nace.ai</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Workbook"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="ExcelApi" MinVersion="1.13"/>
      <Set Name="DialogApi" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://excel-plugin.nace.ai/index.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Nace.Group">
                <Label resid="Nace.GroupLabel"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16"/>
                  <bt:Image size="32" resid="Icon.32"/>
                  <bt:Image size="80" resid="Icon.80"/>
                </Icon>
                <Control xsi:type="Button" id="Nace.Open">
                  <Label resid="Nace.ButtonLabel"/>
                  <Supertip>
                    <Title resid="Nace.Label"/>
                    <Description resid="Nace.Tip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16"/>
                    <bt:Image size="32" resid="Icon.32"/>
                    <bt:Image size="80" resid="Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <!-- Office's reserved id: the pane opens with a workbook the add-in tagged -->
                    <TaskpaneId>Office.AutoShowTaskpaneWithDocument</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://excel-plugin.nace.ai/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://excel-plugin.nace.ai/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://excel-plugin.nace.ai/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://excel-plugin.nace.ai/index.html"/>
        <bt:Url id="Commands.Url" DefaultValue="https://excel-plugin.nace.ai/commands.html"/>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.nace.ai/excel"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Nace.Label" DefaultValue="Drex for Excel"/>
        <bt:String id="Nace.GroupLabel" DefaultValue="Nace.AI"/>
        <bt:String id="Nace.ButtonLabel" DefaultValue="Drex for Excel"/>
        <bt:String id="GetStarted.Title" DefaultValue="Drex for Excel is ready"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Nace.Tip" DefaultValue="Open Drex for Excel: ask in your own words or run an agent on this workbook."/>
        <bt:String id="GetStarted.Description" DefaultValue="Open Home → Drex for Excel to start."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
