<?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>7b2f1a90-5c3e-4d21-9f4a-5be4a0c0d0e0</Id>
  <Version>1.0.0.3</Version>
  <ProviderName>Spera Law Group, LLC</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Spera Redline (Phase 2)" />
  <Description DefaultValue="Spera Word add-in wrapper for the Contract Drafting agent." />
  <IconUrl DefaultValue="https://ai.speralaw.com/favicon-32x32.png" />
  <HighResolutionIconUrl DefaultValue="https://ai.speralaw.com/icon-192x192.png" />
  <SupportUrl DefaultValue="https://word.speralaw.com/" />
  <AppDomains>
    <AppDomain>https://word.speralaw.com</AppDomain>
    <AppDomain>https://ai.speralaw.com</AppDomain>
    <AppDomain>https://accounts.google.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="WordApi" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://word.speralaw.com/taskpane.html" />
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="SperaGroup">
                <Label resid="Spera.GroupLabel" />
                <Icon>
                  <bt:Image size="16" resid="Spera.Icon16" />
                  <bt:Image size="32" resid="Spera.Icon32" />
                  <bt:Image size="80" resid="Spera.Icon80" />
                </Icon>
                <Control xsi:type="Button" id="SperaOpenButton">
                  <Label resid="Spera.OpenButton.Label" />
                  <Supertip>
                    <Title resid="Spera.OpenButton.Label" />
                    <Description resid="Spera.OpenButton.Tip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Spera.Icon16" />
                    <bt:Image size="32" resid="Spera.Icon32" />
                    <bt:Image size="80" resid="Spera.Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>SperaTaskpane</TaskpaneId>
                    <SourceLocation resid="Spera.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Spera.Icon16" DefaultValue="https://ai.speralaw.com/favicon-16x16.png" />
        <bt:Image id="Spera.Icon32" DefaultValue="https://ai.speralaw.com/favicon-32x32.png" />
        <bt:Image id="Spera.Icon80" DefaultValue="https://ai.speralaw.com/icon-192x192.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Spera.Url" DefaultValue="https://word.speralaw.com/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Spera.GroupLabel" DefaultValue="Spera" />
        <bt:String id="Spera.OpenButton.Label" DefaultValue="Spera Redline" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Spera.OpenButton.Tip" DefaultValue="Open the Spera Contract Drafting agent in a side panel." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
